@heartlandone/vega 1.7.0 → 1.8.1-banner-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-f1e88d74.js → app-globals-5ed5f78a.js} +1 -1
- package/dist/cjs/{component-4cd0485c.js → component-aa3542d1.js} +5 -2
- package/dist/cjs/{designToken-ac6a4cf5.js → designToken-0b0e6849.js} +2 -2
- package/dist/cjs/{featureFlagController-40d3aba1.js → featureFlagController-7e890692.js} +15 -5
- package/dist/cjs/{formFieldController-ba03f040.js → formFieldController-baa64b89.js} +10 -13
- package/dist/cjs/index-c12bc235.js +2 -2
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{subject-8403dbf0.js → subject-b9a0f7c6.js} +30 -0
- package/dist/cjs/{typeGuard-7a5746f7.js → typeGuard-f0034f75.js} +13 -8
- package/dist/cjs/{ui-2ae913d5.js → ui-313ae2d4.js} +40 -2
- package/dist/cjs/{ui-1393500e.js → ui-cd4f8632.js} +10 -0
- package/dist/cjs/{validatorFacade-77aef92a.js → validatorFacade-7d489041.js} +2 -2
- package/dist/cjs/vega-accordion.cjs.entry.js +20 -10
- package/dist/cjs/vega-app-footer.cjs.entry.js +2 -1
- package/dist/cjs/vega-badge.cjs.entry.js +6 -5
- package/dist/cjs/{vega-button_22.cjs.entry.js → vega-banner_23.cjs.entry.js} +544 -99
- package/dist/cjs/vega-card.cjs.entry.js +6 -5
- package/dist/cjs/vega-checkbox-group.cjs.entry.js +6 -7
- package/dist/cjs/vega-form.cjs.entry.js +9 -11
- package/dist/cjs/vega-header.cjs.entry.js +2 -1
- package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -2
- package/dist/cjs/vega-option.cjs.entry.js +2 -1
- package/dist/cjs/vega-radio-group.cjs.entry.js +36 -30
- package/dist/cjs/vega-radio.cjs.entry.js +11 -9
- package/dist/cjs/vega-stepper.cjs.entry.js +11 -16
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +2 -1
- package/dist/cjs/vega.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +30 -2
- package/dist/collection/components/vega-banner/vega-banner.css +75 -0
- package/dist/collection/components/vega-banner/vega-banner.js +169 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +79 -16
- package/dist/collection/components/vega-form/vega-form.js +2 -3
- package/dist/collection/components/vega-grid/vega-grid.js +7 -7
- package/dist/collection/components/vega-input/vega-input.js +4 -1
- package/dist/collection/components/vega-modal/vega-modal.js +42 -8
- package/dist/collection/components/vega-radio/vega-radio-group.js +52 -23
- package/dist/collection/components/vega-radio/vega-radio.js +14 -12
- package/dist/collection/components/vega-sidenav/vega-sidenav-group.js +3 -4
- package/dist/collection/components/vega-sidenav/vega-sidenav-link.js +4 -4
- package/dist/collection/components/vega-sidenav/vega-sidenav.js +35 -1
- package/dist/collection/components/vega-stepper/vega-stepper.js +31 -22
- package/dist/collection/components/vega-table/vega-table.js +19 -13
- package/dist/collection/constants/regex.js +2 -0
- package/dist/collection/constants/ui.js +40 -2
- package/dist/collection/helpers/feature-control/featureFlagsMap.js +15 -5
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsiveGridColumnFormatter.test.js +4 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsiveGridRowFormatter.test.js +4 -0
- package/dist/collection/helpers/ui/elementAppender.js +20 -7
- package/dist/collection/helpers/ui/test/elementAppender.test.js +34 -3
- package/dist/collection/helpers/validator/formFieldController.js +8 -10
- package/dist/collection/types/typeGuard.js +10 -7
- package/dist/collection/utils/ApiUtil.js +46 -0
- package/dist/collection/utils/component.js +5 -2
- package/dist/collection/utils/localStorage.js +22 -0
- package/dist/collection/utils/test/apiUtil.test.js +25 -0
- package/dist/collection/utils/test/component.test.js +31 -0
- package/dist/collection/utils/test/localStorage.test.js +25 -0
- package/dist/collection/utils/test/ui.test.js +15 -1
- package/dist/collection/utils/test/zIndexManager.test.js +24 -0
- package/dist/collection/utils/ui.js +9 -0
- package/dist/collection/utils/zIndexManager.js +2 -2
- package/dist/esm/{app-globals-7ea72e56.js → app-globals-fedeb149.js} +1 -1
- package/dist/esm/{component-1f780ace.js → component-37db7a64.js} +5 -2
- package/dist/esm/{designToken-e01f952e.js → designToken-247af13a.js} +2 -2
- package/dist/esm/{featureFlagController-1f004218.js → featureFlagController-b31391a1.js} +15 -5
- package/dist/esm/{formFieldController-dc50809f.js → formFieldController-fece733f.js} +9 -12
- package/dist/esm/index-4a2edc4d.js +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{subject-95efa790.js → subject-86545d82.js} +30 -1
- package/dist/esm/{typeGuard-77f3a01f.js → typeGuard-09d79ad9.js} +13 -8
- package/dist/esm/{ui-7e43c621.js → ui-c7fbc221.js} +40 -2
- package/dist/esm/{ui-423f2987.js → ui-e4196b6c.js} +10 -1
- package/dist/esm/{validatorFacade-46c75f1e.js → validatorFacade-5b305b8e.js} +2 -2
- package/dist/esm/vega-accordion.entry.js +19 -9
- package/dist/esm/vega-app-footer.entry.js +2 -1
- package/dist/esm/vega-badge.entry.js +6 -5
- package/dist/esm/{vega-button_22.entry.js → vega-banner_23.entry.js} +543 -99
- package/dist/esm/vega-card.entry.js +6 -5
- package/dist/esm/vega-checkbox-group.entry.js +6 -7
- package/dist/esm/vega-form.entry.js +8 -10
- package/dist/esm/vega-header.entry.js +2 -1
- package/dist/esm/vega-item-toggle.entry.js +3 -2
- package/dist/esm/vega-option.entry.js +2 -1
- package/dist/esm/vega-radio-group.entry.js +36 -30
- package/dist/esm/vega-radio.entry.js +11 -9
- package/dist/esm/vega-stepper.entry.js +11 -16
- package/dist/esm/vega-toggle-switch.entry.js +2 -1
- package/dist/esm/vega.js +3 -3
- package/dist/types/components/vega-accordion/vega-accordion.d.ts +2 -0
- package/dist/types/components/vega-banner/vega-banner.d.ts +40 -0
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +23 -0
- package/dist/types/components/vega-grid/vega-grid.d.ts +9 -7
- package/dist/types/components/vega-modal/vega-modal.d.ts +6 -0
- package/dist/types/components/vega-radio/vega-radio-group.d.ts +7 -5
- package/dist/types/components/vega-radio/vega-radio.d.ts +2 -2
- package/dist/types/components/vega-sidenav/vega-sidenav.d.ts +9 -0
- package/dist/types/components/vega-stepper/vega-stepper.d.ts +2 -1
- package/dist/types/components/vega-table/vega-table.d.ts +1 -1
- package/dist/types/components.d.ts +54 -9
- package/dist/types/constants/regex.d.ts +2 -0
- package/dist/types/constants/ui.d.ts +2 -2
- package/dist/types/helpers/feature-control/featureFlag.d.ts +3 -1
- package/dist/types/helpers/ui/elementAppender.d.ts +4 -5
- package/dist/types/helpers/validator/formFieldController.d.ts +1 -2
- package/dist/types/types/typeGuard.d.ts +9 -7
- package/dist/types/utils/ApiUtil.d.ts +25 -0
- package/dist/types/utils/localStorage.d.ts +14 -0
- package/dist/types/utils/test/apiUtil.test.d.ts +1 -0
- package/dist/types/utils/test/localStorage.test.d.ts +1 -0
- package/dist/types/utils/ui.d.ts +7 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-02e9d2a1.js +1 -0
- package/dist/vega/p-0513c9aa.entry.js +1 -0
- package/dist/vega/p-07c83b34.entry.js +1 -0
- package/dist/vega/{p-3f2d6b8d.js → p-122b243a.js} +1 -1
- package/dist/vega/p-267d2b92.entry.js +1 -0
- package/dist/vega/{p-97b72b2b.js → p-2937ea32.js} +1 -1
- package/dist/vega/p-2f8106ca.entry.js +1 -0
- package/dist/vega/p-37b78eb7.entry.js +13 -0
- package/dist/vega/p-4da858cb.entry.js +1 -0
- package/dist/vega/p-7c6677b5.js +1 -0
- package/dist/vega/p-7d797fd5.entry.js +1 -0
- package/dist/vega/p-84e08b2e.entry.js +1 -0
- package/dist/vega/p-89f00634.js +1 -0
- package/dist/vega/p-8d990293.entry.js +1 -0
- package/dist/vega/{p-d482724b.js → p-8e89d355.js} +1 -1
- package/dist/vega/p-97794212.js +1 -0
- package/dist/vega/p-9afed9bd.entry.js +1 -0
- package/dist/vega/p-9d6bf85b.js +1 -0
- package/dist/vega/p-ad3966a6.entry.js +1 -0
- package/dist/vega/p-cd8fb776.entry.js +1 -0
- package/dist/vega/p-de4dbaf7.js +1 -0
- package/dist/vega/{p-fb70c1ee.js → p-e1b1eb13.js} +1 -1
- package/dist/vega/p-ee2b0858.entry.js +1 -0
- package/dist/vega/p-fe340aec.entry.js +1 -0
- package/dist/vega/vega.css +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/style/storybook.css +1 -0
- package/style/vega.css +1 -1
- package/style/vega_min.css +1 -1
- package/dist/cjs/observer-126f19d0.js +0 -32
- package/dist/esm/observer-8ff2bb65.js +0 -30
- package/dist/vega/p-104bb646.entry.js +0 -1
- package/dist/vega/p-25727151.entry.js +0 -1
- package/dist/vega/p-31a33c59.entry.js +0 -1
- package/dist/vega/p-3f9cc772.js +0 -1
- package/dist/vega/p-4eb98d0e.entry.js +0 -1
- package/dist/vega/p-5661203a.entry.js +0 -1
- package/dist/vega/p-59a2385e.entry.js +0 -1
- package/dist/vega/p-5e9304c7.js +0 -1
- package/dist/vega/p-636cd70e.entry.js +0 -1
- package/dist/vega/p-728eb4bf.js +0 -1
- package/dist/vega/p-81e5232c.entry.js +0 -13
- package/dist/vega/p-862729c0.entry.js +0 -1
- package/dist/vega/p-8ce9679e.entry.js +0 -1
- package/dist/vega/p-92e3be74.js +0 -1
- package/dist/vega/p-9da905fe.entry.js +0 -1
- package/dist/vega/p-cf6ff27f.entry.js +0 -1
- package/dist/vega/p-d46bceb1.js +0 -1
- package/dist/vega/p-dc20f620.js +0 -1
- package/dist/vega/p-e5c4a406.js +0 -1
- package/dist/vega/p-e6aaf49c.entry.js +0 -1
- package/dist/vega/p-ebd3d107.entry.js +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const featureFlagController = require('./featureFlagController-7e890692.js');
|
|
3
4
|
const log = require('./log-7b0974fb.js');
|
|
4
5
|
|
|
5
6
|
const exemptionClasses = [
|
|
@@ -23,8 +24,10 @@ const exemptionClasses = [
|
|
|
23
24
|
* @returns {T} processed vega component
|
|
24
25
|
*/
|
|
25
26
|
function sanitizeVegaComponent(renderedOutput, hostElement) {
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
if (featureFlagController.FeatureFlag.isEnabled('VEGA_COMPONENT.SANITIZE_VEGA_COMPONENT')) {
|
|
28
|
+
checkIfInAllowedClassList(renderedOutput, hostElement);
|
|
29
|
+
checkIfUseDataShrink(hostElement);
|
|
30
|
+
}
|
|
28
31
|
return renderedOutput;
|
|
29
32
|
}
|
|
30
33
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const typeGuard = require('./typeGuard-
|
|
3
|
+
const typeGuard = require('./typeGuard-f0034f75.js');
|
|
4
4
|
const log = require('./log-7b0974fb.js');
|
|
5
|
-
const ui = require('./ui-
|
|
5
|
+
const ui = require('./ui-313ae2d4.js');
|
|
6
6
|
const number = require('./number-2eb7b8f3.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -14,11 +14,6 @@ const FeatureFlagsMap = {
|
|
|
14
14
|
createdTimestamp: 1660800418146,
|
|
15
15
|
createdAtVersion: '1.3.0',
|
|
16
16
|
},
|
|
17
|
-
'VEGA_DATE_PICKER.ADD_DATEPICKER_TO_ELEMENT_APPENDER': {
|
|
18
|
-
description: `Feature flag to enable add the date picker to element appender`,
|
|
19
|
-
createdTimestamp: 1662508203840,
|
|
20
|
-
createdAtVersion: '1.4.0',
|
|
21
|
-
},
|
|
22
17
|
'VEGA_CHECK_GROUP.VALUE_PROPERTY_TYPE_CHANGE_ARRAY': {
|
|
23
18
|
description: 'Feature flag to enable the change value property to array for the checkbox group component.',
|
|
24
19
|
createdTimestamp: 1661243219291,
|
|
@@ -29,6 +24,21 @@ const FeatureFlagsMap = {
|
|
|
29
24
|
createdTimestamp: 1660617211562,
|
|
30
25
|
createdAtVersion: '1.6.0',
|
|
31
26
|
},
|
|
27
|
+
'VEGA_DATE_PICKER.ADD_DATEPICKER_TO_ELEMENT_APPENDER': {
|
|
28
|
+
description: `Feature flag to enable add the date picker to element appender`,
|
|
29
|
+
createdTimestamp: 1662508203840,
|
|
30
|
+
createdAtVersion: '1.4.0',
|
|
31
|
+
},
|
|
32
|
+
'VEGA_COMPONENT.SANITIZE_VEGA_COMPONENT': {
|
|
33
|
+
description: `Feature flag to enable sanitize vega components.`,
|
|
34
|
+
createdTimestamp: 1664262689486,
|
|
35
|
+
createdAtVersion: '1.8.1',
|
|
36
|
+
},
|
|
37
|
+
'Z_INDEX_MANAGER.APPLY_MANAGER_TO_COMPONENTS': {
|
|
38
|
+
description: `Feature flag to enable the z-index manager to element appender, modal and sidenav.`,
|
|
39
|
+
createdTimestamp: 1664420174887,
|
|
40
|
+
createdAtVersion: '1.8.0',
|
|
41
|
+
},
|
|
32
42
|
};
|
|
33
43
|
const FeatureFlagsMap$1 = Object.freeze(FeatureFlagsMap);
|
|
34
44
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const subject = require('./subject-
|
|
4
|
-
const
|
|
5
|
-
const ui = require('./ui-1393500e.js');
|
|
3
|
+
const subject = require('./subject-b9a0f7c6.js');
|
|
4
|
+
const ui = require('./ui-cd4f8632.js');
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* A rule that checks if a string is empty or not
|
|
@@ -120,7 +119,6 @@ class FormFieldController {
|
|
|
120
119
|
this.isTouched = false;
|
|
121
120
|
this.isModified = false;
|
|
122
121
|
this.isVisible = false;
|
|
123
|
-
this.isReset = false;
|
|
124
122
|
this.defaultRules = defaultRules;
|
|
125
123
|
this.hostElement = hostElement;
|
|
126
124
|
this.inputContainerSelector = inputContainer;
|
|
@@ -140,11 +138,13 @@ class FormFieldController {
|
|
|
140
138
|
*/
|
|
141
139
|
static getFormFieldDefaultValue(element) {
|
|
142
140
|
const tagName = element.tagName;
|
|
143
|
-
if (tagName === 'VEGA-INPUT' ||
|
|
144
|
-
tagName === 'VEGA-INPUT-SELECT' ||
|
|
141
|
+
if (tagName === 'VEGA-INPUT-SELECT' ||
|
|
145
142
|
tagName === 'VEGA-CHECKBOX-GROUP' ||
|
|
146
143
|
tagName === 'VEGA-RADIO-GROUP')
|
|
147
144
|
return '';
|
|
145
|
+
if (tagName === 'VEGA-INPUT') {
|
|
146
|
+
return element.dataset['isVegaStepper'] ? 0 : '';
|
|
147
|
+
}
|
|
148
148
|
if (tagName === 'VEGA-DATE-PICKER') {
|
|
149
149
|
if (element['mode'] === 'range') {
|
|
150
150
|
return ['', ''];
|
|
@@ -349,10 +349,9 @@ class FormFieldController {
|
|
|
349
349
|
updateIsModified(modified) {
|
|
350
350
|
const prevIsModified = this.isModified;
|
|
351
351
|
this.isModified = modified;
|
|
352
|
-
if (this.isAutoValidationEnabled()
|
|
352
|
+
if (this.isAutoValidationEnabled()) {
|
|
353
353
|
this.valid(prevIsModified === modified ? [] : ['modified']);
|
|
354
354
|
}
|
|
355
|
-
this.isReset = false;
|
|
356
355
|
}
|
|
357
356
|
/**
|
|
358
357
|
* It creates a new MutationObserver that watches for changes to the disabled attribute of the host
|
|
@@ -387,11 +386,11 @@ class FormFieldController {
|
|
|
387
386
|
/**
|
|
388
387
|
* If the input form is a child of the current form, then the current form can accept the input form's reset operation
|
|
389
388
|
*
|
|
390
|
-
* @param {
|
|
389
|
+
* @param {ResetOperationPayload} input - VegaForm - The form that is being reset.
|
|
391
390
|
* @returns {boolean} A boolean value.
|
|
392
391
|
*/
|
|
393
392
|
canAcceptFormResetOperation(input) {
|
|
394
|
-
return ui.
|
|
393
|
+
return ui.findParent(this.hostElement, 'vega-form') === input.host;
|
|
395
394
|
}
|
|
396
395
|
/**
|
|
397
396
|
* Unregister the form reset observer.
|
|
@@ -424,11 +423,9 @@ class FormFieldController {
|
|
|
424
423
|
const defaultValue = payload.defaultValueMap[fieldName] === undefined || payload.defaultValueMap[fieldName] === null
|
|
425
424
|
? FormFieldController.getFormFieldDefaultValue(this.hostElement)
|
|
426
425
|
: payload.defaultValueMap[fieldName];
|
|
427
|
-
this.isReset = true;
|
|
428
426
|
this.hostElement.value = defaultValue;
|
|
429
427
|
this.isTouched = false;
|
|
430
428
|
this.isModified = false;
|
|
431
|
-
this.hostElement.isValid = null;
|
|
432
429
|
this.resetInputInvalidUI();
|
|
433
430
|
}
|
|
434
431
|
/**
|
|
@@ -444,7 +441,7 @@ class FormFieldController {
|
|
|
444
441
|
* reset operation is triggered
|
|
445
442
|
*/
|
|
446
443
|
initFormResetObserver() {
|
|
447
|
-
this.formResetTriggeredObserver = new
|
|
444
|
+
this.formResetTriggeredObserver = new subject.Observer(this.canAcceptFormResetOperation.bind(this), this.reset.bind(this));
|
|
448
445
|
subject.ChangeManager.register(subject.FORM_RESET_OPERATION_TRIGGERED, this.formResetTriggeredObserver);
|
|
449
446
|
}
|
|
450
447
|
/**
|
|
@@ -1747,10 +1747,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
switch(bundleId) {
|
|
1749
1749
|
|
|
1750
|
-
case 'vega-
|
|
1750
|
+
case 'vega-banner_23.cjs':
|
|
1751
1751
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1752
1752
|
/* webpackMode: "lazy" */
|
|
1753
|
-
'./vega-
|
|
1753
|
+
'./vega-banner_23.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1754
1754
|
case 'vega-accordion.cjs':
|
|
1755
1755
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1756
1756
|
/* webpackMode: "lazy" */
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const designToken = require('./designToken-
|
|
5
|
+
const designToken = require('./designToken-0b0e6849.js');
|
|
6
6
|
const log = require('./log-7b0974fb.js');
|
|
7
|
-
const typeGuard = require('./typeGuard-
|
|
7
|
+
const typeGuard = require('./typeGuard-f0034f75.js');
|
|
8
8
|
const icons = require('./icons-5a6aca4a.js');
|
|
9
|
-
const ui = require('./ui-
|
|
10
|
-
const featureFlagController = require('./featureFlagController-
|
|
9
|
+
const ui = require('./ui-313ae2d4.js');
|
|
10
|
+
const featureFlagController = require('./featureFlagController-7e890692.js');
|
|
11
11
|
require('./number-2eb7b8f3.js');
|
|
12
12
|
|
|
13
13
|
/* This file is generated by vega-design 2.0.64 */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c12bc235.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
7
|
-
require('./featureFlagController-
|
|
6
|
+
const appGlobals = require('./app-globals-5ed5f78a.js');
|
|
7
|
+
require('./featureFlagController-7e890692.js');
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
Stencil Client Patch Esm v2.17.4 | MIT Licensed | https://stenciljs.com
|
|
@@ -17,7 +17,7 @@ const defineCustomElements = (win, options) => {
|
|
|
17
17
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
18
18
|
return patchEsm().then(() => {
|
|
19
19
|
appGlobals.globalScripts();
|
|
20
|
-
return index.bootstrapLazy([["vega-
|
|
20
|
+
return index.bootstrapLazy([["vega-banner_23.cjs",[[0,"vega-tab-group",{"selectedTabDataTarget":[1,"selected-tab-data-target"],"gap":[1],"showCloseButton":[4,"show-close-button"],"tabItems":[16],"positionRelativeTo":[1,"position-relative-to"],"tabPages":[32],"tabWidthArray":[32],"currentPageIndex":[32]},[[0,"vegaPageUpdate","onCarouselPageUpdate"]]],[0,"vega-banner",{"audienceEmail":[1,"audience-email"],"bannerItems":[32]}],[4,"vega-table",{"columns":[16],"dataSource":[16],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"rowDivider":[4,"row-divider"],"columnDivider":[4,"column-divider"],"striped":[4],"density":[1],"paddingX":[16],"showHeader":[4,"show-header"],"pagination":[16],"emptyDescription":[1,"empty-description"],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowIndex":[32],"currentPage":[32],"openExpandRow":[64],"closeExpandRow":[64],"closeAllExpandRow":[64],"toggleExpandRow":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64]}],[0,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[4],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"format":[1],"size":[1],"formValidation":[2,"form-validation"],"validationRules":[16],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"placeholder":[1],"clearButton":[4,"clear-button"],"readOnly":[4,"read-only"],"allowRepick":[4,"allow-repick"],"dropdownConfig":[16],"disabled":[516],"valid":[64],"doClose":[64],"doOpen":[64]}],[0,"vega-input-select",{"label":[1],"required":[1028],"source":[1040],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[4,"auto-validation"],"formValidation":[2,"form-validation"],"validationRules":[16],"prefixIcon":[1,"prefix-icon"],"disabled":[516],"placeholder":[1],"hint":[1],"vegaDropdownProps":[16],"isDropdownShow":[32],"doClose":[64],"doOpen":[64],"doChange":[64],"valid":[64]}],[0,"vega-progress-tracker",{"direction":[1],"steps":[16],"completedStepArray":[16],"canClickStep":[4,"can-click-step"],"current":[32],"nextStep":[64],"prevStep":[64],"setCurrent":[64],"getCurrent":[64]},[[0,"vegaPageUpdate","onVegaPageUpdateHandler"]]],[4,"vega-sidenav",{"source":[16],"footnote":[1],"headerConfig":[16],"openByDefault":[1,"open-by-default"],"openState":[32],"toggle":[64]},[[0,"vegaClick","onVegaClickHandler"],[10,"click","collapseSidenavByBackDropClick"]]],[0,"vega-button",{"size":[1],"variant":[1],"icon":[1],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"block":[4]}],[4,"vega-footer",{"tosUrl":[1,"tos-url"],"privacyUrl":[1,"privacy-url"]}],[4,"vega-modal",{"backdrop":[1],"size":[8],"open":[1028],"animation":[4],"modalTitle":[1,"modal-title"],"backdropColor":[1,"backdrop-color"],"isVerticallyCenter":[4,"is-vertically-center"],"showCloseButton":[4,"show-close-button"],"padding":[1],"contentMaxHeight":[2,"content-max-height"],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"]]],[0,"vega-pagination",{"current":[1538],"total":[2],"pageSize":[2,"page-size"]}],[4,"vega-checkbox",{"value":[1],"name":[1],"checked":[1028],"disabled":[4],"size":[1]}],[4,"vega-sidenav-group",{"icon":[1],"label":[1]}],[4,"vega-sidenav-link",{"icon":[1],"selected":[1540],"url":[1],"showSideBarOnClickLink":[4,"show-side-bar-on-click-link"]}],[0,"vega-button-link",{"link":[1],"size":[1],"icon":[513],"iconType":[1,"icon-type"],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"eventful":[4]}],[4,"vega-dropdown",{"size":[8],"trigger":[1],"translocation":[16],"source":[1040],"positionRelativeTo":[1,"position-relative-to"],"selectType":[1,"select-type"],"selectedSourceKey":[1025,"selected-source-key"],"maxHeight":[2,"max-height"],"searchable":[4],"matchTargetWidth":[4,"match-target-width"],"matchContainerHeight":[4,"match-container-height"],"caseSensitive":[4,"case-sensitive"],"searchString":[32],"show":[64],"hide":[64]},[[1,"mouseenter","onMouseEnter"],[0,"click","onClick"],[9,"mousedown","onMouseDown"]]],[4,"vega-carousel",{"perPage":[8,"per-page"],"showSlider":[4,"show-slider"],"spacing":[1],"page":[32],"totalPages":[32],"nextPage":[64],"prevPage":[64],"goToPage":[64]}],[0,"vega-input",{"inputId":[513,"id"],"label":[1],"value":[1537],"type":[1],"autocomplete":[1],"prefixIcon":[1,"prefix-icon"],"email":[4],"required":[1028],"min":[2],"max":[2],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"formValidation":[2,"form-validation"],"validationRules":[16],"size":[1],"placeholder":[1],"disabled":[516],"hint":[1],"maskConfig":[16],"valid":[64]},[[0,"input","handleValueInput"]]],[4,"vega-grid",{"column":[8],"row":[8],"gap":[1]}],[0,"vega-button-circle",{"size":[1],"variant":[1],"icon":[513],"label":[1],"disabled":[4],"danger":[4]}],[4,"vega-tooltip",{"size":[8],"trigger":[1],"content":[1],"placement":[1],"positionRelativeTo":[1,"position-relative-to"]},[[0,"click","onClick"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"],[8,"keyup","onKeyDown"],[9,"mousedown","onMouseDown"]]],[0,"vega-flex",{"gap":[1],"margin":[1],"breakpoint":[1],"direction":[1],"alignItem":[1,"align-item"],"justifyContent":[1,"justify-content"]}],[0,"vega-icon",{"icon":[513],"size":[1]}]]],["vega-accordion.cjs",[[4,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["vega-stepper.cjs",[[0,"vega-stepper",{"stepperId":[513,"id"],"max":[2],"min":[2],"value":[1538],"label":[1],"inputEditable":[4,"input-editable"],"disabled":[516],"required":[4],"isValid":[1028,"is-valid"],"formValidation":[2,"form-validation"],"valid":[64]},[[0,"vegaChange","handleValueChange"],[0,"vegaValidate","handleVegaInputValidate"]]]]],["vega-item-toggle.cjs",[[0,"vega-item-toggle",{"itemToggleStatusMap":[16],"isToggled":[1028,"is-toggled"],"isError":[4,"is-error"],"toggleStatus":[32]}]]],["vega-option.cjs",[[4,"vega-option",{"label":[1],"subLabel":[1,"sub-label"],"icon":[1]},[[2,"vegaFocus","handleFocus"],[2,"vegaBlur","handleBlur"],[3,"mousedown","handleMousedown"],[3,"mouseup","handleMouseup"],[3,"mouseout","handleMouseout"],[2,"click","handleClick"]]]]],["vega-checkbox-group.cjs",[[4,"vega-checkbox-group",{"label":[1],"value":[16],"name":[1],"vegaFlexProp":[16],"disabled":[516],"required":[4],"hint":[1],"formValidation":[2,"form-validation"],"isValid":[1028,"is-valid"],"valid":[64]},[[0,"vegaChange","changeValue"]]]]],["vega-header.cjs",[[4,"vega-header",{"menuShown":[32]}]]],["vega-radio-group.cjs",[[4,"vega-radio-group",{"label":[1],"value":[1025],"name":[1],"vegaFlexProp":[16],"required":[4],"hint":[1],"formValidation":[2,"form-validation"],"isValid":[1028,"is-valid"],"disabled":[4],"valid":[64]},[[0,"vegaChange","changeValue"]]]]],["vega-toggle-switch.cjs",[[0,"vega-toggle-switch",{"checked":[1540],"size":[1],"label":[1],"disabled":[4]}]]],["vega-app-footer.cjs",[[0,"vega-app-footer",{"tosUrl":[1,"tos-url"],"privacyUrl":[1,"privacy-url"],"showDisclaimer":[4,"show-disclaimer"]}]]],["vega-badge.cjs",[[0,"vega-badge",{"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"text":[1],"size":[1]}]]],["vega-form.cjs",[[1,"vega-form",{"isValid":[1028,"is-valid"],"isTouched":[1028,"is-touched"],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64]},[[0,"vegaValidate","updateInternalValidStatus"],[0,"vegaChange","updateInternalTouchedStatus"]]]]],["vega-radio.cjs",[[4,"vega-radio",{"value":[1],"name":[1],"checked":[4],"disabled":[4]}]]],["vega-card.cjs",[[4,"vega-card",{"padding":[1],"margin":[1],"shadow":[1],"backgroundColor":[1,"background-color"]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -67,6 +67,35 @@ class ChangeManager {
|
|
|
67
67
|
}
|
|
68
68
|
const ChangeManager$1 = new ChangeManager();
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* An Observer is a class that has a listener method that accepts a value of type T
|
|
72
|
+
* and calls the listener method with a value of type T
|
|
73
|
+
*/
|
|
74
|
+
class Observer {
|
|
75
|
+
/**
|
|
76
|
+
* It accepts a function that accepts a value and returns a boolean, and a function that accepts a value of the type that
|
|
77
|
+
* the first function accepts
|
|
78
|
+
*
|
|
79
|
+
* @typedef T generic type parameter
|
|
80
|
+
* @param {(input: unknown) => input is T} accept - A function that indicate if the input is acceptable by the observer
|
|
81
|
+
* @param {(input: T) => void} listener - A function handle the input for the observer if the input is accepted
|
|
82
|
+
*/
|
|
83
|
+
constructor(accept, listener) {
|
|
84
|
+
this.accept = accept;
|
|
85
|
+
this.listener = listener;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* If the input is of the type that this handler is interested in, then call the listener function
|
|
89
|
+
*
|
|
90
|
+
* @param {unknown} input - unknown
|
|
91
|
+
*/
|
|
92
|
+
notify(input) {
|
|
93
|
+
if (this.accept(input)) {
|
|
94
|
+
this.listener(input);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
70
99
|
/**
|
|
71
100
|
* A subject class is used for register by observer
|
|
72
101
|
*/
|
|
@@ -97,4 +126,5 @@ exports.ACCORDION_EXPAND_TOPIC = ACCORDION_EXPAND_TOPIC;
|
|
|
97
126
|
exports.ChangeManager = ChangeManager$1;
|
|
98
127
|
exports.FORM_CONTROLLED_FIELD_DISABLED_STATUS_CHANGE = FORM_CONTROLLED_FIELD_DISABLED_STATUS_CHANGE;
|
|
99
128
|
exports.FORM_RESET_OPERATION_TRIGGERED = FORM_RESET_OPERATION_TRIGGERED;
|
|
129
|
+
exports.Observer = Observer;
|
|
100
130
|
exports.SIDENAV_LINK_SELECTED_TOPIC = SIDENAV_LINK_SELECTED_TOPIC;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const ui = require('./ui-
|
|
3
|
+
const ui = require('./ui-313ae2d4.js');
|
|
4
4
|
|
|
5
5
|
/* This file is generated by vega-design 2.0.64 */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -70,6 +70,9 @@ const Spacing = {
|
|
|
70
70
|
// prettier-ignore
|
|
71
71
|
const Shadows = ["shadow-card", "shadow-modal", "shadow-popover", "shadow-form-field", "shadow-dropdown-menu", "shadow-app-header", "shadow-modal-header", "shadow-modal-footer", "shadow-modal-footer-no-scroll"];
|
|
72
72
|
|
|
73
|
+
const GridRowRegex = new RegExp(/^[1-6](-auto)?$/);
|
|
74
|
+
const GridColumnRegex = new RegExp(/^([1-9]|1[0-2])(-auto)?$/);
|
|
75
|
+
|
|
73
76
|
/**
|
|
74
77
|
* Returns true if the input is a string that is one of the four directions.
|
|
75
78
|
*
|
|
@@ -185,22 +188,24 @@ const isShadowsTokenType = (input) => {
|
|
|
185
188
|
return typeof input === 'string' && Shadows.includes(input);
|
|
186
189
|
};
|
|
187
190
|
/**
|
|
188
|
-
* If the input is a number,
|
|
191
|
+
* If the input is a number, it must be between 1 and 12. If the input is a string, it must be in the
|
|
192
|
+
* format of '1-auto' to '12-auto'.
|
|
189
193
|
*
|
|
190
|
-
* @param {unknown} input - The
|
|
194
|
+
* @param {unknown} input - The input to be tested.
|
|
191
195
|
* @returns {boolean} indicating if the input is {@link GridColumnType}
|
|
192
196
|
*/
|
|
193
197
|
const isGridColumnType = (input) => {
|
|
194
|
-
return
|
|
198
|
+
return input && GridColumnRegex.test(input.toString());
|
|
195
199
|
};
|
|
196
200
|
/**
|
|
197
|
-
* If the input is a number,
|
|
201
|
+
* If the input is a number, it must be between 1 and 6. If the input is a string, it must be a number
|
|
202
|
+
* between 1 and 6 followed by a hyphen and the word 'auto'.
|
|
198
203
|
*
|
|
199
|
-
* @param {unknown} input - The
|
|
200
|
-
* @returns {boolean} indicating if the input is {@link
|
|
204
|
+
* @param {unknown} input - The input to be tested.
|
|
205
|
+
* @returns {boolean} indicating if the input is {@link GridColumnType}
|
|
201
206
|
*/
|
|
202
207
|
const isGridRowType = (input) => {
|
|
203
|
-
return
|
|
208
|
+
return input && GridRowRegex.test(input.toString());
|
|
204
209
|
};
|
|
205
210
|
/**
|
|
206
211
|
* If the input is a string, and that string is a key in the Breakpoints object, then the input is a GridRowType.
|
|
@@ -1,8 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const BreakpointKeys = ['default', 'S', 'M', 'L', 'XL'];
|
|
4
|
-
const GridColumn = [
|
|
5
|
-
|
|
4
|
+
const GridColumn = [
|
|
5
|
+
1,
|
|
6
|
+
2,
|
|
7
|
+
3,
|
|
8
|
+
4,
|
|
9
|
+
5,
|
|
10
|
+
6,
|
|
11
|
+
7,
|
|
12
|
+
8,
|
|
13
|
+
9,
|
|
14
|
+
10,
|
|
15
|
+
11,
|
|
16
|
+
12,
|
|
17
|
+
'1-auto',
|
|
18
|
+
'2-auto',
|
|
19
|
+
'3-auto',
|
|
20
|
+
'4-auto',
|
|
21
|
+
'5-auto',
|
|
22
|
+
'6-auto',
|
|
23
|
+
'7-auto',
|
|
24
|
+
'8-auto',
|
|
25
|
+
'9-auto',
|
|
26
|
+
'10-auto',
|
|
27
|
+
'11-auto',
|
|
28
|
+
'12-auto',
|
|
29
|
+
];
|
|
30
|
+
const GridRow = [
|
|
31
|
+
1,
|
|
32
|
+
2,
|
|
33
|
+
3,
|
|
34
|
+
4,
|
|
35
|
+
5,
|
|
36
|
+
6,
|
|
37
|
+
'1-auto',
|
|
38
|
+
'2-auto',
|
|
39
|
+
'3-auto',
|
|
40
|
+
'4-auto',
|
|
41
|
+
'5-auto',
|
|
42
|
+
'6-auto',
|
|
43
|
+
];
|
|
6
44
|
const DefaultModalSize = {
|
|
7
45
|
default: 200,
|
|
8
46
|
S: 246,
|
|
@@ -106,10 +106,20 @@ function getNumberFromPixelString(cssString) {
|
|
|
106
106
|
function containerScrollToItem(container, item) {
|
|
107
107
|
container.scrollTop = item.offsetTop;
|
|
108
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* Check if the element is visible by checking if the element's height is greater than 0.
|
|
111
|
+
*
|
|
112
|
+
* @param {HTMLElement} element - HTMLElement - the element to check if it's visible
|
|
113
|
+
* @returns {boolean} A boolean value.
|
|
114
|
+
*/
|
|
115
|
+
function isElementVisible(element) {
|
|
116
|
+
return element.getBoundingClientRect().height > 0;
|
|
117
|
+
}
|
|
109
118
|
|
|
110
119
|
exports.arrayToClassString = arrayToClassString;
|
|
111
120
|
exports.containerScrollToItem = containerScrollToItem;
|
|
112
121
|
exports.findParent = findParent;
|
|
113
122
|
exports.getDeviceType = getDeviceType;
|
|
114
123
|
exports.getNumberFromPixelString = getNumberFromPixelString;
|
|
124
|
+
exports.isElementVisible = isElementVisible;
|
|
115
125
|
exports.isParent = isParent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const featureFlagController = require('./featureFlagController-
|
|
4
|
-
const formFieldController = require('./formFieldController-
|
|
3
|
+
const featureFlagController = require('./featureFlagController-7e890692.js');
|
|
4
|
+
const formFieldController = require('./formFieldController-baa64b89.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* This function returns a function that will execute the given function after a delay.
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c12bc235.js');
|
|
6
|
-
const component = require('./component-
|
|
7
|
-
const
|
|
8
|
-
const typeGuard = require('./typeGuard-
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
|
|
6
|
+
const component = require('./component-aa3542d1.js');
|
|
7
|
+
const subject = require('./subject-b9a0f7c6.js');
|
|
8
|
+
const typeGuard = require('./typeGuard-f0034f75.js');
|
|
9
|
+
const designToken = require('./designToken-0b0e6849.js');
|
|
10
|
+
const ui = require('./ui-cd4f8632.js');
|
|
11
|
+
require('./featureFlagController-7e890692.js');
|
|
12
12
|
require('./log-7b0974fb.js');
|
|
13
|
-
require('./ui-
|
|
13
|
+
require('./ui-313ae2d4.js');
|
|
14
14
|
require('./number-2eb7b8f3.js');
|
|
15
15
|
|
|
16
16
|
const VegaAccordion = class {
|
|
@@ -23,13 +23,15 @@ const VegaAccordion = class {
|
|
|
23
23
|
this.expandIconAlign = 'right';
|
|
24
24
|
/** set the state of accordion. */
|
|
25
25
|
this.expand = true;
|
|
26
|
+
/** set the position of prefix icon and expand icon. */
|
|
27
|
+
this.iconPosition = 'top';
|
|
26
28
|
/** set the status of accordion expand icon. */
|
|
27
29
|
this.showExpandIcon = true;
|
|
28
30
|
this.onExpand = () => {
|
|
29
31
|
this.expand = !this.expand;
|
|
30
32
|
};
|
|
31
33
|
this.registerObserver = () => {
|
|
32
|
-
this.observer = new
|
|
34
|
+
this.observer = new subject.Observer(typeGuard.isAccordionObserverPayload, this.shouldCollapseSelfIfOtherExpand.bind(this));
|
|
33
35
|
subject.ChangeManager.register(subject.ACCORDION_EXPAND_TOPIC, this.observer);
|
|
34
36
|
};
|
|
35
37
|
this.unregisterObserver = () => {
|
|
@@ -73,7 +75,12 @@ const VegaAccordion = class {
|
|
|
73
75
|
return (index.h("div", { class: "accordion-title-slot" }, index.h("slot", { name: "title" })));
|
|
74
76
|
}
|
|
75
77
|
renderPrefixIcon() {
|
|
76
|
-
return (this.prefixIcon && (index.h("div", { class:
|
|
78
|
+
return (this.prefixIcon && (index.h("div", { class: {
|
|
79
|
+
'accordion-prefix-icon': true,
|
|
80
|
+
'vega-flex-shrink-0': true,
|
|
81
|
+
'v-min-w-min': true,
|
|
82
|
+
'v-self-center': this.iconPosition === 'center',
|
|
83
|
+
} }, index.h("vega-icon", { icon: this.prefixIcon, size: "size-24" }))));
|
|
77
84
|
}
|
|
78
85
|
renderTitle() {
|
|
79
86
|
return index.h("div", { class: "accordion-title" }, this.accordionTitle);
|
|
@@ -83,8 +90,11 @@ const VegaAccordion = class {
|
|
|
83
90
|
'accordion-expand-icon',
|
|
84
91
|
`accordion-expand-icon-align-${this.expandIconAlign}`,
|
|
85
92
|
designToken.formatAndValidResponsiveToken(this.showExpandIcon, 'display'),
|
|
93
|
+
this.iconPosition === 'center' ? 'v-self-center' : '',
|
|
94
|
+
'vega-flex-shrink-0',
|
|
95
|
+
'v-min-w-min',
|
|
86
96
|
];
|
|
87
|
-
return (index.h("div", { class: `${ui.arrayToClassString(classes)}
|
|
97
|
+
return (index.h("div", { class: `${ui.arrayToClassString(classes)}` }, index.h("vega-button-circle", { size: "small", variant: "icon-only", icon: this.expandIconAlign === 'left' ? 'chevron-down' : 'chevron-up', onVegaClick: this.onExpand })));
|
|
88
98
|
}
|
|
89
99
|
shouldCollapseSelfIfOtherExpand(payload) {
|
|
90
100
|
if (this.groupId === payload.groupId && this.el !== payload.element) {
|
|
@@ -4,7 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c12bc235.js');
|
|
6
6
|
const misc = require('./misc-649f158c.js');
|
|
7
|
-
const component = require('./component-
|
|
7
|
+
const component = require('./component-aa3542d1.js');
|
|
8
|
+
require('./featureFlagController-7e890692.js');
|
|
8
9
|
require('./log-7b0974fb.js');
|
|
9
10
|
|
|
10
11
|
const VegaAppFooter = class {
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c12bc235.js');
|
|
6
|
-
const component = require('./component-
|
|
7
|
-
const designToken = require('./designToken-
|
|
8
|
-
const ui = require('./ui-
|
|
6
|
+
const component = require('./component-aa3542d1.js');
|
|
7
|
+
const designToken = require('./designToken-0b0e6849.js');
|
|
8
|
+
const ui = require('./ui-cd4f8632.js');
|
|
9
|
+
require('./featureFlagController-7e890692.js');
|
|
9
10
|
require('./log-7b0974fb.js');
|
|
10
|
-
require('./typeGuard-
|
|
11
|
-
require('./ui-
|
|
11
|
+
require('./typeGuard-f0034f75.js');
|
|
12
|
+
require('./ui-313ae2d4.js');
|
|
12
13
|
require('./number-2eb7b8f3.js');
|
|
13
14
|
|
|
14
15
|
const vegaBadgeCss = "vega-badge {\n\t@apply v-inline-block;\n}\n\nvega-badge .vega-badge {\n\t@apply v-inline-flex v-items-center v-justify-center v-rounded-full v-box-border;\n\t@apply v-h-size-40 v-px-size-16 v-py-size-8 v-font-field-label-em;\n}\n\nvega-badge .vega-badge.default {\n\t@apply v-h-size-40 v-px-size-16 v-py-size-8 v-font-field-label-em v-min-w-size-40;\n}\n\nvega-badge .vega-badge.large {\n\t@apply v-h-size-64 v-px-size-24 v-py-size-16 v-font-h4 v-min-w-size-64;\n}\n\nvega-badge .vega-badge.small {\n\t@apply v-px-size-12 v-py-size-4 v-font-field-label-sm-em;\n\theight: 26px;\n\tmin-width: 26px;\n}\n";
|