ods-component-lib 1.23.0 → 1.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index2.js +2 -5
- package/dist/_virtual/index2.js.map +1 -1
- package/dist/_virtual/index3.js +4 -4
- package/dist/_virtual/index4.js +5 -2
- package/dist/_virtual/index4.js.map +1 -1
- package/dist/components/antd/currencyInput/CurrencySelect.js +20 -17
- package/dist/components/antd/currencyInput/CurrencySelect.js.map +1 -1
- package/dist/components/antd/currencyInput/OdsCurrencyInput.js +57 -42
- package/dist/components/antd/currencyInput/OdsCurrencyInput.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/node_modules/canvg/lib/index.es.js +2 -2
- package/dist/node_modules/ods-icon/react/24/outline/index.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index2.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as e } from "../node_modules/raf/index.js";
|
|
3
|
-
var t = /* @__PURE__ */ e();
|
|
4
|
-
const m = /* @__PURE__ */ r(t);
|
|
1
|
+
var e = {};
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
e as __exports
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=index2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
var t = /* @__PURE__ */
|
|
4
|
-
const
|
|
2
|
+
import { __require as e } from "../node_modules/raf/index.js";
|
|
3
|
+
var t = /* @__PURE__ */ e();
|
|
4
|
+
const m = /* @__PURE__ */ r(t);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index3.js.map
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as o } from "../node_modules/rgbcolor/index.js";
|
|
3
|
+
var t = /* @__PURE__ */ o();
|
|
4
|
+
const l = /* @__PURE__ */ r(t);
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
l as default
|
|
4
7
|
};
|
|
5
8
|
//# sourceMappingURL=index4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index4.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
function
|
|
5
|
-
currencyOptions:
|
|
6
|
-
onSelect:
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import d from "antd/es/select";
|
|
3
|
+
import u from "antd/es/tooltip";
|
|
4
|
+
function y({
|
|
5
|
+
currencyOptions: l,
|
|
6
|
+
onSelect: t,
|
|
7
7
|
defaultValue: c,
|
|
8
8
|
disabled: a,
|
|
9
|
-
showSymbolForCodes:
|
|
10
|
-
|
|
11
|
-
...
|
|
9
|
+
showSymbolForCodes: o = [],
|
|
10
|
+
enableSearch: n = !1,
|
|
11
|
+
...i
|
|
12
12
|
}) {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
if (!l || l.length === 0) return null;
|
|
14
|
+
const { defaultCurrencyId: h, defaultCurrencyCode: m, fixedCurrency: s, ...f } = i;
|
|
15
|
+
return /* @__PURE__ */ r(
|
|
16
|
+
d,
|
|
15
17
|
{
|
|
16
18
|
disabled: a,
|
|
17
|
-
onSelect: (e) =>
|
|
19
|
+
onSelect: (e) => t?.(e),
|
|
18
20
|
defaultValue: c,
|
|
19
|
-
showSearch:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
showSearch: n ? {
|
|
22
|
+
optionFilterProp: "data-code"
|
|
23
|
+
} : void 0,
|
|
24
|
+
...f,
|
|
25
|
+
children: l.map((e) => /* @__PURE__ */ r(d.Option, { value: e.id, "data-code": e.code, children: /* @__PURE__ */ r(u, { placement: "right", title: e.name, children: /* @__PURE__ */ r("span", { style: { fontSize: "12px" }, children: o.includes(e.code) ? e.symbol : e.code }) }) }, e.code))
|
|
23
26
|
}
|
|
24
27
|
);
|
|
25
28
|
}
|
|
26
29
|
export {
|
|
27
|
-
|
|
30
|
+
y as default
|
|
28
31
|
};
|
|
29
32
|
//# sourceMappingURL=CurrencySelect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrencySelect.js","sources":["../../../../src/components/antd/currencyInput/CurrencySelect.tsx"],"sourcesContent":["import Select from \"antd/es/select\";\r\nimport Tooltip from \"antd/es/tooltip\";\r\nimport { CurrencySelectProps } from \"./types\";\r\n\r\nfunction CurrencySelect({\r\n currencyOptions,\r\n onSelect,\r\n defaultValue,\r\n disabled,\r\n showSymbolForCodes = [],\r\n
|
|
1
|
+
{"version":3,"file":"CurrencySelect.js","sources":["../../../../src/components/antd/currencyInput/CurrencySelect.tsx"],"sourcesContent":["import Select from \"antd/es/select\";\r\nimport Tooltip from \"antd/es/tooltip\";\r\nimport { CurrencySelectProps } from \"./types\";\r\n\r\nfunction CurrencySelect({\r\n currencyOptions,\r\n onSelect,\r\n defaultValue,\r\n disabled,\r\n showSymbolForCodes = [],\r\n enableSearch = false,\r\n ...props\r\n}: CurrencySelectProps) {\r\n if (!currencyOptions || currencyOptions.length === 0) return null;\r\n\r\n const { defaultCurrencyId, defaultCurrencyCode, fixedCurrency, ...rest } = props;\r\n\r\n const showSearch = enableSearch\r\n ? {\r\n optionFilterProp: \"data-code\",\r\n }\r\n : undefined;\r\n \r\n return (\r\n <Select\r\n disabled={disabled}\r\n onSelect={(value) => onSelect?.(value)}\r\n defaultValue={defaultValue}\r\n showSearch={showSearch}\r\n {...rest}\r\n >\r\n {currencyOptions.map((option) => (\r\n <Select.Option key={option.code} value={option.id} data-code={option.code}>\r\n <Tooltip placement=\"right\" title={option.name}>\r\n <span style={{ fontSize: \"12px\" }}>{showSymbolForCodes.includes(option.code) ? option.symbol : option.code}</span>\r\n </Tooltip>\r\n </Select.Option>\r\n ))}\r\n </Select>\r\n );\r\n}\r\n\r\nexport default CurrencySelect;\r\n"],"names":["CurrencySelect","currencyOptions","onSelect","defaultValue","disabled","showSymbolForCodes","enableSearch","props","defaultCurrencyId","defaultCurrencyCode","fixedCurrency","rest","jsx","Select","value","option","Tooltip"],"mappings":";;;AAIA,SAASA,EAAe;AAAA,EACtB,iBAAAC;AAAA,EACA,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,oBAAAC,IAAqB,CAAA;AAAA,EACrB,cAAAC,IAAe;AAAA,EACf,GAAGC;AACL,GAAwB;AACtB,MAAI,CAACN,KAAmBA,EAAgB,WAAW,EAAG,QAAO;AAE7D,QAAM,EAAE,mBAAAO,GAAmB,qBAAAC,GAAqB,eAAAC,GAAe,GAAGC,MAASJ;AAQ3E,SACE,gBAAAK;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAAT;AAAA,MACA,UAAU,CAACU,MAAUZ,IAAWY,CAAK;AAAA,MACrC,cAAAX;AAAA,MACA,YAXeG,IACf;AAAA,QACE,kBAAkB;AAAA,MAAA,IAEpB;AAAA,MAQC,GAAGK;AAAA,MAEH,YAAgB,IAAI,CAACI,MACpB,gBAAAH,EAACC,EAAO,QAAP,EAAgC,OAAOE,EAAO,IAAI,aAAWA,EAAO,MACnE,4BAACC,GAAA,EAAQ,WAAU,SAAQ,OAAOD,EAAO,MACvC,UAAA,gBAAAH,EAAC,UAAK,OAAO,EAAE,UAAU,OAAA,GAAW,YAAmB,SAASG,EAAO,IAAI,IAAIA,EAAO,SAASA,EAAO,KAAA,CAAK,GAC7G,EAAA,GAHkBA,EAAO,IAI3B,CACD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,68 +1,83 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as
|
|
1
|
+
import { jsx as u, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as h } from "react";
|
|
3
3
|
import g from "antd/es/input-number";
|
|
4
|
-
import
|
|
5
|
-
|
|
4
|
+
import N from "./CurrencySelect.js";
|
|
5
|
+
import { Space as w } from "antd";
|
|
6
|
+
function R({
|
|
6
7
|
currencySelectProps: r,
|
|
7
|
-
defaultValue:
|
|
8
|
-
locale:
|
|
8
|
+
defaultValue: m = "",
|
|
9
|
+
locale: n = "tr-TR",
|
|
9
10
|
dontFormatValue: a,
|
|
10
|
-
min:
|
|
11
|
-
asPercentage:
|
|
12
|
-
isOnRight:
|
|
13
|
-
fractionDigits:
|
|
14
|
-
...
|
|
11
|
+
min: f = 0,
|
|
12
|
+
asPercentage: I,
|
|
13
|
+
isOnRight: O,
|
|
14
|
+
fractionDigits: d,
|
|
15
|
+
...e
|
|
15
16
|
}) {
|
|
16
|
-
const
|
|
17
|
+
const i = h(
|
|
17
18
|
() => r?.currencyOptions?.find(
|
|
18
19
|
(t) => t.id === r?.defaultCurrencyId || t.code === r?.defaultCurrencyCode
|
|
19
20
|
),
|
|
20
21
|
[r]
|
|
21
|
-
),
|
|
22
|
-
if (
|
|
22
|
+
), o = h(() => {
|
|
23
|
+
if (I)
|
|
23
24
|
return "%";
|
|
24
25
|
if (!(!r || !r.currencyOptions || r.currencyOptions.length === 0))
|
|
25
|
-
return r.fixedCurrency ?
|
|
26
|
-
|
|
26
|
+
return r.fixedCurrency ? i?.symbol : /* @__PURE__ */ u(
|
|
27
|
+
N,
|
|
27
28
|
{
|
|
28
29
|
currencyOptions: r.currencyOptions,
|
|
29
30
|
onSelect: (t) => r?.onSelect(t),
|
|
30
31
|
value: r?.value,
|
|
31
|
-
defaultValue:
|
|
32
|
+
defaultValue: i?.id,
|
|
32
33
|
...r
|
|
33
34
|
}
|
|
34
35
|
);
|
|
35
|
-
}, [r,
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
)
|
|
36
|
+
}, [r, i]);
|
|
37
|
+
return O ? /* @__PURE__ */ C(w.Compact, { style: { width: e.width || "100%" }, children: [
|
|
38
|
+
/* @__PURE__ */ u(
|
|
39
|
+
g,
|
|
40
|
+
{
|
|
41
|
+
defaultValue: m,
|
|
42
|
+
min: f,
|
|
43
|
+
value: e.value,
|
|
44
|
+
onChange: (t) => e.onChange(t),
|
|
45
|
+
formatter: (t) => a ? String(t) : x(t, n, d),
|
|
46
|
+
parser: (t) => a ? t : b(t, n),
|
|
47
|
+
...e
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
o
|
|
51
|
+
] }) : /* @__PURE__ */ C(w.Compact, { style: { width: e.width || "100%" }, children: [
|
|
52
|
+
o,
|
|
53
|
+
/* @__PURE__ */ u(
|
|
54
|
+
g,
|
|
55
|
+
{
|
|
56
|
+
defaultValue: m,
|
|
57
|
+
min: f,
|
|
58
|
+
value: e.value,
|
|
59
|
+
onChange: (t) => e.onChange(t),
|
|
60
|
+
formatter: (t) => a ? String(t) : x(t, n, d),
|
|
61
|
+
parser: (t) => a ? t : b(t, n),
|
|
62
|
+
...e
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
] });
|
|
51
66
|
}
|
|
52
|
-
const x = (r,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
minimumFractionDigits:
|
|
56
|
-
maximumFractionDigits:
|
|
67
|
+
const x = (r, m, n) => r && new Intl.NumberFormat(
|
|
68
|
+
m,
|
|
69
|
+
n ? {
|
|
70
|
+
minimumFractionDigits: n,
|
|
71
|
+
maximumFractionDigits: n
|
|
57
72
|
} : {}
|
|
58
|
-
).format(Number(r)),
|
|
73
|
+
).format(Number(r)), b = (r, m) => {
|
|
59
74
|
if (!r) return r;
|
|
60
|
-
var
|
|
75
|
+
var n = Intl.NumberFormat(m).format(11111).replace(/\p{Number}/gu, ""), a = Intl.NumberFormat(m).format(1.1).replace(/\p{Number}/gu, "");
|
|
61
76
|
return parseFloat(
|
|
62
|
-
r.replace(new RegExp("\\" +
|
|
77
|
+
r.replace(new RegExp("\\" + n, "g"), "").replace(new RegExp("\\" + a), ".")
|
|
63
78
|
);
|
|
64
79
|
};
|
|
65
80
|
export {
|
|
66
|
-
|
|
81
|
+
R as default
|
|
67
82
|
};
|
|
68
83
|
//# sourceMappingURL=OdsCurrencyInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdsCurrencyInput.js","sources":["../../../../src/components/antd/currencyInput/OdsCurrencyInput.tsx"],"sourcesContent":["import { useMemo } from \"react\";\r\nimport InputNumber from \"antd/es/input-number\";\r\nimport { OdsCurrencyInputProps } from \"./types\";\r\nimport CurrencySelect from \"./CurrencySelect\";\r\n\r\nfunction OdsCurrencyInput({\r\n currencySelectProps,\r\n defaultValue = \"\",\r\n locale = \"tr-TR\",\r\n dontFormatValue,\r\n min = 0,\r\n asPercentage,\r\n isOnRight,\r\n fractionDigits,\r\n ...props\r\n}: OdsCurrencyInputProps) {\r\n\r\n const defaultCurrency = useMemo(\r\n () =>\r\n currencySelectProps?.currencyOptions?.find(\r\n (option) =>\r\n option.id === currencySelectProps?.defaultCurrencyId ||\r\n option.code === currencySelectProps?.defaultCurrencyCode\r\n ),\r\n [currencySelectProps]\r\n );\r\n\r\n const currencySelector = useMemo(() => {\r\n if (asPercentage) {\r\n return \"%\";\r\n }\r\n\r\n if (\r\n !currencySelectProps ||\r\n !currencySelectProps.currencyOptions ||\r\n currencySelectProps.currencyOptions.length === 0\r\n ) {\r\n return undefined;\r\n } else if (currencySelectProps.fixedCurrency) {\r\n return defaultCurrency?.symbol;\r\n }\r\n\r\n return (\r\n <CurrencySelect\r\n currencyOptions={currencySelectProps.currencyOptions}\r\n onSelect={(selectedId) => currencySelectProps?.onSelect(selectedId)}\r\n value={currencySelectProps?.value}\r\n defaultValue={defaultCurrency?.id}\r\n {...currencySelectProps}\r\n />\r\n );\r\n }, [currencySelectProps, defaultCurrency]);\r\n\r\n return (\r\n <InputNumber\r\n
|
|
1
|
+
{"version":3,"file":"OdsCurrencyInput.js","sources":["../../../../src/components/antd/currencyInput/OdsCurrencyInput.tsx"],"sourcesContent":["import { useMemo } from \"react\";\r\nimport InputNumber from \"antd/es/input-number\";\r\nimport { OdsCurrencyInputProps } from \"./types\";\r\nimport CurrencySelect from \"./CurrencySelect\";\r\nimport { Space } from \"antd\";\r\n\r\nfunction OdsCurrencyInput({\r\n currencySelectProps,\r\n defaultValue = \"\",\r\n locale = \"tr-TR\",\r\n dontFormatValue,\r\n min = 0,\r\n asPercentage,\r\n isOnRight,\r\n fractionDigits,\r\n ...props\r\n}: OdsCurrencyInputProps) {\r\n\r\n const defaultCurrency = useMemo(\r\n () =>\r\n currencySelectProps?.currencyOptions?.find(\r\n (option) =>\r\n option.id === currencySelectProps?.defaultCurrencyId ||\r\n option.code === currencySelectProps?.defaultCurrencyCode\r\n ),\r\n [currencySelectProps]\r\n );\r\n\r\n const currencySelector = useMemo(() => {\r\n if (asPercentage) {\r\n return \"%\";\r\n }\r\n\r\n if (\r\n !currencySelectProps ||\r\n !currencySelectProps.currencyOptions ||\r\n currencySelectProps.currencyOptions.length === 0\r\n ) {\r\n return undefined;\r\n } else if (currencySelectProps.fixedCurrency) {\r\n return defaultCurrency?.symbol;\r\n }\r\n\r\n return (\r\n <CurrencySelect\r\n currencyOptions={currencySelectProps.currencyOptions}\r\n onSelect={(selectedId) => currencySelectProps?.onSelect(selectedId)}\r\n value={currencySelectProps?.value}\r\n defaultValue={defaultCurrency?.id}\r\n {...currencySelectProps}\r\n />\r\n );\r\n }, [currencySelectProps, defaultCurrency]);\r\n\r\n return isOnRight ? (\r\n <Space.Compact style={{ width: props.width || \"100%\" }}>\r\n <InputNumber\r\n defaultValue={defaultValue}\r\n min={min}\r\n value={props.value}\r\n onChange={(value: number) => props.onChange(value)}\r\n formatter={(value) => (dontFormatValue ? String(value) : formatValue(value as string, locale, fractionDigits))}\r\n parser={(value) => (dontFormatValue ? value : parseValue(value, locale))}\r\n {...props}\r\n />\r\n {currencySelector}\r\n </Space.Compact>\r\n ) : (\r\n <Space.Compact style={{ width: props.width || \"100%\" }}>\r\n {currencySelector}\r\n <InputNumber\r\n defaultValue={defaultValue}\r\n min={min}\r\n value={props.value}\r\n onChange={(value: number) => props.onChange(value)}\r\n formatter={(value) => (dontFormatValue ? String(value) : formatValue(value as string, locale, fractionDigits))}\r\n parser={(value) => (dontFormatValue ? value : parseValue(value, locale))}\r\n {...props}\r\n />\r\n </Space.Compact>\r\n );\r\n};\r\n\r\nexport default OdsCurrencyInput;\r\n\r\nconst formatValue = (\r\n value?: string,\r\n locale?: string,\r\n fractionDigits?: number\r\n): string => {\r\n if (!value) return value;\r\n return new Intl.NumberFormat(\r\n locale,\r\n fractionDigits\r\n ? {\r\n minimumFractionDigits: fractionDigits,\r\n maximumFractionDigits: fractionDigits,\r\n }\r\n : {}\r\n ).format(Number(value));\r\n};\r\n\r\nconst parseValue = (stringNumber: string, locale: string) => {\r\n if (!stringNumber) return stringNumber;\r\n\r\n // @ts-ignore\r\n var thousandSeparator = Intl.NumberFormat(locale)\r\n .format(11111)\r\n .replace(/\\p{Number}/gu, \"\");\r\n // @ts-ignore\r\n var decimalSeparator = Intl.NumberFormat(locale)\r\n .format(1.1)\r\n .replace(/\\p{Number}/gu, \"\");\r\n\r\n return parseFloat(\r\n stringNumber\r\n .replace(new RegExp(\"\\\\\" + thousandSeparator, \"g\"), \"\")\r\n .replace(new RegExp(\"\\\\\" + decimalSeparator), \".\")\r\n );\r\n};\r\n"],"names":["OdsCurrencyInput","currencySelectProps","defaultValue","locale","dontFormatValue","min","asPercentage","isOnRight","fractionDigits","props","defaultCurrency","useMemo","option","currencySelector","jsx","CurrencySelect","selectedId","jsxs","Space","InputNumber","value","formatValue","parseValue","stringNumber","thousandSeparator","decimalSeparator"],"mappings":";;;;;AAMA,SAASA,EAAiB;AAAA,EACxB,qBAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,QAAAC,IAAS;AAAA,EACT,iBAAAC;AAAA,EACA,KAAAC,IAAM;AAAA,EACN,cAAAC;AAAA,EACA,WAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,GAAGC;AACL,GAA0B;AAExB,QAAMC,IAAkBC;AAAA,IACtB,MACEV,GAAqB,iBAAiB;AAAA,MACpC,CAACW,MACCA,EAAO,OAAOX,GAAqB,qBACnCW,EAAO,SAASX,GAAqB;AAAA,IAAA;AAAA,IAE3C,CAACA,CAAmB;AAAA,EAAA,GAGhBY,IAAmBF,EAAQ,MAAM;AACrC,QAAIL;AACF,aAAO;AAGT,QACE,GAACL,KACD,CAACA,EAAoB,mBACrBA,EAAoB,gBAAgB,WAAW;AAGjD,aAAWA,EAAoB,gBACtBS,GAAiB,SAIxB,gBAAAI;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,iBAAiBd,EAAoB;AAAA,UACrC,UAAU,CAACe,MAAef,GAAqB,SAASe,CAAU;AAAA,UAClE,OAAOf,GAAqB;AAAA,UAC5B,cAAcS,GAAiB;AAAA,UAC9B,GAAGT;AAAA,QAAA;AAAA,MAAA;AAAA,EAGV,GAAG,CAACA,GAAqBS,CAAe,CAAC;AAEzC,SAAOH,IACL,gBAAAU,EAACC,EAAM,SAAN,EAAc,OAAO,EAAE,OAAOT,EAAM,SAAS,OAAA,GAC5C,UAAA;AAAA,IAAA,gBAAAK;AAAA,MAACK;AAAA,MAAA;AAAA,QACC,cAAAjB;AAAA,QACA,KAAAG;AAAA,QACA,OAAOI,EAAM;AAAA,QACb,UAAU,CAACW,MAAkBX,EAAM,SAASW,CAAK;AAAA,QACjD,WAAW,CAACA,MAAWhB,IAAkB,OAAOgB,CAAK,IAAIC,EAAYD,GAAiBjB,GAAQK,CAAc;AAAA,QAC5G,QAAQ,CAACY,MAAWhB,IAAkBgB,IAAQE,EAAWF,GAAOjB,CAAM;AAAA,QACrE,GAAGM;AAAA,MAAA;AAAA,IAAA;AAAA,IAELI;AAAA,EAAA,EAAA,CACH,IAEA,gBAAAI,EAACC,EAAM,SAAN,EAAc,OAAO,EAAE,OAAOT,EAAM,SAAS,OAAA,GAC3C,UAAA;AAAA,IAAAI;AAAA,IACD,gBAAAC;AAAA,MAACK;AAAA,MAAA;AAAA,QACC,cAAAjB;AAAA,QACA,KAAAG;AAAA,QACA,OAAOI,EAAM;AAAA,QACb,UAAU,CAACW,MAAkBX,EAAM,SAASW,CAAK;AAAA,QACjD,WAAW,CAACA,MAAWhB,IAAkB,OAAOgB,CAAK,IAAIC,EAAYD,GAAiBjB,GAAQK,CAAc;AAAA,QAC5G,QAAQ,CAACY,MAAWhB,IAAkBgB,IAAQE,EAAWF,GAAOjB,CAAM;AAAA,QACrE,GAAGM;AAAA,MAAA;AAAA,IAAA;AAAA,EACN,GACF;AAEJ;AAIA,MAAMY,IAAc,CAClBD,GACAjB,GACAK,MAEKY,KACE,IAAI,KAAK;AAAA,EACdjB;AAAA,EACAK,IACI;AAAA,IACE,uBAAuBA;AAAA,IACvB,uBAAuBA;AAAA,EAAA,IAEzB,CAAA;AAAC,EACL,OAAO,OAAOY,CAAK,CAAC,GAGlBE,IAAa,CAACC,GAAsBpB,MAAmB;AAC3D,MAAI,CAACoB,EAAc,QAAOA;AAG1B,MAAIC,IAAoB,KAAK,aAAarB,CAAM,EAC7C,OAAO,KAAK,EACZ,QAAQ,gBAAgB,EAAE,GAEzBsB,IAAmB,KAAK,aAAatB,CAAM,EAC5C,OAAO,GAAG,EACV,QAAQ,gBAAgB,EAAE;AAE7B,SAAO;AAAA,IACLoB,EACG,QAAQ,IAAI,OAAO,OAAOC,GAAmB,GAAG,GAAG,EAAE,EACrD,QAAQ,IAAI,OAAO,OAAOC,CAAgB,GAAG,GAAG;AAAA,EAAA;AAEvD;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ declare type CurrencySelectProps = SelectProps & {
|
|
|
108
108
|
fixedCurrency?: boolean;
|
|
109
109
|
onSelect?: (selectedId: number | null | undefined) => void;
|
|
110
110
|
showSymbolForCodes?: string[];
|
|
111
|
-
|
|
111
|
+
enableSearch?: boolean;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
114
|
export declare const DATA_GRID_CLASSES: {
|
|
@@ -10,9 +10,9 @@ import ot from "../../@babel/runtime/helpers/esm/defineProperty.js";
|
|
|
10
10
|
import "../../../_virtual/es.array.reduce.js";
|
|
11
11
|
import "../../../_virtual/es.string.ends-with.js";
|
|
12
12
|
import "../../../_virtual/es.string.split.js";
|
|
13
|
-
import at from "../../../_virtual/
|
|
13
|
+
import at from "../../../_virtual/index3.js";
|
|
14
14
|
import "../../../_virtual/es.string.trim.js";
|
|
15
|
-
import nt from "../../../_virtual/
|
|
15
|
+
import nt from "../../../_virtual/index4.js";
|
|
16
16
|
import "../../../_virtual/es.array.index-of.js";
|
|
17
17
|
import "../../../_virtual/es.string.includes.js";
|
|
18
18
|
import "../../../_virtual/es.array.reverse.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as r } from "../../../../../_virtual/
|
|
1
|
+
import { __exports as r } from "../../../../../_virtual/index2.js";
|
|
2
2
|
import { __require as o } from "./SslIcon.js";
|
|
3
3
|
import { __require as i } from "./ANegativeBloodIcon.js";
|
|
4
4
|
import { __require as n } from "./APositiveBloodIcon.js";
|