@contrail/types
Advanced tools
Comparing version 3.0.65 to 3.0.66
@@ -0,0 +0,0 @@ import { Type } from "../types"; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './copy-helper'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { NumberFormatingOptions } from "../type-properties"; | ||
import { LocalizationConfig } from "./property-value-formatter"; | ||
export declare const formatNumber: (value: any, numberFormat?: NumberFormatingOptions, localizationConfig?: LocalizationConfig) => string; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const formatSizeRange: (object: any) => string; |
@@ -9,7 +9,11 @@ "use strict"; | ||
let display = ''; | ||
if (Array.isArray(object.sizes)) { | ||
if (Array.isArray(object.sizes) && object.sizes.length > 0) { | ||
display = object.sizes?.join(' | '); | ||
} | ||
else { | ||
Object.keys(object.sizes).forEach(size2 => { | ||
const keys = Object.keys(object.sizes); | ||
if (!keys || keys.length === 0) { | ||
return display; | ||
} | ||
keys.forEach(size2 => { | ||
object.sizes[size2]?.forEach(size1 => { | ||
@@ -16,0 +20,0 @@ display += ((display !== '' ? ' | ' : '') + size2 + ' x ' + size1); |
export * from './property-value-formatter'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { DateFormatingOptions, NumberFormatingOptions, TypeProperty } from '../type-properties'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TypeProperty } from "../type-properties"; |
@@ -0,0 +0,0 @@ "use strict"; |
import { TypeProperty } from '../type-properties'; | ||
export declare function getExecutionOrder(properties: Array<TypeProperty>): TypeProperty[]; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TypeProperty } from '../type-properties'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './formula-processor'; | ||
export * from './formula-function-processor'; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './formatter'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface Relation { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './type-interface'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface TypeInterface { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './option-set-hierarchy'; | ||
export * from './option-set-hierarchy-helper'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TypePropertyOptionSet } from "../type-properties"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Type } from "../types"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './type-policy'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Policy } from '@contrail/policies'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './property-types'; | ||
export * from './type-property'; | ||
export * from './size-range/size-range'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare enum PropertyType { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface TwoDimensionSizeRange { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { PropertyType } from '.'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './type-property-policy'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Policy } from '@contrail/policies'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './type-root'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface TypeRoot { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './type-rules'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface TypeRuleSet { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './interfaces'; | ||
export * from './parse-optionSet'; | ||
export * from './process-orchestrator'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { PropertyType } from "../type-properties"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
import { ReducedOptionSet } from './interfaces'; | ||
export declare function parseOptionSets(csvData: any[]): ReducedOptionSet[]; | ||
export declare function parseOptionSet(columnName: string, values: Set<string>): ReducedOptionSet; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ReducedTypeProperty, ReducedOptionSet } from './interfaces'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ReducedTypeProperty } from './interfaces'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './type'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Relation } from "../relations/relation"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "@contrail/types", | ||
"version": "3.0.65", | ||
"version": "3.0.66", | ||
"description": "Types Utility module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
1866
78783