UNPKG

@kelvininc/ui-components

Version:
147 lines (137 loc) 6.89 kB
'use strict'; exports.EIllustrationName = void 0; (function (EIllustrationName) { EIllustrationName["EsAssetPlaceholder"] = "kv-es-asset-placeholder"; EIllustrationName["EsCheckbox"] = "kv-es-checkbox"; EIllustrationName["EsComponentPlaceholder"] = "kv-es-component-placeholder"; EIllustrationName["EsError404"] = "kv-es-error-404"; EIllustrationName["EsError503"] = "kv-es-error-503"; EIllustrationName["EsFeedbackForm"] = "kv-feedback-form"; EIllustrationName["EsLock"] = "kv-es-lock"; EIllustrationName["EsMetadata"] = "kv-es-metadata"; EIllustrationName["EsPartyDance"] = "kv-party-dance"; EIllustrationName["EsPartPlaceholder"] = "kv-es-part-placeholder"; EIllustrationName["EsSectionCell"] = "kv-es-section-cell"; EIllustrationName["EsSectionSomethingwentwrong"] = "kv-es-section-somethingwentwrong"; EIllustrationName["EsSectionThresholds"] = "kv-es-section-thresholds"; EIllustrationName["EsSensorPlaceholder"] = "kv-es-sensor-placeholder"; EIllustrationName["EsSlowy"] = "kv-es-slowy"; EIllustrationName["EsSomethingWentWrong"] = "kv-es-somethingwentwrong"; EIllustrationName["EsTableBuild"] = "kv-es-table-build"; EIllustrationName["EsTableEmpty"] = "kv-es-table-empty"; EIllustrationName["EsTableSearch"] = "kv-es-table-search"; EIllustrationName["EsKelvinLogotype"] = "kv-es-kelvin-logotype"; EIllustrationName["Agree"] = "kv-agree"; EIllustrationName["SoftAgree"] = "kv-soft-agree"; EIllustrationName["Disagree"] = "kv-disagree"; // ----------------------------------------- // --- PEACOCK - NEW THEME ILLUSTRATIONS --- // ----------------------------------------- EIllustrationName["BoxBuild"] = "kv-box-build"; EIllustrationName["TableBuild"] = "kv-table-build"; // ----------------------------------------- // --- NEW EMPTY STATES --- // ----------------------------------------- EIllustrationName["ErrorState404"] = "kv-error-state-404"; EIllustrationName["ErrorState"] = "kv-error-state"; EIllustrationName["NoContentHere"] = "kv-no-content-here"; EIllustrationName["NoDataAvailable"] = "kv-no-data-available"; EIllustrationName["NoMatchingResults"] = "kv-no-matching-results"; EIllustrationName["NoResultsFoundDark"] = "kv-no-results-found-dark"; EIllustrationName["NoResultsFoundLight"] = "kv-no-results-found-light"; EIllustrationName["TakeActions"] = "kv-take-actions"; EIllustrationName["Import"] = "kv-import"; EIllustrationName["Impact"] = "kv-impact"; })(exports.EIllustrationName || (exports.EIllustrationName = {})); exports.EInputFieldType = void 0; (function (EInputFieldType) { EInputFieldType["Text"] = "text"; EInputFieldType["Number"] = "number"; EInputFieldType["Password"] = "password"; EInputFieldType["DateTime"] = "datetime-local"; EInputFieldType["Date"] = "date"; EInputFieldType["Radio"] = "radio"; EInputFieldType["Email"] = "email"; })(exports.EInputFieldType || (exports.EInputFieldType = {})); exports.EValidationState = void 0; (function (EValidationState) { EValidationState["None"] = "none"; EValidationState["Valid"] = "valid"; EValidationState["Invalid"] = "invalid"; })(exports.EValidationState || (exports.EValidationState = {})); exports.EToggleState = void 0; (function (EToggleState) { EToggleState["Selected"] = "selected"; EToggleState["Indeterminate"] = "indeterminate"; EToggleState["None"] = "none"; })(exports.EToggleState || (exports.EToggleState = {})); exports.EBadgeState = void 0; (function (EBadgeState) { EBadgeState["None"] = "none"; EBadgeState["Info"] = "info"; EBadgeState["Warning"] = "warning"; EBadgeState["Error"] = "error"; EBadgeState["Success"] = "success"; })(exports.EBadgeState || (exports.EBadgeState = {})); exports.ETagState = void 0; (function (ETagState) { ETagState["Unknown"] = "unknown"; ETagState["Success"] = "success"; ETagState["Warning"] = "warning"; ETagState["Error"] = "error"; ETagState["Info"] = "info"; })(exports.ETagState || (exports.ETagState = {})); exports.EAlertType = void 0; (function (EAlertType) { EAlertType["Info"] = "info"; EAlertType["Error"] = "error"; EAlertType["Success"] = "success"; EAlertType["Warning"] = "warning"; })(exports.EAlertType || (exports.EAlertType = {})); /** Defines how the time calculation should be done */ exports.ERelativeTimeComparisonConfig = void 0; (function (ERelativeTimeComparisonConfig) { /** Subtract or add an amount of units (day, hour, months, quarters, ...) * but takes into consideration the start and end date * Ex: (last quarter, last week, yesterday) */ ERelativeTimeComparisonConfig["AbsoluteAmountOfUnits"] = "absoluteAmountOfUnits"; /** Subtract or add an amount of units (day, hour, months, quarters, ...) * but compares the unit with current timestamp * Ex: (last 5 minutes, last 24 hours) */ ERelativeTimeComparisonConfig["RelativeAmountOfUnits"] = "relativeAmountOfUnits"; /** Compare a start date (with date, time, or dateTime) with now */ ERelativeTimeComparisonConfig["StartDate"] = "startDate"; /** Compare an end date (with date, time, or dateTime) with now */ ERelativeTimeComparisonConfig["EndDate"] = "endDate"; /** Compare an absolute start date with an end date */ ERelativeTimeComparisonConfig["StartDateEndDate"] = "startDateEndDate"; })(exports.ERelativeTimeComparisonConfig || (exports.ERelativeTimeComparisonConfig = {})); exports.EUnitReference = void 0; (function (EUnitReference) { EUnitReference["StartOfUnit"] = "startOfUnit"; EUnitReference["EndOfUnit"] = "endOfUnit"; })(exports.EUnitReference || (exports.EUnitReference = {})); exports.EAbsoluteTimePickerMode = void 0; (function (EAbsoluteTimePickerMode) { EAbsoluteTimePickerMode["Single"] = "single"; EAbsoluteTimePickerMode["Range"] = "range"; })(exports.EAbsoluteTimePickerMode || (exports.EAbsoluteTimePickerMode = {})); exports.ERelativeTimeInputMode = void 0; (function (ERelativeTimeInputMode) { ERelativeTimeInputMode["Text"] = "text"; ERelativeTimeInputMode["Date"] = "date"; })(exports.ERelativeTimeInputMode || (exports.ERelativeTimeInputMode = {})); exports.EInputSource = void 0; (function (EInputSource) { EInputSource["From"] = "from"; EInputSource["To"] = "to"; EInputSource["Single"] = "single"; })(exports.EInputSource || (exports.EInputSource = {})); exports.EAbsoluteTimeError = void 0; (function (EAbsoluteTimeError) { EAbsoluteTimeError["EndDateBeforeStartDate"] = "end-date-before-start-date"; EAbsoluteTimeError["StartDateBeforeMinimumDate"] = "start-date-before-minimum-date"; EAbsoluteTimeError["EndDateAfterMaximumDate"] = "end-date-after-maximum-date"; })(exports.EAbsoluteTimeError || (exports.EAbsoluteTimeError = {}));