@kengic/vue 0.25.3-beta.0 → 0.25.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/dist/kengic-vue.js +15165 -9518
  2. package/dist/src/components/KgForm/KgForm.d.ts +3 -3
  3. package/dist/src/components/KgForm/index.d.ts +4 -4
  4. package/dist/src/config/index.d.ts +1 -1
  5. package/dist/src/config/index.hooks.d.ts +2 -1
  6. package/dist/src/config/index.store.d.ts +43 -39
  7. package/dist/src/config/setup.d.ts +13 -20
  8. package/dist/src/consts/i18n/es_ES.d.ts +265 -0
  9. package/dist/src/consts/i18n/fr_FR.d.ts +265 -0
  10. package/dist/src/consts/i18n/index.d.ts +2 -2
  11. package/dist/src/consts/i18n/km_KH.d.ts +265 -0
  12. package/dist/src/consts/i18n/ko_KR.d.ts +265 -0
  13. package/dist/src/consts/i18n/vi_VN.d.ts +265 -0
  14. package/dist/src/consts/index.vm.d.ts +0 -2
  15. package/dist/src/helpers/ant-design-vue.d.ts +1 -1
  16. package/dist/src/project/build/getConfigFileName.d.ts +5 -0
  17. package/dist/src/project/build/index.d.ts +1 -0
  18. package/dist/src/project/index.d.ts +1 -0
  19. package/dist/src/project/src/index.d.ts +9 -0
  20. package/dist/src/project/src/locales/helper.d.ts +5 -0
  21. package/dist/src/project/src/locales/index.d.ts +3 -0
  22. package/dist/src/project/src/locales/setupI18n.d.ts +3 -0
  23. package/dist/src/project/src/locales/useLocale.d.ts +10 -0
  24. package/dist/src/project/src/store/index.d.ts +1 -0
  25. package/dist/src/project/src/store/modules/index.d.ts +1 -0
  26. package/dist/src/project/src/store/modules/locale.d.ts +54 -0
  27. package/dist/src/project/src/utils/cache/index.d.ts +7 -0
  28. package/dist/src/project/src/utils/cache/memory.d.ts +20 -0
  29. package/dist/src/project/src/utils/cache/persistent.d.ts +33 -0
  30. package/dist/src/project/src/utils/cache/storageCache.d.ts +8 -0
  31. package/dist/src/project/src/utils/cipher.d.ts +19 -0
  32. package/dist/src/project/src/utils/env.d.ts +34 -0
  33. package/dist/src/project/types/config.d.ts +13 -1
  34. package/dist/src/utils/kg-logger.util.d.ts +1 -1
  35. package/package.json +6 -1
@@ -0,0 +1,265 @@
1
+ declare const _default: {
2
+ kg: {
3
+ KgAppSelect: {
4
+ businessManager: string;
5
+ dataManager: string;
6
+ sys: string;
7
+ tooltip: string;
8
+ };
9
+ KgButton: {
10
+ noApiUrl: string;
11
+ noVarSubmitConfig: string;
12
+ };
13
+ KgFormItem: {
14
+ formValidationMessageForGT: string;
15
+ formValidationMessageForGTE: string;
16
+ formValidationMessageForInvalidFloat: string;
17
+ formValidationMessageForInvalidInteger: string;
18
+ formValidationMessageForInvalidJSON: string;
19
+ formValidationMessageForInvalidLetter: string;
20
+ formValidationMessageForInvalidLowerLetter: string;
21
+ formValidationMessageForInvalidUpperLetter: string;
22
+ formValidationMessageForLT: string;
23
+ formValidationMessageForLTE: string;
24
+ formValidationMessageForMaxLength: string;
25
+ formValidationMessageForMinLength: string;
26
+ formValidationMessageForRegularExpression: string;
27
+ };
28
+ KgPageDdaCreate: {
29
+ 'confirm-cancel': string;
30
+ done: string;
31
+ 'next-step': string;
32
+ 'previous-step': string;
33
+ };
34
+ KgPageDdaCreateBasic: {
35
+ 'form-id': string;
36
+ 'form-name': string;
37
+ maintenance: string;
38
+ sql: string;
39
+ type: string;
40
+ };
41
+ KgPageDdaCreateButton: {
42
+ 'button-var-name-reserved': string;
43
+ 'button-var-name-used': string;
44
+ };
45
+ KgPageDdaCreateMenu: {
46
+ 'parent-menu': string;
47
+ };
48
+ KgPageDdaCreateSearch: {
49
+ available: string;
50
+ 'column-desc': string;
51
+ 'column-name': string;
52
+ 'column-type': string;
53
+ selected: string;
54
+ };
55
+ KgPageDdaCreateSubmit: {
56
+ available: string;
57
+ 'column-desc': string;
58
+ 'column-name': string;
59
+ 'column-type': string;
60
+ selected: string;
61
+ };
62
+ KgPageDdaCreateTable: {
63
+ available: string;
64
+ 'column-desc': string;
65
+ 'column-name': string;
66
+ 'column-type': string;
67
+ selected: string;
68
+ };
69
+ KgSearch: {
70
+ title: string;
71
+ };
72
+ KgSearchConfigModal: {
73
+ BETWEEN: string;
74
+ 'BETWEEN-desc': string;
75
+ CONTAIN: string;
76
+ 'CONTAIN-desc': string;
77
+ END_WITH: string;
78
+ 'END_WITH-desc': string;
79
+ EQ: string;
80
+ 'EQ-desc': string;
81
+ GT: string;
82
+ 'GT-desc': string;
83
+ GTE: string;
84
+ 'GTE-desc': string;
85
+ IN: string;
86
+ 'IN-desc': string;
87
+ LT: string;
88
+ 'LT-desc': string;
89
+ LTE: string;
90
+ 'LTE-desc': string;
91
+ NE: string;
92
+ 'NE-desc': string;
93
+ START_WITH: string;
94
+ 'START_WITH-desc': string;
95
+ close: string;
96
+ formTitle: string;
97
+ pleaseSelectVarProfileMaster: string;
98
+ };
99
+ KgTable: {
100
+ apiNotSupportDynamicQuery: string;
101
+ column: string;
102
+ config: string;
103
+ emptyText: string;
104
+ isShowDescription: string;
105
+ other: string;
106
+ 'request-fail-error': string;
107
+ 'request-fail-no-data': string;
108
+ rowHeight: string;
109
+ rowHeightH: string;
110
+ rowHeightL: string;
111
+ rowHeightM: string;
112
+ 'save-var-grid-master-as-success-message': string;
113
+ saveVarGridMaster: string;
114
+ saveVarGridMasterAs: string;
115
+ saveVarGridMasterSuccessMessage: string;
116
+ totalText: string;
117
+ varGridMasters: string;
118
+ };
119
+ KgTableHeaderCell: {
120
+ align: string;
121
+ alignCenter: string;
122
+ alignLeft: string;
123
+ alignRight: string;
124
+ hide: string;
125
+ isEllipsis: string;
126
+ isFilter: string;
127
+ isFixToLeft: string;
128
+ isFixToRight: string;
129
+ isSort: string;
130
+ };
131
+ KgTableInfo: {
132
+ check: string;
133
+ clearCheck: string;
134
+ clearTable: string;
135
+ locate: string;
136
+ row: string;
137
+ };
138
+ KgTableSettingConfigModal: {};
139
+ KgTableSettingVarGridConfig: {};
140
+ KgTableSettingVarGridMasterSaveAs: {
141
+ title: string;
142
+ };
143
+ KgVar: {};
144
+ KgVarConfig: {
145
+ VarGridConfig: string;
146
+ VarGridMaster: string;
147
+ VarProfileConfig: string;
148
+ VarProfileMaster: string;
149
+ action: string;
150
+ allForm: string;
151
+ allLanguage: string;
152
+ canNotUpdateSystemVarGridMaster: string;
153
+ canNotUpdateSystemVarProfileMaster: string;
154
+ confirm: string;
155
+ createConfig: string;
156
+ currentForm: string;
157
+ currentLanguage: string;
158
+ customLevel: string;
159
+ emptyPageSizeOptions: string;
160
+ formId: string;
161
+ formValidationMessageForMaxAndMin: string;
162
+ formValidationMessageForMaxLengthAndMinLength: string;
163
+ invalidCommandParameter: string;
164
+ invalidPageSizeOption: string;
165
+ invalidPageSizeOptions: string;
166
+ pleaseSelectVariable: string;
167
+ tabButton: string;
168
+ tabChild: string;
169
+ tabSearch: string;
170
+ tabSubmit: string;
171
+ tabTable: string;
172
+ varVariable: string;
173
+ variable: string;
174
+ };
175
+ KgVarConfigModalButton: {
176
+ VarButton: string;
177
+ VarButtonConfig: string;
178
+ };
179
+ KgVarConfigModalChild: {
180
+ childVarName: string;
181
+ childVarNameDuplicate: string;
182
+ childVarNameRequired: string;
183
+ parentVarName: string;
184
+ parentVarNameDuplicate: string;
185
+ parentVarNameRequired: string;
186
+ };
187
+ KgVarConfigModalSubmit: {
188
+ VarSubmitConfig: string;
189
+ VarSubmitDetail: string;
190
+ };
191
+ KgVarConfigModalSubmitVarSubmitConfig: {
192
+ invalidWidthForSpan: string;
193
+ };
194
+ KgVarConfigModalTableVarGridMaster: {
195
+ DESC: string;
196
+ FILE_SIZE: string;
197
+ ICON: string;
198
+ IMAGE: string;
199
+ PROGRESS: string;
200
+ ROUTE_LINK: string;
201
+ UPDATE_LINK: string;
202
+ YN: string;
203
+ center: string;
204
+ left: string;
205
+ notSort: string;
206
+ right: string;
207
+ };
208
+ KgVarConfigSelectFormIdModal: {
209
+ title: string;
210
+ };
211
+ KgWarehouse: {
212
+ reloadMessage: string;
213
+ selectWarehouse: string;
214
+ title: string;
215
+ warehouse: string;
216
+ };
217
+ action: string;
218
+ add: string;
219
+ asc: string;
220
+ button: string;
221
+ cancel: string;
222
+ close: string;
223
+ confirm: string;
224
+ confirmDelete: string;
225
+ copy: string;
226
+ copySuccess: string;
227
+ create: string;
228
+ createSuccess: string;
229
+ default: string;
230
+ delete: string;
231
+ deleteSuccess: string;
232
+ desc: string;
233
+ edit: string;
234
+ empty: string;
235
+ emptyText: string;
236
+ executeSuccess: string;
237
+ export: string;
238
+ exportSuccess: string;
239
+ formId: string;
240
+ formName: string;
241
+ formValidationFail: string;
242
+ import: string;
243
+ 'import-template': string;
244
+ importSuccess: string;
245
+ importTemplate: string;
246
+ loading: string;
247
+ lookup: string;
248
+ no: string;
249
+ ok: string;
250
+ query: string;
251
+ refresh: string;
252
+ required: string;
253
+ reset: string;
254
+ save: string;
255
+ search: string;
256
+ selectAll: string;
257
+ show: string;
258
+ succeed: string;
259
+ tip: string;
260
+ update: string;
261
+ updateSuccess: string;
262
+ yes: string;
263
+ };
264
+ };
265
+ export default _default;
@@ -0,0 +1,265 @@
1
+ declare const _default: {
2
+ kg: {
3
+ KgAppSelect: {
4
+ businessManager: string;
5
+ dataManager: string;
6
+ sys: string;
7
+ tooltip: string;
8
+ };
9
+ KgButton: {
10
+ noApiUrl: string;
11
+ noVarSubmitConfig: string;
12
+ };
13
+ KgFormItem: {
14
+ formValidationMessageForGT: string;
15
+ formValidationMessageForGTE: string;
16
+ formValidationMessageForInvalidFloat: string;
17
+ formValidationMessageForInvalidInteger: string;
18
+ formValidationMessageForInvalidJSON: string;
19
+ formValidationMessageForInvalidLetter: string;
20
+ formValidationMessageForInvalidLowerLetter: string;
21
+ formValidationMessageForInvalidUpperLetter: string;
22
+ formValidationMessageForLT: string;
23
+ formValidationMessageForLTE: string;
24
+ formValidationMessageForMaxLength: string;
25
+ formValidationMessageForMinLength: string;
26
+ formValidationMessageForRegularExpression: string;
27
+ };
28
+ KgPageDdaCreate: {
29
+ 'confirm-cancel': string;
30
+ done: string;
31
+ 'next-step': string;
32
+ 'previous-step': string;
33
+ };
34
+ KgPageDdaCreateBasic: {
35
+ 'form-id': string;
36
+ 'form-name': string;
37
+ maintenance: string;
38
+ sql: string;
39
+ type: string;
40
+ };
41
+ KgPageDdaCreateButton: {
42
+ 'button-var-name-reserved': string;
43
+ 'button-var-name-used': string;
44
+ };
45
+ KgPageDdaCreateMenu: {
46
+ 'parent-menu': string;
47
+ };
48
+ KgPageDdaCreateSearch: {
49
+ available: string;
50
+ 'column-desc': string;
51
+ 'column-name': string;
52
+ 'column-type': string;
53
+ selected: string;
54
+ };
55
+ KgPageDdaCreateSubmit: {
56
+ available: string;
57
+ 'column-desc': string;
58
+ 'column-name': string;
59
+ 'column-type': string;
60
+ selected: string;
61
+ };
62
+ KgPageDdaCreateTable: {
63
+ available: string;
64
+ 'column-desc': string;
65
+ 'column-name': string;
66
+ 'column-type': string;
67
+ selected: string;
68
+ };
69
+ KgSearch: {
70
+ title: string;
71
+ };
72
+ KgSearchConfigModal: {
73
+ BETWEEN: string;
74
+ 'BETWEEN-desc': string;
75
+ CONTAIN: string;
76
+ 'CONTAIN-desc': string;
77
+ END_WITH: string;
78
+ 'END_WITH-desc': string;
79
+ EQ: string;
80
+ 'EQ-desc': string;
81
+ GT: string;
82
+ 'GT-desc': string;
83
+ GTE: string;
84
+ 'GTE-desc': string;
85
+ IN: string;
86
+ 'IN-desc': string;
87
+ LT: string;
88
+ 'LT-desc': string;
89
+ LTE: string;
90
+ 'LTE-desc': string;
91
+ NE: string;
92
+ 'NE-desc': string;
93
+ START_WITH: string;
94
+ 'START_WITH-desc': string;
95
+ close: string;
96
+ formTitle: string;
97
+ pleaseSelectVarProfileMaster: string;
98
+ };
99
+ KgTable: {
100
+ apiNotSupportDynamicQuery: string;
101
+ column: string;
102
+ config: string;
103
+ emptyText: string;
104
+ isShowDescription: string;
105
+ other: string;
106
+ 'request-fail-error': string;
107
+ 'request-fail-no-data': string;
108
+ rowHeight: string;
109
+ rowHeightH: string;
110
+ rowHeightL: string;
111
+ rowHeightM: string;
112
+ 'save-var-grid-master-as-success-message': string;
113
+ saveVarGridMaster: string;
114
+ saveVarGridMasterAs: string;
115
+ saveVarGridMasterSuccessMessage: string;
116
+ totalText: string;
117
+ varGridMasters: string;
118
+ };
119
+ KgTableHeaderCell: {
120
+ align: string;
121
+ alignCenter: string;
122
+ alignLeft: string;
123
+ alignRight: string;
124
+ hide: string;
125
+ isEllipsis: string;
126
+ isFilter: string;
127
+ isFixToLeft: string;
128
+ isFixToRight: string;
129
+ isSort: string;
130
+ };
131
+ KgTableInfo: {
132
+ check: string;
133
+ clearCheck: string;
134
+ clearTable: string;
135
+ locate: string;
136
+ row: string;
137
+ };
138
+ KgTableSettingConfigModal: {};
139
+ KgTableSettingVarGridConfig: {};
140
+ KgTableSettingVarGridMasterSaveAs: {
141
+ title: string;
142
+ };
143
+ KgVar: {};
144
+ KgVarConfig: {
145
+ VarGridConfig: string;
146
+ VarGridMaster: string;
147
+ VarProfileConfig: string;
148
+ VarProfileMaster: string;
149
+ action: string;
150
+ allForm: string;
151
+ allLanguage: string;
152
+ canNotUpdateSystemVarGridMaster: string;
153
+ canNotUpdateSystemVarProfileMaster: string;
154
+ confirm: string;
155
+ createConfig: string;
156
+ currentForm: string;
157
+ currentLanguage: string;
158
+ customLevel: string;
159
+ emptyPageSizeOptions: string;
160
+ formId: string;
161
+ formValidationMessageForMaxAndMin: string;
162
+ formValidationMessageForMaxLengthAndMinLength: string;
163
+ invalidCommandParameter: string;
164
+ invalidPageSizeOption: string;
165
+ invalidPageSizeOptions: string;
166
+ pleaseSelectVariable: string;
167
+ tabButton: string;
168
+ tabChild: string;
169
+ tabSearch: string;
170
+ tabSubmit: string;
171
+ tabTable: string;
172
+ varVariable: string;
173
+ variable: string;
174
+ };
175
+ KgVarConfigModalButton: {
176
+ VarButton: string;
177
+ VarButtonConfig: string;
178
+ };
179
+ KgVarConfigModalChild: {
180
+ childVarName: string;
181
+ childVarNameDuplicate: string;
182
+ childVarNameRequired: string;
183
+ parentVarName: string;
184
+ parentVarNameDuplicate: string;
185
+ parentVarNameRequired: string;
186
+ };
187
+ KgVarConfigModalSubmit: {
188
+ VarSubmitConfig: string;
189
+ VarSubmitDetail: string;
190
+ };
191
+ KgVarConfigModalSubmitVarSubmitConfig: {
192
+ invalidWidthForSpan: string;
193
+ };
194
+ KgVarConfigModalTableVarGridMaster: {
195
+ DESC: string;
196
+ FILE_SIZE: string;
197
+ ICON: string;
198
+ IMAGE: string;
199
+ PROGRESS: string;
200
+ ROUTE_LINK: string;
201
+ UPDATE_LINK: string;
202
+ YN: string;
203
+ center: string;
204
+ left: string;
205
+ notSort: string;
206
+ right: string;
207
+ };
208
+ KgVarConfigSelectFormIdModal: {
209
+ title: string;
210
+ };
211
+ KgWarehouse: {
212
+ reloadMessage: string;
213
+ selectWarehouse: string;
214
+ title: string;
215
+ warehouse: string;
216
+ };
217
+ action: string;
218
+ add: string;
219
+ asc: string;
220
+ button: string;
221
+ cancel: string;
222
+ close: string;
223
+ confirm: string;
224
+ confirmDelete: string;
225
+ copy: string;
226
+ copySuccess: string;
227
+ create: string;
228
+ createSuccess: string;
229
+ default: string;
230
+ delete: string;
231
+ deleteSuccess: string;
232
+ desc: string;
233
+ edit: string;
234
+ empty: string;
235
+ emptyText: string;
236
+ executeSuccess: string;
237
+ export: string;
238
+ exportSuccess: string;
239
+ formId: string;
240
+ formName: string;
241
+ formValidationFail: string;
242
+ import: string;
243
+ 'import-template': string;
244
+ importSuccess: string;
245
+ importTemplate: string;
246
+ loading: string;
247
+ lookup: string;
248
+ no: string;
249
+ ok: string;
250
+ query: string;
251
+ refresh: string;
252
+ required: string;
253
+ reset: string;
254
+ save: string;
255
+ search: string;
256
+ selectAll: string;
257
+ show: string;
258
+ succeed: string;
259
+ tip: string;
260
+ update: string;
261
+ updateSuccess: string;
262
+ yes: string;
263
+ };
264
+ };
265
+ export default _default;
@@ -514,8 +514,6 @@ export interface Menu {
514
514
  children?: Menu[];
515
515
  [key: string]: any;
516
516
  }
517
- /** 语言. */
518
- export declare type IKgLocale = 'zh_CN' | 'en' | 'ru' | 'ja' | 'ko';
519
517
  /**
520
518
  * 按钮确认弹窗的参数.
521
519
  * <p>对应于 {@link VarButton#modal_props} 字段.</p>
@@ -6,7 +6,7 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
6
6
  import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
7
7
  import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
8
8
  export declare const formProps: () => {
9
- layout: PropType<"inline" | "vertical" | "horizontal">;
9
+ layout: PropType<"vertical" | "horizontal" | "inline">;
10
10
  labelCol: {
11
11
  type: PropType<Partial<ExtractPropTypes<{
12
12
  span: (NumberConstructor | StringConstructor)[];
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Get the configuration file variable name
3
+ * @param env
4
+ */
5
+ export declare const getConfigFileName: (env: Record<string, any>) => string;
@@ -0,0 +1 @@
1
+ export * from './getConfigFileName';
@@ -1,2 +1,3 @@
1
+ export * from './build';
1
2
  export * from './src';
2
3
  export * from './types';
@@ -1,3 +1,12 @@
1
1
  export * from './api';
2
+ export * from './components';
2
3
  export * from './enums';
4
+ export * from './locales';
3
5
  export * from './settings';
6
+ export * from './store';
7
+ export * from './utils/cache/index';
8
+ export * from './utils/cache/memory';
9
+ export * from './utils/cache/persistent';
10
+ export * from './utils/cache/storageCache';
11
+ export * from './utils/cipher';
12
+ export * from './utils/env';
@@ -0,0 +1,5 @@
1
+ import { LocaleType } from '../../types';
2
+ export declare const loadLocalePool: LocaleType[];
3
+ export declare function setHtmlPageLang(locale: LocaleType): void;
4
+ export declare function setLoadLocalePool(cb: (loadLocalePool: LocaleType[]) => void): void;
5
+ export declare function genMessage(langs: Record<string, Record<string, any>>, prefix?: string): Recordable<any>;
@@ -0,0 +1,3 @@
1
+ export * from './helper';
2
+ export * from './setupI18n';
3
+ export * from './useLocale';
@@ -0,0 +1,3 @@
1
+ import type { App } from 'vue';
2
+ export declare let i18n: any;
3
+ export declare function setupI18n(app: App): Promise<void>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Multi-language related operations
3
+ */
4
+ import { LocaleType } from '../../types';
5
+ export declare function useLocale(): {
6
+ getLocale: import("vue").ComputedRef<LocaleType>;
7
+ getShowLocalePicker: import("vue").ComputedRef<boolean>;
8
+ changeLocale: (locale: LocaleType) => Promise<LocaleType | undefined>;
9
+ getAntdLocale: import("vue").ComputedRef<any>;
10
+ };
@@ -0,0 +1 @@
1
+ export * from './modules';
@@ -0,0 +1 @@
1
+ export * from './locale';
@@ -0,0 +1,54 @@
1
+ import { LocaleSetting, LocaleType } from '../../../types';
2
+ interface LocaleState {
3
+ localInfo: LocaleSetting;
4
+ pathTitleMap: object;
5
+ }
6
+ export declare const _useLocaleStore: import("pinia").StoreDefinition<"app-locale", LocaleState, {
7
+ getShowPicker(): boolean;
8
+ getLocale(): LocaleType;
9
+ getPathTitle: (state: {
10
+ localInfo: {
11
+ showPicker: boolean;
12
+ locale: LocaleType;
13
+ fallback: LocaleType;
14
+ availableLocales: LocaleType[];
15
+ };
16
+ pathTitleMap: object;
17
+ } & import("pinia").PiniaCustomStateProperties<LocaleState>) => (path: any) => any;
18
+ }, {
19
+ /**
20
+ * Set up multilingual information and cache
21
+ * @param info multilingual info
22
+ */
23
+ setLocaleInfo(info: Partial<LocaleSetting>): void;
24
+ /**
25
+ * Initialize multilingual information and load the existing configuration from the local cache
26
+ */
27
+ initLocale(): void;
28
+ setPathTitle(path: any, title: any): void;
29
+ }>;
30
+ export declare function useLocaleStore(): import("pinia").Store<"app-locale", LocaleState, {
31
+ getShowPicker(): boolean;
32
+ getLocale(): LocaleType;
33
+ getPathTitle: (state: {
34
+ localInfo: {
35
+ showPicker: boolean;
36
+ locale: LocaleType;
37
+ fallback: LocaleType;
38
+ availableLocales: LocaleType[];
39
+ };
40
+ pathTitleMap: object;
41
+ } & import("pinia").PiniaCustomStateProperties<LocaleState>) => (path: any) => any;
42
+ }, {
43
+ /**
44
+ * Set up multilingual information and cache
45
+ * @param info multilingual info
46
+ */
47
+ setLocaleInfo(info: Partial<LocaleSetting>): void;
48
+ /**
49
+ * Initialize multilingual information and load the existing configuration from the local cache
50
+ */
51
+ initLocale(): void;
52
+ setPathTitle(path: any, title: any): void;
53
+ }>;
54
+ export {};
@@ -0,0 +1,7 @@
1
+ import { CreateStorageParams } from './storageCache';
2
+ export declare type Options = Partial<CreateStorageParams>;
3
+ export declare const WebStorage: any;
4
+ export declare const createStorage: (storage?: Storage, options?: Options) => any;
5
+ export declare const createSessionStorage: (options?: Options) => any;
6
+ export declare const createLocalStorage: (options?: Options) => any;
7
+ export default WebStorage;