@heartlandone/vega 1.8.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.
Files changed (148) hide show
  1. package/dist/cjs/{app-globals-55277f95.js → app-globals-5ed5f78a.js} +1 -1
  2. package/dist/cjs/{component-4cd0485c.js → component-aa3542d1.js} +5 -2
  3. package/dist/cjs/{designToken-ac6a4cf5.js → designToken-0b0e6849.js} +2 -2
  4. package/dist/cjs/{featureFlagController-8cb35fec.js → featureFlagController-7e890692.js} +10 -0
  5. package/dist/cjs/{formFieldController-2882fd1f.js → formFieldController-baa64b89.js} +1 -1
  6. package/dist/cjs/index-c12bc235.js +2 -2
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/loader.cjs.js +3 -3
  9. package/dist/cjs/{typeGuard-7a5746f7.js → typeGuard-f0034f75.js} +13 -8
  10. package/dist/cjs/{ui-2ae913d5.js → ui-313ae2d4.js} +40 -2
  11. package/dist/cjs/{ui-1393500e.js → ui-cd4f8632.js} +10 -0
  12. package/dist/cjs/{validatorFacade-01c6f6e5.js → validatorFacade-7d489041.js} +2 -2
  13. package/dist/cjs/vega-accordion.cjs.entry.js +18 -7
  14. package/dist/cjs/vega-app-footer.cjs.entry.js +2 -1
  15. package/dist/cjs/vega-badge.cjs.entry.js +6 -5
  16. package/dist/cjs/{vega-button_22.cjs.entry.js → vega-banner_23.cjs.entry.js} +489 -75
  17. package/dist/cjs/vega-card.cjs.entry.js +6 -5
  18. package/dist/cjs/vega-checkbox-group.cjs.entry.js +5 -5
  19. package/dist/cjs/vega-form.cjs.entry.js +7 -7
  20. package/dist/cjs/vega-header.cjs.entry.js +2 -1
  21. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -2
  22. package/dist/cjs/vega-option.cjs.entry.js +2 -1
  23. package/dist/cjs/vega-radio-group.cjs.entry.js +5 -5
  24. package/dist/cjs/vega-radio.cjs.entry.js +2 -1
  25. package/dist/cjs/vega-stepper.cjs.entry.js +2 -1
  26. package/dist/cjs/vega-toggle-switch.cjs.entry.js +2 -1
  27. package/dist/cjs/vega.cjs.js +3 -3
  28. package/dist/collection/collection-manifest.json +1 -0
  29. package/dist/collection/components/vega-accordion/vega-accordion.js +30 -2
  30. package/dist/collection/components/vega-banner/vega-banner.css +75 -0
  31. package/dist/collection/components/vega-banner/vega-banner.js +169 -0
  32. package/dist/collection/components/vega-date-picker/vega-date-picker.js +32 -0
  33. package/dist/collection/components/vega-form/vega-form.js +2 -2
  34. package/dist/collection/components/vega-grid/vega-grid.js +7 -7
  35. package/dist/collection/components/vega-input/vega-input.js +4 -1
  36. package/dist/collection/components/vega-modal/vega-modal.js +42 -8
  37. package/dist/collection/components/vega-sidenav/vega-sidenav-group.js +3 -4
  38. package/dist/collection/components/vega-sidenav/vega-sidenav-link.js +4 -4
  39. package/dist/collection/components/vega-sidenav/vega-sidenav.js +35 -1
  40. package/dist/collection/components/vega-table/vega-table.js +19 -13
  41. package/dist/collection/constants/regex.js +2 -0
  42. package/dist/collection/constants/ui.js +40 -2
  43. package/dist/collection/helpers/feature-control/featureFlagsMap.js +10 -0
  44. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsiveGridColumnFormatter.test.js +4 -0
  45. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsiveGridRowFormatter.test.js +4 -0
  46. package/dist/collection/helpers/ui/elementAppender.js +14 -2
  47. package/dist/collection/helpers/ui/test/elementAppender.test.js +34 -3
  48. package/dist/collection/types/typeGuard.js +10 -7
  49. package/dist/collection/utils/ApiUtil.js +46 -0
  50. package/dist/collection/utils/component.js +5 -2
  51. package/dist/collection/utils/localStorage.js +22 -0
  52. package/dist/collection/utils/test/apiUtil.test.js +25 -0
  53. package/dist/collection/utils/test/component.test.js +31 -0
  54. package/dist/collection/utils/test/localStorage.test.js +25 -0
  55. package/dist/collection/utils/test/ui.test.js +15 -1
  56. package/dist/collection/utils/test/zIndexManager.test.js +24 -0
  57. package/dist/collection/utils/ui.js +9 -0
  58. package/dist/collection/utils/zIndexManager.js +2 -2
  59. package/dist/esm/{app-globals-8eba7d36.js → app-globals-fedeb149.js} +1 -1
  60. package/dist/esm/{component-1f780ace.js → component-37db7a64.js} +5 -2
  61. package/dist/esm/{designToken-e01f952e.js → designToken-247af13a.js} +2 -2
  62. package/dist/esm/{featureFlagController-255beaed.js → featureFlagController-b31391a1.js} +10 -0
  63. package/dist/esm/{formFieldController-b76c1ff2.js → formFieldController-fece733f.js} +1 -1
  64. package/dist/esm/index-4a2edc4d.js +2 -2
  65. package/dist/esm/index.js +4 -4
  66. package/dist/esm/loader.js +3 -3
  67. package/dist/esm/{typeGuard-77f3a01f.js → typeGuard-09d79ad9.js} +13 -8
  68. package/dist/esm/{ui-7e43c621.js → ui-c7fbc221.js} +40 -2
  69. package/dist/esm/{ui-423f2987.js → ui-e4196b6c.js} +10 -1
  70. package/dist/esm/{validatorFacade-b579d4b7.js → validatorFacade-5b305b8e.js} +2 -2
  71. package/dist/esm/vega-accordion.entry.js +18 -7
  72. package/dist/esm/vega-app-footer.entry.js +2 -1
  73. package/dist/esm/vega-badge.entry.js +6 -5
  74. package/dist/esm/{vega-button_22.entry.js → vega-banner_23.entry.js} +490 -77
  75. package/dist/esm/vega-card.entry.js +6 -5
  76. package/dist/esm/vega-checkbox-group.entry.js +5 -5
  77. package/dist/esm/vega-form.entry.js +7 -7
  78. package/dist/esm/vega-header.entry.js +2 -1
  79. package/dist/esm/vega-item-toggle.entry.js +3 -2
  80. package/dist/esm/vega-option.entry.js +2 -1
  81. package/dist/esm/vega-radio-group.entry.js +5 -5
  82. package/dist/esm/vega-radio.entry.js +2 -1
  83. package/dist/esm/vega-stepper.entry.js +2 -1
  84. package/dist/esm/vega-toggle-switch.entry.js +2 -1
  85. package/dist/esm/vega.js +3 -3
  86. package/dist/types/components/vega-accordion/vega-accordion.d.ts +2 -0
  87. package/dist/types/components/vega-banner/vega-banner.d.ts +40 -0
  88. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +15 -0
  89. package/dist/types/components/vega-grid/vega-grid.d.ts +9 -7
  90. package/dist/types/components/vega-modal/vega-modal.d.ts +6 -0
  91. package/dist/types/components/vega-sidenav/vega-sidenav.d.ts +9 -0
  92. package/dist/types/components/vega-table/vega-table.d.ts +1 -1
  93. package/dist/types/components.d.ts +35 -6
  94. package/dist/types/constants/regex.d.ts +2 -0
  95. package/dist/types/constants/ui.d.ts +2 -2
  96. package/dist/types/helpers/feature-control/featureFlag.d.ts +3 -1
  97. package/dist/types/helpers/ui/elementAppender.d.ts +0 -1
  98. package/dist/types/types/typeGuard.d.ts +9 -7
  99. package/dist/types/utils/ApiUtil.d.ts +25 -0
  100. package/dist/types/utils/localStorage.d.ts +14 -0
  101. package/dist/types/utils/test/apiUtil.test.d.ts +1 -0
  102. package/dist/types/utils/test/localStorage.test.d.ts +1 -0
  103. package/dist/types/utils/ui.d.ts +7 -0
  104. package/dist/vega/index.esm.js +1 -1
  105. package/dist/vega/p-02e9d2a1.js +1 -0
  106. package/dist/vega/p-0513c9aa.entry.js +1 -0
  107. package/dist/vega/p-07c83b34.entry.js +1 -0
  108. package/dist/vega/{p-2c4b2cee.js → p-122b243a.js} +1 -1
  109. package/dist/vega/p-267d2b92.entry.js +1 -0
  110. package/dist/vega/{p-97b72b2b.js → p-2937ea32.js} +1 -1
  111. package/dist/vega/p-2f8106ca.entry.js +1 -0
  112. package/dist/vega/p-37b78eb7.entry.js +13 -0
  113. package/dist/vega/p-4da858cb.entry.js +1 -0
  114. package/dist/vega/{p-1c936310.js → p-7c6677b5.js} +1 -1
  115. package/dist/vega/p-7d797fd5.entry.js +1 -0
  116. package/dist/vega/p-84e08b2e.entry.js +1 -0
  117. package/dist/vega/p-8d990293.entry.js +1 -0
  118. package/dist/vega/{p-d482724b.js → p-8e89d355.js} +1 -1
  119. package/dist/vega/{p-0124aea1.js → p-97794212.js} +1 -1
  120. package/dist/vega/p-9afed9bd.entry.js +1 -0
  121. package/dist/vega/p-9d6bf85b.js +1 -0
  122. package/dist/vega/{p-a5a7b29e.entry.js → p-ad3966a6.entry.js} +1 -1
  123. package/dist/vega/{p-aec29962.entry.js → p-cd8fb776.entry.js} +1 -1
  124. package/dist/vega/p-de4dbaf7.js +1 -0
  125. package/dist/vega/{p-fb70c1ee.js → p-e1b1eb13.js} +1 -1
  126. package/dist/vega/p-ee2b0858.entry.js +1 -0
  127. package/dist/vega/p-fe340aec.entry.js +1 -0
  128. package/dist/vega/vega.css +1 -1
  129. package/dist/vega/vega.esm.js +1 -1
  130. package/package.json +1 -1
  131. package/style/storybook.css +1 -0
  132. package/style/vega.css +1 -1
  133. package/style/vega_min.css +1 -1
  134. package/dist/vega/p-11abc13b.entry.js +0 -1
  135. package/dist/vega/p-25727151.entry.js +0 -1
  136. package/dist/vega/p-4eb98d0e.entry.js +0 -1
  137. package/dist/vega/p-5661203a.entry.js +0 -1
  138. package/dist/vega/p-61922e02.entry.js +0 -13
  139. package/dist/vega/p-6813838d.js +0 -1
  140. package/dist/vega/p-728eb4bf.js +0 -1
  141. package/dist/vega/p-8ce9679e.entry.js +0 -1
  142. package/dist/vega/p-bd47cc3c.entry.js +0 -1
  143. package/dist/vega/p-cf6ff27f.entry.js +0 -1
  144. package/dist/vega/p-e5c4a406.js +0 -1
  145. package/dist/vega/p-e6aaf49c.entry.js +0 -1
  146. package/dist/vega/p-ebd3d107.entry.js +0 -1
  147. package/dist/vega/p-ecb50707.entry.js +0 -1
  148. package/dist/vega/p-f27a18dc.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const featureFlagController = require('./featureFlagController-8cb35fec.js');
3
+ const featureFlagController = require('./featureFlagController-7e890692.js');
4
4
 
5
5
  /**
6
6
  * Default export function that will be used by stencil global script,
@@ -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
- checkIfInAllowedClassList(renderedOutput, hostElement);
27
- checkIfUseDataShrink(hostElement);
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-7a5746f7.js');
3
+ const typeGuard = require('./typeGuard-f0034f75.js');
4
4
  const log = require('./log-7b0974fb.js');
5
- const ui = require('./ui-2ae913d5.js');
5
+ const ui = require('./ui-313ae2d4.js');
6
6
  const number = require('./number-2eb7b8f3.js');
7
7
 
8
8
  /**
@@ -29,6 +29,16 @@ const FeatureFlagsMap = {
29
29
  createdTimestamp: 1662508203840,
30
30
  createdAtVersion: '1.4.0',
31
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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const subject = require('./subject-b9a0f7c6.js');
4
- const ui = require('./ui-1393500e.js');
4
+ const ui = require('./ui-cd4f8632.js');
5
5
 
6
6
  /**
7
7
  * A rule that checks if a string is empty or not
@@ -1747,10 +1747,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1747
1747
  }
1748
1748
  switch(bundleId) {
1749
1749
 
1750
- case 'vega-button_22.cjs':
1750
+ case 'vega-banner_23.cjs':
1751
1751
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1752
1752
  /* webpackMode: "lazy" */
1753
- './vega-button_22.cjs.entry.js')); }).then(processMod, consoleError);
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" */
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const designToken = require('./designToken-ac6a4cf5.js');
5
+ const designToken = require('./designToken-0b0e6849.js');
6
6
  const log = require('./log-7b0974fb.js');
7
- const typeGuard = require('./typeGuard-7a5746f7.js');
7
+ const typeGuard = require('./typeGuard-f0034f75.js');
8
8
  const icons = require('./icons-5a6aca4a.js');
9
- const ui = require('./ui-2ae913d5.js');
10
- const featureFlagController = require('./featureFlagController-8cb35fec.js');
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 */
@@ -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-55277f95.js');
7
- require('./featureFlagController-8cb35fec.js');
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-button_22.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"]]],[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"]}],[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-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"]}],[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]}],[4,"vega-grid",{"column":[2],"row":[2],"gap":[1]}],[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"]]],[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],"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);
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
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const ui = require('./ui-2ae913d5.js');
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, and it's greater than 0 and less than or equal to 12, then it's a GridColumnType.
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 value to be checked.
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 !isNaN(Number(input)) && input > 0 && input <= 12;
198
+ return input && GridColumnRegex.test(input.toString());
195
199
  };
196
200
  /**
197
- * If the input is a number, and it's greater than 0 and less than or equal to 6, then it's a GridRowType.
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 value to be checked.
200
- * @returns {boolean} indicating if the input is {@link GridRowType}
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 !isNaN(Number(input)) && input > 0 && input <= 6;
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 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
5
- const GridRow = [1, 2, 3, 4, 5, 6];
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-8cb35fec.js');
4
- const formFieldController = require('./formFieldController-2882fd1f.js');
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,13 +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-4cd0485c.js');
6
+ const component = require('./component-aa3542d1.js');
7
7
  const subject = require('./subject-b9a0f7c6.js');
8
- const typeGuard = require('./typeGuard-7a5746f7.js');
9
- const designToken = require('./designToken-ac6a4cf5.js');
10
- const ui = require('./ui-1393500e.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');
11
12
  require('./log-7b0974fb.js');
12
- require('./ui-2ae913d5.js');
13
+ require('./ui-313ae2d4.js');
13
14
  require('./number-2eb7b8f3.js');
14
15
 
15
16
  const VegaAccordion = class {
@@ -22,6 +23,8 @@ const VegaAccordion = class {
22
23
  this.expandIconAlign = 'right';
23
24
  /** set the state of accordion. */
24
25
  this.expand = true;
26
+ /** set the position of prefix icon and expand icon. */
27
+ this.iconPosition = 'top';
25
28
  /** set the status of accordion expand icon. */
26
29
  this.showExpandIcon = true;
27
30
  this.onExpand = () => {
@@ -72,7 +75,12 @@ const VegaAccordion = class {
72
75
  return (index.h("div", { class: "accordion-title-slot" }, index.h("slot", { name: "title" })));
73
76
  }
74
77
  renderPrefixIcon() {
75
- return (this.prefixIcon && (index.h("div", { class: "accordion-prefix-icon vega-flex-shrink-0 v-min-w-min" }, index.h("vega-icon", { icon: this.prefixIcon, size: "size-24" }))));
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" }))));
76
84
  }
77
85
  renderTitle() {
78
86
  return index.h("div", { class: "accordion-title" }, this.accordionTitle);
@@ -82,8 +90,11 @@ const VegaAccordion = class {
82
90
  'accordion-expand-icon',
83
91
  `accordion-expand-icon-align-${this.expandIconAlign}`,
84
92
  designToken.formatAndValidResponsiveToken(this.showExpandIcon, 'display'),
93
+ this.iconPosition === 'center' ? 'v-self-center' : '',
94
+ 'vega-flex-shrink-0',
95
+ 'v-min-w-min',
85
96
  ];
86
- return (index.h("div", { class: `${ui.arrayToClassString(classes)} vega-flex-shrink-0 v-min-w-min` }, index.h("vega-button-circle", { size: "small", variant: "icon-only", icon: this.expandIconAlign === 'left' ? 'chevron-down' : 'chevron-up', onVegaClick: this.onExpand })));
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 })));
87
98
  }
88
99
  shouldCollapseSelfIfOtherExpand(payload) {
89
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-4cd0485c.js');
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-4cd0485c.js');
7
- const designToken = require('./designToken-ac6a4cf5.js');
8
- const ui = require('./ui-1393500e.js');
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-7a5746f7.js');
11
- require('./ui-2ae913d5.js');
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";