@e1011/es-kit 1.0.80 → 1.0.84
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.
- package/dist/hooks/esm/index.css +33 -33
- package/dist/hooks/esm/src/core/constants/ui.constants.js +1 -1
- package/dist/hooks/esm/src/core/constants/ui.constants.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useApi.js.map +1 -1
- package/dist/hooks/index.css +33 -33
- package/dist/hooks/src/core/constants/ui.constants.js +1 -1
- package/dist/hooks/src/core/constants/ui.constants.js.map +1 -1
- package/dist/hooks/src/core/hooks/useApi.js.map +1 -1
- package/dist/lib/cjs/src/core/constants/ui.constants.js +1 -1
- package/dist/lib/cjs/src/core/constants/ui.constants.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useApi.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/lib/cjs/src/index.js +1 -1
- package/dist/lib/esm/src/core/constants/ui.constants.js +1 -1
- package/dist/lib/esm/src/core/constants/ui.constants.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useApi.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/lib/esm/src/index.js +1 -1
- package/dist/lib/src/core/ui/components/icon/IconBase.js +2 -2
- package/dist/lib/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/lib/src/core/ui/components/icon/IconWC.js +8 -8
- package/dist/lib/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/ui/components/icon/IconBase.d.ts +4 -2
- package/dist/types/src/core/ui/components/icon/IconBase.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/icon/IconWC.d.ts +3 -3
- package/dist/types/src/core/ui/components/icon/IconWC.d.ts.map +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/esm/src/core/ui/index.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/src/core/ui/index.js +1 -1
- package/dist/utils/esm/index.css +33 -33
- package/dist/utils/esm/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/utils/index.css +33 -33
- package/dist/utils/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/utils/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/utils/src/core/utils/index.js +1 -1
- package/package.json +1 -1
package/dist/hooks/esm/index.css
CHANGED
|
@@ -22,6 +22,39 @@
|
|
|
22
22
|
min-height: 0;
|
|
23
23
|
border-radius: initial;
|
|
24
24
|
}
|
|
25
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
26
|
+
transform-origin: 0% 0%;
|
|
27
|
+
opacity: 0;
|
|
28
|
+
overflow: clip;
|
|
29
|
+
}
|
|
30
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
31
|
+
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
32
|
+
will-change: opacity, height, max-height;
|
|
33
|
+
}
|
|
34
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
35
|
+
height: 0;
|
|
36
|
+
max-height: 0;
|
|
37
|
+
opacity: 0;
|
|
38
|
+
}
|
|
39
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
40
|
+
height: var(--prop-value);
|
|
41
|
+
max-height: var(--prop-value);
|
|
42
|
+
opacity: 1;
|
|
43
|
+
}
|
|
44
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
45
|
+
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
46
|
+
will-change: opacity, width, max-width;
|
|
47
|
+
}
|
|
48
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
49
|
+
width: 0;
|
|
50
|
+
max-width: 0;
|
|
51
|
+
opacity: 0;
|
|
52
|
+
}
|
|
53
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
54
|
+
width: var(--prop-value);
|
|
55
|
+
max-width: var(--prop-value);
|
|
56
|
+
opacity: 1;
|
|
57
|
+
}
|
|
25
58
|
.icon-module_icon-base-parent__nOMvW {
|
|
26
59
|
line-height: 1px !important;
|
|
27
60
|
}
|
|
@@ -70,37 +103,4 @@
|
|
|
70
103
|
left: var(--left);
|
|
71
104
|
height: var(--height);
|
|
72
105
|
margin: var(--margin);
|
|
73
|
-
}
|
|
74
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
75
|
-
transform-origin: 0% 0%;
|
|
76
|
-
opacity: 0;
|
|
77
|
-
overflow: clip;
|
|
78
|
-
}
|
|
79
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
80
|
-
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
81
|
-
will-change: opacity, height, max-height;
|
|
82
|
-
}
|
|
83
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
84
|
-
height: 0;
|
|
85
|
-
max-height: 0;
|
|
86
|
-
opacity: 0;
|
|
87
|
-
}
|
|
88
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
89
|
-
height: var(--prop-value);
|
|
90
|
-
max-height: var(--prop-value);
|
|
91
|
-
opacity: 1;
|
|
92
|
-
}
|
|
93
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
94
|
-
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
95
|
-
will-change: opacity, width, max-width;
|
|
96
|
-
}
|
|
97
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
98
|
-
width: 0;
|
|
99
|
-
max-width: 0;
|
|
100
|
-
opacity: 0;
|
|
101
|
-
}
|
|
102
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
103
|
-
width: var(--prop-value);
|
|
104
|
-
max-width: var(--prop-value);
|
|
105
|
-
opacity: 1;
|
|
106
106
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e
|
|
1
|
+
var e=function(e){return e.MouseEnter="mouseenter",e.MouseLeave="mouseleave",e.Hover="hover",e.Click="click",e.Focus="focus",e.Blur="blur",e.KeyDown="keydown",e.Scroll="scroll",e}({});export{e as EventName};
|
|
2
2
|
//# sourceMappingURL=ui.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.constants.js","sources":["../../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.constants.js","sources":["../../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"AAAYA,IAAAA,WAAAA,GAAS,OAATA,EAAS,WAAA,aAATA,EAAS,WAAA,aAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,KAAA,OAATA,EAAS,QAAA,UAATA,EAAS,OAAA,SAATA,CAAS,EAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","apply","sent","originalData","abrupt","t0","stop"],"mappings":"kMAkBA,IAAMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,MAEpDC,EAAS,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAuBX,GAAoBY,EAAAC,EAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/Bb,EAAIM,KACPN,EAAIM,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFnB,EAAIM,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAWC,EAAAC,IAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAN,IAAAO,MAAA,SAAAC,GAAA,
|
|
1
|
+
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","apply","sent","originalData","abrupt","t0","stop"],"mappings":"kMAkBA,IAAMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,MAEpDC,EAAS,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAuBX,GAAoBY,EAAAC,EAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/Bb,EAAIM,KACPN,EAAIM,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFnB,EAAIM,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAWC,EAAAC,IAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAN,IAAAO,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAEoC,OAFpCF,EAAAC,KAAA,EAE3ClB,GAAgB,SAACoB,GAAuB,OAAAC,EAAAA,EAAA,CAAA,EAAWD,GAAS,CAAA,EAAA,CAAElC,SAAS,GAAI,IAAI+B,EAAAE,KAAA,EACtDlB,EAAMqB,WAAA,EAAAR,GAAS,KAAA,EAStC,OATI1B,EAAU6B,EAAAM,KACVV,EAAaX,EAAYA,EAAUd,GAAQA,EAEjDgB,GAAaA,EAAU,CAAEhB,KAAMyB,EAAYW,aAAcpC,EAAKA,OAE9DY,GAAgB,SAACoB,GAGf,OAFcC,EAAAA,KAAQD,GAAS,GAAA,CAAElC,SAAS,EAAOC,MAAO,KAAMC,KAAMyB,EAAYW,aAAcpC,EAAKA,MAGrG,IAAE6B,EAAAQ,OAAA,SAEKZ,GAAU,KAAA,GAGsE,MAHtEI,EAAAC,KAAA,GAAAD,EAAAS,GAAAT,EAAA,MAAA,GAEjBZ,GAAWA,EAAOY,EAAAS,IAClB1B,GAAgB,SAACoB,GAAuB,OAAAC,EAAAA,EAAA,CAAA,EAAWD,GAAS,CAAA,EAAA,CAAElC,SAAS,EAAOC,MAAK8B,EAAAS,IAAA,IAAIT,EAAAS,GAAA,KAAA,GAAA,IAAA,MAAA,OAAAT,EAAAU,OAAA,GAAAhB,EAAA,KAAA,CAAA,CAAA,EAAA,UAGxF,CAACV,EAAQC,EAAWE,EAAWC,IAElC,MAAO,CAACC,EAAQP,EAClB"}
|
package/dist/hooks/index.css
CHANGED
|
@@ -22,6 +22,39 @@
|
|
|
22
22
|
min-height: 0;
|
|
23
23
|
border-radius: initial;
|
|
24
24
|
}
|
|
25
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
26
|
+
transform-origin: 0% 0%;
|
|
27
|
+
opacity: 0;
|
|
28
|
+
overflow: clip;
|
|
29
|
+
}
|
|
30
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
31
|
+
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
32
|
+
will-change: opacity, height, max-height;
|
|
33
|
+
}
|
|
34
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
35
|
+
height: 0;
|
|
36
|
+
max-height: 0;
|
|
37
|
+
opacity: 0;
|
|
38
|
+
}
|
|
39
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
40
|
+
height: var(--prop-value);
|
|
41
|
+
max-height: var(--prop-value);
|
|
42
|
+
opacity: 1;
|
|
43
|
+
}
|
|
44
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
45
|
+
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
46
|
+
will-change: opacity, width, max-width;
|
|
47
|
+
}
|
|
48
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
49
|
+
width: 0;
|
|
50
|
+
max-width: 0;
|
|
51
|
+
opacity: 0;
|
|
52
|
+
}
|
|
53
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
54
|
+
width: var(--prop-value);
|
|
55
|
+
max-width: var(--prop-value);
|
|
56
|
+
opacity: 1;
|
|
57
|
+
}
|
|
25
58
|
.icon-module_icon-base-parent__nOMvW {
|
|
26
59
|
line-height: 1px !important;
|
|
27
60
|
}
|
|
@@ -70,37 +103,4 @@
|
|
|
70
103
|
left: var(--left);
|
|
71
104
|
height: var(--height);
|
|
72
105
|
margin: var(--margin);
|
|
73
|
-
}
|
|
74
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
75
|
-
transform-origin: 0% 0%;
|
|
76
|
-
opacity: 0;
|
|
77
|
-
overflow: clip;
|
|
78
|
-
}
|
|
79
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
80
|
-
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
81
|
-
will-change: opacity, height, max-height;
|
|
82
|
-
}
|
|
83
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
84
|
-
height: 0;
|
|
85
|
-
max-height: 0;
|
|
86
|
-
opacity: 0;
|
|
87
|
-
}
|
|
88
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
89
|
-
height: var(--prop-value);
|
|
90
|
-
max-height: var(--prop-value);
|
|
91
|
-
opacity: 1;
|
|
92
|
-
}
|
|
93
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
94
|
-
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
95
|
-
will-change: opacity, width, max-width;
|
|
96
|
-
}
|
|
97
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
98
|
-
width: 0;
|
|
99
|
-
max-width: 0;
|
|
100
|
-
opacity: 0;
|
|
101
|
-
}
|
|
102
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
103
|
-
width: var(--prop-value);
|
|
104
|
-
max-width: var(--prop-value);
|
|
105
|
-
opacity: 1;
|
|
106
106
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){return e.MouseEnter="mouseenter",e.MouseLeave="mouseleave",e.Hover="hover",e.Click="click",e.Focus="focus",e.Blur="blur",e.KeyDown="keydown",e.Scroll="scroll",e}({});exports.EventName=e;
|
|
2
2
|
//# sourceMappingURL=ui.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.constants.js","sources":["../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.constants.js","sources":["../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"oEAAYA,IAAAA,WAAAA,GAAS,OAATA,EAAS,WAAA,aAATA,EAAS,WAAA,aAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,KAAA,OAATA,EAAS,QAAA,UAATA,EAAS,OAAA,SAATA,CAAS,EAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApi.js","sources":["../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","asyncToGenerator","_regeneratorRuntime","regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","objectSpread2","apply","sent","originalData","abrupt","t0","stop"],"mappings":"uJAkBMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,qBAE3C,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAQA,SAAeV,GAAoBW,EAAAC,EAAAA,cAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/BZ,EAAIK,KACPL,EAAIK,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFlB,EAAIK,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAAA,YAAWC,EAAAC,iBAAAC,EAAAC,qBAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAP,EAAAC,qBAAAO,MAAA,SAAAC,GAAA,
|
|
1
|
+
{"version":3,"file":"useApi.js","sources":["../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","asyncToGenerator","_regeneratorRuntime","regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","objectSpread2","apply","sent","originalData","abrupt","t0","stop"],"mappings":"uJAkBMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,qBAE3C,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAQA,SAAeV,GAAoBW,EAAAC,EAAAA,cAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/BZ,EAAIK,KACPL,EAAIK,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFlB,EAAIK,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAAA,YAAWC,EAAAC,iBAAAC,EAAAC,qBAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAP,EAAAC,qBAAAO,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAEoC,OAFpCF,EAAAC,KAAA,EAE3CpB,GAAgB,SAACsB,GAAuB,OAAAC,EAAAC,cAAAD,EAAAC,cAAA,CAAA,EAAWF,GAAS,CAAA,EAAA,CAAEnC,SAAS,GAAI,IAAIgC,EAAAE,KAAA,EACtDpB,EAAMwB,WAAA,EAAAT,GAAS,KAAA,EAStC,OATI3B,EAAU8B,EAAAO,KACVX,EAAab,EAAYA,EAAUb,GAAQA,EAEjDe,GAAaA,EAAU,CAAEf,KAAM0B,EAAYY,aAActC,EAAKA,OAE9DW,GAAgB,SAACsB,GAGf,OAFcC,EAAAA,cAAAA,EAAAA,iBAAQD,GAAS,GAAA,CAAEnC,SAAS,EAAOC,MAAO,KAAMC,KAAM0B,EAAYY,aAActC,EAAKA,MAGrG,IAAE8B,EAAAS,OAAA,SAEKb,GAAU,KAAA,GAGsE,MAHtEI,EAAAC,KAAA,GAAAD,EAAAU,GAAAV,EAAA,MAAA,GAEjBd,GAAWA,EAAOc,EAAAU,IAClB7B,GAAgB,SAACsB,GAAuB,OAAAC,EAAAC,cAAAD,EAAAC,cAAA,CAAA,EAAWF,GAAS,CAAA,EAAA,CAAEnC,SAAS,EAAOC,MAAK+B,EAAAU,IAAA,IAAIV,EAAAU,GAAA,KAAA,GAAA,IAAA,MAAA,OAAAV,EAAAW,OAAA,GAAAjB,EAAA,KAAA,CAAA,CAAA,EAAA,UAGxF,CAACZ,EAAQC,EAAWE,EAAWC,IAElC,MAAO,CAACC,EAAQP,EAClB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){return e.MouseEnter="mouseenter",e.MouseLeave="mouseleave",e.Hover="hover",e.Click="click",e.Focus="focus",e.Blur="blur",e.KeyDown="keydown",e.Scroll="scroll",e}({});exports.EventName=e;
|
|
2
2
|
//# sourceMappingURL=ui.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.constants.js","sources":["../../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.constants.js","sources":["../../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"oEAAYA,IAAAA,WAAAA,GAAS,OAATA,EAAS,WAAA,aAATA,EAAS,WAAA,aAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,KAAA,OAATA,EAAS,QAAA,UAATA,EAAS,OAAA,SAATA,CAAS,EAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","asyncToGenerator","_regeneratorRuntime","regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","objectSpread2","apply","sent","originalData","abrupt","t0","stop"],"mappings":"uJAkBMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,qBAE3C,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAQA,SAAeV,GAAoBW,EAAAC,EAAAA,cAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/BZ,EAAIK,KACPL,EAAIK,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFlB,EAAIK,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAAA,YAAWC,EAAAC,iBAAAC,EAAAC,qBAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAP,EAAAC,qBAAAO,MAAA,SAAAC,GAAA,
|
|
1
|
+
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","asyncToGenerator","_regeneratorRuntime","regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","objectSpread2","apply","sent","originalData","abrupt","t0","stop"],"mappings":"uJAkBMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,qBAE3C,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAQA,SAAeV,GAAoBW,EAAAC,EAAAA,cAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/BZ,EAAIK,KACPL,EAAIK,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFlB,EAAIK,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAAA,YAAWC,EAAAC,iBAAAC,EAAAC,qBAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAP,EAAAC,qBAAAO,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAEoC,OAFpCF,EAAAC,KAAA,EAE3CpB,GAAgB,SAACsB,GAAuB,OAAAC,EAAAC,cAAAD,EAAAC,cAAA,CAAA,EAAWF,GAAS,CAAA,EAAA,CAAEnC,SAAS,GAAI,IAAIgC,EAAAE,KAAA,EACtDpB,EAAMwB,WAAA,EAAAT,GAAS,KAAA,EAStC,OATI3B,EAAU8B,EAAAO,KACVX,EAAab,EAAYA,EAAUb,GAAQA,EAEjDe,GAAaA,EAAU,CAAEf,KAAM0B,EAAYY,aAActC,EAAKA,OAE9DW,GAAgB,SAACsB,GAGf,OAFcC,EAAAA,cAAAA,EAAAA,iBAAQD,GAAS,GAAA,CAAEnC,SAAS,EAAOC,MAAO,KAAMC,KAAM0B,EAAYY,aAActC,EAAKA,MAGrG,IAAE8B,EAAAS,OAAA,SAEKb,GAAU,KAAA,GAGsE,MAHtEI,EAAAC,KAAA,GAAAD,EAAAU,GAAAV,EAAA,MAAA,GAEjBd,GAAWA,EAAOc,EAAAU,IAClB7B,GAAgB,SAACsB,GAAuB,OAAAC,EAAAC,cAAAD,EAAAC,cAAA,CAAA,EAAWF,GAAS,CAAA,EAAA,CAAEnC,SAAS,EAAOC,MAAK+B,EAAAU,IAAA,IAAIV,EAAAU,GAAA,KAAA,GAAA,IAAA,MAAA,OAAAV,EAAAW,OAAA,GAAAjB,EAAA,KAAA,CAAA,CAAA,EAAA,UAGxF,CAACZ,EAAQC,EAAWE,EAAWC,IAElC,MAAO,CAACC,EAAQP,EAClB"}
|
|
@@ -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 o=require("react"),
|
|
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 o=require("react"),t=require("./icon.module.scss.js"),i=["iconUrl","minWidth","minHeight","size","fontSize","width","height","color","className","children","style"],r=o.memo((function(r){var c=r.iconUrl,n=r.minWidth,s=r.minHeight,a=r.size,l=r.fontSize,u=r.width,d=r.height,h=r.color,m=void 0===h?"currentColor":h,p=r.className,j=void 0===p?"":p,b=r.children,f=r.style,g=e.objectWithoutProperties(r,i),v=o.useMemo((function(){return e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2({"--min-width":n||a||u||"auto","--min-height":s||a||d||"auto","--width":a||u,"--height":a||d},l?{fontSize:l}:{}),c?{"--icon-url":"url(".concat(c,")")}:{}),c?{"--icon-color":m}:{"--icon-content-color":m}),f)}),[n,a,u,s,d,l,c,m,f]);return React.createElement("span",e.extends({},g,{className:"".concat(t.default["icon-base"]," icon-base ").concat(j),style:v}),!c&&b&&b)}));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, FC, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\nexport type IconBaseType = PropsWithChildren<
|
|
1
|
+
{"version":3,"file":"IconBase.js","sources":["../../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, FC, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\nexport type IconBaseType = PropsWithChildren<unknown> & {\n id?: string\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 style?: CSSProperties\n}\n\nexport const IconBase: FC<IconBaseType> = memo<IconBaseType>(({\n iconUrl, minWidth, minHeight, size,\n fontSize, width, height, color = 'currentColor', className = '', children, style, ...props\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth || size || width || 'auto',\n '--min-height': minHeight || size || height || 'auto',\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 ...style,\n }\n ), [minWidth, size, width, minHeight, height, fontSize, iconUrl, color, style])\n\n return (\n <span\n {...props}\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","minWidth","minHeight","size","fontSize","width","height","_ref$color","color","_ref$className","className","children","style","props","_objectWithoutProperties","objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","objectSpread2","concat","React","createElement","_extends","classes","displayName"],"mappings":"6XAkBaA,EAA6BC,EAAAA,MAAmB,SAAAC,GAGzC,IAFlBC,EAAOD,EAAPC,QAASC,EAAQF,EAARE,SAAUC,EAASH,EAATG,UAAWC,EAAIJ,EAAJI,KAC9BC,EAAQL,EAARK,SAAUC,EAAKN,EAALM,MAAOC,EAAMP,EAANO,OAAMC,EAAAR,EAAES,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAAE,EAAAV,EAAEW,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAEE,EAAQZ,EAARY,SAAUC,EAAKb,EAALa,MAAUC,EAAKC,EAAAC,wBAAAhB,EAAAiB,GAEpFC,EAASC,EAAAA,SAAQ,WAAA,OAAAC,gBAAAA,EAAAA,cAAAA,EAAAC,cAAAD,gBAAA,CAEnB,cAAelB,GAAYE,GAAQE,GAAS,OAC5C,eAAgBH,GAAaC,GAAQG,GAAU,OAC/C,UAAWH,GAAQE,EACnB,WAAYF,GAAQG,GAChBF,EAAW,CAAEA,SAAAA,GAAa,CAAA,GAC1BJ,EAAU,CAAE,aAAY,OAAAqB,OAASrB,EAAO,MAAQ,CAAA,GAChDA,EAAU,CAAE,eAAgBQ,GAAU,CAAE,uBAAwBA,IACjEI,EAEN,GAAE,CAACX,EAAUE,EAAME,EAAOH,EAAWI,EAAQF,EAAUJ,EAASQ,EAAOI,IAExE,OACEU,MAAAC,cAAAC,OAAAA,EAAAA,WACMX,EAAK,CACTH,UAAS,GAAAW,OAAMI,EAAO,QAAS,aAAYJ,eAAAA,OAAcX,GACzDE,MAAOK,KAEJjB,GAAWW,GAAaA,EAGjC,IAEAd,EAAS6B,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"),require("../../../../../node_modules/core-js/modules/es.array.map.js"),require("../../../../../node_modules/core-js/modules/es.object.entries.js");var t,i=require("../../../utils/webComponents/webComponent.utils.js"),n=require("./icon.module.scss.js"),s=document.createElement("template");s.innerHTML='<span class="icon-base"></span>';var o=i.ced("icon-base")(t=function(t){e.inherits(r,t);var o=e.createSuper(r);function r(){var t;e.classCallCheck(this,r);for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return(t=o.call.apply(o,[this].concat(s))).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.fontSize=void 0,t.color=void 0,t.render=function(){if(t.mainElement=t.mainElement||t.querySelector(".icon-base"),t.mainElement){t.classList.add(n.default["icon-base-parent"]),t.mainElement.classList.add(n.default["icon-base"]);var i=e.objectSpread2(e.objectSpread2(e.objectSpread2({"--min-width":t.minWidth||t.size||t.width||"auto","--min-height":t.minHeight||t.size||t.height||"auto","--width":t.size||t.width,"--height":t.size||t.height},t.fontSize?{"font-size":t.fontSize||"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(i).map((function(t){var i=e.slicedToArray(t,2),n=i[0],s=i[1];return"".concat(n,": ").concat(s,";")})).join(" "))}},t}return e.createClass(r,[{key:"connectedCallback",value:function(){this.innerHTML&&(this.content=this.content||this.innerHTML||this.getAttribute("content")),this.innerHTML=s.innerHTML,i.resolveAttributes(this,r.observedAttributes),this.render()}},{key:"attributeChangedCallback",value:function(e,t,i){"className"===e&&(this.className=i||"",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"]}}]),r}(e.wrapNativeSuper(HTMLElement)))||t,r={
|
|
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"),require("../../../../../node_modules/core-js/modules/es.array.map.js"),require("../../../../../node_modules/core-js/modules/es.object.entries.js");var t,i=require("../../../utils/webComponents/webComponent.utils.js"),n=require("./icon.module.scss.js"),s=document.createElement("template");s.innerHTML='<span class="icon-base"></span>';var o=i.ced("icon-base")(t=function(t){e.inherits(r,t);var o=e.createSuper(r);function r(){var t;e.classCallCheck(this,r);for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return(t=o.call.apply(o,[this].concat(s))).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.fontSize=void 0,t.color=void 0,t.render=function(){if(t.mainElement=t.mainElement||t.querySelector(".icon-base"),t.mainElement){t.classList.add(n.default["icon-base-parent"]),t.mainElement.classList.add(n.default["icon-base"]);var i=e.objectSpread2(e.objectSpread2(e.objectSpread2({"--min-width":t.minWidth||t.size||t.width||"auto","--min-height":t.minHeight||t.size||t.height||"auto","--width":t.size||t.width,"--height":t.size||t.height},t.fontSize?{"font-size":t.fontSize||"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(i).map((function(t){var i=e.slicedToArray(t,2),n=i[0],s=i[1];return"".concat(n,": ").concat(s,";")})).join(" "))}},t}return e.createClass(r,[{key:"connectedCallback",value:function(){this.innerHTML&&(this.content=this.content||this.innerHTML||this.getAttribute("content")),this.innerHTML=s.innerHTML,i.resolveAttributes(this,r.observedAttributes),this.render()}},{key:"attributeChangedCallback",value:function(e,t,i){"className"===e&&(this.className=i||"",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"]}}]),r}(e.wrapNativeSuper(HTMLElement)))||t,r={IconWC:o};exports.IconWC=o,exports.IconWCBase=r;
|
|
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, 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
|
|
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 class IconWC 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, IconWC.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 }\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': this.minWidth || this.size || this.width || 'auto',\n '--min-height': this.minHeight || this.size || this.height || 'auto',\n '--width': this.size || this.width,\n '--height': this.size || this.height,\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 IconWCBase = {\n IconWC,\n}\n"],"names":["template","document","createElement","innerHTML","IconWC","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","objectSpread2","setAttribute","Object","entries","map","_ref","_ref2","_slicedToArray","key","value","join","_createClass","createClass","getAttribute","resolveAttributes","observedAttributes","attrName","oldVal","newVal","className","remove","get","_wrapNativeSuper","HTMLElement","IconWCBase"],"mappings":"gdAMMA,EAAWC,SAASC,cAAc,YAExCF,EAASG,UAAY,kCAcrB,IACaC,EADZC,MAAI,YAAYC,CAAAC,WAAAC,GAAAC,WAAAL,EAAAI,GAAA,IAAAE,EAAAC,cAAAP,GAAA,SAAAA,IAAA,IAAAQ,EAAAC,sBAAAT,GAAA,IAAA,IAAAU,EAAAC,UAAAC,OAAAC,EAAAC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAAF,EAAAE,GAAAJ,UAAAI,GAyEd,OAzEcP,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,EAgCLsB,OAAS,WAEP,GADAtB,EAAKa,YAAcb,EAAKa,aAAeb,EAAKuB,cAAc,cACrDvB,EAAKa,YAAV,CAGAb,EAAKwB,UAAUC,IAAIC,EAAAA,QAAQ,qBAC3B1B,EAAKa,YAAYW,UAAUC,IAAIC,EAAO,QAAC,cAEvC,IAAMC,EAAMC,EAAAA,cAAAA,EAAAC,cAAAD,gBAAA,CACV,cAAe5B,EAAKe,UAAYf,EAAKmB,MAAQnB,EAAKiB,OAAS,OAC3D,eAAgBjB,EAAKgB,WAAahB,EAAKmB,MAAQnB,EAAKkB,QAAU,OAC9D,UAAWlB,EAAKmB,MAAQnB,EAAKiB,MAC7B,WAAYjB,EAAKmB,MAAQnB,EAAKkB,QAC1BlB,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,YAAYiB,aAAa,QAASC,OAAOC,QAAQL,GAAQM,KAAI,SAAAC,GAAA,IAAAC,EAAAC,EAAAA,cAAAF,EAAA,GAAEG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GAAA,MAAA,GAAAxB,OAAS0B,EAAG1B,MAAAA,OAAK2B,EAAK,IAAA,IAAKC,KAAK,KAhB9G,GAiBDvC,CAAA,CAjDA,OAiDAwC,EAAAC,YAAAjD,EAAA,CAAA,CAAA6C,IAAA,oBAAAC,MA/CD,WACM5B,KAAKnB,YACPmB,KAAKE,QAAUF,KAAKE,SAAWF,KAAKnB,WAAamB,KAAKgC,aAAa,YAGrEhC,KAAKnB,UAAYH,EAASG,UAE1BoD,EAAAA,kBAAkBjC,KAAMlB,EAAOoD,oBAE/BlC,KAAKY,QACP,GAAC,CAAAe,IAAA,2BAAAC,MAED,SAAyBO,EAAkBC,EAAgCC,GACxD,cAAbF,IACFnC,KAAKsC,UAAaD,GAAqB,GACnCrC,KAAKsC,YACPtC,KAAKc,UAAUyB,OAAOvC,KAAKsC,WAC3BtC,KAAKc,UAAUC,IAAIf,KAAKsC,aAK5BtC,KAAKmC,GAAYE,EACjBrC,KAAKY,QACP,IAAC,CAAA,CAAAe,IAAA,qBAAAa,IA5BD,WACE,MAAO,CAAC,UAAW,WAAY,YAAa,QAAS,SAAU,OAAQ,WAAY,QAAS,YAC9F,KAAC1D,CAAA,EAAA2D,kBAvByBC,gBAAWzD,EAoF1B0D,EAAa,CACxB7D,OAAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceInfo.js","sources":["../../../../../../../src/core/utils/helpers/deviceInfo.ts"],"sourcesContent":["export const getDeviceId = async (): Promise<string | null | undefined> => {\n try {\n const devices = await navigator?.mediaDevices?.enumerateDevices?.()\n const device = devices.find((device) => device.kind === 'videoinput')\n\n return device?.deviceId || device?.groupId\n } catch (error: any) {\n return null\n }\n}\n"],"names":["getDeviceId","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_navigator","_navigator$mediaDevic","_navigator$mediaDevic2","devices","device","regeneratorRuntime","wrap","_context","prev","next","navigator","mediaDevices","enumerateDevices","call","sent","find","kind","abrupt","deviceId","groupId","t0","stop","apply","this","arguments"],"mappings":"2RAAaA,EAAW,WAAA,IAAAC,EAAAC,EAAAA,iBAAAC,EAAAA,qBAAAC,MAAG,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAP,EAAAQ,qBAAAC,MAAA,SAAAC,GAAA,
|
|
1
|
+
{"version":3,"file":"deviceInfo.js","sources":["../../../../../../../src/core/utils/helpers/deviceInfo.ts"],"sourcesContent":["export const getDeviceId = async (): Promise<string | null | undefined> => {\n try {\n const devices = await navigator?.mediaDevices?.enumerateDevices?.()\n const device = devices.find((device) => device.kind === 'videoinput')\n\n return device?.deviceId || device?.groupId\n } catch (error: any) {\n return null\n }\n}\n"],"names":["getDeviceId","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_navigator","_navigator$mediaDevic","_navigator$mediaDevic2","devices","device","regeneratorRuntime","wrap","_context","prev","next","navigator","mediaDevices","enumerateDevices","call","sent","find","kind","abrupt","deviceId","groupId","t0","stop","apply","this","arguments"],"mappings":"2RAAaA,EAAW,WAAA,IAAAC,EAAAC,EAAAA,iBAAAC,EAAAA,qBAAAC,MAAG,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAP,EAAAQ,qBAAAC,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEQT,QAFRA,EAEDU,iBAAST,IAAAD,GAAcC,QAAdA,EAATD,EAAWW,oBAAYT,IAAAD,GAAkBC,QAAlBA,EAAvBD,EAAyBW,wBAAzBV,IAAyCA,OAAhCD,EAATC,EAAAW,KAAAZ,GAA6C,KAAA,EACE,OAD/DE,EAAOI,EAAAO,KACPV,EAASD,EAAQY,MAAK,SAACX,GAAM,MAAqB,eAAhBA,EAAOY,QAAsBT,EAAAU,iBAE9Db,aAAM,EAANA,EAAQc,YAAYd,aAAAA,EAAAA,EAAQe,UAAO,KAAA,EAAA,OAAAZ,EAAAC,KAAA,EAAAD,EAAAa,GAAAb,EAAA,MAAA,GAAAA,EAAAU,OAAA,SAEnC,MAAI,KAAA,GAAA,IAAA,MAAA,OAAAV,EAAAc,OAAA,GAAAtB,EAAA,KAAA,CAAA,CAAA,EAAA,IAEd,KAAA,OAAA,WATuB,OAAAJ,EAAA2B,MAAAC,KAAAC,UAAA,CAAA,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){return null!=e},t=function(t,n){return Math.max(Math.min(t,e(null==n?void 0:n.max)?null==n?void 0:n.max:1/0),e(null==n?void 0:n.min)?null==n?void 0:n.min:-1/0)},n=function(e){return e.ADD="add",e.SUBTRACT="subtract",e.MULTIPLY="multiply",e.DIVIDE="divide",e}({}),r=function(e,r,i,u){var o=0;switch(i){case n.ADD:o=e+r;break;case n.SUBTRACT:o=e-r;break;case n.MULTIPLY:o=e*r;break;case n.DIVIDE:o=0===r?0:e/r}return t(o,u)};exports.Operation=n,exports.decrementValue=function(e){var t=arguments.length>2?arguments[2]:void 0;return r(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n.SUBTRACT,t)},exports.incerementValue=function(e){var t=arguments.length>2?arguments[2]:void 0;return r(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n.ADD,t)},exports.numberDefined=e,exports.numberOperation=r,exports.restrictNumberInLimits=t,exports.setValue=function(e,n){return"number"==typeof e&&n?t(e,n):e};
|
|
2
2
|
//# sourceMappingURL=valueOperations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valueOperations.js","sources":["../../../../../../../src/core/utils/helpers/valueOperations.ts"],"sourcesContent":["export type Limit = {\n min?: number\n max?: number\n};\n\nexport const numberDefined = (value?: number | undefined | null): boolean => value !== undefined && value !== null\n\nexport const restrictNumberInLimits = (value: number, limit?: Limit): number => Math.max(\n Math.min(value, numberDefined(limit?.max) ? (limit?.max as number) : Infinity),\n numberDefined(limit?.min) ? (limit?.min as number) : -Infinity,\n)\n\nexport enum Operation {\n ADD = 'add',\n SUBTRACT = 'subtract',\n MULTIPLY = 'multiply',\n DIVIDE = 'divide',\n}\n\nexport const numberOperation = (\n value: number,\n operand: number,\n operation: Operation,\n limit?: Limit,\n): number => {\n let result = 0\n\n switch (operation) {\n case Operation.ADD: {\n result = value + operand\n break\n }\n case Operation.SUBTRACT: {\n result = value - operand\n break\n }\n case Operation.MULTIPLY: {\n result = value * operand\n break\n }\n case Operation.DIVIDE: {\n result = operand === 0 ? 0 : value / operand\n break\n }\n default:\n value\n }\n\n return restrictNumberInLimits(result, limit)\n}\n\nexport const incerementValue\n // eslint-disable-next-line default-param-last\n = (value: number, inc = 1, limit?: Limit): number => numberOperation(value, inc, Operation.ADD, limit)\n\nexport const decrementValue\n // eslint-disable-next-line default-param-last\n = (value: number, inc = 1, limit?: Limit): number => numberOperation(value, inc, Operation.SUBTRACT, limit)\n\nexport const setValue = (\n value: number | string | Record<string, unknown> | any,\n limit?: Limit,\n): any => (typeof value === 'number' && limit ? restrictNumberInLimits(value, limit) : value)\n"],"names":["
|
|
1
|
+
{"version":3,"file":"valueOperations.js","sources":["../../../../../../../src/core/utils/helpers/valueOperations.ts"],"sourcesContent":["export type Limit = {\n min?: number\n max?: number\n};\n\nexport const numberDefined = (value?: number | undefined | null): boolean => value !== undefined && value !== null\n\nexport const restrictNumberInLimits = (value: number, limit?: Limit): number => Math.max(\n Math.min(value, numberDefined(limit?.max) ? (limit?.max as number) : Infinity),\n numberDefined(limit?.min) ? (limit?.min as number) : -Infinity,\n)\n\nexport enum Operation {\n ADD = 'add',\n SUBTRACT = 'subtract',\n MULTIPLY = 'multiply',\n DIVIDE = 'divide',\n}\n\nexport const numberOperation = (\n value: number,\n operand: number,\n operation: Operation,\n limit?: Limit,\n): number => {\n let result = 0\n\n switch (operation) {\n case Operation.ADD: {\n result = value + operand\n break\n }\n case Operation.SUBTRACT: {\n result = value - operand\n break\n }\n case Operation.MULTIPLY: {\n result = value * operand\n break\n }\n case Operation.DIVIDE: {\n result = operand === 0 ? 0 : value / operand\n break\n }\n default:\n value\n }\n\n return restrictNumberInLimits(result, limit)\n}\n\nexport const incerementValue\n // eslint-disable-next-line default-param-last\n = (value: number, inc = 1, limit?: Limit): number => numberOperation(value, inc, Operation.ADD, limit)\n\nexport const decrementValue\n // eslint-disable-next-line default-param-last\n = (value: number, inc = 1, limit?: Limit): number => numberOperation(value, inc, Operation.SUBTRACT, limit)\n\nexport const setValue = (\n value: number | string | Record<string, unknown> | any,\n limit?: Limit,\n): any => (typeof value === 'number' && limit ? restrictNumberInLimits(value, limit) : value)\n"],"names":["numberDefined","value","restrictNumberInLimits","limit","Math","max","min","Infinity","Operation","numberOperation","operand","operation","result","ADD","SUBTRACT","MULTIPLY","DIVIDE","arguments","length","undefined"],"mappings":"wEAKaA,EAAgB,SAACC,GAAiC,OAAcA,OAAqC,EAErGC,EAAyB,SAACD,EAAeE,GAAa,OAAaC,KAAKC,IACnFD,KAAKE,IAAIL,EAAOD,EAAcG,aAAAA,EAAAA,EAAOE,KAAQF,aAAAA,EAAAA,EAAOE,IAAiBE,KACrEP,EAAcG,aAAK,EAALA,EAAOG,KAAQH,aAAK,EAALA,EAAOG,KAAkBC,IACvD,EAEWC,WAAAA,GAAS,OAATA,EAAS,IAAA,MAATA,EAAS,SAAA,WAATA,EAAS,SAAA,WAATA,EAAS,OAAA,SAATA,CAAS,EAAA,IAORC,EAAkB,SAC7BR,EACAS,EACAC,EACAR,GAEA,IAAIS,EAAS,EAEb,OAAQD,GACN,KAAKH,EAAUK,IACbD,EAASX,EAAQS,EACjB,MAEF,KAAKF,EAAUM,SACbF,EAASX,EAAQS,EACjB,MAEF,KAAKF,EAAUO,SACbH,EAASX,EAAQS,EACjB,MAEF,KAAKF,EAAUQ,OACbJ,EAAqB,IAAZF,EAAgB,EAAIT,EAAQS,EAOzC,OAAOR,EAAuBU,EAAQT,EACxC,6CAQI,SAACF,GAAa,IAAWE,EAAac,UAAAC,OAAAD,EAAAA,kBAAAE,EAAA,OAAaV,EAAgBR,EAAhDgB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAAyDT,EAAUM,SAAUX,EAAM,0BAJzG,SAACF,GAAa,IAAWE,EAAac,UAAAC,OAAAD,EAAAA,kBAAAE,EAAA,OAAaV,EAAgBR,EAAhDgB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAAyDT,EAAUK,IAAKV,EAAM,sGAMhF,SACtBF,EACAE,GAAa,MACa,iBAAVF,GAAsBE,EAAQD,EAAuBD,EAAOE,GAASF,CAAK"}
|
|
@@ -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"),
|
|
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"),c=require("./core/utils/helpers/emailMatcher.js"),u=require("./core/utils/helpers/file.js"),x=require("./core/utils/helpers/objectOperations.js"),m=require("./core/utils/helpers/other.js"),d=require("./core/utils/helpers/textValueOperations.js"),C=require("./core/utils/helpers/valueOperations.js"),T=require("./core/utils/helpers/cancelableDelayedFunction.js"),v=require("./core/utils/keyExtractor.js"),h=require("./core/utils/date.js"),F=require("./core/utils/webComponents/webComponent.utils.js"),b=require("./core/ui/utils/style.js"),j=require("./core/ui/components/container/FBox.js"),g=require("./core/ui/components/container/Flex.js"),S=require("./core/ui/components/container/Placeholder.js"),q=require("./core/ui/components/container/CollapsibleContainerS.js"),f=require("./core/ui/components/container/CollapsibleContainer.js"),I=require("./core/ui/components/container/ResizableContainer.js"),D=require("./core/ui/components/field/Field.js"),z=require("./core/ui/components/dividers/DividerLine.js"),O=require("./core/ui/components/icon/IconBase.js"),V=require("./core/ui/components/icon/Icon.js"),y=require("./core/ui/components/icon/IconWC.js"),R=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.outsideClickHandler=o.outsideClickHandler,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=c.emailMatch,exports.emailMatcher=c.emailMatcher,exports.regexBuilder=c.regexBuilder,exports.cleanCsvLines=u.cleanCsvLines,exports.formatFilePath=u.formatFilePath,exports.arrayToObjectTree=x.arrayToObjectTree,exports.chunkArray=x.chunkArray,exports.duplicatesInArray=x.duplicatesInArray,exports.formatJsonString=x.formatJsonString,exports.formatObj=x.formatObj,exports.formatObj2=x.formatObj2,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,exports.Operation=C.Operation,exports.decrementValue=C.decrementValue,exports.incerementValue=C.incerementValue,exports.numberDefined=C.numberDefined,exports.numberOperation=C.numberOperation,exports.restrictNumberInLimits=C.restrictNumberInLimits,exports.setValue=C.setValue,exports.cancelableSetInterval=T.cancelableSetInterval,exports.cancelableSetTimeout=T.cancelableSetTimeout,exports.keyExtractor=v.keyExtractor,exports.keyExtractorFunction=v.keyExtractorFunction,exports.dateRangeFormat=h.dateRangeFormat,exports.getDateTime=h.getDateTime,exports.getTimeFromNow=h.getTimeFromNow,exports.getTimeFromNowOriginal=h.getTimeFromNowOriginal,exports.getTimeTo=h.getTimeTo,exports.ced=F.ced,exports.createResolveAttribute=F.createResolveAttribute,exports.customElementDefine=F.customElementDefine,exports.resolveAttributes=F.resolveAttributes,exports.calculateColors=b.calculateColors,exports.calculatePercColor=b.calculatePercColor,exports.convertHex=b.convertHex,exports.convertRGB=b.convertRGB,Object.defineProperty(exports,"defaultFontSize",{enumerable:!0,get:function(){return b.defaultFontSize}}),exports.pxToRem=b.pxToRem,exports.resolveStyleValue=b.resolveStyleValue,exports.setDefaultFontSize=b.setDefaultFontSize,exports.toHex=b.toHex,exports.FBox=j.FBox,exports.Flex=g.Flex,exports.FlexTight=g.FlexTight,exports.FlexTightStyled=g.FlexTightStyled,exports.FlexWrapper=g.FlexWrapper,exports.Placeholder=S.Placeholder,exports.ContainerS=q.ContainerS,exports.CollapsibleContainer=f.CollapsibleContainer,exports.ResizableContainer=I.ResizableContainer,exports.Field=D.Field,exports.FieldWrapper=D.FieldWrapper,exports.Select=D.Select,exports.setIconColor=D.setIconColor,exports.setIconComponent=D.setIconComponent,exports.DividerHorizontal=z.DividerHorizontal,exports.DividerLine=z.DividerLine,exports.DividerVertical=z.DividerVertical,exports.IconBase=O.IconBase,exports.Icon=V.Icon,exports.IconWC=y.IconWC,exports.IconWCBase=y.IconWCBase,exports.EventName=R.EventName;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e
|
|
1
|
+
var e=function(e){return e.MouseEnter="mouseenter",e.MouseLeave="mouseleave",e.Hover="hover",e.Click="click",e.Focus="focus",e.Blur="blur",e.KeyDown="keydown",e.Scroll="scroll",e}({});export{e as EventName};
|
|
2
2
|
//# sourceMappingURL=ui.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.constants.js","sources":["../../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.constants.js","sources":["../../../../../../src/core/constants/ui.constants.ts"],"sourcesContent":["export enum EventName {\n MouseEnter = 'mouseenter',\n MouseLeave = 'mouseleave',\n Hover = 'hover',\n Click = 'click',\n Focus = 'focus',\n Blur = 'blur',\n KeyDown = 'keydown',\n Scroll = 'scroll',\n}\n"],"names":["EventName"],"mappings":"AAAYA,IAAAA,WAAAA,GAAS,OAATA,EAAS,WAAA,aAATA,EAAS,WAAA,aAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,MAAA,QAATA,EAAS,KAAA,OAATA,EAAS,QAAA,UAATA,EAAS,OAAA,SAATA,CAAS,EAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","apply","sent","originalData","abrupt","t0","stop"],"mappings":"kMAkBA,IAAMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,MAEpDC,EAAS,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAuBX,GAAoBY,EAAAC,EAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/Bb,EAAIM,KACPN,EAAIM,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFnB,EAAIM,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAWC,EAAAC,IAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAN,IAAAO,MAAA,SAAAC,GAAA,
|
|
1
|
+
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","_useState","useState","_useState2","_slicedToArray","dataFetching","setDataFetching","caller","decorator","_map$id","onSuccess","onError","doCall","useCallback","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_data","returnData","_args","arguments","wrap","_context","prev","next","prevState","_objectSpread","apply","sent","originalData","abrupt","t0","stop"],"mappings":"kMAkBA,IAAMA,EAAkC,CAAA,EAElCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,MAEpDC,EAAS,SACpBC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAAC,EAAwCC,EAAuBX,GAAoBY,EAAAC,EAAAH,EAAA,GAA5EI,EAAYF,EAAA,GAAEG,EAAeH,EAAA,GAG/Bb,EAAIM,KACPN,EAAIM,GAAM,CAAEA,GAAAA,EAAIW,OAAQV,EAAeW,UAAWV,EAAmBC,eAAAA,EAAgBC,aAAAA,IAGvF,IAAAS,EAAgFnB,EAAIM,GAA5EW,EAAME,EAANF,OAAQC,EAASC,EAATD,UAA2BE,EAASD,EAAzBV,eAAyCY,EAAOF,EAArBT,aAEhDY,EAA6BC,EAAWC,EAAAC,IAAAC,MAAC,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAN,IAAAO,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAEoC,OAFpCF,EAAAC,KAAA,EAE3ClB,GAAgB,SAACoB,GAAuB,OAAAC,EAAAA,EAAA,CAAA,EAAWD,GAAS,CAAA,EAAA,CAAElC,SAAS,GAAI,IAAI+B,EAAAE,KAAA,EACtDlB,EAAMqB,WAAA,EAAAR,GAAS,KAAA,EAStC,OATI1B,EAAU6B,EAAAM,KACVV,EAAaX,EAAYA,EAAUd,GAAQA,EAEjDgB,GAAaA,EAAU,CAAEhB,KAAMyB,EAAYW,aAAcpC,EAAKA,OAE9DY,GAAgB,SAACoB,GAGf,OAFcC,EAAAA,KAAQD,GAAS,GAAA,CAAElC,SAAS,EAAOC,MAAO,KAAMC,KAAMyB,EAAYW,aAAcpC,EAAKA,MAGrG,IAAE6B,EAAAQ,OAAA,SAEKZ,GAAU,KAAA,GAGsE,MAHtEI,EAAAC,KAAA,GAAAD,EAAAS,GAAAT,EAAA,MAAA,GAEjBZ,GAAWA,EAAOY,EAAAS,IAClB1B,GAAgB,SAACoB,GAAuB,OAAAC,EAAAA,EAAA,CAAA,EAAWD,GAAS,CAAA,EAAA,CAAElC,SAAS,EAAOC,MAAK8B,EAAAS,IAAA,IAAIT,EAAAS,GAAA,KAAA,GAAA,IAAA,MAAA,OAAAT,EAAAU,OAAA,GAAAhB,EAAA,KAAA,CAAA,CAAA,EAAA,UAGxF,CAACV,EAAQC,EAAWE,EAAWC,IAElC,MAAO,CAACC,EAAQP,EAClB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{objectSpread2 as
|
|
1
|
+
import{objectWithoutProperties as o,objectSpread2 as e,extends as t}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/es.array.concat.js";import{memo as i,useMemo as n}from"react";import r from"./icon.module.scss.js";var c=["iconUrl","minWidth","minHeight","size","fontSize","width","height","color","className","children","style"],s=i((function(i){var s=i.iconUrl,a=i.minWidth,l=i.minHeight,m=i.size,h=i.fontSize,d=i.width,u=i.height,p=i.color,f=void 0===p?"currentColor":p,g=i.className,j=void 0===g?"":g,b=i.children,v=i.style,y=o(i,c),z=n((function(){return e(e(e(e({"--min-width":a||m||d||"auto","--min-height":l||m||u||"auto","--width":m||d,"--height":m||u},h?{fontSize:h}:{}),s?{"--icon-url":"url(".concat(s,")")}:{}),s?{"--icon-color":f}:{"--icon-content-color":f}),v)}),[a,m,d,l,u,h,s,f,v]);return React.createElement("span",t({},y,{className:"".concat(r["icon-base"]," icon-base ").concat(j),style:z}),!s&&b&&b)}));s.displayName="IconBase";export{s 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, FC, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\nexport type IconBaseType = PropsWithChildren<
|
|
1
|
+
{"version":3,"file":"IconBase.js","sources":["../../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, FC, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\nexport type IconBaseType = PropsWithChildren<unknown> & {\n id?: string\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 style?: CSSProperties\n}\n\nexport const IconBase: FC<IconBaseType> = memo<IconBaseType>(({\n iconUrl, minWidth, minHeight, size,\n fontSize, width, height, color = 'currentColor', className = '', children, style, ...props\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth || size || width || 'auto',\n '--min-height': minHeight || size || height || 'auto',\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 ...style,\n }\n ), [minWidth, size, width, minHeight, height, fontSize, iconUrl, color, style])\n\n return (\n <span\n {...props}\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","minWidth","minHeight","size","fontSize","width","height","_ref$color","color","_ref$className","className","children","style","props","_objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","concat","React","createElement","_extends","classes","displayName"],"mappings":"wYAkBaA,EAA6BC,GAAmB,SAAAC,GAGzC,IAFlBC,EAAOD,EAAPC,QAASC,EAAQF,EAARE,SAAUC,EAASH,EAATG,UAAWC,EAAIJ,EAAJI,KAC9BC,EAAQL,EAARK,SAAUC,EAAKN,EAALM,MAAOC,EAAMP,EAANO,OAAMC,EAAAR,EAAES,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAAE,EAAAV,EAAEW,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAEE,EAAQZ,EAARY,SAAUC,EAAKb,EAALa,MAAUC,EAAKC,EAAAf,EAAAgB,GAEpFC,EAASC,GAAQ,WAAA,OAAAC,EAAAA,EAAAA,EAAAA,EAAA,CAEnB,cAAejB,GAAYE,GAAQE,GAAS,OAC5C,eAAgBH,GAAaC,GAAQG,GAAU,OAC/C,UAAWH,GAAQE,EACnB,WAAYF,GAAQG,GAChBF,EAAW,CAAEA,SAAAA,GAAa,CAAA,GAC1BJ,EAAU,CAAE,aAAY,OAAAmB,OAASnB,EAAO,MAAQ,CAAA,GAChDA,EAAU,CAAE,eAAgBQ,GAAU,CAAE,uBAAwBA,IACjEI,EAEN,GAAE,CAACX,EAAUE,EAAME,EAAOH,EAAWI,EAAQF,EAAUJ,EAASQ,EAAOI,IAExE,OACEQ,MAAAC,cAAAC,OAAAA,KACMT,EAAK,CACTH,UAAS,GAAAS,OAAMI,EAAgB,aAAYJ,eAAAA,OAAcT,GACzDE,MAAOI,KAEJhB,GAAWW,GAAaA,EAGjC,IAEAd,EAAS2B,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{inherits as e,createSuper as t,createClass as i,classCallCheck as n,objectSpread2 as s,slicedToArray as o,wrapNativeSuper as
|
|
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.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,h=document.createElement("template");h.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":e.minWidth||e.size||e.width||"auto","--min-height":e.minHeight||e.size||e.height||"auto","--width":e.size||e.width,"--height":e.size||e.height},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=h.innerHTML,c(this,m.observedAttributes),this.render()}},{key:"attributeChangedCallback",value:function(e,t,i){"className"===e&&(this.className=i||"",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,u={IconWC:d};export{d as IconWC,u as IconWCBase};
|
|
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, 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
|
|
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 class IconWC 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, IconWC.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 }\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': this.minWidth || this.size || this.width || 'auto',\n '--min-height': this.minHeight || this.size || this.height || 'auto',\n '--width': this.size || this.width,\n '--height': this.size || this.height,\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 IconWCBase = {\n IconWC,\n}\n"],"names":["template","document","createElement","innerHTML","IconWC","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","setAttribute","Object","entries","map","_ref","_ref2","_slicedToArray","key","value","join","_createClass","getAttribute","resolveAttributes","observedAttributes","attrName","oldVal","newVal","className","remove","get","_wrapNativeSuper","HTMLElement","IconWCBase"],"mappings":"giBAMMA,EAAWC,SAASC,cAAc,YAExCF,EAASG,UAAY,kCAcrB,IACaC,EADZC,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,GAyEd,OAzEcP,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,EAgCLsB,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,cAAe5B,EAAKe,UAAYf,EAAKmB,MAAQnB,EAAKiB,OAAS,OAC3D,eAAgBjB,EAAKgB,WAAahB,EAAKmB,MAAQnB,EAAKkB,QAAU,OAC9D,UAAWlB,EAAKmB,MAAQnB,EAAKiB,MAC7B,WAAYjB,EAAKmB,MAAQnB,EAAKkB,QAC1BlB,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,YAAYgB,aAAa,QAASC,OAAOC,QAAQJ,GAAQK,KAAI,SAAAC,GAAA,IAAAC,EAAAC,EAAAF,EAAA,GAAEG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GAAA,MAAA,GAAAvB,OAASyB,EAAGzB,MAAAA,OAAK0B,EAAK,IAAA,IAAKC,KAAK,KAhB9G,GAiBDtC,CAAA,CAjDA,OAiDAuC,EAAA/C,EAAA,CAAA,CAAA4C,IAAA,oBAAAC,MA/CD,WACM3B,KAAKnB,YACPmB,KAAKE,QAAUF,KAAKE,SAAWF,KAAKnB,WAAamB,KAAK8B,aAAa,YAGrE9B,KAAKnB,UAAYH,EAASG,UAE1BkD,EAAkB/B,KAAMlB,EAAOkD,oBAE/BhC,KAAKY,QACP,GAAC,CAAAc,IAAA,2BAAAC,MAED,SAAyBM,EAAkBC,EAAgCC,GACxD,cAAbF,IACFjC,KAAKoC,UAAaD,GAAqB,GACnCnC,KAAKoC,YACPpC,KAAKc,UAAUuB,OAAOrC,KAAKoC,WAC3BpC,KAAKc,UAAUC,IAAIf,KAAKoC,aAK5BpC,KAAKiC,GAAYE,EACjBnC,KAAKY,QACP,IAAC,CAAA,CAAAc,IAAA,qBAAAY,IA5BD,WACE,MAAO,CAAC,UAAW,WAAY,YAAa,QAAS,SAAU,OAAQ,WAAY,QAAS,YAC9F,KAACxD,CAAA,EAAAyD,EAvByBC,gBAAWvD,EAoF1BwD,EAAa,CACxB3D,OAAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceInfo.js","sources":["../../../../../../../src/core/utils/helpers/deviceInfo.ts"],"sourcesContent":["export const getDeviceId = async (): Promise<string | null | undefined> => {\n try {\n const devices = await navigator?.mediaDevices?.enumerateDevices?.()\n const device = devices.find((device) => device.kind === 'videoinput')\n\n return device?.deviceId || device?.groupId\n } catch (error: any) {\n return null\n }\n}\n"],"names":["getDeviceId","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_navigator","_navigator$mediaDevic","_navigator$mediaDevic2","devices","device","wrap","_context","prev","next","navigator","mediaDevices","enumerateDevices","call","sent","find","kind","abrupt","deviceId","groupId","t0","stop","apply","this","arguments"],"mappings":"2PAAaA,EAAW,WAAA,IAAAC,EAAAC,EAAAC,IAAAC,MAAG,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAP,IAAAQ,MAAA,SAAAC,GAAA,
|
|
1
|
+
{"version":3,"file":"deviceInfo.js","sources":["../../../../../../../src/core/utils/helpers/deviceInfo.ts"],"sourcesContent":["export const getDeviceId = async (): Promise<string | null | undefined> => {\n try {\n const devices = await navigator?.mediaDevices?.enumerateDevices?.()\n const device = devices.find((device) => device.kind === 'videoinput')\n\n return device?.deviceId || device?.groupId\n } catch (error: any) {\n return null\n }\n}\n"],"names":["getDeviceId","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_navigator","_navigator$mediaDevic","_navigator$mediaDevic2","devices","device","wrap","_context","prev","next","navigator","mediaDevices","enumerateDevices","call","sent","find","kind","abrupt","deviceId","groupId","t0","stop","apply","this","arguments"],"mappings":"2PAAaA,EAAW,WAAA,IAAAC,EAAAC,EAAAC,IAAAC,MAAG,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAP,IAAAQ,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEQR,QAFRA,EAEDS,iBAASR,IAAAD,GAAcC,QAAdA,EAATD,EAAWU,oBAAYR,IAAAD,GAAkBC,QAAlBA,EAAvBD,EAAyBU,wBAAzBT,IAAyCA,OAAhCD,EAATC,EAAAU,KAAAX,GAA6C,KAAA,EACE,OAD/DE,EAAOG,EAAAO,KACPT,EAASD,EAAQW,MAAK,SAACV,GAAM,MAAqB,eAAhBA,EAAOW,QAAsBT,EAAAU,iBAE9DZ,aAAM,EAANA,EAAQa,YAAYb,aAAAA,EAAAA,EAAQc,UAAO,KAAA,EAAA,OAAAZ,EAAAC,KAAA,EAAAD,EAAAa,GAAAb,EAAA,MAAA,GAAAA,EAAAU,OAAA,SAEnC,MAAI,KAAA,GAAA,IAAA,MAAA,OAAAV,EAAAc,OAAA,GAAArB,EAAA,KAAA,CAAA,CAAA,EAAA,IAEd,KAAA,OAAA,WATuB,OAAAJ,EAAA0B,MAAAC,KAAAC,UAAA,CAAA,CAAA"}
|