iglooform 2.5.55 → 2.5.57
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/.dumi/tmp/core/EmptyRoute.tsx +9 -0
- package/.dumi/tmp/core/defineApp.ts +17 -0
- package/.dumi/tmp/core/exportStaticRuntimePlugin.ts +11 -0
- package/.dumi/tmp/core/helmet.ts +10 -0
- package/.dumi/tmp/core/helmetContext.ts +4 -0
- package/.dumi/tmp/core/history.ts +66 -0
- package/.dumi/tmp/core/historyIntelli.ts +132 -0
- package/.dumi/tmp/core/plugin.ts +60 -0
- package/.dumi/tmp/core/pluginConfig.ts +292 -0
- package/.dumi/tmp/core/pluginConfigJoi.d.ts +55 -0
- package/.dumi/tmp/core/polyfill.ts +201 -0
- package/.dumi/tmp/core/route.tsx +50 -0
- package/.dumi/tmp/core/terminal.ts +37 -0
- package/.dumi/tmp/dumi/exports.ts +5 -0
- package/.dumi/tmp/dumi/locales/config.ts +95 -0
- package/.dumi/tmp/dumi/locales/runtime.tsx +43 -0
- package/.dumi/tmp/dumi/meta/atoms.ts +4 -0
- package/.dumi/tmp/dumi/meta/index.ts +255 -0
- package/.dumi/tmp/dumi/meta/runtime.ts +31 -0
- package/.dumi/tmp/dumi/meta/tabs.ts +5 -0
- package/.dumi/tmp/dumi/theme/ContextWrapper.tsx +48 -0
- package/.dumi/tmp/dumi/theme/builtins/API.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Badge.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Container.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Previewer.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/SourceCode.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Table.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Tree.ts +4 -0
- package/.dumi/tmp/dumi/theme/layouts/DocLayout.ts +4 -0
- package/.dumi/tmp/dumi/theme/loading.tsx +25 -0
- package/.dumi/tmp/dumi/theme/nprogress.css +59 -0
- package/.dumi/tmp/dumi/theme/slots/ColorSwitch.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Content.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/ContentFooter.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/ContentTabs.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Features.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Footer.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Header.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/HeaderExtra.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Hero.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/HeroTitle.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/LangSwitch.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Logo.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Navbar.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/NavbarExtra.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/NotFound.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/PreviewerActions.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/PreviewerActionsExtra.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/RtlSwitch.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/SearchBar.ts +5 -0
- package/.dumi/tmp/dumi/theme/slots/SearchResult.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Sidebar.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/SocialIcon.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Toc.ts +4 -0
- package/.dumi/tmp/exports.ts +18 -0
- package/.dumi/tmp/plugin-antd/runtime.tsx +65 -0
- package/.dumi/tmp/plugin-antd/runtimeConfig.d.ts +6 -0
- package/.dumi/tmp/plugin-antd/types.d.ts +14 -0
- package/.dumi/tmp/plugin-html2sketch/index.ts +35 -0
- package/.dumi/tmp/testBrowser.tsx +90 -0
- package/.dumi/tmp/umi.ts +108 -0
- package/.idea/iglooform.iml +9 -0
- package/.idea/misc.xml +5 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/es/date-picker/buddhist.js +1 -1
- package/es/date-picker/index.js +43 -41
- package/es/input/input-date.js +40 -28
- package/es/input/phone-number.js +2 -2
- package/es/locale/en-US/messages.json +3 -0
- package/es/locale/id-ID/messages.json +3 -0
- package/es/locale/th-TH/messages.json +3 -0
- package/es/locale/vi-VN/messages.json +3 -0
- package/es/locale/zh-CN/messages.json +3 -0
- package/es/locale/zh-TW/messages.json +3 -0
- package/es/upload/index.js +46 -22
- package/es/upload-photo/index.js +24 -4
- package/es/utils/form-utils.js +3 -1
- package/lib/date-picker/buddhist.js +1 -1
- package/lib/date-picker/index.js +43 -41
- package/lib/input/input-date.js +40 -28
- package/lib/input/phone-number.js +2 -2
- package/lib/locale/en-US/messages.json +3 -0
- package/lib/locale/id-ID/messages.json +3 -0
- package/lib/locale/th-TH/messages.json +3 -0
- package/lib/locale/vi-VN/messages.json +3 -0
- package/lib/locale/zh-CN/messages.json +3 -0
- package/lib/locale/zh-TW/messages.json +3 -0
- package/lib/upload/index.js +45 -22
- package/lib/upload-photo/index.js +23 -4
- package/lib/utils/form-utils.js +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.error.cause.js";
|
|
5
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.aggregate-error.js";
|
|
6
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.aggregate-error.cause.js";
|
|
7
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.at.js";
|
|
8
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.find-last.js";
|
|
9
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.find-last-index.js";
|
|
10
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.push.js";
|
|
11
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.reduce.js";
|
|
12
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.reduce-right.js";
|
|
13
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.to-reversed.js";
|
|
14
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.to-sorted.js";
|
|
15
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.to-spliced.js";
|
|
16
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.array.with.js";
|
|
17
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.object.has-own.js";
|
|
18
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.promise.any.js";
|
|
19
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.reflect.to-string-tag.js";
|
|
20
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.regexp.flags.js";
|
|
21
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.string.at-alternative.js";
|
|
22
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.string.replace-all.js";
|
|
23
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.typed-array.at.js";
|
|
24
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.typed-array.find-last.js";
|
|
25
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.typed-array.find-last-index.js";
|
|
26
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.typed-array.set.js";
|
|
27
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.typed-array.to-reversed.js";
|
|
28
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.typed-array.to-sorted.js";
|
|
29
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/es.typed-array.with.js";
|
|
30
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.suppressed-error.constructor.js";
|
|
31
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.from-async.js";
|
|
32
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.filter-out.js";
|
|
33
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.filter-reject.js";
|
|
34
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.group.js";
|
|
35
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.group-by.js";
|
|
36
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.group-by-to-map.js";
|
|
37
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.group-to-map.js";
|
|
38
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.is-template-object.js";
|
|
39
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.last-index.js";
|
|
40
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.last-item.js";
|
|
41
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array.unique-by.js";
|
|
42
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array-buffer.detached.js";
|
|
43
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array-buffer.transfer.js";
|
|
44
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js";
|
|
45
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-disposable-stack.constructor.js";
|
|
46
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.constructor.js";
|
|
47
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.as-indexed-pairs.js";
|
|
48
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.async-dispose.js";
|
|
49
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.drop.js";
|
|
50
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.every.js";
|
|
51
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.filter.js";
|
|
52
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.find.js";
|
|
53
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.flat-map.js";
|
|
54
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.for-each.js";
|
|
55
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.from.js";
|
|
56
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.indexed.js";
|
|
57
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.map.js";
|
|
58
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.reduce.js";
|
|
59
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.some.js";
|
|
60
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.take.js";
|
|
61
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.async-iterator.to-array.js";
|
|
62
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.bigint.range.js";
|
|
63
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.composite-key.js";
|
|
64
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.composite-symbol.js";
|
|
65
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.disposable-stack.constructor.js";
|
|
66
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.function.demethodize.js";
|
|
67
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.function.is-callable.js";
|
|
68
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.function.is-constructor.js";
|
|
69
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.function.un-this.js";
|
|
70
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.constructor.js";
|
|
71
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js";
|
|
72
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.dispose.js";
|
|
73
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.drop.js";
|
|
74
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.every.js";
|
|
75
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.filter.js";
|
|
76
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.find.js";
|
|
77
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.flat-map.js";
|
|
78
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.for-each.js";
|
|
79
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.from.js";
|
|
80
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.indexed.js";
|
|
81
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.map.js";
|
|
82
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.range.js";
|
|
83
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.reduce.js";
|
|
84
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.some.js";
|
|
85
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.take.js";
|
|
86
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.to-array.js";
|
|
87
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.iterator.to-async.js";
|
|
88
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.json.is-raw-json.js";
|
|
89
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.json.parse.js";
|
|
90
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.json.raw-json.js";
|
|
91
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.delete-all.js";
|
|
92
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.emplace.js";
|
|
93
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.every.js";
|
|
94
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.filter.js";
|
|
95
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.find.js";
|
|
96
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.find-key.js";
|
|
97
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.from.js";
|
|
98
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.group-by.js";
|
|
99
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.includes.js";
|
|
100
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.key-by.js";
|
|
101
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.key-of.js";
|
|
102
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.map-keys.js";
|
|
103
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.map-values.js";
|
|
104
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.merge.js";
|
|
105
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.of.js";
|
|
106
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.reduce.js";
|
|
107
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.some.js";
|
|
108
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.update.js";
|
|
109
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.update-or-insert.js";
|
|
110
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.map.upsert.js";
|
|
111
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.clamp.js";
|
|
112
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.deg-per-rad.js";
|
|
113
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.degrees.js";
|
|
114
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.fscale.js";
|
|
115
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.iaddh.js";
|
|
116
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.imulh.js";
|
|
117
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.isubh.js";
|
|
118
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.rad-per-deg.js";
|
|
119
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.radians.js";
|
|
120
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.scale.js";
|
|
121
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.seeded-prng.js";
|
|
122
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.signbit.js";
|
|
123
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.math.umulh.js";
|
|
124
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.number.from-string.js";
|
|
125
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.number.range.js";
|
|
126
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.object.iterate-entries.js";
|
|
127
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.object.iterate-keys.js";
|
|
128
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.object.iterate-values.js";
|
|
129
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.observable.js";
|
|
130
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.promise.try.js";
|
|
131
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.define-metadata.js";
|
|
132
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.delete-metadata.js";
|
|
133
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.get-metadata.js";
|
|
134
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js";
|
|
135
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js";
|
|
136
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js";
|
|
137
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.has-metadata.js";
|
|
138
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js";
|
|
139
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.reflect.metadata.js";
|
|
140
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.add-all.js";
|
|
141
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.delete-all.js";
|
|
142
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.difference.v2.js";
|
|
143
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.difference.js";
|
|
144
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.every.js";
|
|
145
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.filter.js";
|
|
146
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.find.js";
|
|
147
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.from.js";
|
|
148
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.intersection.v2.js";
|
|
149
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.intersection.js";
|
|
150
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js";
|
|
151
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.is-disjoint-from.js";
|
|
152
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.is-subset-of.v2.js";
|
|
153
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.is-subset-of.js";
|
|
154
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.is-superset-of.v2.js";
|
|
155
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.is-superset-of.js";
|
|
156
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.join.js";
|
|
157
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.map.js";
|
|
158
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.of.js";
|
|
159
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.reduce.js";
|
|
160
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.some.js";
|
|
161
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js";
|
|
162
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.symmetric-difference.js";
|
|
163
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.union.v2.js";
|
|
164
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.set.union.js";
|
|
165
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.string.at.js";
|
|
166
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.string.cooked.js";
|
|
167
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.string.code-points.js";
|
|
168
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.string.dedent.js";
|
|
169
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.string.is-well-formed.js";
|
|
170
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.string.to-well-formed.js";
|
|
171
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.async-dispose.js";
|
|
172
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.dispose.js";
|
|
173
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.is-registered.js";
|
|
174
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.is-well-known.js";
|
|
175
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.matcher.js";
|
|
176
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.metadata.js";
|
|
177
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.metadata-key.js";
|
|
178
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.observable.js";
|
|
179
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.pattern-match.js";
|
|
180
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.symbol.replace-all.js";
|
|
181
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.typed-array.from-async.js";
|
|
182
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.typed-array.filter-out.js";
|
|
183
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.typed-array.filter-reject.js";
|
|
184
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.typed-array.group-by.js";
|
|
185
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.typed-array.to-spliced.js";
|
|
186
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.typed-array.unique-by.js";
|
|
187
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-map.delete-all.js";
|
|
188
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-map.from.js";
|
|
189
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-map.of.js";
|
|
190
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-map.emplace.js";
|
|
191
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-map.upsert.js";
|
|
192
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-set.add-all.js";
|
|
193
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-set.delete-all.js";
|
|
194
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-set.from.js";
|
|
195
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/esnext.weak-set.of.js";
|
|
196
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/web.dom-exception.stack.js";
|
|
197
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/web.immediate.js";
|
|
198
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/web.self.js";
|
|
199
|
+
import "/Users/wangtao/Documents/axinan/iglooform/node_modules/core-js/modules/web.structured-clone.js";
|
|
200
|
+
import '/Users/wangtao/Documents/axinan/iglooform/node_modules/regenerator-runtime/runtime.js';
|
|
201
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
export async function getRoutes() {
|
|
7
|
+
const routes = {"404":{"id":"404","path":"*","parentId":"DocLayout"},"dumi-context-layout":{"id":"dumi-context-layout","path":"/","isLayout":true},"DocLayout":{"id":"DocLayout","path":"/","parentId":"dumi-context-layout","isLayout":true},"docs/components/mobile-insurer-detail":{"path":"components/mobile-insurer-detail","id":"docs/components/mobile-insurer-detail","parentId":"DocLayout"},"docs/components/admin-amount":{"path":"components/admin-amount","id":"docs/components/admin-amount","parentId":"DocLayout"},"docs/components/admin-upload":{"path":"components/admin-upload","id":"docs/components/admin-upload","parentId":"DocLayout"},"docs/components/detail-panel":{"path":"components/detail-panel","id":"docs/components/detail-panel","parentId":"DocLayout"},"docs/components/detail-page":{"path":"components/detail-page","id":"docs/components/detail-page","parentId":"DocLayout"},"docs/components/message-bar":{"path":"components/message-bar","id":"docs/components/message-bar","parentId":"DocLayout"},"docs/components/policy-list":{"path":"components/policy-list","id":"docs/components/policy-list","parentId":"DocLayout"},"docs/basic/customer-layout":{"path":"basic/customer-layout","id":"docs/basic/customer-layout","parentId":"DocLayout"},"docs/basic/static-resource":{"path":"basic/static-resource","id":"docs/basic/static-resource","parentId":"DocLayout"},"docs/components/claim-list":{"path":"components/claim-list","id":"docs/components/claim-list","parentId":"DocLayout"},"docs/components/status-box":{"path":"components/status-box","id":"docs/components/status-box","parentId":"DocLayout"},"docs/components/documents":{"path":"components/documents","id":"docs/components/documents","parentId":"DocLayout"},"docs/components/back-top":{"path":"components/back-top","id":"docs/components/back-top","parentId":"DocLayout"},"docs/components/button":{"path":"components/button","id":"docs/components/button","parentId":"DocLayout"},"docs/components/filter":{"path":"components/filter","id":"docs/components/filter","parentId":"DocLayout"},"docs/components/select":{"path":"components/select","id":"docs/components/select","parentId":"DocLayout"},"docs/basic/typography":{"path":"basic/typography","id":"docs/basic/typography","parentId":"DocLayout"},"docs/components/index":{"path":"components","id":"docs/components/index","parentId":"DocLayout"},"docs/components/table":{"path":"components/table","id":"docs/components/table","parentId":"DocLayout"},"docs/components/tabs":{"path":"components/tabs","id":"docs/components/tabs","parentId":"DocLayout"},"docs/form/free-form":{"path":"form/free-form","id":"docs/form/free-form","parentId":"DocLayout"},"docs/basic/message":{"path":"basic/message","id":"docs/basic/message","parentId":"DocLayout"},"docs/basic/locale":{"path":"basic/locale","id":"docs/basic/locale","parentId":"DocLayout"},"docs/form/general":{"path":"form/general","id":"docs/form/general","parentId":"DocLayout"},"docs/release-note":{"path":"release-note","id":"docs/release-note","parentId":"DocLayout"},"docs/basic/index":{"path":"basic","id":"docs/basic/index","parentId":"DocLayout"},"docs/basic/modal":{"path":"basic/modal","id":"docs/basic/modal","parentId":"DocLayout"},"docs/basic/theme":{"path":"basic/theme","id":"docs/basic/theme","parentId":"DocLayout"},"docs/basic/icon":{"path":"basic/icon","id":"docs/basic/icon","parentId":"DocLayout"},"docs/form/index":{"path":"form","id":"docs/form/index","parentId":"DocLayout"},"docs/form/form":{"path":"form/form","id":"docs/form/form","parentId":"DocLayout"},"docs/index":{"path":"","id":"docs/index","parentId":"DocLayout"},"docs/omni":{"path":"omni","id":"docs/omni","parentId":"DocLayout"},"demo-render":{"id":"demo-render","path":"~demos/:id","parentId":"dumi-context-layout"}} as const;
|
|
8
|
+
return {
|
|
9
|
+
routes,
|
|
10
|
+
routeComponents: {
|
|
11
|
+
'404': React.lazy(() => import(/* webpackChunkName: "dumi__pages__404" */'@/dumi__pages/404')),
|
|
12
|
+
'dumi-context-layout': React.lazy(() => import(/* webpackChunkName: "dumi__theme__ContextWrapper" */'@/dumi__theme/ContextWrapper')),
|
|
13
|
+
'DocLayout': React.lazy(() => import(/* webpackChunkName: "dumi__theme__layouts__DocLayout" */'@/dumi__theme/layouts/DocLayout')),
|
|
14
|
+
'docs/components/mobile-insurer-detail': React.lazy(() => import(/* webpackChunkName: "docs__components__mobile-insurer-detail.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/mobile-insurer-detail.md')),
|
|
15
|
+
'docs/components/admin-amount': React.lazy(() => import(/* webpackChunkName: "docs__components__admin-amount.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/admin-amount.md')),
|
|
16
|
+
'docs/components/admin-upload': React.lazy(() => import(/* webpackChunkName: "docs__components__admin-upload.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/admin-upload.md')),
|
|
17
|
+
'docs/components/detail-panel': React.lazy(() => import(/* webpackChunkName: "docs__components__detail-panel.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/detail-panel.md')),
|
|
18
|
+
'docs/components/detail-page': React.lazy(() => import(/* webpackChunkName: "docs__components__detail-page.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/detail-page.md')),
|
|
19
|
+
'docs/components/message-bar': React.lazy(() => import(/* webpackChunkName: "docs__components__message-bar.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/message-bar.md')),
|
|
20
|
+
'docs/components/policy-list': React.lazy(() => import(/* webpackChunkName: "docs__components__policy-list.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/policy-list.md')),
|
|
21
|
+
'docs/basic/customer-layout': React.lazy(() => import(/* webpackChunkName: "docs__basic__customer-layout.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/customer-layout.md')),
|
|
22
|
+
'docs/basic/static-resource': React.lazy(() => import(/* webpackChunkName: "docs__basic__static-resource.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/static-resource.md')),
|
|
23
|
+
'docs/components/claim-list': React.lazy(() => import(/* webpackChunkName: "docs__components__claim-list.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/claim-list.md')),
|
|
24
|
+
'docs/components/status-box': React.lazy(() => import(/* webpackChunkName: "docs__components__status-box.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/status-box.md')),
|
|
25
|
+
'docs/components/documents': React.lazy(() => import(/* webpackChunkName: "docs__components__documents.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/documents.md')),
|
|
26
|
+
'docs/components/back-top': React.lazy(() => import(/* webpackChunkName: "docs__components__back-top.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/back-top.md')),
|
|
27
|
+
'docs/components/button': React.lazy(() => import(/* webpackChunkName: "docs__components__button.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/button.md')),
|
|
28
|
+
'docs/components/filter': React.lazy(() => import(/* webpackChunkName: "docs__components__filter.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/filter.md')),
|
|
29
|
+
'docs/components/select': React.lazy(() => import(/* webpackChunkName: "docs__components__select.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/select.md')),
|
|
30
|
+
'docs/basic/typography': React.lazy(() => import(/* webpackChunkName: "docs__basic__typography.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/typography.md')),
|
|
31
|
+
'docs/components/index': React.lazy(() => import(/* webpackChunkName: "docs__components__index.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/index.md')),
|
|
32
|
+
'docs/components/table': React.lazy(() => import(/* webpackChunkName: "docs__components__table.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/table.md')),
|
|
33
|
+
'docs/components/tabs': React.lazy(() => import(/* webpackChunkName: "docs__components__tabs.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/components/tabs.md')),
|
|
34
|
+
'docs/form/free-form': React.lazy(() => import(/* webpackChunkName: "docs__form__free-form.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/form/free-form.md')),
|
|
35
|
+
'docs/basic/message': React.lazy(() => import(/* webpackChunkName: "docs__basic__message.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/message.md')),
|
|
36
|
+
'docs/basic/locale': React.lazy(() => import(/* webpackChunkName: "docs__basic__locale.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/locale.md')),
|
|
37
|
+
'docs/form/general': React.lazy(() => import(/* webpackChunkName: "docs__form__general.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/form/general.md')),
|
|
38
|
+
'docs/release-note': React.lazy(() => import(/* webpackChunkName: "docs__release-note.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/release-note.md')),
|
|
39
|
+
'docs/basic/index': React.lazy(() => import(/* webpackChunkName: "docs__basic__index.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/index.md')),
|
|
40
|
+
'docs/basic/modal': React.lazy(() => import(/* webpackChunkName: "docs__basic__modal.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/modal.md')),
|
|
41
|
+
'docs/basic/theme': React.lazy(() => import(/* webpackChunkName: "docs__basic__theme.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/theme.md')),
|
|
42
|
+
'docs/basic/icon': React.lazy(() => import(/* webpackChunkName: "docs__basic__icon.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/basic/icon.md')),
|
|
43
|
+
'docs/form/index': React.lazy(() => import(/* webpackChunkName: "docs__form__index.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/form/index.md')),
|
|
44
|
+
'docs/form/form': React.lazy(() => import(/* webpackChunkName: "docs__form__form.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/form/form.md')),
|
|
45
|
+
'docs/index': React.lazy(() => import(/* webpackChunkName: "docs__index.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/index.md')),
|
|
46
|
+
'docs/omni': React.lazy(() => import(/* webpackChunkName: "docs__omni.md" */'/Users/wangtao/Documents/axinan/iglooform/docs/omni.md')),
|
|
47
|
+
'demo-render': React.lazy(() => import(/* webpackChunkName: "dumi__pages__Demo" */'@/dumi__pages/Demo')),
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
let count = 0;
|
|
5
|
+
let groupLevel = 0;
|
|
6
|
+
function send(type: string, message?: string) {
|
|
7
|
+
if(process.env.NODE_ENV==='production'){
|
|
8
|
+
return;
|
|
9
|
+
}else{
|
|
10
|
+
const encodedMessage = message ? `&m=${encodeURI(message)}` : '';
|
|
11
|
+
fetch(`/__umi/api/terminal?type=${type}&t=${Date.now()}&c=${count++}&g=${groupLevel}${encodedMessage}`, { mode: 'no-cors' })
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
function prettyPrint(obj: any) {
|
|
15
|
+
return JSON.stringify(obj, null, 2);
|
|
16
|
+
}
|
|
17
|
+
function stringifyObjs(objs: any[]) {
|
|
18
|
+
const obj = objs.length > 1 ? objs.map(stringify).join(' ') : objs[0];
|
|
19
|
+
return typeof obj === 'object' ? `${prettyPrint(obj)}` : obj.toString();
|
|
20
|
+
}
|
|
21
|
+
function stringify(obj: any) {
|
|
22
|
+
return typeof obj === 'object' ? `${JSON.stringify(obj)}` : obj.toString();
|
|
23
|
+
}
|
|
24
|
+
const terminal = {
|
|
25
|
+
log(...objs: any[]) { send('log', stringifyObjs(objs)) },
|
|
26
|
+
info(...objs: any[]) { send('info', stringifyObjs(objs)) },
|
|
27
|
+
warn(...objs: any[]) { send('warn', stringifyObjs(objs)) },
|
|
28
|
+
error(...objs: any[]) { send('error', stringifyObjs(objs)) },
|
|
29
|
+
group() { groupLevel++ },
|
|
30
|
+
groupCollapsed() { groupLevel++ },
|
|
31
|
+
groupEnd() { groupLevel && --groupLevel },
|
|
32
|
+
clear() { send('clear') },
|
|
33
|
+
trace(...args: any[]) { console.trace(...args) },
|
|
34
|
+
profile(...args: any[]) { console.profile(...args) },
|
|
35
|
+
profileEnd(...args: any[]) { console.profileEnd(...args) },
|
|
36
|
+
};
|
|
37
|
+
export { terminal };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
export const locales = [
|
|
5
|
+
{
|
|
6
|
+
"id": "zh-CN",
|
|
7
|
+
"name": "中文",
|
|
8
|
+
"base": "/"
|
|
9
|
+
}
|
|
10
|
+
];
|
|
11
|
+
export const messages = {
|
|
12
|
+
"en-US": {
|
|
13
|
+
"header.search.placeholder": "Type keywords...",
|
|
14
|
+
"header.color.mode.light": "Light Mode",
|
|
15
|
+
"header.color.mode.dark": "Dark Mode",
|
|
16
|
+
"header.color.mode.auto": "Follow System",
|
|
17
|
+
"header.social.github": "GitHub",
|
|
18
|
+
"header.social.weibo": "Weibo",
|
|
19
|
+
"header.social.twitter": "Twitter",
|
|
20
|
+
"header.social.gitlab": "GitLab",
|
|
21
|
+
"header.social.facebook": "Facebook",
|
|
22
|
+
"header.social.zhihu": "Zhihu",
|
|
23
|
+
"header.social.yuque": "Yuque",
|
|
24
|
+
"header.social.linkedin": "Linkedin",
|
|
25
|
+
"previewer.actions.code.expand": "Show Code",
|
|
26
|
+
"previewer.actions.code.shrink": "Hide Code",
|
|
27
|
+
"previewer.actions.sketch": "Copy to Sketch app",
|
|
28
|
+
"previewer.actions.sketch.group": "Copy as Sketch Group",
|
|
29
|
+
"previewer.actions.sketch.symbol": "Copy as Sketch Symbol",
|
|
30
|
+
"previewer.actions.sketch.divider": "------------------------",
|
|
31
|
+
"previewer.actions.sketch.guide": "How to paste to Sketch?",
|
|
32
|
+
"previewer.actions.codesandbox": "Open in CodeSandbox",
|
|
33
|
+
"previewer.actions.codepen": "Open in CodePen (Not implemented)",
|
|
34
|
+
"previewer.actions.stackblitz": "Open in StackBlitz",
|
|
35
|
+
"previewer.actions.separate": "Open in separate page",
|
|
36
|
+
"404.title": "PAGE NOT FOUND",
|
|
37
|
+
"404.back": "Back to homepage",
|
|
38
|
+
"api.component.name": "Name",
|
|
39
|
+
"api.component.description": "Description",
|
|
40
|
+
"api.component.type": "Type",
|
|
41
|
+
"api.component.default": "Default",
|
|
42
|
+
"api.component.required": "(required)",
|
|
43
|
+
"api.component.unavailable": "apiParser must be enabled to use auto-generated API",
|
|
44
|
+
"api.component.loading": "Properties definition is resolving, wait a moment...",
|
|
45
|
+
"api.component.not.found": "Properties definition not found for {id} component",
|
|
46
|
+
"content.tabs.default": "Doc",
|
|
47
|
+
"content.footer.last.updated": "Last updated: ",
|
|
48
|
+
"content.footer.actions.edit": "Improve this documentation",
|
|
49
|
+
"content.footer.actions.previous": "PREV",
|
|
50
|
+
"content.footer.actions.next": "NEXT",
|
|
51
|
+
"search.not.found": "No content was found",
|
|
52
|
+
"layout.sidebar.btn": "Sidebar"
|
|
53
|
+
},
|
|
54
|
+
"zh-CN": {
|
|
55
|
+
"header.search.placeholder": "输入关键字搜索...",
|
|
56
|
+
"header.color.mode.light": "亮色模式",
|
|
57
|
+
"header.color.mode.dark": "暗色模式",
|
|
58
|
+
"header.color.mode.auto": "跟随系统",
|
|
59
|
+
"header.social.github": "GitHub",
|
|
60
|
+
"header.social.weibo": "微博",
|
|
61
|
+
"header.social.twitter": "Twitter",
|
|
62
|
+
"header.social.gitlab": "GitLab",
|
|
63
|
+
"header.social.facebook": "Facebook",
|
|
64
|
+
"header.social.zhihu": "知乎",
|
|
65
|
+
"header.social.yuque": "语雀",
|
|
66
|
+
"header.social.linkedin": "Linkedin",
|
|
67
|
+
"previewer.actions.code.expand": "展开代码",
|
|
68
|
+
"previewer.actions.code.shrink": "收起代码",
|
|
69
|
+
"previewer.actions.codesandbox": "在 CodeSandbox 中打开",
|
|
70
|
+
"previewer.actions.sketch": "拷贝到 Sketch",
|
|
71
|
+
"previewer.actions.sketch.group": "拷贝为 Sketch Group",
|
|
72
|
+
"previewer.actions.sketch.symbol": "拷贝为 Sketch Symbol",
|
|
73
|
+
"previewer.actions.sketch.divider": "----------------------",
|
|
74
|
+
"previewer.actions.sketch.guide": "如何粘贴到 SKetch?",
|
|
75
|
+
"previewer.actions.stackblitz": "在 StackBlitz 中打开",
|
|
76
|
+
"previewer.actions.separate": "在独立页面中打开",
|
|
77
|
+
"404.title": "页面未找到",
|
|
78
|
+
"404.back": "返回首页",
|
|
79
|
+
"api.component.name": "属性名",
|
|
80
|
+
"api.component.description": "描述",
|
|
81
|
+
"api.component.type": "类型",
|
|
82
|
+
"api.component.default": "默认值",
|
|
83
|
+
"api.component.required": "(必选)",
|
|
84
|
+
"api.component.unavailable": "必须启用 apiParser 才能使用自动 API 特性",
|
|
85
|
+
"api.component.loading": "属性定义正在解析中,稍等片刻...",
|
|
86
|
+
"api.component.not.found": "未找到 {id} 组件的属性定义",
|
|
87
|
+
"content.tabs.default": "文档",
|
|
88
|
+
"content.footer.last.updated": "最后更新时间:",
|
|
89
|
+
"content.footer.actions.edit": "帮助改进此文档",
|
|
90
|
+
"content.footer.actions.previous": "上一篇",
|
|
91
|
+
"content.footer.actions.next": "下一篇",
|
|
92
|
+
"search.not.found": "未找到相关内容",
|
|
93
|
+
"layout.sidebar.btn": "侧边菜单"
|
|
94
|
+
}
|
|
95
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import { history } from 'dumi';
|
|
5
|
+
import React, { useState, useLayoutEffect, useCallback, type ReactNode } from 'react';
|
|
6
|
+
import { RawIntlProvider, createIntl, createIntlCache } from '/Users/wangtao/Documents/axinan/iglooform/node_modules/dumi/node_modules/react-intl';
|
|
7
|
+
import { useIsomorphicLayoutEffect } from '/Users/wangtao/Documents/axinan/iglooform/node_modules/dumi/dist/client/theme-api/utils.js'
|
|
8
|
+
import { locales, messages } from './config';
|
|
9
|
+
|
|
10
|
+
const cache = createIntlCache();
|
|
11
|
+
|
|
12
|
+
const LocalesContainer: FC<{ children: ReactNode }> = (props) => {
|
|
13
|
+
const getIntl = useCallback(() => {
|
|
14
|
+
const matched = locales.slice().reverse().find((locale) => (
|
|
15
|
+
'suffix' in locale
|
|
16
|
+
// suffix mode
|
|
17
|
+
? history.location.pathname.replace(/([^/])\/$/, '$1').endsWith(locale.suffix)
|
|
18
|
+
// base mode
|
|
19
|
+
: history.location.pathname.replace(/([^/])\/$/, '$1')
|
|
20
|
+
.startsWith("" + locale.base)
|
|
21
|
+
));
|
|
22
|
+
const locale = matched ? matched.id : locales[0].id;
|
|
23
|
+
const localeMessages = messages[locale] || {};
|
|
24
|
+
|
|
25
|
+
// append internal message, for use intl as string template util
|
|
26
|
+
localeMessages['$internal.edit.link'] = undefined;
|
|
27
|
+
|
|
28
|
+
return createIntl({ locale, messages: localeMessages }, cache);
|
|
29
|
+
}, []);
|
|
30
|
+
const [intl, setIntl] = useState(() => getIntl());
|
|
31
|
+
|
|
32
|
+
useIsomorphicLayoutEffect(() => {
|
|
33
|
+
return history.listen(() => {
|
|
34
|
+
setIntl(getIntl());
|
|
35
|
+
});
|
|
36
|
+
}, []);
|
|
37
|
+
|
|
38
|
+
return <RawIntlProvider value={intl} key={intl.locale}>{props.children}</RawIntlProvider>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function i18nProvider(container: Element) {
|
|
42
|
+
return React.createElement(LocalesContainer, null, container);
|
|
43
|
+
}
|