@trintel/zooy 1.0.20 → 1.1.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 (224) hide show
  1. package/dist/chunks/component-library-registry-BBQV6Kpv.js +1 -0
  2. package/dist/chunks/component-library-registry-DB5UeqC2.js +58 -0
  3. package/dist/chunks/register-D3pWAXhm.js +266 -0
  4. package/dist/chunks/register-D7SMu1Gy.js +1372 -0
  5. package/dist/chunks/register-HYODt48Q.js +1 -0
  6. package/dist/chunks/register-g5KUNRdI.js +1 -0
  7. package/dist/chunks/{tree-utils-D7kpr-Wj.js → tree-utils-B2JEGXHR.js} +2 -1
  8. package/dist/chunks/tree-utils-BYnipT-p.js +1 -0
  9. package/dist/chunks/zoo-CY2QpG41.js +52 -0
  10. package/dist/chunks/zoo-DgdxBjlN.js +390 -0
  11. package/dist/zooy.cjs.js +4 -4
  12. package/dist/zooy.es.js +226 -237
  13. package/package.json +1 -1
  14. package/dist/chunks/16-B2HVhDIW.js +0 -1
  15. package/dist/chunks/16-B9Ad4Fob.js +0 -19
  16. package/dist/chunks/16-BXsOcjPx.js +0 -19
  17. package/dist/chunks/16-BZCBqUx6.js +0 -1
  18. package/dist/chunks/16-BmOXGjZf.js +0 -1
  19. package/dist/chunks/16-BsQdCz_w.js +0 -27
  20. package/dist/chunks/16-C-Rp3Nso.js +0 -1
  21. package/dist/chunks/16-C36sVk5F.js +0 -26
  22. package/dist/chunks/16-CZycT1I8.js +0 -1
  23. package/dist/chunks/16-Ce_hDgPW.js +0 -1
  24. package/dist/chunks/16-CinLDpNC.js +0 -19
  25. package/dist/chunks/16-Cj0hOjaI.js +0 -1
  26. package/dist/chunks/16-Cx-PCMJJ.js +0 -26
  27. package/dist/chunks/16-D8XFc44J.js +0 -110
  28. package/dist/chunks/16-DVx7Niko.js +0 -33
  29. package/dist/chunks/16-DZJZDJYY.js +0 -1
  30. package/dist/chunks/16-DoCnqtvj.js +0 -35
  31. package/dist/chunks/16-DyCV3lkl.js +0 -19
  32. package/dist/chunks/16-SwMpxJpB.js +0 -19
  33. package/dist/chunks/16-jVjxC8Bu.js +0 -1
  34. package/dist/chunks/16-ma2Q_204.js +0 -1
  35. package/dist/chunks/16-qZ3FOIw0.js +0 -1
  36. package/dist/chunks/20-BwzzGcZC.js +0 -80
  37. package/dist/chunks/20-CqNSki3g.js +0 -1
  38. package/dist/chunks/accordion-0mybViUv.js +0 -236
  39. package/dist/chunks/accordion-CvcaulG8.js +0 -45
  40. package/dist/chunks/badge-indicator-BUdDkz6Z.js +0 -18
  41. package/dist/chunks/badge-indicator-DuYbJV5o.js +0 -1
  42. package/dist/chunks/breadcrumb-CYKgjbdB.js +0 -19
  43. package/dist/chunks/breadcrumb-DB0PkiBX.js +0 -140
  44. package/dist/chunks/button-1g5b3tWS.js +0 -268
  45. package/dist/chunks/button-BKj8189A.js +0 -4
  46. package/dist/chunks/button-DAOoyQ8b.js +0 -67
  47. package/dist/chunks/button-DfRkC-OR.js +0 -72
  48. package/dist/chunks/button-skeleton-C0mW3D7v.js +0 -44
  49. package/dist/chunks/button-skeleton-KFGdwtUH.js +0 -21
  50. package/dist/chunks/carbon-element-BsPGNbmz.js +0 -1
  51. package/dist/chunks/carbon-element-Z5iEnFdr.js +0 -24
  52. package/dist/chunks/checkbox-CBD8Qmjx.js +0 -37
  53. package/dist/chunks/checkbox-CewERWBu.js +0 -40
  54. package/dist/chunks/checkbox-CxxD4wgP.js +0 -176
  55. package/dist/chunks/checkbox-DKS7fw29.js +0 -168
  56. package/dist/chunks/class-map-BwUbMyhc.js +0 -1
  57. package/dist/chunks/class-map-qeLb1IA_.js +0 -27
  58. package/dist/chunks/code-snippet-BJhK27fG.js +0 -205
  59. package/dist/chunks/code-snippet-BUQFh_v7.js +0 -53
  60. package/dist/chunks/collection-helpers-DPVzwwb8.js +0 -7
  61. package/dist/chunks/collection-helpers-g7DrZSRQ.js +0 -1
  62. package/dist/chunks/combo-box-BCOUQHyG.js +0 -39
  63. package/dist/chunks/combo-box-Bms5blM6.js +0 -325
  64. package/dist/chunks/combo-button-BSBAvBIW.js +0 -15
  65. package/dist/chunks/combo-button-Bc3hx7VJ.js +0 -92
  66. package/dist/chunks/component-library-registry-CJ1Yb_8E.js +0 -98
  67. package/dist/chunks/component-library-registry-Co7WzTfw.js +0 -1
  68. package/dist/chunks/content-switcher-BuLZ3Aae.js +0 -1
  69. package/dist/chunks/content-switcher-DIODRHwc.js +0 -2
  70. package/dist/chunks/content-switcher-item-0YPDXW1z.js +0 -27
  71. package/dist/chunks/content-switcher-item-DkRD8k8n.js +0 -272
  72. package/dist/chunks/copy-button-XD4reiTK.js +0 -121
  73. package/dist/chunks/copy-button-eI9B8iKc.js +0 -17
  74. package/dist/chunks/data-table-BImLEoIA.js +0 -1243
  75. package/dist/chunks/data-table-YLNCQhJx.js +0 -158
  76. package/dist/chunks/date-picker-CWIAwkKj.js +0 -66
  77. package/dist/chunks/date-picker-CXjiOkZH.js +0 -2167
  78. package/dist/chunks/decorate-Cnz2C5jL.js +0 -62
  79. package/dist/chunks/decorate-DT052P_1.js +0 -72
  80. package/dist/chunks/decorators-CHZSYVOk.js +0 -1
  81. package/dist/chunks/decorators-CK8kfuyw.js +0 -87
  82. package/dist/chunks/deep-shadow-contains-BlQ_KSu4.js +0 -15
  83. package/dist/chunks/deep-shadow-contains-OTuAt1VE.js +0 -1
  84. package/dist/chunks/directive-CtTB8jL3.js +0 -31
  85. package/dist/chunks/directive-DWoJrOxt.js +0 -1
  86. package/dist/chunks/dropdown-Cg9JduA5.js +0 -4
  87. package/dist/chunks/dropdown-item-CYwutWei.js +0 -677
  88. package/dist/chunks/dropdown-item-H53zayYk.js +0 -73
  89. package/dist/chunks/dropdown-jdFaaXEa.js +0 -32
  90. package/dist/chunks/file-uploader-6FOP_GAh.js +0 -79
  91. package/dist/chunks/file-uploader-BTk1MqcJ.js +0 -342
  92. package/dist/chunks/floating-controller-BphaSUPY.js +0 -1012
  93. package/dist/chunks/floating-controller-C4ivnNvp.js +0 -1
  94. package/dist/chunks/focus-C1mbe9-i.js +0 -1
  95. package/dist/chunks/focus-Dpis0wA_.js +0 -13
  96. package/dist/chunks/form-BEmId1-D.js +0 -20
  97. package/dist/chunks/form-BmSVyKnm.js +0 -1
  98. package/dist/chunks/form-DUzcwJO9.js +0 -23
  99. package/dist/chunks/form-crnrWPVH.js +0 -3
  100. package/dist/chunks/form-group-Dax3eYD4.js +0 -43
  101. package/dist/chunks/form-group-dIvuqjw2.js +0 -12
  102. package/dist/chunks/heading-BbB6mvMG.js +0 -47
  103. package/dist/chunks/heading-UN9MO1TN.js +0 -5
  104. package/dist/chunks/host-listener-BBI7oAFw.js +0 -37
  105. package/dist/chunks/host-listener-BzjpIsFF.js +0 -1
  106. package/dist/chunks/host-listener-CtA1D-wt.js +0 -1
  107. package/dist/chunks/host-listener-DJEakRMM.js +0 -17
  108. package/dist/chunks/icon-B_S1_kDJ.js +0 -1
  109. package/dist/chunks/icon-CINf5Icb.js +0 -28
  110. package/dist/chunks/icon-button-BtE0-oCE.js +0 -1
  111. package/dist/chunks/icon-button-CACU21y5.js +0 -16
  112. package/dist/chunks/icon-button-D2STrB4d.js +0 -6
  113. package/dist/chunks/icon-button-D569kvcZ.js +0 -84
  114. package/dist/chunks/icon-indicator-BkILzP5o.js +0 -1
  115. package/dist/chunks/icon-indicator-D_IHkSon.js +0 -445
  116. package/dist/chunks/icon-loader-B9uu2SkP.js +0 -7
  117. package/dist/chunks/icon-loader-CZ8MQjNl.js +0 -1
  118. package/dist/chunks/icon-loader-utils-BKulYpY6.js +0 -110
  119. package/dist/chunks/icon-loader-utils-C-vWa1iy.js +0 -1
  120. package/dist/chunks/if-defined-C4rY5CqG.js +0 -1
  121. package/dist/chunks/if-defined-DvPh-nZx.js +0 -5
  122. package/dist/chunks/if-non-empty-CqihXhSU.js +0 -1
  123. package/dist/chunks/if-non-empty-DIcT03Pc.js +0 -5
  124. package/dist/chunks/inline-loading-BIB-coVZ.js +0 -83
  125. package/dist/chunks/inline-loading-C4MpPNzv.js +0 -12
  126. package/dist/chunks/link-Bz8knkhr.js +0 -1
  127. package/dist/chunks/link-CyrOt3Yx.js +0 -24
  128. package/dist/chunks/link-DlDoN1r0.js +0 -1
  129. package/dist/chunks/link-MrslkhR7.js +0 -106
  130. package/dist/chunks/lit-BNk7ncU9.js +0 -3
  131. package/dist/chunks/lit-uyM4-HrV.js +0 -552
  132. package/dist/chunks/loading-CUUY8ITP.js +0 -68
  133. package/dist/chunks/loading-CX_B-YYv.js +0 -1
  134. package/dist/chunks/loading-SDDHeWof.js +0 -1
  135. package/dist/chunks/loading-icon-BsInpAjb.js +0 -16
  136. package/dist/chunks/loading-icon-iCI-C5ZG.js +0 -24
  137. package/dist/chunks/loading-xKooWNUJ.js +0 -2
  138. package/dist/chunks/menu-D2kFhclQ.js +0 -56
  139. package/dist/chunks/menu-DG7s9yXJ.js +0 -682
  140. package/dist/chunks/modal-C2EEHjQh.js +0 -27
  141. package/dist/chunks/modal-DEGWE2iT.js +0 -414
  142. package/dist/chunks/multi-select-BXST526m.js +0 -63
  143. package/dist/chunks/multi-select-CgDCOBWa.js +0 -384
  144. package/dist/chunks/notification-BEvb6zBP.js +0 -89
  145. package/dist/chunks/notification-DLOgEfr6.js +0 -426
  146. package/dist/chunks/number-input-CRIgLD3k.js +0 -284
  147. package/dist/chunks/number-input-CiXkIGVz.js +0 -76
  148. package/dist/chunks/on-D2_IwJad.js +0 -8
  149. package/dist/chunks/on-_BJL2XbM.js +0 -1
  150. package/dist/chunks/overflow-menu-BSMy7pUY.js +0 -34
  151. package/dist/chunks/overflow-menu-CGghH3Mz.js +0 -387
  152. package/dist/chunks/pagination-4SuGaSx6.js +0 -77
  153. package/dist/chunks/pagination-D7VFRyN2.js +0 -293
  154. package/dist/chunks/password-input-Cx2ItLqG.js +0 -68
  155. package/dist/chunks/password-input-NoZg_DjL.js +0 -210
  156. package/dist/chunks/popover--wvkgqdv.js +0 -1
  157. package/dist/chunks/popover-Ca4f4ZCE.js +0 -6
  158. package/dist/chunks/popover-content-BOaLSQt3.js +0 -15
  159. package/dist/chunks/popover-content-Bi-ydBhZ.js +0 -277
  160. package/dist/chunks/progress-bar-BTHREDPK.js +0 -101
  161. package/dist/chunks/progress-bar-p0YwLsuh.js +0 -22
  162. package/dist/chunks/progress-indicator-BP8k-xTC.js +0 -252
  163. package/dist/chunks/progress-indicator-cr687P29.js +0 -35
  164. package/dist/chunks/radio-button-CNOPBUK8.js +0 -396
  165. package/dist/chunks/radio-button-CU2ngHxo.js +0 -44
  166. package/dist/chunks/radio-group-manager-iPCcbWB8.js +0 -60
  167. package/dist/chunks/radio-group-manager-zfU1GLIW.js +0 -1
  168. package/dist/chunks/register-BXKEXKsC.js +0 -15
  169. package/dist/chunks/register-Bx7SlevL.js +0 -8198
  170. package/dist/chunks/register-CnJjkv07.js +0 -1
  171. package/dist/chunks/register-DqgfpeXv.js +0 -1399
  172. package/dist/chunks/search-BYWQ80wI.js +0 -4
  173. package/dist/chunks/search-BgSG9LA9.js +0 -22
  174. package/dist/chunks/search-CET7sHGW.js +0 -173
  175. package/dist/chunks/search-CUuRRsTX.js +0 -31
  176. package/dist/chunks/select-BifhTIxt.js +0 -37
  177. package/dist/chunks/select-Dh4AFZ2v.js +0 -4
  178. package/dist/chunks/select-item-BvwJ4Wc-.js +0 -77
  179. package/dist/chunks/select-item-DLWdT1CE.js +0 -272
  180. package/dist/chunks/shared-enums-BdDASwq-.js +0 -1
  181. package/dist/chunks/shared-enums-Cd0vBQFM.js +0 -6
  182. package/dist/chunks/skeleton-placeholder-Czj5sAeI.js +0 -28
  183. package/dist/chunks/skeleton-placeholder-aS-woCl8.js +0 -1
  184. package/dist/chunks/skeleton-text-BIHdj7Jx.js +0 -1
  185. package/dist/chunks/skeleton-text-CZ2bSuDE.js +0 -6
  186. package/dist/chunks/skeleton-text-DJrow5mh.js +0 -1
  187. package/dist/chunks/skeleton-text-INjLvc2Y.js +0 -71
  188. package/dist/chunks/slider-CoHP_UJ2.js +0 -878
  189. package/dist/chunks/slider-DhIZP9Ms.js +0 -246
  190. package/dist/chunks/stack-C66k74Zo.js +0 -1
  191. package/dist/chunks/stack-vrK3hQYJ.js +0 -85
  192. package/dist/chunks/structured-list-BWjXHFbX.js +0 -19
  193. package/dist/chunks/structured-list-lqhD2RqL.js +0 -234
  194. package/dist/chunks/tabs-DixpRz83.js +0 -58
  195. package/dist/chunks/tabs-DkIGB3cC.js +0 -316
  196. package/dist/chunks/tag-DpezbQqm.js +0 -93
  197. package/dist/chunks/tag-rQOD2v2s.js +0 -412
  198. package/dist/chunks/text-input-BYjtsh0H.js +0 -26
  199. package/dist/chunks/text-input-C2jRG8Lb.js +0 -72
  200. package/dist/chunks/text-input-DvygxhCJ.js +0 -4
  201. package/dist/chunks/text-input-DzSNpORC.js +0 -309
  202. package/dist/chunks/textarea-BZ34-RaT.js +0 -190
  203. package/dist/chunks/textarea-Be3YTme6.js +0 -57
  204. package/dist/chunks/tile-CQ9nINGM.js +0 -524
  205. package/dist/chunks/tile-DNWy90OU.js +0 -74
  206. package/dist/chunks/time-picker-CJ_ONMZi.js +0 -267
  207. package/dist/chunks/time-picker-DK_Lu3AK.js +0 -52
  208. package/dist/chunks/toggle-BBdusHAx.js +0 -36
  209. package/dist/chunks/toggle-Bfx6cOUM.js +0 -156
  210. package/dist/chunks/toggle-tip-CkH7fFX4.js +0 -46
  211. package/dist/chunks/toggle-tip-DF_GKfoM.js +0 -169
  212. package/dist/chunks/tooltip-COwRDvmc.js +0 -85
  213. package/dist/chunks/tooltip-DbGsUOZ8.js +0 -23
  214. package/dist/chunks/tooltip-content-BDcgoT6r.js +0 -1
  215. package/dist/chunks/tooltip-content-CkxKIMDr.js +0 -116
  216. package/dist/chunks/tree-utils-AeNlEhIR.js +0 -1
  217. package/dist/chunks/tree-view-BmoD8n0Y.js +0 -292
  218. package/dist/chunks/tree-view-Drfa7DNm.js +0 -82
  219. package/dist/chunks/unsafe-html-BP-z2WTp.js +0 -26
  220. package/dist/chunks/unsafe-html-Dego4Lbw.js +0 -1
  221. package/dist/chunks/validity-CMW3OiFU.js +0 -31
  222. package/dist/chunks/validity-zT-XWh2t.js +0 -1
  223. package/dist/chunks/zoo-Bb5HHyrn.js +0 -721
  224. package/dist/chunks/zoo-C_CBOaHL.js +0 -52
@@ -1,552 +0,0 @@
1
- var x = globalThis, k = x.ShadowRoot && (x.ShadyCSS === void 0 || x.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, D = /* @__PURE__ */ Symbol(), W = /* @__PURE__ */ new WeakMap(), tt = class {
2
- constructor(t, e, s) {
3
- if (this._$cssResult$ = !0, s !== D) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
4
- this.cssText = t, this.t = e;
5
- }
6
- get styleSheet() {
7
- let t = this.o;
8
- const e = this.t;
9
- if (k && t === void 0) {
10
- const s = e !== void 0 && e.length === 1;
11
- s && (t = W.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && W.set(e, t));
12
- }
13
- return t;
14
- }
15
- toString() {
16
- return this.cssText;
17
- }
18
- }, $t = (t) => new tt(typeof t == "string" ? t : t + "", void 0, D), Pt = (t, ...e) => new tt(t.length === 1 ? t[0] : e.reduce(((s, i, r) => s + ((n) => {
19
- if (n._$cssResult$ === !0) return n.cssText;
20
- if (typeof n == "number") return n;
21
- throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
22
- })(i) + t[r + 1]), t[0]), t, D), ut = (t, e) => {
23
- if (k) t.adoptedStyleSheets = e.map(((s) => s instanceof CSSStyleSheet ? s : s.styleSheet));
24
- else for (const s of e) {
25
- const i = document.createElement("style"), r = x.litNonce;
26
- r !== void 0 && i.setAttribute("nonce", r), i.textContent = s.cssText, t.appendChild(i);
27
- }
28
- }, q = k ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
29
- let s = "";
30
- for (const i of e.cssRules) s += i.cssText;
31
- return $t(s);
32
- })(t) : t, { is: _t, defineProperty: ft, getOwnPropertyDescriptor: At, getOwnPropertyNames: mt, getOwnPropertySymbols: vt, getPrototypeOf: yt } = Object, O = globalThis, Z = O.trustedTypes, gt = Z ? Z.emptyScript : "", Et = O.reactiveElementPolyfillSupport, E = (t, e) => t, T = {
33
- toAttribute(t, e) {
34
- switch (e) {
35
- case Boolean:
36
- t = t ? gt : null;
37
- break;
38
- case Object:
39
- case Array:
40
- t = t == null ? t : JSON.stringify(t);
41
- }
42
- return t;
43
- },
44
- fromAttribute(t, e) {
45
- let s = t;
46
- switch (e) {
47
- case Boolean:
48
- s = t !== null;
49
- break;
50
- case Number:
51
- s = t === null ? null : Number(t);
52
- break;
53
- case Object:
54
- case Array:
55
- try {
56
- s = JSON.parse(t);
57
- } catch {
58
- s = null;
59
- }
60
- }
61
- return s;
62
- }
63
- }, et = (t, e) => !_t(t, e), F = {
64
- attribute: !0,
65
- type: String,
66
- converter: T,
67
- reflect: !1,
68
- useDefault: !1,
69
- hasChanged: et
70
- };
71
- Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), O.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
72
- var v = class extends HTMLElement {
73
- static addInitializer(t) {
74
- this._$Ei(), (this.l ??= []).push(t);
75
- }
76
- static get observedAttributes() {
77
- return this.finalize(), this._$Eh && [...this._$Eh.keys()];
78
- }
79
- static createProperty(t, e = F) {
80
- if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
81
- const s = /* @__PURE__ */ Symbol(), i = this.getPropertyDescriptor(t, s, e);
82
- i !== void 0 && ft(this.prototype, t, i);
83
- }
84
- }
85
- static getPropertyDescriptor(t, e, s) {
86
- const { get: i, set: r } = At(this.prototype, t) ?? {
87
- get() {
88
- return this[e];
89
- },
90
- set(n) {
91
- this[e] = n;
92
- }
93
- };
94
- return {
95
- get: i,
96
- set(n) {
97
- const o = i?.call(this);
98
- r?.call(this, n), this.requestUpdate(t, o, s);
99
- },
100
- configurable: !0,
101
- enumerable: !0
102
- };
103
- }
104
- static getPropertyOptions(t) {
105
- return this.elementProperties.get(t) ?? F;
106
- }
107
- static _$Ei() {
108
- if (this.hasOwnProperty(E("elementProperties"))) return;
109
- const t = yt(this);
110
- t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
111
- }
112
- static finalize() {
113
- if (this.hasOwnProperty(E("finalized"))) return;
114
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(E("properties"))) {
115
- const e = this.properties, s = [...mt(e), ...vt(e)];
116
- for (const i of s) this.createProperty(i, e[i]);
117
- }
118
- const t = this[Symbol.metadata];
119
- if (t !== null) {
120
- const e = litPropertyMetadata.get(t);
121
- if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
122
- }
123
- this._$Eh = /* @__PURE__ */ new Map();
124
- for (const [e, s] of this.elementProperties) {
125
- const i = this._$Eu(e, s);
126
- i !== void 0 && this._$Eh.set(i, e);
127
- }
128
- this.elementStyles = this.finalizeStyles(this.styles);
129
- }
130
- static finalizeStyles(t) {
131
- const e = [];
132
- if (Array.isArray(t)) {
133
- const s = new Set(t.flat(1 / 0).reverse());
134
- for (const i of s) e.unshift(q(i));
135
- } else t !== void 0 && e.push(q(t));
136
- return e;
137
- }
138
- static _$Eu(t, e) {
139
- const s = e.attribute;
140
- return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
141
- }
142
- constructor() {
143
- super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
144
- }
145
- _$Ev() {
146
- this._$ES = new Promise(((t) => this.enableUpdating = t)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((t) => t(this)));
147
- }
148
- addController(t) {
149
- (this._$EO ??= /* @__PURE__ */ new Set()).add(t), this.renderRoot !== void 0 && this.isConnected && t.hostConnected?.();
150
- }
151
- removeController(t) {
152
- this._$EO?.delete(t);
153
- }
154
- _$E_() {
155
- const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
156
- for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
157
- t.size > 0 && (this._$Ep = t);
158
- }
159
- createRenderRoot() {
160
- const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
161
- return ut(t, this.constructor.elementStyles), t;
162
- }
163
- connectedCallback() {
164
- this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach(((t) => t.hostConnected?.()));
165
- }
166
- enableUpdating(t) {
167
- }
168
- disconnectedCallback() {
169
- this._$EO?.forEach(((t) => t.hostDisconnected?.()));
170
- }
171
- attributeChangedCallback(t, e, s) {
172
- this._$AK(t, s);
173
- }
174
- _$ET(t, e) {
175
- const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
176
- if (i !== void 0 && s.reflect === !0) {
177
- const r = (s.converter?.toAttribute !== void 0 ? s.converter : T).toAttribute(e, s.type);
178
- this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
179
- }
180
- }
181
- _$AK(t, e) {
182
- const s = this.constructor, i = s._$Eh.get(t);
183
- if (i !== void 0 && this._$Em !== i) {
184
- const r = s.getPropertyOptions(i), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : T;
185
- this._$Em = i;
186
- const o = n.fromAttribute(e, r.type);
187
- this[i] = o ?? this._$Ej?.get(i) ?? o, this._$Em = null;
188
- }
189
- }
190
- requestUpdate(t, e, s) {
191
- if (t !== void 0) {
192
- const i = this.constructor, r = this[t];
193
- if (s ??= i.getPropertyOptions(t), !((s.hasChanged ?? et)(r, e) || s.useDefault && s.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(i._$Eu(t, s)))) return;
194
- this.C(t, e, s);
195
- }
196
- this.isUpdatePending === !1 && (this._$ES = this._$EP());
197
- }
198
- C(t, e, { useDefault: s, reflect: i, wrapped: r }, n) {
199
- s && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t) && (this._$Ej.set(t, n ?? e ?? this[t]), r !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t));
200
- }
201
- async _$EP() {
202
- this.isUpdatePending = !0;
203
- try {
204
- await this._$ES;
205
- } catch (e) {
206
- Promise.reject(e);
207
- }
208
- const t = this.scheduleUpdate();
209
- return t != null && await t, !this.isUpdatePending;
210
- }
211
- scheduleUpdate() {
212
- return this.performUpdate();
213
- }
214
- performUpdate() {
215
- if (!this.isUpdatePending) return;
216
- if (!this.hasUpdated) {
217
- if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
218
- for (const [i, r] of this._$Ep) this[i] = r;
219
- this._$Ep = void 0;
220
- }
221
- const s = this.constructor.elementProperties;
222
- if (s.size > 0) for (const [i, r] of s) {
223
- const { wrapped: n } = r, o = this[i];
224
- n !== !0 || this._$AL.has(i) || o === void 0 || this.C(i, void 0, r, o);
225
- }
226
- }
227
- let t = !1;
228
- const e = this._$AL;
229
- try {
230
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach(((s) => s.hostUpdate?.())), this.update(e)) : this._$EM();
231
- } catch (s) {
232
- throw t = !1, this._$EM(), s;
233
- }
234
- t && this._$AE(e);
235
- }
236
- willUpdate(t) {
237
- }
238
- _$AE(t) {
239
- this._$EO?.forEach(((e) => e.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
240
- }
241
- _$EM() {
242
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
243
- }
244
- get updateComplete() {
245
- return this.getUpdateComplete();
246
- }
247
- getUpdateComplete() {
248
- return this._$ES;
249
- }
250
- shouldUpdate(t) {
251
- return !0;
252
- }
253
- update(t) {
254
- this._$Eq &&= this._$Eq.forEach(((e) => this._$ET(e, this[e]))), this._$EM();
255
- }
256
- updated(t) {
257
- }
258
- firstUpdated(t) {
259
- }
260
- };
261
- v.elementStyles = [], v.shadowRootOptions = { mode: "open" }, v[E("elementProperties")] = /* @__PURE__ */ new Map(), v[E("finalized")] = /* @__PURE__ */ new Map(), Et?.({ ReactiveElement: v }), (O.reactiveElementVersions ??= []).push("2.1.1");
262
- var L = globalThis, H = L.trustedTypes, J = H ? H.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, j = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, z = "?" + $, St = `<${z}>`, A = document, S = () => A.createComment(""), b = (t) => t === null || typeof t != "object" && typeof t != "function", I = Array.isArray, st = (t) => I(t) || typeof t?.[Symbol.iterator] == "function", N = `[
263
- \f\r]`, g = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, K = /-->/g, G = />/g, _ = RegExp(`>|${N}(?:([^\\s"'>=/]+)(${N}*=${N}*(?:[^
264
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, it = /^(?:script|style|textarea|title)$/i, B = (t) => (e, ...s) => ({
265
- _$litType$: t,
266
- strings: e,
267
- values: s
268
- }), xt = B(1), Ut = B(2), Ht = B(3), y = /* @__PURE__ */ Symbol.for("lit-noChange"), c = /* @__PURE__ */ Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), f = A.createTreeWalker(A, 129);
269
- function rt(t, e) {
270
- if (!I(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
271
- return J !== void 0 ? J.createHTML(e) : e;
272
- }
273
- var nt = (t, e) => {
274
- const s = t.length - 1, i = [];
275
- let r, n = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = g;
276
- for (let h = 0; h < s; h++) {
277
- const a = t[h];
278
- let C, d, l = -1, p = 0;
279
- for (; p < a.length && (o.lastIndex = p, d = o.exec(a), d !== null); ) p = o.lastIndex, o === g ? d[1] === "!--" ? o = K : d[1] !== void 0 ? o = G : d[2] !== void 0 ? (it.test(d[2]) && (r = RegExp("</" + d[2], "g")), o = _) : d[3] !== void 0 && (o = _) : o === _ ? d[0] === ">" ? (o = r ?? g, l = -1) : d[1] === void 0 ? l = -2 : (l = o.lastIndex - d[2].length, C = d[1], o = d[3] === void 0 ? _ : d[3] === '"' ? X : Q) : o === X || o === Q ? o = _ : o === K || o === G ? o = g : (o = _, r = void 0);
280
- const u = o === _ && t[h + 1].startsWith("/>") ? " " : "";
281
- n += o === g ? a + St : l >= 0 ? (i.push(C), a.slice(0, l) + j + a.slice(l) + $ + u) : a + $ + (l === -2 ? h : u);
282
- }
283
- return [rt(t, n + (t[s] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
284
- }, R = class ot {
285
- constructor({ strings: e, _$litType$: s }, i) {
286
- let r;
287
- this.parts = [];
288
- let n = 0, o = 0;
289
- const h = e.length - 1, a = this.parts, [C, d] = nt(e, s);
290
- if (this.el = ot.createElement(C, i), f.currentNode = this.el.content, s === 2 || s === 3) {
291
- const l = this.el.content.firstChild;
292
- l.replaceWith(...l.childNodes);
293
- }
294
- for (; (r = f.nextNode()) !== null && a.length < h; ) {
295
- if (r.nodeType === 1) {
296
- if (r.hasAttributes()) for (const l of r.getAttributeNames()) if (l.endsWith(j)) {
297
- const p = d[o++], u = r.getAttribute(l).split($), P = /([.?@])?(.*)/.exec(p);
298
- a.push({
299
- type: 1,
300
- index: n,
301
- name: P[2],
302
- strings: u,
303
- ctor: P[1] === "." ? lt : P[1] === "?" ? ct : P[1] === "@" ? dt : w
304
- }), r.removeAttribute(l);
305
- } else l.startsWith($) && (a.push({
306
- type: 6,
307
- index: n
308
- }), r.removeAttribute(l));
309
- if (it.test(r.tagName)) {
310
- const l = r.textContent.split($), p = l.length - 1;
311
- if (p > 0) {
312
- r.textContent = H ? H.emptyScript : "";
313
- for (let u = 0; u < p; u++) r.append(l[u], S()), f.nextNode(), a.push({
314
- type: 2,
315
- index: ++n
316
- });
317
- r.append(l[p], S());
318
- }
319
- }
320
- } else if (r.nodeType === 8) if (r.data === z) a.push({
321
- type: 2,
322
- index: n
323
- });
324
- else {
325
- let l = -1;
326
- for (; (l = r.data.indexOf($, l + 1)) !== -1; ) a.push({
327
- type: 7,
328
- index: n
329
- }), l += $.length - 1;
330
- }
331
- n++;
332
- }
333
- }
334
- static createElement(e, s) {
335
- const i = A.createElement("template");
336
- return i.innerHTML = e, i;
337
- }
338
- };
339
- function m(t, e, s = t, i) {
340
- if (e === y) return e;
341
- let r = i !== void 0 ? s._$Co?.[i] : s._$Cl;
342
- const n = b(e) ? void 0 : e._$litDirective$;
343
- return r?.constructor !== n && (r?._$AO?.(!1), n === void 0 ? r = void 0 : (r = new n(t), r._$AT(t, s, i)), i !== void 0 ? (s._$Co ??= [])[i] = r : s._$Cl = r), r !== void 0 && (e = m(t, r._$AS(t, e.values), r, i)), e;
344
- }
345
- var ht = class {
346
- constructor(t, e) {
347
- this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
348
- }
349
- get parentNode() {
350
- return this._$AM.parentNode;
351
- }
352
- get _$AU() {
353
- return this._$AM._$AU;
354
- }
355
- u(t) {
356
- const { el: { content: e }, parts: s } = this._$AD, i = (t?.creationScope ?? A).importNode(e, !0);
357
- f.currentNode = i;
358
- let r = f.nextNode(), n = 0, o = 0, h = s[0];
359
- for (; h !== void 0; ) {
360
- if (n === h.index) {
361
- let a;
362
- h.type === 2 ? a = new M(r, r.nextSibling, this, t) : h.type === 1 ? a = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (a = new pt(r, this, t)), this._$AV.push(a), h = s[++o];
363
- }
364
- n !== h?.index && (r = f.nextNode(), n++);
365
- }
366
- return f.currentNode = A, i;
367
- }
368
- p(t) {
369
- let e = 0;
370
- for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
371
- }
372
- }, M = class at {
373
- get _$AU() {
374
- return this._$AM?._$AU ?? this._$Cv;
375
- }
376
- constructor(e, s, i, r) {
377
- this.type = 2, this._$AH = c, this._$AN = void 0, this._$AA = e, this._$AB = s, this._$AM = i, this.options = r, this._$Cv = r?.isConnected ?? !0;
378
- }
379
- get parentNode() {
380
- let e = this._$AA.parentNode;
381
- const s = this._$AM;
382
- return s !== void 0 && e?.nodeType === 11 && (e = s.parentNode), e;
383
- }
384
- get startNode() {
385
- return this._$AA;
386
- }
387
- get endNode() {
388
- return this._$AB;
389
- }
390
- _$AI(e, s = this) {
391
- e = m(this, e, s), b(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== y && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : st(e) ? this.k(e) : this._(e);
392
- }
393
- O(e) {
394
- return this._$AA.parentNode.insertBefore(e, this._$AB);
395
- }
396
- T(e) {
397
- this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
398
- }
399
- _(e) {
400
- this._$AH !== c && b(this._$AH) ? this._$AA.nextSibling.data = e : this.T(A.createTextNode(e)), this._$AH = e;
401
- }
402
- $(e) {
403
- const { values: s, _$litType$: i } = e, r = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = R.createElement(rt(i.h, i.h[0]), this.options)), i);
404
- if (this._$AH?._$AD === r) this._$AH.p(s);
405
- else {
406
- const n = new ht(r, this), o = n.u(this.options);
407
- n.p(s), this.T(o), this._$AH = n;
408
- }
409
- }
410
- _$AC(e) {
411
- let s = Y.get(e.strings);
412
- return s === void 0 && Y.set(e.strings, s = new R(e)), s;
413
- }
414
- k(e) {
415
- I(this._$AH) || (this._$AH = [], this._$AR());
416
- const s = this._$AH;
417
- let i, r = 0;
418
- for (const n of e) r === s.length ? s.push(i = new at(this.O(S()), this.O(S()), this, this.options)) : i = s[r], i._$AI(n), r++;
419
- r < s.length && (this._$AR(i && i._$AB.nextSibling, r), s.length = r);
420
- }
421
- _$AR(e = this._$AA.nextSibling, s) {
422
- for (this._$AP?.(!1, !0, s); e !== this._$AB; ) {
423
- const i = e.nextSibling;
424
- e.remove(), e = i;
425
- }
426
- }
427
- setConnected(e) {
428
- this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
429
- }
430
- }, w = class {
431
- get tagName() {
432
- return this.element.tagName;
433
- }
434
- get _$AU() {
435
- return this._$AM._$AU;
436
- }
437
- constructor(t, e, s, i, r) {
438
- this.type = 1, this._$AH = c, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(/* @__PURE__ */ new String()), this.strings = s) : this._$AH = c;
439
- }
440
- _$AI(t, e = this, s, i) {
441
- const r = this.strings;
442
- let n = !1;
443
- if (r === void 0) t = m(this, t, e, 0), n = !b(t) || t !== this._$AH && t !== y, n && (this._$AH = t);
444
- else {
445
- const o = t;
446
- let h, a;
447
- for (t = r[0], h = 0; h < r.length - 1; h++) a = m(this, o[s + h], e, h), a === y && (a = this._$AH[h]), n ||= !b(a) || a !== this._$AH[h], a === c ? t = c : t !== c && (t += (a ?? "") + r[h + 1]), this._$AH[h] = a;
448
- }
449
- n && !i && this.j(t);
450
- }
451
- j(t) {
452
- t === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
453
- }
454
- }, lt = class extends w {
455
- constructor() {
456
- super(...arguments), this.type = 3;
457
- }
458
- j(t) {
459
- this.element[this.name] = t === c ? void 0 : t;
460
- }
461
- }, ct = class extends w {
462
- constructor() {
463
- super(...arguments), this.type = 4;
464
- }
465
- j(t) {
466
- this.element.toggleAttribute(this.name, !!t && t !== c);
467
- }
468
- }, dt = class extends w {
469
- constructor(t, e, s, i, r) {
470
- super(t, e, s, i, r), this.type = 5;
471
- }
472
- _$AI(t, e = this) {
473
- if ((t = m(this, t, e, 0) ?? c) === y) return;
474
- const s = this._$AH, i = t === c && s !== c || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== c && (s === c || i);
475
- i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
476
- }
477
- handleEvent(t) {
478
- typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
479
- }
480
- }, pt = class {
481
- constructor(t, e, s) {
482
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
483
- }
484
- get _$AU() {
485
- return this._$AM._$AU;
486
- }
487
- _$AI(t) {
488
- m(this, t);
489
- }
490
- }, Ot = {
491
- M: j,
492
- P: $,
493
- A: z,
494
- C: 1,
495
- L: nt,
496
- R: ht,
497
- D: st,
498
- V: m,
499
- I: M,
500
- H: w,
501
- N: ct,
502
- U: dt,
503
- B: lt,
504
- F: pt
505
- }, bt = L.litHtmlPolyfillSupport;
506
- bt?.(R, M), (L.litHtmlVersions ??= []).push("3.3.1");
507
- var wt = (t, e, s) => {
508
- const i = s?.renderBefore ?? e;
509
- let r = i._$litPart$;
510
- if (r === void 0) {
511
- const n = s?.renderBefore ?? null;
512
- i._$litPart$ = r = new M(e.insertBefore(S(), n), n, void 0, s ?? {});
513
- }
514
- return r._$AI(t), r;
515
- }, V = globalThis, U = class extends v {
516
- constructor() {
517
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
518
- }
519
- createRenderRoot() {
520
- const t = super.createRenderRoot();
521
- return this.renderOptions.renderBefore ??= t.firstChild, t;
522
- }
523
- update(t) {
524
- const e = this.render();
525
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = wt(e, this.renderRoot, this.renderOptions);
526
- }
527
- connectedCallback() {
528
- super.connectedCallback(), this._$Do?.setConnected(!0);
529
- }
530
- disconnectedCallback() {
531
- super.disconnectedCallback(), this._$Do?.setConnected(!1);
532
- }
533
- render() {
534
- return y;
535
- }
536
- };
537
- U._$litElement$ = !0, U.finalized = !0, V.litElementHydrateSupport?.({ LitElement: U });
538
- var Ct = V.litElementPolyfillSupport;
539
- Ct?.({ LitElement: U });
540
- (V.litElementVersions ??= []).push("4.2.1");
541
- export {
542
- Ot as a,
543
- T as c,
544
- y as i,
545
- ut as l,
546
- wt as n,
547
- xt as o,
548
- c as r,
549
- et as s,
550
- U as t,
551
- Pt as u
552
- };
@@ -1,68 +0,0 @@
1
- import { o as v, t as f, u as g } from "./lit-uyM4-HrV.js";
2
- import { t as r } from "./decorate-DT052P_1.js";
3
- import { t as y } from "./carbon-element-Z5iEnFdr.js";
4
- import { i as s } from "./decorators-CK8kfuyw.js";
5
- import { t as b } from "./class-map-qeLb1IA_.js";
6
- import { t as h } from "./loading-icon-iCI-C5ZG.js";
7
- var c = /* @__PURE__ */ (function(d) {
8
- return d.REGULAR = "regular", d.SMALL = "small", d;
9
- })({}), m = g([".cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-background:var(--cds-layer-background-01,#fff);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-background:var(--cds-layer-background-02,#f4f4f4);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-background:var(--cds-layer-background-03,#fff);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}.cds--layer-one.cds--layer__with-background,.cds--layer-three.cds--layer__with-background,.cds--layer-two.cds--layer__with-background{background-color:var(--cds-layer-background)}.cds--loading,:host(cds-loading){border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--loading *,.cds--loading :after,.cds--loading :before,:host(cds-loading) *,:host(cds-loading) :after,:host(cds-loading) :before{box-sizing:inherit}.cds--loading,:host(cds-loading){animation-duration:.69s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:cds--rotate;animation-timing-function:linear}.cds--loading svg circle,:host(cds-loading) svg circle{animation-duration:10ms;animation-name:cds--init-stroke;animation-timing-function:cubic-bezier(.5,0,.1,1)}@media screen and (prefers-reduced-motion:reduce){.cds--loading svg circle,:host(cds-loading) svg circle{animation:none}}.cds--loading,:host(cds-loading){block-size:5.5rem;inline-size:5.5rem}.cds--loading__svg{fill:transparent}.cds--loading__svg circle{stroke-dasharray:276.4608 276.4608;stroke-linecap:butt;stroke-width:10}.cds--loading__stroke{stroke:var(--cds-interactive,#0f62fe);stroke-dashoffset:52.527552}.cds--loading--small .cds--loading__stroke,:host(cds-loading[small]) .cds--loading__stroke{stroke-dashoffset:143.759616}.cds--loading--stop,:host(cds-loading:not([active])){animation:cds--rotate-end-p1 .7s cubic-bezier(0,0,.25,1) forwards,cds--rotate-end-p2 .7s cubic-bezier(0,0,.25,1) .7s forwards}.cds--loading--stop svg circle,:host(cds-loading:not([active])) svg circle{animation-delay:.7s;animation-duration:.7s;animation-fill-mode:forwards;animation-name:cds--stroke-end;animation-timing-function:cubic-bezier(0,0,.25,1)}@media screen and (prefers-reduced-motion:reduce){.cds--loading--stop svg circle,:host(cds-loading:not([active])) svg circle{animation:none}}.cds--loading--small,:host(cds-loading[small]){block-size:1rem;inline-size:1rem;line-height:1rem}.cds--loading--small circle,:host(cds-loading[small]) circle{stroke-width:16}.cds--loading--small .cds--loading__svg,:host(cds-loading[small]) .cds--loading__svg{stroke:var(--cds-interactive,#0f62fe)}.cds--loading__background{stroke:var(--cds-layer-accent);stroke-dashoffset:-22}@supports (hanging-punctuation:first) and (font:-apple-system-body) and (-webkit-appearance:none){circle.cds--loading__background{stroke-dasharray:265;stroke-dashoffset:0}}.cds--loading-overlay,:host(cds-loading[overlay]){align-items:center;background-color:var(--cds-overlay,rgba(0,0,0,.6));block-size:100%;display:flex;inline-size:100%;inset-block-start:0;inset-inline-start:0;justify-content:center;position:fixed;transition:background-color .7s cubic-bezier(.4,.14,.3,1);z-index:6000}.cds--loading-overlay--stop{display:none}@keyframes cds--rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes cds--rotate-end-p1{to{transform:rotate(1turn)}}@keyframes cds--rotate-end-p2{to{transform:rotate(-1turn)}}@keyframes cds--init-stroke{0%{stroke-dashoffset:276.4608}to{stroke-dashoffset:52.527552}}@keyframes cds--stroke-end{0%{stroke-dashoffset:52.527552}to{stroke-dashoffset:276.4608}}:host(cds-loading){display:block}:host(cds-loading[overlay]){animation:none}.cds--loading__background[hidden]{display:none}"]), a = class extends f {
10
- constructor(...e) {
11
- super(...e), this.description = "Loading", this.small = !1, this.overlay = !1, this.active = !1;
12
- }
13
- get assistiveText() {
14
- return this.description;
15
- }
16
- set assistiveText(e) {
17
- this.description = e;
18
- }
19
- get type() {
20
- return this.small ? c.SMALL : c.REGULAR;
21
- }
22
- set type(e) {
23
- this.small = e == c.SMALL;
24
- }
25
- get inactive() {
26
- return !this.active;
27
- }
28
- set inactive(e) {
29
- this.active = !e;
30
- }
31
- render() {
32
- const { active: e, description: i, small: t, overlay: l } = this, n = b({
33
- "cds--loading": !0,
34
- "cds--loading--stop": !e,
35
- "cds--loading--small": t
36
- }), o = h({
37
- description: i,
38
- small: t
39
- });
40
- return l ? v`<div class="${n}">${o}</div>` : o;
41
- }
42
- static {
43
- this.styles = m;
44
- }
45
- };
46
- r([s({ attribute: "assistive-text" })], a.prototype, "assistiveText", null);
47
- r([s({ reflect: !0 })], a.prototype, "description", void 0);
48
- r([s()], a.prototype, "type", null);
49
- r([s({
50
- type: Boolean,
51
- reflect: !0
52
- })], a.prototype, "small", void 0);
53
- r([s({
54
- type: Boolean,
55
- reflect: !0
56
- })], a.prototype, "overlay", void 0);
57
- r([s({
58
- type: Boolean,
59
- reflect: !0
60
- })], a.prototype, "inactive", null);
61
- r([s({
62
- type: Boolean,
63
- reflect: !0
64
- })], a.prototype, "active", void 0);
65
- a = r([y("cds-loading")], a);
66
- export {
67
- c as t
68
- };
@@ -1 +0,0 @@
1
- const t=require("./lit-BNk7ncU9.js"),a=require("./decorate-Cnz2C5jL.js"),g=require("./carbon-element-BsPGNbmz.js"),s=require("./decorators-CHZSYVOk.js"),f=require("./class-map-BwUbMyhc.js"),y=require("./loading-icon-BsInpAjb.js");var c=(function(d){return d.REGULAR="regular",d.SMALL="small",d})({}),u=t.i$1([".cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-background:var(--cds-layer-background-01,#fff);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-background:var(--cds-layer-background-02,#f4f4f4);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-background:var(--cds-layer-background-03,#fff);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}.cds--layer-one.cds--layer__with-background,.cds--layer-three.cds--layer__with-background,.cds--layer-two.cds--layer__with-background{background-color:var(--cds-layer-background)}.cds--loading,:host(cds-loading){border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--loading *,.cds--loading :after,.cds--loading :before,:host(cds-loading) *,:host(cds-loading) :after,:host(cds-loading) :before{box-sizing:inherit}.cds--loading,:host(cds-loading){animation-duration:.69s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:cds--rotate;animation-timing-function:linear}.cds--loading svg circle,:host(cds-loading) svg circle{animation-duration:10ms;animation-name:cds--init-stroke;animation-timing-function:cubic-bezier(.5,0,.1,1)}@media screen and (prefers-reduced-motion:reduce){.cds--loading svg circle,:host(cds-loading) svg circle{animation:none}}.cds--loading,:host(cds-loading){block-size:5.5rem;inline-size:5.5rem}.cds--loading__svg{fill:transparent}.cds--loading__svg circle{stroke-dasharray:276.4608 276.4608;stroke-linecap:butt;stroke-width:10}.cds--loading__stroke{stroke:var(--cds-interactive,#0f62fe);stroke-dashoffset:52.527552}.cds--loading--small .cds--loading__stroke,:host(cds-loading[small]) .cds--loading__stroke{stroke-dashoffset:143.759616}.cds--loading--stop,:host(cds-loading:not([active])){animation:cds--rotate-end-p1 .7s cubic-bezier(0,0,.25,1) forwards,cds--rotate-end-p2 .7s cubic-bezier(0,0,.25,1) .7s forwards}.cds--loading--stop svg circle,:host(cds-loading:not([active])) svg circle{animation-delay:.7s;animation-duration:.7s;animation-fill-mode:forwards;animation-name:cds--stroke-end;animation-timing-function:cubic-bezier(0,0,.25,1)}@media screen and (prefers-reduced-motion:reduce){.cds--loading--stop svg circle,:host(cds-loading:not([active])) svg circle{animation:none}}.cds--loading--small,:host(cds-loading[small]){block-size:1rem;inline-size:1rem;line-height:1rem}.cds--loading--small circle,:host(cds-loading[small]) circle{stroke-width:16}.cds--loading--small .cds--loading__svg,:host(cds-loading[small]) .cds--loading__svg{stroke:var(--cds-interactive,#0f62fe)}.cds--loading__background{stroke:var(--cds-layer-accent);stroke-dashoffset:-22}@supports (hanging-punctuation:first) and (font:-apple-system-body) and (-webkit-appearance:none){circle.cds--loading__background{stroke-dasharray:265;stroke-dashoffset:0}}.cds--loading-overlay,:host(cds-loading[overlay]){align-items:center;background-color:var(--cds-overlay,rgba(0,0,0,.6));block-size:100%;display:flex;inline-size:100%;inset-block-start:0;inset-inline-start:0;justify-content:center;position:fixed;transition:background-color .7s cubic-bezier(.4,.14,.3,1);z-index:6000}.cds--loading-overlay--stop{display:none}@keyframes cds--rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes cds--rotate-end-p1{to{transform:rotate(1turn)}}@keyframes cds--rotate-end-p2{to{transform:rotate(-1turn)}}@keyframes cds--init-stroke{0%{stroke-dashoffset:276.4608}to{stroke-dashoffset:52.527552}}@keyframes cds--stroke-end{0%{stroke-dashoffset:52.527552}to{stroke-dashoffset:276.4608}}:host(cds-loading){display:block}:host(cds-loading[overlay]){animation:none}.cds--loading__background[hidden]{display:none}"]),r=class extends t.i{constructor(...e){super(...e),this.description="Loading",this.small=!1,this.overlay=!1,this.active=!1}get assistiveText(){return this.description}set assistiveText(e){this.description=e}get type(){return this.small?c.SMALL:c.REGULAR}set type(e){this.small=e==c.SMALL}get inactive(){return!this.active}set inactive(e){this.active=!e}render(){const{active:e,description:n,small:o,overlay:l}=this,v=f.e({"cds--loading":!0,"cds--loading--stop":!e,"cds--loading--small":o}),i=y.loading_icon_default({description:n,small:o});return l?t.x`<div class="${v}">${i}</div>`:i}static{this.styles=u}};a.__decorate([s.n({attribute:"assistive-text"})],r.prototype,"assistiveText",null);a.__decorate([s.n({reflect:!0})],r.prototype,"description",void 0);a.__decorate([s.n()],r.prototype,"type",null);a.__decorate([s.n({type:Boolean,reflect:!0})],r.prototype,"small",void 0);a.__decorate([s.n({type:Boolean,reflect:!0})],r.prototype,"overlay",void 0);a.__decorate([s.n({type:Boolean,reflect:!0})],r.prototype,"inactive",null);a.__decorate([s.n({type:Boolean,reflect:!0})],r.prototype,"active",void 0);r=a.__decorate([g.carbonElement("cds-loading")],r);Object.defineProperty(exports,"LOADING_TYPE",{enumerable:!0,get:function(){return c}});
@@ -1 +0,0 @@
1
- require("./loading-CX_B-YYv.js");require("./loading-icon-BsInpAjb.js");
@@ -1,16 +0,0 @@
1
- const i=require("./lit-BNk7ncU9.js");require("./decorate-Cnz2C5jL.js");var n=({description:e,small:r})=>{const c=r?"42":"44";return i.x`
2
- <svg class="${"cds"}--loading__svg" viewBox="0 0 100 100">
3
- ${e?i.x` <title>${e}</title> `:void 0}
4
- <circle
5
- ?hidden="${!r}"
6
- class="${"cds"}--loading__background"
7
- cx="50%"
8
- cy="50%"
9
- r="${c}" />
10
- <circle
11
- class="${"cds"}--loading__stroke"
12
- cx="50%"
13
- cy="50%"
14
- r="${c}" />
15
- </svg>
16
- `};Object.defineProperty(exports,"loading_icon_default",{enumerable:!0,get:function(){return n}});