@moneko/core 2.0.0-beta.8 → 2.0.1-8.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/build/common.js +1 -1
- package/build/coverage.js +1 -1
- package/build/done.d.ts +8 -0
- package/build/done.js +1 -0
- package/build/envFlags.d.ts +2 -4
- package/build/envFlags.js +1 -1
- package/build/has-pkg.js +1 -1
- package/build/html-plugin-option.d.ts +2 -2
- package/build/html-plugin-option.js +1 -1
- package/build/index.d.ts +2 -0
- package/build/index.js +1 -0
- package/build/minify.d.ts +1 -1
- package/build/modifyVars.js +1 -1
- package/build/module-federation.d.ts +1 -1
- package/build/module-federation.js +1 -1
- package/build/module.config.js +1 -1
- package/build/process-env.d.ts +3 -1
- package/build/process-env.js +1 -1
- package/build/resolver-sync.js +1 -1
- package/build/seo.d.ts +1 -0
- package/build/seo.js +1 -0
- package/build/swcrc.js +1 -1
- package/build/tsloader.config.js +1 -1
- package/build/utils.d.ts +9 -6
- package/build/utils.js +1 -1
- package/build/webpack.common.d.ts +1 -0
- package/build/webpack.common.js +1 -1
- package/build/webpack.dev.js +1 -1
- package/build/webpack.prod.js +1 -1
- package/lib/components/app-router.d.ts +8 -0
- package/lib/components/app-router.js +2 -0
- package/lib/components/app-router.js.map +1 -0
- package/lib/components/{fallback-comp/index.js → fallback-comp.js} +1 -1
- package/lib/components/fallback-comp.js.map +1 -0
- package/lib/components/{fallback/index.js → fallback.js} +2 -2
- package/lib/components/fallback.js.map +1 -0
- package/lib/components/{layout-menu/index.d.ts → layout-menu.d.ts} +1 -2
- package/lib/components/layout-menu.js +2 -0
- package/lib/components/layout-menu.js.map +1 -0
- package/lib/index.d.ts +15 -15
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/localizable.d.ts +53 -0
- package/lib/localizable.js +2 -0
- package/lib/localizable.js.map +1 -0
- package/lib/menu.d.ts +115 -0
- package/lib/menu.js +2 -0
- package/lib/menu.js.map +1 -0
- package/lib/packages/back-stage/app.d.ts +2 -4
- package/lib/packages/back-stage/app.js +1 -1
- package/lib/packages/back-stage/app.js.map +1 -1
- package/lib/packages/back-stage/bootstrap.d.ts +1 -1
- package/lib/packages/back-stage/bootstrap.js +1 -1
- package/lib/packages/back-stage/bootstrap.js.map +1 -1
- package/lib/packages/back-stage/index.d.ts +1 -2
- package/lib/packages/back-stage/index.js +1 -1
- package/lib/packages/back-stage/index.js.map +1 -1
- package/lib/packages/back-stage/layout.d.ts +5 -0
- package/lib/packages/back-stage/layout.js +2 -0
- package/lib/packages/back-stage/layout.js.map +1 -0
- package/lib/packages/library/app.js +1 -1
- package/lib/packages/library/app.js.map +1 -1
- package/lib/packages/library/bootstrap.d.ts +1 -1
- package/lib/packages/library/bootstrap.js +1 -1
- package/lib/packages/library/bootstrap.js.map +1 -1
- package/lib/packages/library/index.d.ts +1 -2
- package/lib/packages/library/index.js +1 -1
- package/lib/packages/library/index.js.map +1 -1
- package/lib/packages/mobile/app.js +1 -1
- package/lib/packages/mobile/app.js.map +1 -1
- package/lib/packages/mobile/index.d.ts +1 -3
- package/lib/packages/mobile/index.js +1 -1
- package/lib/packages/mobile/index.js.map +1 -1
- package/lib/packages/single-spa/app.d.ts +6 -5
- package/lib/packages/single-spa/app.js +1 -1
- package/lib/packages/single-spa/app.js.map +1 -1
- package/lib/packages/single-spa/bootstrap.d.ts +0 -1
- package/lib/packages/single-spa/bootstrap.js +1 -1
- package/lib/packages/single-spa/bootstrap.js.map +1 -1
- package/lib/packages/single-spa/index.d.ts +1 -2
- package/lib/packages/single-spa/index.js +1 -1
- package/lib/packages/single-spa/index.js.map +1 -1
- package/lib/packages/site/app.js +1 -1
- package/lib/packages/site/app.js.map +1 -1
- package/lib/packages/site/bootstrap.d.ts +1 -1
- package/lib/packages/site/bootstrap.js +1 -1
- package/lib/packages/site/bootstrap.js.map +1 -1
- package/lib/packages/site/index.d.ts +1 -2
- package/lib/packages/site/index.js +1 -1
- package/lib/packages/site/index.js.map +1 -1
- package/lib/prefix/react-router-dom.js +1 -1
- package/lib/prefix/react-router-dom.js.map +1 -1
- package/lib/react-router-dom/link.d.ts +9 -0
- package/lib/react-router-dom/link.js +2 -0
- package/lib/react-router-dom/link.js.map +1 -0
- package/lib/{hooks/navgate.d.ts → react-router-dom/use-navgate.d.ts} +1 -1
- package/lib/{hooks/navgate.js → react-router-dom/use-navgate.js} +1 -1
- package/lib/react-router-dom/use-navgate.js.map +1 -0
- package/lib/router/index.d.ts +36 -7
- package/lib/router/index.js +1 -1
- package/lib/router/index.js.map +1 -1
- package/lib/sso/index.d.ts +23 -0
- package/lib/sso/index.js +2 -0
- package/lib/sso/index.js.map +1 -0
- package/lib/styles/normalize.css +111 -34
- package/lib/styles/variables.css +35 -0
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/index.js.map +1 -1
- package/package.json +28 -32
- package/typings/global.d.ts +179 -67
- package/build/has-antd.d.ts +0 -2
- package/build/has-antd.js +0 -1
- package/lib/components/app-router/index.d.ts +0 -8
- package/lib/components/app-router/index.js +0 -2
- package/lib/components/app-router/index.js.map +0 -1
- package/lib/components/fallback/index.js.map +0 -1
- package/lib/components/fallback-comp/index.js.map +0 -1
- package/lib/components/layout-menu/index.global.less +0 -40
- package/lib/components/layout-menu/index.js +0 -2
- package/lib/components/layout-menu/index.js.map +0 -1
- package/lib/components/readme/index.d.ts +0 -3
- package/lib/components/readme/index.js +0 -2
- package/lib/components/readme/index.js.map +0 -1
- package/lib/components/readme/index.less +0 -4
- package/lib/hooks/navgate.js.map +0 -1
- package/lib/packages/back-stage/antd.global.less +0 -67
- package/lib/packages/back-stage/layout/index.d.ts +0 -3
- package/lib/packages/back-stage/layout/index.js +0 -2
- package/lib/packages/back-stage/layout/index.js.map +0 -1
- package/lib/packages/back-stage/layout/index.less +0 -91
- package/lib/packages/back-stage/models/app-program.d.ts +0 -24
- package/lib/packages/back-stage/models/app-program.js +0 -2
- package/lib/packages/back-stage/models/app-program.js.map +0 -1
- package/lib/prefix/i18n-hooks.d.ts +0 -1
- package/lib/prefix/i18n-hooks.js +0 -2
- package/lib/prefix/i18n-hooks.js.map +0 -1
- package/lib/prefix/mini-idc.d.ts +0 -1
- package/lib/prefix/mini-idc.js +0 -2
- package/lib/prefix/mini-idc.js.map +0 -1
- package/lib/styles/animation.less +0 -58
- package/lib/styles/ant.variables.global.less +0 -231
- package/lib/styles/eval/bezierEasing.less +0 -106
- package/lib/styles/eval/colorPalette.less +0 -73
- package/lib/styles/eval/tinyColor.less +0 -1181
- package/lib/styles/index.global.less +0 -136
- package/lib/styles/vars.less +0 -98
- package/lib/utils/color-palette.d.ts +0 -2
- package/lib/utils/color-palette.js +0 -2
- package/lib/utils/color-palette.js.map +0 -1
- package/lib/utils/env.d.ts +0 -0
- package/lib/utils/env.js +0 -2
- package/lib/utils/env.js.map +0 -1
- package/lib/utils/fontloader.d.ts +0 -1
- package/lib/utils/fontloader.js +0 -2
- package/lib/utils/fontloader.js.map +0 -1
- package/lib/utils/lazy-import.d.ts +0 -22
- package/lib/utils/lazy-import.js +0 -2
- package/lib/utils/lazy-import.js.map +0 -1
- package/lib/utils/theme.d.ts +0 -13
- package/lib/utils/theme.js +0 -2
- package/lib/utils/theme.js.map +0 -1
- /package/lib/components/{fallback-comp/index.d.ts → fallback-comp.d.ts} +0 -0
- /package/lib/components/{fallback/index.d.ts → fallback.d.ts} +0 -0
package/lib/sso/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _instanceof(left,right){if(right!=null&&typeof Symbol!=="undefined"&&right[Symbol.hasInstance]){return!!right[Symbol.hasInstance](left)}else{return left instanceof right}}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _iterableToArrayLimit(arr,i){var _i=arr==null?null:typeof Symbol!=="undefined"&&arr[Symbol.iterator]||arr["@@iterator"];if(_i==null)return;var _arr=[];var _n=true;var _d=false;var _s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{if(!_n&&_i["return"]!=null)_i["return"]()}finally{if(_d)throw _e}}return _arr}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}import{useSyncExternalStore}from"use-sync-external-store/shim";var __DEV__=process.env.NODE_ENV!=="production";var __DEV_ERR__=function(msg){if(__DEV__){throw new Error(msg)}};var isInMethod=false;var run=function(fn){fn()};var sso=function(data){if(__DEV__&&Object.prototype.toString.call(data)!=="[object Object]"){throw new Error("object required")}var state={};var methods={};Object.keys(data).forEach(function(key){var initVal=data[key];if(_instanceof(initVal,Function)){methods[key]=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}isInMethod=true;var res=initVal.apply(void 0,_toConsumableArray(args));isInMethod=false;return res};return}var listeners=new Set;state[key]={subscribe:function(listener){listeners.add(listener);return function(){return listeners.delete(listener)}},getSnapshot:function(){return data[key]},setSnapshot:function(val){if(val!==data[key]){data[key]=val;run(function(){return listeners.forEach(function(listener){return listener()})})}},useSnapshot:function(){return useSyncExternalStore(state[key].subscribe,state[key].getSnapshot,state[key].getSnapshot)}}});var setState=function(key,val){if(key in data){if(key in state){var newVal=_instanceof(val,Function)?val(data[key]):val;state[key].setSnapshot(newVal)}else{__DEV_ERR__("`".concat(key,"` is a method, can not update"))}}else{__DEV_ERR__("`".concat(key,"` is not initialized in store"))}};return new Proxy(function(){return undefined},{get:function(_,key){if(key in methods){return methods[key]}if(isInMethod){return data[key]}try{return state[key].useSnapshot()}catch(err){return data[key]}},set:function(_,key,val){setState(key,val);return true},apply:function(_,__,param){var _param=_slicedToArray(param,2),key=_param[0],updater=_param[1];if(typeof updater==="function"){setState(key,updater)}else{__DEV_ERR__("updater for `".concat(key,"` should be a function"))}}})};sso.config=function(param){var batch=param.batch;run=batch};export default sso;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/sso/index.ts"],"sourcesContent":["import { useSyncExternalStore } from 'use-sync-external-store/shim';\n\ntype VoidFn = () => void;\n// eslint-disable-next-line no-unused-vars\ntype AnyFn = (...args: unknown[]) => unknown;\n// eslint-disable-next-line no-unused-vars\ntype Updater<V> = (val: V) => V;\n\ntype Data = Record<string, unknown>;\ntype State<T> = {\n [K in keyof T]: {\n // eslint-disable-next-line no-unused-vars\n subscribe: (listener: VoidFn) => VoidFn;\n getSnapshot: () => T[K];\n useSnapshot: () => T[K];\n // eslint-disable-next-line no-unused-vars\n setSnapshot: (val: T[K]) => void;\n };\n};\ntype Methods<T> = Record<keyof T, AnyFn>;\n// eslint-disable-next-line no-unused-vars\ntype Setter<T> = <K extends keyof T>(key: K, updater: Updater<T[K]>) => void;\ntype Store<T> = T & Setter<T>;\n\nconst __DEV__ = process.env.NODE_ENV !== 'production';\nconst __DEV_ERR__ = (msg: string) => {\n if (__DEV__) {\n throw new Error(msg);\n }\n};\n\nlet isInMethod = false;\nlet run = (fn: VoidFn) => {\n fn();\n};\n\n// eslint-disable-next-line valid-jsdoc\n/** 创建共享存储对象 Shared Store Object\n * @example\n * // 创建状态\n * const store = sso({ count: 0 });\n * // 使用\n * console.log(store.count); // 0\n * // 修改\n * store.count++;\n * console.log(store.count); // 1\n */\nconst sso = <T extends Data>(data: T): Store<T> => {\n if (__DEV__ && Object.prototype.toString.call(data) !== '[object Object]') {\n throw new Error('object required');\n }\n\n const state: State<T> = {} as State<T>;\n const methods: Methods<T> = {} as Methods<T>;\n\n Object.keys(data).forEach((key: keyof T) => {\n const initVal = data[key];\n\n if (initVal instanceof Function) {\n methods[key] = (...args: unknown[]) => {\n isInMethod = true;\n const res = initVal(...args);\n\n isInMethod = false;\n return res;\n };\n return;\n }\n\n const listeners = new Set<VoidFn>();\n\n state[key] = {\n subscribe: (listener) => {\n listeners.add(listener);\n return () => listeners.delete(listener);\n },\n getSnapshot: () => data[key],\n setSnapshot: (val) => {\n if (val !== data[key]) {\n data[key] = val;\n run(() => listeners.forEach((listener) => listener()));\n }\n },\n useSnapshot: () => {\n return useSyncExternalStore(\n state[key].subscribe,\n state[key].getSnapshot,\n state[key].getSnapshot\n );\n },\n };\n });\n\n const setState = (key: keyof T, val: T[keyof T] | Updater<T[keyof T]>) => {\n if (key in data) {\n if (key in state) {\n const newVal = val instanceof Function ? val(data[key]) : val;\n\n state[key].setSnapshot(newVal);\n } else {\n __DEV_ERR__(`\\`${key as string}\\` is a method, can not update`);\n }\n } else {\n __DEV_ERR__(`\\`${key as string}\\` is not initialized in store`);\n }\n };\n\n return new Proxy(\n // eslint-disable-next-line no-undefined\n (() => undefined) as unknown as Store<T>,\n {\n get: (_, key: keyof T) => {\n if (key in methods) {\n return methods[key];\n }\n\n if (isInMethod) {\n return data[key];\n }\n\n try {\n return state[key].useSnapshot();\n } catch (err) {\n return data[key];\n }\n },\n set: (_, key: keyof T, val: T[keyof T]) => {\n setState(key, val);\n return true;\n },\n apply: (_, __, [key, updater]: [keyof T, Updater<T[keyof T]>]) => {\n if (typeof updater === 'function') {\n setState(key, updater);\n } else {\n __DEV_ERR__(`updater for \\`${key as string}\\` should be a function`);\n }\n },\n } as ProxyHandler<Store<T>>\n );\n};\n\nsso.config = ({ batch }: { batch: typeof run }) => {\n run = batch;\n};\n\nexport default sso;\n"],"names":["useSyncExternalStore","__DEV__","process","env","NODE_ENV","__DEV_ERR__","msg","Error","isInMethod","run","fn","sso","data","Object","prototype","toString","call","state","methods","keys","forEach","key","initVal","Function","args","res","listeners","Set","subscribe","listener","add","delete","getSnapshot","setSnapshot","val","useSnapshot","setState","newVal","Proxy","undefined","get","_","err","set","apply","__","updater","config","batch"],"mappings":"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"}
|
package/lib/styles/normalize.css
CHANGED
|
@@ -1,36 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/* stylelint-disable-next-line property-no-vendor-prefix */
|
|
4
|
-
-webkit-text-size-adjust: 100%;
|
|
5
|
-
}
|
|
1
|
+
@import url('tailwindcss/utilities');
|
|
2
|
+
@import url('./variables.css');
|
|
6
3
|
|
|
4
|
+
html,
|
|
7
5
|
body {
|
|
6
|
+
overflow: hidden;
|
|
8
7
|
margin: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
width: 100vw;
|
|
10
|
+
height: 100vh;
|
|
11
|
+
font-size: var(--font-size);
|
|
12
|
+
font-family: var(--font-family);
|
|
13
|
+
color: var(--text-color);
|
|
14
|
+
background-color: var(--body-background);
|
|
15
|
+
line-height: 1.8;
|
|
16
|
+
transition-duration: var(--transition-duration);
|
|
17
|
+
transition-property: background-color, color;
|
|
18
|
+
transition-timing-function: var(--transition-timing-function);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
#root {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
-webkit-overflow-scrolling: touch;
|
|
9
27
|
}
|
|
10
28
|
|
|
11
29
|
main {
|
|
12
30
|
display: block;
|
|
13
31
|
}
|
|
14
32
|
|
|
33
|
+
#root > main {
|
|
34
|
+
overflow-y: auto;
|
|
35
|
+
width: 100%;
|
|
36
|
+
flex: 1;
|
|
37
|
+
animation: route-in var(--transition-duration);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
input,
|
|
41
|
+
textarea {
|
|
42
|
+
caret-color: var(--primary-color-bg);;
|
|
43
|
+
}
|
|
44
|
+
|
|
15
45
|
h1 {
|
|
16
|
-
font-size: 2em;
|
|
17
46
|
margin: 0.67em 0;
|
|
47
|
+
font-size: 2em;
|
|
18
48
|
}
|
|
19
49
|
|
|
20
50
|
hr {
|
|
21
|
-
box-sizing: content-box;
|
|
22
|
-
height: 0;
|
|
23
51
|
overflow: visible;
|
|
52
|
+
height: 0;
|
|
53
|
+
box-sizing: content-box;
|
|
24
54
|
}
|
|
25
55
|
|
|
26
56
|
pre {
|
|
27
|
-
font-family: monospace;
|
|
28
57
|
font-size: 1em;
|
|
58
|
+
font-family: monospace;
|
|
29
59
|
}
|
|
30
60
|
|
|
31
61
|
a {
|
|
32
|
-
background-color: transparent;
|
|
33
62
|
text-decoration: none;
|
|
63
|
+
background-color: transparent;
|
|
34
64
|
cursor: pointer;
|
|
35
65
|
}
|
|
36
66
|
|
|
@@ -48,8 +78,8 @@ strong {
|
|
|
48
78
|
code,
|
|
49
79
|
kbd,
|
|
50
80
|
samp {
|
|
51
|
-
font-family: monospace;
|
|
52
81
|
font-size: 1em;
|
|
82
|
+
font-family: monospace;
|
|
53
83
|
}
|
|
54
84
|
|
|
55
85
|
small {
|
|
@@ -58,9 +88,9 @@ small {
|
|
|
58
88
|
|
|
59
89
|
sub,
|
|
60
90
|
sup {
|
|
91
|
+
position: relative;
|
|
61
92
|
font-size: 75%;
|
|
62
93
|
line-height: 0;
|
|
63
|
-
position: relative;
|
|
64
94
|
vertical-align: baseline;
|
|
65
95
|
}
|
|
66
96
|
|
|
@@ -78,7 +108,6 @@ img {
|
|
|
78
108
|
|
|
79
109
|
img,
|
|
80
110
|
button {
|
|
81
|
-
/* 消除锯齿 */
|
|
82
111
|
outline: 1px solid transparent;
|
|
83
112
|
}
|
|
84
113
|
|
|
@@ -87,10 +116,10 @@ input,
|
|
|
87
116
|
optgroup,
|
|
88
117
|
select,
|
|
89
118
|
textarea {
|
|
90
|
-
|
|
119
|
+
margin: 0;
|
|
91
120
|
font-size: 100%;
|
|
121
|
+
font-family: inherit;
|
|
92
122
|
line-height: 1.15;
|
|
93
|
-
margin: 0;
|
|
94
123
|
}
|
|
95
124
|
|
|
96
125
|
button,
|
|
@@ -107,8 +136,7 @@ button,
|
|
|
107
136
|
[type='button'],
|
|
108
137
|
[type='reset'],
|
|
109
138
|
[type='submit'] {
|
|
110
|
-
|
|
111
|
-
-webkit-appearance: button;
|
|
139
|
+
appearance: button;
|
|
112
140
|
}
|
|
113
141
|
|
|
114
142
|
button::-moz-focus-inner,
|
|
@@ -123,7 +151,7 @@ button:-moz-focusring,
|
|
|
123
151
|
[type='button']:-moz-focusring,
|
|
124
152
|
[type='reset']:-moz-focusring,
|
|
125
153
|
[type='submit']:-moz-focusring {
|
|
126
|
-
outline: 1px dotted
|
|
154
|
+
outline: 1px dotted var(--primary-color-outline);
|
|
127
155
|
}
|
|
128
156
|
|
|
129
157
|
fieldset {
|
|
@@ -131,12 +159,12 @@ fieldset {
|
|
|
131
159
|
}
|
|
132
160
|
|
|
133
161
|
legend {
|
|
134
|
-
box-sizing: border-box;
|
|
135
|
-
color: inherit;
|
|
136
162
|
display: table;
|
|
137
|
-
max-width: 100%;
|
|
138
163
|
padding: 0;
|
|
164
|
+
max-width: 100%;
|
|
139
165
|
white-space: normal;
|
|
166
|
+
color: inherit;
|
|
167
|
+
box-sizing: border-box;
|
|
140
168
|
}
|
|
141
169
|
|
|
142
170
|
progress {
|
|
@@ -147,6 +175,22 @@ textarea {
|
|
|
147
175
|
overflow: auto;
|
|
148
176
|
}
|
|
149
177
|
|
|
178
|
+
details {
|
|
179
|
+
display: block;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
summary {
|
|
183
|
+
display: list-item;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
template {
|
|
187
|
+
display: none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
[hidden] {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
|
|
150
194
|
[type='checkbox'],
|
|
151
195
|
[type='radio'] {
|
|
152
196
|
box-sizing: border-box;
|
|
@@ -159,34 +203,67 @@ textarea {
|
|
|
159
203
|
}
|
|
160
204
|
|
|
161
205
|
[type='search'] {
|
|
162
|
-
|
|
163
|
-
-webkit-appearance: textfield;
|
|
206
|
+
appearance: textfield;
|
|
164
207
|
outline-offset: -2px;
|
|
165
208
|
}
|
|
166
209
|
|
|
167
210
|
[type='search']::-webkit-search-decoration {
|
|
168
|
-
|
|
169
|
-
-webkit-appearance: none;
|
|
211
|
+
appearance: none;
|
|
170
212
|
}
|
|
171
213
|
|
|
172
214
|
::-webkit-file-upload-button {
|
|
173
|
-
|
|
174
|
-
-webkit-appearance: button;
|
|
215
|
+
appearance: button;
|
|
175
216
|
font: inherit;
|
|
176
217
|
}
|
|
177
218
|
|
|
178
|
-
|
|
179
|
-
|
|
219
|
+
::-webkit-scrollbar {
|
|
220
|
+
width: 4px;
|
|
221
|
+
height: 4px;
|
|
180
222
|
}
|
|
181
223
|
|
|
182
|
-
|
|
183
|
-
|
|
224
|
+
::-webkit-scrollbar-track,
|
|
225
|
+
::-webkit-scrollbar-thumb {
|
|
226
|
+
border-radius: 5px;
|
|
227
|
+
background-color: transparent;
|
|
184
228
|
}
|
|
185
229
|
|
|
186
|
-
|
|
187
|
-
|
|
230
|
+
:hover::-webkit-scrollbar-thumb {
|
|
231
|
+
background-color: var(--primary-color-bg);
|
|
188
232
|
}
|
|
189
233
|
|
|
190
|
-
|
|
234
|
+
::-webkit-scrollbar-thumb:hover {
|
|
235
|
+
background-color: var(--primary-color-hover);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
::-webkit-scrollbar-thumb:active {
|
|
239
|
+
background-color: var(--primary-color-active);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
::-webkit-scrollbar-button {
|
|
191
243
|
display: none;
|
|
192
244
|
}
|
|
245
|
+
|
|
246
|
+
@keyframes route-in {
|
|
247
|
+
from {
|
|
248
|
+
transform: translate3d(0, 16px, 0);
|
|
249
|
+
opacity: 0;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
to {
|
|
253
|
+
transform: translate3d(0, 0, 0);
|
|
254
|
+
opacity: 1;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@keyframes route-out {
|
|
259
|
+
from {
|
|
260
|
+
transform: translate3d(0, 0, 0);
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
to {
|
|
265
|
+
z-index: -1;
|
|
266
|
+
transform: translate3d(0, 1rem, 0);
|
|
267
|
+
opacity: 0;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-size: 14px;
|
|
3
|
+
--font-size-sm: 12px;
|
|
4
|
+
--font-size-xs: 10px;
|
|
5
|
+
--font-size-lg: 16px;
|
|
6
|
+
--border-base: 1px solid var(--border-color);
|
|
7
|
+
--border-color: rgb(5 5 5 / 6%);
|
|
8
|
+
--border-radius: 8px;
|
|
9
|
+
--body-background: #f8f8f8;
|
|
10
|
+
--component-background: rgb(255 255 255 / 80%);
|
|
11
|
+
--table-header-bg: rgb(0 0 0 / 2%);
|
|
12
|
+
--text-color: rgb(0 0 0 / 65%);
|
|
13
|
+
--text-secondary: #4e4e4e;
|
|
14
|
+
--text-heading: #1b1b1b;
|
|
15
|
+
--text-selection-bg: var(--primary-color-bg);
|
|
16
|
+
--text-shadow-color: rgb(0 0 0 / 10%);
|
|
17
|
+
--box-shadow-base: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%),
|
|
18
|
+
0 9px 28px 8px rgb(0 0 0 / 5%);
|
|
19
|
+
--font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue',
|
|
20
|
+
'Arial', 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
21
|
+
'Noto Color Emoji', 'Helvetica', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans';
|
|
22
|
+
--transition-duration: 0.3s;
|
|
23
|
+
--transition-timing-function: cubic-bezier(0.94, -0.1, 0.1, 1.2);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-theme='dark'] {
|
|
27
|
+
--text-color: #ffffffd9;
|
|
28
|
+
--text-secondary: #cdcdcd;
|
|
29
|
+
--text-heading: rgb(255 255 255 / 85%);
|
|
30
|
+
--text-shadow-color: rgb(255 255 255 / 10%);
|
|
31
|
+
--body-background: #000;
|
|
32
|
+
--component-background: rgb(20 20 20 / 80%);
|
|
33
|
+
--header-bg: rgb(20 20 20 / 90%);
|
|
34
|
+
--border-color: #303030;
|
|
35
|
+
}
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var translatFunction=function(func,val){try{if(typeof val!=="undefined"){return eval(func)}}catch(error){console.warn(error)}return func};export var watermark=function(param){var text=param.text,_param_x=param.x,x=_param_x===void 0?19.5:_param_x,_param_y=param.y,y=_param_y===void 0?55:_param_y,_param_width=param.width,width=_param_width===void 0?100:_param_width,_param_height=param.height,height=_param_height===void 0?100:_param_height,_param_fontSize=param.fontSize,fontSize=_param_fontSize===void 0?14:_param_fontSize,_param_angle=param.angle,angle=_param_angle===void 0?-45:_param_angle,_param_opacity=param.opacity,opacity=_param_opacity===void 0?.1:_param_opacity,_param_color=param.color,color=_param_color===void 0?"#000":_param_color;var svgStr='<svg xmlns="http://www.w3.org/2000/svg" width="'+width+'" height="'+height+'"><g><title>Layer 1</title><text x="'+x+'" y="'+y+'" textAnchor="middle" dominantBaseline="middle" stroke-opacity="'+opacity+'" stroke="'+color+'" fill="none" transform="rotate('+angle+" "+width/2+","+height/2+')" font-size="'+fontSize+'" font-family="-apple-system, BlinkMacSystemFont, '+"'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Helvetica', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans'"+'">'+text+"</text></g></svg>";return"data:image/svg+xml;base64,"+window.btoa(
|
|
1
|
+
export var translatFunction=function(func,val){try{if(typeof val!=="undefined"){return eval(func)}}catch(error){console.warn(error)}return func};export var watermark=function(param){var text=param.text,_param_x=param.x,x=_param_x===void 0?19.5:_param_x,_param_y=param.y,y=_param_y===void 0?55:_param_y,_param_width=param.width,width=_param_width===void 0?100:_param_width,_param_height=param.height,height=_param_height===void 0?100:_param_height,_param_fontSize=param.fontSize,fontSize=_param_fontSize===void 0?14:_param_fontSize,_param_angle=param.angle,angle=_param_angle===void 0?-45:_param_angle,_param_opacity=param.opacity,opacity=_param_opacity===void 0?.1:_param_opacity,_param_color=param.color,color=_param_color===void 0?"#000":_param_color;var svgStr='<svg xmlns="http://www.w3.org/2000/svg" width="'+width+'" height="'+height+'"><g><title>Layer 1</title><text x="'+x+'" y="'+y+'" textAnchor="middle" dominantBaseline="middle" stroke-opacity="'+opacity+'" stroke="'+color+'" fill="none" transform="rotate('+angle+" "+width/2+","+height/2+')" font-size="'+fontSize+'" font-family="-apple-system, BlinkMacSystemFont, '+"'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Helvetica', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans'"+'">'+text+"</text></g></svg>";return"data:image/svg+xml;base64,"+window.btoa(decodeURIComponent(encodeURIComponent(svgStr)))};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const translatFunction = (func: string, val?: number | string | any): string => {\n try {\n if (typeof val !== 'undefined') {\n return eval(func);\n }\n } catch (error) {\n // eslint-disable-next-line no-console\n console.warn(error);\n }\n return func;\n};\n\nexport type WatermarkParamsType = {\n text: string;\n x?: number;\n y?: number;\n width?: number;\n height?: number;\n fontSize?: number;\n angle?: number;\n opacity?: number;\n color?: string;\n};\n\nexport const watermark = ({\n text,\n x = 19.5,\n y = 55,\n width = 100,\n height = 100,\n fontSize = 14,\n angle = -45,\n opacity = 0.1,\n color = '#000',\n}: WatermarkParamsType): string => {\n const svgStr =\n '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"' +\n width +\n '\" height=\"' +\n height +\n '\"><g><title>Layer 1</title><text x=\"' +\n x +\n '\" y=\"' +\n y +\n '\" textAnchor=\"middle\" dominantBaseline=\"middle\" stroke-opacity=\"' +\n opacity +\n '\" stroke=\"' +\n color +\n '\" fill=\"none\" transform=\"rotate(' +\n angle +\n ' ' +\n width / 2 +\n ',' +\n height / 2 +\n ')\" font-size=\"' +\n fontSize +\n '\" font-family=\"-apple-system, BlinkMacSystemFont, ' +\n \"'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Helvetica', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans'\" +\n '\">' +\n text +\n '</text></g></svg>';\n\n return 'data:image/svg+xml;base64,' + window.btoa(decodeURIComponent(encodeURIComponent(svgStr)));\n};\n"],"names":["translatFunction","func","val","eval","error","console","warn","watermark","text","x","y","width","height","fontSize","angle","opacity","color","svgStr","window","btoa","decodeURIComponent","encodeURIComponent"],"mappings":"AACA,OAAO,IAAMA,iBAAmB,SAACC,KAAcC,IAAwC,CACrF,GAAI,CACF,GAAI,OAAOA,MAAQ,YAAa,CAC9B,OAAOC,KAAKF,KACd,CAAC,AACH,CAAE,MAAOG,MAAO,CAEdC,QAAQC,IAAI,CAACF,MACf,CACA,OAAOH,IACT,CAAE,AAcF,QAAO,IAAMM,UAAY,eAUU,KATjCC,WAAAA,oBACAC,EAAAA,oBAAI,6BACJC,EAAAA,oBAAI,+BACJC,MAAAA,4BAAQ,qCACRC,OAAAA,8BAAS,wCACTC,SAAAA,kCAAW,sCACXC,MAAAA,4BAAQ,CAAC,qCACTC,QAAAA,gCAAU,qCACVC,MAAAA,4BAAQ,oBAER,IAAMC,OACJ,kDACAN,MACA,aACAC,OACA,uCACAH,EACA,QACAC,EACA,mEACAK,QACA,aACAC,MACA,mCACAF,MACA,IACAH,MAAQ,EACR,IACAC,OAAS,EACT,iBACAC,SACA,qDACA,8NACA,KACAL,KACA,oBAEF,MAAO,6BAA+BU,OAAOC,IAAI,CAACC,mBAAmBC,mBAAmBJ,SAC1F,CAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneko/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18.1",
|
|
4
4
|
"description": "core",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,72 +15,68 @@
|
|
|
15
15
|
"author": "moneko",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@emotion/
|
|
18
|
+
"@emotion/css": "11.10.6",
|
|
19
19
|
"@mapbox/rehype-prism": "0.8.0",
|
|
20
|
-
"@mdx-js/loader": "2.
|
|
21
|
-
"@moneko/common": "1.0.
|
|
20
|
+
"@mdx-js/loader": "2.3.0",
|
|
21
|
+
"@moneko/common": "1.0.11",
|
|
22
22
|
"@parcel/css": "1.14.0",
|
|
23
|
-
"@pmmmwh/react-refresh-webpack-plugin": "0.5.
|
|
23
|
+
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
|
|
24
24
|
"@soda/friendly-errors-webpack-plugin": "1.8.1",
|
|
25
|
-
"@swc/
|
|
26
|
-
"@swc/core": "1.3.21",
|
|
25
|
+
"@swc/core": "1.3.37",
|
|
27
26
|
"@swc/helpers": "0.4.14",
|
|
28
|
-
"@swc/plugin-emotion": "2.5.21",
|
|
29
|
-
"@swc/plugin-transform-imports": "1.5.21",
|
|
30
27
|
"add-asset-html-webpack-plugin": "5.0.2",
|
|
31
|
-
"core-js": "3.
|
|
28
|
+
"core-js": "3.29.1",
|
|
32
29
|
"cross-env": "7.0.3",
|
|
33
|
-
"css-loader": "6.7.
|
|
30
|
+
"css-loader": "6.7.3",
|
|
34
31
|
"css-minimizer-webpack-plugin": "4.2.2",
|
|
35
32
|
"css-unicode-loader": "1.0.3",
|
|
36
33
|
"external-remotes-plugin": "1.0.0",
|
|
37
34
|
"fastclick": "1.0.6",
|
|
38
35
|
"html-webpack-plugin": "5.5.0",
|
|
39
|
-
"i18n-hooks": "1.0.16",
|
|
40
36
|
"less": "4.1.3",
|
|
41
37
|
"less-loader": "11.1.0",
|
|
42
|
-
"mini-css-extract-plugin": "2.
|
|
43
|
-
"mini-idc": "1.0.17",
|
|
38
|
+
"mini-css-extract-plugin": "2.7.3",
|
|
44
39
|
"mini-svg-data-uri": "1.4.4",
|
|
45
40
|
"path-to-regexp": "6.2.1",
|
|
46
41
|
"portfinder": "1.0.32",
|
|
47
|
-
"react-activation": "0.12.
|
|
42
|
+
"react-activation": "0.12.2",
|
|
48
43
|
"react-refresh": "0.14.0",
|
|
49
|
-
"react-refresh-typescript": "2.0.
|
|
50
|
-
"react-router": "6.
|
|
51
|
-
"react-router-dom": "6.
|
|
44
|
+
"react-refresh-typescript": "2.0.8",
|
|
45
|
+
"react-router": "6.9.0",
|
|
46
|
+
"react-router-dom": "6.9.0",
|
|
52
47
|
"rehype-accessible-emojis": "0.3.2",
|
|
53
48
|
"rehype-figure": "1.0.1",
|
|
54
49
|
"style-loader": "3.3.1",
|
|
55
50
|
"style-resources-loader": "1.5.0",
|
|
56
51
|
"swc-loader": "0.2.3",
|
|
57
|
-
"
|
|
52
|
+
"swc-plugin-another-transform-imports": "0.2.1",
|
|
58
53
|
"ts-import-plugin": "2.0.0",
|
|
59
|
-
"ts-loader": "9.4.
|
|
60
|
-
"typescript": "4.
|
|
61
|
-
"
|
|
62
|
-
"webpack": "5.
|
|
63
|
-
"webpack-
|
|
54
|
+
"ts-loader": "9.4.2",
|
|
55
|
+
"typescript": "4.9.5",
|
|
56
|
+
"use-sync-external-store": "1.2.0",
|
|
57
|
+
"webpack": "5.76.1",
|
|
58
|
+
"webpack-bundle-analyzer": "4.8.0",
|
|
59
|
+
"webpack-cli": "5.0.1",
|
|
64
60
|
"webpack-dev-server": "4.11.1",
|
|
65
61
|
"webpack-merge": "5.8.0",
|
|
66
62
|
"webpackbar": "5.0.2",
|
|
67
63
|
"xml2js": "0.4.23"
|
|
68
64
|
},
|
|
69
65
|
"devDependencies": {
|
|
66
|
+
"@swc/cli": "0.1.62",
|
|
70
67
|
"@types/mini-css-extract-plugin": "^2.5.1",
|
|
71
|
-
"@types/react": "^18.0.
|
|
72
|
-
"@types/react-dom": "^18.0.
|
|
68
|
+
"@types/react": "^18.0.28",
|
|
69
|
+
"@types/react-dom": "^18.0.11",
|
|
73
70
|
"@types/react-router-dom": "^5.3.3",
|
|
74
71
|
"@types/shelljs": "^0.8.11",
|
|
75
|
-
"@types/
|
|
76
|
-
"@types/
|
|
72
|
+
"@types/use-sync-external-store": "^0.0.3",
|
|
73
|
+
"@types/webpack-bundle-analyzer": "^4.6.0",
|
|
77
74
|
"@types/webpack-env": "^1.18.0",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"eslint-config-neko": "^1.0.8",
|
|
75
|
+
"antd": "5.3.1",
|
|
76
|
+
"eslint-config-neko": "^1.0.20",
|
|
81
77
|
"react": "^18.2.0",
|
|
82
78
|
"shelljs": "^0.8.5",
|
|
83
|
-
"stylelint-config-moneko": "^1.0.
|
|
79
|
+
"stylelint-config-moneko": "^1.0.9"
|
|
84
80
|
},
|
|
85
81
|
"files": [
|
|
86
82
|
"lib",
|