@e1011/es-kit 1.0.22 → 1.0.26

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 (57) hide show
  1. package/dist/hooks/esm/index.css +19 -19
  2. package/dist/hooks/index.css +19 -19
  3. package/dist/lib/cjs/src/core/ui/components/container/FBox.js +1 -1
  4. package/dist/lib/cjs/src/core/ui/components/container/FBox.js.map +1 -1
  5. package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js +1 -1
  6. package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  7. package/dist/lib/cjs/src/core/ui/components/icon/Icon.js +2 -0
  8. package/dist/lib/cjs/src/core/ui/components/icon/Icon.js.map +1 -0
  9. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js +1 -1
  10. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
  11. package/dist/lib/cjs/src/index.js +1 -1
  12. package/dist/lib/esm/src/core/ui/components/container/FBox.js +1 -1
  13. package/dist/lib/esm/src/core/ui/components/container/FBox.js.map +1 -1
  14. package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
  15. package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  16. package/dist/lib/esm/src/core/ui/components/icon/Icon.js +2 -0
  17. package/dist/lib/esm/src/core/ui/components/icon/Icon.js.map +1 -0
  18. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js +1 -1
  19. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  20. package/dist/lib/esm/src/index.js +1 -1
  21. package/dist/lib/src/core/ui/components/container/FBox.js +2 -2
  22. package/dist/lib/src/core/ui/components/container/FBox.js.map +1 -1
  23. package/dist/lib/src/core/ui/components/dividers/DividerLine.js +2 -2
  24. package/dist/lib/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  25. package/dist/lib/src/core/ui/components/icon/IconBase.js +2 -2
  26. package/dist/lib/src/core/ui/components/icon/IconBase.js.map +1 -1
  27. package/dist/lib/src/core/ui/components/icon/index.js +1 -0
  28. package/dist/lib/src/core/ui/components/icon/index.js.map +1 -1
  29. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  30. package/dist/types/src/core/ui/components/container/FBox.d.ts +1 -0
  31. package/dist/types/src/core/ui/components/container/FBox.d.ts.map +1 -1
  32. package/dist/types/src/core/ui/components/dividers/DividerLine.d.ts +1 -0
  33. package/dist/types/src/core/ui/components/dividers/DividerLine.d.ts.map +1 -1
  34. package/dist/types/src/core/ui/components/icon/IconBase.d.ts.map +1 -1
  35. package/dist/types/src/core/ui/components/icon/index.d.ts +1 -0
  36. package/dist/types/src/core/ui/components/icon/index.d.ts.map +1 -1
  37. package/dist/ui/esm/src/core/ui/components/container/FBox.js +1 -1
  38. package/dist/ui/esm/src/core/ui/components/container/FBox.js.map +1 -1
  39. package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
  40. package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  41. package/dist/ui/esm/src/core/ui/components/icon/Icon.js +2 -0
  42. package/dist/ui/esm/src/core/ui/components/icon/Icon.js.map +1 -0
  43. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js +1 -1
  44. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  45. package/dist/ui/esm/src/core/ui/index.js +1 -1
  46. package/dist/ui/src/core/ui/components/container/FBox.js +1 -1
  47. package/dist/ui/src/core/ui/components/container/FBox.js.map +1 -1
  48. package/dist/ui/src/core/ui/components/dividers/DividerLine.js +1 -1
  49. package/dist/ui/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  50. package/dist/ui/src/core/ui/components/icon/Icon.js +2 -0
  51. package/dist/ui/src/core/ui/components/icon/Icon.js.map +1 -0
  52. package/dist/ui/src/core/ui/components/icon/IconBase.js +1 -1
  53. package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
  54. package/dist/ui/src/core/ui/index.js +1 -1
  55. package/dist/utils/esm/index.css +19 -19
  56. package/dist/utils/index.css +19 -19
  57. package/package.json +1 -1
@@ -1,22 +1,3 @@
1
- .icon-module_icon-base__S0tHf {
2
- min-width: var(--min-width);
3
- min-height: var(--min-width);
4
- width: var(--height);
5
- height: var(--width);
6
- mask-image: var(--icon-url);
7
- -webkit-mask-image: var(--icon-url);
8
- background-color: var(--icon-color);
9
- background-repeat: no-repeat;
10
- mask-repeat: no-repeat;
11
- -webkit-mask-repeat: no-repeat;
12
- mask-size: contain;
13
- -webkit-mask-size: contain;
14
- mask-position: center;
15
- -webkit-mask-position: center;
16
- display: inline-block;
17
- will-change: transform;
18
- transform: translate3d(0, 0, 0);
19
- }
20
1
  .divider-module_divider-line__6CesR {
21
2
  position: relative;
22
3
  display: block;
@@ -59,4 +40,23 @@
59
40
  min-width: 0;
60
41
  min-height: 0;
61
42
  border-radius: initial;
43
+ }
44
+ .icon-module_icon-base__S0tHf {
45
+ min-width: var(--min-width);
46
+ min-height: var(--min-width);
47
+ width: var(--height);
48
+ height: var(--width);
49
+ mask-image: var(--icon-url);
50
+ -webkit-mask-image: var(--icon-url);
51
+ background-color: var(--icon-color);
52
+ background-repeat: no-repeat;
53
+ mask-repeat: no-repeat;
54
+ -webkit-mask-repeat: no-repeat;
55
+ mask-size: contain;
56
+ -webkit-mask-size: contain;
57
+ mask-position: center;
58
+ -webkit-mask-position: center;
59
+ display: inline-block;
60
+ will-change: transform;
61
+ transform: translate3d(0, 0, 0);
62
62
  }
@@ -1,22 +1,3 @@
1
- .icon-module_icon-base__S0tHf {
2
- min-width: var(--min-width);
3
- min-height: var(--min-width);
4
- width: var(--height);
5
- height: var(--width);
6
- mask-image: var(--icon-url);
7
- -webkit-mask-image: var(--icon-url);
8
- background-color: var(--icon-color);
9
- background-repeat: no-repeat;
10
- mask-repeat: no-repeat;
11
- -webkit-mask-repeat: no-repeat;
12
- mask-size: contain;
13
- -webkit-mask-size: contain;
14
- mask-position: center;
15
- -webkit-mask-position: center;
16
- display: inline-block;
17
- will-change: transform;
18
- transform: translate3d(0, 0, 0);
19
- }
20
1
  .divider-module_divider-line__6CesR {
21
2
  position: relative;
22
3
  display: block;
@@ -59,4 +40,23 @@
59
40
  min-width: 0;
60
41
  min-height: 0;
61
42
  border-radius: initial;
43
+ }
44
+ .icon-module_icon-base__S0tHf {
45
+ min-width: var(--min-width);
46
+ min-height: var(--min-width);
47
+ width: var(--height);
48
+ height: var(--width);
49
+ mask-image: var(--icon-url);
50
+ -webkit-mask-image: var(--icon-url);
51
+ background-color: var(--icon-color);
52
+ background-repeat: no-repeat;
53
+ mask-repeat: no-repeat;
54
+ -webkit-mask-repeat: no-repeat;
55
+ mask-size: contain;
56
+ -webkit-mask-size: contain;
57
+ mask-position: center;
58
+ -webkit-mask-position: center;
59
+ display: inline-block;
60
+ will-change: transform;
61
+ transform: translate3d(0, 0, 0);
62
62
  }
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js"),r=require("react"),t=require("./fbox.module.scss.js"),i=["style","children"],l={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},o=function(e){return e&&l[e]||e},a=r.forwardRef((function(l,a){var s=l.style,n=l.children,d=e.objectWithoutProperties(l,i),c=r.useMemo((function(){return e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2({},s),d),d.align?{alignItems:o(d.align)}:{}),d.justify?{justifyContent:o(d.justify)}:{}),d.direction?{flexDirection:d.direction}:{})}),[d,s]);return React.createElement("div",{ref:a,className:t["flexible-box"],style:c},n)}));a.displayName="FBoxRefForwarded";var s=r.memo(a);s.displayName="FBox",exports.FBox=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var r=require("react"),t=require("./fbox.module.scss.js"),a=["style","children","className"],o={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},s=function(e){return e&&o[e]||e},l=r.forwardRef((function(o,l){var i=o.style,c=o.children,n=o.className,d=e.objectWithoutProperties(o,a),u=r.useMemo((function(){return e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2({},i),d),d.align?{alignItems:s(d.align)}:{}),d.justify?{justifyContent:s(d.justify)}:{}),d.direction?{flexDirection:d.direction}:{})}),[d,i]);return React.createElement("div",{ref:l,className:"".concat(t["flexible-box"]," ").concat(n),style:u},c)}));l.displayName="FBoxRefForwarded";var i=r.memo(l);i.displayName="FBox",exports.FBox=i;
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}\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, ...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 ref={ref} className={(classes as any)['flexible-box']} style={styles as CSSProperties}>{children}</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","props","_objectWithoutProperties","objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","objectSpread2","align","alignItems","justify","justifyContent","direction","flexDirection","React","createElement","className","classes","displayName","FBox","memo"],"mappings":"uNA+BMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAmB,SAACC,GAAc,OAA0BA,GAASJ,EAAaI,IAAmBA,CAAK,EAG1GC,EAAmBC,EAAUA,YAAC,SAAAC,EAEtBC,GAA+C,IAD3DC,EAAKF,EAALE,MAAOC,EAAQH,EAARG,SAAaC,EAAKC,EAAAC,wBAAAN,EAAAO,GAEnBC,EAASC,EAAAA,SAAQ,WAAA,OAAAC,gBAAAA,EAAAA,cAAAA,EAAAC,cAAAD,EAAAC,cAAAD,EAAAC,cAAA,GAEhBT,GACAE,GACCA,EAAMQ,MAAQ,CAAEC,WAAYjB,EAAiBQ,EAAMQ,QAAW,CAAE,GAChER,EAAMU,QAAU,CAAEC,eAAgBnB,EAAiBQ,EAAMU,UAAa,CAAE,GACxEV,EAAMY,UAAY,CAAEC,cAAeb,EAAMY,WAAc,CAAE,EAAA,GAE9D,CAACZ,EAAOF,IAEX,OACEgB,MAAAC,cAAA,MAAA,CAAKlB,IAAKA,EAAKmB,UAAYC,EAAgB,gBAAiBnB,MAAOM,GAA0BL,EAEjG,IAEAL,EAAiBwB,YAAc,uBAElBC,EAAOC,EAAIA,KAAY1B,GAGpCyB,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","className","props","_objectWithoutProperties","objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","objectSpread2","align","alignItems","justify","justifyContent","direction","flexDirection","React","createElement","concat","classes","displayName","FBox","memo"],"mappings":"iTAgCMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAmB,SAACC,GAAc,OAA0BA,GAASJ,EAAaI,IAAmBA,CAAK,EAG1GC,EAAmBC,EAAUA,YAAC,SAAAC,EAEtBC,GAA+C,IAD3DC,EAAKF,EAALE,MAAOC,EAAQH,EAARG,SAAUC,EAASJ,EAATI,UAAcC,EAAKC,EAAAC,wBAAAP,EAAAQ,GAE9BC,EAASC,EAAAA,SAAQ,WAAA,OAAAC,gBAAAA,EAAAA,cAAAA,EAAAC,cAAAD,EAAAC,cAAAD,EAAAC,cAAA,GAEhBV,GACAG,GACCA,EAAMQ,MAAQ,CAAEC,WAAYlB,EAAiBS,EAAMQ,QAAW,CAAE,GAChER,EAAMU,QAAU,CAAEC,eAAgBpB,EAAiBS,EAAMU,UAAa,CAAE,GACxEV,EAAMY,UAAY,CAAEC,cAAeb,EAAMY,WAAc,CAAE,EAAA,GAE9D,CAACZ,EAAOH,IAEX,OACEiB,MAAAC,cAAA,MAAA,CACEnB,IAAKA,EACLG,UAAS,GAAAiB,OAAMC,EAAgB,gBAAeD,KAAAA,OAAIjB,GAClDF,MAAOO,GAENN,EAGP,IAEAL,EAAiByB,YAAc,uBAElBC,EAAOC,EAAIA,KAAY3B,GAGpC0B,EAAKD,YAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var r=require("react"),i=require("./divider.module.scss.js"),t=r.memo((function(e){var t=e.orientation,o=e.vertical,a=e.color,n=void 0===a?"#999999":a,l=e.opacity,c=e.length,d=void 0===c?"80%":c,s=e.left,u=void 0===s?"0":s,v=e.width,m=void 0===v?"1px":v,p=e.height,h=void 0===p?"1px":p,g=e.margin,f=r.useMemo((function(){return"vertical"===t||!0===o}),[t,o]),x=r.useMemo((function(){return{"--width":m,"--height":h,"--length":d,"--opacity":l,"--color":n,"--left":u,"--margin":g||(f?"auto 0":"0 auto")}}),[m,h,d,l,n,u,g,f]),y=f?i.vertical:i.horizontal;return React.createElement("div",{className:"".concat(i["divider-line"]," ").concat(y),style:x})}));t.displayName="DividerLine";var o=r.memo((function(r){return React.createElement(t,e.extends({vertical:!0,length:"100%"},r))}));o.displayName="DividerVertical";var a=r.memo((function(r){return React.createElement(t,e.extends({length:"100%"},r))}));a.displayName="DividerHorizontal",exports.DividerHorizontal=a,exports.DividerLine=t,exports.DividerVertical=o;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var r=require("react"),t=require("./divider.module.scss.js"),i=r.memo((function(e){var i=e.orientation,a=e.vertical,o=e.color,n=void 0===o?"#999999":o,l=e.opacity,c=e.length,s=void 0===c?"80%":c,d=e.left,u=void 0===d?"0":d,v=e.width,m=void 0===v?"1px":v,p=e.height,h=void 0===p?"1px":p,g=e.margin,f=e.className,x=r.useMemo((function(){return"vertical"===i||!0===a}),[i,a]),y=r.useMemo((function(){return{"--width":m,"--height":h,"--length":s,"--opacity":l,"--color":n,"--left":u,"--margin":g||(x?"auto 0":"0 auto")}}),[m,h,s,l,n,u,g,x]),D=x?t.vertical:t.horizontal;return React.createElement("div",{className:"".concat(t["divider-line"]," ").concat(D," ").concat(f),style:y})}));i.displayName="DividerLine";var a=r.memo((function(r){return React.createElement(i,e.extends({vertical:!0,length:"100%"},r))}));a.displayName="DividerVertical";var o=r.memo((function(r){return React.createElement(i,e.extends({length:"100%"},r))}));o.displayName="DividerHorizontal",exports.DividerHorizontal=o,exports.DividerLine=i,exports.DividerVertical=a;
2
2
  //# sourceMappingURL=DividerLine.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DividerLine.js","sources":["../../../../../../../../src/core/ui/components/dividers/DividerLine.tsx"],"sourcesContent":["/* eslint-disable react/jsx-props-no-spreading */\nimport { memo, FC, CSSProperties, useMemo } from 'react'\n\nimport classes from './divider.module.scss'\n\ntype DividerProps = {\n orientation?: string\n margin?: string\n vertical?: boolean\n length?: string\n color?: string\n opacity?: number\n left?: string\n width?: string\n height?: string\n}\n\nexport const DividerLine: FC<DividerProps> = memo<DividerProps>(({\n orientation, vertical,\n color = '#999999',\n opacity,\n length = '80%', left = '0',\n width = '1px', height = '1px',\n margin,\n}: DividerProps) => {\n const isVertical = useMemo(() => orientation === 'vertical' || vertical === true, [orientation, vertical])\n\n const styles = useMemo(() => (\n {\n '--width': width,\n '--height': height,\n '--length': length,\n '--opacity': opacity,\n '--color': color,\n '--left': left,\n '--margin': margin || (isVertical ? 'auto 0' : '0 auto'),\n }\n ), [width, height, length, opacity, color, left, margin, isVertical])\n\n const verHorClass = isVertical ? classes.vertical : classes.horizontal\n\n return (\n <div className={`${classes['divider-line']} ${verHorClass}`} style={styles as CSSProperties} />\n )\n})\n\nDividerLine.displayName = 'DividerLine'\n\nexport const DividerVertical: FC<DividerProps>\n = memo((props) => <DividerLine vertical length='100%' {...props} />)\nDividerVertical.displayName = 'DividerVertical'\n\nexport const DividerHorizontal: FC<DividerProps>\n = memo((props) => <DividerLine length='100%' {...props} />)\nDividerHorizontal.displayName = 'DividerHorizontal'\n"],"names":["DividerLine","memo","_ref","orientation","vertical","_ref$color","color","opacity","_ref$length","length","_ref$left","left","_ref$width","width","_ref$height","height","margin","isVertical","useMemo","styles","verHorClass","classes","horizontal","React","createElement","className","concat","style","displayName","DividerVertical","props","_extends","DividerHorizontal"],"mappings":"iRAiBaA,EAAgCC,EAAAA,MAAmB,SAAAC,GAO5C,IANlBC,EAAWD,EAAXC,YAAaC,EAAQF,EAARE,SAAQC,EAAAH,EACrBI,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EACjBE,EAAOL,EAAPK,QAAOC,EAAAN,EACPO,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAAAE,EAAAR,EAAES,KAAAA,OAAO,IAAHD,EAAG,IAAGA,EAAAE,EAAAV,EAC1BW,MAAAA,OAAQ,IAAHD,EAAG,MAAKA,EAAAE,EAAAZ,EAAEa,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAC7BE,EAAMd,EAANc,OAEMC,EAAaC,EAAAA,SAAQ,WAAA,MAAsB,aAAhBf,IAA2C,IAAbC,CAAiB,GAAE,CAACD,EAAaC,IAE1Fe,EAASD,EAAAA,SAAQ,WAAA,MACrB,CACE,UAAWL,EACX,WAAYE,EACZ,WAAYN,EACZ,YAAaF,EACb,UAAWD,EACX,SAAUK,EACV,WAAYK,IAAWC,EAAa,SAAW,UAChD,GACA,CAACJ,EAAOE,EAAQN,EAAQF,EAASD,EAAOK,EAAMK,EAAQC,IAEnDG,EAAcH,EAAaI,EAAQjB,SAAWiB,EAAQC,WAE5D,OACEC,MAAAC,cAAA,MAAA,CAAKC,UAAS,GAAAC,OAAKL,EAAQ,gBAAeK,KAAAA,OAAIN,GAAeO,MAAOR,GAExE,IAEAnB,EAAY4B,YAAc,kBAEbC,EACT5B,EAAAA,MAAK,SAAC6B,GAAK,OAAKP,MAAAC,cAACxB,EAAW+B,UAAA,CAAC3B,UAAQ,EAACK,OAAO,QAAWqB,GAAS,IACrED,EAAgBD,YAAc,sBAEjBI,EACT/B,EAAAA,MAAK,SAAC6B,GAAK,OAAKP,MAAAC,cAACxB,EAAW+B,UAAA,CAACtB,OAAO,QAAWqB,GAAS,IAC5DE,EAAkBJ,YAAc"}
1
+ {"version":3,"file":"DividerLine.js","sources":["../../../../../../../../src/core/ui/components/dividers/DividerLine.tsx"],"sourcesContent":["/* eslint-disable react/jsx-props-no-spreading */\nimport { memo, FC, CSSProperties, useMemo } from 'react'\n\nimport classes from './divider.module.scss'\n\ntype DividerProps = {\n orientation?: string\n margin?: string\n vertical?: boolean\n length?: string\n color?: string\n opacity?: number\n left?: string\n width?: string\n height?: string\n className?: string\n}\n\nexport const DividerLine: FC<DividerProps> = memo<DividerProps>(({\n orientation, vertical,\n color = '#999999',\n opacity,\n length = '80%', left = '0',\n width = '1px', height = '1px',\n margin,\n className,\n}: DividerProps) => {\n const isVertical = useMemo(() => orientation === 'vertical' || vertical === true, [orientation, vertical])\n\n const styles = useMemo(() => (\n {\n '--width': width,\n '--height': height,\n '--length': length,\n '--opacity': opacity,\n '--color': color,\n '--left': left,\n '--margin': margin || (isVertical ? 'auto 0' : '0 auto'),\n }\n ), [width, height, length, opacity, color, left, margin, isVertical])\n\n const verHorClass = isVertical ? classes.vertical : classes.horizontal\n\n return (\n <div\n className={`${(classes as any)['divider-line']} ${verHorClass} ${className}`}\n style={styles as CSSProperties}\n />\n )\n})\n\nDividerLine.displayName = 'DividerLine'\n\nexport const DividerVertical: FC<DividerProps>\n = memo((props) => <DividerLine vertical length='100%' {...props} />)\nDividerVertical.displayName = 'DividerVertical'\n\nexport const DividerHorizontal: FC<DividerProps>\n = memo((props) => <DividerLine length='100%' {...props} />)\nDividerHorizontal.displayName = 'DividerHorizontal'\n"],"names":["DividerLine","memo","_ref","orientation","vertical","_ref$color","color","opacity","_ref$length","length","_ref$left","left","_ref$width","width","_ref$height","height","margin","className","isVertical","useMemo","styles","verHorClass","classes","horizontal","React","createElement","concat","style","displayName","DividerVertical","props","_extends","DividerHorizontal"],"mappings":"iRAkBaA,EAAgCC,EAAAA,MAAmB,SAAAC,GAQ5C,IAPlBC,EAAWD,EAAXC,YAAaC,EAAQF,EAARE,SAAQC,EAAAH,EACrBI,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EACjBE,EAAOL,EAAPK,QAAOC,EAAAN,EACPO,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAAAE,EAAAR,EAAES,KAAAA,OAAO,IAAHD,EAAG,IAAGA,EAAAE,EAAAV,EAC1BW,MAAAA,OAAQ,IAAHD,EAAG,MAAKA,EAAAE,EAAAZ,EAAEa,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAC7BE,EAAMd,EAANc,OACAC,EAASf,EAATe,UAEMC,EAAaC,EAAAA,SAAQ,WAAA,MAAsB,aAAhBhB,IAA2C,IAAbC,CAAiB,GAAE,CAACD,EAAaC,IAE1FgB,EAASD,EAAAA,SAAQ,WAAA,MACrB,CACE,UAAWN,EACX,WAAYE,EACZ,WAAYN,EACZ,YAAaF,EACb,UAAWD,EACX,SAAUK,EACV,WAAYK,IAAWE,EAAa,SAAW,UAChD,GACA,CAACL,EAAOE,EAAQN,EAAQF,EAASD,EAAOK,EAAMK,EAAQE,IAEnDG,EAAcH,EAAaI,EAAQlB,SAAWkB,EAAQC,WAE5D,OACEC,MAAAC,cAAA,MAAA,CACER,UAASS,GAAAA,OAAMJ,EAAgB,gBAAeI,KAAAA,OAAIL,EAAW,KAAAK,OAAIT,GACjEU,MAAOP,GAGb,IAEApB,EAAY4B,YAAc,kBAEbC,EACT5B,EAAAA,MAAK,SAAC6B,GAAK,OAAKN,MAAAC,cAACzB,EAAW+B,UAAA,CAAC3B,UAAQ,EAACK,OAAO,QAAWqB,GAAS,IACrED,EAAgBD,YAAc,sBAEjBI,EACT/B,EAAAA,MAAK,SAAC6B,GAAK,OAAKN,MAAAC,cAACzB,EAAW+B,UAAA,CAACtB,OAAO,QAAWqB,GAAS,IAC5DE,EAAkBJ,YAAc"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../../../node_modules/core-js/modules/es.array.concat.js");var e=require("react").memo((function(e){var a=e.icon,c=e.className,o=e.color,r=void 0===o?"currentColor":o;return React.createElement("svg",{"aria-hidden":"true",focusable:"false","data-prefix":a.prefix,"data-icon":a.iconName,className:"svg-inline--fa fa-".concat(a.iconName," ").concat(c),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(a.icon[0]," ").concat(a.icon[1])},React.createElement("path",{fill:r,d:a.icon[4]}))}));e.displayName="Icon",exports.Icon=e;
2
+ //# sourceMappingURL=Icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.js","sources":["../../../../../../../../src/core/ui/components/icon/Icon.tsx"],"sourcesContent":["import { memo } from 'react'\n\ntype IconType = {\n icon: {\n prefix: string\n iconName: string\n icon: any[]\n }\n className?: string\n color?: string\n}\n\nexport const Icon = memo<IconType>(({ icon, className, color = 'currentColor' }: IconType) => (\n <svg\n aria-hidden='true'\n focusable='false'\n data-prefix={icon.prefix}\n data-icon={icon.iconName}\n className={`svg-inline--fa fa-${icon.iconName} ${className}`}\n role='img'\n xmlns='http://www.w3.org/2000/svg'\n viewBox={`0 0 ${icon.icon[0]} ${icon.icon[1]}`}\n >\n <path\n fill={color}\n d={icon.icon[4]}\n />\n </svg>\n))\n\nIcon.displayName = 'Icon'\n"],"names":["Icon","memo","_ref","icon","className","_ref$color","color","React","createElement","focusable","prefix","iconName","concat","role","xmlns","viewBox","fill","d","displayName"],"mappings":"kJAYaA,mBAAOC,MAAe,SAAAC,GAAA,IAAGC,EAAID,EAAJC,KAAMC,EAASF,EAATE,UAASC,EAAAH,EAAEI,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAA,OAC3EE,MAAAC,cAAA,MAAA,CACE,cAAY,OACZC,UAAU,QACV,cAAaN,EAAKO,OAClB,YAAWP,EAAKQ,SAChBP,UAAS,qBAAAQ,OAAuBT,EAAKQ,SAAQC,KAAAA,OAAIR,GACjDS,KAAK,MACLC,MAAM,6BACNC,eAAOH,OAAST,EAAKA,KAAK,GAAE,KAAAS,OAAIT,EAAKA,KAAK,KAE1CI,MAAAC,cAAA,OAAA,CACEQ,KAAMV,EACNW,EAAGd,EAAKA,KAAK,KAEX,IAGRH,EAAKkB,YAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),i=require("./icon.module.scss.js"),o=e.memo((function(o){var r=o.iconUrl,t=o.minWidth,c=void 0===t?"1rem":t,n=o.minHeight,s=void 0===n?"1rem":n,a=o.width,u=o.height,l=o.color,m=void 0===l?"currentColor":l,d=e.useMemo((function(){return{"--min-width":c,"--min-height":s,"--width":a,"--height":u,"--icon-url":"url(".concat(r,")"),"--icon-color":m}}),[c,s,a,u,r,m]);return React.createElement("span",{className:"".concat(i["icon-base"]," icon-base"),style:d})}));o.displayName="IconBase",exports.IconBase=o;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../../../node_modules/core-js/modules/es.array.concat.js");var e=require("react"),o=require("./icon.module.scss.js"),r=e.memo((function(r){var c=r.iconUrl,i=r.minWidth,t=void 0===i?"1rem":i,n=r.minHeight,s=void 0===n?"1rem":n,a=r.width,u=r.height,l=r.color,m=void 0===l?"currentColor":l,d=r.className,h=e.useMemo((function(){return{"--min-width":t,"--min-height":s,"--width":a,"--height":u,"--icon-url":"url(".concat(c,")"),"--icon-color":m}}),[t,s,a,u,c,m]);return React.createElement("span",{className:"".concat(o["icon-base"]," icon-base ").concat(d),style:h})}));r.displayName="IconBase",exports.IconBase=r;
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 color?: string\n}\n\nexport const IconBase = memo<IconBaseType>(({\n iconUrl, minWidth = '1rem', minHeight = '1rem', width, height, color = 'currentColor',\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth,\n '--min-height': minHeight,\n '--width': width,\n '--height': height,\n '--icon-url': `url(${iconUrl})`,\n '--icon-color': color,\n }\n ), [minWidth, minHeight, width, height, iconUrl, color])\n\n return (\n <span className={`${classes['icon-base']} icon-base`} style={styles as CSSProperties} />\n )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","_ref$minWidth","minWidth","_ref$minHeight","minHeight","width","height","_ref$color","color","styles","useMemo","concat","React","createElement","className","classes","style","displayName"],"mappings":"8HAaaA,EAAWC,EAAAA,MAAmB,SAAAC,GAEvB,IADlBC,EAAOD,EAAPC,QAAOC,EAAAF,EAAEG,SAAAA,OAAW,IAAHD,EAAG,OAAMA,EAAAE,EAAAJ,EAAEK,UAAAA,OAAY,IAAHD,EAAG,OAAMA,EAAEE,EAAKN,EAALM,MAAOC,EAAMP,EAANO,OAAMC,EAAAR,EAAES,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAE/EE,EAASC,EAAAA,SAAQ,WAAA,MACrB,CACE,cAAeR,EACf,eAAgBE,EAChB,UAAWC,EACX,WAAYC,EACZ,aAAYK,OAAAA,OAASX,EAAU,KAC/B,eAAgBQ,EACjB,GACA,CAACN,EAAUE,EAAWC,EAAOC,EAAQN,EAASQ,IAEjD,OACEI,MAAAC,cAAA,OAAA,CAAMC,aAASH,OAAKI,EAAQ,aAAyB,cAACC,MAAOP,GAEjE,IAEAZ,EAASoB,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\ntype IconBaseType = PropsWithChildren<any> & {\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n color?: string\n className?: string\n}\n\nexport const IconBase = memo<IconBaseType>(({\n iconUrl, minWidth = '1rem', minHeight = '1rem', width, height, color = 'currentColor', className,\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth,\n '--min-height': minHeight,\n '--width': width,\n '--height': height,\n '--icon-url': `url(${iconUrl})`,\n '--icon-color': color,\n }\n ), [minWidth, minHeight, 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 )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","_ref$minWidth","minWidth","_ref$minHeight","minHeight","width","height","_ref$color","color","className","styles","useMemo","concat","React","createElement","classes","style","displayName"],"mappings":"wMAcaA,EAAWC,EAAAA,MAAmB,SAAAC,GAEvB,IADlBC,EAAOD,EAAPC,QAAOC,EAAAF,EAAEG,SAAAA,OAAW,IAAHD,EAAG,OAAMA,EAAAE,EAAAJ,EAAEK,UAAAA,OAAY,IAAHD,EAAG,OAAMA,EAAEE,EAAKN,EAALM,MAAOC,EAAMP,EAANO,OAAMC,EAAAR,EAAES,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAEE,EAASV,EAATU,UAEjFC,EAASC,EAAAA,SAAQ,WAAA,MACrB,CACE,cAAeT,EACf,eAAgBE,EAChB,UAAWC,EACX,WAAYC,EACZ,aAAYM,OAAAA,OAASZ,EAAU,KAC/B,eAAgBQ,EACjB,GACA,CAACN,EAAUE,EAAWC,EAAOC,EAAQN,EAASQ,IAEjD,OACEK,MAAAC,cAAA,OAAA,CACEL,UAAS,GAAAG,OAAMG,EAAgB,aAAYH,eAAAA,OAAcH,GACzDO,MAAON,GAGb,IAEAb,EAASoB,YAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core/hooks/useApi.js"),r=require("./core/hooks/useToggle.js"),t=require("./core/hooks/useTranslations.js"),o=require("./core/hooks/useOutsideClick.js"),s=require("./core/hooks/useResize.js"),i=require("./core/utils/helpers/birthnumber.validator.js"),a=require("./core/utils/helpers/birthnumberCZSKvalidator.js"),l=require("./core/utils/helpers/fileValidator.js"),n=require("./core/utils/helpers/date.js"),p=require("./core/utils/helpers/deviceInfo.js"),x=require("./core/utils/helpers/emailMatcher.js"),u=require("./core/utils/helpers/file.js"),c=require("./core/utils/helpers/objectOperations.js"),m=require("./core/utils/helpers/other.js"),d=require("./core/utils/helpers/textValueOperations.js"),T=require("./core/utils/helpers/valueOperations.js"),g=require("./core/utils/keyExtractor.js"),h=require("./core/utils/date.js"),F=require("./core/ui/utils/style.js"),v=require("./core/ui/components/container/FBox.js"),j=require("./core/ui/components/container/Flex.js"),C=require("./core/ui/components/container/Placeholder.js"),f=require("./core/ui/components/container/Container.js"),S=require("./core/ui/components/field/Field.js"),q=require("./core/ui/components/dividers/DividerLine.js"),b=require("./core/ui/components/icon/IconBase.js"),y=require("./core/constants/ui.constants.js");exports.useApi=e.useApi,exports.useToggle=r.useToggle,exports.createSafeT=t.createSafeT,exports.setUseTranslation=t.setUseTranslation,exports.useTranslations=t.useTranslations,exports.useOutsideClick=o.useOutsideClick,exports.useResize=s.useResize,exports.isBirthNumberValid=i.isBirthNumberValid,exports.getMatch=a.getMatch,exports.isValidFormat=a.isValidFormat,exports.isValidModulo11=a.isValidModulo11,exports.parse=a.parse,exports.regex=a.regex,exports.parseCSVdata=l.parseCSVdata,exports.validateCSVFile=l.validateCSVFile,exports.validateCSVlines=l.validateCSVlines,exports.validateJSONFile=l.validateJSONFile,exports.validateLineCellTrimmed=l.validateLineCellTrimmed,exports.validateLineNumColumns=l.validateLineNumColumns,exports.validateSDFFile=l.validateSDFFile,exports.DATE_FORMAT=n.DATE_FORMAT,exports.formatDateToTimestamp=n.formatDateToTimestamp,exports.getDate=n.getDate,exports.getDeviceId=p.getDeviceId,exports.emailMatch=x.emailMatch,exports.emailMatcher=x.emailMatcher,exports.regexBuilder=x.regexBuilder,exports.cleanCsvLines=u.cleanCsvLines,exports.formatFilePath=u.formatFilePath,exports.arrayToObjectTree=c.arrayToObjectTree,exports.chunkArray=c.chunkArray,exports.duplicatesInArray=c.duplicatesInArray,exports.formatJsonString=c.formatJsonString,exports.formatObj=c.formatObj,exports.debounce=m.debounce,exports.delay=m.delay,exports.memoize=m.memoize,exports.memoizeComplex=m.memoizeComplex,exports.memoizer=m.memoizer,exports.nestedTernary=m.nestedTernary,exports.escapeRegExp=d.escapeRegExp,exports.fileNameExt=d.fileNameExt,exports.findStringInText=d.findStringInText,exports.normalizeString=d.normalizeString,exports.removeWhitespaces=d.removeWhitespaces,exports.sanitizeId=d.sanitizeId,exports.sanitizePathId=d.sanitizePathId,exports.toLowerCase=d.toLowerCase,exports.toUpperCase=d.toUpperCase,exports.truncateText=d.truncateText,Object.defineProperty(exports,"Operation",{enumerable:!0,get:function(){return T.Operation}}),exports.decrementValue=T.decrementValue,exports.incerementValue=T.incerementValue,exports.numberDefined=T.numberDefined,exports.numberOperation=T.numberOperation,exports.restrictNumberInLimits=T.restrictNumberInLimits,exports.setValue=T.setValue,exports.keyExtractor=g.keyExtractor,exports.keyExtractorFunction=g.keyExtractorFunction,exports.dateRangeFormat=h.dateRangeFormat,exports.getDateTime=h.getDateTime,exports.getTimeFromNow=h.getTimeFromNow,exports.getTimeFromNowOriginal=h.getTimeFromNowOriginal,exports.getTimeTo=h.getTimeTo,exports.calculateColors=F.calculateColors,exports.calculatePercColor=F.calculatePercColor,exports.convertHex=F.convertHex,exports.convertRGB=F.convertRGB,Object.defineProperty(exports,"defaultFontSize",{enumerable:!0,get:function(){return F.defaultFontSize}}),exports.pxToRem=F.pxToRem,exports.resolveStyleValue=F.resolveStyleValue,exports.setDefaultFontSize=F.setDefaultFontSize,exports.toHex=F.toHex,exports.FBox=v.FBox,exports.Flex=j.Flex,exports.FlexTight=j.FlexTight,exports.FlexTightStyled=j.FlexTightStyled,exports.FlexWrapper=j.FlexWrapper,exports.Placeholder=C.Placeholder,exports.Container=f.Container,exports.Field=S.Field,exports.FieldWrapper=S.FieldWrapper,exports.Select=S.Select,exports.setIconColor=S.setIconColor,exports.setIconComponent=S.setIconComponent,exports.DividerHorizontal=q.DividerHorizontal,exports.DividerLine=q.DividerLine,exports.DividerVertical=q.DividerVertical,exports.IconBase=b.IconBase,Object.defineProperty(exports,"EventName",{enumerable:!0,get:function(){return y.EventName}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core/hooks/useApi.js"),r=require("./core/hooks/useToggle.js"),t=require("./core/hooks/useTranslations.js"),o=require("./core/hooks/useOutsideClick.js"),s=require("./core/hooks/useResize.js"),i=require("./core/utils/helpers/birthnumber.validator.js"),a=require("./core/utils/helpers/birthnumberCZSKvalidator.js"),l=require("./core/utils/helpers/fileValidator.js"),n=require("./core/utils/helpers/date.js"),p=require("./core/utils/helpers/deviceInfo.js"),x=require("./core/utils/helpers/emailMatcher.js"),c=require("./core/utils/helpers/file.js"),u=require("./core/utils/helpers/objectOperations.js"),m=require("./core/utils/helpers/other.js"),d=require("./core/utils/helpers/textValueOperations.js"),T=require("./core/utils/helpers/valueOperations.js"),g=require("./core/utils/keyExtractor.js"),h=require("./core/utils/date.js"),F=require("./core/ui/utils/style.js"),v=require("./core/ui/components/container/FBox.js"),j=require("./core/ui/components/container/Flex.js"),C=require("./core/ui/components/container/Placeholder.js"),f=require("./core/ui/components/container/Container.js"),S=require("./core/ui/components/field/Field.js"),q=require("./core/ui/components/dividers/DividerLine.js"),b=require("./core/ui/components/icon/IconBase.js"),y=require("./core/ui/components/icon/Icon.js"),O=require("./core/constants/ui.constants.js");exports.useApi=e.useApi,exports.useToggle=r.useToggle,exports.createSafeT=t.createSafeT,exports.setUseTranslation=t.setUseTranslation,exports.useTranslations=t.useTranslations,exports.useOutsideClick=o.useOutsideClick,exports.useResize=s.useResize,exports.isBirthNumberValid=i.isBirthNumberValid,exports.getMatch=a.getMatch,exports.isValidFormat=a.isValidFormat,exports.isValidModulo11=a.isValidModulo11,exports.parse=a.parse,exports.regex=a.regex,exports.parseCSVdata=l.parseCSVdata,exports.validateCSVFile=l.validateCSVFile,exports.validateCSVlines=l.validateCSVlines,exports.validateJSONFile=l.validateJSONFile,exports.validateLineCellTrimmed=l.validateLineCellTrimmed,exports.validateLineNumColumns=l.validateLineNumColumns,exports.validateSDFFile=l.validateSDFFile,exports.DATE_FORMAT=n.DATE_FORMAT,exports.formatDateToTimestamp=n.formatDateToTimestamp,exports.getDate=n.getDate,exports.getDeviceId=p.getDeviceId,exports.emailMatch=x.emailMatch,exports.emailMatcher=x.emailMatcher,exports.regexBuilder=x.regexBuilder,exports.cleanCsvLines=c.cleanCsvLines,exports.formatFilePath=c.formatFilePath,exports.arrayToObjectTree=u.arrayToObjectTree,exports.chunkArray=u.chunkArray,exports.duplicatesInArray=u.duplicatesInArray,exports.formatJsonString=u.formatJsonString,exports.formatObj=u.formatObj,exports.debounce=m.debounce,exports.delay=m.delay,exports.memoize=m.memoize,exports.memoizeComplex=m.memoizeComplex,exports.memoizer=m.memoizer,exports.nestedTernary=m.nestedTernary,exports.escapeRegExp=d.escapeRegExp,exports.fileNameExt=d.fileNameExt,exports.findStringInText=d.findStringInText,exports.normalizeString=d.normalizeString,exports.removeWhitespaces=d.removeWhitespaces,exports.sanitizeId=d.sanitizeId,exports.sanitizePathId=d.sanitizePathId,exports.toLowerCase=d.toLowerCase,exports.toUpperCase=d.toUpperCase,exports.truncateText=d.truncateText,Object.defineProperty(exports,"Operation",{enumerable:!0,get:function(){return T.Operation}}),exports.decrementValue=T.decrementValue,exports.incerementValue=T.incerementValue,exports.numberDefined=T.numberDefined,exports.numberOperation=T.numberOperation,exports.restrictNumberInLimits=T.restrictNumberInLimits,exports.setValue=T.setValue,exports.keyExtractor=g.keyExtractor,exports.keyExtractorFunction=g.keyExtractorFunction,exports.dateRangeFormat=h.dateRangeFormat,exports.getDateTime=h.getDateTime,exports.getTimeFromNow=h.getTimeFromNow,exports.getTimeFromNowOriginal=h.getTimeFromNowOriginal,exports.getTimeTo=h.getTimeTo,exports.calculateColors=F.calculateColors,exports.calculatePercColor=F.calculatePercColor,exports.convertHex=F.convertHex,exports.convertRGB=F.convertRGB,Object.defineProperty(exports,"defaultFontSize",{enumerable:!0,get:function(){return F.defaultFontSize}}),exports.pxToRem=F.pxToRem,exports.resolveStyleValue=F.resolveStyleValue,exports.setDefaultFontSize=F.setDefaultFontSize,exports.toHex=F.toHex,exports.FBox=v.FBox,exports.Flex=j.Flex,exports.FlexTight=j.FlexTight,exports.FlexTightStyled=j.FlexTightStyled,exports.FlexWrapper=j.FlexWrapper,exports.Placeholder=C.Placeholder,exports.Container=f.Container,exports.Field=S.Field,exports.FieldWrapper=S.FieldWrapper,exports.Select=S.Select,exports.setIconColor=S.setIconColor,exports.setIconComponent=S.setIconComponent,exports.DividerHorizontal=q.DividerHorizontal,exports.DividerLine=q.DividerLine,exports.DividerVertical=q.DividerVertical,exports.IconBase=b.IconBase,exports.Icon=y.Icon,Object.defineProperty(exports,"EventName",{enumerable:!0,get:function(){return O.EventName}});
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{objectWithoutProperties as e,objectSpread2 as t}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import{memo as r,forwardRef as i,useMemo as l}from"react";import a from"./fbox.module.scss.js";var n=["style","children"],o={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},s=function(e){return e&&o[e]||e},f=i((function(r,i){var o=r.style,f=r.children,c=e(r,n),d=l((function(){return t(t(t(t(t({},o),c),c.align?{alignItems:s(c.align)}:{}),c.justify?{justifyContent:s(c.justify)}:{}),c.direction?{flexDirection:c.direction}:{})}),[c,o]);return React.createElement("div",{ref:i,className:a["flexible-box"],style:d},f)}));f.displayName="FBoxRefForwarded";var c=r(f);c.displayName="FBox";export{c 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=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};
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}\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, ...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 ref={ref} className={(classes as any)['flexible-box']} style={styles as CSSProperties}>{children}</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","props","_objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","align","alignItems","justify","justifyContent","direction","flexDirection","React","createElement","className","classes","displayName","FBox","memo"],"mappings":"4OA+BMA,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,SAAaC,EAAKC,EAAAL,EAAAM,GAEnBC,EAASC,GAAQ,WAAA,OAAAC,EAAAA,EAAAA,EAAAA,EAAAA,EAAA,GAEhBP,GACAE,GACCA,EAAMM,MAAQ,CAAEC,WAAYf,EAAiBQ,EAAMM,QAAW,CAAE,GAChEN,EAAMQ,QAAU,CAAEC,eAAgBjB,EAAiBQ,EAAMQ,UAAa,CAAE,GACxER,EAAMU,UAAY,CAAEC,cAAeX,EAAMU,WAAc,CAAE,EAAA,GAE9D,CAACV,EAAOF,IAEX,OACEc,MAAAC,cAAA,MAAA,CAAKhB,IAAKA,EAAKiB,UAAYC,EAAgB,gBAAiBjB,MAAOK,GAA0BJ,EAEjG,IAEAL,EAAiBsB,YAAc,uBAElBC,EAAOC,EAAgBxB,GAGpCuB,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","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,2 +1,2 @@
1
- import{extends as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as t,useMemo as i}from"react";import r from"./divider.module.scss.js";var a=t((function(e){var t=e.orientation,a=e.vertical,o=e.color,n=void 0===o?"#999999":o,l=e.opacity,c=e.length,d=void 0===c?"80%":c,v=e.left,m=void 0===v?"0":v,s=e.width,u=void 0===s?"1px":s,p=e.height,h=void 0===p?"1px":p,f=e.margin,g=i((function(){return"vertical"===t||!0===a}),[t,a]),y=i((function(){return{"--width":u,"--height":h,"--length":d,"--opacity":l,"--color":n,"--left":m,"--margin":f||(g?"auto 0":"0 auto")}}),[u,h,d,l,n,m,f,g]),j=g?r.vertical:r.horizontal;return React.createElement("div",{className:"".concat(r["divider-line"]," ").concat(j),style:y})}));a.displayName="DividerLine";var o=t((function(t){return React.createElement(a,e({vertical:!0,length:"100%"},t))}));o.displayName="DividerVertical";var n=t((function(t){return React.createElement(a,e({length:"100%"},t))}));n.displayName="DividerHorizontal";export{n as DividerHorizontal,a as DividerLine,o as DividerVertical};
1
+ import{extends as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as t,useMemo as i}from"react";import r from"./divider.module.scss.js";var a=t((function(e){var t=e.orientation,a=e.vertical,o=e.color,n=void 0===o?"#999999":o,l=e.opacity,c=e.length,d=void 0===c?"80%":c,s=e.left,m=void 0===s?"0":s,v=e.width,u=void 0===v?"1px":v,p=e.height,h=void 0===p?"1px":p,f=e.margin,g=e.className,y=i((function(){return"vertical"===t||!0===a}),[t,a]),N=i((function(){return{"--width":u,"--height":h,"--length":d,"--opacity":l,"--color":n,"--left":m,"--margin":f||(y?"auto 0":"0 auto")}}),[u,h,d,l,n,m,f,y]),j=y?r.vertical:r.horizontal;return React.createElement("div",{className:"".concat(r["divider-line"]," ").concat(j," ").concat(g),style:N})}));a.displayName="DividerLine";var o=t((function(t){return React.createElement(a,e({vertical:!0,length:"100%"},t))}));o.displayName="DividerVertical";var n=t((function(t){return React.createElement(a,e({length:"100%"},t))}));n.displayName="DividerHorizontal";export{n as DividerHorizontal,a as DividerLine,o as DividerVertical};
2
2
  //# sourceMappingURL=DividerLine.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DividerLine.js","sources":["../../../../../../../../src/core/ui/components/dividers/DividerLine.tsx"],"sourcesContent":["/* eslint-disable react/jsx-props-no-spreading */\nimport { memo, FC, CSSProperties, useMemo } from 'react'\n\nimport classes from './divider.module.scss'\n\ntype DividerProps = {\n orientation?: string\n margin?: string\n vertical?: boolean\n length?: string\n color?: string\n opacity?: number\n left?: string\n width?: string\n height?: string\n}\n\nexport const DividerLine: FC<DividerProps> = memo<DividerProps>(({\n orientation, vertical,\n color = '#999999',\n opacity,\n length = '80%', left = '0',\n width = '1px', height = '1px',\n margin,\n}: DividerProps) => {\n const isVertical = useMemo(() => orientation === 'vertical' || vertical === true, [orientation, vertical])\n\n const styles = useMemo(() => (\n {\n '--width': width,\n '--height': height,\n '--length': length,\n '--opacity': opacity,\n '--color': color,\n '--left': left,\n '--margin': margin || (isVertical ? 'auto 0' : '0 auto'),\n }\n ), [width, height, length, opacity, color, left, margin, isVertical])\n\n const verHorClass = isVertical ? classes.vertical : classes.horizontal\n\n return (\n <div className={`${classes['divider-line']} ${verHorClass}`} style={styles as CSSProperties} />\n )\n})\n\nDividerLine.displayName = 'DividerLine'\n\nexport const DividerVertical: FC<DividerProps>\n = memo((props) => <DividerLine vertical length='100%' {...props} />)\nDividerVertical.displayName = 'DividerVertical'\n\nexport const DividerHorizontal: FC<DividerProps>\n = memo((props) => <DividerLine length='100%' {...props} />)\nDividerHorizontal.displayName = 'DividerHorizontal'\n"],"names":["DividerLine","memo","_ref","orientation","vertical","_ref$color","color","opacity","_ref$length","length","_ref$left","left","_ref$width","width","_ref$height","height","margin","isVertical","useMemo","styles","verHorClass","classes","horizontal","React","createElement","className","concat","style","displayName","DividerVertical","props","_extends","DividerHorizontal"],"mappings":"4OAiBaA,EAAgCC,GAAmB,SAAAC,GAO5C,IANlBC,EAAWD,EAAXC,YAAaC,EAAQF,EAARE,SAAQC,EAAAH,EACrBI,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EACjBE,EAAOL,EAAPK,QAAOC,EAAAN,EACPO,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAAAE,EAAAR,EAAES,KAAAA,OAAO,IAAHD,EAAG,IAAGA,EAAAE,EAAAV,EAC1BW,MAAAA,OAAQ,IAAHD,EAAG,MAAKA,EAAAE,EAAAZ,EAAEa,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAC7BE,EAAMd,EAANc,OAEMC,EAAaC,GAAQ,WAAA,MAAsB,aAAhBf,IAA2C,IAAbC,CAAiB,GAAE,CAACD,EAAaC,IAE1Fe,EAASD,GAAQ,WAAA,MACrB,CACE,UAAWL,EACX,WAAYE,EACZ,WAAYN,EACZ,YAAaF,EACb,UAAWD,EACX,SAAUK,EACV,WAAYK,IAAWC,EAAa,SAAW,UAChD,GACA,CAACJ,EAAOE,EAAQN,EAAQF,EAASD,EAAOK,EAAMK,EAAQC,IAEnDG,EAAcH,EAAaI,EAAQjB,SAAWiB,EAAQC,WAE5D,OACEC,MAAAC,cAAA,MAAA,CAAKC,UAAS,GAAAC,OAAKL,EAAQ,gBAAeK,KAAAA,OAAIN,GAAeO,MAAOR,GAExE,IAEAnB,EAAY4B,YAAc,kBAEbC,EACT5B,GAAK,SAAC6B,GAAK,OAAKP,MAAAC,cAACxB,EAAW+B,EAAA,CAAC3B,UAAQ,EAACK,OAAO,QAAWqB,GAAS,IACrED,EAAgBD,YAAc,sBAEjBI,EACT/B,GAAK,SAAC6B,GAAK,OAAKP,MAAAC,cAACxB,EAAW+B,EAAA,CAACtB,OAAO,QAAWqB,GAAS,IAC5DE,EAAkBJ,YAAc"}
1
+ {"version":3,"file":"DividerLine.js","sources":["../../../../../../../../src/core/ui/components/dividers/DividerLine.tsx"],"sourcesContent":["/* eslint-disable react/jsx-props-no-spreading */\nimport { memo, FC, CSSProperties, useMemo } from 'react'\n\nimport classes from './divider.module.scss'\n\ntype DividerProps = {\n orientation?: string\n margin?: string\n vertical?: boolean\n length?: string\n color?: string\n opacity?: number\n left?: string\n width?: string\n height?: string\n className?: string\n}\n\nexport const DividerLine: FC<DividerProps> = memo<DividerProps>(({\n orientation, vertical,\n color = '#999999',\n opacity,\n length = '80%', left = '0',\n width = '1px', height = '1px',\n margin,\n className,\n}: DividerProps) => {\n const isVertical = useMemo(() => orientation === 'vertical' || vertical === true, [orientation, vertical])\n\n const styles = useMemo(() => (\n {\n '--width': width,\n '--height': height,\n '--length': length,\n '--opacity': opacity,\n '--color': color,\n '--left': left,\n '--margin': margin || (isVertical ? 'auto 0' : '0 auto'),\n }\n ), [width, height, length, opacity, color, left, margin, isVertical])\n\n const verHorClass = isVertical ? classes.vertical : classes.horizontal\n\n return (\n <div\n className={`${(classes as any)['divider-line']} ${verHorClass} ${className}`}\n style={styles as CSSProperties}\n />\n )\n})\n\nDividerLine.displayName = 'DividerLine'\n\nexport const DividerVertical: FC<DividerProps>\n = memo((props) => <DividerLine vertical length='100%' {...props} />)\nDividerVertical.displayName = 'DividerVertical'\n\nexport const DividerHorizontal: FC<DividerProps>\n = memo((props) => <DividerLine length='100%' {...props} />)\nDividerHorizontal.displayName = 'DividerHorizontal'\n"],"names":["DividerLine","memo","_ref","orientation","vertical","_ref$color","color","opacity","_ref$length","length","_ref$left","left","_ref$width","width","_ref$height","height","margin","className","isVertical","useMemo","styles","verHorClass","classes","horizontal","React","createElement","concat","style","displayName","DividerVertical","props","_extends","DividerHorizontal"],"mappings":"4OAkBaA,EAAgCC,GAAmB,SAAAC,GAQ5C,IAPlBC,EAAWD,EAAXC,YAAaC,EAAQF,EAARE,SAAQC,EAAAH,EACrBI,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EACjBE,EAAOL,EAAPK,QAAOC,EAAAN,EACPO,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAAAE,EAAAR,EAAES,KAAAA,OAAO,IAAHD,EAAG,IAAGA,EAAAE,EAAAV,EAC1BW,MAAAA,OAAQ,IAAHD,EAAG,MAAKA,EAAAE,EAAAZ,EAAEa,OAAAA,OAAS,IAAHD,EAAG,MAAKA,EAC7BE,EAAMd,EAANc,OACAC,EAASf,EAATe,UAEMC,EAAaC,GAAQ,WAAA,MAAsB,aAAhBhB,IAA2C,IAAbC,CAAiB,GAAE,CAACD,EAAaC,IAE1FgB,EAASD,GAAQ,WAAA,MACrB,CACE,UAAWN,EACX,WAAYE,EACZ,WAAYN,EACZ,YAAaF,EACb,UAAWD,EACX,SAAUK,EACV,WAAYK,IAAWE,EAAa,SAAW,UAChD,GACA,CAACL,EAAOE,EAAQN,EAAQF,EAASD,EAAOK,EAAMK,EAAQE,IAEnDG,EAAcH,EAAaI,EAAQlB,SAAWkB,EAAQC,WAE5D,OACEC,MAAAC,cAAA,MAAA,CACER,UAASS,GAAAA,OAAMJ,EAAgB,gBAAeI,KAAAA,OAAIL,EAAW,KAAAK,OAAIT,GACjEU,MAAOP,GAGb,IAEApB,EAAY4B,YAAc,kBAEbC,EACT5B,GAAK,SAAC6B,GAAK,OAAKN,MAAAC,cAACzB,EAAW+B,EAAA,CAAC3B,UAAQ,EAACK,OAAO,QAAWqB,GAAS,IACrED,EAAgBD,YAAc,sBAEjBI,EACT/B,GAAK,SAAC6B,GAAK,OAAKN,MAAAC,cAACzB,EAAW+B,EAAA,CAACtB,OAAO,QAAWqB,GAAS,IAC5DE,EAAkBJ,YAAc"}
@@ -0,0 +1,2 @@
1
+ import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as a}from"react";var e=a((function(a){var e=a.icon,o=a.className,c=a.color,n=void 0===c?"currentColor":c;return React.createElement("svg",{"aria-hidden":"true",focusable:"false","data-prefix":e.prefix,"data-icon":e.iconName,className:"svg-inline--fa fa-".concat(e.iconName," ").concat(o),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(e.icon[0]," ").concat(e.icon[1])},React.createElement("path",{fill:n,d:e.icon[4]}))}));e.displayName="Icon";export{e as Icon};
2
+ //# sourceMappingURL=Icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.js","sources":["../../../../../../../../src/core/ui/components/icon/Icon.tsx"],"sourcesContent":["import { memo } from 'react'\n\ntype IconType = {\n icon: {\n prefix: string\n iconName: string\n icon: any[]\n }\n className?: string\n color?: string\n}\n\nexport const Icon = memo<IconType>(({ icon, className, color = 'currentColor' }: IconType) => (\n <svg\n aria-hidden='true'\n focusable='false'\n data-prefix={icon.prefix}\n data-icon={icon.iconName}\n className={`svg-inline--fa fa-${icon.iconName} ${className}`}\n role='img'\n xmlns='http://www.w3.org/2000/svg'\n viewBox={`0 0 ${icon.icon[0]} ${icon.icon[1]}`}\n >\n <path\n fill={color}\n d={icon.icon[4]}\n />\n </svg>\n))\n\nIcon.displayName = 'Icon'\n"],"names":["Icon","memo","_ref","icon","className","_ref$color","color","React","createElement","focusable","prefix","iconName","concat","role","xmlns","viewBox","fill","d","displayName"],"mappings":"wGAYaA,EAAOC,GAAe,SAAAC,GAAA,IAAGC,EAAID,EAAJC,KAAMC,EAASF,EAATE,UAASC,EAAAH,EAAEI,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAA,OAC3EE,MAAAC,cAAA,MAAA,CACE,cAAY,OACZC,UAAU,QACV,cAAaN,EAAKO,OAClB,YAAWP,EAAKQ,SAChBP,UAAS,qBAAAQ,OAAuBT,EAAKQ,SAAQC,KAAAA,OAAIR,GACjDS,KAAK,MACLC,MAAM,6BACNC,eAAOH,OAAST,EAAKA,KAAK,GAAE,KAAAS,OAAIT,EAAKA,KAAK,KAE1CI,MAAAC,cAAA,OAAA,CACEQ,KAAMV,EACNW,EAAGd,EAAKA,KAAK,KAEX,IAGRH,EAAKkB,YAAc"}
@@ -1,2 +1,2 @@
1
- import{memo as i,useMemo as o}from"react";import e from"./icon.module.scss.js";var r=i((function(i){var r=i.iconUrl,t=i.minWidth,n=void 0===t?"1rem":t,c=i.minHeight,a=void 0===c?"1rem":c,m=i.width,s=i.height,h=i.color,l=void 0===h?"currentColor":h,d=o((function(){return{"--min-width":n,"--min-height":a,"--width":m,"--height":s,"--icon-url":"url(".concat(r,")"),"--icon-color":l}}),[n,a,m,s,r,l]);return React.createElement("span",{className:"".concat(e["icon-base"]," icon-base"),style:d})}));r.displayName="IconBase";export{r as IconBase};
1
+ import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as o,useMemo as e}from"react";import c from"./icon.module.scss.js";var i=o((function(o){var i=o.iconUrl,r=o.minWidth,t=void 0===r?"1rem":r,n=o.minHeight,a=void 0===n?"1rem":n,s=o.width,m=o.height,l=o.color,d=void 0===l?"currentColor":l,h=o.className,u=e((function(){return{"--min-width":t,"--min-height":a,"--width":s,"--height":m,"--icon-url":"url(".concat(i,")"),"--icon-color":d}}),[t,a,s,m,i,d]);return React.createElement("span",{className:"".concat(c["icon-base"]," icon-base ").concat(h),style:u})}));i.displayName="IconBase";export{i 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 color?: string\n}\n\nexport const IconBase = memo<IconBaseType>(({\n iconUrl, minWidth = '1rem', minHeight = '1rem', width, height, color = 'currentColor',\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth,\n '--min-height': minHeight,\n '--width': width,\n '--height': height,\n '--icon-url': `url(${iconUrl})`,\n '--icon-color': color,\n }\n ), [minWidth, minHeight, width, height, iconUrl, color])\n\n return (\n <span className={`${classes['icon-base']} icon-base`} style={styles as CSSProperties} />\n )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","_ref$minWidth","minWidth","_ref$minHeight","minHeight","width","height","_ref$color","color","styles","useMemo","concat","React","createElement","className","classes","style","displayName"],"mappings":"mFAaaA,EAAWC,GAAmB,SAAAC,GAEvB,IADlBC,EAAOD,EAAPC,QAAOC,EAAAF,EAAEG,SAAAA,OAAW,IAAHD,EAAG,OAAMA,EAAAE,EAAAJ,EAAEK,UAAAA,OAAY,IAAHD,EAAG,OAAMA,EAAEE,EAAKN,EAALM,MAAOC,EAAMP,EAANO,OAAMC,EAAAR,EAAES,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAE/EE,EAASC,GAAQ,WAAA,MACrB,CACE,cAAeR,EACf,eAAgBE,EAChB,UAAWC,EACX,WAAYC,EACZ,aAAYK,OAAAA,OAASX,EAAU,KAC/B,eAAgBQ,EACjB,GACA,CAACN,EAAUE,EAAWC,EAAOC,EAAQN,EAASQ,IAEjD,OACEI,MAAAC,cAAA,OAAA,CAAMC,aAASH,OAAKI,EAAQ,aAAyB,cAACC,MAAOP,GAEjE,IAEAZ,EAASoB,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\ntype IconBaseType = PropsWithChildren<any> & {\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n color?: string\n className?: string\n}\n\nexport const IconBase = memo<IconBaseType>(({\n iconUrl, minWidth = '1rem', minHeight = '1rem', width, height, color = 'currentColor', className,\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth,\n '--min-height': minHeight,\n '--width': width,\n '--height': height,\n '--icon-url': `url(${iconUrl})`,\n '--icon-color': color,\n }\n ), [minWidth, minHeight, 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 )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","_ref$minWidth","minWidth","_ref$minHeight","minHeight","width","height","_ref$color","color","className","styles","useMemo","concat","React","createElement","classes","style","displayName"],"mappings":"0JAcaA,EAAWC,GAAmB,SAAAC,GAEvB,IADlBC,EAAOD,EAAPC,QAAOC,EAAAF,EAAEG,SAAAA,OAAW,IAAHD,EAAG,OAAMA,EAAAE,EAAAJ,EAAEK,UAAAA,OAAY,IAAHD,EAAG,OAAMA,EAAEE,EAAKN,EAALM,MAAOC,EAAMP,EAANO,OAAMC,EAAAR,EAAES,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAEE,EAASV,EAATU,UAEjFC,EAASC,GAAQ,WAAA,MACrB,CACE,cAAeT,EACf,eAAgBE,EAChB,UAAWC,EACX,WAAYC,EACZ,aAAYM,OAAAA,OAASZ,EAAU,KAC/B,eAAgBQ,EACjB,GACA,CAACN,EAAUE,EAAWC,EAAOC,EAAQN,EAASQ,IAEjD,OACEK,MAAAC,cAAA,OAAA,CACEL,UAAS,GAAAG,OAAMG,EAAgB,aAAYH,eAAAA,OAAcH,GACzDO,MAAON,GAGb,IAEAb,EAASoB,YAAc"}
@@ -1,2 +1,2 @@
1
- export{useApi}from"./core/hooks/useApi.js";export{useToggle}from"./core/hooks/useToggle.js";export{createSafeT,setUseTranslation,useTranslations}from"./core/hooks/useTranslations.js";export{useOutsideClick}from"./core/hooks/useOutsideClick.js";export{useResize}from"./core/hooks/useResize.js";export{isBirthNumberValid}from"./core/utils/helpers/birthnumber.validator.js";export{getMatch,isValidFormat,isValidModulo11,parse,regex}from"./core/utils/helpers/birthnumberCZSKvalidator.js";export{parseCSVdata,validateCSVFile,validateCSVlines,validateJSONFile,validateLineCellTrimmed,validateLineNumColumns,validateSDFFile}from"./core/utils/helpers/fileValidator.js";export{DATE_FORMAT,formatDateToTimestamp,getDate}from"./core/utils/helpers/date.js";export{getDeviceId}from"./core/utils/helpers/deviceInfo.js";export{emailMatch,emailMatcher,regexBuilder}from"./core/utils/helpers/emailMatcher.js";export{cleanCsvLines,formatFilePath}from"./core/utils/helpers/file.js";export{arrayToObjectTree,chunkArray,duplicatesInArray,formatJsonString,formatObj}from"./core/utils/helpers/objectOperations.js";export{debounce,delay,memoize,memoizeComplex,memoizer,nestedTernary}from"./core/utils/helpers/other.js";export{escapeRegExp,fileNameExt,findStringInText,normalizeString,removeWhitespaces,sanitizeId,sanitizePathId,toLowerCase,toUpperCase,truncateText}from"./core/utils/helpers/textValueOperations.js";export{Operation,decrementValue,incerementValue,numberDefined,numberOperation,restrictNumberInLimits,setValue}from"./core/utils/helpers/valueOperations.js";export{keyExtractor,keyExtractorFunction}from"./core/utils/keyExtractor.js";export{dateRangeFormat,getDateTime,getTimeFromNow,getTimeFromNowOriginal,getTimeTo}from"./core/utils/date.js";export{calculateColors,calculatePercColor,convertHex,convertRGB,defaultFontSize,pxToRem,resolveStyleValue,setDefaultFontSize,toHex}from"./core/ui/utils/style.js";export{FBox}from"./core/ui/components/container/FBox.js";export{Flex,FlexTight,FlexTightStyled,FlexWrapper}from"./core/ui/components/container/Flex.js";export{Placeholder}from"./core/ui/components/container/Placeholder.js";export{Container}from"./core/ui/components/container/Container.js";export{Field,FieldWrapper,Select,setIconColor,setIconComponent}from"./core/ui/components/field/Field.js";export{DividerHorizontal,DividerLine,DividerVertical}from"./core/ui/components/dividers/DividerLine.js";export{IconBase}from"./core/ui/components/icon/IconBase.js";export{EventName}from"./core/constants/ui.constants.js";
1
+ export{useApi}from"./core/hooks/useApi.js";export{useToggle}from"./core/hooks/useToggle.js";export{createSafeT,setUseTranslation,useTranslations}from"./core/hooks/useTranslations.js";export{useOutsideClick}from"./core/hooks/useOutsideClick.js";export{useResize}from"./core/hooks/useResize.js";export{isBirthNumberValid}from"./core/utils/helpers/birthnumber.validator.js";export{getMatch,isValidFormat,isValidModulo11,parse,regex}from"./core/utils/helpers/birthnumberCZSKvalidator.js";export{parseCSVdata,validateCSVFile,validateCSVlines,validateJSONFile,validateLineCellTrimmed,validateLineNumColumns,validateSDFFile}from"./core/utils/helpers/fileValidator.js";export{DATE_FORMAT,formatDateToTimestamp,getDate}from"./core/utils/helpers/date.js";export{getDeviceId}from"./core/utils/helpers/deviceInfo.js";export{emailMatch,emailMatcher,regexBuilder}from"./core/utils/helpers/emailMatcher.js";export{cleanCsvLines,formatFilePath}from"./core/utils/helpers/file.js";export{arrayToObjectTree,chunkArray,duplicatesInArray,formatJsonString,formatObj}from"./core/utils/helpers/objectOperations.js";export{debounce,delay,memoize,memoizeComplex,memoizer,nestedTernary}from"./core/utils/helpers/other.js";export{escapeRegExp,fileNameExt,findStringInText,normalizeString,removeWhitespaces,sanitizeId,sanitizePathId,toLowerCase,toUpperCase,truncateText}from"./core/utils/helpers/textValueOperations.js";export{Operation,decrementValue,incerementValue,numberDefined,numberOperation,restrictNumberInLimits,setValue}from"./core/utils/helpers/valueOperations.js";export{keyExtractor,keyExtractorFunction}from"./core/utils/keyExtractor.js";export{dateRangeFormat,getDateTime,getTimeFromNow,getTimeFromNowOriginal,getTimeTo}from"./core/utils/date.js";export{calculateColors,calculatePercColor,convertHex,convertRGB,defaultFontSize,pxToRem,resolveStyleValue,setDefaultFontSize,toHex}from"./core/ui/utils/style.js";export{FBox}from"./core/ui/components/container/FBox.js";export{Flex,FlexTight,FlexTightStyled,FlexWrapper}from"./core/ui/components/container/Flex.js";export{Placeholder}from"./core/ui/components/container/Placeholder.js";export{Container}from"./core/ui/components/container/Container.js";export{Field,FieldWrapper,Select,setIconColor,setIconComponent}from"./core/ui/components/field/Field.js";export{DividerHorizontal,DividerLine,DividerVertical}from"./core/ui/components/dividers/DividerLine.js";export{IconBase}from"./core/ui/components/icon/IconBase.js";export{Icon}from"./core/ui/components/icon/Icon.js";export{EventName}from"./core/constants/ui.constants.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -8,7 +8,7 @@ const flexValueMap = {
8
8
  'flex-end': 'flex-end',
9
9
  };
10
10
  const resolveFlexProps = (value) => (value ? (flexValueMap[value] || value) : value);
11
- const FBoxRefForwarded = forwardRef(({ style, children, ...props }, ref) => {
11
+ const FBoxRefForwarded = forwardRef(({ style, children, className, ...props }, ref) => {
12
12
  const styles = useMemo(() => ({
13
13
  ...style,
14
14
  ...props,
@@ -16,7 +16,7 @@ const FBoxRefForwarded = forwardRef(({ style, children, ...props }, ref) => {
16
16
  ...(props.justify ? { justifyContent: resolveFlexProps(props.justify) } : {}),
17
17
  ...(props.direction ? { flexDirection: props.direction } : {}),
18
18
  }), [props, style]);
19
- return (_jsx("div", { ref: ref, className: classes['flexible-box'], style: styles, children: children }));
19
+ return (_jsx("div", { ref: ref, className: `${classes['flexible-box']} ${className}`, style: styles, children: children }));
20
20
  });
21
21
  FBoxRefForwarded.displayName = 'FBoxRefForwarded';
22
22
  export const FBox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AAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7E,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC/D,CACF,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;IAElB,OAAO,CACL,cACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,GAAI,OAAe,CAAC,cAAc,CAAC,IAAI,SAAS,EAAE,EAC7D,KAAK,EAAE,MAAuB,YAE7B,QAAQ,GACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAA;AAEjD,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CAAY,gBAAgB,CAAC,CAAA;AAGrD,IAAI,CAAC,WAAW,GAAG,MAAM,CAAA"}
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /* eslint-disable react/jsx-props-no-spreading */
3
3
  import { memo, useMemo } from 'react';
4
4
  import classes from './divider.module.scss';
5
- export const DividerLine = memo(({ orientation, vertical, color = '#999999', opacity, length = '80%', left = '0', width = '1px', height = '1px', margin, }) => {
5
+ export const DividerLine = memo(({ orientation, vertical, color = '#999999', opacity, length = '80%', left = '0', width = '1px', height = '1px', margin, className, }) => {
6
6
  const isVertical = useMemo(() => orientation === 'vertical' || vertical === true, [orientation, vertical]);
7
7
  const styles = useMemo(() => ({
8
8
  '--width': width,
@@ -14,7 +14,7 @@ export const DividerLine = memo(({ orientation, vertical, color = '#999999', opa
14
14
  '--margin': margin || (isVertical ? 'auto 0' : '0 auto'),
15
15
  }), [width, height, length, opacity, color, left, margin, isVertical]);
16
16
  const verHorClass = isVertical ? classes.vertical : classes.horizontal;
17
- return (_jsx("div", { className: `${classes['divider-line']} ${verHorClass}`, style: styles }));
17
+ return (_jsx("div", { className: `${classes['divider-line']} ${verHorClass} ${className}`, style: styles }));
18
18
  });
19
19
  DividerLine.displayName = 'DividerLine';
20
20
  export const DividerVertical = memo((props) => _jsx(DividerLine, { vertical: true, length: '100%', ...props }));
@@ -1 +1 @@
1
- {"version":3,"file":"DividerLine.js","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/dividers/DividerLine.tsx"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,OAAO,EAAE,IAAI,EAAqB,OAAO,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,OAAO,MAAM,uBAAuB,CAAA;AAc3C,MAAM,CAAC,MAAM,WAAW,GAAqB,IAAI,CAAe,CAAC,EAC/D,WAAW,EAAE,QAAQ,EACrB,KAAK,GAAG,SAAS,EACjB,OAAO,EACP,MAAM,GAAG,KAAK,EAAE,IAAI,GAAG,GAAG,EAC1B,KAAK,GAAG,KAAK,EAAE,MAAM,GAAG,KAAK,EAC7B,MAAM,GACO,EAAE,EAAE;IACjB,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,WAAW,KAAK,UAAU,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAA;IAE1G,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B;QACE,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,MAAM;QAClB,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,MAAM,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC;KACzD,CACF,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,C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AG,mBAAmB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { memo, useMemo } from 'react';
3
3
  import classes from './icon.module.scss';
4
- export const IconBase = memo(({ iconUrl, minWidth = '1rem', minHeight = '1rem', width, height, color = 'currentColor', }) => {
4
+ export const IconBase = memo(({ iconUrl, minWidth = '1rem', minHeight = '1rem', width, height, color = 'currentColor', className, }) => {
5
5
  const styles = useMemo(() => ({
6
6
  '--min-width': minWidth,
7
7
  '--min-height': minHeight,
@@ -10,7 +10,7 @@ export const IconBase = memo(({ iconUrl, minWidth = '1rem', minHeight = '1rem',
10
10
  '--icon-url': `url(${iconUrl})`,
11
11
  '--icon-color': color,
12
12
  }), [minWidth, minHeight, width, height, iconUrl, color]);
13
- return (_jsx("span", { className: `${classes['icon-base']} icon-base`, style: styles }));
13
+ return (_jsx("span", { className: `${classes['icon-base']} icon-base ${className}`, style: styles }));
14
14
  });
15
15
  IconBase.displayName = 'IconBase';
16
16
  //# sourceMappingURL=IconBase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconBase.js","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAiB,IAAI,EAAE,OAAO,EAAqB,MAAM,OAAO,CAAA;AAEvE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAWxC,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAe,CAAC,EAC1C,OAAO,EAAE,QAAQ,GAAG,MAAM,EAAE,SAAS,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,cAAc,GACxE,EAAE,EAAE;IACjB,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B;QACE,aAAa,EAAE,QAAQ;QACvB,cAAc,EAAE,SAAS;QACzB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,OAAO,OAAO,GAAG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1,2 +1,3 @@
1
1
  export * from './IconBase';
2
+ export * from './Icon';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/icon/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/icon/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA"}