@univerjs/sheets-numfmt 0.1.0-alpha.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/LICENSE +21 -0
- package/README.md +16 -0
- package/lib/cjs/index.js +2844 -0
- package/lib/cjs/locale/en-US.js +50 -0
- package/lib/cjs/locale/zh-CN.js +50 -0
- package/lib/esm/index.js +2832 -0
- package/lib/esm/locale/en-US.js +29 -0
- package/lib/esm/locale/zh-CN.js +29 -0
- package/lib/index.css +78 -0
- package/lib/types/base/const/CURRENCY-SYMBOLS.d.ts +2 -0
- package/lib/types/base/const/CURRENCY-SYMBOLS.d.ts.map +1 -0
- package/lib/types/base/const/FORMATDETAIL.d.ts +23 -0
- package/lib/types/base/const/FORMATDETAIL.d.ts.map +1 -0
- package/lib/types/base/const/PLUGIN_NAME.d.ts +2 -0
- package/lib/types/base/const/PLUGIN_NAME.d.ts.map +1 -0
- package/lib/types/base/types/index.d.ts +8 -0
- package/lib/types/base/types/index.d.ts.map +1 -0
- package/lib/types/commands/commands/add.decimal.command.d.ts +3 -0
- package/lib/types/commands/commands/add.decimal.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set.currency.command.d.ts +3 -0
- package/lib/types/commands/commands/set.currency.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set.numfmt.command.d.ts +12 -0
- package/lib/types/commands/commands/set.numfmt.command.d.ts.map +1 -0
- package/lib/types/commands/commands/subtract.decimal.command.d.ts +3 -0
- package/lib/types/commands/commands/subtract.decimal.command.d.ts.map +1 -0
- package/lib/types/commands/operators/close.numfmt.panel.operator.d.ts +3 -0
- package/lib/types/commands/operators/close.numfmt.panel.operator.d.ts.map +1 -0
- package/lib/types/commands/operators/open.numfmt.panel.operator.d.ts +3 -0
- package/lib/types/commands/operators/open.numfmt.panel.operator.d.ts.map +1 -0
- package/lib/types/components/accounting/index.d.ts +5 -0
- package/lib/types/components/accounting/index.d.ts.map +1 -0
- package/lib/types/components/currency/index.d.ts +6 -0
- package/lib/types/components/currency/index.d.ts.map +1 -0
- package/lib/types/components/date/index.d.ts +5 -0
- package/lib/types/components/date/index.d.ts.map +1 -0
- package/lib/types/components/general/index.d.ts +5 -0
- package/lib/types/components/general/index.d.ts.map +1 -0
- package/lib/types/components/index.d.ts +16 -0
- package/lib/types/components/index.d.ts.map +1 -0
- package/lib/types/components/more-numfmt-type/MoreNumfmtType.d.ts +6 -0
- package/lib/types/components/more-numfmt-type/MoreNumfmtType.d.ts.map +1 -0
- package/lib/types/components/thousandth-percentile/index.d.ts +5 -0
- package/lib/types/components/thousandth-percentile/index.d.ts.map +1 -0
- package/lib/types/context/user-habit.d.ts +3 -0
- package/lib/types/context/user-habit.d.ts.map +1 -0
- package/lib/types/controllers/numfmt.controller.d.ts +42 -0
- package/lib/types/controllers/numfmt.controller.d.ts.map +1 -0
- package/lib/types/controllers/numfmt.editor.controller.d.ts +22 -0
- package/lib/types/controllers/numfmt.editor.controller.d.ts.map +1 -0
- package/lib/types/controllers/numfmt.ref-range.controller.d.ts +16 -0
- package/lib/types/controllers/numfmt.ref-range.controller.d.ts.map +1 -0
- package/lib/types/controllers/numfmt.sheet.controller.d.ts +12 -0
- package/lib/types/controllers/numfmt.sheet.controller.d.ts.map +1 -0
- package/lib/types/controllers/type.d.ts +5 -0
- package/lib/types/controllers/type.d.ts.map +1 -0
- package/lib/types/controllers/user-habit.controller.d.ts +19 -0
- package/lib/types/controllers/user-habit.controller.d.ts.map +1 -0
- package/lib/types/hooks/useCurrencyOptions.d.ts +5 -0
- package/lib/types/hooks/useCurrencyOptions.d.ts.map +1 -0
- package/lib/types/hooks/useNextTick.d.ts +2 -0
- package/lib/types/hooks/useNextTick.d.ts.map +1 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/locale/en-US.d.ts +26 -0
- package/lib/types/locale/en-US.d.ts.map +1 -0
- package/lib/types/locale/index.d.ts +1 -0
- package/lib/types/locale/index.d.ts.map +1 -0
- package/lib/types/locale/zh-CN.d.ts +26 -0
- package/lib/types/locale/zh-CN.d.ts.map +1 -0
- package/lib/types/menu/menu.d.ts +32 -0
- package/lib/types/menu/menu.d.ts.map +1 -0
- package/lib/types/numfmt-plugin.d.ts +9 -0
- package/lib/types/numfmt-plugin.d.ts.map +1 -0
- package/lib/types/utils/currency.d.ts +2 -0
- package/lib/types/utils/currency.d.ts.map +1 -0
- package/lib/types/utils/decimal.d.ts +12 -0
- package/lib/types/utils/decimal.d.ts.map +1 -0
- package/lib/types/utils/options.d.ts +19 -0
- package/lib/types/utils/options.d.ts.map +1 -0
- package/lib/types/utils/pattern.d.ts +10 -0
- package/lib/types/utils/pattern.d.ts.map +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// src/locale/en-US.ts
|
|
2
|
+
var zhCn = {
|
|
3
|
+
sheet: {
|
|
4
|
+
numfmt: {
|
|
5
|
+
title: "\u6570\u636E\u683C\u5F0F",
|
|
6
|
+
numfmtType: "\u683C\u5F0F\u7C7B\u578B",
|
|
7
|
+
cancel: "\u53D6\u6D88",
|
|
8
|
+
confirm: "\u786E\u8BA4",
|
|
9
|
+
general: "\u5E38\u89C4",
|
|
10
|
+
accounting: "\u4F1A\u8BA1",
|
|
11
|
+
currency: "\u8D27\u5E01",
|
|
12
|
+
date: "\u65E5\u671F",
|
|
13
|
+
thousandthPercentile: "\u5343\u5206\u4F4D\u7B26",
|
|
14
|
+
preview: "\u793A\u4F8B",
|
|
15
|
+
decimalLength: "\u5C0F\u6570\u4F4D\u6570",
|
|
16
|
+
currencyType: "\u8D27\u5E01\u7C7B\u578B",
|
|
17
|
+
currencyDes: "\u8D27\u5E01\u683C\u5F0F\u7528\u4E8E\u8868\u793A\u4E00\u822C\u8D27\u5E01\u6570\u503C\u3002\u4F1A\u8BA1\u683C\u5F0F\u53EF\u4EE5\u5BF9\u4E00\u5217\u6570\u503C\u8FDB\u884C\u5C0F\u6570\u70B9\u5BF9\u9F50",
|
|
18
|
+
accountingDes: "\u4F1A\u8BA1\u6570\u5B57\u683C\u5F0F\u53EF\u5BF9\u4E00\u5217\u6570\u503C\u8FDB\u884C\u8D27\u5E01\u7B26\u53F7\u548C\u5C0F\u6570\u70B9\u5BF9\u9F50",
|
|
19
|
+
dateType: "\u65E5\u671F\u7C7B\u578B",
|
|
20
|
+
dateDes: "\u65E5\u671F\u683C\u5F0F\u5C06\u65E5\u671F\u548C\u65F6\u95F4\u7CFB\u5217\u6570\u503C\u54C1\u793A\u4E3A\u65E5\u671F\u503C\u3002",
|
|
21
|
+
negType: "\u8D1F\u6570\u7C7B\u578B",
|
|
22
|
+
generalDes: "\u5E38\u89C4\u683C\u5F0F\u4E0D\u5305\u542B\u4EFB\u4F55\u7279\u5B9A\u7684\u6570\u5B57\u683C\u5F0F\u3002",
|
|
23
|
+
thousandthPercentileDes: "\u5343\u5206\u4F4D\u7B26\u683C\u5F0F\u7528\u4E8E\u4E00\u822C\u6570\u5B57\u7684\u8868\u793A\u3002\u8D27\u5E01\u548C\u4F1A\u8BA1\u683C\u5F0F\u5219\u63D0\u4F9B\u8D27\u5E01\u503C\u8BA1\u7B97\u7684\u4E13\u7528\u683C\u5F0F\u3002"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
zhCn
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// src/locale/zh-CN.ts
|
|
2
|
+
var zhCn = {
|
|
3
|
+
sheet: {
|
|
4
|
+
numfmt: {
|
|
5
|
+
title: "\u6570\u636E\u683C\u5F0F",
|
|
6
|
+
numfmtType: "\u683C\u5F0F\u7C7B\u578B",
|
|
7
|
+
cancel: "\u53D6\u6D88",
|
|
8
|
+
confirm: "\u786E\u8BA4",
|
|
9
|
+
general: "\u5E38\u89C4",
|
|
10
|
+
accounting: "\u4F1A\u8BA1",
|
|
11
|
+
currency: "\u8D27\u5E01",
|
|
12
|
+
date: "\u65E5\u671F",
|
|
13
|
+
thousandthPercentile: "\u5343\u5206\u4F4D\u7B26",
|
|
14
|
+
preview: "\u793A\u4F8B",
|
|
15
|
+
decimalLength: "\u5C0F\u6570\u4F4D\u6570",
|
|
16
|
+
currencyType: "\u8D27\u5E01\u7C7B\u578B",
|
|
17
|
+
currencyDes: "\u8D27\u5E01\u683C\u5F0F\u7528\u4E8E\u8868\u793A\u4E00\u822C\u8D27\u5E01\u6570\u503C\u3002\u4F1A\u8BA1\u683C\u5F0F\u53EF\u4EE5\u5BF9\u4E00\u5217\u6570\u503C\u8FDB\u884C\u5C0F\u6570\u70B9\u5BF9\u9F50",
|
|
18
|
+
accountingDes: "\u4F1A\u8BA1\u6570\u5B57\u683C\u5F0F\u53EF\u5BF9\u4E00\u5217\u6570\u503C\u8FDB\u884C\u8D27\u5E01\u7B26\u53F7\u548C\u5C0F\u6570\u70B9\u5BF9\u9F50",
|
|
19
|
+
dateType: "\u65E5\u671F\u7C7B\u578B",
|
|
20
|
+
dateDes: "\u65E5\u671F\u683C\u5F0F\u5C06\u65E5\u671F\u548C\u65F6\u95F4\u7CFB\u5217\u6570\u503C\u54C1\u793A\u4E3A\u65E5\u671F\u503C\u3002",
|
|
21
|
+
negType: "\u8D1F\u6570\u7C7B\u578B",
|
|
22
|
+
generalDes: "\u5E38\u89C4\u683C\u5F0F\u4E0D\u5305\u542B\u4EFB\u4F55\u7279\u5B9A\u7684\u6570\u5B57\u683C\u5F0F\u3002",
|
|
23
|
+
thousandthPercentileDes: "\u5343\u5206\u4F4D\u7B26\u683C\u5F0F\u7528\u4E8E\u4E00\u822C\u6570\u5B57\u7684\u8868\u793A\u3002\u8D27\u5E01\u548C\u4F1A\u8BA1\u683C\u5F0F\u5219\u63D0\u4F9B\u8D27\u5E01\u503C\u8BA1\u7B97\u7684\u4E13\u7528\u683C\u5F0F\u3002"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
zhCn
|
|
29
|
+
};
|
package/lib/index.css
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* temp_stylePlugin:src/components/index.less */
|
|
2
|
+
.numfmt-panel {
|
|
3
|
+
overflow-y: auto;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
.numfmt-panel .group-title {
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
color: rgba(var(--color-black));
|
|
12
|
+
}
|
|
13
|
+
.numfmt-panel .label {
|
|
14
|
+
font-size: 15px;
|
|
15
|
+
color: rgba(var(--grey-400));
|
|
16
|
+
}
|
|
17
|
+
.numfmt-panel .describe {
|
|
18
|
+
font-size: 13px;
|
|
19
|
+
line-height: 20px;
|
|
20
|
+
color: rgba(var(--grey-600));
|
|
21
|
+
}
|
|
22
|
+
.numfmt-panel .preview {
|
|
23
|
+
height: 36px;
|
|
24
|
+
padding: 0 16px;
|
|
25
|
+
font-size: 14px;
|
|
26
|
+
line-height: 36px;
|
|
27
|
+
color: var(--color-black);
|
|
28
|
+
border: 1px solid rgb(var(--grey-200));
|
|
29
|
+
border-radius: 4px;
|
|
30
|
+
}
|
|
31
|
+
.numfmt-panel .btn-list {
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: end;
|
|
34
|
+
}
|
|
35
|
+
.numfmt-panel .m-r-12 {
|
|
36
|
+
margin-right: 12px;
|
|
37
|
+
}
|
|
38
|
+
.numfmt-panel .m-t-16 {
|
|
39
|
+
margin-top: 16px;
|
|
40
|
+
}
|
|
41
|
+
.numfmt-panel .m-t-14 {
|
|
42
|
+
margin-top: 14px;
|
|
43
|
+
}
|
|
44
|
+
.numfmt-panel .m-t-8 {
|
|
45
|
+
margin-top: 8px;
|
|
46
|
+
}
|
|
47
|
+
.numfmt-panel .m-b-20 {
|
|
48
|
+
margin-bottom: 20px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* temp_stylePlugin:src/components/currency/index.less */
|
|
52
|
+
.options {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
}
|
|
56
|
+
.options .w-140 {
|
|
57
|
+
width: 140px;
|
|
58
|
+
}
|
|
59
|
+
.options .w-120 {
|
|
60
|
+
width: 120px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* temp_stylePlugin:src/components/more-numfmt-type/index.less */
|
|
64
|
+
.more-numfmt-type {
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-shrink: 0;
|
|
67
|
+
padding: 0 4px;
|
|
68
|
+
font-size: 13px;
|
|
69
|
+
color: var(--black);
|
|
70
|
+
}
|
|
71
|
+
.more-numfmt-type .icon {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
height: auto;
|
|
75
|
+
padding-left: 8px;
|
|
76
|
+
font-size: 10px;
|
|
77
|
+
color: rgb(var(--grey-400));
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CURRENCY-SYMBOLS.d.ts","sourceRoot":"","sources":["../../../../src/base/const/CURRENCY-SYMBOLS.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,UA4B3B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const DATEFMTLISG: {
|
|
2
|
+
label: string;
|
|
3
|
+
suffix: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const NUMBERFORMAT: ({
|
|
6
|
+
label: string;
|
|
7
|
+
suffix: string;
|
|
8
|
+
color?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
label: string;
|
|
11
|
+
suffix: string;
|
|
12
|
+
color: string;
|
|
13
|
+
})[];
|
|
14
|
+
export declare const CURRENCYFORMAT: ({
|
|
15
|
+
label: (suffix: string) => string;
|
|
16
|
+
suffix: (suffix: string) => string;
|
|
17
|
+
color?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
label: (suffix: string) => string;
|
|
20
|
+
suffix: (suffix: string) => string;
|
|
21
|
+
color: string;
|
|
22
|
+
})[];
|
|
23
|
+
//# sourceMappingURL=FORMATDETAIL.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FORMATDETAIL.d.ts","sourceRoot":"","sources":["../../../../src/base/const/FORMATDETAIL.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;GA6CvB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;IA4BxB,CAAC;AACF,eAAO,MAAM,cAAc;oBAEH,MAAM;qBACL,MAAM;;;oBAGP,MAAM;qBACL,MAAM;;IAqB9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PLUGIN_NAME.d.ts","sourceRoot":"","sources":["../../../../src/base/const/PLUGIN_NAME.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MutableRefObject } from 'react';
|
|
2
|
+
export interface IBusinessComponentProps {
|
|
3
|
+
onChange: (result: string) => void;
|
|
4
|
+
defaultValue: number;
|
|
5
|
+
defaultPattern: string;
|
|
6
|
+
action: MutableRefObject<() => string | null>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE9C,MAAM,WAAW,uBAAuB;IACpC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,gBAAgB,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.decimal.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/add.decimal.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAS/C,eAAO,MAAM,iBAAiB,EAAE,QA4D/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.currency.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set.currency.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAS/C,eAAO,MAAM,kBAAkB,EAAE,QAuBhC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { FormatType } from '@univerjs/sheets';
|
|
3
|
+
export interface ISetNumfmtCommandParams {
|
|
4
|
+
values: Array<{
|
|
5
|
+
pattern?: string;
|
|
6
|
+
row: number;
|
|
7
|
+
col: number;
|
|
8
|
+
type?: FormatType;
|
|
9
|
+
}>;
|
|
10
|
+
}
|
|
11
|
+
export declare const SetNumfmtCommand: ICommand<ISetNumfmtCommandParams>;
|
|
12
|
+
//# sourceMappingURL=set.numfmt.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.numfmt.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set.numfmt.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInD,MAAM,WAAW,uBAAuB;IACpC,MAAM,EAAE,KAAK,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CACpF;AAED,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,uBAAuB,CA2B9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subtract.decimal.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/subtract.decimal.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAS/C,eAAO,MAAM,sBAAsB,EAAE,QAyDpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close.numfmt.panel.operator.d.ts","sourceRoot":"","sources":["../../../../src/commands/operators/close.numfmt.panel.operator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG/C,eAAO,MAAM,wBAAwB,EAAE,QAMtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open.numfmt.panel.operator.d.ts","sourceRoot":"","sources":["../../../../src/commands/operators/open.numfmt.panel.operator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAM/C,eAAO,MAAM,uBAAuB,EAAE,QAQrC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { IBusinessComponentProps } from '../../base/types';
|
|
3
|
+
export declare const isAccountingPanel: (pattern: string) => boolean;
|
|
4
|
+
export declare const AccountingPanel: FC<IBusinessComponentProps>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/accounting/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAKhE,eAAO,MAAM,iBAAiB,YAAa,MAAM,YAGhD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,uBAAuB,CA4CvD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import type { IBusinessComponentProps } from '../../base/types';
|
|
4
|
+
export declare const isCurrencyPanel: (pattern: string) => boolean;
|
|
5
|
+
export declare const CurrencyPanel: FC<IBusinessComponentProps>;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/currency/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAMhE,eAAO,MAAM,eAAe,YAAa,MAAM,YAG9C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,uBAAuB,CA6DrD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/date/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAGhE,eAAO,MAAM,WAAW,YAAa,MAAM,YAO1C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,uBAAuB,CA8BjD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { IBusinessComponentProps } from '../../base/types';
|
|
3
|
+
export declare const isGeneralPanel: (pattern: string) => boolean;
|
|
4
|
+
export declare const GeneralPanel: FC<IBusinessComponentProps>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/general/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAEhE,eAAO,MAAM,cAAc,YAAa,MAAM,YAAa,CAAC;AAE5D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,uBAAuB,CAWpD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
export interface ISheetNumfmtPanelProps {
|
|
4
|
+
value: {
|
|
5
|
+
defaultValue: number;
|
|
6
|
+
defaultPattern: string;
|
|
7
|
+
row: number;
|
|
8
|
+
col: number;
|
|
9
|
+
};
|
|
10
|
+
onChange: (config: {
|
|
11
|
+
type: 'change' | 'cancel' | 'confirm';
|
|
12
|
+
value: string;
|
|
13
|
+
}) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const SheetNumfmtPanel: FC<ISheetNumfmtPanelProps>;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAchC,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAClF,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CACxF;AACD,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,sBAAsB,CAiGvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreNumfmtType.d.ts","sourceRoot":"","sources":["../../../../src/components/more-numfmt-type/MoreNumfmtType.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,cAAc,UAAW;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,sBAUvD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { IBusinessComponentProps } from '../../base/types';
|
|
3
|
+
export declare const isThousandthPercentilePanel: (pattern: string) => boolean;
|
|
4
|
+
export declare const ThousandthPercentilePanel: FC<IBusinessComponentProps>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/thousandth-percentile/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAShE,eAAO,MAAM,2BAA2B,YAAa,MAAM,YACmC,CAAC;AAE/F,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,uBAAuB,CAyCjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-habit.d.ts","sourceRoot":"","sources":["../../../src/context/user-habit.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,wBAAwB,mCAA8B,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IUniverInstanceService, LocaleService, ThemeService } from '@univerjs/core';
|
|
2
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
+
import { INumfmtService, SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
4
|
+
import { IAutoFillService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
5
|
+
import { ComponentManager, IMenuService, ISidebarService } from '@univerjs/ui';
|
|
6
|
+
import { Injector } from '@wendellhu/redi';
|
|
7
|
+
import type { INumfmtController } from './type';
|
|
8
|
+
export declare class NumfmtController extends Disposable implements INumfmtController {
|
|
9
|
+
private _sheetInterceptorService;
|
|
10
|
+
private _themeService;
|
|
11
|
+
private _injector;
|
|
12
|
+
private _univerInstanceService;
|
|
13
|
+
private _sheetSkeletonManagerService;
|
|
14
|
+
private _commandService;
|
|
15
|
+
private _selectionManagerService;
|
|
16
|
+
private _renderManagerService;
|
|
17
|
+
private _numfmtService;
|
|
18
|
+
private _componentManager;
|
|
19
|
+
private _menuService;
|
|
20
|
+
private _sidebarService;
|
|
21
|
+
private _localeService;
|
|
22
|
+
private _autoFillService;
|
|
23
|
+
/**
|
|
24
|
+
* If _previewPattern is null ,the realTimeRenderingInterceptor will skip and if it is '',realTimeRenderingInterceptor will clear numfmt.
|
|
25
|
+
* @private
|
|
26
|
+
* @type {(string | null)}
|
|
27
|
+
* @memberof NumfmtController
|
|
28
|
+
*/
|
|
29
|
+
private _previewPattern;
|
|
30
|
+
constructor(_sheetInterceptorService: SheetInterceptorService, _themeService: ThemeService, _injector: Injector, _univerInstanceService: IUniverInstanceService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService, _selectionManagerService: SelectionManagerService, _renderManagerService: IRenderManagerService, _numfmtService: INumfmtService, _componentManager: ComponentManager, _menuService: IMenuService, _sidebarService: ISidebarService, _localeService: LocaleService, _autoFillService: IAutoFillService);
|
|
31
|
+
openPanel: () => false | undefined;
|
|
32
|
+
private _initAutoFill;
|
|
33
|
+
private _initCommands;
|
|
34
|
+
private _initPanel;
|
|
35
|
+
private _initLocal;
|
|
36
|
+
private _initMenu;
|
|
37
|
+
private _initInterceptorCommands;
|
|
38
|
+
private _initInterceptorCellContent;
|
|
39
|
+
private _initRealTimeRenderingInterceptor;
|
|
40
|
+
private _commandExecutedListener;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=numfmt.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numfmt.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/numfmt.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,UAAU,EAEV,eAAe,EACf,sBAAsB,EAEtB,aAAa,EAMb,YAAY,EAEf,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAKH,cAAc,EACd,uBAAuB,EAEvB,uBAAuB,EAC1B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAA8B,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAChH,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAiBnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhD,qBACa,gBAAiB,SAAQ,UAAW,YAAW,iBAAiB;IASpC,OAAO,CAAC,wBAAwB;IAC3C,OAAO,CAAC,aAAa;IACzB,OAAO,CAAC,SAAS;IACH,OAAO,CAAC,sBAAsB;IACzB,OAAO,CAAC,4BAA4B;IAChD,OAAO,CAAC,eAAe;IACf,OAAO,CAAC,wBAAwB;IAClC,OAAO,CAAC,qBAAqB;IACpC,OAAO,CAAC,cAAc;IACpB,OAAO,CAAC,iBAAiB;IAC7B,OAAO,CAAC,YAAY;IACjB,OAAO,CAAC,eAAe;IACzB,OAAO,CAAC,cAAc;IACnB,OAAO,CAAC,gBAAgB;IArBtD;;;;;OAKG;IACH,OAAO,CAAC,eAAe,CAAqB;gBAEC,wBAAwB,EAAE,uBAAuB,EAC5D,aAAa,EAAE,YAAY,EAC/B,SAAS,EAAE,QAAQ,EACL,sBAAsB,EAAE,sBAAsB,EACzC,4BAA4B,EAAE,2BAA2B,EACrE,eAAe,EAAE,eAAe,EACxB,wBAAwB,EAAE,uBAAuB,EACnD,qBAAqB,EAAE,qBAAqB,EACnD,cAAc,EAAE,cAAc,EAC5B,iBAAiB,EAAE,gBAAgB,EACvC,YAAY,EAAE,YAAY,EACvB,eAAe,EAAE,eAAe,EAClC,cAAc,EAAE,aAAa,EAC1B,gBAAgB,EAAE,gBAAgB;IAcxE,SAAS,0BAuEP;IAEF,OAAO,CAAC,aAAa;IAmHrB,OAAO,CAAC,aAAa;IAarB,OAAO,CAAC,UAAU;IAGlB,OAAO,CAAC,UAAU,CAEhB;IAEF,OAAO,CAAC,SAAS;IAQjB,OAAO,CAAC,wBAAwB;IA8ChC,OAAO,CAAC,2BAA2B;IA+EnC,OAAO,CAAC,iCAAiC;IAoGzC,OAAO,CAAC,wBAAwB;CAyBnC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { INumfmtService, SheetInterceptorService } from '@univerjs/sheets';
|
|
3
|
+
import { IEditorBridgeService } from '@univerjs/sheets-ui';
|
|
4
|
+
import { Injector } from '@wendellhu/redi';
|
|
5
|
+
export declare class NumfmtEditorController extends Disposable {
|
|
6
|
+
private _sheetInterceptorService;
|
|
7
|
+
private _numfmtService;
|
|
8
|
+
private _univerInstanceService;
|
|
9
|
+
private _injector;
|
|
10
|
+
private _editorBridgeService;
|
|
11
|
+
private _collectEffectMutation;
|
|
12
|
+
constructor(_sheetInterceptorService: SheetInterceptorService, _numfmtService: INumfmtService, _univerInstanceService: IUniverInstanceService, _injector: Injector, _editorBridgeService: IEditorBridgeService);
|
|
13
|
+
private _initInterceptorEditorStart;
|
|
14
|
+
/**
|
|
15
|
+
* Process the values after edit
|
|
16
|
+
* @private
|
|
17
|
+
* @memberof NumfmtService
|
|
18
|
+
*/
|
|
19
|
+
private _initInterceptorEditorEnd;
|
|
20
|
+
private _initInterceptorCommands;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=numfmt.editor.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numfmt.editor.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/numfmt.editor.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,UAAU,EACV,sBAAsB,EAIzB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAEH,cAAc,EAGd,uBAAuB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AA8BnD,qBACa,sBAAuB,SAAQ,UAAU;IAKb,OAAO,CAAC,wBAAwB;IACzC,OAAO,CAAC,cAAc;IACd,OAAO,CAAC,sBAAsB;IAC5C,OAAO,CAAC,SAAS;IACL,OAAO,CAAC,oBAAoB;IAP9D,OAAO,CAAC,sBAAsB,CAAiC;gBAGlB,wBAAwB,EAAE,uBAAuB,EAC1D,cAAc,EAAE,cAAc,EACtB,sBAAsB,EAAE,sBAAsB,EAC5D,SAAS,EAAE,QAAQ,EACP,oBAAoB,EAAE,oBAAoB;IAQpF,OAAO,CAAC,2BAA2B;IA2CnC;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA+DjC,OAAO,CAAC,wBAAwB;CA4CnC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { INumfmtService, RefRangeService } from '@univerjs/sheets';
|
|
3
|
+
import { SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
4
|
+
import { Injector } from '@wendellhu/redi';
|
|
5
|
+
export declare class NumfmtRefRangeController extends Disposable {
|
|
6
|
+
private _numfmtService;
|
|
7
|
+
private _univerInstanceService;
|
|
8
|
+
private _injector;
|
|
9
|
+
private _refRangeService;
|
|
10
|
+
private _sheetSkeletonManagerService;
|
|
11
|
+
private _commandService;
|
|
12
|
+
constructor(_numfmtService: INumfmtService, _univerInstanceService: IUniverInstanceService, _injector: Injector, _refRangeService: RefRangeService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService);
|
|
13
|
+
private _mergeRefMutations;
|
|
14
|
+
private _registerRefRange;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=numfmt.ref-range.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numfmt.ref-range.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/numfmt.ref-range.controller.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EAEV,eAAe,EACf,sBAAsB,EAIzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAYH,cAAc,EACd,eAAe,EAGlB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAInD,qBACa,wBAAyB,SAAQ,UAAU;IAExB,OAAO,CAAC,cAAc;IACd,OAAO,CAAC,sBAAsB;IAC5C,OAAO,CAAC,SAAS;IACV,OAAO,CAAC,gBAAgB;IACZ,OAAO,CAAC,4BAA4B;IAChD,OAAO,CAAC,eAAe;gBALhB,cAAc,EAAE,cAAc,EACtB,sBAAsB,EAAE,sBAAsB,EAC5D,SAAS,EAAE,QAAQ,EACZ,gBAAgB,EAAE,eAAe,EACrB,4BAA4B,EAAE,2BAA2B,EACrE,eAAe,EAAE,eAAe;IAOrE,OAAO,CAAC,kBAAkB;IAgC1B,OAAO,CAAC,iBAAiB;CAkO5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { INumfmtService, SheetInterceptorService } from '@univerjs/sheets';
|
|
3
|
+
import { Injector } from '@wendellhu/redi';
|
|
4
|
+
export declare class NumfmtSheetController extends Disposable {
|
|
5
|
+
private _numfmtService;
|
|
6
|
+
private _sheetInterceptorService;
|
|
7
|
+
private _univerInstanceService;
|
|
8
|
+
private _injector;
|
|
9
|
+
constructor(_numfmtService: INumfmtService, _sheetInterceptorService: SheetInterceptorService, _univerInstanceService: IUniverInstanceService, _injector: Injector);
|
|
10
|
+
private _initSheetChange;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=numfmt.sheet.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numfmt.sheet.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/numfmt.sheet.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAgC,MAAM,gBAAgB,CAAC;AAElG,OAAO,EAEH,cAAc,EAGd,uBAAuB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEnD,qBACa,qBAAsB,SAAQ,UAAU;IAErB,OAAO,CAAC,cAAc;IACb,OAAO,CAAC,wBAAwB;IACjC,OAAO,CAAC,sBAAsB;IAC5C,OAAO,CAAC,SAAS;gBAHH,cAAc,EAAE,cAAc,EACrB,wBAAwB,EAAE,uBAAuB,EAClD,sBAAsB,EAAE,sBAAsB,EAC5D,SAAS,EAAE,QAAQ;IAMjD,OAAO,CAAC,gBAAgB;CAgC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/controllers/type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAC9B,SAAS,IAAI,IAAI,CAAC;CACrB;AACD,eAAO,MAAM,iBAAiB,kEAA2D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ILocalStorageService } from '@univerjs/core';
|
|
2
|
+
type HabitValue = string | number;
|
|
3
|
+
interface IUserHabitController {
|
|
4
|
+
addHabit(habit: string, initValue: HabitValue[]): Promise<void>;
|
|
5
|
+
markHabit(habit: string, value: HabitValue): void;
|
|
6
|
+
deleteHabit(habit: string): void;
|
|
7
|
+
getHabit(habit: string, sortList?: HabitValue[]): Promise<HabitValue[]>;
|
|
8
|
+
}
|
|
9
|
+
export declare class UserHabitController implements IUserHabitController {
|
|
10
|
+
private _localStorageService;
|
|
11
|
+
constructor(_localStorageService: ILocalStorageService);
|
|
12
|
+
private _getKey;
|
|
13
|
+
addHabit<T = unknown[]>(habit: string, initValue: T): Promise<void>;
|
|
14
|
+
markHabit(habit: string, value: HabitValue): void;
|
|
15
|
+
getHabit(habit: string, sortList: HabitValue[]): Promise<HabitValue[]>;
|
|
16
|
+
deleteHabit(habit: string): void;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=user-habit.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-habit.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/user-habit.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,KAAK,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAClC,UAAU,oBAAoB;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IAClD,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;CAC3E;AAED,qBAAa,mBAAoB,YAAW,oBAAoB;IAClB,OAAO,CAAC,oBAAoB;gBAApB,oBAAoB,EAAE,oBAAoB;IAC5F,OAAO,CAAC,OAAO;IAIT,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IASzD,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU;IAYpC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE;IAoBpD,WAAW,CAAC,KAAK,EAAE,MAAM;CAG5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCurrencyOptions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCurrencyOptions.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,+BAA+B,MAAM,EAAE,KAAK,IAAI;;cAa1D,MAAM;CAI1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNextTick.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNextTick.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,aAWE,MAAM,IAAI,SAKnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const zhCn: {
|
|
2
|
+
sheet: {
|
|
3
|
+
numfmt: {
|
|
4
|
+
title: string;
|
|
5
|
+
numfmtType: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
confirm: string;
|
|
8
|
+
general: string;
|
|
9
|
+
accounting: string;
|
|
10
|
+
currency: string;
|
|
11
|
+
date: string;
|
|
12
|
+
thousandthPercentile: string;
|
|
13
|
+
preview: string;
|
|
14
|
+
decimalLength: string;
|
|
15
|
+
currencyType: string;
|
|
16
|
+
currencyDes: string;
|
|
17
|
+
accountingDes: string;
|
|
18
|
+
dateType: string;
|
|
19
|
+
dateDes: string;
|
|
20
|
+
negType: string;
|
|
21
|
+
generalDes: string;
|
|
22
|
+
thousandthPercentileDes: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=en-US.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../../src/locale/en-US.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAwBhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locale/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const zhCn: {
|
|
2
|
+
sheet: {
|
|
3
|
+
numfmt: {
|
|
4
|
+
title: string;
|
|
5
|
+
numfmtType: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
confirm: string;
|
|
8
|
+
general: string;
|
|
9
|
+
accounting: string;
|
|
10
|
+
currency: string;
|
|
11
|
+
date: string;
|
|
12
|
+
thousandthPercentile: string;
|
|
13
|
+
preview: string;
|
|
14
|
+
decimalLength: string;
|
|
15
|
+
currencyType: string;
|
|
16
|
+
currencyDes: string;
|
|
17
|
+
accountingDes: string;
|
|
18
|
+
dateType: string;
|
|
19
|
+
dateDes: string;
|
|
20
|
+
negType: string;
|
|
21
|
+
generalDes: string;
|
|
22
|
+
thousandthPercentileDes: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=zh-CN.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../src/locale/zh-CN.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAwBhB,CAAC"}
|