@e1011/es-kit 1.0.34 → 1.0.38

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 (129) hide show
  1. package/dist/hooks/esm/index.css +27 -22
  2. package/dist/hooks/index.css +27 -22
  3. package/dist/lib/cjs/index.css +8 -3
  4. package/dist/lib/cjs/src/core/ui/components/container/FBox.js +1 -1
  5. package/dist/lib/cjs/src/core/ui/components/container/FBox.js.map +1 -1
  6. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js +1 -1
  7. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
  8. package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js +1 -1
  9. package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js.map +1 -1
  10. package/dist/lib/cjs/src/core/ui/components/icon/icon.module.scss.js +1 -1
  11. package/dist/lib/cjs/src/core/utils/webComponents/webComponent.utils.js +2 -0
  12. package/dist/lib/cjs/src/core/utils/webComponents/webComponent.utils.js.map +1 -0
  13. package/dist/lib/cjs/src/index.js +1 -1
  14. package/dist/lib/esm/index.css +8 -3
  15. package/dist/lib/esm/src/core/ui/components/container/FBox.js +1 -1
  16. package/dist/lib/esm/src/core/ui/components/container/FBox.js.map +1 -1
  17. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js +1 -1
  18. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  19. package/dist/lib/esm/src/core/ui/components/icon/IconWC.js +1 -1
  20. package/dist/lib/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
  21. package/dist/lib/esm/src/core/ui/components/icon/icon.module.scss.js +1 -1
  22. package/dist/lib/esm/src/core/utils/webComponents/webComponent.utils.js +2 -0
  23. package/dist/lib/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -0
  24. package/dist/lib/esm/src/index.js +1 -1
  25. package/dist/lib/src/core/ui/components/container/FBox.js +1 -1
  26. package/dist/lib/src/core/ui/components/container/FBox.js.map +1 -1
  27. package/dist/lib/src/core/ui/components/icon/IconBase.js +5 -5
  28. package/dist/lib/src/core/ui/components/icon/IconBase.js.map +1 -1
  29. package/dist/lib/src/core/ui/components/icon/IconWC.js +10 -15
  30. package/dist/lib/src/core/ui/components/icon/IconWC.js.map +1 -1
  31. package/dist/lib/src/core/utils/index.js +1 -1
  32. package/dist/lib/src/core/utils/index.js.map +1 -1
  33. package/dist/lib/src/core/utils/webComponents/exampleCustomElement.js +41 -0
  34. package/dist/lib/src/core/utils/webComponents/exampleCustomElement.js.map +1 -0
  35. package/dist/lib/src/core/utils/webComponents/index.js +2 -0
  36. package/dist/lib/src/core/utils/webComponents/index.js.map +1 -0
  37. package/dist/lib/src/core/utils/webComponents/webComponent.utils.js +29 -0
  38. package/dist/lib/src/core/utils/webComponents/webComponent.utils.js.map +1 -0
  39. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  40. package/dist/types/src/core/ui/components/container/Flex.d.ts +6 -6
  41. package/dist/types/src/core/ui/components/icon/IconBase.d.ts +12 -1
  42. package/dist/types/src/core/ui/components/icon/IconBase.d.ts.map +1 -1
  43. package/dist/types/src/core/ui/components/icon/IconWC.d.ts +12 -0
  44. package/dist/types/src/core/ui/components/icon/IconWC.d.ts.map +1 -1
  45. package/dist/types/src/core/utils/index.d.ts +1 -1
  46. package/dist/types/src/core/utils/index.d.ts.map +1 -1
  47. package/dist/types/src/core/utils/webComponents/exampleCustomElement.d.ts +7 -0
  48. package/dist/types/src/core/utils/webComponents/exampleCustomElement.d.ts.map +1 -0
  49. package/dist/types/src/core/utils/webComponents/index.d.ts +2 -0
  50. package/dist/types/src/core/utils/webComponents/index.d.ts.map +1 -0
  51. package/dist/types/src/core/utils/webComponents/webComponent.utils.d.ts +9 -0
  52. package/dist/types/src/core/utils/webComponents/webComponent.utils.d.ts.map +1 -0
  53. package/dist/ui/esm/index.css +8 -3
  54. package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js +2 -0
  55. package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js.map +1 -0
  56. package/dist/ui/esm/node_modules/core-js/internals/array-for-each.js +2 -0
  57. package/dist/ui/esm/node_modules/core-js/internals/array-for-each.js.map +1 -0
  58. package/dist/ui/esm/node_modules/core-js/internals/dom-iterables.js +2 -0
  59. package/dist/ui/esm/node_modules/core-js/internals/dom-iterables.js.map +1 -0
  60. package/dist/ui/esm/node_modules/core-js/internals/dom-token-list-prototype.js +2 -0
  61. package/dist/ui/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +1 -0
  62. package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +2 -0
  63. package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
  64. package/dist/ui/esm/node_modules/core-js/internals/inherit-if-required.js +2 -0
  65. package/dist/ui/esm/node_modules/core-js/internals/inherit-if-required.js.map +1 -0
  66. package/dist/ui/esm/node_modules/core-js/internals/is-pure.js +2 -0
  67. package/dist/ui/esm/node_modules/core-js/internals/is-pure.js.map +1 -0
  68. package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js +2 -0
  69. package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +1 -0
  70. package/dist/ui/esm/node_modules/core-js/internals/path.js +2 -0
  71. package/dist/ui/esm/node_modules/core-js/internals/path.js.map +1 -0
  72. package/dist/ui/esm/node_modules/core-js/internals/this-number-value.js +2 -0
  73. package/dist/ui/esm/node_modules/core-js/internals/this-number-value.js.map +1 -0
  74. package/dist/ui/esm/node_modules/core-js/modules/es.number.constructor.js +2 -0
  75. package/dist/ui/esm/node_modules/core-js/modules/es.number.constructor.js.map +1 -0
  76. package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.for-each.js +2 -0
  77. package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.for-each.js.map +1 -0
  78. package/dist/ui/esm/src/core/ui/components/container/FBox.js +1 -1
  79. package/dist/ui/esm/src/core/ui/components/container/FBox.js.map +1 -1
  80. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js +1 -1
  81. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  82. package/dist/ui/esm/src/core/ui/components/icon/IconWC.js +1 -1
  83. package/dist/ui/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
  84. package/dist/ui/esm/src/core/ui/components/icon/icon.module.scss.js +1 -1
  85. package/dist/ui/esm/src/core/utils/webComponents/webComponent.utils.js +2 -0
  86. package/dist/ui/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -0
  87. package/dist/ui/index.css +8 -3
  88. package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js +2 -0
  89. package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js.map +1 -0
  90. package/dist/ui/node_modules/core-js/internals/array-for-each.js +2 -0
  91. package/dist/ui/node_modules/core-js/internals/array-for-each.js.map +1 -0
  92. package/dist/ui/node_modules/core-js/internals/dom-iterables.js +2 -0
  93. package/dist/ui/node_modules/core-js/internals/dom-iterables.js.map +1 -0
  94. package/dist/ui/node_modules/core-js/internals/dom-token-list-prototype.js +2 -0
  95. package/dist/ui/node_modules/core-js/internals/dom-token-list-prototype.js.map +1 -0
  96. package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js +2 -0
  97. package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
  98. package/dist/ui/node_modules/core-js/internals/inherit-if-required.js +2 -0
  99. package/dist/ui/node_modules/core-js/internals/inherit-if-required.js.map +1 -0
  100. package/dist/ui/node_modules/core-js/internals/is-pure.js +2 -0
  101. package/dist/ui/node_modules/core-js/internals/is-pure.js.map +1 -0
  102. package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js +2 -0
  103. package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js.map +1 -0
  104. package/dist/ui/node_modules/core-js/internals/path.js +2 -0
  105. package/dist/ui/node_modules/core-js/internals/path.js.map +1 -0
  106. package/dist/ui/node_modules/core-js/internals/this-number-value.js +2 -0
  107. package/dist/ui/node_modules/core-js/internals/this-number-value.js.map +1 -0
  108. package/dist/ui/node_modules/core-js/modules/es.number.constructor.js +2 -0
  109. package/dist/ui/node_modules/core-js/modules/es.number.constructor.js.map +1 -0
  110. package/dist/ui/node_modules/core-js/modules/web.dom-collections.for-each.js +2 -0
  111. package/dist/ui/node_modules/core-js/modules/web.dom-collections.for-each.js.map +1 -0
  112. package/dist/ui/src/core/ui/components/container/FBox.js +1 -1
  113. package/dist/ui/src/core/ui/components/container/FBox.js.map +1 -1
  114. package/dist/ui/src/core/ui/components/icon/IconBase.js +1 -1
  115. package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
  116. package/dist/ui/src/core/ui/components/icon/IconWC.js +1 -1
  117. package/dist/ui/src/core/ui/components/icon/IconWC.js.map +1 -1
  118. package/dist/ui/src/core/ui/components/icon/icon.module.scss.js +1 -1
  119. package/dist/ui/src/core/utils/webComponents/webComponent.utils.js +2 -0
  120. package/dist/ui/src/core/utils/webComponents/webComponent.utils.js.map +1 -0
  121. package/dist/utils/esm/index.css +27 -22
  122. package/dist/utils/esm/src/core/utils/index.js +1 -1
  123. package/dist/utils/esm/src/core/utils/webComponents/webComponent.utils.js +2 -0
  124. package/dist/utils/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -0
  125. package/dist/utils/index.css +27 -22
  126. package/dist/utils/src/core/utils/index.js +1 -1
  127. package/dist/utils/src/core/utils/webComponents/webComponent.utils.js +2 -0
  128. package/dist/utils/src/core/utils/webComponents/webComponent.utils.js.map +1 -0
  129. package/package.json +1 -1
@@ -26,7 +26,7 @@ export declare const Flex: import("react").MemoExoticComponent<import("styled-co
26
26
  export declare const FlexWrapper: import("react").MemoExoticComponent<import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("styled-components").StyledComponent<"div", any, FlexProps, never>>, any, {
27
27
  flex?: string | undefined;
28
28
  flexGrow?: string | number | undefined;
29
- alignText?: "center" | "right" | "left" | undefined;
29
+ alignText?: "left" | "right" | "center" | undefined;
30
30
  direction?: string | undefined;
31
31
  flexShrink?: string | number | undefined;
32
32
  flexBasis?: string | undefined;
@@ -45,11 +45,11 @@ export declare const FlexWrapper: import("react").MemoExoticComponent<import("st
45
45
  gap?: string | undefined;
46
46
  css?: string | undefined;
47
47
  borderRadius?: string | undefined;
48
- }, "width" | "height" | "direction" | "flex" | "flexGrow" | "alignText" | "flexShrink" | "flexBasis" | "flexWrap" | "justify" | "align" | "alignSelf" | "margin" | "padding" | "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "gap" | "css" | "borderRadius">>;
48
+ }, "minWidth" | "minHeight" | "width" | "height" | "alignSelf" | "direction" | "flexBasis" | "flexGrow" | "flexShrink" | "flexWrap" | "maxHeight" | "maxWidth" | "borderRadius" | "flex" | "gap" | "margin" | "padding" | "alignText" | "justify" | "align" | "css">>;
49
49
  export declare const FlexTight: import("react").MemoExoticComponent<import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("styled-components").StyledComponent<"div", any, FlexProps, never>>, any, {
50
50
  flex?: string | undefined;
51
51
  flexGrow?: string | number | undefined;
52
- alignText?: "center" | "right" | "left" | undefined;
52
+ alignText?: "left" | "right" | "center" | undefined;
53
53
  direction?: string | undefined;
54
54
  flexShrink?: string | number | undefined;
55
55
  flexBasis?: string | undefined;
@@ -69,11 +69,11 @@ export declare const FlexTight: import("react").MemoExoticComponent<import("styl
69
69
  css?: string | undefined;
70
70
  borderRadius?: string | undefined;
71
71
  size: string;
72
- }, "width" | "height" | "direction" | "flex" | "flexGrow" | "alignText" | "flexShrink" | "flexBasis" | "flexWrap" | "justify" | "align" | "alignSelf" | "margin" | "padding" | "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "gap" | "css" | "borderRadius" | "size">>;
72
+ }, "minWidth" | "minHeight" | "width" | "height" | "size" | "alignSelf" | "direction" | "flexBasis" | "flexGrow" | "flexShrink" | "flexWrap" | "maxHeight" | "maxWidth" | "borderRadius" | "flex" | "gap" | "margin" | "padding" | "alignText" | "justify" | "align" | "css">>;
73
73
  export declare const FlexTightStyled: import("react").MemoExoticComponent<import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("styled-components").StyledComponent<"div", any, FlexProps, never>>, any, {
74
74
  flex?: string | undefined;
75
75
  flexGrow?: string | number | undefined;
76
- alignText?: "center" | "right" | "left" | undefined;
76
+ alignText?: "left" | "right" | "center" | undefined;
77
77
  direction?: string | undefined;
78
78
  flexShrink?: string | number | undefined;
79
79
  flexBasis?: string | undefined;
@@ -98,5 +98,5 @@ export declare const FlexTightStyled: import("react").MemoExoticComponent<import
98
98
  padding: string;
99
99
  border: string;
100
100
  };
101
- }, "width" | "height" | "style" | "direction" | "flex" | "flexGrow" | "alignText" | "flexShrink" | "flexBasis" | "flexWrap" | "justify" | "align" | "alignSelf" | "margin" | "padding" | "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "gap" | "css" | "borderRadius" | "size">>;
101
+ }, "style" | "minWidth" | "minHeight" | "width" | "height" | "size" | "alignSelf" | "direction" | "flexBasis" | "flexGrow" | "flexShrink" | "flexWrap" | "maxHeight" | "maxWidth" | "borderRadius" | "flex" | "gap" | "margin" | "padding" | "alignText" | "justify" | "align" | "css">>;
102
102
  //# sourceMappingURL=Flex.d.ts.map
@@ -1,3 +1,14 @@
1
- /// <reference types="react" />
1
+ import { PropsWithChildren } from 'react';
2
+ export type IconBaseType = PropsWithChildren<any> & {
3
+ iconUrl?: string;
4
+ minWidth?: string;
5
+ minHeight?: string;
6
+ width?: string;
7
+ height?: string;
8
+ size?: string;
9
+ fontSize?: string;
10
+ color?: string;
11
+ className?: string;
12
+ };
2
13
  export declare const IconBase: import("react").MemoExoticComponent<any>;
3
14
  //# sourceMappingURL=IconBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"names":[],"mappings":";AAeA,eAAO,MAAM,QAAQ,0CAuBnB,CAAA"}
1
+ {"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAIvE,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,GAAG,CAAC,GAAG;IAClD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,QAAQ,0CAwBnB,CAAA"}
@@ -1,3 +1,14 @@
1
+ export type IconBaseWCType = {
2
+ iconUrl?: string;
3
+ minWidth?: string;
4
+ minHeight?: string;
5
+ width?: string;
6
+ height?: string;
7
+ size?: string;
8
+ fontSize?: string;
9
+ color?: string;
10
+ className?: string;
11
+ };
1
12
  export default class IconBase extends HTMLElement {
2
13
  content: string | null;
3
14
  mainElement: HTMLElement;
@@ -7,6 +18,7 @@ export default class IconBase extends HTMLElement {
7
18
  width?: string | null;
8
19
  height?: string | null;
9
20
  size?: string | null;
21
+ fontSize?: string | null;
10
22
  color?: string | null;
11
23
  static get observedAttributes(): string[];
12
24
  connectedCallback(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"IconWC.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/icon/IconWC.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtB,WAAW,EAAE,WAAW,CAAA;IAExB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB,MAAM,KAAK,kBAAkB,aAE5B;IAED,iBAAiB;IAmBjB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAezG,MAAM,aAqBL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,WAAW,EAAE,GAAG,CAAA;SACjB;KACF;CACF;AAED,eAAO,MAAM,UAAU;;CAEtB,CAAA"}
1
+ {"version":3,"file":"IconWC.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/icon/IconWC.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAGD,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtB,WAAW,EAAE,WAAW,CAAA;IAExB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEpB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB,MAAM,KAAK,kBAAkB,aAE5B;IAED,iBAAiB;IAYjB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAezG,MAAM,aAqBL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,WAAW,EAAE,GAAG,CAAA;SACjB;KACF;CACF;AAED,eAAO,MAAM,UAAU;;CAEtB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export * from './helpers';
2
2
  export * from './keyExtractor';
3
3
  export * from './date';
4
- export * from './web-components';
4
+ export * from './webComponents';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,7 @@
1
+ export declare class CustomTitle extends HTMLElement {
2
+ text: string;
3
+ static get observedAttributes(): string[];
4
+ constructor();
5
+ attributeChangedCallback(attrName: string, oldVal: string, newVal: string): void;
6
+ }
7
+ //# sourceMappingURL=exampleCustomElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exampleCustomElement.d.ts","sourceRoot":"","sources":["../../../../../../src/core/utils/webComponents/exampleCustomElement.ts"],"names":[],"mappings":"AAEA,qBACa,WAAY,SAAQ,WAAW;IAC1C,IAAI,EAAE,MAAM,CAAA;IAEZ,MAAM,KAAK,kBAAkB,aAE5B;;IAQD,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAgB1E"}
@@ -0,0 +1,2 @@
1
+ export * from './webComponent.utils';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/utils/webComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,9 @@
1
+ export declare const ced: (name: string) => (componentClass: typeof HTMLElement) => void;
2
+ export declare const customElementDefine: (name: string) => (componentClass: typeof HTMLElement) => void;
3
+ export declare const createResolveAttribute: (component: Element & Record<string, any>) => (attributeName: string, overrideProperty?: boolean, valueMap?: ((value: unknown) => unknown) | undefined) => boolean;
4
+ export declare const resolveAttributes: (component: Element & Record<string, any>, attributes: (string | {
5
+ name: string;
6
+ override: boolean;
7
+ valueMap?: ((value: unknown) => unknown) | undefined;
8
+ })[]) => void;
9
+ //# sourceMappingURL=webComponent.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webComponent.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/core/utils/webComponents/webComponent.utils.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,GAAG,SAAU,MAAM,sBACd,kBAAkB,SAGnC,CAAA;AAED,eAAO,MAAM,mBAAmB,SANN,MAAM,sBACd,kBAAkB,SAKE,CAAA;AAItC,eAAO,MAAM,sBAAsB,cACtB,OAAO,GAAG,OAAO,MAAM,EAAE,GAAG,CAAC,qBAEzB,MAAM,kDAGF,OAAO,KAAK,OAAO,kBACrC,OAUF,CAAA;AAED,eAAO,MAAM,iBAAiB,cACjB,OAAO,GAAG,OAAO,MAAM,EAAE,GAAG,CAAC;UACnB,MAAM;cAAY,OAAO;wBAAqB,OAAO,KAAK,OAAO;aAavF,CAAA"}
@@ -41,11 +41,16 @@
41
41
  height: var(--height);
42
42
  margin: var(--margin);
43
43
  }
44
+ .icon-module_icon-base-parent__nOMvW {
45
+ line-height: 1px !important;
46
+ }
47
+
44
48
  .icon-module_icon-base__S0tHf {
45
49
  min-width: var(--min-width);
46
- min-height: var(--min-width);
47
- width: var(--height);
48
- height: var(--width);
50
+ min-height: var(--min-height);
51
+ width: var(--width);
52
+ height: var(--height);
53
+ line-height: var(--height);
49
54
  background-color: var(--icon-color);
50
55
  color: var(--icon-content-color);
51
56
  background-repeat: no-repeat;
@@ -0,0 +1,2 @@
1
+ import t from"./is-callable.js";var r=t,o=String,e=TypeError,a=function(t){if("object"==typeof t||r(t))return t;throw e("Can't set "+o(t)+" as a prototype")};export{a as default};
2
+ //# sourceMappingURL=a-possible-prototype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a-possible-prototype.js","sources":["../../../../../../node_modules/core-js/internals/a-possible-prototype.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n"],"names":["isCallable","require$$0","$String","String","$TypeError","TypeError","aPossiblePrototype","argument"],"mappings":"gCAAA,IAAIA,EAAaC,EAEbC,EAAUC,OACVC,EAAaC,UAEjBC,EAAiB,SAAUC,GACzB,GAAuB,iBAAZA,GAAwBP,EAAWO,GAAW,OAAOA,EAChE,MAAMH,EAAW,aAAeF,EAAQK,GAAY,kBACtD"}
@@ -0,0 +1,2 @@
1
+ import r from"./array-iteration.js";import t from"./array-method-is-strict.js";var o=r.forEach,a=t("forEach")?[].forEach:function(r){return o(this,r,arguments.length>1?arguments[1]:void 0)};export{a as default};
2
+ //# sourceMappingURL=array-for-each.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array-for-each.js","sources":["../../../../../../node_modules/core-js/internals/array-for-each.js"],"sourcesContent":["'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n"],"names":["$forEach","require$$0","forEach","arrayForEach","require$$1","callbackfn","this","arguments","length","undefined"],"mappings":"+EACA,IAAIA,EAAWC,EAAwCC,QAOvDC,EAN0BC,EAEc,WAOpC,GAAGF,QAH2B,SAAiBG,GACjD,OAAOL,EAASM,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,EAE1E"}
@@ -0,0 +1,2 @@
1
+ var t={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};export{t as default};
2
+ //# sourceMappingURL=dom-iterables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dom-iterables.js","sources":["../../../../../../node_modules/core-js/internals/dom-iterables.js"],"sourcesContent":["// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n"],"names":["domIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList"],"mappings":"AAEA,IAAAA,EAAiB,CACfC,YAAa,EACbC,oBAAqB,EACrBC,aAAc,EACdC,eAAgB,EAChBC,YAAa,EACbC,cAAe,EACfC,aAAc,EACdC,qBAAsB,EACtBC,SAAU,EACVC,kBAAmB,EACnBC,eAAgB,EAChBC,gBAAiB,EACjBC,kBAAmB,EACnBC,UAAW,EACXC,cAAe,EACfC,aAAc,EACdC,SAAU,EACVC,iBAAkB,EAClBC,OAAQ,EACRC,YAAa,EACbC,cAAe,EACfC,cAAe,EACfC,eAAgB,EAChBC,aAAc,EACdC,cAAe,EACfC,iBAAkB,EAClBC,iBAAkB,EAClBC,eAAgB,EAChBC,iBAAkB,EAClBC,cAAe,EACfC,UAAW"}
@@ -0,0 +1,2 @@
1
+ import t from"./document-create-element.js";var o=t("span").classList,e=o&&o.constructor&&o.constructor.prototype,r=e===Object.prototype?void 0:e;export{r as default};
2
+ //# sourceMappingURL=dom-token-list-prototype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dom-token-list-prototype.js","sources":["../../../../../../node_modules/core-js/internals/dom-token-list-prototype.js"],"sourcesContent":["// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n"],"names":["classList","require$$0","DOMTokenListPrototype","constructor","prototype","domTokenListPrototype","Object","undefined"],"mappings":"4CACA,IAEIA,EAFwBC,EAEU,QAAQD,UAC1CE,EAAwBF,GAAaA,EAAUG,aAAeH,EAAUG,YAAYC,UAExFC,EAAiBH,IAA0BI,OAAOF,eAAYG,EAAYL"}
@@ -0,0 +1,2 @@
1
+ import r from"./function-uncurry-this.js";import t from"./a-callable.js";var o=r,c=t,e=function(r,t,e){try{return o(c(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(r){}};export{e as default};
2
+ //# sourceMappingURL=function-uncurry-this-accessor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function-uncurry-this-accessor.js","sources":["../../../../../../node_modules/core-js/internals/function-uncurry-this-accessor.js"],"sourcesContent":["var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n"],"names":["uncurryThis","require$$0","aCallable","require$$1","functionUncurryThisAccessor","object","key","method","Object","getOwnPropertyDescriptor","error"],"mappings":"yEAAA,IAAIA,EAAcC,EACdC,EAAYC,EAEhBC,EAAiB,SAAUC,EAAQC,EAAKC,GACtC,IAEE,OAAOP,EAAYE,EAAUM,OAAOC,yBAAyBJ,EAAQC,GAAKC,IAC9E,CAAI,MAAOG,GAAsB,CACjC"}
@@ -0,0 +1,2 @@
1
+ import o from"./is-callable.js";import t from"./is-object.js";import r from"./object-set-prototype-of.js";var e=o,p=t,s=r,a=function(o,t,r){var a,c;return s&&e(a=t.constructor)&&a!==r&&p(c=a.prototype)&&c!==r.prototype&&s(o,c),o};export{a as default};
2
+ //# sourceMappingURL=inherit-if-required.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inherit-if-required.js","sources":["../../../../../../node_modules/core-js/internals/inherit-if-required.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n"],"names":["isCallable","require$$0","isObject","require$$1","setPrototypeOf","require$$2","inheritIfRequired","$this","dummy","Wrapper","NewTarget","NewTargetPrototype","constructor","prototype"],"mappings":"0GAAA,IAAIA,EAAaC,EACbC,EAAWC,EACXC,EAAiBC,EAGrBC,EAAiB,SAAUC,EAAOC,EAAOC,GACvC,IAAIC,EAAWC,EAUf,OAPEP,GAEAJ,EAAWU,EAAYF,EAAMI,cAC7BF,IAAcD,GACdP,EAASS,EAAqBD,EAAUG,YACxCF,IAAuBF,EAAQI,WAC/BT,EAAeG,EAAOI,GACjBJ,CACT"}
@@ -0,0 +1,2 @@
1
+ var a=!1;export{a as default};
2
+ //# sourceMappingURL=is-pure.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-pure.js","sources":["../../../../../../node_modules/core-js/internals/is-pure.js"],"sourcesContent":["module.exports = false;\n"],"names":["isPure"],"mappings":"AAAA,IAAAA,GAAiB"}
@@ -0,0 +1,2 @@
1
+ import t from"./function-uncurry-this-accessor.js";import o from"./an-object.js";import r from"./a-possible-prototype.js";var e=t,n=o,p=r,c=Object.setPrototypeOf||("__proto__"in{}?function(){var t,o=!1,r={};try{(t=e(Object.prototype,"__proto__","set"))(r,[]),o=r instanceof Array}catch(t){}return function(r,e){return n(r),p(e),o?t(r,e):r.__proto__=e,r}}():void 0);export{c as default};
2
+ //# sourceMappingURL=object-set-prototype-of.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-set-prototype-of.js","sources":["../../../../../../node_modules/core-js/internals/object-set-prototype-of.js"],"sourcesContent":["/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n"],"names":["uncurryThisAccessor","require$$0","anObject","require$$1","aPossiblePrototype","require$$2","objectSetPrototypeOf","Object","setPrototypeOf","setter","CORRECT_SETTER","test","prototype","Array","error","O","proto","__proto__","undefined"],"mappings":"0HACA,IAAIA,EAAsBC,EACtBC,EAAWC,EACXC,EAAqBC,EAMzBC,EAAiBC,OAAOC,iBAAmB,aAAe,CAAE,EAAG,WAC7D,IAEIC,EAFAC,GAAiB,EACjBC,EAAO,CAAA,EAEX,KACEF,EAAST,EAAoBO,OAAOK,UAAW,YAAa,QACrDD,EAAM,IACbD,EAAiBC,aAAgBE,KACrC,CAAI,MAAOC,GAAsB,CAC/B,OAAO,SAAwBC,EAAGC,GAKhC,OAJAd,EAASa,GACTX,EAAmBY,GACfN,EAAgBD,EAAOM,EAAGC,GACzBD,EAAEE,UAAYD,EACZD,CACX,CACA,CAhB+D,QAgBzDG"}
@@ -0,0 +1,2 @@
1
+ import a from"./global.js";var o=a;export{o as default};
2
+ //# sourceMappingURL=path.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"path.js","sources":["../../../../../../node_modules/core-js/internals/path.js"],"sourcesContent":["var global = require('../internals/global');\n\nmodule.exports = global;\n"],"names":["path","require$$0"],"mappings":"2BAAA,IAEAA,EAFaC"}
@@ -0,0 +1,2 @@
1
+ import r from"./function-uncurry-this.js";var t=r(1..valueOf);export{t as default};
2
+ //# sourceMappingURL=this-number-value.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"this-number-value.js","sources":["../../../../../../node_modules/core-js/internals/this-number-value.js"],"sourcesContent":["var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n"],"names":["thisNumberValue","require$$0","valueOf"],"mappings":"0CAAA,IAIAA,EAJkBC,EAIW,GAAIC"}
@@ -0,0 +1,2 @@
1
+ import r from"../internals/export.js";import t from"../internals/is-pure.js";import e from"../internals/descriptors.js";import o from"../internals/global.js";import i from"../internals/path.js";import n from"../internals/function-uncurry-this.js";import s from"../internals/is-forced.js";import a from"../internals/has-own-property.js";import p from"../internals/inherit-if-required.js";import m from"../internals/object-is-prototype-of.js";import f from"../internals/is-symbol.js";import l from"../internals/to-primitive.js";import c from"../internals/fails.js";import"../internals/object-get-own-property-names.js";import"../internals/object-get-own-property-descriptor.js";import"../internals/object-define-property.js";import u from"../internals/this-number-value.js";import j from"../internals/string-trim.js";import{__exports as b}from"../../../_virtual/object-get-own-property-names.js";import{__exports as N}from"../../../_virtual/object-get-own-property-descriptor.js";import{__exports as I}from"../../../_virtual/object-define-property.js";var g=r,_=t,y=e,h=o,v=i,E=n,d=s,w=a,A=p,S=m,T=f,F=l,x=c,M=b.f,V=N.f,G=I.f,L=u,O=j.trim,k="Number",C=h[k];v[k];var P=C.prototype,R=h.TypeError,U=E("".slice),X=E("".charCodeAt),Y=function(r){var t=F(r,"number");return"bigint"==typeof t?t:q(t)},q=function(r){var t,e,o,i,n,s,a,p,m=F(r,"number");if(T(m))throw R("Cannot convert a Symbol value to a number");if("string"==typeof m&&m.length>2)if(m=O(m),43===(t=X(m,0))||45===t){if(88===(e=X(m,2))||120===e)return NaN}else if(48===t){switch(X(m,1)){case 66:case 98:o=2,i=49;break;case 79:case 111:o=8,i=55;break;default:return+m}for(s=(n=U(m,2)).length,a=0;a<s;a++)if((p=X(n,a))<48||p>i)return NaN;return parseInt(n,o)}return+m},z=d(k,!C(" 0o1")||!C("0b1")||C("+0x1")),B=function(r){return S(P,r)&&x((function(){L(r)}))},D=function(r){var t=arguments.length<1?0:C(Y(r));return B(this)?A(Object(t),this,D):t};D.prototype=P,z&&!_&&(P.constructor=D),g({global:!0,constructor:!0,wrap:!0,forced:z},{Number:D});(z||_)&&function(r,t){for(var e,o=y?M(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;o.length>i;i++)w(t,e=o[i])&&!w(r,e)&&G(r,e,V(t,e))}(v[k],C);
2
+ //# sourceMappingURL=es.number.constructor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"es.number.constructor.js","sources":["../../../../../../node_modules/core-js/modules/es.number.constructor.js"],"sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n"],"names":["$","require$$0","IS_PURE","require$$1","DESCRIPTORS","require$$2","global","require$$3","path","require$$4","uncurryThis","require$$5","isForced","require$$6","hasOwn","require$$7","inheritIfRequired","require$$8","isPrototypeOf","require$$9","isSymbol","require$$10","toPrimitive","require$$11","fails","require$$12","getOwnPropertyNames","require$$13","f","getOwnPropertyDescriptor","require$$14","defineProperty","require$$15","thisNumberValue","require$$16","trim","require$$17","NUMBER","NativeNumber","NumberPrototype","prototype","TypeError","stringSlice","slice","charCodeAt","toNumeric","value","primValue","toNumber","argument","first","third","radix","maxCode","digits","length","index","code","it","NaN","parseInt","FORCED","calledWithNew","dummy","NumberWrapper","n","arguments","this","Object","constructor","wrap","forced","Number","target","source","key","keys","split","j","copyConstructorProperties"],"mappings":"0hCACA,IAAIA,EAAIC,EACJC,EAAUC,EACVC,EAAcC,EACdC,EAASC,EACTC,EAAOC,EACPC,EAAcC,EACdC,EAAWC,EACXC,EAASC,EACTC,EAAoBC,EACpBC,EAAgBC,EAChBC,EAAWC,EACXC,EAAcC,EACdC,EAAQC,EACRC,EAAsBC,EAAsDC,EAC5EC,EAA2BC,EAA2DF,EACtFG,EAAiBC,EAA+CJ,EAChEK,EAAkBC,EAClBC,EAAOC,EAAoCD,KAE3CE,EAAS,SACTC,EAAehC,EAAO+B,GACA7B,EAAK6B,GAC/B,IAAIE,EAAkBD,EAAaE,UAC/BC,EAAYnC,EAAOmC,UACnBC,EAAchC,EAAY,GAAGiC,OAC7BC,EAAalC,EAAY,GAAGkC,YAI5BC,EAAY,SAAUC,GACxB,IAAIC,EAAYzB,EAAYwB,EAAO,UACnC,MAA2B,iBAAbC,EAAwBA,EAAYC,EAASD,EAC7D,EAIIC,EAAW,SAAUC,GACvB,IACIC,EAAOC,EAAOC,EAAOC,EAASC,EAAQC,EAAQC,EAAOC,EADrDC,EAAKpC,EAAY2B,EAAU,UAE/B,GAAI7B,EAASsC,GAAK,MAAMjB,EAAU,6CAClC,GAAiB,iBAANiB,GAAkBA,EAAGH,OAAS,EAGvC,GAFAG,EAAKvB,EAAKuB,GAEI,MADdR,EAAQN,EAAWc,EAAI,KACO,KAAVR,GAElB,GAAc,MADdC,EAAQP,EAAWc,EAAI,KACO,MAAVP,EAAe,OAAOQ,SACrC,GAAc,KAAVT,EAAc,CACvB,OAAQN,EAAWc,EAAI,IACrB,KAAK,GAAI,KAAK,GAAIN,EAAQ,EAAGC,EAAU,GAAI,MAC3C,KAAK,GAAI,KAAK,IAAKD,EAAQ,EAAGC,EAAU,GAAI,MAC5C,QAAS,OAAQK,EAInB,IADAH,GADAD,EAASZ,EAAYgB,EAAI,IACTH,OACXC,EAAQ,EAAGA,EAAQD,EAAQC,IAI9B,IAHAC,EAAOb,EAAWU,EAAQE,IAGf,IAAMC,EAAOJ,EAAS,OAAOM,IACxC,OAAOC,SAASN,EAAQF,EAC3B,CACD,OAAQM,CACZ,EAEIG,EAASjD,EAASyB,GAASC,EAAa,UAAYA,EAAa,QAAUA,EAAa,SAExFwB,EAAgB,SAAUC,GAE5B,OAAO7C,EAAcqB,EAAiBwB,IAAUvC,GAAM,WAAcS,EAAgB8B,EAAO,GAC7F,EAIIC,EAAgB,SAAgBlB,GAClC,IAAImB,EAAIC,UAAUX,OAAS,EAAI,EAAIjB,EAAaO,EAAUC,IAC1D,OAAOgB,EAAcK,MAAQnD,EAAkBoD,OAAOH,GAAIE,KAAMH,GAAiBC,CACnF,EAEAD,EAAcxB,UAAYD,EACtBsB,IAAW3D,IAASqC,EAAgB8B,YAAcL,GAEtDhE,EAAE,CAAEM,QAAQ,EAAM+D,aAAa,EAAMC,MAAM,EAAMC,OAAQV,GAAU,CACjEW,OAAQR,KAoBNH,GAAU3D,IAhBkB,SAAUuE,EAAQC,GAChD,IAAK,IAOgBC,EAPZC,EAAOxE,EAAcsB,EAAoBgD,GAAU,oLAO1DG,MAAM,KAAMC,EAAI,EAAQF,EAAKrB,OAASuB,EAAGA,IACrChE,EAAO4D,EAAQC,EAAMC,EAAKE,MAAQhE,EAAO2D,EAAQE,IACnD5C,EAAe0C,EAAQE,EAAK9C,EAAyB6C,EAAQC,GAGnE,CAGuBI,CAA0BvE,EAAK6B,GAASC"}
@@ -0,0 +1,2 @@
1
+ import r from"../internals/global.js";import o from"../internals/dom-iterables.js";import t from"../internals/dom-token-list-prototype.js";import a from"../internals/array-for-each.js";import e from"../internals/create-non-enumerable-property.js";var n=r,i=o,m=t,f=a,s=e,p=function(r){if(r&&r.forEach!==f)try{s(r,"forEach",f)}catch(o){r.forEach=f}};for(var l in i)i[l]&&p(n[l]&&n[l].prototype);p(m);
2
+ //# sourceMappingURL=web.dom-collections.for-each.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web.dom-collections.for-each.js","sources":["../../../../../../node_modules/core-js/modules/web.dom-collections.for-each.js"],"sourcesContent":["var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n"],"names":["global","require$$0","DOMIterables","require$$1","DOMTokenListPrototype","require$$2","forEach","require$$3","createNonEnumerableProperty","require$$4","handlePrototype","CollectionPrototype","error","COLLECTION_NAME","prototype"],"mappings":"uPAAA,IAAIA,EAASC,EACTC,EAAeC,EACfC,EAAwBC,EACxBC,EAAUC,EACVC,EAA8BC,EAE9BC,EAAkB,SAAUC,GAE9B,GAAIA,GAAuBA,EAAoBL,UAAYA,EAAS,IAClEE,EAA4BG,EAAqB,UAAWL,EAC7D,CAAC,MAAOM,GACPD,EAAoBL,QAAUA,CAC/B,CACH,EAEA,IAAK,IAAIO,KAAmBX,EACtBA,EAAaW,IACfH,EAAgBV,EAAOa,IAAoBb,EAAOa,GAAiBC,WAIvEJ,EAAgBN"}
@@ -1,2 +1,2 @@
1
- import{objectWithoutProperties as e,objectSpread2 as t}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as r,forwardRef as a,useMemo as o}from"react";import s from"./fbox.module.scss.js";var l=["style","children","className"],i={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},n=function(e){return e&&i[e]||e},c=a((function(r,a){var i=r.style,c=r.children,f=r.className,d=e(r,l),m=o((function(){return t(t(t(t(t({},i),d),d.align?{alignItems:n(d.align)}:{}),d.justify?{justifyContent:n(d.justify)}:{}),d.direction?{flexDirection:d.direction}:{})}),[d,i]);return React.createElement("div",{ref:a,className:"".concat(s["flexible-box"]," ").concat(f),style:m},c)}));c.displayName="FBoxRefForwarded";var f=r(c);f.displayName="FBox";export{f as FBox};
1
+ import{objectWithoutProperties as e,objectSpread2 as t}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as r,forwardRef as a,useMemo as o}from"react";import s from"./fbox.module.scss.js";var l=["style","children","className"],i={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},n=function(e){return e&&i[e]||e},c=a((function(r,a){var i=r.style,c=r.children,f=r.className,d=void 0===f?"":f,m=e(r,l),u=o((function(){return t(t(t(t(t({},i),m),m.align?{alignItems:n(m.align)}:{}),m.justify?{justifyContent:n(m.justify)}:{}),m.direction?{flexDirection:m.direction}:{})}),[m,i]);return React.createElement("div",{ref:a,className:"".concat(s["flexible-box"]," ").concat(d),style:u},c)}));c.displayName="FBoxRefForwarded";var f=r(c);f.displayName="FBox";export{f as FBox};
2
2
  //# sourceMappingURL=FBox.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FBox.js","sources":["../../../../../../../../src/core/ui/components/container/FBox.tsx"],"sourcesContent":["import { memo, PropsWithChildren, useMemo, CSSProperties, forwardRef, LegacyRef } from 'react'\n\n\nimport classes from './fbox.module.scss'\n\n\nexport type FBoxProps = PropsWithChildren<any> &{\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n style?: CSSProperties\n className?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\n\nconst FBoxRefForwarded = forwardRef(({\n style, children, className, ...props\n}: FBoxProps, ref: LegacyRef<HTMLDivElement> | undefined) => {\n const styles = useMemo(() => (\n {\n ...style,\n ...props,\n ...(props.align ? { alignItems: resolveFlexProps(props.align) } : {}),\n ...(props.justify ? { justifyContent: resolveFlexProps(props.justify) } : {}),\n ...(props.direction ? { flexDirection: props.direction } : {}),\n }\n ), [props, style])\n\n return (\n <div\n ref={ref}\n className={`${(classes as any)['flexible-box']} ${className}`}\n style={styles as CSSProperties}\n >\n {children}\n </div>\n )\n})\n\nFBoxRefForwarded.displayName = 'FBoxRefForwarded'\n\nexport const FBox = memo<FBoxProps>(FBoxRefForwarded)\n\n\nFBox.displayName = 'FBox'\n\n\n// default flex centralized, 100% width and height\n// export const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n// {\n// width: props.width || '100%',\n// height: props.height || '100%',\n// justify: props.justify || 'center',\n// align: props.align || 'center',\n// ...props,\n// }\n// ))``)\n\n// export const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n// size: 'unset',\n// width: 'initial',\n// ...props,\n// }))``)\n\n// export const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n// size: 'unset',\n// width: 'initial',\n// style: {\n// text: 'blue',\n// padding: '1rem',\n// border: '1px solid green',\n// },\n// ...props,\n// }))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","FBoxRefForwarded","forwardRef","_ref","ref","style","children","className","props","_objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","align","alignItems","justify","justifyContent","direction","flexDirection","React","createElement","concat","classes","displayName","FBox","memo"],"mappings":"+TAgCMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAmB,SAACC,GAAc,OAA0BA,GAASJ,EAAaI,IAAmBA,CAAK,EAG1GC,EAAmBC,GAAW,SAAAC,EAEtBC,GAA+C,IAD3DC,EAAKF,EAALE,MAAOC,EAAQH,EAARG,SAAUC,EAASJ,EAATI,UAAcC,EAAKC,EAAAN,EAAAO,GAE9BC,EAASC,GAAQ,WAAA,OAAAC,EAAAA,EAAAA,EAAAA,EAAAA,EAAA,GAEhBR,GACAG,GACCA,EAAMM,MAAQ,CAAEC,WAAYhB,EAAiBS,EAAMM,QAAW,CAAE,GAChEN,EAAMQ,QAAU,CAAEC,eAAgBlB,EAAiBS,EAAMQ,UAAa,CAAE,GACxER,EAAMU,UAAY,CAAEC,cAAeX,EAAMU,WAAc,CAAE,EAAA,GAE9D,CAACV,EAAOH,IAEX,OACEe,MAAAC,cAAA,MAAA,CACEjB,IAAKA,EACLG,UAAS,GAAAe,OAAMC,EAAgB,gBAAeD,KAAAA,OAAIf,GAClDF,MAAOM,GAENL,EAGP,IAEAL,EAAiBuB,YAAc,uBAElBC,EAAOC,EAAgBzB,GAGpCwB,EAAKD,YAAc"}
1
+ {"version":3,"file":"FBox.js","sources":["../../../../../../../../src/core/ui/components/container/FBox.tsx"],"sourcesContent":["import { memo, PropsWithChildren, useMemo, CSSProperties, forwardRef, LegacyRef } from 'react'\n\n\nimport classes from './fbox.module.scss'\n\n\nexport type FBoxProps = PropsWithChildren<any> &{\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n style?: CSSProperties\n className?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\n\nconst FBoxRefForwarded = forwardRef(({\n style, children, className = '', ...props\n}: FBoxProps, ref: LegacyRef<HTMLDivElement> | undefined) => {\n const styles = useMemo(() => (\n {\n ...style,\n ...props,\n ...(props.align ? { alignItems: resolveFlexProps(props.align) } : {}),\n ...(props.justify ? { justifyContent: resolveFlexProps(props.justify) } : {}),\n ...(props.direction ? { flexDirection: props.direction } : {}),\n }\n ), [props, style])\n\n return (\n <div\n ref={ref}\n className={`${(classes as any)['flexible-box']} ${className}`}\n style={styles as CSSProperties}\n >\n {children}\n </div>\n )\n})\n\nFBoxRefForwarded.displayName = 'FBoxRefForwarded'\n\nexport const FBox = memo<FBoxProps>(FBoxRefForwarded)\n\n\nFBox.displayName = 'FBox'\n\n\n// default flex centralized, 100% width and height\n// export const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n// {\n// width: props.width || '100%',\n// height: props.height || '100%',\n// justify: props.justify || 'center',\n// align: props.align || 'center',\n// ...props,\n// }\n// ))``)\n\n// export const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n// size: 'unset',\n// width: 'initial',\n// ...props,\n// }))``)\n\n// export const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n// size: 'unset',\n// width: 'initial',\n// style: {\n// text: 'blue',\n// padding: '1rem',\n// border: '1px solid green',\n// },\n// ...props,\n// }))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","FBoxRefForwarded","forwardRef","_ref","ref","style","children","_ref$className","className","props","_objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","align","alignItems","justify","justifyContent","direction","flexDirection","React","createElement","concat","classes","displayName","FBox","memo"],"mappings":"+TAgCMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAmB,SAACC,GAAc,OAA0BA,GAASJ,EAAaI,IAAmBA,CAAK,EAG1GC,EAAmBC,GAAW,SAAAC,EAEtBC,GAA+C,IAD3DC,EAAKF,EAALE,MAAOC,EAAQH,EAARG,SAAQC,EAAAJ,EAAEK,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAKE,EAAKC,EAAAP,EAAAQ,GAEnCC,EAASC,GAAQ,WAAA,OAAAC,EAAAA,EAAAA,EAAAA,EAAAA,EAAA,GAEhBT,GACAI,GACCA,EAAMM,MAAQ,CAAEC,WAAYjB,EAAiBU,EAAMM,QAAW,CAAE,GAChEN,EAAMQ,QAAU,CAAEC,eAAgBnB,EAAiBU,EAAMQ,UAAa,CAAE,GACxER,EAAMU,UAAY,CAAEC,cAAeX,EAAMU,WAAc,CAAE,EAAA,GAE9D,CAACV,EAAOJ,IAEX,OACEgB,MAAAC,cAAA,MAAA,CACElB,IAAKA,EACLI,UAAS,GAAAe,OAAMC,EAAgB,gBAAeD,KAAAA,OAAIf,GAClDH,MAAOO,GAENN,EAGP,IAEAL,EAAiBwB,YAAc,uBAElBC,EAAOC,EAAgB1B,GAGpCyB,EAAKD,YAAc"}
@@ -1,2 +1,2 @@
1
- import{objectSpread2 as o}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as e,useMemo as i}from"react";import r from"./icon.module.scss.js";var c=e((function(e){var c=e.iconUrl,t=e.minWidth,n=void 0===t?"1rem":t,a=e.minHeight,s=void 0===a?"1rem":a,l=e.size,m=e.width,d=e.height,u=e.color,h=void 0===u?"currentColor":u,p=e.className,v=void 0===p?"":p,f=e.children,g=i((function(){return o(o(o({"--min-width":n,"--min-height":s,"--width":l||m,"--height":l||d},l?{fontSize:l}:{}),c?{"--icon-url":"url(".concat(c,")")}:{}),c?{"--icon-color":h}:{"--icon-content-color":h})}),[n,s,l,m,d,c,h]);return React.createElement("span",{className:"".concat(r["icon-base"]," icon-base ").concat(v),style:g},!c&&f&&f)}));c.displayName="IconBase";export{c as IconBase};
1
+ import{objectSpread2 as o}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as e,useMemo as i}from"react";import r from"./icon.module.scss.js";var t=e((function(e){var t=e.iconUrl,n=e.minWidth,c=void 0===n?"1rem":n,a=e.minHeight,s=void 0===a?"1rem":a,l=e.size,m=e.fontSize,d=e.width,h=e.height,u=e.color,p=void 0===u?"currentColor":u,f=e.className,v=void 0===f?"":f,g=e.children,j=i((function(){return o(o(o({"--min-width":Math.min(c,l||d),"--min-height":Math.min(s,l||h),"--width":l||d,"--height":l||h},m?{fontSize:m}:{}),t?{"--icon-url":"url(".concat(t,")")}:{}),t?{"--icon-color":p}:{"--icon-content-color":p})}),[c,s,l,d,h,m,t,p]);return React.createElement("span",{className:"".concat(r["icon-base"]," icon-base ").concat(v),style:j},!t&&g&&g)}));t.displayName="IconBase";export{t as IconBase};
2
2
  //# sourceMappingURL=IconBase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconBase.js","sources":["../../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\ntype IconBaseType = PropsWithChildren<any> & {\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n size?: string\n color?: string\n className?: string\n}\n\nexport const IconBase = memo<IconBaseType>(({\n iconUrl, minWidth = '1rem', minHeight = '1rem', size, width, height, color = 'currentColor', className = '', children,\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth,\n '--min-height': minHeight,\n '--width': size || width,\n '--height': size || height,\n ...(size ? { fontSize: size } : {}),\n ...(iconUrl ? { '--icon-url': `url(${iconUrl})` } : {}),\n ...(iconUrl ? { '--icon-color': color } : { '--icon-content-color': color }),\n }\n ), [minWidth, minHeight, size, width, height, iconUrl, color])\n\n return (\n <span\n className={`${(classes as any)['icon-base']} icon-base ${className}`}\n style={styles as CSSProperties}\n >\n {(!iconUrl && children) && children}\n </span>\n )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","_ref$minWidth","minWidth","_ref$minHeight","minHeight","size","width","height","_ref$color","color","_ref$className","className","children","styles","useMemo","_objectSpread","fontSize","concat","React","createElement","classes","style","displayName"],"mappings":"+OAeaA,EAAWC,GAAmB,SAAAC,GAEvB,IADlBC,EAAOD,EAAPC,QAAOC,EAAAF,EAAEG,SAAAA,OAAW,IAAHD,EAAG,OAAMA,EAAAE,EAAAJ,EAAEK,UAAAA,OAAY,IAAHD,EAAG,OAAMA,EAAEE,EAAIN,EAAJM,KAAMC,EAAKP,EAALO,MAAOC,EAAMR,EAANQ,OAAMC,EAAAT,EAAEU,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAAE,EAAAX,EAAEY,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAEE,EAAQb,EAARa,SAEvGC,EAASC,GAAQ,WAAA,OAAAC,EAAAA,EAAAA,EAAA,CAEnB,cAAeb,EACf,eAAgBE,EAChB,UAAWC,GAAQC,EACnB,WAAYD,GAAQE,GAChBF,EAAO,CAAEW,SAAUX,GAAS,CAAA,GAC5BL,EAAU,CAAE,aAAY,OAAAiB,OAASjB,EAAO,MAAQ,CAAA,GAChDA,EAAU,CAAE,eAAgBS,GAAU,CAAE,uBAAwBA,GAAO,GAE5E,CAACP,EAAUE,EAAWC,EAAMC,EAAOC,EAAQP,EAASS,IAEvD,OACES,MAAAC,cAAA,OAAA,CACER,UAAS,GAAAM,OAAMG,EAAgB,aAAYH,eAAAA,OAAcN,GACzDU,MAAOR,IAEJb,GAAWY,GAAaA,EAGjC,IAEAf,EAASyB,YAAc"}
1
+ {"version":3,"file":"IconBase.js","sources":["../../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\nexport type IconBaseType = PropsWithChildren<any> & {\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n size?: string\n fontSize?: string\n color?: string\n className?: string\n}\n\nexport const IconBase = memo<IconBaseType>(({\n iconUrl, minWidth = '1rem', minHeight = '1rem',\n size, fontSize, width, height, color = 'currentColor', className = '', children,\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': Math.min(minWidth, size || width),\n '--min-height': Math.min(minHeight, size || height),\n '--width': size || width,\n '--height': size || height,\n ...(fontSize ? { fontSize } : {}),\n ...(iconUrl ? { '--icon-url': `url(${iconUrl})` } : {}),\n ...(iconUrl ? { '--icon-color': color } : { '--icon-content-color': color }),\n }\n ), [minWidth, minHeight, size, width, height, fontSize, iconUrl, color])\n\n return (\n <span\n className={`${(classes as any)['icon-base']} icon-base ${className}`}\n style={styles as CSSProperties}\n >\n {(!iconUrl && children) && children}\n </span>\n )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","_ref$minWidth","minWidth","_ref$minHeight","minHeight","size","fontSize","width","height","_ref$color","color","_ref$className","className","children","styles","useMemo","_objectSpread","Math","min","concat","React","createElement","classes","style","displayName"],"mappings":"+OAgBaA,EAAWC,GAAmB,SAAAC,GAGvB,IAFlBC,EAAOD,EAAPC,QAAOC,EAAAF,EAAEG,SAAAA,OAAW,IAAHD,EAAG,OAAMA,EAAAE,EAAAJ,EAAEK,UAAAA,OAAY,IAAHD,EAAG,OAAMA,EAC9CE,EAAIN,EAAJM,KAAMC,EAAQP,EAARO,SAAUC,EAAKR,EAALQ,MAAOC,EAAMT,EAANS,OAAMC,EAAAV,EAAEW,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAAE,EAAAZ,EAAEa,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAEE,EAAQd,EAARc,SAEjEC,EAASC,GAAQ,WAAA,OAAAC,EAAAA,EAAAA,EAAA,CAEnB,cAAeC,KAAKC,IAAIhB,EAAUG,GAAQE,GAC1C,eAAgBU,KAAKC,IAAId,EAAWC,GAAQG,GAC5C,UAAWH,GAAQE,EACnB,WAAYF,GAAQG,GAChBF,EAAW,CAAEA,SAAAA,GAAa,CAAA,GAC1BN,EAAU,CAAE,aAAY,OAAAmB,OAASnB,EAAO,MAAQ,CAAA,GAChDA,EAAU,CAAE,eAAgBU,GAAU,CAAE,uBAAwBA,GAAO,GAE5E,CAACR,EAAUE,EAAWC,EAAME,EAAOC,EAAQF,EAAUN,EAASU,IAEjE,OACEU,MAAAC,cAAA,OAAA,CACET,UAAS,GAAAO,OAAMG,EAAgB,aAAYH,eAAAA,OAAcP,GACzDW,MAAOT,IAEJd,GAAWa,GAAaA,EAGjC,IAEAhB,EAAS2B,YAAc"}
@@ -1,2 +1,2 @@
1
- import{inherits as t,createSuper as e,createClass as i,classCallCheck as s,objectSpread2 as n,slicedToArray as o,wrapNativeSuper as r}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import"../../../../../node_modules/core-js/modules/es.array.map.js";import"../../../../../node_modules/core-js/modules/es.object.entries.js";import{ced as a}from"../../../utils/web-components/coreElements/coreElements.js";import c from"./icon.module.scss.js";var h,l=document.createElement("template");l.innerHTML='<span class="icon-base"></span>';var m=a("icon-base")(h=function(r){t(h,r);var a=e(h);function h(){var t;s(this,h);for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];return(t=a.call.apply(a,[this].concat(i))).content=void 0,t.mainElement=void 0,t.iconUrl=void 0,t.minWidth=void 0,t.minHeight=void 0,t.width=void 0,t.height=void 0,t.size=void 0,t.color=void 0,t.render=function(){if(t.mainElement=t.mainElement||t.querySelector(".icon-base"),t.mainElement){t.mainElement.classList.add(c["icon-base"]);var e=n(n(n({"--min-width":t.minWidth||"unset","--min-height":t.minHeight||"unset","--width":t.size||t.width||"unset","--height":t.size||t.height||"unset"},t.size?{"font-size":t.size||"unset"}:{}),t.iconUrl?{"--icon-url":"url(".concat(t.iconUrl,")")}:{}),t.iconUrl?{"--icon-color":t.color}:{"--icon-content-color":t.color});t.mainElement.innerHTML=t.iconUrl?"":t.content||"",t.mainElement.setAttribute("style",Object.entries(e).map((function(t){var e=o(t,2),i=e[0],s=e[1];return"".concat(i,": ").concat(s,";")})).join(" "))}},t}return i(h,[{key:"connectedCallback",value:function(){this.innerHTML&&(this.content=this.content||this.innerHTML||this.getAttribute("content")),this.innerHTML=l.innerHTML,this.iconUrl=this.iconUrl||this.getAttribute("iconUrl"),this.minWidth=this.minWidth||this.getAttribute("minWidth"),this.minHeight=this.minHeight||this.getAttribute("minHeight"),this.width=this.width||this.getAttribute("width"),this.height=this.height||this.getAttribute("height"),this.size=this.size||this.getAttribute("size"),this.color=this.color||this.getAttribute("color"),this.className=this.className||this.getAttribute("className"),this.render()}},{key:"attributeChangedCallback",value:function(t,e,i){if("className"===t)return this.className=i||"",void(this.className&&(this.classList.remove(this.className),this.classList.add(this.className)));this[t]=i,this.render()}}],[{key:"observedAttributes",get:function(){return["iconUrl","minWidth","minHeight","width","height","size","color","className"]}}]),h}(r(HTMLElement)))||h,u={IconBaseWC:m};export{u as IconBaseWC,m as default};
1
+ import{inherits as e,createSuper as t,createClass as i,classCallCheck as n,objectSpread2 as s,slicedToArray as o,wrapNativeSuper as r}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import"../../../../../node_modules/core-js/modules/es.number.constructor.js";import"../../../../../node_modules/core-js/modules/es.array.map.js";import"../../../../../node_modules/core-js/modules/es.object.entries.js";import{ced as a,resolveAttributes as c}from"../../../utils/webComponents/webComponent.utils.js";import l from"./icon.module.scss.js";var m,u=document.createElement("template");u.innerHTML='<span class="icon-base"></span>';var d=a("icon-base")(m=function(r){e(m,r);var a=t(m);function m(){var e;n(this,m);for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return(e=a.call.apply(a,[this].concat(i))).content=void 0,e.mainElement=void 0,e.iconUrl=void 0,e.minWidth=void 0,e.minHeight=void 0,e.width=void 0,e.height=void 0,e.size=void 0,e.fontSize=void 0,e.color=void 0,e.render=function(){if(e.mainElement=e.mainElement||e.querySelector(".icon-base"),e.mainElement){e.classList.add(l["icon-base-parent"]),e.mainElement.classList.add(l["icon-base"]);var t=s(s(s({"--min-width":Math.min(Number(e.minWidth),Number(e.size||e.width))||"unset","--min-height":Math.min(Number(e.minHeight),Number(e.size||e.height))||"unset","--width":e.size||e.width||"unset","--height":e.size||e.height||"unset"},e.fontSize?{"font-size":e.fontSize||"unset"}:{}),e.iconUrl?{"--icon-url":"url(".concat(e.iconUrl,")")}:{}),e.iconUrl?{"--icon-color":e.color}:{"--icon-content-color":e.color});e.mainElement.innerHTML=e.iconUrl?"":e.content||"",e.mainElement.setAttribute("style",Object.entries(t).map((function(e){var t=o(e,2),i=t[0],n=t[1];return"".concat(i,": ").concat(n,";")})).join(" "))}},e}return i(m,[{key:"connectedCallback",value:function(){this.innerHTML&&(this.content=this.content||this.innerHTML||this.getAttribute("content")),this.innerHTML=u.innerHTML,c(this,m.observedAttributes),this.render()}},{key:"attributeChangedCallback",value:function(e,t,i){if("className"===e)return this.className=i||"",void(this.className&&(this.classList.remove(this.className),this.classList.add(this.className)));this[e]=i,this.render()}}],[{key:"observedAttributes",get:function(){return["iconUrl","minWidth","minHeight","width","height","size","fontSize","color","className"]}}]),m}(r(HTMLElement)))||m,h={IconBaseWC:d};export{h as IconBaseWC,d as default};
2
2
  //# sourceMappingURL=IconWC.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconWC.js","sources":["../../../../../../../../src/core/ui/components/icon/IconWC.ts"],"sourcesContent":["import { ced } from '../../../utils/web-components/coreElements/coreElements'\n\nimport classes from './icon.module.scss'\n\n\nconst template = document.createElement('template')\n\ntemplate.innerHTML = '<span class=\"icon-base\"></span>'\n\n\n@ced('icon-base')\nexport default class IconBase extends HTMLElement {\n content: string | null\n\n mainElement: HTMLElement\n\n iconUrl?: string | null\n\n minWidth?: string | null\n\n minHeight?: string | null\n\n width?: string | null\n\n height?: string | null\n\n size?: string | null\n\n color?: string | null\n\n static get observedAttributes() {\n return ['iconUrl', 'minWidth', 'minHeight', 'width', 'height', 'size', 'color', 'className']\n }\n\n connectedCallback() {\n if (this.innerHTML) {\n this.content = this.content || this.innerHTML || this.getAttribute('content')\n }\n\n this.innerHTML = template.innerHTML\n\n this.iconUrl = this.iconUrl || this.getAttribute('iconUrl')\n this.minWidth = this.minWidth || this.getAttribute('minWidth')\n this.minHeight = this.minHeight || this.getAttribute('minHeight')\n this.width = this.width || this.getAttribute('width')\n this.height = this.height || this.getAttribute('height')\n this.size = this.size || this.getAttribute('size')\n this.color = this.color || this.getAttribute('color')\n this.className = (this.className || this.getAttribute('className')) as string\n\n this.render()\n }\n\n attributeChangedCallback(attrName: string, oldVal: string | number | null, newVal: string | number | null) {\n if (attrName === 'className') {\n this.className = (newVal as string) || ''\n if (this.className) {\n this.classList.remove(this.className)\n this.classList.add(this.className)\n }\n return\n }\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this[attrName] = newVal\n this.render()\n }\n\n render = () => {\n this.mainElement = this.mainElement || this.querySelector('.icon-base') as HTMLElement\n if (!this.mainElement) {\n return\n }\n\n this.mainElement.classList.add(classes['icon-base'])\n\n const styles = {\n '--min-width': this.minWidth || 'unset',\n '--min-height': this.minHeight || 'unset',\n '--width': this.size || this.width || 'unset',\n '--height': this.size || this.height || 'unset',\n ...(this.size ? { 'font-size': this.size || 'unset' } : {}),\n ...(this.iconUrl ? { '--icon-url': `url(${this.iconUrl})` } : {}),\n ...(this.iconUrl ? { '--icon-color': this.color } : { '--icon-content-color': this.color }),\n }\n\n this.mainElement.innerHTML = this.iconUrl ? '' : (this.content || '')\n\n this.mainElement.setAttribute('style', Object.entries(styles).map(([key, value]) => `${key}: ${value};`).join(' '))\n }\n}\n\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/no-namespace\n namespace JSX {\n interface IntrinsicElements {\n 'icon-base': any\n }\n }\n}\n\nexport const IconBaseWC = {\n IconBaseWC: IconBase,\n}\n"],"names":["template","document","createElement","innerHTML","IconBase","ced","_dec","_class","_HTMLElement","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","this","concat","content","mainElement","iconUrl","minWidth","minHeight","width","height","size","color","render","querySelector","classList","add","classes","styles","_objectSpread","setAttribute","Object","entries","map","_ref","_ref2","_slicedToArray","key","value","join","_createClass","getAttribute","className","attrName","oldVal","newVal","remove","get","_wrapNativeSuper","HTMLElement","IconBaseWC"],"mappings":"ihBAKMA,EAAWC,SAASC,cAAc,YAExCF,EAASG,UAAY,kCAAiC,IAIjCC,EADpBC,EAAI,YAAYC,CAAAC,WAAAC,GAAAC,EAAAL,EAAAI,GAAA,IAAAE,EAAAC,EAAAP,GAAA,SAAAA,IAAA,IAAAQ,EAAAC,OAAAT,GAAA,IAAA,IAAAU,EAAAC,UAAAC,OAAAC,EAAAC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAAF,EAAAE,GAAAJ,UAAAI,GA+Ed,OA/EcP,EAAAF,EAAAU,KAAAC,MAAAX,EAAA,CAAAY,MAAAC,OAAAN,KAEfO,aAAO,EAAAZ,EAEPa,iBAAW,EAAAb,EAEXc,aAAO,EAAAd,EAEPe,cAAQ,EAAAf,EAERgB,eAAS,EAAAhB,EAETiB,WAAK,EAAAjB,EAELkB,YAAM,EAAAlB,EAENmB,UAAI,EAAAnB,EAEJoB,WAAK,EAAApB,EAwCLqB,OAAS,WAEP,GADArB,EAAKa,YAAcb,EAAKa,aAAeb,EAAKsB,cAAc,cACrDtB,EAAKa,YAAV,CAIAb,EAAKa,YAAYU,UAAUC,IAAIC,EAAQ,cAEvC,IAAMC,EAAMC,EAAAA,EAAAA,EAAA,CACV,cAAe3B,EAAKe,UAAY,QAChC,eAAgBf,EAAKgB,WAAa,QAClC,UAAWhB,EAAKmB,MAAQnB,EAAKiB,OAAS,QACtC,WAAYjB,EAAKmB,MAAQnB,EAAKkB,QAAU,SACpClB,EAAKmB,KAAO,CAAE,YAAanB,EAAKmB,MAAQ,SAAY,CAAE,GACtDnB,EAAKc,QAAU,CAAE,aAAYH,OAAAA,OAASX,EAAKc,QAAO,MAAQ,CAAE,GAC5Dd,EAAKc,QAAU,CAAE,eAAgBd,EAAKoB,OAAU,CAAE,uBAAwBpB,EAAKoB,QAGrFpB,EAAKa,YAAYtB,UAAYS,EAAKc,QAAU,GAAMd,EAAKY,SAAW,GAElEZ,EAAKa,YAAYe,aAAa,QAASC,OAAOC,QAAQJ,GAAQK,KAAI,SAAAC,GAAA,IAAAC,EAAAC,EAAAF,EAAA,GAAEG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GAAA,MAAA,GAAAtB,OAASwB,EAAGxB,MAAAA,OAAKyB,EAAK,IAAA,IAAKC,KAAK,KAhB9G,GAiBDrC,CAAA,CAzDA,OAyDAsC,EAAA9C,EAAA,CAAA,CAAA2C,IAAA,oBAAAC,MAvDD,WACM1B,KAAKnB,YACPmB,KAAKE,QAAUF,KAAKE,SAAWF,KAAKnB,WAAamB,KAAK6B,aAAa,YAGrE7B,KAAKnB,UAAYH,EAASG,UAE1BmB,KAAKI,QAAUJ,KAAKI,SAAWJ,KAAK6B,aAAa,WACjD7B,KAAKK,SAAWL,KAAKK,UAAYL,KAAK6B,aAAa,YACnD7B,KAAKM,UAAYN,KAAKM,WAAaN,KAAK6B,aAAa,aACrD7B,KAAKO,MAAQP,KAAKO,OAASP,KAAK6B,aAAa,SAC7C7B,KAAKQ,OAASR,KAAKQ,QAAUR,KAAK6B,aAAa,UAC/C7B,KAAKS,KAAOT,KAAKS,MAAQT,KAAK6B,aAAa,QAC3C7B,KAAKU,MAAQV,KAAKU,OAASV,KAAK6B,aAAa,SAC7C7B,KAAK8B,UAAa9B,KAAK8B,WAAa9B,KAAK6B,aAAa,aAEtD7B,KAAKW,QACP,GAAC,CAAAc,IAAA,2BAAAC,MAED,SAAyBK,EAAkBC,EAAgCC,GACzE,GAAiB,cAAbF,EAMF,OALA/B,KAAK8B,UAAaG,GAAqB,QACnCjC,KAAK8B,YACP9B,KAAKa,UAAUqB,OAAOlC,KAAK8B,WAC3B9B,KAAKa,UAAUC,IAAId,KAAK8B,aAM5B9B,KAAK+B,GAAYE,EACjBjC,KAAKW,QACP,IAAC,CAAA,CAAAc,IAAA,qBAAAU,IApCD,WACE,MAAO,CAAC,UAAW,WAAY,YAAa,QAAS,SAAU,OAAQ,QAAS,YAClF,KAACrD,CAAA,EAAAsD,EArBmCC,gBAAWpD,EA0FpCqD,EAAa,CACxBA,WAAYxD"}
1
+ {"version":3,"file":"IconWC.js","sources":["../../../../../../../../src/core/ui/components/icon/IconWC.ts"],"sourcesContent":["import { ced, resolveAttributes } from '../../../utils/webComponents/webComponent.utils'\n\nimport classes from './icon.module.scss'\n\n\n\nconst template = document.createElement('template')\n\ntemplate.innerHTML = '<span class=\"icon-base\"></span>'\n\nexport type IconBaseWCType = {\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n size?: string\n fontSize?: string\n color?: string\n className?: string\n}\n\n@ced('icon-base')\nexport default class IconBase extends HTMLElement {\n content: string | null\n\n mainElement: HTMLElement\n\n iconUrl?: string | null\n\n minWidth?: string | null\n\n minHeight?: string | null\n\n width?: string | null\n\n height?: string | null\n\n size?: string | null\n\n fontSize?: string | null\n\n color?: string | null\n\n static get observedAttributes() {\n return ['iconUrl', 'minWidth', 'minHeight', 'width', 'height', 'size', 'fontSize', 'color', 'className']\n }\n\n connectedCallback() {\n if (this.innerHTML) {\n this.content = this.content || this.innerHTML || this.getAttribute('content')\n }\n\n this.innerHTML = template.innerHTML\n\n resolveAttributes(this, IconBase.observedAttributes)\n\n this.render()\n }\n\n attributeChangedCallback(attrName: string, oldVal: string | number | null, newVal: string | number | null) {\n if (attrName === 'className') {\n this.className = (newVal as string) || ''\n if (this.className) {\n this.classList.remove(this.className)\n this.classList.add(this.className)\n }\n return\n }\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this[attrName] = newVal\n this.render()\n }\n\n render = () => {\n this.mainElement = this.mainElement || this.querySelector('.icon-base') as HTMLElement\n if (!this.mainElement) {\n return\n }\n this.classList.add(classes['icon-base-parent'])\n this.mainElement.classList.add(classes['icon-base'])\n\n const styles = {\n '--min-width': Math.min(Number(this.minWidth), Number(this.size || this.width)) || 'unset',\n '--min-height': Math.min(Number(this.minHeight), Number(this.size || this.height)) || 'unset',\n '--width': this.size || this.width || 'unset',\n '--height': this.size || this.height || 'unset',\n ...(this.fontSize ? { 'font-size': this.fontSize || 'unset' } : {}),\n ...(this.iconUrl ? { '--icon-url': `url(${this.iconUrl})` } : {}),\n ...(this.iconUrl ? { '--icon-color': this.color } : { '--icon-content-color': this.color }),\n }\n\n this.mainElement.innerHTML = this.iconUrl ? '' : (this.content || '')\n\n this.mainElement.setAttribute('style', Object.entries(styles).map(([key, value]) => `${key}: ${value};`).join(' '))\n }\n}\n\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/no-namespace\n namespace JSX {\n interface IntrinsicElements {\n 'icon-base': any\n }\n }\n}\n\nexport const IconBaseWC = {\n IconBaseWC: IconBase,\n}\n"],"names":["template","document","createElement","innerHTML","IconBase","ced","_dec","_class","_HTMLElement","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","this","concat","content","mainElement","iconUrl","minWidth","minHeight","width","height","size","fontSize","color","render","querySelector","classList","add","classes","styles","_objectSpread","Math","min","Number","setAttribute","Object","entries","map","_ref","_ref2","_slicedToArray","key","value","join","_createClass","getAttribute","resolveAttributes","observedAttributes","attrName","oldVal","newVal","className","remove","get","_wrapNativeSuper","HTMLElement","IconBaseWC"],"mappings":"6mBAMMA,EAAWC,SAASC,cAAc,YAExCF,EAASG,UAAY,kCAAiC,IAejCC,EADpBC,EAAI,YAAYC,CAAAC,WAAAC,GAAAC,EAAAL,EAAAI,GAAA,IAAAE,EAAAC,EAAAP,GAAA,SAAAA,IAAA,IAAAQ,EAAAC,OAAAT,GAAA,IAAA,IAAAU,EAAAC,UAAAC,OAAAC,EAAAC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAAF,EAAAE,GAAAJ,UAAAI,GA0Ed,OA1EcP,EAAAF,EAAAU,KAAAC,MAAAX,EAAA,CAAAY,MAAAC,OAAAN,KAEfO,aAAO,EAAAZ,EAEPa,iBAAW,EAAAb,EAEXc,aAAO,EAAAd,EAEPe,cAAQ,EAAAf,EAERgB,eAAS,EAAAhB,EAETiB,WAAK,EAAAjB,EAELkB,YAAM,EAAAlB,EAENmB,UAAI,EAAAnB,EAEJoB,cAAQ,EAAApB,EAERqB,WAAK,EAAArB,EAiCLsB,OAAS,WAEP,GADAtB,EAAKa,YAAcb,EAAKa,aAAeb,EAAKuB,cAAc,cACrDvB,EAAKa,YAAV,CAGAb,EAAKwB,UAAUC,IAAIC,EAAQ,qBAC3B1B,EAAKa,YAAYW,UAAUC,IAAIC,EAAQ,cAEvC,IAAMC,EAAMC,EAAAA,EAAAA,EAAA,CACV,cAAeC,KAAKC,IAAIC,OAAO/B,EAAKe,UAAWgB,OAAO/B,EAAKmB,MAAQnB,EAAKiB,SAAW,QACnF,eAAgBY,KAAKC,IAAIC,OAAO/B,EAAKgB,WAAYe,OAAO/B,EAAKmB,MAAQnB,EAAKkB,UAAY,QACtF,UAAWlB,EAAKmB,MAAQnB,EAAKiB,OAAS,QACtC,WAAYjB,EAAKmB,MAAQnB,EAAKkB,QAAU,SACpClB,EAAKoB,SAAW,CAAE,YAAapB,EAAKoB,UAAY,SAAY,CAAE,GAC9DpB,EAAKc,QAAU,CAAE,aAAYH,OAAAA,OAASX,EAAKc,QAAO,MAAQ,CAAE,GAC5Dd,EAAKc,QAAU,CAAE,eAAgBd,EAAKqB,OAAU,CAAE,uBAAwBrB,EAAKqB,QAGrFrB,EAAKa,YAAYtB,UAAYS,EAAKc,QAAU,GAAMd,EAAKY,SAAW,GAElEZ,EAAKa,YAAYmB,aAAa,QAASC,OAAOC,QAAQP,GAAQQ,KAAI,SAAAC,GAAA,IAAAC,EAAAC,EAAAF,EAAA,GAAEG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GAAA,MAAA,GAAA1B,OAAS4B,EAAG5B,MAAAA,OAAK6B,EAAK,IAAA,IAAKC,KAAK,KAhB9G,GAiBDzC,CAAA,CAlDA,OAkDA0C,EAAAlD,EAAA,CAAA,CAAA+C,IAAA,oBAAAC,MAhDD,WACM9B,KAAKnB,YACPmB,KAAKE,QAAUF,KAAKE,SAAWF,KAAKnB,WAAamB,KAAKiC,aAAa,YAGrEjC,KAAKnB,UAAYH,EAASG,UAE1BqD,EAAkBlC,KAAMlB,EAASqD,oBAEjCnC,KAAKY,QACP,GAAC,CAAAiB,IAAA,2BAAAC,MAED,SAAyBM,EAAkBC,EAAgCC,GACzE,GAAiB,cAAbF,EAMF,OALApC,KAAKuC,UAAaD,GAAqB,QACnCtC,KAAKuC,YACPvC,KAAKc,UAAU0B,OAAOxC,KAAKuC,WAC3BvC,KAAKc,UAAUC,IAAIf,KAAKuC,aAM5BvC,KAAKoC,GAAYE,EACjBtC,KAAKY,QACP,IAAC,CAAA,CAAAiB,IAAA,qBAAAY,IA7BD,WACE,MAAO,CAAC,UAAW,WAAY,YAAa,QAAS,SAAU,OAAQ,WAAY,QAAS,YAC9F,KAAC3D,CAAA,EAAA4D,EAvBmCC,gBAAW1D,EAqFpC2D,EAAa,CACxBA,WAAY9D"}
@@ -1,2 +1,2 @@
1
- var a={"icon-base":"icon-module_icon-base__S0tHf"};export{a as default};
1
+ var e={"icon-base-parent":"icon-module_icon-base-parent__nOMvW","icon-base":"icon-module_icon-base__S0tHf"};export{e as default};
2
2
  //# sourceMappingURL=icon.module.scss.js.map
@@ -0,0 +1,2 @@
1
+ import"../../../../node_modules/core-js/modules/es.object.to-string.js";import"../../../../node_modules/core-js/modules/web.dom-collections.for-each.js";var e=function(e){return function(o){customElements.get(e)||customElements.define(e,o)}},o=function(e){return function(o){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=e.getAttribute(o),i=void 0!==r;return t&&i&&void 0===e[o]&&(e[o]=n?n(r):r),i}},t=function(e,t){var n=o(e);t.forEach((function(e){if("string"==typeof e)n(e);else{var o=e.name,t=e.override,r=e.valueMap;n(o,t,r)}}))};export{e as ced,o as createResolveAttribute,t as resolveAttributes};
2
+ //# sourceMappingURL=webComponent.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webComponent.utils.js","sources":["../../../../../../../src/core/utils/webComponents/webComponent.utils.ts"],"sourcesContent":["/* custom elements define */\nexport const ced = (name: string) => (\n componentClass: typeof HTMLElement,\n) => {\n customElements.get(name) || customElements.define(name, componentClass)\n}\n\nexport const customElementDefine = ced\n\n\n\nexport const createResolveAttribute = (\n component: Element & Record<string, any>,\n) => (\n attributeName: string,\n // eslint-disable-next-line default-param-last\n overrideProperty = true,\n valueMap?: (value: unknown) => unknown,\n): boolean => {\n const attrValue = component.getAttribute(attributeName)\n const attrValueDefined = attrValue !== undefined\n\n if (overrideProperty && attrValueDefined && component[attributeName] === undefined) {\n // eslint-disable-next-line no-param-reassign\n component[attributeName] = valueMap ? valueMap(attrValue) : attrValue\n }\n\n return attrValueDefined\n}\n\nexport const resolveAttributes = (\n component: Element & Record<string, any>,\n attributes: ({ name: string; override: boolean; valueMap?: (value: unknown) => unknown } | string)[],\n) => {\n const resolver = createResolveAttribute(component)\n\n attributes.forEach((attribute) => {\n if (typeof attribute === 'string') {\n resolver(attribute)\n } else {\n const { name, override, valueMap } = attribute\n\n resolver(name, override, valueMap)\n }\n })\n}\n"],"names":["ced","name","componentClass","customElements","get","define","createResolveAttribute","component","attributeName","overrideProperty","arguments","length","undefined","valueMap","attrValue","getAttribute","attrValueDefined","resolveAttributes","attributes","resolver","forEach","attribute","override"],"mappings":"6JACaA,EAAM,SAACC,GAAY,OAAK,SACnCC,GAEAC,eAAeC,IAAIH,IAASE,eAAeE,OAAOJ,EAAMC,GACzD,EAMYI,EAAyB,SACpCC,GAAwC,OACrC,SACHC,GAIY,IAFZC,IAAgBC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,KAAAA,UAAA,GAChBG,EAAsCH,UAAAC,OAAAD,EAAAA,kBAAAE,EAEhCE,EAAYP,EAAUQ,aAAaP,GACnCQ,OAAiCJ,IAAdE,EAOzB,OALIL,GAAoBO,QAAiDJ,IAA7BL,EAAUC,KAEpDD,EAAUC,GAAiBK,EAAWA,EAASC,GAAaA,GAGvDE,EACR,EAEYC,EAAoB,SAC/BV,EACAW,GAEA,IAAMC,EAAWb,EAAuBC,GAExCW,EAAWE,SAAQ,SAACC,GAClB,GAAyB,iBAAdA,EACTF,EAASE,OACJ,CACL,IAAQpB,EAA6BoB,EAA7BpB,KAAMqB,EAAuBD,EAAvBC,SAAUT,EAAaQ,EAAbR,SAExBM,EAASlB,EAAMqB,EAAUT,EAC3B,CACF,GACF"}
package/dist/ui/index.css CHANGED
@@ -41,11 +41,16 @@
41
41
  height: var(--height);
42
42
  margin: var(--margin);
43
43
  }
44
+ .icon-module_icon-base-parent__nOMvW {
45
+ line-height: 1px !important;
46
+ }
47
+
44
48
  .icon-module_icon-base__S0tHf {
45
49
  min-width: var(--min-width);
46
- min-height: var(--min-width);
47
- width: var(--height);
48
- height: var(--width);
50
+ min-height: var(--min-height);
51
+ width: var(--width);
52
+ height: var(--height);
53
+ line-height: var(--height);
49
54
  background-color: var(--icon-color);
50
55
  color: var(--icon-content-color);
51
56
  background-repeat: no-repeat;
@@ -0,0 +1,2 @@
1
+ "use strict";var r=require("./is-callable.js"),t=String,e=TypeError;module.exports=function(o){if("object"==typeof o||r(o))return o;throw e("Can't set "+t(o)+" as a prototype")};
2
+ //# sourceMappingURL=a-possible-prototype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a-possible-prototype.js","sources":["../../../../../node_modules/core-js/internals/a-possible-prototype.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n"],"names":["isCallable","$String","String","$TypeError","TypeError","argument"],"mappings":"iBAAIA,8BAEAC,EAAUC,OACVC,EAAaC,yBAEA,SAAUC,GACzB,GAAuB,iBAAZA,GAAwBL,EAAWK,GAAW,OAAOA,EAChE,MAAMF,EAAW,aAAeF,EAAQI,GAAY,kBACtD"}
@@ -0,0 +1,2 @@
1
+ "use strict";var r=require("./array-iteration.js"),t=require("./array-method-is-strict.js"),e=r.forEach,i=t("forEach")?[].forEach:function(r){return e(this,r,arguments.length>1?arguments[1]:void 0)};module.exports=i;
2
+ //# sourceMappingURL=array-for-each.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array-for-each.js","sources":["../../../../../node_modules/core-js/internals/array-for-each.js"],"sourcesContent":["'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n"],"names":["$forEach","require$$0","forEach","arrayForEach","require$$1","callbackfn","this","arguments","length","undefined"],"mappings":"4FACIA,EAAWC,EAAwCC,QAOvDC,EAN0BC,EAEc,WAOpC,GAAGF,QAH2B,SAAiBG,GACjD,OAAOL,EAASM,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,EAE1E"}
@@ -0,0 +1,2 @@
1
+ "use strict";module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};
2
+ //# sourceMappingURL=dom-iterables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dom-iterables.js","sources":["../../../../../node_modules/core-js/internals/dom-iterables.js"],"sourcesContent":["// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n"],"names":["CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList"],"mappings":"4BAEiB,CACfA,YAAa,EACbC,oBAAqB,EACrBC,aAAc,EACdC,eAAgB,EAChBC,YAAa,EACbC,cAAe,EACfC,aAAc,EACdC,qBAAsB,EACtBC,SAAU,EACVC,kBAAmB,EACnBC,eAAgB,EAChBC,gBAAiB,EACjBC,kBAAmB,EACnBC,UAAW,EACXC,cAAe,EACfC,aAAc,EACdC,SAAU,EACVC,iBAAkB,EAClBC,OAAQ,EACRC,YAAa,EACbC,cAAe,EACfC,cAAe,EACfC,eAAgB,EAChBC,aAAc,EACdC,cAAe,EACfC,iBAAkB,EAClBC,iBAAkB,EAClBC,eAAgB,EAChBC,iBAAkB,EAClBC,cAAe,EACfC,UAAW"}
@@ -0,0 +1,2 @@
1
+ "use strict";var t=require("./document-create-element.js")("span").classList,e=t&&t.constructor&&t.constructor.prototype,o=e===Object.prototype?void 0:e;module.exports=o;
2
+ //# sourceMappingURL=dom-token-list-prototype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dom-token-list-prototype.js","sources":["../../../../../node_modules/core-js/internals/dom-token-list-prototype.js"],"sourcesContent":["// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n"],"names":["classList","documentCreateElement","DOMTokenListPrototype","constructor","prototype","domTokenListPrototype","Object","undefined"],"mappings":"iBAGIA,yCAAYC,CAAsB,QAAQD,UAC1CE,EAAwBF,GAAaA,EAAUG,aAAeH,EAAUG,YAAYC,UAExFC,EAAiBH,IAA0BI,OAAOF,eAAYG,EAAYL"}
@@ -0,0 +1,2 @@
1
+ "use strict";var r=require("./function-uncurry-this.js"),e=require("./a-callable.js"),t=r,c=e;module.exports=function(r,e,u){try{return t(c(Object.getOwnPropertyDescriptor(r,e)[u]))}catch(r){}};
2
+ //# sourceMappingURL=function-uncurry-this-accessor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function-uncurry-this-accessor.js","sources":["../../../../../node_modules/core-js/internals/function-uncurry-this-accessor.js"],"sourcesContent":["var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n"],"names":["uncurryThis","require$$0","aCallable","require$$1","object","key","method","Object","getOwnPropertyDescriptor","error"],"mappings":"sFAAIA,EAAcC,EACdC,EAAYC,iBAEC,SAAUC,EAAQC,EAAKC,GACtC,IAEE,OAAON,EAAYE,EAAUK,OAAOC,yBAAyBJ,EAAQC,GAAKC,IAC9E,CAAI,MAAOG,GAAsB,CACjC"}
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("./is-callable.js"),r=require("./is-object.js"),t=require("./object-set-prototype-of.js"),o=e,s=r,u=t;module.exports=function(e,r,t){var c,i;return u&&o(c=r.constructor)&&c!==t&&s(i=c.prototype)&&i!==t.prototype&&u(e,i),e};
2
+ //# sourceMappingURL=inherit-if-required.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inherit-if-required.js","sources":["../../../../../node_modules/core-js/internals/inherit-if-required.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n"],"names":["isCallable","require$$0","isObject","require$$1","setPrototypeOf","require$$2","$this","dummy","Wrapper","NewTarget","NewTargetPrototype","constructor","prototype"],"mappings":"qHAAIA,EAAaC,EACbC,EAAWC,EACXC,EAAiBC,iBAGJ,SAAUC,EAAOC,EAAOC,GACvC,IAAIC,EAAWC,EAUf,OAPEN,GAEAJ,EAAWS,EAAYF,EAAMI,cAC7BF,IAAcD,GACdN,EAASQ,EAAqBD,EAAUG,YACxCF,IAAuBF,EAAQI,WAC/BR,EAAeE,EAAOI,GACjBJ,CACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";module.exports=!1;
2
+ //# sourceMappingURL=is-pure.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-pure.js","sources":["../../../../../node_modules/core-js/internals/is-pure.js"],"sourcesContent":["module.exports = false;\n"],"names":[],"mappings":"6BAAiB"}