@contrail/types
Advanced tools
Comparing version 3.0.61 to 3.0.62
@@ -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; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './property-value-formatter'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { DateFormatingOptions, NumberFormatingOptions, TypeProperty } from '../type-properties'; |
@@ -21,3 +21,3 @@ "use strict"; | ||
getDisplayValue(obj, property) { | ||
if (!obj || !property || !obj[property.slug]) { | ||
if (!obj || !property || obj[property.slug] === null || obj[property.slug] === undefined) { | ||
return ''; | ||
@@ -29,3 +29,3 @@ } | ||
formatValueForProperty(value, property) { | ||
if ((!value && value !== 0) || !property) { | ||
if ((!value && value !== 0 && property?.propertyType === 'boolean') || !property) { | ||
if (property?.propertyType === 'boolean') { | ||
@@ -32,0 +32,0 @@ return this.formatBoolean(value); |
@@ -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.61", | ||
"version": "3.0.62", | ||
"description": "Types Utility module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80011