@trintel/zooy 1.0.16 → 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 (213) 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-B2JEGXHR.js +267 -0
  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 +19 -1
  12. package/dist/zooy.es.js +1298 -20
  13. package/package.json +8 -6
  14. package/dist/chunks/16-30f5E9no.js +0 -1
  15. package/dist/chunks/16-4Ffg4DOO.js +0 -1
  16. package/dist/chunks/16-8pr5mbIO.js +0 -28
  17. package/dist/chunks/16-B56B50XT.js +0 -1
  18. package/dist/chunks/16-BFJN6B6d.js +0 -39
  19. package/dist/chunks/16-BTonF5Je.js +0 -29
  20. package/dist/chunks/16-BXti8Tu-.js +0 -62
  21. package/dist/chunks/16-BiShwKPX.js +0 -28
  22. package/dist/chunks/16-BwDdccyH.js +0 -33
  23. package/dist/chunks/16-C7Xs-wKv.js +0 -1
  24. package/dist/chunks/16-CDRTWf-C.js +0 -21
  25. package/dist/chunks/16-CMCRqVYz.js +0 -1
  26. package/dist/chunks/16-CSWwhDUY.js +0 -21
  27. package/dist/chunks/16-CpNRIuiB.js +0 -1
  28. package/dist/chunks/16-CqC9427V.js +0 -21
  29. package/dist/chunks/16-Cubm18Em.js +0 -1
  30. package/dist/chunks/16-D3Ol0pdg.js +0 -21
  31. package/dist/chunks/16-DH311Of_.js +0 -1
  32. package/dist/chunks/16-Dlq3qxDh.js +0 -1
  33. package/dist/chunks/16-Drl9-5Gn.js +0 -21
  34. package/dist/chunks/16-Dt4v0bcc.js +0 -1
  35. package/dist/chunks/16-DylBiJnm.js +0 -1
  36. package/dist/chunks/20-CQLnFcRb.js +0 -84
  37. package/dist/chunks/20-Df0dXwyx.js +0 -1
  38. package/dist/chunks/button-D3QMXGP6.js +0 -66
  39. package/dist/chunks/button-cEVHuDC9.js +0 -272
  40. package/dist/chunks/button-skeleton-BuDQrAgi.js +0 -21
  41. package/dist/chunks/button-skeleton-CxKOKEQr.js +0 -49
  42. package/dist/chunks/carbon-element-CbfPUYRT.js +0 -1
  43. package/dist/chunks/carbon-element-DzDuXiyl.js +0 -25
  44. package/dist/chunks/checkbox-B_b_oOJ5.js +0 -40
  45. package/dist/chunks/checkbox-CsuLOYIT.js +0 -201
  46. package/dist/chunks/class-map-BwrbvkxB.js +0 -5
  47. package/dist/chunks/class-map-CgGieoOz.js +0 -32
  48. package/dist/chunks/collection-helpers-Bk68Vaau.js +0 -7
  49. package/dist/chunks/collection-helpers-afBvMQaC.js +0 -1
  50. package/dist/chunks/content-switcher-item-C1gdd6k4.js +0 -351
  51. package/dist/chunks/content-switcher-item-c0sXBGJ-.js +0 -27
  52. package/dist/chunks/defs-C88lSWuJ.js +0 -1
  53. package/dist/chunks/defs-Do0OvCKd.js +0 -1165
  54. package/dist/chunks/directive-Dp4ZTz-F.js +0 -5
  55. package/dist/chunks/directive-kLG6oqUu.js +0 -27
  56. package/dist/chunks/dropdown-item-T1jCm1fo.js +0 -69
  57. package/dist/chunks/dropdown-item-Wc8Nj3w-.js +0 -632
  58. package/dist/chunks/focus-B3iymVyL.js +0 -1
  59. package/dist/chunks/focus-WnKGH_xB.js +0 -20
  60. package/dist/chunks/form-D6Tce4-W.js +0 -1
  61. package/dist/chunks/form-DpI-v6DA.js +0 -20
  62. package/dist/chunks/host-listener-CN245INl.js +0 -37
  63. package/dist/chunks/host-listener-DD3oGxvg.js +0 -16
  64. package/dist/chunks/host-listener-gxrTpxgv.js +0 -1
  65. package/dist/chunks/host-listener-rUcT_LUW.js +0 -1
  66. package/dist/chunks/icon-loader-CTCoE5GC.js +0 -7
  67. package/dist/chunks/icon-loader-C_ze306U.js +0 -1
  68. package/dist/chunks/icon-loader-utils-DSajrZop.js +0 -117
  69. package/dist/chunks/icon-loader-utils-DxaQOvJB.js +0 -5
  70. package/dist/chunks/if-defined-7syLabv-.js +0 -10
  71. package/dist/chunks/if-defined-CfI-rREy.js +0 -5
  72. package/dist/chunks/if-non-empty-CsjL_4Ck.js +0 -5
  73. package/dist/chunks/if-non-empty-Dp8CFMva.js +0 -1
  74. package/dist/chunks/index-24ucriY6.js +0 -4
  75. package/dist/chunks/index-5uuGFlSc.js +0 -1
  76. package/dist/chunks/index-ACUVets3.js +0 -188
  77. package/dist/chunks/index-B-VOos8Q.js +0 -108
  78. package/dist/chunks/index-B-qA_3dy.js +0 -52
  79. package/dist/chunks/index-B0PkuE0I.js +0 -188
  80. package/dist/chunks/index-B1QlHHpn.js +0 -381
  81. package/dist/chunks/index-B2dVOGmx.js +0 -458
  82. package/dist/chunks/index-BEAD73rD.js +0 -17
  83. package/dist/chunks/index-BEyeMcZh.js +0 -25
  84. package/dist/chunks/index-BJ3okuBC.js +0 -78
  85. package/dist/chunks/index-BJNdKx6x.js +0 -23
  86. package/dist/chunks/index-BL8xz2V4.js +0 -161
  87. package/dist/chunks/index-BL_Y57_H.js +0 -57
  88. package/dist/chunks/index-BLxE94Et.js +0 -3
  89. package/dist/chunks/index-BP0bDhTG.js +0 -2340
  90. package/dist/chunks/index-BUXzbqzT.js +0 -364
  91. package/dist/chunks/index-BVDZj6Fh.js +0 -76
  92. package/dist/chunks/index-BWqDKfds.js +0 -62
  93. package/dist/chunks/index-BaVSzIan.js +0 -79
  94. package/dist/chunks/index-BatQ1Mfz.js +0 -25
  95. package/dist/chunks/index-BefBe_sK.js +0 -19
  96. package/dist/chunks/index-BekoThXC.js +0 -49
  97. package/dist/chunks/index-BnOH6_4r.js +0 -103
  98. package/dist/chunks/index-Bnfa6YBY.js +0 -71
  99. package/dist/chunks/index-BrtdLKIG.js +0 -455
  100. package/dist/chunks/index-BtFYirUg.js +0 -44
  101. package/dist/chunks/index-BtHVJn7K.js +0 -75
  102. package/dist/chunks/index-Bu7ZAHDG.js +0 -12
  103. package/dist/chunks/index-BxRbUwdY.js +0 -30
  104. package/dist/chunks/index-ByQl0Dwz.js +0 -9
  105. package/dist/chunks/index-C-PAoN2Y.js +0 -25
  106. package/dist/chunks/index-C2-pFkgT.js +0 -406
  107. package/dist/chunks/index-C2r3MkpB.js +0 -252
  108. package/dist/chunks/index-C5DwYOee.js +0 -89
  109. package/dist/chunks/index-C5euLddc.js +0 -46
  110. package/dist/chunks/index-C89rc2i5.js +0 -35
  111. package/dist/chunks/index-C8IUL9KS.js +0 -22
  112. package/dist/chunks/index-C99Nf_aK.js +0 -15
  113. package/dist/chunks/index-CDaECc1q.js +0 -12
  114. package/dist/chunks/index-CIeU44CB.js +0 -97
  115. package/dist/chunks/index-CL8Un64Y.js +0 -150
  116. package/dist/chunks/index-CQ1zfW-Z.js +0 -22
  117. package/dist/chunks/index-CR6HxSEn.js +0 -15
  118. package/dist/chunks/index-CSH8oUIN.js +0 -36
  119. package/dist/chunks/index-CTB8Esah.js +0 -1
  120. package/dist/chunks/index-CX6f-3xD.js +0 -563
  121. package/dist/chunks/index-CXSCYGFC.js +0 -452
  122. package/dist/chunks/index-CZQ45Dj9.js +0 -1
  123. package/dist/chunks/index-Cc-HBEN2.js +0 -150
  124. package/dist/chunks/index-Cf3ALdZ-.js +0 -4
  125. package/dist/chunks/index-Cid77wr3.js +0 -45
  126. package/dist/chunks/index-ClBPGpC0.js +0 -129
  127. package/dist/chunks/index-CmXHpydu.js +0 -121
  128. package/dist/chunks/index-CsaKV6jI.js +0 -511
  129. package/dist/chunks/index-CvxrJ8vE.js +0 -39
  130. package/dist/chunks/index-Cy6EogCp.js +0 -429
  131. package/dist/chunks/index-CyTN35KA.js +0 -424
  132. package/dist/chunks/index-D3hwHwSn.js +0 -243
  133. package/dist/chunks/index-D6Eg6Zh4.js +0 -22
  134. package/dist/chunks/index-D7GY2E-B.js +0 -8
  135. package/dist/chunks/index-DCqxl0e0.js +0 -26
  136. package/dist/chunks/index-DDKqKtU4.js +0 -15
  137. package/dist/chunks/index-DHksIe-y.js +0 -1
  138. package/dist/chunks/index-DI-PunST.js +0 -224
  139. package/dist/chunks/index-DIWoAC3Z.js +0 -74
  140. package/dist/chunks/index-DLWyvZrE.js +0 -21
  141. package/dist/chunks/index-DLa-KLg_.js +0 -881
  142. package/dist/chunks/index-DLwGUJd2.js +0 -25
  143. package/dist/chunks/index-DMIKb9St.js +0 -2
  144. package/dist/chunks/index-DOfvb1f6.js +0 -79
  145. package/dist/chunks/index-DQoGlgyI.js +0 -1
  146. package/dist/chunks/index-DR8UmItB.js +0 -1
  147. package/dist/chunks/index-DUiT0Yz_.js +0 -57
  148. package/dist/chunks/index-DW1p-hc-.js +0 -1604
  149. package/dist/chunks/index-DbPU3mfX.js +0 -368
  150. package/dist/chunks/index-DgI4_4yz.js +0 -37
  151. package/dist/chunks/index-DhPg7DCD.js +0 -1
  152. package/dist/chunks/index-Dj-7w7wt.js +0 -65
  153. package/dist/chunks/index-DjSdHUmw.js +0 -284
  154. package/dist/chunks/index-DpCo2duE.js +0 -87
  155. package/dist/chunks/index-DqLDehu6.js +0 -111
  156. package/dist/chunks/index-Ds3e0NlH.js +0 -285
  157. package/dist/chunks/index-DsKNYemW.js +0 -295
  158. package/dist/chunks/index-DwGKd66A.js +0 -259
  159. package/dist/chunks/index-FAwjNd-C.js +0 -4
  160. package/dist/chunks/index-HTZtnvAV.js +0 -81
  161. package/dist/chunks/index-JUJu4Jsu.js +0 -235
  162. package/dist/chunks/index-JmiGhJR9.js +0 -1
  163. package/dist/chunks/index-K3aE8_a_.js +0 -45
  164. package/dist/chunks/index-LVNWqV95.js +0 -683
  165. package/dist/chunks/index-NduNWecG.js +0 -88
  166. package/dist/chunks/index-QOHPo0v8.js +0 -19
  167. package/dist/chunks/index-TnoTOPwm.js +0 -158
  168. package/dist/chunks/index-UIEjSWhu.js +0 -58
  169. package/dist/chunks/index-WQ40q6Fp.js +0 -77
  170. package/dist/chunks/index-a_56_OA-.js +0 -776
  171. package/dist/chunks/index-azaqRvif.js +0 -27
  172. package/dist/chunks/index-dT_yGOFJ.js +0 -1
  173. package/dist/chunks/index-kjtnf5Y1.js +0 -66
  174. package/dist/chunks/index-lOiJBnZe.js +0 -160
  175. package/dist/chunks/index-sl9jQQX-.js +0 -36
  176. package/dist/chunks/index-vkfOeAd5.js +0 -260
  177. package/dist/chunks/index-z2pAR1iR.js +0 -337
  178. package/dist/chunks/loading-icon-9-L_8sVv.js +0 -16
  179. package/dist/chunks/loading-icon-CMPQny72.js +0 -24
  180. package/dist/chunks/main-CXPn-jnk.js +0 -4260
  181. package/dist/chunks/main-CZIPBRMI.js +0 -88
  182. package/dist/chunks/on-BPhwbVf3.js +0 -10
  183. package/dist/chunks/on-XRofyGQh.js +0 -1
  184. package/dist/chunks/property-BIgIlh0E.js +0 -5
  185. package/dist/chunks/property-CTp3Zz2M.js +0 -36
  186. package/dist/chunks/query-CbRg6ZGy.js +0 -23
  187. package/dist/chunks/query-Dh8joWcT.js +0 -9
  188. package/dist/chunks/radio-group-manager-DBAEmhDM.js +0 -1
  189. package/dist/chunks/radio-group-manager-Du5wSOS1.js +0 -102
  190. package/dist/chunks/register-BgvWUC9m.js +0 -11035
  191. package/dist/chunks/register-CFDNay1l.js +0 -1
  192. package/dist/chunks/register-DyYwnhHb.js +0 -2157
  193. package/dist/chunks/register-HH_4Uw0Q.js +0 -1678
  194. package/dist/chunks/search-CC47funo.js +0 -241
  195. package/dist/chunks/search-DB4cjN-w.js +0 -31
  196. package/dist/chunks/select-item-D6rKfA9z.js +0 -80
  197. package/dist/chunks/select-item-Dj2fYOn6.js +0 -364
  198. package/dist/chunks/settings-Bgpv8zuU.js +0 -62
  199. package/dist/chunks/settings-jvP7vP60.js +0 -66
  200. package/dist/chunks/shared-enums-BJDDuJr7.js +0 -1
  201. package/dist/chunks/shared-enums-DALKjQ7e.js +0 -7
  202. package/dist/chunks/state-4XYw1ZN5.js +0 -12
  203. package/dist/chunks/state-BoZ0xvIn.js +0 -5
  204. package/dist/chunks/text-input-BUBwT5gK.js +0 -68
  205. package/dist/chunks/text-input-Dpl3TIYz.js +0 -372
  206. package/dist/chunks/tooltip-content-BV1N7BVi.js +0 -3
  207. package/dist/chunks/tooltip-content-UQcG3dlT.js +0 -135
  208. package/dist/chunks/tslib.es6-B07k2eac.js +0 -1
  209. package/dist/chunks/tslib.es6-C5gLNDSD.js +0 -160
  210. package/dist/chunks/unsafe-html-CCJqBESk.js +0 -5
  211. package/dist/chunks/unsafe-html-KUWR4Xn7.js +0 -27
  212. package/dist/chunks/validity-BMLNCMmP.js +0 -1
  213. package/dist/chunks/validity-CTz7ivUd.js +0 -59
@@ -1 +0,0 @@
1
- "use strict";const s=require("./settings-Bgpv8zuU.js"),t=o=>class extends o{focus(){if(this.shadowRoot.delegatesFocus)super.focus();else{const e=this.shadowRoot.querySelector(s.selectorTabbable)||this.querySelector(s.selectorTabbable);e?e.focus():super.focus()}}};exports.FocusMixin=t;
@@ -1,20 +0,0 @@
1
- import { s } from "./settings-jvP7vP60.js";
2
- const c = (o) => class extends o {
3
- /**
4
- * Focuses on the first focusable element in the shadow DOM.
5
- */
6
- focus() {
7
- if (this.shadowRoot.delegatesFocus)
8
- super.focus();
9
- else {
10
- const e = (
11
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452
12
- this.shadowRoot.querySelector(s) || this.querySelector(s)
13
- );
14
- e ? e.focus() : super.focus();
15
- }
16
- }
17
- };
18
- export {
19
- c as F
20
- };
@@ -1 +0,0 @@
1
- "use strict";const o=require("./on-XRofyGQh.js"),r=a=>{class s extends a{constructor(){super(...arguments),this._hFormdata=null}connectedCallback(){super.connectedCallback();const t=this.closest("form");t&&(this._hFormdata=o.on(t,"formdata",this._handleFormdata.bind(this)))}disconnectedCallback(){this._hFormdata&&(this._hFormdata=this._hFormdata.release()),super.disconnectedCallback()}}return s};exports.FormMixin=r;
@@ -1,20 +0,0 @@
1
- import { o as s } from "./on-BPhwbVf3.js";
2
- const n = (a) => {
3
- class o extends a {
4
- constructor() {
5
- super(...arguments), this._hFormdata = null;
6
- }
7
- connectedCallback() {
8
- super.connectedCallback();
9
- const t = this.closest("form");
10
- t && (this._hFormdata = s(t, "formdata", this._handleFormdata.bind(this)));
11
- }
12
- disconnectedCallback() {
13
- this._hFormdata && (this._hFormdata = this._hFormdata.release()), super.disconnectedCallback();
14
- }
15
- }
16
- return o;
17
- };
18
- export {
19
- n as F
20
- };
@@ -1,37 +0,0 @@
1
- import { o as l } from "./on-BPhwbVf3.js";
2
- const u = /^((document|window|parentRoot|shadowRoot):)?([\w-]+)$/, _ = (a) => {
3
- class s extends a {
4
- constructor() {
5
- super(...arguments), this._handles = /* @__PURE__ */ new Set();
6
- }
7
- connectedCallback() {
8
- super.connectedCallback();
9
- const t = this.constructor._hostListeners;
10
- Object.keys(t).forEach((o) => {
11
- Object.keys(t[o]).forEach((n) => {
12
- var e;
13
- const c = u.exec(n);
14
- if (!c)
15
- throw new Error(`Could not parse the event name: ${o}`);
16
- const [, , i, r] = c, h = {
17
- document: this.ownerDocument,
18
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452
19
- window: this.ownerDocument.defaultView,
20
- parentRoot: this.getRootNode(),
21
- shadowRoot: this.shadowRoot
22
- }[i] || this, { options: d } = t[o][n];
23
- this._handles.add(l(h, (e = this.constructor[r]) !== null && e !== void 0 ? e : r, this[o], d));
24
- });
25
- });
26
- }
27
- disconnectedCallback() {
28
- this._handles.forEach((t) => {
29
- t.release(), this._handles.delete(t);
30
- }), super.disconnectedCallback();
31
- }
32
- }
33
- return s._hostListeners = {}, s;
34
- };
35
- export {
36
- _ as H
37
- };
@@ -1,16 +0,0 @@
1
- const r = (s, n, e, t) => {
2
- const o = e._hostListeners;
3
- if (!o)
4
- throw new Error("The method `@HostListener()` is defined on has to be of a class that has `HostListerMixin`.");
5
- o[t] || (o[t] = {}), o[t][s] = { options: n };
6
- }, h = (s, n, e) => {
7
- const { kind: t, key: o, placement: i } = e;
8
- if (!(t === "method" && i === "prototype" || t === "field" && i === "own"))
9
- throw new Error("`@HostListener()` must be defined on instance methods, but you may have defined it on static, field, etc.");
10
- return Object.assign(Object.assign({}, e), { finisher(d) {
11
- r(s, n, d, o);
12
- } });
13
- }, c = (s, n) => (e, t) => typeof t < "u" ? r(s, n, e.constructor, t) : h(s, n, e);
14
- export {
15
- c as H
16
- };
@@ -1 +0,0 @@
1
- "use strict";const u=require("./on-XRofyGQh.js"),l=/^((document|window|parentRoot|shadowRoot):)?([\w-]+)$/,w=i=>{class s extends i{constructor(){super(...arguments),this._handles=new Set}connectedCallback(){super.connectedCallback();const t=this.constructor._hostListeners;Object.keys(t).forEach(e=>{Object.keys(t[e]).forEach(n=>{var o;const c=l.exec(n);if(!c)throw new Error(`Could not parse the event name: ${e}`);const[,,a,r]=c,h={document:this.ownerDocument,window:this.ownerDocument.defaultView,parentRoot:this.getRootNode(),shadowRoot:this.shadowRoot}[a]||this,{options:d}=t[e][n];this._handles.add(u.on(h,(o=this.constructor[r])!==null&&o!==void 0?o:r,this[e],d))})})}disconnectedCallback(){this._handles.forEach(t=>{t.release(),this._handles.delete(t)}),super.disconnectedCallback()}}return s._hostListeners={},s};exports.HostListenerMixin=w;
@@ -1 +0,0 @@
1
- "use strict";const r=(s,n,e,t)=>{const o=e._hostListeners;if(!o)throw new Error("The method `@HostListener()` is defined on has to be of a class that has `HostListerMixin`.");o[t]||(o[t]={}),o[t][s]={options:n}},c=(s,n,e)=>{const{kind:t,key:o,placement:i}=e;if(!(t==="method"&&i==="prototype"||t==="field"&&i==="own"))throw new Error("`@HostListener()` must be defined on instance methods, but you may have defined it on static, field, etc.");return Object.assign(Object.assign({},e),{finisher(d){r(s,n,d,o)}})},h=(s,n)=>(e,t)=>typeof t<"u"?r(s,n,e.constructor,t):c(s,n,e);exports.HostListener=h;
@@ -1,7 +0,0 @@
1
- import { c as r } from "./icon-loader-utils-DSajrZop.js";
2
- function u(t, e = {}, n) {
3
- return t ? "default" in t || "attrs" in t && "content" in t ? r(t)(e) : t : null;
4
- }
5
- export {
6
- u as i
7
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("./icon-loader-utils-DxaQOvJB.js");function r(e,t={},a){return e?"default"in e||"attrs"in e&&"content"in e?n.createIconTemplate(e)(t):e:null}exports.iconLoader=r;
@@ -1,117 +0,0 @@
1
- import { e as v } from "./directive-kLG6oqUu.js";
2
- import { e as d } from "./unsafe-html-KUWR4Xn7.js";
3
- /**
4
- * @license
5
- * Copyright 2017 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- class s extends d {
9
- }
10
- s.directiveName = "unsafeSVG", s.resultType = 2;
11
- const m = v(s);
12
- function l(t, e) {
13
- var r = Object.keys(t);
14
- if (Object.getOwnPropertySymbols) {
15
- var n = Object.getOwnPropertySymbols(t);
16
- e && (n = n.filter(function(i) {
17
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
18
- })), r.push.apply(r, n);
19
- }
20
- return r;
21
- }
22
- function f(t) {
23
- for (var e = 1; e < arguments.length; e++) {
24
- var r = arguments[e] != null ? arguments[e] : {};
25
- e % 2 ? l(Object(r), !0).forEach(function(n) {
26
- O(t, n, r[n]);
27
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : l(Object(r)).forEach(function(n) {
28
- Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
29
- });
30
- }
31
- return t;
32
- }
33
- function O(t, e, r) {
34
- return e = j(e), e in t ? Object.defineProperty(t, e, {
35
- value: r,
36
- enumerable: !0,
37
- configurable: !0,
38
- writable: !0
39
- }) : t[e] = r, t;
40
- }
41
- function y(t, e) {
42
- if (t == null) return {};
43
- var r = {}, n = Object.keys(t), i, o;
44
- for (o = 0; o < n.length; o++)
45
- i = n[o], !(e.indexOf(i) >= 0) && (r[i] = t[i]);
46
- return r;
47
- }
48
- function b(t, e) {
49
- if (t == null) return {};
50
- var r = y(t, e), n, i;
51
- if (Object.getOwnPropertySymbols) {
52
- var o = Object.getOwnPropertySymbols(t);
53
- for (i = 0; i < o.length; i++)
54
- n = o[i], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(t, n) && (r[n] = t[n]);
55
- }
56
- return r;
57
- }
58
- function h(t, e) {
59
- if (typeof t != "object" || t === null) return t;
60
- var r = t[Symbol.toPrimitive];
61
- if (r !== void 0) {
62
- var n = r.call(t, e);
63
- if (typeof n != "object") return n;
64
- throw new TypeError("@@toPrimitive must return a primitive value.");
65
- }
66
- return (e === "string" ? String : Number)(t);
67
- }
68
- function j(t) {
69
- var e = h(t, "string");
70
- return typeof e == "symbol" ? e : String(e);
71
- }
72
- var w = ["width", "height", "viewBox"], P = ["tabindex"], x = {
73
- // Reference:
74
- // https://github.com/IBM/carbon-components-react/issues/1392
75
- // https://github.com/PolymerElements/iron-iconset-svg/pull/47
76
- // `focusable` is a string attribute which is why we do not use a boolean here
77
- focusable: "false",
78
- preserveAspectRatio: "xMidYMid meet"
79
- };
80
- function S() {
81
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = t.width, r = t.height, n = t.viewBox, i = n === void 0 ? "0 0 ".concat(e, " ").concat(r) : n, o = b(t, w), c = o.tabindex, u = b(o, P), a = f(f(f({}, x), u), {}, {
82
- width: e,
83
- height: r,
84
- viewBox: i
85
- });
86
- return a["aria-label"] || a["aria-labelledby"] || a.title ? (a.role = "img", c != null && (a.focusable = "true", a.tabindex = c)) : a["aria-hidden"] = !0, a;
87
- }
88
- function g(t) {
89
- return Object.keys(t).reduce(function(e, r, n) {
90
- var i = "".concat(r, '="').concat(t[r], '"');
91
- return n === 0 ? i : e + " " + i;
92
- }, "");
93
- }
94
- function _(t) {
95
- return "default" in t && t.default ? t.default : t;
96
- }
97
- function $(t, e = {}) {
98
- const r = _(t);
99
- r.attrs || (r.attrs = {});
100
- const n = Object.assign(Object.assign({}, r.attrs), e), i = S(n), o = g(i), u = (r.content || []).map((a) => typeof a == "string" ? a : p(a)).join("");
101
- return `<svg ${o}>${u}</svg>`;
102
- }
103
- function p(t) {
104
- if (typeof t == "string")
105
- return t;
106
- const { elem: e = "svg", attrs: r = {}, content: n = [] } = t, i = n.map(p).join(""), o = g(r);
107
- return `<${e} ${o}>${i}</${e}>`;
108
- }
109
- function B(t) {
110
- return (e = {}) => {
111
- const r = $(t, e);
112
- return m(r);
113
- };
114
- }
115
- export {
116
- B as c
117
- };
@@ -1,5 +0,0 @@
1
- "use strict";const v=require("./directive-Dp4ZTz-F.js"),d=require("./unsafe-html-CCJqBESk.js");/**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */class s extends d.e{}s.directiveName="unsafeSVG",s.resultType=2;const m=v.e(s);function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?l(Object(r),!0).forEach(function(n){O(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function O(t,e,r){return e=j(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function b(t,e){if(t==null)return{};var r=y(t,e),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function h(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function j(t){var e=h(t,"string");return typeof e=="symbol"?e:String(e)}var w=["width","height","viewBox"],P=["tabindex"],x={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function S(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.width,r=t.height,n=t.viewBox,i=n===void 0?"0 0 ".concat(e," ").concat(r):n,o=b(t,w),a=o.tabindex,u=b(o,P),c=f(f(f({},x),u),{},{width:e,height:r,viewBox:i});return c["aria-label"]||c["aria-labelledby"]||c.title?(c.role="img",a!=null&&(c.focusable="true",c.tabindex=a)):c["aria-hidden"]=!0,c}function g(t){return Object.keys(t).reduce(function(e,r,n){var i="".concat(r,'="').concat(t[r],'"');return n===0?i:e+" "+i},"")}function _(t){return"default"in t&&t.default?t.default:t}function A(t,e={}){const r=_(t);r.attrs||(r.attrs={});const n=Object.assign(Object.assign({},r.attrs),e),i=S(n),o=g(i),u=(r.content||[]).map(c=>typeof c=="string"?c:p(c)).join("");return`<svg ${o}>${u}</svg>`}function p(t){if(typeof t=="string")return t;const{elem:e="svg",attrs:r={},content:n=[]}=t,i=n.map(p).join(""),o=g(r);return`<${e} ${o}>${i}</${e}>`}function $(t){return(e={})=>{const r=A(t,e);return m(r)}}exports.createIconTemplate=$;
@@ -1,10 +0,0 @@
1
- import { E as r } from "./main-CXPn-jnk.js";
2
- /**
3
- * @license
4
- * Copyright 2018 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- const m = (o) => o ?? r;
8
- export {
9
- m as o
10
- };
@@ -1,5 +0,0 @@
1
- "use strict";const s=require("./main-CZIPBRMI.js");/**
2
- * @license
3
- * Copyright 2018 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */const t=o=>o??s.E;exports.o=t;
@@ -1,5 +0,0 @@
1
- import { o as n } from "./if-defined-7syLabv-.js";
2
- var d = (i) => n(i === "" ? void 0 : i ?? void 0);
3
- export {
4
- d as i
5
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("./if-defined-CfI-rREy.js");var d=i=>n.o(i===""?void 0:i??void 0);exports.ifNonEmpty=d;
@@ -1,4 +0,0 @@
1
- "use strict";const i=require("./text-input-BUBwT5gK.js"),s=require("./tslib.es6-B07k2eac.js"),r=require("./main-CZIPBRMI.js"),l=require("./property-BIgIlh0E.js"),o=require("./carbon-element-CbfPUYRT.js"),e=require("./settings-Bgpv8zuU.js");let t=class extends r.i{constructor(){super(...arguments),this.hideLabel=!1}render(){const{hideLabel:n}=this;return r.x`
2
- ${!n&&r.x` <span class="${e.prefix}--label ${e.prefix}--skeleton"></span> `}
3
- <div class="${e.prefix}--text-input ${e.prefix}--skeleton"></div>
4
- `}};t.styles=i.styles;s.__decorate([l.n({type:Boolean,reflect:!0,attribute:"hide-label"})],t.prototype,"hideLabel",void 0);t=s.__decorate([o.carbonElement(`${e.prefix}-text-input-skeleton`)],t);
@@ -1 +0,0 @@
1
- "use strict";const i=require("./button-D3QMXGP6.js"),u=require("./tslib.es6-B07k2eac.js"),p=require("./class-map-BwrbvkxB.js"),l=require("./main-CZIPBRMI.js"),g=require("./property-BIgIlh0E.js"),n=require("./settings-Bgpv8zuU.js"),h=require("./carbon-element-CbfPUYRT.js");require("./button-skeleton-BuDQrAgi.js");let a=class extends l.i{render(){return l.x`<slot></slot>`}connectedCallback(){super.connectedCallback(),this.setAttribute("role","list")}};a.styles=i.buttonStyles;a=u.__decorate([h.carbonElement(`${n.prefix}-button-set-base`)],a);var S=a;let c=class extends S{constructor(){super(...arguments),this.stacked=!1,this._hideSiblingMargin=()=>{var t;const r=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot");if(!r)return;const o=r.assignedElements().filter(s=>s.tagName.toLowerCase()===`${n.prefix}-button`),e=o.findIndex(s=>s.matches(":focus-within"));o.forEach((s,d)=>{const f=e>=0&&(d===e||d===e+1);s.toggleAttribute("hide-margin",f)})}}_handleSlotChange(t){t.target.assignedNodes().filter(e=>e.matches!==void 0?e.matches(this.constructor.selectorItem):!1).forEach((e,s)=>{e.setAttribute("kind",s===0?i.BUTTON_KIND.SECONDARY:i.BUTTON_KIND.PRIMARY)});const o=new CustomEvent(`${n.prefix}-btn-set-update`,{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(o)}connectedCallback(){var t;(t=super.connectedCallback)===null||t===void 0||t.call(this),this.addEventListener("focusin",this._hideSiblingMargin),this.addEventListener("focusout",this._hideSiblingMargin)}render(){const{stacked:t}=this,r={[`${n.prefix}--btn-set--stacked`]:t,[`${n.prefix}--btn-set`]:!0},o=p.e(r);return l.x`<slot class="${o} @slotchange="${this._handleSlotChange}"></slot>`}static get selectorItem(){return`${n.prefix}-button`}};c.styles=i.buttonStyles;u.__decorate([g.n({type:Boolean,reflect:!0})],c.prototype,"stacked",void 0);c=u.__decorate([h.carbonElement(`${n.prefix}-button-set`)],c);