@jsfour/root-ui 0.0.1

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 (158) hide show
  1. package/.stencil/.build/_README.log +8 -0
  2. package/.stencil/.build/optimizeCss_d508b9fc8ae8bf613c09ccb27d146e3a.log +1 -0
  3. package/.stencil/.build/optimizeModule_0b160af7f941adcacfa811e102b08adf.log +2 -0
  4. package/.stencil/.build/optimizeModule_0b246ca6c0647c40ed469a0cf4358a73.log +1 -0
  5. package/.stencil/.build/optimizeModule_1bed709b53ef02375e9f61a9dfa643f3.log +1 -0
  6. package/.stencil/.build/optimizeModule_1d7b03de1d56993f8736d0dfa953b016.log +1 -0
  7. package/.stencil/.build/optimizeModule_211068a08f9a2243f9b6bbc0d066ca7b.log +1 -0
  8. package/.stencil/.build/optimizeModule_2187d3c4a8fdf77d63b94a49e5339089.log +1 -0
  9. package/.stencil/.build/optimizeModule_25ac0c9c93505850d30d777a8983d6cc.log +1 -0
  10. package/.stencil/.build/optimizeModule_2a8347890bf34de8ebcd825e93de4eac.log +1 -0
  11. package/.stencil/.build/optimizeModule_310d74be43349d9cd4462216f44e3025.log +1 -0
  12. package/.stencil/.build/optimizeModule_35ed1b3083d56d1312b29cdc8702dde6.log +1 -0
  13. package/.stencil/.build/optimizeModule_3abf5364bd9f3e07cabdf31f25fdfccd.log +1 -0
  14. package/.stencil/.build/optimizeModule_3c694181a383d2d5d7c43959dae3fc40.log +2 -0
  15. package/.stencil/.build/optimizeModule_3e5a7a979ee157dee476e23a940398bf.log +1 -0
  16. package/.stencil/.build/optimizeModule_3f113b87a2543efdae16831cf4a13466.log +1 -0
  17. package/.stencil/.build/optimizeModule_4cf0a704790c64fa3e7636ba3472dff6.log +1 -0
  18. package/.stencil/.build/optimizeModule_5473d4453ebf4ef999ac7777394048db.log +1 -0
  19. package/.stencil/.build/optimizeModule_56e4598e7f285cec042c0632923a473c.log +1 -0
  20. package/.stencil/.build/optimizeModule_5721447e0280cf2192180b57b6ffd931.log +1 -0
  21. package/.stencil/.build/optimizeModule_5fe32756e8649adbca14ee76bdfbfad3.log +2 -0
  22. package/.stencil/.build/optimizeModule_60477845aacd02169ef3d0091bfb345f.log +1 -0
  23. package/.stencil/.build/optimizeModule_645cc880dd3009950a72ea147a926718.log +1 -0
  24. package/.stencil/.build/optimizeModule_64633d5e5c5103adb5683fc19edaa8b8.log +1 -0
  25. package/.stencil/.build/optimizeModule_6b615133c24ac4e6c5428eb74470b5cb.log +1 -0
  26. package/.stencil/.build/optimizeModule_6e9d6355a774b23f578c75f14d78e605.log +1 -0
  27. package/.stencil/.build/optimizeModule_8797e91e099ec89d9158d143cc9e8199.log +1 -0
  28. package/.stencil/.build/optimizeModule_8a9445cafc85dc657334e37e1fce6fdc.log +1 -0
  29. package/.stencil/.build/optimizeModule_8c399f3f088e7f1cbb87f65d8e96bfc4.log +1 -0
  30. package/.stencil/.build/optimizeModule_90f423b7b20b32670cb13ca6605940fa.log +1 -0
  31. package/.stencil/.build/optimizeModule_9d37b0c4d3ae587fe9c9f384659ac198.log +1 -0
  32. package/.stencil/.build/optimizeModule_9eb9260f8aec9636ffc5e00444eaa1ea.log +1 -0
  33. package/.stencil/.build/optimizeModule_a90d2726fdff70d788aaa8b3fbc0adc7.log +1 -0
  34. package/.stencil/.build/optimizeModule_ad865e38167d997d66ef7128fdb36b5e.log +1 -0
  35. package/.stencil/.build/optimizeModule_b1b3b2dbe6634f16e4a063d74c2df110.log +1 -0
  36. package/.stencil/.build/optimizeModule_b24fa4d64bacca187db7a0654705e182.log +1 -0
  37. package/.stencil/.build/optimizeModule_b90b0f1d4d3dd3aae106476a0cce19c0.log +1 -0
  38. package/.stencil/.build/optimizeModule_c0fee36e4d0c0c701c749a56eec1f7d8.log +1 -0
  39. package/.stencil/.build/optimizeModule_ceeae0c907ecc2a87e2ad19d79e99510.log +1 -0
  40. package/.stencil/.build/optimizeModule_d68f87c26c9b5557f71199e397b81fde.log +1 -0
  41. package/.stencil/.build/optimizeModule_d6b6b4cfa8009d54eb301d8147c45850.log +1 -0
  42. package/.stencil/.build/optimizeModule_d7a4dadc89824480596190cf7a033e72.log +1 -0
  43. package/.stencil/.build/optimizeModule_ddf02b2e19bf055fcfd20ed5dc8b956d.log +2 -0
  44. package/.stencil/.build/optimizeModule_eb39a27ff5ef48385b4bf233760a7d1f.log +1 -0
  45. package/.stencil/.build/optimizeModule_eee1991c594a387b17e535171c33abbf.log +1 -0
  46. package/.stencil/.build/optimizeModule_f0d6e7e6666905c8da7d7450a1b4088b.log +1 -0
  47. package/.stencil/.build/optimizeModule_f93c97ed92b866fd99189e5a0a44e774.log +1 -0
  48. package/.stencil/.build/optimizeModule_fdf66b9636906890546dde0f834d4d8e.log +1 -0
  49. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  50. package/dist/cjs/index-CbJkKnHq.js +3244 -0
  51. package/dist/cjs/index.cjs.js +25 -0
  52. package/dist/cjs/loader.cjs.js +13 -0
  53. package/dist/cjs/root-badge_6.cjs.entry.js +343 -0
  54. package/dist/cjs/stencil-library.cjs.js +25 -0
  55. package/dist/collection/collection-manifest.json +17 -0
  56. package/dist/collection/components/badge/badge-variation.enum.js +9 -0
  57. package/dist/collection/components/badge/badge.css +45 -0
  58. package/dist/collection/components/badge/badge.js +148 -0
  59. package/dist/collection/components/banner/banner-variation.enum.js +9 -0
  60. package/dist/collection/components/banner/banner.css +18 -0
  61. package/dist/collection/components/banner/banner.js +147 -0
  62. package/dist/collection/components/breadcrumbs/breadcrumbs.css +49 -0
  63. package/dist/collection/components/breadcrumbs/breadcrumbs.js +95 -0
  64. package/dist/collection/components/button/button-size.enum.js +5 -0
  65. package/dist/collection/components/button/button-type.enum.js +6 -0
  66. package/dist/collection/components/button/button-variation.enum.js +10 -0
  67. package/dist/collection/components/button/button.css +61 -0
  68. package/dist/collection/components/button/button.js +207 -0
  69. package/dist/collection/components/index.js +6 -0
  70. package/dist/collection/components/input/input-type.enum.js +18 -0
  71. package/dist/collection/components/input/input.css +134 -0
  72. package/dist/collection/components/input/input.js +415 -0
  73. package/dist/collection/components/list/list.css +18 -0
  74. package/dist/collection/components/list/list.js +50 -0
  75. package/dist/collection/enums.js +3 -0
  76. package/dist/collection/global/utils/randomIdGenerator/index.js +7 -0
  77. package/dist/collection/index.js +1 -0
  78. package/dist/components/index.d.ts +35 -0
  79. package/dist/components/index.js +1 -0
  80. package/dist/components/p-CIjEN4Bv.js +1 -0
  81. package/dist/components/p-CvhBNbMT.js +1 -0
  82. package/dist/components/root-badge.d.ts +11 -0
  83. package/dist/components/root-badge.js +1 -0
  84. package/dist/components/root-banner.d.ts +11 -0
  85. package/dist/components/root-banner.js +1 -0
  86. package/dist/components/root-breadcrumbs.d.ts +11 -0
  87. package/dist/components/root-breadcrumbs.js +1 -0
  88. package/dist/components/root-button.d.ts +11 -0
  89. package/dist/components/root-button.js +1 -0
  90. package/dist/components/root-input.d.ts +11 -0
  91. package/dist/components/root-input.js +1 -0
  92. package/dist/components/root-list.d.ts +11 -0
  93. package/dist/components/root-list.js +1 -0
  94. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  95. package/dist/esm/index-Cygc6-mN.js +3236 -0
  96. package/dist/esm/index.js +25 -0
  97. package/dist/esm/loader.js +11 -0
  98. package/dist/esm/root-badge_6.entry.js +336 -0
  99. package/dist/esm/stencil-library.js +21 -0
  100. package/dist/index.cjs.js +1 -0
  101. package/dist/index.js +1 -0
  102. package/dist/stencil-library/index.esm.js +1 -0
  103. package/dist/stencil-library/p-2b062e4c.entry.js +1 -0
  104. package/dist/stencil-library/p-Cygc6-mN.js +2 -0
  105. package/dist/stencil-library/p-DQuL1Twl.js +1 -0
  106. package/dist/stencil-library/stencil-library.esm.js +1 -0
  107. package/dist/types/components/badge/badge-variation.enum.d.ts +8 -0
  108. package/dist/types/components/badge/badge.d.ts +11 -0
  109. package/dist/types/components/banner/banner-variation.enum.d.ts +8 -0
  110. package/dist/types/components/banner/banner.d.ts +11 -0
  111. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +12 -0
  112. package/dist/types/components/button/button-size.enum.d.ts +4 -0
  113. package/dist/types/components/button/button-type.enum.d.ts +5 -0
  114. package/dist/types/components/button/button-variation.enum.d.ts +9 -0
  115. package/dist/types/components/button/button.d.ts +15 -0
  116. package/dist/types/components/index.d.ts +6 -0
  117. package/dist/types/components/input/input-type.enum.d.ts +17 -0
  118. package/dist/types/components/input/input.d.ts +37 -0
  119. package/dist/types/components/list/list.d.ts +7 -0
  120. package/dist/types/components.d.ts +388 -0
  121. package/dist/types/enums.d.ts +3 -0
  122. package/dist/types/global/utils/randomIdGenerator/index.d.ts +1 -0
  123. package/dist/types/index.d.ts +2 -0
  124. package/dist/types/stencil-public-runtime.d.ts +1839 -0
  125. package/package.json +28 -0
  126. package/src/components/badge/badge-variation.enum.ts +9 -0
  127. package/src/components/badge/badge.scss +53 -0
  128. package/src/components/badge/badge.tsx +42 -0
  129. package/src/components/badge/readme.md +27 -0
  130. package/src/components/banner/banner-variation.enum.ts +9 -0
  131. package/src/components/banner/banner.scss +22 -0
  132. package/src/components/banner/banner.tsx +41 -0
  133. package/src/components/banner/readme.md +27 -0
  134. package/src/components/breadcrumbs/breadcrumbs.scss +57 -0
  135. package/src/components/breadcrumbs/breadcrumbs.tsx +74 -0
  136. package/src/components/breadcrumbs/readme.md +24 -0
  137. package/src/components/button/button-size.enum.ts +5 -0
  138. package/src/components/button/button-type.enum.ts +5 -0
  139. package/src/components/button/button-variation.enum.ts +10 -0
  140. package/src/components/button/button.scss +73 -0
  141. package/src/components/button/button.tsx +52 -0
  142. package/src/components/button/readme.md +29 -0
  143. package/src/components/index.ts +7 -0
  144. package/src/components/input/input-type.enum.ts +18 -0
  145. package/src/components/input/input.scss +156 -0
  146. package/src/components/input/input.tsx +264 -0
  147. package/src/components/input/readme.md +34 -0
  148. package/src/components/list/list.scss +21 -0
  149. package/src/components/list/list.tsx +24 -0
  150. package/src/components/list/readme.md +17 -0
  151. package/src/components.d.ts +388 -0
  152. package/src/enums.ts +3 -0
  153. package/src/global/styles/index.scss +0 -0
  154. package/src/global/utils/randomIdGenerator/index.ts +8 -0
  155. package/src/index.html +105 -0
  156. package/src/index.ts +2 -0
  157. package/stencil.config.ts +36 -0
  158. package/tsconfig.json +25 -0
@@ -0,0 +1,25 @@
1
+ var RootButtonSize;
2
+ (function (RootButtonSize) {
3
+ RootButtonSize["SMALL"] = "small";
4
+ RootButtonSize["LARGE"] = "large";
5
+ })(RootButtonSize || (RootButtonSize = {}));
6
+
7
+ var RootButtonType;
8
+ (function (RootButtonType) {
9
+ RootButtonType["BUTTON"] = "button";
10
+ RootButtonType["SUBMIT"] = "submit";
11
+ RootButtonType["RESET"] = "reset";
12
+ })(RootButtonType || (RootButtonType = {}));
13
+
14
+ var RootButtonVariation;
15
+ (function (RootButtonVariation) {
16
+ RootButtonVariation["PRIMARY"] = "primary";
17
+ RootButtonVariation["SECONDARY"] = "secondary";
18
+ RootButtonVariation["TERTIARY"] = "tertiary";
19
+ RootButtonVariation["OUTLINE"] = "outline";
20
+ RootButtonVariation["SUBMIT"] = "submit";
21
+ RootButtonVariation["DANGER"] = "danger";
22
+ RootButtonVariation["CANCEL"] = "cancel";
23
+ })(RootButtonVariation || (RootButtonVariation = {}));
24
+
25
+ export { RootButtonSize, RootButtonType, RootButtonVariation };
@@ -0,0 +1,11 @@
1
+ import { b as bootstrapLazy } from './index-Cygc6-mN.js';
2
+ export { s as setNonce } from './index-Cygc6-mN.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
+
5
+ const defineCustomElements = async (win, options) => {
6
+ if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
8
+ return bootstrapLazy([["root-badge_6",[[257,"root-badge",{"badgeId":[1,"badge-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-banner",{"bannerId":[1,"banner-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[1,"root-breadcrumbs",{"breadcrumbsId":[1,"breadcrumbs-id"],"linkItems":[32]}],[257,"root-button",{"buttonId":[1,"button-id"],"size":[1],"variation":[1],"type":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-input",{"inputId":[1,"input-id"],"type":[1],"label":[1],"inputName":[1,"input-name"],"placeholder":[1],"value":[1025],"maxlength":[2],"fullWidth":[4,"full-width"],"multiline":[4],"icon":[4],"showPassword":[32],"inputValue":[32],"error":[32],"touched":[32],"hasIcon":[32],"fileLabel":[32]},null,{"value":[{"onValueChanged":0}]}],[257,"root-list",{"type":[1]}]]]], options);
9
+ };
10
+
11
+ export { defineCustomElements };
@@ -0,0 +1,336 @@
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cygc6-mN.js';
2
+ import { RootButtonSize, RootButtonVariation, RootButtonType } from './index.js';
3
+
4
+ const ids = [];
5
+ function randomIdGenerator(prefix = 'root') {
6
+ let id = `${prefix}-${Math.random().toString(36).substring(2, 7)}`;
7
+ while (ids.includes(id))
8
+ id = `${prefix}-${Math.random().toString(36).substring(2, 7)}`;
9
+ return id;
10
+ }
11
+
12
+ var RootBadgeVariation;
13
+ (function (RootBadgeVariation) {
14
+ RootBadgeVariation["PRIMARY"] = "primary";
15
+ RootBadgeVariation["SECONDARY"] = "secondary";
16
+ RootBadgeVariation["TERTIARY"] = "tertiary";
17
+ RootBadgeVariation["OUTLINE"] = "outline";
18
+ RootBadgeVariation["MUTED"] = "muted";
19
+ RootBadgeVariation["DANGER"] = "danger";
20
+ })(RootBadgeVariation || (RootBadgeVariation = {}));
21
+
22
+ const badgeCss = () => `.root-badge{display:inline-block;color:var(--rootsdk-text-primary);font-size:0.625rem;line-height:1;border-radius:1rem;padding:0.53125rem 0.75rem 0.5rem;min-width:1.5rem;text-transform:uppercase;font-weight:bold;background-color:transparent;text-align:center}.root-badge--primary{background-color:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-badge--secondary{background-color:var(--rootsdk-brand-secondary);color:var(--rootsdk-input)}.root-badge--tertiary{background-color:var(--rootsdk-brand-tertiary);color:var(--rootsdk-input)}.root-badge--danger{background-color:var(--rootsdk-error);color:var(--rootsdk-text-white)}.root-badge--outline{background:transparent;border:var(--border-width-m) solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-badge--muted{background-color:var(--rootsdk-muted);color:var(--rootsdk-text-white)}.root-badge--standard{background:var(--rootsdk-text-primary);color:var(--rootsdk-background-tertiary)}.root-badge--full-width{width:100%}`;
23
+
24
+ const RootBadge = class {
25
+ constructor(hostRef) {
26
+ registerInstance(this, hostRef);
27
+ this.rootBadgeClick = createEvent(this, "rootBadgeClick");
28
+ this.badgeId = randomIdGenerator('root-badge');
29
+ this.variation = RootBadgeVariation.PRIMARY;
30
+ this.fullWidth = false;
31
+ this.disabled = false;
32
+ }
33
+ clickHandler(e) {
34
+ this.rootBadgeClick.emit(e);
35
+ }
36
+ render() {
37
+ const classes = {
38
+ 'root-badge': true,
39
+ [`root-badge--${this.variation}`]: !!this.variation,
40
+ 'root-badge--full-width': this.fullWidth,
41
+ };
42
+ return (h("span", { key: 'a1e7f7cee5b6899eec5d60f5acf5a8217777a6b3', id: this.badgeId, class: classes, onClick: (e) => this.clickHandler(e) }, h("slot", { key: '980ad3e760b2a1d6e9e2826d48deb88390752898' })));
43
+ }
44
+ };
45
+ RootBadge.style = badgeCss();
46
+
47
+ var RootBannerVariation;
48
+ (function (RootBannerVariation) {
49
+ RootBannerVariation["PRIMARY"] = "primary";
50
+ RootBannerVariation["SECONDARY"] = "secondary";
51
+ RootBannerVariation["TERTIARY"] = "tertiary";
52
+ RootBannerVariation["DANGER"] = "danger";
53
+ RootBannerVariation["WARNING"] = "warning";
54
+ RootBannerVariation["SUCCESS"] = "success";
55
+ })(RootBannerVariation || (RootBannerVariation = {}));
56
+
57
+ const bannerCss = () => `.root-banner{text-align:center;color:var(--rootsdk-text-primary);padding:0.4rem}.root-banner--primary{background-color:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-banner--danger{background-color:var(--rootsdk-error)}.root-banner--warning{background-color:var(--rootsdk-warning)}.root-banner--success{background-color:var(--rootsdk-brand-tertiary)}`;
58
+
59
+ const RootBanner = class {
60
+ constructor(hostRef) {
61
+ registerInstance(this, hostRef);
62
+ this.rootBannerClick = createEvent(this, "rootBannerClick");
63
+ this.bannerId = randomIdGenerator('root-banner');
64
+ this.variation = RootBannerVariation.PRIMARY;
65
+ this.fullWidth = false;
66
+ this.disabled = false;
67
+ }
68
+ clickHandler(e) {
69
+ this.rootBannerClick.emit(e);
70
+ }
71
+ render() {
72
+ const classes = {
73
+ 'root-banner': true,
74
+ [`root-banner--${this.variation}`]: !!this.variation
75
+ };
76
+ return (h("div", { key: '96197510d7a0988a356be8a6bdddf637e5383870', id: this.bannerId, class: classes, onClick: (e) => this.clickHandler(e) }, h("slot", { key: 'b17c26ca99e7f3575c9d2849c644e0fef1e30dff' })));
77
+ }
78
+ };
79
+ RootBanner.style = bannerCss();
80
+
81
+ const breadcrumbsCss = () => `.root-breadcrumbs{display:flex;list-style:none;margin:0;padding:0;gap:0.5rem;align-items:center}.root-breadcrumbs .root-breadcrumbs-item{display:flex;align-items:center}.root-breadcrumbs .root-breadcrumbs-item:not(:last-child)::after{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 256 256"><g><g><polygon points="79.093,0 48.907,30.187 146.72,128 48.907,225.813 79.093,256 207.093,128"/></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>') center;content:" ";display:inline-block;filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);height:0.5rem;margin:0 0.5rem;opacity:0.5;width:0.5rem}.root-breadcrumbs .root-breadcrumbs-item--active span{background:var(--rootsdk-highlight-normal);color:var(--rootsdk-text-tertiary);border-radius:1.5rem;padding:0.32rem 0.64rem;font-size:0.8rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link{text-decoration:underline;cursor:pointer;color:var(--rootsdk-text-primary);padding:0.32rem 0.64rem;border-radius:1.5rem;transition-duration:200ms;transition-property:background, color;font-size:0.8rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link .root-icon{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link:hover{background-color:var(--rootsdk-highlight-normal)}`;
82
+
83
+ const RootBreadcrumbs = class {
84
+ constructor(hostRef) {
85
+ registerInstance(this, hostRef);
86
+ this.linkClick = createEvent(this, "linkClick");
87
+ this.breadcrumbsId = randomIdGenerator('root-breadcrumbs');
88
+ this.linkItems = [];
89
+ }
90
+ componentDidLoad() {
91
+ this.getBreadcrumbs();
92
+ }
93
+ getBreadcrumbs() {
94
+ const elements = this.hostElement.children;
95
+ if (!elements || (elements === null || elements === void 0 ? void 0 : elements.length) <= 0) {
96
+ console.warn(`The slot contains no link elements.`, this.hostElement);
97
+ return;
98
+ }
99
+ this.linkItems = [...elements]
100
+ .filter((element) => element.tagName.toLowerCase() === 'a')
101
+ .map((element) => {
102
+ return {
103
+ text: element.textContent,
104
+ href: element.getAttribute('href') || ''
105
+ };
106
+ });
107
+ }
108
+ clickHandler(e) {
109
+ this.linkClick.emit(e);
110
+ }
111
+ render() {
112
+ return (h("ol", { key: 'ffa88751925c0a1f19acb06854bd4add08edec4f', class: 'root-breadcrumbs', id: this.breadcrumbsId }, this.linkItems.map((item, index) => {
113
+ const isLast = index === this.linkItems.length - 1;
114
+ return (h("li", { class: { 'root-breadcrumbs-item': true, 'root-breadcrumbs-item--active': isLast } }, isLast ? (h("span", null, item.text)) : (h("a", { class: "root-breadcrumbs-link", onClick: (e) => this.clickHandler(e), href: item.href }, item.text))));
115
+ })));
116
+ }
117
+ get hostElement() { return getElement(this); }
118
+ };
119
+ RootBreadcrumbs.style = breadcrumbsCss();
120
+
121
+ const buttonCss = () => `.root-button{height:2rem;border-radius:1.5rem;padding:0 1.75rem;min-width:fit-content;background-color:transparent;color:var(--rootsdk-text-primary);outline:none;font-size:1rem;border:none;cursor:pointer;border:1px solid transparent;text-transform:capitalize}.root-button--submit{background:var(--rootsdk-text-primary);color:var(--rootsdk-background-tertiary)}.root-button--danger{background:var(--rootsdk-error);color:var(--rootsdk-text-white)}.root-button--primary{background:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-button--secondary{background:var(--rootsdk-brand-secondary);color:var(--rootsdk-input)}.root-button--tertiary{background:var(--rootsdk-brand-tertiary);color:var(--rootsdk-input)}.root-button--outline{background:transparent;border:0.0625rem solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-button--cancel{background:transparent;border:0.0625rem solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-button--large{height:3.25rem}.root-button[disabled]{opacity:0.6;cursor:not-allowed;pointer-events:none}.root-button--full-width{width:100%}.root-button:hover{opacity:80%}.root-button:active{transform:scale(0.98)}`;
122
+
123
+ const RootButton = class {
124
+ constructor(hostRef) {
125
+ registerInstance(this, hostRef);
126
+ this.rootButtonClick = createEvent(this, "rootButtonClick");
127
+ this.buttonId = randomIdGenerator('root-button');
128
+ this.size = RootButtonSize.SMALL;
129
+ this.variation = RootButtonVariation.PRIMARY;
130
+ this.type = RootButtonType.BUTTON;
131
+ this.fullWidth = false;
132
+ this.disabled = false;
133
+ }
134
+ clickHandler(e) {
135
+ this.rootButtonClick.emit(e);
136
+ }
137
+ render() {
138
+ const classes = {
139
+ 'root-button': true,
140
+ [`root-button--${this.size}`]: !!this.size,
141
+ [`root-button--${this.variation}`]: !!this.variation,
142
+ 'root-button--full-width': this.fullWidth,
143
+ };
144
+ return (h("button", { key: '951b963255c7eab4f286758ff133e9bad9969ee3', id: this.buttonId, class: classes, disabled: this.disabled, type: this.type, onClick: (e) => this.clickHandler(e) }, h("slot", { key: 'f50823d7bcfd0b291fbeddb17e8a5d740b7edb2a' })));
145
+ }
146
+ };
147
+ RootButton.style = buttonCss();
148
+
149
+ var RootInputType;
150
+ (function (RootInputType) {
151
+ RootInputType["COLOR"] = "color";
152
+ RootInputType["DATE"] = "date";
153
+ RootInputType["EMAIL"] = "email";
154
+ RootInputType["FILE"] = "file";
155
+ RootInputType["IMAGE"] = "image";
156
+ RootInputType["MONTH"] = "month";
157
+ RootInputType["NUMBER"] = "number";
158
+ RootInputType["PASSWORD"] = "password";
159
+ RootInputType["SEARCH"] = "search";
160
+ RootInputType["SUBMIT"] = "submit";
161
+ RootInputType["TEL"] = "tel";
162
+ RootInputType["TEXT"] = "text";
163
+ RootInputType["TIME"] = "time";
164
+ RootInputType["URL"] = "url";
165
+ RootInputType["WEEK"] = "week";
166
+ })(RootInputType || (RootInputType = {}));
167
+
168
+ const inputCss = () => `.root-input--full-width{width:100%}.root-input .root-input-field{display:flex;align-items:center;width:100%;border-radius:0.75rem;background-color:var(--rootsdk-input);border:0.03125rem solid var(--rootsdk-highlight-normal);color:var(--rootsdk-text-primary);min-height:2em;outline:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;cursor:text}.root-input .root-input-field.root-input-field--textarea{align-items:flex-start}.root-input .root-input-field.root-input-field--file{position:relative;cursor:pointer}.root-input .root-input-field.root-input-field--color{position:relative;cursor:pointer}.root-input .root-input-field:focus-within{border:0.03125rem solid var(--rootsdk-brand-primary)}.root-input .root-input-field.root-input-field--error{border-color:var(--rootsdk-error, #e53935)}.root-input .root-input-icon{margin-right:0.5rem;display:flex;align-items:center;justify-content:center;height:1em}.root-input input{flex:1;border:none;background:transparent;color:inherit;font-family:inherit;outline:none;padding:0;margin:0;text-overflow:ellipsis;cursor:text}.root-input input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.root-input input[type=color]{position:absolute;inset:0;opacity:0;cursor:pointer}.root-input input::-webkit-calendar-picker-indicator{display:none}.root-input input::-webkit-outer-spin-button,.root-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.root-input textarea{flex:1;border:none;background:transparent;color:inherit;font-family:inherit;outline:none;padding:0;margin:0;resize:vertical;min-height:6rem}.root-input .root-input-number-controls{display:flex;flex-direction:column;gap:0;margin-left:0;margin-right:0.5rem;height:1em;line-height:0.5;align-items:center;justify-content:center;cursor:pointer}.root-input .root-input-file-label{display:flex;align-items:center;justify-content:space-between;gap:0.5rem;width:100%;pointer-events:none}.root-input .root-input-color-label{display:flex;align-items:center;gap:0.5rem;width:100%;pointer-events:none}.root-input .root-input-color-swatch{width:1rem;height:1rem;border-radius:4px;border:0.03125rem solid var(--rootsdk-highlight-normal)}.root-input .root-input-color-text{font-family:inherit;color:inherit}.root-input label{font-size:0.875rem;color:var(--rootsdk-text-tertiary);text-transform:capitalize;margin-bottom:0.5rem;display:block}.root-input .root-input-error{margin-top:0.35rem;color:var(--rootsdk-error, #e53935);font-size:0.75rem}`;
169
+
170
+ const RootInput = class {
171
+ constructor(hostRef) {
172
+ registerInstance(this, hostRef);
173
+ this.rootInputChange = createEvent(this, "rootInputChange");
174
+ this.rootInputBlur = createEvent(this, "rootInputBlur");
175
+ this.inputId = randomIdGenerator('root-input');
176
+ this.type = RootInputType.TEXT;
177
+ this.placeholder = '';
178
+ this.value = '';
179
+ this.fullWidth = false;
180
+ this.multiline = false;
181
+ this.icon = true;
182
+ this.showPassword = false;
183
+ this.inputValue = '';
184
+ this.error = '';
185
+ this.touched = false;
186
+ this.hasIcon = false;
187
+ this.fileLabel = 'Select file';
188
+ this.openPicker = () => {
189
+ if (!this.inputRef)
190
+ return;
191
+ const el = this.inputRef;
192
+ if (el instanceof HTMLInputElement && el.showPicker) {
193
+ el.showPicker();
194
+ }
195
+ else {
196
+ el.focus();
197
+ if (el instanceof HTMLInputElement) {
198
+ el.click();
199
+ }
200
+ }
201
+ };
202
+ this.togglePasswordVisibility = () => {
203
+ this.showPassword = !this.showPassword;
204
+ };
205
+ this.incrementNumber = () => {
206
+ if (this.inputRef instanceof HTMLInputElement) {
207
+ this.inputRef.stepUp();
208
+ this.inputValue = this.inputRef.value;
209
+ this.rootInputChange.emit(this.inputValue);
210
+ }
211
+ };
212
+ this.decrementNumber = () => {
213
+ if (this.inputRef instanceof HTMLInputElement) {
214
+ this.inputRef.stepDown();
215
+ this.inputValue = this.inputRef.value;
216
+ this.rootInputChange.emit(this.inputValue);
217
+ }
218
+ };
219
+ this.validate = (val) => {
220
+ if (!val)
221
+ return '';
222
+ if (this.type === RootInputType.EMAIL) {
223
+ const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
224
+ return emailRegex.test(val) ? '' : 'Please enter a valid email address.';
225
+ }
226
+ if (this.type === RootInputType.TEL) {
227
+ const phoneRegex = /^[+]?[- 0-9()]{7,}$/;
228
+ return phoneRegex.test(val) ? '' : 'Please enter a valid phone number.';
229
+ }
230
+ return '';
231
+ };
232
+ this.handleBlur = (e) => {
233
+ this.touched = true;
234
+ this.error = this.validate(this.inputValue);
235
+ this.rootInputBlur.emit(e);
236
+ };
237
+ this.handleChange = (e) => {
238
+ const target = e.target;
239
+ const nextValue = target.value;
240
+ this.inputValue = nextValue;
241
+ this.rootInputChange.emit(nextValue);
242
+ if (this.touched) {
243
+ this.error = this.validate(nextValue);
244
+ }
245
+ };
246
+ this.handleFileChange = (e) => {
247
+ var _a;
248
+ const target = e.target;
249
+ const file = (_a = target.files) === null || _a === void 0 ? void 0 : _a[0];
250
+ if (file) {
251
+ this.fileLabel = file.name;
252
+ }
253
+ else {
254
+ this.fileLabel = 'Select file';
255
+ }
256
+ this.rootInputChange.emit(target.value);
257
+ };
258
+ this.handleFieldClick = () => {
259
+ if (!this.inputRef)
260
+ return;
261
+ if (this.multiline) {
262
+ this.inputRef.focus();
263
+ return;
264
+ }
265
+ if (this.inputRef instanceof HTMLInputElement) {
266
+ if (this.inputRef.type === 'color') {
267
+ this.inputRef.click();
268
+ return;
269
+ }
270
+ if (this.inputRef.type !== 'date') {
271
+ this.inputRef.focus();
272
+ }
273
+ }
274
+ };
275
+ }
276
+ onValueChanged(newValue) {
277
+ this.inputValue = newValue;
278
+ }
279
+ componentWillLoad() {
280
+ this.setHasIcon();
281
+ this.inputValue = this.value;
282
+ }
283
+ setHasIcon() {
284
+ const icon = !!this.hostElement.querySelector('[slot="icon"]');
285
+ if (icon) {
286
+ this.hasIcon = icon;
287
+ }
288
+ }
289
+ render() {
290
+ const inputType = this.type === RootInputType.PASSWORD
291
+ ? (this.showPassword ? 'text' : 'password')
292
+ : this.type;
293
+ const colorValue = this.type === RootInputType.COLOR
294
+ ? (this.inputValue || '#000000')
295
+ : this.inputValue;
296
+ const classes = {
297
+ 'root-input': true,
298
+ 'root-input--full-width': this.fullWidth,
299
+ };
300
+ const fieldClasses = {
301
+ 'root-input-field': true,
302
+ 'root-input-field--error': !!this.error,
303
+ 'root-input-field--file': this.type === RootInputType.FILE,
304
+ 'root-input-field--color': this.type === RootInputType.COLOR,
305
+ 'root-input-field--textarea': this.multiline,
306
+ };
307
+ return (h("div", { key: 'f0cfdfa2a787ca3d24467aa14bed615f003669a3', class: classes }, h("label", { key: 'efdc7aa0e6b58ea500d2496c2536c1ed8e1baaeb', htmlFor: this.inputId }, this.label), h("div", { key: '2aeb9c360647154827070708b7ffa5a9c43b48d6', class: fieldClasses, onClick: this.handleFieldClick }, this.hasIcon && (h("div", { key: '8d48d017c77409a49b23c31af4e8010784f7282b', class: "root-input-icon", onClick: this.openPicker }, h("slot", { key: '063c38a33aefd8b6cb3120a35f45600e998c93fa', name: "icon" }))), this.multiline ? (h("textarea", { ref: (el) => this.inputRef = el, placeholder: this.placeholder, id: this.inputId, name: this.inputName, maxLength: this.maxlength, value: this.inputValue, onBlur: this.handleBlur, onInput: this.handleChange, "aria-invalid": !!this.error ? 'true' : 'false', rows: 3 })) : (h("input", { ref: (el) => this.inputRef = el, placeholder: this.placeholder, id: this.inputId, name: this.inputName, maxLength: this.maxlength, type: inputType, value: colorValue, onBlur: this.handleBlur, onInput: this.type === RootInputType.FILE ? this.handleFileChange : this.handleChange, "aria-invalid": !!this.error ? 'true' : 'false' })), this.type === RootInputType.COLOR && (h("div", { key: '7deca8ea931a30fbcfa02cfc7232266a5d04bd6e', class: "root-input-color-label" }, h("span", { key: '03ea754ebde8113944d7a3ca84dc14fb606bed62', class: "root-input-color-swatch", style: { backgroundColor: colorValue } }), h("span", { key: '912f3e9a93f8c6a5e775b2ba7d5ddcb6976fe288', class: "root-input-color-text" }, colorValue))), this.type === RootInputType.FILE && !this.multiline && (h("div", { key: 'fe5ebf39d54b21740d1ff7e18c8ca28633d894a3', class: "root-input-file-label" }, h("span", { key: 'dab576c2c1ba5b0d8f38cd0a981aa90848a8de58' }, this.fileLabel), h("slot", { key: '4a7469093cb502a4596164a39f7e6ba9a2e45f26', name: "file-icon" }))), this.type === RootInputType.PASSWORD && !this.multiline && (h("div", { key: 'fd783cd0384fd5efd9c12e967bfd990281f9f1aa', class: "root-input-icon", onClick: this.togglePasswordVisibility }, h("slot", { key: '242f5399701370494f5f81d41cc40478136871e0', name: "password-icon" }))), this.type === RootInputType.NUMBER && !this.multiline && (h("div", { key: 'f6fa71e43701933280c41f60a27c6e3f923e3670', class: "root-input-number-controls" }, h("div", { key: '04d2f6d6e152c0c6326c0e9f38b78f6c15ea3626', class: "root-input-icon", onClick: this.incrementNumber }, h("slot", { key: '8de93b51aba6b7f220653c39d8a0e1ba234a15ed', name: "number-up-icon" })), h("div", { key: '2baf375834a3926b36d818f563e4fcf545a4146b', class: "root-input-icon", onClick: this.decrementNumber }, h("slot", { key: 'f4a7772d01d7d78e7a675ae34cee3ae76c92cdce', name: "number-down-icon" }))))), this.error && this.touched && (h("div", { key: 'e0d328cc5154baf82963af89a37e70676df94ee2', class: "root-input-error" }, this.error))));
308
+ }
309
+ get hostElement() { return getElement(this); }
310
+ static get watchers() { return {
311
+ "value": [{
312
+ "onValueChanged": 0
313
+ }]
314
+ }; }
315
+ };
316
+ RootInput.style = inputCss();
317
+
318
+ const listCss = () => `.root-list{margin:0;padding-left:1.5rem;color:var(--rootsdk-text-primary);font-size:1rem;line-height:1.6;list-style-position:inside}.root-list--bullet{list-style-type:disc}.root-list--numbered{list-style-type:decimal}.root-list li{margin-bottom:0.5rem;padding-left:0.25rem}`;
319
+
320
+ const RootList = class {
321
+ constructor(hostRef) {
322
+ registerInstance(this, hostRef);
323
+ /**
324
+ * The type of list: bullet or numbered
325
+ */
326
+ this.type = 'bullet';
327
+ }
328
+ render() {
329
+ const isNumbered = this.type === 'numbered';
330
+ const Tag = isNumbered ? 'ol' : 'ul';
331
+ return (h(Tag, { key: '315491245470e4eb4601debdfbdfeebec6ec0862', class: { 'root-list': true, [`root-list--${this.type}`]: true } }, h("slot", { key: '630f9ab955f57568bd6c8686068afc6593a66185' })));
332
+ }
333
+ };
334
+ RootList.style = listCss();
335
+
336
+ export { RootBadge as root_badge, RootBanner as root_banner, RootBreadcrumbs as root_breadcrumbs, RootButton as root_button, RootInput as root_input, RootList as root_list };
@@ -0,0 +1,21 @@
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-Cygc6-mN.js';
2
+ export { s as setNonce } from './index-Cygc6-mN.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
+
5
+ /*
6
+ Stencil Client Patch Browser v4.41.1 | MIT Licensed | https://stenciljs.com
7
+ */
8
+
9
+ var patchBrowser = () => {
10
+ const importMeta = import.meta.url;
11
+ const opts = {};
12
+ if (importMeta !== "") {
13
+ opts.resourcesUrl = new URL(".", importMeta).href;
14
+ }
15
+ return promiseResolve(opts);
16
+ };
17
+
18
+ patchBrowser().then(async (options) => {
19
+ await globalScripts();
20
+ return bootstrapLazy([["root-badge_6",[[257,"root-badge",{"badgeId":[1,"badge-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-banner",{"bannerId":[1,"banner-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[1,"root-breadcrumbs",{"breadcrumbsId":[1,"breadcrumbs-id"],"linkItems":[32]}],[257,"root-button",{"buttonId":[1,"button-id"],"size":[1],"variation":[1],"type":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-input",{"inputId":[1,"input-id"],"type":[1],"label":[1],"inputName":[1,"input-name"],"placeholder":[1],"value":[1025],"maxlength":[2],"fullWidth":[4,"full-width"],"multiline":[4],"icon":[4],"showPassword":[32],"inputValue":[32],"error":[32],"touched":[32],"hasIcon":[32],"fileLabel":[32]},null,{"value":[{"onValueChanged":0}]}],[257,"root-list",{"type":[1]}]]]], options);
21
+ });
@@ -0,0 +1 @@
1
+ module.exports = require('./cjs/index.cjs.js');
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './esm/index.js';
@@ -0,0 +1 @@
1
+ var t,n,r;!function(t){t.SMALL="small",t.LARGE="large"}(t||(t={})),function(t){t.BUTTON="button",t.SUBMIT="submit",t.RESET="reset"}(n||(n={})),function(t){t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t.OUTLINE="outline",t.SUBMIT="submit",t.DANGER="danger",t.CANCEL="cancel"}(r||(r={}));export{t as RootButtonSize,n as RootButtonType,r as RootButtonVariation}
@@ -0,0 +1 @@
1
+ import{r as t,c as r,h as o,g as e}from"./p-Cygc6-mN.js";import{RootButtonSize as i,RootButtonVariation as s,RootButtonType as a}from"./index.esm.js";const n=[];function d(t="root"){let r=`${t}-${Math.random().toString(36).substring(2,7)}`;for(;n.includes(r);)r=`${t}-${Math.random().toString(36).substring(2,7)}`;return r}var c;!function(t){t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t.OUTLINE="outline",t.MUTED="muted",t.DANGER="danger"}(c||(c={}));const l=class{constructor(o){t(this,o),this.rootBadgeClick=r(this,"rootBadgeClick"),this.badgeId=d("root-badge"),this.variation=c.PRIMARY,this.fullWidth=!1,this.disabled=!1}clickHandler(t){this.rootBadgeClick.emit(t)}render(){return o("span",{key:"a1e7f7cee5b6899eec5d60f5acf5a8217777a6b3",id:this.badgeId,class:{"root-badge":!0,[`root-badge--${this.variation}`]:!!this.variation,"root-badge--full-width":this.fullWidth},onClick:t=>this.clickHandler(t)},o("slot",{key:"980ad3e760b2a1d6e9e2826d48deb88390752898"}))}};var h;l.style=".root-badge{display:inline-block;color:var(--rootsdk-text-primary);font-size:0.625rem;line-height:1;border-radius:1rem;padding:0.53125rem 0.75rem 0.5rem;min-width:1.5rem;text-transform:uppercase;font-weight:bold;background-color:transparent;text-align:center}.root-badge--primary{background-color:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-badge--secondary{background-color:var(--rootsdk-brand-secondary);color:var(--rootsdk-input)}.root-badge--tertiary{background-color:var(--rootsdk-brand-tertiary);color:var(--rootsdk-input)}.root-badge--danger{background-color:var(--rootsdk-error);color:var(--rootsdk-text-white)}.root-badge--outline{background:transparent;border:var(--border-width-m) solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-badge--muted{background-color:var(--rootsdk-muted);color:var(--rootsdk-text-white)}.root-badge--standard{background:var(--rootsdk-text-primary);color:var(--rootsdk-background-tertiary)}.root-badge--full-width{width:100%}",function(t){t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t.DANGER="danger",t.WARNING="warning",t.SUCCESS="success"}(h||(h={}));const u=class{constructor(o){t(this,o),this.rootBannerClick=r(this,"rootBannerClick"),this.bannerId=d("root-banner"),this.variation=h.PRIMARY,this.fullWidth=!1,this.disabled=!1}clickHandler(t){this.rootBannerClick.emit(t)}render(){return o("div",{key:"96197510d7a0988a356be8a6bdddf637e5383870",id:this.bannerId,class:{"root-banner":!0,[`root-banner--${this.variation}`]:!!this.variation},onClick:t=>this.clickHandler(t)},o("slot",{key:"b17c26ca99e7f3575c9d2849c644e0fef1e30dff"}))}};u.style=".root-banner{text-align:center;color:var(--rootsdk-text-primary);padding:0.4rem}.root-banner--primary{background-color:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-banner--danger{background-color:var(--rootsdk-error)}.root-banner--warning{background-color:var(--rootsdk-warning)}.root-banner--success{background-color:var(--rootsdk-brand-tertiary)}";const b=class{constructor(o){t(this,o),this.linkClick=r(this,"linkClick"),this.breadcrumbsId=d("root-breadcrumbs"),this.linkItems=[]}componentDidLoad(){this.getBreadcrumbs()}getBreadcrumbs(){const t=this.hostElement.children;!t||(null==t?void 0:t.length)<=0?console.warn("The slot contains no link elements.",this.hostElement):this.linkItems=[...t].filter((t=>"a"===t.tagName.toLowerCase())).map((t=>({text:t.textContent,href:t.getAttribute("href")||""})))}clickHandler(t){this.linkClick.emit(t)}render(){return o("ol",{key:"ffa88751925c0a1f19acb06854bd4add08edec4f",class:"root-breadcrumbs",id:this.breadcrumbsId},this.linkItems.map(((t,r)=>{const e=r===this.linkItems.length-1;return o("li",{class:{"root-breadcrumbs-item":!0,"root-breadcrumbs-item--active":e}},e?o("span",null,t.text):o("a",{class:"root-breadcrumbs-link",onClick:t=>this.clickHandler(t),href:t.href},t.text))})))}get hostElement(){return e(this)}};b.style='.root-breadcrumbs{display:flex;list-style:none;margin:0;padding:0;gap:0.5rem;align-items:center}.root-breadcrumbs .root-breadcrumbs-item{display:flex;align-items:center}.root-breadcrumbs .root-breadcrumbs-item:not(:last-child)::after{background:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 256 256"><g><g><polygon points="79.093,0 48.907,30.187 146.72,128 48.907,225.813 79.093,256 207.093,128"/></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>\') center;content:" ";display:inline-block;filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);height:0.5rem;margin:0 0.5rem;opacity:0.5;width:0.5rem}.root-breadcrumbs .root-breadcrumbs-item--active span{background:var(--rootsdk-highlight-normal);color:var(--rootsdk-text-tertiary);border-radius:1.5rem;padding:0.32rem 0.64rem;font-size:0.8rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link{text-decoration:underline;cursor:pointer;color:var(--rootsdk-text-primary);padding:0.32rem 0.64rem;border-radius:1.5rem;transition-duration:200ms;transition-property:background, color;font-size:0.8rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link .root-icon{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link:hover{background-color:var(--rootsdk-highlight-normal)}';const p=class{constructor(o){t(this,o),this.rootButtonClick=r(this,"rootButtonClick"),this.buttonId=d("root-button"),this.size=i.SMALL,this.variation=s.PRIMARY,this.type=a.BUTTON,this.fullWidth=!1,this.disabled=!1}clickHandler(t){this.rootButtonClick.emit(t)}render(){return o("button",{key:"951b963255c7eab4f286758ff133e9bad9969ee3",id:this.buttonId,class:{"root-button":!0,[`root-button--${this.size}`]:!!this.size,[`root-button--${this.variation}`]:!!this.variation,"root-button--full-width":this.fullWidth},disabled:this.disabled,type:this.type,onClick:t=>this.clickHandler(t)},o("slot",{key:"f50823d7bcfd0b291fbeddb17e8a5d740b7edb2a"}))}};var m;p.style=".root-button{height:2rem;border-radius:1.5rem;padding:0 1.75rem;min-width:fit-content;background-color:transparent;color:var(--rootsdk-text-primary);outline:none;font-size:1rem;border:none;cursor:pointer;border:1px solid transparent;text-transform:capitalize}.root-button--submit{background:var(--rootsdk-text-primary);color:var(--rootsdk-background-tertiary)}.root-button--danger{background:var(--rootsdk-error);color:var(--rootsdk-text-white)}.root-button--primary{background:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-button--secondary{background:var(--rootsdk-brand-secondary);color:var(--rootsdk-input)}.root-button--tertiary{background:var(--rootsdk-brand-tertiary);color:var(--rootsdk-input)}.root-button--outline{background:transparent;border:0.0625rem solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-button--cancel{background:transparent;border:0.0625rem solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-button--large{height:3.25rem}.root-button[disabled]{opacity:0.6;cursor:not-allowed;pointer-events:none}.root-button--full-width{width:100%}.root-button:hover{opacity:80%}.root-button:active{transform:scale(0.98)}",function(t){t.COLOR="color",t.DATE="date",t.EMAIL="email",t.FILE="file",t.IMAGE="image",t.MONTH="month",t.NUMBER="number",t.PASSWORD="password",t.SEARCH="search",t.SUBMIT="submit",t.TEL="tel",t.TEXT="text",t.TIME="time",t.URL="url",t.WEEK="week"}(m||(m={}));const g=class{constructor(o){t(this,o),this.rootInputChange=r(this,"rootInputChange"),this.rootInputBlur=r(this,"rootInputBlur"),this.inputId=d("root-input"),this.type=m.TEXT,this.placeholder="",this.value="",this.fullWidth=!1,this.multiline=!1,this.icon=!0,this.showPassword=!1,this.inputValue="",this.error="",this.touched=!1,this.hasIcon=!1,this.fileLabel="Select file",this.openPicker=()=>{if(!this.inputRef)return;const t=this.inputRef;t instanceof HTMLInputElement&&t.showPicker?t.showPicker():(t.focus(),t instanceof HTMLInputElement&&t.click())},this.togglePasswordVisibility=()=>{this.showPassword=!this.showPassword},this.incrementNumber=()=>{this.inputRef instanceof HTMLInputElement&&(this.inputRef.stepUp(),this.inputValue=this.inputRef.value,this.rootInputChange.emit(this.inputValue))},this.decrementNumber=()=>{this.inputRef instanceof HTMLInputElement&&(this.inputRef.stepDown(),this.inputValue=this.inputRef.value,this.rootInputChange.emit(this.inputValue))},this.validate=t=>t?this.type===m.EMAIL?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)?"":"Please enter a valid email address.":this.type===m.TEL?/^[+]?[- 0-9()]{7,}$/.test(t)?"":"Please enter a valid phone number.":"":"",this.handleBlur=t=>{this.touched=!0,this.error=this.validate(this.inputValue),this.rootInputBlur.emit(t)},this.handleChange=t=>{const r=t.target.value;this.inputValue=r,this.rootInputChange.emit(r),this.touched&&(this.error=this.validate(r))},this.handleFileChange=t=>{var r;const o=t.target,e=null===(r=o.files)||void 0===r?void 0:r[0];this.fileLabel=e?e.name:"Select file",this.rootInputChange.emit(o.value)},this.handleFieldClick=()=>{if(this.inputRef)if(this.multiline)this.inputRef.focus();else if(this.inputRef instanceof HTMLInputElement){if("color"===this.inputRef.type)return void this.inputRef.click();"date"!==this.inputRef.type&&this.inputRef.focus()}}}onValueChanged(t){this.inputValue=t}componentWillLoad(){this.setHasIcon(),this.inputValue=this.value}setHasIcon(){const t=!!this.hostElement.querySelector('[slot="icon"]');t&&(this.hasIcon=t)}render(){const t=this.type===m.PASSWORD?this.showPassword?"text":"password":this.type,r=this.type===m.COLOR?this.inputValue||"#000000":this.inputValue,e={"root-input-field":!0,"root-input-field--error":!!this.error,"root-input-field--file":this.type===m.FILE,"root-input-field--color":this.type===m.COLOR,"root-input-field--textarea":this.multiline};return o("div",{key:"f0cfdfa2a787ca3d24467aa14bed615f003669a3",class:{"root-input":!0,"root-input--full-width":this.fullWidth}},o("label",{key:"efdc7aa0e6b58ea500d2496c2536c1ed8e1baaeb",htmlFor:this.inputId},this.label),o("div",{key:"2aeb9c360647154827070708b7ffa5a9c43b48d6",class:e,onClick:this.handleFieldClick},this.hasIcon&&o("div",{key:"8d48d017c77409a49b23c31af4e8010784f7282b",class:"root-input-icon",onClick:this.openPicker},o("slot",{key:"063c38a33aefd8b6cb3120a35f45600e998c93fa",name:"icon"})),this.multiline?o("textarea",{ref:t=>this.inputRef=t,placeholder:this.placeholder,id:this.inputId,name:this.inputName,maxLength:this.maxlength,value:this.inputValue,onBlur:this.handleBlur,onInput:this.handleChange,"aria-invalid":this.error?"true":"false",rows:3}):o("input",{ref:t=>this.inputRef=t,placeholder:this.placeholder,id:this.inputId,name:this.inputName,maxLength:this.maxlength,type:t,value:r,onBlur:this.handleBlur,onInput:this.type===m.FILE?this.handleFileChange:this.handleChange,"aria-invalid":this.error?"true":"false"}),this.type===m.COLOR&&o("div",{key:"7deca8ea931a30fbcfa02cfc7232266a5d04bd6e",class:"root-input-color-label"},o("span",{key:"03ea754ebde8113944d7a3ca84dc14fb606bed62",class:"root-input-color-swatch",style:{backgroundColor:r}}),o("span",{key:"912f3e9a93f8c6a5e775b2ba7d5ddcb6976fe288",class:"root-input-color-text"},r)),this.type===m.FILE&&!this.multiline&&o("div",{key:"fe5ebf39d54b21740d1ff7e18c8ca28633d894a3",class:"root-input-file-label"},o("span",{key:"dab576c2c1ba5b0d8f38cd0a981aa90848a8de58"},this.fileLabel),o("slot",{key:"4a7469093cb502a4596164a39f7e6ba9a2e45f26",name:"file-icon"})),this.type===m.PASSWORD&&!this.multiline&&o("div",{key:"fd783cd0384fd5efd9c12e967bfd990281f9f1aa",class:"root-input-icon",onClick:this.togglePasswordVisibility},o("slot",{key:"242f5399701370494f5f81d41cc40478136871e0",name:"password-icon"})),this.type===m.NUMBER&&!this.multiline&&o("div",{key:"f6fa71e43701933280c41f60a27c6e3f923e3670",class:"root-input-number-controls"},o("div",{key:"04d2f6d6e152c0c6326c0e9f38b78f6c15ea3626",class:"root-input-icon",onClick:this.incrementNumber},o("slot",{key:"8de93b51aba6b7f220653c39d8a0e1ba234a15ed",name:"number-up-icon"})),o("div",{key:"2baf375834a3926b36d818f563e4fcf545a4146b",class:"root-input-icon",onClick:this.decrementNumber},o("slot",{key:"f4a7772d01d7d78e7a675ae34cee3ae76c92cdce",name:"number-down-icon"})))),this.error&&this.touched&&o("div",{key:"e0d328cc5154baf82963af89a37e70676df94ee2",class:"root-input-error"},this.error))}get hostElement(){return e(this)}static get watchers(){return{value:[{onValueChanged:0}]}}};g.style=".root-input--full-width{width:100%}.root-input .root-input-field{display:flex;align-items:center;width:100%;border-radius:0.75rem;background-color:var(--rootsdk-input);border:0.03125rem solid var(--rootsdk-highlight-normal);color:var(--rootsdk-text-primary);min-height:2em;outline:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;cursor:text}.root-input .root-input-field.root-input-field--textarea{align-items:flex-start}.root-input .root-input-field.root-input-field--file{position:relative;cursor:pointer}.root-input .root-input-field.root-input-field--color{position:relative;cursor:pointer}.root-input .root-input-field:focus-within{border:0.03125rem solid var(--rootsdk-brand-primary)}.root-input .root-input-field.root-input-field--error{border-color:var(--rootsdk-error, #e53935)}.root-input .root-input-icon{margin-right:0.5rem;display:flex;align-items:center;justify-content:center;height:1em}.root-input input{flex:1;border:none;background:transparent;color:inherit;font-family:inherit;outline:none;padding:0;margin:0;text-overflow:ellipsis;cursor:text}.root-input input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.root-input input[type=color]{position:absolute;inset:0;opacity:0;cursor:pointer}.root-input input::-webkit-calendar-picker-indicator{display:none}.root-input input::-webkit-outer-spin-button,.root-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.root-input textarea{flex:1;border:none;background:transparent;color:inherit;font-family:inherit;outline:none;padding:0;margin:0;resize:vertical;min-height:6rem}.root-input .root-input-number-controls{display:flex;flex-direction:column;gap:0;margin-left:0;margin-right:0.5rem;height:1em;line-height:0.5;align-items:center;justify-content:center;cursor:pointer}.root-input .root-input-file-label{display:flex;align-items:center;justify-content:space-between;gap:0.5rem;width:100%;pointer-events:none}.root-input .root-input-color-label{display:flex;align-items:center;gap:0.5rem;width:100%;pointer-events:none}.root-input .root-input-color-swatch{width:1rem;height:1rem;border-radius:4px;border:0.03125rem solid var(--rootsdk-highlight-normal)}.root-input .root-input-color-text{font-family:inherit;color:inherit}.root-input label{font-size:0.875rem;color:var(--rootsdk-text-tertiary);text-transform:capitalize;margin-bottom:0.5rem;display:block}.root-input .root-input-error{margin-top:0.35rem;color:var(--rootsdk-error, #e53935);font-size:0.75rem}";const f=class{constructor(r){t(this,r),this.type="bullet"}render(){return o("numbered"===this.type?"ol":"ul",{key:"315491245470e4eb4601debdfbdfeebec6ec0862",class:{"root-list":!0,[`root-list--${this.type}`]:!0}},o("slot",{key:"630f9ab955f57568bd6c8686068afc6593a66185"}))}};f.style=".root-list{margin:0;padding-left:1.5rem;color:var(--rootsdk-text-primary);font-size:1rem;line-height:1.6;list-style-position:inside}.root-list--bullet{list-style-type:disc}.root-list--numbered{list-style-type:decimal}.root-list li{margin-bottom:0.5rem;padding-left:0.25rem}";export{l as root_badge,u as root_banner,b as root_breadcrumbs,p as root_button,g as root_input,f as root_list}
@@ -0,0 +1,2 @@
1
+ var t,e,n,i,s,r,o,l,c,h,f,u,a,p,d,v,m,b=Object.create,w=Object.defineProperty,g=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,$=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,S=t=>{throw TypeError(t)},j=(t,e)=>function(){return e||(0,t[y(t)[0]])((e={exports:{}}).exports,e),e.exports},E=(t,e,n)=>e.has(t)||S("Cannot "+n),M=(t,e,n)=>(E(t,e,"read from private field"),n?n.call(t):e.get(t)),k=(t,e,n)=>e.has(t)?S("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),x=(t,e,n)=>(E(t,e,"write to private field"),e.set(t,n),n),N=(t,e,n)=>(E(t,e,"access private method"),n),P=j({"node_modules/balanced-match/index.js"(t,e){function n(t,e,n){t instanceof RegExp&&(t=i(t,n)),e instanceof RegExp&&(e=i(e,n));var r=s(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function i(t,e){var n=e.match(t);return n?n[0]:null}function s(t,e,n){var i,s,r,o,l,c=n.indexOf(t),h=n.indexOf(e,c+1),f=c;if(c>=0&&h>0){if(t===e)return[c,h];for(i=[],r=n.length;f>=0&&!l;)f==c?(i.push(f),c=n.indexOf(t,f+1)):1==i.length?l=[i.pop(),h]:((s=i.pop())<r&&(r=s,o=h),h=n.indexOf(e,f+1)),f=c<h&&c>=0?c:h;i.length&&(l=[r,o])}return l}e.exports=n,n.range=s}}),R=j({"node_modules/brace-expansion/index.js"(t,e){var n=P();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),v(function(t){return t.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(r).split("\\,").join(o).split("\\.").join(l)}(t),!0).map(h)):[]};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",r="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function h(t){return t.split(i).join("\\").split(s).join("{").split(r).join("}").split(o).join(",").split(l).join(".")}function f(t){if(!t)return[""];var e=[],i=n("{","}",t);if(!i)return t.split(",");var s=i.body,r=i.post,o=i.pre.split(",");o[o.length-1]+="{"+s+"}";var l=f(r);return r.length&&(o[o.length-1]+=l.shift(),o.push.apply(o,l)),e.push.apply(e,o),e}function u(t){return"{"+t+"}"}function a(t){return/^-?0\d/.test(t)}function p(t,e){return t<=e}function d(t,e){return t>=e}function v(t,e){var i=[],s=n("{","}",t);if(!s)return[t];var o=s.pre,l=s.post.length?v(s.post,!1):[""];if(/\$$/.test(s.pre))for(var h=0;h<l.length;h++)i.push(C=o+"{"+s.body+"}"+l[h]);else{var m,b,w=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),g=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),y=w||g,$=s.body.indexOf(",")>=0;if(!y&&!$)return s.post.match(/,(?!,).*\}/)?v(t=s.pre+"{"+s.body+r+s.post):[t];if(y)m=s.body.split(/\.\./);else if(1===(m=f(s.body)).length&&1===(m=v(m[0],!1).map(u)).length)return l.map((function(t){return s.pre+m[0]+t}));if(y){var O=c(m[0]),S=c(m[1]),j=Math.max(m[0].length,m[1].length),E=3==m.length?Math.abs(c(m[2])):1,M=p;S<O&&(E*=-1,M=d);var k=m.some(a);b=[];for(var x=O;M(x,S);x+=E){var N;if(g)"\\"===(N=String.fromCharCode(x))&&(N="");else if(N=x+"",k){var P=j-N.length;if(P>0){var R=Array(P+1).join("0");N=x<0?"-"+R+N.slice(1):R+N}}b.push(N)}}else{b=[];for(var W=0;W<m.length;W++)b.push.apply(b,v(m[W],!1))}for(W=0;W<b.length;W++)for(h=0;h<l.length;h++){var C=o+b[W]+l[h];(!e||y||C)&&i.push(C)}}return i}}}),W=(t,e)=>{var n;Object.entries(null!=(n=e.i.t)?n:{}).map((([n,[i]])=>{if(31&i||32&i){const i=t[n],s=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(t,n,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.o.has(n)?e.o.get(n):i}}))},C=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},A=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.l=t,512&e.i.h&&W(t,e))},z=(t,e)=>e in t,L=(t,e)=>(0,console.error)(t,e),T=new Map,_=new Map,D="slot-fb{display:contents}slot-fb[hidden]{display:none}",G="undefined"!=typeof window?window:{},U={h:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,i)=>t.addEventListener(e,n,i),rel:(t,e,n,i)=>t.removeEventListener(e,n,i),ce:(t,e)=>new CustomEvent(t,e)},F=t=>Promise.resolve(t),I=(()=>{try{return!!G.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),Z=!!I&&(()=>!!G.document&&Object.getOwnPropertyDescriptor(G.document.adoptedStyleSheets,"length").writable)(),H=!1,V=[],q=[],B=(t,e)=>n=>{t.push(n),H||(H=!0,e&&4&U.h?K(Y):U.raf(Y))},J=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){L(t)}t.length=0},Y=()=>{J(V),J(q),(H=V.length>0)&&U.raf(Y)},K=t=>F().then(t),Q=B(q,!0),X=t=>"object"==(t=typeof t)||"function"===t,tt=((t,e,n)=>(n=null!=t?b($(t)):{},((t,e,n,i)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of y(e))O.call(t,n)||undefined===n||w(t,n,{get:()=>e[n],enumerable:!(i=g(e,n))||i.enumerable});return t})(w(n,"default",{value:t,enumerable:!0}),t)))(R()),et=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},nt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},it=t=>t.replace(/[[\]\\-]/g,"\\$&"),st=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),rt=t=>t.join(""),ot=(t,e)=>{const n=e;if("["!==t.charAt(n))throw Error("not in a brace expression");const i=[],s=[];let r=n+1,o=!1,l=!1,c=!1,h=!1,f=n,u="";t:for(;r<t.length;){const e=t.charAt(r);if("!"!==e&&"^"!==e||r!==n+1){if("]"===e&&o&&!c){f=r+1;break}if(o=!0,"\\"!==e||c){if("["===e&&!c)for(const[e,[o,c,h]]of Object.entries(nt))if(t.startsWith(e,r)){if(u)return["$.",!1,t.length-n,!0];r+=e.length,h?s.push(o):i.push(o),l=l||c;continue t}c=!1,u?(e>u?i.push(it(u)+"-"+it(e)):e===u&&i.push(it(e)),u="",r++):t.startsWith("-]",r+1)?(i.push(it(e+"-")),r+=2):t.startsWith("-",r+1)?(u=e,r+=2):(i.push(it(e)),r++)}else c=!0,r++}else h=!0,r++}if(f<r)return["",!1,0,!1];if(!i.length&&!s.length)return["$.",!1,t.length-n,!0];if(0===s.length&&1===i.length&&/^\\?.$/.test(i[0])&&!h){const t=2===i[0].length?i[0].slice(-1):i[0];return[st(t),!1,f-n,!1]}const a="["+(h?"^":"")+rt(i)+"]",p="["+(h?"":"^")+rt(s)+"]";return[i.length&&s.length?"("+a+"|"+p+")":i.length?a:p,l,f-n,!0]},lt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),ct=new Set(["!","?","+","*","@"]),ht=t=>ct.has(t),ft="(?!\\.)",ut=new Set(["[","."]),at=new Set(["..","."]),pt=new Set("().*{}+?[]^$\\!"),dt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),vt="[^/]",mt=vt+"*?",bt=vt+"+?",wt=class b{constructor(a,p,d={}){k(this,u),((t,e,n)=>{((t,e,n)=>{e in t?w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,e+"",n)})(this,"type"),k(this,t),k(this,e),k(this,n,!1),k(this,i,[]),k(this,s),k(this,r),k(this,o),k(this,l,!1),k(this,c),k(this,h),k(this,f,!1),this.type=a,a&&x(this,e,!0),x(this,s,p),x(this,t,M(this,s)?M(M(this,s),t):this),x(this,c,M(this,t)===this?d:M(M(this,t),c)),x(this,o,M(this,t)===this?[]:M(M(this,t),o)),"!"!==a||M(M(this,t),l)||M(this,o).push(this),x(this,r,M(this,s)?M(M(this,s),i).length:0)}get hasMagic(){if(void 0!==M(this,e))return M(this,e);for(const t of M(this,i))if("string"!=typeof t&&(t.type||t.hasMagic))return x(this,e,!0);return M(this,e)}toString(){return void 0!==M(this,h)?M(this,h):x(this,h,this.type?this.type+"("+M(this,i).map((t=>t+"")).join("|")+")":M(this,i).map((t=>t+"")).join(""))}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof b&&M(e,s)===this))throw Error("invalid part: "+e);M(this,i).push(e)}}toJSON(){var e;const n=null===this.type?M(this,i).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...M(this,i).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&n.unshift([]),this.isEnd()&&(this===M(this,t)||M(M(this,t),l)&&"!"===(null==(e=M(this,s))?void 0:e.type))&&n.push({}),n}isStart(){var e;if(M(this,t)===this)return!0;if(!(null==(e=M(this,s))?void 0:e.isStart()))return!1;if(0===M(this,r))return!0;const n=M(this,s);for(let t=0;t<M(this,r);t++){const e=M(n,i)[t];if(!(e instanceof b&&"!"===e.type))return!1}return!0}isEnd(){var e,n,o;if(M(this,t)===this)return!0;if("!"===(null==(e=M(this,s))?void 0:e.type))return!0;if(!(null==(n=M(this,s))?void 0:n.isEnd()))return!1;if(!this.type)return null==(o=M(this,s))?void 0:o.isEnd();const l=M(this,s)?M(M(this,s),i).length:0;return M(this,r)===l-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(t){const e=new b(this.type,t);for(const t of M(this,i))e.copyIn(t);return e}static fromGlob(t,e={}){var n;const i=new b(null,void 0,e);return N(n=b,p,d).call(n,t,i,0,e),i}toMMPattern(){if(this!==M(this,t))return M(this,t).toMMPattern();const n=""+this,[i,s,r,o]=this.toRegExpSource();if(!(r||M(this,e)||M(this,c).nocase&&!M(this,c).nocaseMagicOnly&&n.toUpperCase()!==n.toLowerCase()))return s;const l=(M(this,c).nocase?"i":"")+(o?"u":"");return Object.assign(RegExp(`^${i}$`,l),{_src:i,_glob:n})}get options(){return M(this,c)}toRegExpSource(r){var o;const h=null!=r?r:!!M(this,c).dot;if(M(this,t)===this&&N(this,u,a).call(this),!this.type){const c=this.isStart()&&this.isEnd(),f=M(this,i).map((t=>{var i;const[s,o,l,h]="string"==typeof t?N(i=b,p,m).call(i,t,M(this,e),c):t.toRegExpSource(r);return x(this,e,M(this,e)||l),x(this,n,M(this,n)||h),s})).join("");let u="";if(this.isStart()&&"string"==typeof M(this,i)[0]&&(1!==M(this,i).length||!at.has(M(this,i)[0]))){const t=ut,e=h&&t.has(f.charAt(0))||f.startsWith("\\.")&&t.has(f.charAt(2))||f.startsWith("\\.\\.")&&t.has(f.charAt(4)),n=!h&&!r&&t.has(f.charAt(0));u=e?"(?!(?:^|/)\\.\\.?(?:$|/))":n?ft:""}let a="";return this.isEnd()&&M(M(this,t),l)&&"!"===(null==(o=M(this,s))?void 0:o.type)&&(a="(?:$|\\/)"),[u+f+a,lt(f),x(this,e,!!M(this,e)),M(this,n)]}const d="*"===this.type||"+"===this.type,w="!"===this.type?"(?:(?!(?:":"(?:";let g=N(this,u,v).call(this,h);if(this.isStart()&&this.isEnd()&&!g&&"!"!==this.type){const t=""+this;return x(this,i,[t]),this.type=null,x(this,e,void 0),[t,lt(""+this),!1,!1]}let y=!d||r||h?"":N(this,u,v).call(this,!0);y===g&&(y=""),y&&(g=`(?:${g})(?:${y})*?`);let $="";return $="!"===this.type&&M(this,f)?(this.isStart()&&!h?ft:"")+bt:w+g+("!"===this.type?"))"+(!this.isStart()||h||r?"":ft)+mt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&y?")":"*"===this.type&&y?")?":")"+this.type),[$,lt(g),x(this,e,!!M(this,e)),M(this,n)]}};t=new WeakMap,e=new WeakMap,n=new WeakMap,i=new WeakMap,s=new WeakMap,r=new WeakMap,o=new WeakMap,l=new WeakMap,c=new WeakMap,h=new WeakMap,f=new WeakMap,u=new WeakSet,a=function(){if(this!==M(this,t))throw Error("should only call on root");if(M(this,l))return this;let e;for(x(this,l,!0);e=M(this,o).pop();){if("!"!==e.type)continue;let t=e,n=M(t,s);for(;n;){for(let s=M(t,r)+1;!n.type&&s<M(n,i).length;s++)for(const t of M(e,i)){if("string"==typeof t)throw Error("string part in extglob AST??");t.copyIn(M(n,i)[s])}t=n,n=M(t,s)}}return this},p=new WeakSet,d=function(t,n,s,r){var o,l;let c=!1,h=!1,u=-1,a=!1;if(null===n.type){let e=s,i="";for(;e<t.length;){const s=t.charAt(e++);if(c||"\\"===s)c=!c,i+=s;else if(h)e===u+1?"^"!==s&&"!"!==s||(a=!0):"]"!==s||e===u+2&&a||(h=!1),i+=s;else if("["!==s)if(r.noext||!ht(s)||"("!==t.charAt(e))i+=s;else{n.push(i),i="";const l=new wt(s,n);e=N(o=wt,p,d).call(o,t,l,e,r),n.push(l)}else h=!0,u=e,a=!1,i+=s}return n.push(i),e}let v=s+1,m=new wt(null,n);const b=[];let w="";for(;v<t.length;){const e=t.charAt(v++);if(c||"\\"===e)c=!c,w+=e;else if(h)v===u+1?"^"!==e&&"!"!==e||(a=!0):"]"!==e||v===u+2&&a||(h=!1),w+=e;else if("["!==e)if(ht(e)&&"("===t.charAt(v)){m.push(w),w="";const n=new wt(e,m);m.push(n),v=N(l=wt,p,d).call(l,t,n,v,r)}else if("|"!==e){if(")"===e)return""===w&&0===M(n,i).length&&x(n,f,!0),m.push(w),w="",n.push(...b,m),v;w+=e}else m.push(w),w="",b.push(m),m=new wt(null,n);else h=!0,u=v,a=!1,w+=e}return n.type=null,x(n,e,void 0),x(n,i,[t.substring(s-1)]),v},v=function(t){return M(this,i).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[i,s,r,o]=e.toRegExpSource(t);return x(this,n,M(this,n)||o),i})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},m=function(t,e,n=!1){let i=!1,s="",r=!1;for(let o=0;o<t.length;o++){const l=t.charAt(o);if(i)i=!1,s+=(pt.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[n,i,l,c]=ot(t,o);if(l){s+=n,r=r||i,o+=l-1,e=e||c;continue}}"*"!==l?"?"!==l?s+=dt(l):(s+=vt,e=!0):(s+=n&&"*"===t?bt:mt,e=!0)}else o===t.length-1?s+="\\\\":i=!0}return[s,lt(t),!!e,r]},k(wt,p);var gt=wt,yt=(t,e,n={})=>(et(e),!(!n.nocomment&&"#"===e.charAt(0))&&new Vt(e,n).match(t)),$t=/^\*+([^+@!?\*\[\(]*)$/,Ot=t=>e=>!e.startsWith(".")&&e.endsWith(t),St=t=>e=>e.endsWith(t),jt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),Et=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),Mt=/^\*+\.\*+$/,kt=t=>!t.startsWith(".")&&t.includes("."),xt=t=>"."!==t&&".."!==t&&t.includes("."),Nt=/^\.\*+$/,Pt=t=>"."!==t&&".."!==t&&t.startsWith("."),Rt=/^\*+$/,Wt=t=>0!==t.length&&!t.startsWith("."),Ct=t=>0!==t.length&&"."!==t&&".."!==t,At=/^\?+([^+@!?\*\[\(]*)?$/,zt=([t,e=""])=>{const n=Dt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Lt=([t,e=""])=>{const n=Gt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Tt=([t,e=""])=>{const n=Gt([t]);return e?t=>n(t)&&t.endsWith(e):n},_t=([t,e=""])=>{const n=Dt([t]);return e?t=>n(t)&&t.endsWith(e):n},Dt=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},Gt=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},Ut="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";yt.sep="win32"===Ut?"\\":"/";var Ft=Symbol("globstar **");yt.GLOBSTAR=Ft,yt.filter=(t,e={})=>n=>yt(n,t,e);var It=(t,e={})=>Object.assign({},t,e);yt.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return yt;const e=yt;return Object.assign(((n,i,s={})=>e(n,i,It(t,s))),{Minimatch:class extends e.Minimatch{constructor(e,n={}){super(e,It(t,n))}static defaults(n){return e.defaults(It(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n,i={}){super(e,n,It(t,i))}static fromGlob(n,i={}){return e.AST.fromGlob(n,It(t,i))}},unescape:(n,i={})=>e.unescape(n,It(t,i)),escape:(n,i={})=>e.escape(n,It(t,i)),filter:(n,i={})=>e.filter(n,It(t,i)),defaults:n=>e.defaults(It(t,n)),makeRe:(n,i={})=>e.makeRe(n,It(t,i)),braceExpand:(n,i={})=>e.braceExpand(n,It(t,i)),match:(n,i,s={})=>e.match(n,i,It(t,s)),sep:e.sep,GLOBSTAR:Ft})};var Zt=(t,e={})=>(et(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,tt.default)(t));yt.braceExpand=Zt,yt.makeRe=(t,e={})=>new Vt(t,e).makeRe(),yt.match=(t,e,n={})=>{const i=new Vt(e,n);return t=t.filter((t=>i.match(t))),i.options.nonull&&!t.length&&t.push(e),t};var Ht=/[?*]|[+@!]\(.*?\)|\[|\]/,Vt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){et(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||Ut,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&Ht.test(t[2])||Ht.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,i),this.set=i.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const i=t[n];1===n&&""===i&&""===t[0]||"."!==i&&""!==i||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const i=t[n-1];i&&"."!==i&&".."!==i&&"**"!==i&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let i=-1;for(;-1!==(i=n.indexOf("**",i+1));){let s=i;for(;"**"===n[s+1];)s++;s>i&&n.splice(i+1,s-i);const r=n[i+2],o=n[i+3];if(".."!==n[i+1])continue;if(!r||"."===r||".."===r||!o||"."===o||".."===o)continue;e=!0,n.splice(i,1);const l=n.slice(0);l[i]="**",t.push(l),i--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const i=n[t];1===t&&""===i&&""===n[0]||"."!==i&&""!==i||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let s=0;for(;-1!==(s=n.indexOf("..",s+1));){const t=n[s-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,n.splice(s-1,2,...1===s&&"**"===n[s+1]?["."]:[]),0===n.length&&n.push(""),s-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const i=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);i&&(t[e]=i,t[n]=[])}return t.filter((t=>t.length))}partsMatch(t,e,n=!1){let i=0,s=0,r=[],o="";for(;i<t.length&&s<e.length;)if(t[i]===e[s])r.push("b"===o?e[s]:t[i]),i++,s++;else if(n&&"**"===t[i]&&e[s]===t[i+1])r.push(t[i]),i++;else if(n&&"**"===e[s]&&t[i]===e[s+1])r.push(e[s]),s++;else if("*"!==t[i]||!e[s]||!this.options.dot&&e[s].startsWith(".")||"**"===e[s]){if("*"!==e[s]||!t[i]||!this.options.dot&&t[i].startsWith(".")||"**"===t[i])return!1;if("a"===o)return!1;o="b",r.push(e[s]),i++,s++}else{if("b"===o)return!1;o="a",r.push(t[i]),i++,s++}return t.length===e.length&&r}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let i=0;i<t.length&&"!"===t.charAt(i);i++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e,n=!1){const i=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),i=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),s="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),r=i?3:n?0:void 0,o=!s&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:s?0:void 0;if("number"==typeof r&&"number"==typeof o){const[n,i]=[t[r],e[o]];n.toLowerCase()===i.toLowerCase()&&(e[o]=n,o>r?e=e.slice(o):r>o&&(t=t.slice(r)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,o=0,l=t.length,c=e.length;r<l&&o<c;r++,o++){this.debug("matchOne loop");var h=e[o],f=t[r];if(this.debug(e,h,f),!1===h)return!1;if(h===Ft){this.debug("GLOBSTAR",[e,h,f]);var u=r,a=o+1;if(a===c){for(this.debug("** at the end");r<l;r++)if("."===t[r]||".."===t[r]||!i.dot&&"."===t[r].charAt(0))return!1;return!0}for(;u<l;){var p=t[u];if(this.debug("\nglobstar while",t,u,e,a,p),this.matchOne(t.slice(u),e.slice(a),n))return this.debug("globstar found match!",u,l,p),!0;if("."===p||".."===p||!i.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,u,e,a);break}this.debug("globstar swallow a segment, and continue"),u++}return!(!n||(this.debug("\n>>> no match, partial?",t,u,e,a),u!==l))}let s;if("string"==typeof h?(s=f===h,this.debug("string match",h,f,s)):(s=h.test(f),this.debug("pattern match",h,f,s)),!s)return!1}if(r===l&&o===c)return!0;if(r===l)return n;if(o===c)return r===l-1&&""===t[r];throw Error("wtf?")}braceExpand(){return Zt(this.pattern,this.options)}parse(t){et(t);const e=this.options;if("**"===t)return Ft;if(""===t)return"";let n,i=null;(n=t.match(Rt))?i=e.dot?Ct:Wt:(n=t.match($t))?i=(e.nocase?e.dot?Et:jt:e.dot?St:Ot)(n[1]):(n=t.match(At))?i=(e.nocase?e.dot?Lt:zt:e.dot?Tt:_t)(n):(n=t.match(Mt))?i=e.dot?xt:kt:(n=t.match(Nt))&&(i=Pt);const s=gt.fromGlob(t,this.options).toMMPattern();return i&&"object"==typeof s&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(e.nocase?["i"]:[]);let s=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))i.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===Ft?Ft:t._src}));return e.forEach(((t,i)=>{const s=e[i+1],r=e[i-1];t===Ft&&r!==Ft&&(void 0===r?void 0!==s&&s!==Ft?e[i+1]="(?:\\/|"+n+"\\/)?"+s:e[i]=n:void 0===s?e[i-1]=r+"(?:\\/|"+n+")?":s!==Ft&&(e[i-1]=r+"(?:\\/|\\/"+n+"\\/)"+s,e[i+1]=Ft))})),e.filter((t=>t!==Ft)).join("/")})).join("|");const[r,o]=t.length>1?["(?:",")"]:["",""];s="^"+r+s+o+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=RegExp(s,[...i].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const i=this.slashSplit(t);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let r=i[i.length-1];if(!r)for(let t=i.length-2;!r&&t>=0;t--)r=i[t];for(let t=0;t<s.length;t++){const o=s[t];let l=i;if(n.matchBase&&1===o.length&&(l=[r]),this.matchOne(l,o,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return yt.defaults(t).Minimatch}};function qt(t){var e,n,i;return null!=(i=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?i:void 0}yt.AST=gt,yt.Minimatch=Vt,yt.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),yt.unescape=lt,((t,e)=>{for(var n in e)w(t,n,{get:e[n],enumerable:!0})})({},{err:()=>Jt,map:()=>Yt,ok:()=>Bt,unwrap:()=>Qt,unwrapErr:()=>Xt});var Bt=t=>({isOk:!0,isErr:!1,value:t}),Jt=t=>({isOk:!1,isErr:!0,value:t});function Yt(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>Bt(t))):Bt(n)}if(t.isErr)return Jt(t.value);throw"should never get here"}var Kt,Qt=t=>{if(t.isOk)return t.value;throw t.value},Xt=t=>{if(t.isErr)return t.value;throw t.value};function te(){const t=this.attachShadow({mode:"open"});void 0===Kt&&(Kt=null),Kt&&(Z?t.adoptedStyleSheets.push(Kt):t.adoptedStyleSheets=[...t.adoptedStyleSheets,Kt])}function ee(t,e,n){let i,s=0,r=[];for(;s<t.length;s++){if(i=t[s],i["s-sr"]&&(!e||i["s-hn"]===e)&&(void 0===n||ne(i)===n)&&(r.push(i),void 0!==n))return r;r=[...r,...ee(i.childNodes,e,n)]}return r}var ne=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;var ie=new WeakMap,se=t=>"sc-"+t.p,re=(t,e,...n)=>{let i=null,s=null,r=!1,o=!1;const l=[],c=e=>{for(let n=0;n<e.length;n++)i=e[n],Array.isArray(i)?c(i):null!=i&&"boolean"!=typeof i&&((r="function"!=typeof t&&!X(i))&&(i+=""),r&&o?l[l.length-1].v+=i:l.push(r?oe(null,i):i),o=r)};if(c(n),e){e.key&&(s=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,l,ce);const h=oe(t,null);return h.m=e,l.length>0&&(h.$=l),h.O=s,h},oe=(t,e)=>({h:0,S:t,v:e,j:null,$:null,m:null,O:null}),le={},ce={forEach:(t,e)=>t.map(he).forEach(e),map:(t,e)=>t.map(he).map(e).map(fe)},he=t=>({vattrs:t.m,vchildren:t.$,vkey:t.O,vname:t.M,vtag:t.S,vtext:t.v}),fe=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),re(t.vtag,e,...t.vchildren||[])}const e=oe(t.vtag,t.vtext);return e.m=t.vattrs,e.$=t.vchildren,e.O=t.vkey,e.M=t.vname,e},ue=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};ue("::slotted"),ue(":host"),ue(":host-context");var ae,pe=(t,e)=>null==t||X(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,de=t=>{var e;return null==(e=C(t))?void 0:e.$hostElement$},ve=(t,e)=>{const n=de(t);return{emit:t=>me(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},me=(t,e,n)=>{const i=U.ce(e,n);return t.dispatchEvent(i),i},be=(t,e,n,i,s,r)=>{if(n===i)return;let o=z(t,e),l=e.toLowerCase();if("class"===e){const e=t.classList,s=ge(n);let r=ge(i);e.remove(...s.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in n)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&i(t);else if(o||"o"!==e[0]||"n"!==e[1]){const l=X(i);if(o||l&&null!==i)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const s=null==i?"":i;"list"===e?o=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}null==i||!1===i?!1===i&&""!==t.getAttribute(e)||t.removeAttribute(e):(!o||4&r||s)&&!l&&1===t.nodeType&&t.setAttribute(e,i=!0===i?"":i)}else if(e="-"===e[2]?e.slice(3):z(G,l)?l.slice(2):l[2]+e.slice(3),n||i){const s=e.endsWith(ye);e=e.replace($e,""),n&&U.rel(t,e,n,s),i&&U.ael(t,e,i,s)}},we=/\s/,ge=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(we):[]),ye="Capture",$e=RegExp(ye+"$"),Oe=(t,e,n)=>{const i=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.m||{},r=e.m||{};for(const t of Se(Object.keys(s)))t in r||be(i,t,s[t],void 0,n,e.h);for(const t of Se(Object.keys(r)))be(i,t,s[t],r[t],n,e.h)};function Se(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var je=!1,Ee=!1,Me=(t,e,n)=>{const i=e.$[n];let s,r,o=0;if(null!==i.v)s=i.j=G.document.createTextNode(i.v);else{if(!G.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=i.j=G.document.createElement(i.S),Oe(null,i,Ee),i.$){const e="template"===i.S?s.content:s;for(o=0;o<i.$.length;++o)r=Me(t,i,o),r&&e.appendChild(r)}}return s["s-hn"]=ae,s},ke=(t,e,n,i,s,r)=>{let o,l=t;for(l.shadowRoot&&l.tagName===ae&&(l=l.shadowRoot),"template"===n.S&&(l=l.content);s<=r;++s)i[s]&&(o=Me(null,n,s),o&&(i[s].j=o,We(l,o,e)))},xe=(t,e,n)=>{for(let i=e;i<=n;++i){const e=t[i];if(e){const t=e.j;Re(e),t&&t.remove()}}},Ne=(t,e,n=!1)=>t.S===e.S&&(n?(n&&!t.O&&e.O&&(t.O=e.O),!0):t.O===e.O),Pe=(t,e,n=!1)=>{const i=e.j=t.j,s=t.$,r=e.$,o=e.v;null===o?("slot"!==e.S||je||t.M!==e.M&&(e.j["s-sn"]=e.M||"",(t=>{U.h|=1;const e=t.closest(ae.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),i=Array.from(t.__childNodes||t.childNodes);for(const t of n?i.reverse():i)null!=t["s-sh"]&&(We(e,t,null!=n?n:null),t["s-sh"]=void 0)}U.h&=-2})(e.j.parentElement)),Oe(t,e,Ee),null!==s&&null!==r?((t,e,n,i,s=!1)=>{let r,o,l=0,c=0,h=0,f=0,u=e.length-1,a=e[0],p=e[u],d=i.length-1,v=i[0],m=i[d];const b="template"===n.S?t.content:t;for(;l<=u&&c<=d;)if(null==a)a=e[++l];else if(null==p)p=e[--u];else if(null==v)v=i[++c];else if(null==m)m=i[--d];else if(Ne(a,v,s))Pe(a,v,s),a=e[++l],v=i[++c];else if(Ne(p,m,s))Pe(p,m,s),p=e[--u],m=i[--d];else if(Ne(a,m,s))Pe(a,m,s),We(b,a.j,p.j.nextSibling),a=e[++l],m=i[--d];else if(Ne(p,v,s))Pe(p,v,s),We(b,p.j,a.j),p=e[--u],v=i[++c];else{for(h=-1,f=l;f<=u;++f)if(e[f]&&null!==e[f].O&&e[f].O===v.O){h=f;break}h>=0?(o=e[h],o.S!==v.S?r=Me(e&&e[c],n,h):(Pe(o,v,s),e[h]=void 0,r=o.j),v=i[++c]):(r=Me(e&&e[c],n,c),v=i[++c]),r&&We(a.j.parentNode,r,a.j)}l>u?ke(t,null==i[d+1]?null:i[d+1].j,n,i,c,d):c>d&&xe(e,l,u)})(i,s,e,r,n):null!==r?(null!==t.v&&(i.textContent=""),ke(i,null,e,r,0,r.length-1)):!n&&null!==s&&xe(s,0,s.length-1)):t.v!==o&&(i.data=o)},Re=t=>{t.m&&t.m.ref&&t.m.ref(null),t.$&&t.$.map(Re)},We=(t,e,n)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,n);const{slotNode:i}=function(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const i=t["s-sn"]=ne(t)||"";return{slotNode:ee(function(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}(e,"childNodes"),e.tagName,i)[0],slotName:i}}(e);return i&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)},Ce=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((i=>t.k=()=>{e["s-p"].splice(n-1,1),i()})))}},Ae=(t,e)=>{if(t.h|=16,4&t.h)return void(t.h|=512);Ce(t,t.N);const n=()=>ze(t,e);if(!e)return Q(n);queueMicrotask((()=>{n()}))},ze=(t,e)=>{const n=t.$hostElement$,i=t.l;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return e?(t.P.length&&t.P.forEach((t=>t(n))),s=Fe(i,"componentWillLoad",void 0,n)):s=Fe(i,"componentWillUpdate",void 0,n),s=Le(s,(()=>Fe(i,"componentWillRender",void 0,n))),Le(s,(()=>_e(t,i,e)))},Le=(t,e)=>Te(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Te=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,_e=async(t,e,n)=>{var i;const s=t.$hostElement$,r=s["s-rc"];n&&(t=>{const e=t.i,n=t.$hostElement$,i=e.h,s=((t,e)=>{var n,i,s;const r=se(e),o=_.get(r);if(!G.document)return r;if(t=11===t.nodeType?t:G.document,o)if("string"==typeof o){let s,l=ie.get(t=t.head||t);if(l||ie.set(t,l=new Set),!l.has(r)){s=G.document.createElement("style"),s.innerHTML=o;const c=null!=(n=U.R)?n:qt(G.document);if(null!=c&&s.setAttribute("nonce",c),!(1&e.h))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(I){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(o),Z?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.h&&t.insertBefore(s,null),4&e.h&&(s.innerHTML+=D),l&&l.add(r)}}else{let e=ie.get(t);if(e||ie.set(t,e=new Set),!e.has(r)){const n=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let i;if(o.constructor===n.CSSStyleSheet)i=o;else{i=new n.CSSStyleSheet;for(let t=0;t<o.cssRules.length;t++)i.insertRule(o.cssRules[t].cssText,t)}Z?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(r)}}return r})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&i&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);De(t,e,s,n),r&&(r.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(i=s["s-p"])?i:[],n=()=>Ge(t);0===e.length?n():(Promise.all(e).then(n),t.h|=4,e.length=0)}},De=(t,e,n,i)=>{try{e=e.render(),t.h&=-17,t.h|=2,((t,e,n=!1)=>{const i=t.$hostElement$,s=t.i,r=t.W||oe(null,null),o=(t=>t&&t.S===le)(e)?e:re(null,null,e);if(ae=i.tagName,n&&o.m)for(const t of Object.keys(o.m))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(o.m[t]=i[t]);o.S=null,o.h|=4,t.W=o,o.j=r.j=i.shadowRoot||i,je=!(!(1&s.h)||128&s.h),Pe(r,o,n)})(t,e,i)}catch(e){L(e,t.$hostElement$)}return null},Ge=t=>{const e=t.$hostElement$,n=t.l,i=t.N;Fe(n,"componentDidRender",void 0,e),64&t.h?Fe(n,"componentDidUpdate",void 0,e):(t.h|=64,Ie(e),Fe(n,"componentDidLoad",void 0,e),t.C(e),i||Ue()),t.k&&(t.k(),t.k=void 0),512&t.h&&K((()=>Ae(t,!1))),t.h&=-517},Ue=()=>{K((()=>me(G,"appload",{detail:{namespace:"stencil-library"}})))},Fe=(t,e,n,i)=>{if(t&&t[e])try{return t[e](n)}catch(t){L(t,i)}},Ie=t=>t.classList.add("hydrated"),Ze=(t,e,n,i)=>{const s=C(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${i.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=s.$hostElement$,o=s.o.get(e),l=s.h,c=s.l;if(n=pe(n,i.t[e][0]),!(8&l&&void 0!==o||n===o||Number.isNaN(o)&&Number.isNaN(n))){if(s.o.set(e,n),i.A){const t=i.A[e];t&&t.map((t=>{try{const[[i,r]]=Object.entries(t);(128&l||1&r)&&(c?c[i](n,o,e):s.P.push((()=>{s.l[i](n,o,e)})))}catch(t){L(t,r)}}))}if(2==(18&l)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,o,e))return;Ae(s,!1)}}},He=(t,e,n)=>{var i,s;const r=t.prototype;{t.watchers&&!e.A&&(e.A=t.watchers),t.deserializers&&!e.L&&(e.L=t.deserializers),t.serializers&&!e.T&&(e.T=t.serializers);const o=Object.entries(null!=(i=e.t)?i:{});if(o.map((([t,[i]])=>{if(31&i||2&n&&32&i){const{get:s,set:o}=Object.getOwnPropertyDescriptor(r,t)||{};s&&(e.t[t][0]|=2048),o&&(e.t[t][0]|=4096),(1&n||!s)&&Object.defineProperty(r,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>C(this).o.get(e))(0,t);const n=C(this),i=n?n.l:r;if(!i)return;return i[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(s){const r=C(this);if(r){if(o)return void 0===(32&i?this[t]:r.$hostElement$[t])&&r.o.get(t)&&(s=r.o.get(t)),o.call(this,pe(s,i)),void Ze(this,t,s=32&i?this[t]:r.$hostElement$[t],e);{if(!(1&n&&4096&e.t[t][0]))return Ze(this,t,s,e),void(1&n&&!r.l&&r.P.push((()=>{4096&e.t[t][0]&&r.l[t]!==r.o.get(t)&&(r.l[t]=s)})));const o=()=>{const n=r.l[t];!r.o.get(t)&&n&&r.o.set(t,n),r.l[t]=pe(s,i),Ze(this,t,r.l[t],e)};r.l?o():r.P.push((()=>{o()}))}}}})}})),1&n){const n=new Map;r.attributeChangedCallback=function(t,i,s){U.jmp((()=>{var l;const c=n.get(t),h=C(this);if(this.hasOwnProperty(c)&&(s=this[c],delete this[c]),r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=null==h?void 0:h.h;if(h&&n&&!(8&n)&&s!==i){const r=h.l,o=null==(l=e.A)?void 0:l[t];null==o||o.forEach((e=>{const[[o,l]]=Object.entries(e);null!=r[o]&&(128&n||1&l)&&r[o].call(r,s,i,t)}))}return}const f=o.find((([t])=>t===c));f&&4&f[1][0]&&(s=null!==s&&"false"!==s);const u=Object.getOwnPropertyDescriptor(r,c);s==this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.A)?s:{}),...o.filter((([t,e])=>31&e[0])).map((([t,e])=>{const i=e[1]||t;return n.set(i,t),i}))]))}}return t},Ve=(t,e)=>{Fe(t,"connectedCallback",void 0,e)},qe=(t,e)=>{Fe(t,"disconnectedCallback",void 0,e||t)},Be=(t,e={})=>{var n;if(!G.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const i=[],s=e.exclude||[],r=G.customElements,o=G.document.head,l=o.querySelector("meta[charset]"),c=G.document.createElement("style"),h=[];let f,u=!0;Object.assign(U,e),U.u=new URL(e.resourcesUrl||"./",G.document.baseURI).href;let a=!1;if(t.map((t=>{t[1].map((e=>{var n,o,l;const c={h:e[0],p:e[1],t:e[2],_:e[3]};4&c.h&&(a=!0),c.t=e[2],c.A=null!=(n=e[4])?n:{},c.T=null!=(o=e[5])?o:{},c.L=null!=(l=e[6])?l:{};const p=c.p,d=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const n={h:0,$hostElement$:t,i:e,o:new Map,D:new Map};n.G=new Promise((t=>n.C=t)),t["s-p"]=[],t["s-rc"]=[],n.P=[];const i=n;t.__stencil__getHostRef=()=>i})(t=this,c),1&c.h)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else te.call(t,c)}connectedCallback(){C(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?h.push(this):U.jmp((()=>(t=>{if(!(1&U.h)){const e=C(t);if(!e)return;const n=e.i,i=()=>{};if(1&e.h)(null==e?void 0:e.l)?Ve(e.l,t):(null==e?void 0:e.G)&&e.G.then((()=>Ve(e.l,t)));else{e.h|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ce(e,e.N=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let i;if(!(32&e.h)){if(e.h|=32,n.U){const s=((t,e)=>{const n=t.p.replace(/-/g,"_"),i=t.U;if(!i)return;const s=T.get(i);return s?s[n]:import(`./${i}.entry.js`).then((t=>(T.set(i,t),t[n])),(t=>{L(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};i=await s,t()}else i=s;if(!i)throw Error(`Constructor for "${n.p}#${e.F}" was not found`);i.isProxied||(n.A=i.watchers,n.T=i.serializers,n.L=i.deserializers,He(i,n,2),i.isProxied=!0);const r=()=>{};e.h|=8;try{new i(e)}catch(e){L(e,t)}e.h&=-9,e.h|=128,r(),Ve(e.l,t)}else i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.h|=128));if(i&&i.style){let t;"string"==typeof i.style&&(t=i.style);const e=se(n);if(!_.has(e)){const i=()=>{};((t,e,n)=>{let i=_.get(t);I&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,_.set(t,i)})(e,t,!!(1&n.h)),i()}}}const s=e.N,r=()=>Ae(e,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(t,e,n)}i()}})(this))))}disconnectedCallback(){U.jmp((()=>(async t=>{if(!(1&U.h)){const e=C(t);(null==e?void 0:e.l)?qe(e.l,t):(null==e?void 0:e.G)&&e.G.then((()=>qe(e.l,t)))}ie.has(t)&&ie.delete(t),t.shadowRoot&&ie.has(t.shadowRoot)&&ie.delete(t.shadowRoot)})(this))),U.raf((()=>{var t;const e=C(this);if(!e)return;const n=h.findIndex((t=>t===this));n>-1&&h.splice(n,1),(null==(t=null==e?void 0:e.W)?void 0:t.j)instanceof Node&&!e.W.j.isConnected&&delete e.W.j}))}componentOnReady(){var t;return null==(t=C(this))?void 0:t.G}};c.U=t[0],s.includes(p)||r.get(p)||(i.push(p),r.define(p,He(d,c,1)))}))})),i.length>0&&(a&&(c.textContent+=D),c.textContent+=i.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(n=U.R)?n:qt(G.document);null!=t&&c.setAttribute("nonce",t),o.insertBefore(c,l?l.nextSibling:o.firstChild)}u=!1,h.length?h.map((t=>t.connectedCallback())):U.jmp((()=>f=setTimeout(Ue,30)))},Je=t=>U.R=t;export{Be as b,ve as c,de as g,re as h,F as p,A as r,Je as s}
@@ -0,0 +1 @@
1
+ const o=()=>{};export{o as g}
@@ -0,0 +1 @@
1
+ import{p as t,b as e}from"./p-Cygc6-mN.js";export{s as setNonce}from"./p-Cygc6-mN.js";import{g as a}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((async t=>(await a(),e([["p-2b062e4c",[[257,"root-badge",{badgeId:[1,"badge-id"],variation:[1],fullWidth:[4,"full-width"],disabled:[4]}],[257,"root-banner",{bannerId:[1,"banner-id"],variation:[1],fullWidth:[4,"full-width"],disabled:[4]}],[1,"root-breadcrumbs",{breadcrumbsId:[1,"breadcrumbs-id"],linkItems:[32]}],[257,"root-button",{buttonId:[1,"button-id"],size:[1],variation:[1],type:[1],fullWidth:[4,"full-width"],disabled:[4]}],[257,"root-input",{inputId:[1,"input-id"],type:[1],label:[1],inputName:[1,"input-name"],placeholder:[1],value:[1025],maxlength:[2],fullWidth:[4,"full-width"],multiline:[4],icon:[4],showPassword:[32],inputValue:[32],error:[32],touched:[32],hasIcon:[32],fileLabel:[32]},null,{value:[{onValueChanged:0}]}],[257,"root-list",{type:[1]}]]]],t))));
@@ -0,0 +1,8 @@
1
+ export declare enum RootBadgeVariation {
2
+ PRIMARY = "primary",
3
+ SECONDARY = "secondary",
4
+ TERTIARY = "tertiary",
5
+ OUTLINE = "outline",
6
+ MUTED = "muted",
7
+ DANGER = "danger"
8
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { RootBadgeVariation } from './badge-variation.enum';
3
+ export declare class RootBadge {
4
+ badgeId: string;
5
+ variation: RootBadgeVariation;
6
+ fullWidth: boolean;
7
+ disabled: boolean;
8
+ rootBadgeClick: EventEmitter<MouseEvent>;
9
+ clickHandler(e: MouseEvent): void;
10
+ render(): any;
11
+ }
@@ -0,0 +1,8 @@
1
+ export declare enum RootBannerVariation {
2
+ PRIMARY = "primary",
3
+ SECONDARY = "secondary",
4
+ TERTIARY = "tertiary",
5
+ DANGER = "danger",
6
+ WARNING = "warning",
7
+ SUCCESS = "success"
8
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { RootBannerVariation } from './banner-variation.enum';
3
+ export declare class RootBanner {
4
+ bannerId: string;
5
+ variation: RootBannerVariation;
6
+ fullWidth: boolean;
7
+ disabled: boolean;
8
+ rootBannerClick: EventEmitter<MouseEvent>;
9
+ clickHandler(e: MouseEvent): void;
10
+ render(): any;
11
+ }