hy-dispatch-ui-v3 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +3 -0
- package/dist/tailwind.css +1083 -0
- package/es/bussiness/index.mjs +2 -0
- package/es/bussiness/index.mjs.map +1 -0
- package/es/components/appConfirmDialog/appConfirmDialog.vue.mjs +204 -0
- package/es/components/appConfirmDialog/appConfirmDialog.vue.mjs.map +1 -0
- package/es/components/appConfirmDialog/appConfirmMethod.mjs +73 -0
- package/es/components/appConfirmDialog/appConfirmMethod.mjs.map +1 -0
- package/es/components/appConfirmDialog/index.mjs +8 -0
- package/es/components/appConfirmDialog/index.mjs.map +1 -0
- package/es/components/appConfirmDialog/style/appConfirmDialog.scss +5 -0
- package/es/components/appDatePicker/appDatePicker.vue.mjs +99 -0
- package/es/components/appDatePicker/appDatePicker.vue.mjs.map +1 -0
- package/es/components/appDatePicker/index.mjs +7 -0
- package/es/components/appDatePicker/index.mjs.map +1 -0
- package/es/components/appDatePicker/style/appDatePicker.scss +0 -0
- package/es/components/appForm/appForm.vue.mjs +331 -0
- package/es/components/appForm/appForm.vue.mjs.map +1 -0
- package/es/components/appForm/index.mjs +8 -0
- package/es/components/appForm/index.mjs.map +1 -0
- package/es/components/appForm/js/index.mjs +87 -0
- package/es/components/appForm/js/index.mjs.map +1 -0
- package/es/components/appForm/js/useAppForm.mjs +149 -0
- package/es/components/appForm/js/useAppForm.mjs.map +1 -0
- package/es/components/appForm/style/appForm.scss +16 -0
- package/es/components/appOrgCascader/appOrgCascader.vue.mjs +229 -0
- package/es/components/appOrgCascader/appOrgCascader.vue.mjs.map +1 -0
- package/es/components/appOrgCascader/index.mjs +7 -0
- package/es/components/appOrgCascader/index.mjs.map +1 -0
- package/es/components/appOrgCascader/style/appOrgCascader.scss +0 -0
- package/es/components/appSearch/appSearch.vue.mjs +408 -0
- package/es/components/appSearch/appSearch.vue.mjs.map +1 -0
- package/es/components/appSearch/index.mjs +8 -0
- package/es/components/appSearch/index.mjs.map +1 -0
- package/es/components/appSearch/js/index.mjs +114 -0
- package/es/components/appSearch/js/index.mjs.map +1 -0
- package/es/components/appSearch/js/useAppSearch.mjs +178 -0
- package/es/components/appSearch/js/useAppSearch.mjs.map +1 -0
- package/es/components/appSearch/style/appSearch.scss +53 -0
- package/es/components/appTable/appTable.vue.mjs +578 -0
- package/es/components/appTable/appTable.vue.mjs.map +1 -0
- package/es/components/appTable/cpns/columnSelect.vue.mjs +414 -0
- package/es/components/appTable/cpns/columnSelect.vue.mjs.map +1 -0
- package/es/components/appTable/index.mjs +8 -0
- package/es/components/appTable/index.mjs.map +1 -0
- package/es/components/appTable/js/index.mjs +304 -0
- package/es/components/appTable/js/index.mjs.map +1 -0
- package/es/components/appTable/js/search.mjs +129 -0
- package/es/components/appTable/js/search.mjs.map +1 -0
- package/es/components/appTable/js/useAppTable.mjs +63 -0
- package/es/components/appTable/js/useAppTable.mjs.map +1 -0
- package/es/components/appTable/style/appTable.scss +15 -0
- package/es/components/appTooltip/appTooltip.vue.mjs +94 -0
- package/es/components/appTooltip/appTooltip.vue.mjs.map +1 -0
- package/es/components/appTooltip/index.mjs +7 -0
- package/es/components/appTooltip/index.mjs.map +1 -0
- package/es/components/appTooltip/style/appTooltip.scss +0 -0
- package/es/components/index.mjs +12 -0
- package/es/components/index.mjs.map +1 -0
- package/es/components/svgIcon/iconBox.vue.mjs +99 -0
- package/es/components/svgIcon/iconBox.vue.mjs.map +1 -0
- package/es/components/svgIcon/index.mjs +9 -0
- package/es/components/svgIcon/index.mjs.map +1 -0
- package/es/components/svgIcon/style/iconBox.scss +13 -0
- package/es/components/svgIcon/style/svgIcon.scss +12 -0
- package/es/components/svgIcon/svgIcon.vue.mjs +47 -0
- package/es/components/svgIcon/svgIcon.vue.mjs.map +1 -0
- package/es/config/index.mjs +2 -0
- package/es/config/index.mjs.map +1 -0
- package/es/constants/index.mjs +4 -0
- package/es/constants/index.mjs.map +1 -0
- package/es/constants/keys.mjs +2 -0
- package/es/constants/keys.mjs.map +1 -0
- package/es/hooks/index.mjs +5 -0
- package/es/hooks/index.mjs.map +1 -0
- package/es/hooks/useApi.mjs +10 -0
- package/es/hooks/useApi.mjs.map +1 -0
- package/es/hooks/useGlobalConfig.mjs +56 -0
- package/es/hooks/useGlobalConfig.mjs.map +1 -0
- package/es/hooks/useLocale.mjs +34 -0
- package/es/hooks/useLocale.mjs.map +1 -0
- package/es/hooks/useMixins.mjs +19 -0
- package/es/hooks/useMixins.mjs.map +1 -0
- package/es/index.mjs +30 -0
- package/es/index.mjs.map +1 -0
- package/es/locale/en_US.mjs +67 -0
- package/es/locale/en_US.mjs.map +1 -0
- package/es/locale/index.mjs +3 -0
- package/es/locale/index.mjs.map +1 -0
- package/es/locale/zh_CN.mjs +67 -0
- package/es/locale/zh_CN.mjs.map +1 -0
- package/es/make-installer.mjs +29 -0
- package/es/make-installer.mjs.map +1 -0
- package/es/store/index.mjs +7 -0
- package/es/store/index.mjs.map +1 -0
- package/es/store/maintain.mjs +90 -0
- package/es/store/maintain.mjs.map +1 -0
- package/es/style/index.scss +46 -0
- package/es/style/tailwind.scss +3 -0
- package/es/style/theme.scss +123 -0
- package/es/utils/adaptive.mjs +30 -0
- package/es/utils/adaptive.mjs.map +1 -0
- package/es/utils/bus.mjs +6 -0
- package/es/utils/bus.mjs.map +1 -0
- package/es/utils/crypto.mjs +21 -0
- package/es/utils/crypto.mjs.map +1 -0
- package/es/utils/date.mjs +25 -0
- package/es/utils/date.mjs.map +1 -0
- package/es/utils/handler.mjs +83 -0
- package/es/utils/handler.mjs.map +1 -0
- package/es/utils/index.mjs +7 -0
- package/es/utils/index.mjs.map +1 -0
- package/es/utils/is.mjs +19 -0
- package/es/utils/is.mjs.map +1 -0
- package/es/version.mjs +4 -0
- package/es/version.mjs.map +1 -0
- package/lib/bussiness/index.js +3 -0
- package/lib/bussiness/index.js.map +1 -0
- package/lib/components/appConfirmDialog/appConfirmDialog.vue.js +208 -0
- package/lib/components/appConfirmDialog/appConfirmDialog.vue.js.map +1 -0
- package/lib/components/appConfirmDialog/appConfirmMethod.js +77 -0
- package/lib/components/appConfirmDialog/appConfirmMethod.js.map +1 -0
- package/lib/components/appConfirmDialog/index.js +13 -0
- package/lib/components/appConfirmDialog/index.js.map +1 -0
- package/lib/components/appConfirmDialog/style/appConfirmDialog.scss +5 -0
- package/lib/components/appDatePicker/appDatePicker.vue.js +103 -0
- package/lib/components/appDatePicker/appDatePicker.vue.js.map +1 -0
- package/lib/components/appDatePicker/index.js +12 -0
- package/lib/components/appDatePicker/index.js.map +1 -0
- package/lib/components/appDatePicker/style/appDatePicker.scss +0 -0
- package/lib/components/appForm/appForm.vue.js +335 -0
- package/lib/components/appForm/appForm.vue.js.map +1 -0
- package/lib/components/appForm/index.js +14 -0
- package/lib/components/appForm/index.js.map +1 -0
- package/lib/components/appForm/js/index.js +93 -0
- package/lib/components/appForm/js/index.js.map +1 -0
- package/lib/components/appForm/js/useAppForm.js +152 -0
- package/lib/components/appForm/js/useAppForm.js.map +1 -0
- package/lib/components/appForm/style/appForm.scss +16 -0
- package/lib/components/appOrgCascader/appOrgCascader.vue.js +233 -0
- package/lib/components/appOrgCascader/appOrgCascader.vue.js.map +1 -0
- package/lib/components/appOrgCascader/index.js +12 -0
- package/lib/components/appOrgCascader/index.js.map +1 -0
- package/lib/components/appOrgCascader/style/appOrgCascader.scss +0 -0
- package/lib/components/appSearch/appSearch.vue.js +412 -0
- package/lib/components/appSearch/appSearch.vue.js.map +1 -0
- package/lib/components/appSearch/index.js +14 -0
- package/lib/components/appSearch/index.js.map +1 -0
- package/lib/components/appSearch/js/index.js +122 -0
- package/lib/components/appSearch/js/index.js.map +1 -0
- package/lib/components/appSearch/js/useAppSearch.js +181 -0
- package/lib/components/appSearch/js/useAppSearch.js.map +1 -0
- package/lib/components/appSearch/style/appSearch.scss +53 -0
- package/lib/components/appTable/appTable.vue.js +582 -0
- package/lib/components/appTable/appTable.vue.js.map +1 -0
- package/lib/components/appTable/cpns/columnSelect.vue.js +418 -0
- package/lib/components/appTable/cpns/columnSelect.vue.js.map +1 -0
- package/lib/components/appTable/index.js +14 -0
- package/lib/components/appTable/index.js.map +1 -0
- package/lib/components/appTable/js/index.js +311 -0
- package/lib/components/appTable/js/index.js.map +1 -0
- package/lib/components/appTable/js/search.js +131 -0
- package/lib/components/appTable/js/search.js.map +1 -0
- package/lib/components/appTable/js/useAppTable.js +65 -0
- package/lib/components/appTable/js/useAppTable.js.map +1 -0
- package/lib/components/appTable/style/appTable.scss +15 -0
- package/lib/components/appTooltip/appTooltip.vue.js +98 -0
- package/lib/components/appTooltip/appTooltip.vue.js.map +1 -0
- package/lib/components/appTooltip/index.js +12 -0
- package/lib/components/appTooltip/index.js.map +1 -0
- package/lib/components/appTooltip/style/appTooltip.scss +0 -0
- package/lib/components/index.js +29 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/svgIcon/iconBox.vue.js +103 -0
- package/lib/components/svgIcon/iconBox.vue.js.map +1 -0
- package/lib/components/svgIcon/index.js +15 -0
- package/lib/components/svgIcon/index.js.map +1 -0
- package/lib/components/svgIcon/style/iconBox.scss +13 -0
- package/lib/components/svgIcon/style/svgIcon.scss +12 -0
- package/lib/components/svgIcon/svgIcon.vue.js +51 -0
- package/lib/components/svgIcon/svgIcon.vue.js.map +1 -0
- package/lib/config/index.js +3 -0
- package/lib/config/index.js.map +1 -0
- package/lib/constants/index.js +6 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/keys.js +3 -0
- package/lib/constants/keys.js.map +1 -0
- package/lib/hooks/index.js +21 -0
- package/lib/hooks/index.js.map +1 -0
- package/lib/hooks/useApi.js +13 -0
- package/lib/hooks/useApi.js.map +1 -0
- package/lib/hooks/useGlobalConfig.js +59 -0
- package/lib/hooks/useGlobalConfig.js.map +1 -0
- package/lib/hooks/useLocale.js +41 -0
- package/lib/hooks/useLocale.js.map +1 -0
- package/lib/hooks/useMixins.js +21 -0
- package/lib/hooks/useMixins.js.map +1 -0
- package/lib/index.js +85 -0
- package/lib/index.js.map +1 -0
- package/lib/locale/en_US.js +71 -0
- package/lib/locale/en_US.js.map +1 -0
- package/lib/locale/index.js +10 -0
- package/lib/locale/index.js.map +1 -0
- package/lib/locale/zh_CN.js +71 -0
- package/lib/locale/zh_CN.js.map +1 -0
- package/lib/make-installer.js +33 -0
- package/lib/make-installer.js.map +1 -0
- package/lib/store/index.js +10 -0
- package/lib/store/index.js.map +1 -0
- package/lib/store/maintain.js +92 -0
- package/lib/store/maintain.js.map +1 -0
- package/lib/style/index.scss +46 -0
- package/lib/style/tailwind.scss +3 -0
- package/lib/style/theme.scss +123 -0
- package/lib/utils/adaptive.js +35 -0
- package/lib/utils/adaptive.js.map +1 -0
- package/lib/utils/bus.js +8 -0
- package/lib/utils/bus.js.map +1 -0
- package/lib/utils/crypto.js +25 -0
- package/lib/utils/crypto.js.map +1 -0
- package/lib/utils/date.js +27 -0
- package/lib/utils/date.js.map +1 -0
- package/lib/utils/handler.js +89 -0
- package/lib/utils/handler.js.map +1 -0
- package/lib/utils/index.js +38 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/is.js +32 -0
- package/lib/utils/is.js.map +1 -0
- package/lib/version.js +6 -0
- package/lib/version.js.map +1 -0
- package/package.json +102 -0
package/lib/index.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var makeInstaller = require('./make-installer.js');
|
|
6
|
+
var index$8 = require('./store/index.js');
|
|
7
|
+
var index = require('./components/appConfirmDialog/index.js');
|
|
8
|
+
var index$1 = require('./components/appDatePicker/index.js');
|
|
9
|
+
var index$2 = require('./components/appForm/index.js');
|
|
10
|
+
var index$3 = require('./components/appOrgCascader/index.js');
|
|
11
|
+
var index$4 = require('./components/appSearch/index.js');
|
|
12
|
+
var index$5 = require('./components/appTable/index.js');
|
|
13
|
+
var index$6 = require('./components/appTooltip/index.js');
|
|
14
|
+
var index$7 = require('./components/svgIcon/index.js');
|
|
15
|
+
var crypto = require('./utils/crypto.js');
|
|
16
|
+
var useLocale = require('./hooks/useLocale.js');
|
|
17
|
+
var bus = require('./utils/bus.js');
|
|
18
|
+
var handler = require('./utils/handler.js');
|
|
19
|
+
var date = require('./utils/date.js');
|
|
20
|
+
var useGlobalConfig = require('./hooks/useGlobalConfig.js');
|
|
21
|
+
var is = require('./utils/is.js');
|
|
22
|
+
var useApi = require('./hooks/useApi.js');
|
|
23
|
+
var adaptive = require('./utils/adaptive.js');
|
|
24
|
+
var useAppForm = require('./components/appForm/js/useAppForm.js');
|
|
25
|
+
var useAppSearch = require('./components/appSearch/js/useAppSearch.js');
|
|
26
|
+
var useAppTable = require('./components/appTable/js/useAppTable.js');
|
|
27
|
+
var maintain = require('./store/maintain.js');
|
|
28
|
+
var useMixins = require('./hooks/useMixins.js');
|
|
29
|
+
|
|
30
|
+
import "./style/index.scss";
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.default = makeInstaller.default;
|
|
34
|
+
exports.store = index$8.store;
|
|
35
|
+
exports.AppConfirmDialog = index.AppConfirmDialog;
|
|
36
|
+
exports.AppDatePicker = index$1.AppDatePicker;
|
|
37
|
+
exports.AppForm = index$2.AppForm;
|
|
38
|
+
exports.AppOrgCascader = index$3.AppOrgCascader;
|
|
39
|
+
exports.AppSearch = index$4.AppSearch;
|
|
40
|
+
exports.AppTable = index$5.AppTable;
|
|
41
|
+
exports.AppTooltip = index$6.AppTooltip;
|
|
42
|
+
exports.IconBox = index$7.IconBox;
|
|
43
|
+
exports.SvgIcon = index$7.SvgIcon;
|
|
44
|
+
exports.base64Decrypt = crypto.base64Decrypt;
|
|
45
|
+
exports.encryptToBase64 = crypto.encryptToBase64;
|
|
46
|
+
exports.generateRandomCode = crypto.generateRandomCode;
|
|
47
|
+
exports.buildLocaleContext = useLocale.buildLocaleContext;
|
|
48
|
+
exports.buildTranslator = useLocale.buildTranslator;
|
|
49
|
+
exports.getLanguage = useLocale.getLanguage;
|
|
50
|
+
exports.localeContextKey = useLocale.localeContextKey;
|
|
51
|
+
exports.translate = useLocale.translate;
|
|
52
|
+
exports.useLocale = useLocale.useLocale;
|
|
53
|
+
exports.bus = bus.bus;
|
|
54
|
+
exports.cloneDeep = handler.cloneDeep;
|
|
55
|
+
exports.createUniqueId = handler.createUniqueId;
|
|
56
|
+
exports.funRunHandler = handler.funRunHandler;
|
|
57
|
+
exports.mergeDeep = handler.mergeDeep;
|
|
58
|
+
exports.withInstall = handler.withInstall;
|
|
59
|
+
exports.getDefaultValueFormatByType = date.getDefaultValueFormatByType;
|
|
60
|
+
exports.getGlobalConfig = useGlobalConfig.getGlobalConfig;
|
|
61
|
+
exports.useGlobalConfig = useGlobalConfig.useGlobalConfig;
|
|
62
|
+
exports.isArray = is.isArray;
|
|
63
|
+
exports.isBoolean = is.isBoolean;
|
|
64
|
+
exports.isEmpty = is.isEmpty;
|
|
65
|
+
exports.isFunction = is.isFunction;
|
|
66
|
+
exports.isNull = is.isNull;
|
|
67
|
+
exports.isNumber = is.isNumber;
|
|
68
|
+
exports.isObject = is.isObject;
|
|
69
|
+
exports.isOverflowing = is.isOverflowing;
|
|
70
|
+
exports.isString = is.isString;
|
|
71
|
+
exports.isSymbol = is.isSymbol;
|
|
72
|
+
exports.isUndefined = is.isUndefined;
|
|
73
|
+
exports.isVueProxy = is.isVueProxy;
|
|
74
|
+
exports.localApiKey = useApi.localApiKey;
|
|
75
|
+
exports.useApi = useApi.useApi;
|
|
76
|
+
exports.parseRem = adaptive.parseRem;
|
|
77
|
+
exports.pxTorem = adaptive.pxTorem;
|
|
78
|
+
exports.remToPx = adaptive.remToPx;
|
|
79
|
+
exports.vwToPx = adaptive.vwToPx;
|
|
80
|
+
exports.useAppForm = useAppForm.useAppForm;
|
|
81
|
+
exports.useAppSearch = useAppSearch.useAppSearch;
|
|
82
|
+
exports.useAppTable = useAppTable.useAppTable;
|
|
83
|
+
exports.useMaintainStore = maintain.useMaintainStore;
|
|
84
|
+
exports.useMixins = useMixins.useMixins;
|
|
85
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../packages/index.js"],"sourcesContent":["import installer from './make-installer'\nimport './style/index.scss'\n\nexport * from './utils'\nexport * from './config'\nexport * from './components'\nexport * from './hooks'\nexport * from './store'\n\nexport default installer\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,CAAC,4BAA4B,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var en_US = {
|
|
6
|
+
name: "en_US",
|
|
7
|
+
hy: {
|
|
8
|
+
language: "Language",
|
|
9
|
+
help: "Help",
|
|
10
|
+
startYear: "Start Year",
|
|
11
|
+
endYear: "End Year",
|
|
12
|
+
startMonth: "Start Month",
|
|
13
|
+
endMonth: "End Month",
|
|
14
|
+
startDate: "Start Date",
|
|
15
|
+
endDate: "End Date",
|
|
16
|
+
startTime: "Start Time",
|
|
17
|
+
endTime: "End Time",
|
|
18
|
+
startDateTime: "Start Date Time",
|
|
19
|
+
endDateTime: "End Date Time",
|
|
20
|
+
pleaseEnterPlaceholder: "Please Enter The {0}",
|
|
21
|
+
pleaseSelectPlaceholder: "Please Select The {0}",
|
|
22
|
+
cannotBeEmpty: "{0} Cannot Be Empty",
|
|
23
|
+
filter: "Filter",
|
|
24
|
+
packUp: "Pack Up",
|
|
25
|
+
expand: "Expand",
|
|
26
|
+
reset: "Reset",
|
|
27
|
+
today: "Today",
|
|
28
|
+
day: "Day",
|
|
29
|
+
days: "Days",
|
|
30
|
+
month: "month",
|
|
31
|
+
months: "Months",
|
|
32
|
+
year: "Year",
|
|
33
|
+
years: "Years",
|
|
34
|
+
noData: "No Data",
|
|
35
|
+
configrm: "Configrm",
|
|
36
|
+
loading: "Loading"
|
|
37
|
+
},
|
|
38
|
+
table: {
|
|
39
|
+
hideFilter: "Hide filter",
|
|
40
|
+
displayFilter: "Display filter",
|
|
41
|
+
tooManyFieldsWillAffectReadability: "Too Many Fields Will Affect Readability",
|
|
42
|
+
haveBeenSelected: "{0} Have Been Selected",
|
|
43
|
+
clear: "Clear",
|
|
44
|
+
show: "Show",
|
|
45
|
+
notShown: "Not Shown",
|
|
46
|
+
theColumnsDisplayedInTheTableCannotBeLeftBlank: "The Columns Displayed In The Table Cannot Be Left Blank",
|
|
47
|
+
aTotalOfPiecesOfData: "A total of {0} pieces of data",
|
|
48
|
+
moreOperations: "More Operations",
|
|
49
|
+
nonsupport: "Nonsupport",
|
|
50
|
+
editColumn: "Edit Column",
|
|
51
|
+
Index: "\u5E8F\u53F7",
|
|
52
|
+
searchFor: "Search For {0}"
|
|
53
|
+
},
|
|
54
|
+
confirmDialog: {
|
|
55
|
+
content: "Secondary Confirmation Operation",
|
|
56
|
+
close: "Close",
|
|
57
|
+
cancel: "Cancel",
|
|
58
|
+
confirm: "Confirm",
|
|
59
|
+
haveKnown: "Have Known",
|
|
60
|
+
prompt: "Prompt",
|
|
61
|
+
riskWarning: "Risk Warning",
|
|
62
|
+
dangerousOperation: "Dangerous Operation",
|
|
63
|
+
maxColumnLimitTip: "The number of fields has reached the limit (up to {0}). Please remove some fields and then confirm again."
|
|
64
|
+
},
|
|
65
|
+
cascader: {
|
|
66
|
+
pleaseSelectDepartment: "Please Select Department"
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
exports.default = en_US;
|
|
71
|
+
//# sourceMappingURL=en_US.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en_US.js","sources":["../../packages/locale/en_US.js"],"sourcesContent":["export default {\n name: 'en_US',\n hy: {\n language: 'Language',\n help: 'Help',\n startYear: 'Start Year',\n endYear: 'End Year',\n startMonth: 'Start Month',\n endMonth: 'End Month',\n startDate: 'Start Date',\n endDate: 'End Date',\n startTime: 'Start Time',\n endTime: 'End Time',\n startDateTime: 'Start Date Time',\n endDateTime: 'End Date Time',\n pleaseEnterPlaceholder: 'Please Enter The {0}',\n pleaseSelectPlaceholder: 'Please Select The {0}',\n cannotBeEmpty: '{0} Cannot Be Empty',\n filter: 'Filter',\n packUp: 'Pack Up',\n expand: 'Expand',\n reset: 'Reset',\n today: 'Today',\n day: 'Day',\n days: 'Days',\n month: 'month',\n months: 'Months',\n year: 'Year',\n years: 'Years',\n noData: 'No Data',\n configrm: 'Configrm',\n loading: 'Loading',\n },\n table: {\n hideFilter: 'Hide filter',\n displayFilter: 'Display filter',\n tooManyFieldsWillAffectReadability:\n 'Too Many Fields Will Affect Readability',\n haveBeenSelected: '{0} Have Been Selected',\n clear: 'Clear',\n show: 'Show',\n notShown: 'Not Shown',\n theColumnsDisplayedInTheTableCannotBeLeftBlank:\n 'The Columns Displayed In The Table Cannot Be Left Blank',\n aTotalOfPiecesOfData: 'A total of {0} pieces of data',\n moreOperations: 'More Operations',\n nonsupport: 'Nonsupport',\n editColumn: 'Edit Column',\n Index: '序号',\n searchFor: 'Search For {0}',\n },\n confirmDialog: {\n content: 'Secondary Confirmation Operation',\n close: 'Close',\n cancel: 'Cancel',\n confirm: 'Confirm',\n haveKnown: 'Have Known',\n prompt: 'Prompt',\n riskWarning: 'Risk Warning',\n dangerousOperation: 'Dangerous Operation',\n maxColumnLimitTip:\n 'The number of fields has reached the limit (up to {0}). Please remove some fields and then confirm again.',\n },\n cascader: {\n pleaseSelectDepartment: 'Please Select Department',\n },\n}\n"],"names":[],"mappings":";;;;AAAA,YAAe;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,UAAU;AACxB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,SAAS,EAAE,YAAY;AAC3B,IAAI,OAAO,EAAE,UAAU;AACvB,IAAI,UAAU,EAAE,aAAa;AAC7B,IAAI,QAAQ,EAAE,WAAW;AACzB,IAAI,SAAS,EAAE,YAAY;AAC3B,IAAI,OAAO,EAAE,UAAU;AACvB,IAAI,SAAS,EAAE,YAAY;AAC3B,IAAI,OAAO,EAAE,UAAU;AACvB,IAAI,aAAa,EAAE,iBAAiB;AACpC,IAAI,WAAW,EAAE,eAAe;AAChC,IAAI,sBAAsB,EAAE,sBAAsB;AAClD,IAAI,uBAAuB,EAAE,uBAAuB;AACpD,IAAI,aAAa,EAAE,qBAAqB;AACxC,IAAI,MAAM,EAAE,QAAQ;AACpB,IAAI,MAAM,EAAE,SAAS;AACrB,IAAI,MAAM,EAAE,QAAQ;AACpB,IAAI,KAAK,EAAE,OAAO;AAClB,IAAI,KAAK,EAAE,OAAO;AAClB,IAAI,GAAG,EAAE,KAAK;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,KAAK,EAAE,OAAO;AAClB,IAAI,MAAM,EAAE,QAAQ;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,KAAK,EAAE,OAAO;AAClB,IAAI,MAAM,EAAE,SAAS;AACrB,IAAI,QAAQ,EAAE,UAAU;AACxB,IAAI,OAAO,EAAE;AACb,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,UAAU,EAAE,aAAa;AAC7B,IAAI,aAAa,EAAE,gBAAgB;AACnC,IAAI,kCAAkC,EAAE,yCAAyC;AACjF,IAAI,gBAAgB,EAAE,wBAAwB;AAC9C,IAAI,KAAK,EAAE,OAAO;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,QAAQ,EAAE,WAAW;AACzB,IAAI,8CAA8C,EAAE,yDAAyD;AAC7G,IAAI,oBAAoB,EAAE,+BAA+B;AACzD,IAAI,cAAc,EAAE,iBAAiB;AACrC,IAAI,UAAU,EAAE,YAAY;AAC5B,IAAI,UAAU,EAAE,aAAa;AAC7B,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,SAAS,EAAE;AACf,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,OAAO,EAAE,kCAAkC;AAC/C,IAAI,KAAK,EAAE,OAAO;AAClB,IAAI,MAAM,EAAE,QAAQ;AACpB,IAAI,OAAO,EAAE,SAAS;AACtB,IAAI,SAAS,EAAE,YAAY;AAC3B,IAAI,MAAM,EAAE,QAAQ;AACpB,IAAI,WAAW,EAAE,cAAc;AAC/B,IAAI,kBAAkB,EAAE,qBAAqB;AAC7C,IAAI,iBAAiB,EAAE;AACvB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,sBAAsB,EAAE;AAC5B;AACA,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Chinese = {
|
|
6
|
+
name: "zh_CN",
|
|
7
|
+
hy: {
|
|
8
|
+
language: "\u8BED\u8A00",
|
|
9
|
+
help: "\u5E2E\u52A9",
|
|
10
|
+
startYear: "\u5F00\u59CB\u5E74\u4EFD",
|
|
11
|
+
endYear: "\u7ED3\u675F\u5E74\u4EFD",
|
|
12
|
+
startMonth: "\u5F00\u59CB\u6708\u4EFD",
|
|
13
|
+
endMonth: "\u7ED3\u675F\u6708\u4EFD",
|
|
14
|
+
startDate: "\u5F00\u59CB\u65E5\u671F",
|
|
15
|
+
endDate: "\u7ED3\u675F\u65E5\u671F",
|
|
16
|
+
startTime: "\u5F00\u59CB\u65F6\u95F4",
|
|
17
|
+
endTime: "\u7ED3\u675F\u65F6\u95F4",
|
|
18
|
+
startDateTime: "\u5F00\u59CB\u65E5\u671F\u65F6\u95F4",
|
|
19
|
+
endDateTime: "\u7ED3\u675F\u65E5\u671F\u65F6\u95F4",
|
|
20
|
+
pleaseEnterPlaceholder: "\u8BF7\u8F93\u5165{0}",
|
|
21
|
+
pleaseSelectPlaceholder: "\u8BF7\u9009\u62E9{0}",
|
|
22
|
+
cannotBeEmpty: "{0}\u4E0D\u80FD\u4E3A\u7A7A",
|
|
23
|
+
filter: "\u7B5B\u9009",
|
|
24
|
+
packUp: "\u6536\u8D77",
|
|
25
|
+
expand: "\u5C55\u5F00",
|
|
26
|
+
reset: "\u91CD\u7F6E",
|
|
27
|
+
today: "\u4ECA\u65E5",
|
|
28
|
+
day: "\u5929",
|
|
29
|
+
days: "\u5929",
|
|
30
|
+
month: "\u6708",
|
|
31
|
+
months: "\u6708",
|
|
32
|
+
year: "\u5E74",
|
|
33
|
+
years: "\u5E74",
|
|
34
|
+
noData: "\u6682\u65E0\u6570\u636E",
|
|
35
|
+
configrm: "\u786E\u8BA4",
|
|
36
|
+
loading: "\u52A0\u8F7D\u4E2D"
|
|
37
|
+
},
|
|
38
|
+
table: {
|
|
39
|
+
hideFilter: "\u9690\u85CF\u7B5B\u9009\u5668",
|
|
40
|
+
displayFilter: "\u663E\u793A\u7B5B\u9009\u5668",
|
|
41
|
+
tooManyFieldsWillAffectReadability: "\u5B57\u6BB5\u8FC7\u591A\u5C06\u5F71\u54CD\u53EF\u8BFB\u6027",
|
|
42
|
+
haveBeenSelected: "\u5DF2\u9009\u62E9{0}\u4E2A",
|
|
43
|
+
clear: "\u6E05\u9664",
|
|
44
|
+
show: "\u663E\u793A",
|
|
45
|
+
notShown: "\u672A\u663E\u793A",
|
|
46
|
+
theColumnsDisplayedInTheTableCannotBeLeftBlank: "\u8868\u683C\u663E\u793A\u7684\u5217\u4E0D\u80FD\u4E3A\u7A7A",
|
|
47
|
+
aTotalOfPiecesOfData: "\u5171 {0} \u6761\u6570\u636E",
|
|
48
|
+
moreOperations: "\u66F4\u591A\u64CD\u4F5C",
|
|
49
|
+
nonsupport: "\u4E0D\u652F\u6301",
|
|
50
|
+
editColumn: "\u7F16\u8F91\u5217",
|
|
51
|
+
index: "\u5E8F\u53F7",
|
|
52
|
+
searchFor: "\u641C\u7D22{0}",
|
|
53
|
+
maxColumnLimitTip: "\u5DF2\u8FBE\u5230\u5B57\u6BB5\u6570\u91CF\u4E0A\u9650(\u6700\u591A15\u4E2A)\uFF0C\u8BF7\u53D6\u6D88\u90E8\u5206\u5B57\u6BB5\u540E\u518D\u786E\u8BA4"
|
|
54
|
+
},
|
|
55
|
+
confirmDialog: {
|
|
56
|
+
content: "\u4E8C\u6B21\u786E\u8BA4\u64CD\u4F5C",
|
|
57
|
+
close: "\u5173\u95ED",
|
|
58
|
+
cancel: "\u53D6\u6D88",
|
|
59
|
+
confirm: "\u786E\u8BA4",
|
|
60
|
+
haveKnown: "\u5DF2\u77E5\u6089",
|
|
61
|
+
prompt: "\u63D0\u793A",
|
|
62
|
+
riskWarning: "\u98CE\u9669\u63D0\u793A",
|
|
63
|
+
dangerousOperation: "\u5371\u9669\u64CD\u4F5C"
|
|
64
|
+
},
|
|
65
|
+
cascader: {
|
|
66
|
+
pleaseSelectDepartment: "\u8BF7\u9009\u62E9\u90E8\u95E8"
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
exports.default = Chinese;
|
|
71
|
+
//# sourceMappingURL=zh_CN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh_CN.js","sources":["../../packages/locale/zh_CN.js"],"sourcesContent":["export default {\n name: 'zh_CN',\n hy: {\n language: '语言',\n help: '帮助',\n startYear: '开始年份',\n endYear: '结束年份',\n startMonth: '开始月份',\n endMonth: '结束月份',\n startDate: '开始日期',\n endDate: '结束日期',\n startTime: '开始时间',\n endTime: '结束时间',\n startDateTime: '开始日期时间',\n endDateTime: '结束日期时间',\n pleaseEnterPlaceholder: '请输入{0}',\n pleaseSelectPlaceholder: '请选择{0}',\n cannotBeEmpty: '{0}不能为空',\n filter: '筛选',\n packUp: '收起',\n expand: '展开',\n reset: '重置',\n today: '今日',\n day: '天',\n days: '天',\n month: '月',\n months: '月',\n year: '年',\n years: '年',\n noData: '暂无数据',\n configrm: '确认',\n loading: '加载中',\n },\n table: {\n hideFilter: '隐藏筛选器',\n displayFilter: '显示筛选器',\n tooManyFieldsWillAffectReadability: '字段过多将影响可读性',\n haveBeenSelected: '已选择{0}个',\n clear: '清除',\n show: '显示',\n notShown: '未显示',\n theColumnsDisplayedInTheTableCannotBeLeftBlank: '表格显示的列不能为空',\n aTotalOfPiecesOfData: '共 {0} 条数据',\n moreOperations: '更多操作',\n nonsupport: '不支持',\n editColumn: '编辑列',\n index: '序号',\n searchFor: '搜索{0}',\n maxColumnLimitTip: '已达到字段数量上限(最多15个),请取消部分字段后再确认',\n },\n confirmDialog: {\n content: '二次确认操作',\n close: '关闭',\n cancel: '取消',\n confirm: '确认',\n haveKnown: '已知悉',\n prompt: '提示',\n riskWarning: '风险提示',\n dangerousOperation: '危险操作',\n },\n cascader: {\n pleaseSelectDepartment: '请选择部门',\n },\n}\n"],"names":[],"mappings":";;;;AAAA,cAAe;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,cAAc;AAC5B,IAAI,IAAI,EAAE,cAAc;AACxB,IAAI,SAAS,EAAE,0BAA0B;AACzC,IAAI,OAAO,EAAE,0BAA0B;AACvC,IAAI,UAAU,EAAE,0BAA0B;AAC1C,IAAI,QAAQ,EAAE,0BAA0B;AACxC,IAAI,SAAS,EAAE,0BAA0B;AACzC,IAAI,OAAO,EAAE,0BAA0B;AACvC,IAAI,SAAS,EAAE,0BAA0B;AACzC,IAAI,OAAO,EAAE,0BAA0B;AACvC,IAAI,aAAa,EAAE,sCAAsC;AACzD,IAAI,WAAW,EAAE,sCAAsC;AACvD,IAAI,sBAAsB,EAAE,uBAAuB;AACnD,IAAI,uBAAuB,EAAE,uBAAuB;AACpD,IAAI,aAAa,EAAE,6BAA6B;AAChD,IAAI,MAAM,EAAE,cAAc;AAC1B,IAAI,MAAM,EAAE,cAAc;AAC1B,IAAI,MAAM,EAAE,cAAc;AAC1B,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,GAAG,EAAE,QAAQ;AACjB,IAAI,IAAI,EAAE,QAAQ;AAClB,IAAI,KAAK,EAAE,QAAQ;AACnB,IAAI,MAAM,EAAE,QAAQ;AACpB,IAAI,IAAI,EAAE,QAAQ;AAClB,IAAI,KAAK,EAAE,QAAQ;AACnB,IAAI,MAAM,EAAE,0BAA0B;AACtC,IAAI,QAAQ,EAAE,cAAc;AAC5B,IAAI,OAAO,EAAE;AACb,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,UAAU,EAAE,gCAAgC;AAChD,IAAI,aAAa,EAAE,gCAAgC;AACnD,IAAI,kCAAkC,EAAE,8DAA8D;AACtG,IAAI,gBAAgB,EAAE,6BAA6B;AACnD,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,IAAI,EAAE,cAAc;AACxB,IAAI,QAAQ,EAAE,oBAAoB;AAClC,IAAI,8CAA8C,EAAE,8DAA8D;AAClH,IAAI,oBAAoB,EAAE,+BAA+B;AACzD,IAAI,cAAc,EAAE,0BAA0B;AAC9C,IAAI,UAAU,EAAE,oBAAoB;AACpC,IAAI,UAAU,EAAE,oBAAoB;AACpC,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,SAAS,EAAE,iBAAiB;AAChC,IAAI,iBAAiB,EAAE;AACvB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,OAAO,EAAE,sCAAsC;AACnD,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,MAAM,EAAE,cAAc;AAC1B,IAAI,OAAO,EAAE,cAAc;AAC3B,IAAI,SAAS,EAAE,oBAAoB;AACnC,IAAI,MAAM,EAAE,cAAc;AAC1B,IAAI,WAAW,EAAE,0BAA0B;AAC3C,IAAI,kBAAkB,EAAE;AACxB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,sBAAsB,EAAE;AAC5B;AACA,CAAC;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('./constants/index.js');
|
|
6
|
+
var index$1 = require('./components/index.js');
|
|
7
|
+
var version = require('./version.js');
|
|
8
|
+
var index$2 = require('./store/index.js');
|
|
9
|
+
var useGlobalConfig = require('./hooks/useGlobalConfig.js');
|
|
10
|
+
|
|
11
|
+
const makeInstaller = () => {
|
|
12
|
+
const install = (app, options) => {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
if (app[index.INSTALLED_KEY]) return;
|
|
15
|
+
app[index.INSTALLED_KEY] = true;
|
|
16
|
+
Object.values(index$1).forEach((component) => {
|
|
17
|
+
if (!component.install) return;
|
|
18
|
+
app.use(component);
|
|
19
|
+
});
|
|
20
|
+
if (options) useGlobalConfig.useGlobalConfig(options, app);
|
|
21
|
+
if (!((_b = (_a = app.config) == null ? void 0 : _a.globalProperties) == null ? void 0 : _b.$pinia)) {
|
|
22
|
+
app.use(index$2.store);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
version: version.version,
|
|
27
|
+
install
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
var installer = makeInstaller();
|
|
31
|
+
|
|
32
|
+
exports.default = installer;
|
|
33
|
+
//# sourceMappingURL=make-installer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"make-installer.js","sources":["../packages/make-installer.js"],"sourcesContent":["import { useGlobalConfig } from './hooks'\nimport { INSTALLED_KEY } from './constants'\nimport * as components from './components'\nimport { version } from './version'\nimport { store } from './store'\n\nconst makeInstaller = () => {\n const install = (app, options) => {\n if (app[INSTALLED_KEY]) return\n\n app[INSTALLED_KEY] = true\n Object.values(components).forEach((component) => {\n if (!component.install) return\n app.use(component)\n })\n\n if (options) useGlobalConfig(options, app)\n if (!app.config?.globalProperties?.$pinia) {\n app.use(store)\n }\n }\n\n return {\n version,\n install,\n }\n}\n\nexport default makeInstaller()\n"],"names":["INSTALLED_KEY","components","useGlobalConfig","store","version"],"mappings":";;;;;;;;;;AAKA,MAAM,aAAa,GAAG,MAAM;AAC5B,EAAE,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK;AACpC,IAAI,IAAI,EAAE,EAAE,EAAE;AACd,IAAI,IAAI,GAAG,CAACA,mBAAa,CAAC,EAAE;AAC5B,IAAI,GAAG,CAACA,mBAAa,CAAC,GAAG,IAAI;AAC7B,IAAI,MAAM,CAAC,MAAM,CAACC,OAAU,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,KAAK;AACrD,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE;AAC9B,MAAM,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC;AACxB,IAAI,CAAC,CAAC;AACN,IAAI,IAAI,OAAO,EAAEC,+BAAe,CAAC,OAAO,EAAE,GAAG,CAAC;AAC9C,IAAI,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,MAAM,KAAK,IAAI,GAAG,MAAM,GAAG,EAAE,CAAC,gBAAgB,KAAK,IAAI,GAAG,MAAM,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;AACzG,MAAM,GAAG,CAAC,GAAG,CAACC,aAAK,CAAC;AACpB,IAAI;AACJ,EAAE,CAAC;AACH,EAAE,OAAO;AACT,aAAIC,eAAO;AACX,IAAI;AACJ,GAAG;AACH,CAAC;AACD,gBAAe,aAAa,EAAE;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../packages/store/index.js"],"sourcesContent":["import { createPinia } from 'pinia'\n\nexport * from './maintain'\n\nconst store = createPinia()\n\nexport { store }\n"],"names":["createPinia"],"mappings":";;;;;AAEK,MAAC,KAAK,GAAGA,iBAAW;;;;;"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var pinia = require('pinia');
|
|
5
|
+
var is = require('../utils/is.js');
|
|
6
|
+
|
|
7
|
+
const MAINTAIN_STORE = "MAINTAIN_STORE";
|
|
8
|
+
const useMaintainStore = pinia.defineStore(MAINTAIN_STORE, {
|
|
9
|
+
state: () => ({
|
|
10
|
+
// resize集合
|
|
11
|
+
resizeMap: {}
|
|
12
|
+
}),
|
|
13
|
+
getters: {},
|
|
14
|
+
actions: {
|
|
15
|
+
/**
|
|
16
|
+
* @function setResize 添加统一重置
|
|
17
|
+
* @param {Function} callback 回调函数
|
|
18
|
+
* @param {Symbol | string} key
|
|
19
|
+
*/
|
|
20
|
+
addResize(callback, key) {
|
|
21
|
+
if (!callback) return;
|
|
22
|
+
if (!key) {
|
|
23
|
+
key = Symbol(key);
|
|
24
|
+
}
|
|
25
|
+
this.resizeMap[key] = callback;
|
|
26
|
+
addResizeListener();
|
|
27
|
+
return key;
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* @function removeResize 删除重置属性
|
|
31
|
+
* @param {Symbol} key
|
|
32
|
+
*/
|
|
33
|
+
removeResize(key) {
|
|
34
|
+
if (key) {
|
|
35
|
+
delete this.resizeMap[key];
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
// 清除所有resize事件
|
|
39
|
+
clearResize() {
|
|
40
|
+
this.resizeMap = {};
|
|
41
|
+
removeResizeListener();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
const resizeConfig = {
|
|
46
|
+
init: false,
|
|
47
|
+
animationId: void 0,
|
|
48
|
+
resizeIndex: 0,
|
|
49
|
+
timerList: []
|
|
50
|
+
// timeout实例
|
|
51
|
+
};
|
|
52
|
+
function onResizeHandler() {
|
|
53
|
+
const maintainStore = useMaintainStore();
|
|
54
|
+
if (resizeConfig.animationId) {
|
|
55
|
+
resizeConfig.timerList.forEach((timeout) => {
|
|
56
|
+
timeout && clearTimeout(timeout);
|
|
57
|
+
});
|
|
58
|
+
window.cancelAnimationFrame(resizeConfig.animationId);
|
|
59
|
+
}
|
|
60
|
+
resizeConfig.animationId = window.requestAnimationFrame(() => {
|
|
61
|
+
try {
|
|
62
|
+
let symbolKeys = Object.getOwnPropertySymbols(maintainStore.resizeMap);
|
|
63
|
+
symbolKeys = [
|
|
64
|
+
...symbolKeys.slice(resizeConfig.resizeIndex),
|
|
65
|
+
...symbolKeys
|
|
66
|
+
];
|
|
67
|
+
symbolKeys.forEach((key, index, list) => {
|
|
68
|
+
const timeout = setTimeout(() => {
|
|
69
|
+
resizeConfig.resizeIndex = list.length - 1 == index ? 0 : index;
|
|
70
|
+
const fun = maintainStore.resizeMap[key];
|
|
71
|
+
is.isFunction(fun) && fun();
|
|
72
|
+
}, 1);
|
|
73
|
+
resizeConfig.timerList.push(timeout);
|
|
74
|
+
});
|
|
75
|
+
} catch (e) {
|
|
76
|
+
throw Error(e);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
async function addResizeListener() {
|
|
81
|
+
if (resizeConfig.init) return;
|
|
82
|
+
resizeConfig.init = true;
|
|
83
|
+
await vue.nextTick();
|
|
84
|
+
window.addEventListener("resize", onResizeHandler);
|
|
85
|
+
}
|
|
86
|
+
function removeResizeListener() {
|
|
87
|
+
window.removeEventListener("resize", onResizeHandler);
|
|
88
|
+
resizeConfig.init = false;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
exports.useMaintainStore = useMaintainStore;
|
|
92
|
+
//# sourceMappingURL=maintain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintain.js","sources":["../../packages/store/maintain.js"],"sourcesContent":["import { nextTick } from 'vue'\nimport { defineStore } from 'pinia'\nimport { isFunction } from '@hy-dispatch-ui-v3/utils'\n\nconst MAINTAIN_STORE = 'MAINTAIN_STORE'\n\n// 维护公共状态\nconst useMaintainStore = defineStore(MAINTAIN_STORE, {\n state: () => ({\n // resize集合\n resizeMap: {},\n }),\n getters: {},\n actions: {\n /**\n * @function setResize 添加统一重置\n * @param {Function} callback 回调函数\n * @param {Symbol | string} key\n */\n addResize(callback, key) {\n if (!callback) return\n if (!key) {\n key = Symbol(key)\n }\n this.resizeMap[key] = callback\n addResizeListener()\n return key\n },\n /**\n * @function removeResize 删除重置属性\n * @param {Symbol} key\n */\n removeResize(key) {\n if (key) {\n delete this.resizeMap[key]\n }\n },\n // 清除所有resize事件\n clearResize() {\n this.resizeMap = {}\n removeResizeListener()\n },\n },\n})\n\n// 窗口监听参数\nconst resizeConfig = {\n init: false,\n animationId: undefined,\n resizeIndex: 0,\n timerList: [], // timeout实例\n}\n// 窗口大小变化处理\nfunction onResizeHandler() {\n const maintainStore = useMaintainStore()\n if (resizeConfig.animationId) {\n resizeConfig.timerList.forEach((timeout) => {\n timeout && clearTimeout(timeout)\n })\n window.cancelAnimationFrame(resizeConfig.animationId)\n }\n resizeConfig.animationId = window.requestAnimationFrame(() => {\n // 更新图表大小\n try {\n let symbolKeys = Object.getOwnPropertySymbols(maintainStore.resizeMap)\n symbolKeys = [\n ...symbolKeys.slice(resizeConfig.resizeIndex),\n ...symbolKeys,\n ]\n symbolKeys.forEach((key, index, list) => {\n const timeout = setTimeout(() => {\n resizeConfig.resizeIndex = list.length - 1 == index ? 0 : index\n const fun = maintainStore.resizeMap[key]\n isFunction(fun) && fun()\n }, 1)\n resizeConfig.timerList.push(timeout)\n })\n } catch (e) {\n throw Error(e)\n }\n })\n}\n// 添加监听窗口变化\nasync function addResizeListener() {\n if (resizeConfig.init) return\n resizeConfig.init = true\n await nextTick()\n window.addEventListener('resize', onResizeHandler)\n}\n// 清除监听窗口变化\nfunction removeResizeListener() {\n window.removeEventListener('resize', onResizeHandler)\n resizeConfig.init = false\n}\n\nexport { useMaintainStore }\n"],"names":["defineStore","isFunction","nextTick"],"mappings":"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"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use './theme.scss';
|
|
2
|
+
// @use './style/tailwind.scss';
|
|
3
|
+
|
|
4
|
+
.clickBox {
|
|
5
|
+
position: relative;
|
|
6
|
+
z-index: 2;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
transition: 0.5s;
|
|
9
|
+
|
|
10
|
+
&:active {
|
|
11
|
+
transition: 0s;
|
|
12
|
+
opacity: 0.6;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.over_one_line {
|
|
17
|
+
display: block;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
text-overflow: ellipsis;
|
|
21
|
+
word-break: break-all;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.over_two_line,
|
|
25
|
+
.over_two_lines {
|
|
26
|
+
text-overflow: -o-ellipsis-lastline;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
text-overflow: ellipsis;
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
-webkit-line-clamp: 2;
|
|
31
|
+
line-clamp: 2;
|
|
32
|
+
-webkit-box-orient: vertical;
|
|
33
|
+
word-break: break-all;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.over_any_lines {
|
|
37
|
+
--line-clamp: 2;
|
|
38
|
+
text-overflow: -o-ellipsis-lastline;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
display: -webkit-box;
|
|
42
|
+
-webkit-line-clamp: 2;
|
|
43
|
+
line-clamp: 2;
|
|
44
|
+
-webkit-box-orient: vertical;
|
|
45
|
+
word-break: break-all;
|
|
46
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--basics-size: 12px;
|
|
3
|
+
--theme: #2df2ff; // 主视觉配色
|
|
4
|
+
--themev02: #1f596e;
|
|
5
|
+
--theme-05: rgba(45, 242, 255, 0.5); // #2DF2FF
|
|
6
|
+
--theme-02: rgba(45, 242, 255, 0.2); // #2DF2FF
|
|
7
|
+
--theme-00: rgba(45, 242, 255, 0); // #2DF2FF
|
|
8
|
+
|
|
9
|
+
--add: #2ce898; // 新增
|
|
10
|
+
--success: #2ce898; // 成功
|
|
11
|
+
--success-05: rgba(44, 232, 152, 0.5); // #2DF2FF
|
|
12
|
+
--success-02: rgba(44, 232, 152, 0.2); // #2DF2FF
|
|
13
|
+
--info: #909399; // 灰色
|
|
14
|
+
--info-05: rgba(144, 147, 153, 0.2); // #2DF2FF
|
|
15
|
+
--warning: #f8a62d; // 警告
|
|
16
|
+
--warning-05: rgba(248, 166, 45, 0.5); // 警告
|
|
17
|
+
--warning-02: rgba(248, 166, 45, 0.2); // 警告
|
|
18
|
+
|
|
19
|
+
--danger: #c92525; // 删除
|
|
20
|
+
--dangerv2: #f56c6c; // 删除
|
|
21
|
+
--dangerv2-05: rgba(245, 108, 108, 0.5); // 删除
|
|
22
|
+
--dangerv2-02: rgba(245, 108, 108, 0.2); // 删除
|
|
23
|
+
|
|
24
|
+
--function: #2df2ff; // 功能色
|
|
25
|
+
--main: #fff; // 字体主色
|
|
26
|
+
--auxiliary: #5e9db4; // 字体辅助色
|
|
27
|
+
--auxiliary-05: #5e9db480; // 字体辅助色
|
|
28
|
+
--auxiliaryv2: #fff; // 字体辅助色
|
|
29
|
+
|
|
30
|
+
--prohibit: rgba(255, 255, 255, 0.2); // 禁止选择
|
|
31
|
+
|
|
32
|
+
--background-gradient: linear-gradient(
|
|
33
|
+
180deg,
|
|
34
|
+
#132339 0%,
|
|
35
|
+
#147c9e 100%
|
|
36
|
+
); // 背景渐变色
|
|
37
|
+
--background-gradientV2: linear-gradient(
|
|
38
|
+
180deg,
|
|
39
|
+
#0ea0bb 0%,
|
|
40
|
+
var(--backgroundv2) 100%
|
|
41
|
+
); // 背景渐变色
|
|
42
|
+
--background-gradientV3: linear-gradient(
|
|
43
|
+
270deg,
|
|
44
|
+
#3d6286 0%,
|
|
45
|
+
#1c334a 100%,
|
|
46
|
+
#2a4968 100%
|
|
47
|
+
); // 背景渐变色
|
|
48
|
+
--background_mask: linear-gradient(
|
|
49
|
+
180deg,
|
|
50
|
+
rgba(14, 24, 49, 0.4) 0%,
|
|
51
|
+
rgba(0, 3, 9, 0.5) 100%
|
|
52
|
+
); // 蒙版
|
|
53
|
+
/* 辅助线条 */
|
|
54
|
+
--border-auxiliary: #31546b;
|
|
55
|
+
|
|
56
|
+
/* 页面颜色 */
|
|
57
|
+
--background: #0e1525; // 页面黑色
|
|
58
|
+
--background-05: rgba(14, 21, 37, 0.5); // 页面黑色
|
|
59
|
+
|
|
60
|
+
--backgroundv2: #1c334a; // 页面第二层
|
|
61
|
+
--backgroundv2-05: rgba(28, 51, 74, 0.5); // 页面第二层
|
|
62
|
+
|
|
63
|
+
--backgroundv3: #305272; // 页面第三层
|
|
64
|
+
--backgroundv3-05: rgba(48, 82, 114, 0.5); // 页面第三层
|
|
65
|
+
|
|
66
|
+
--backgroundv4: #10263b; // 斑马纹备用色
|
|
67
|
+
--backgroundv4-05: rgba(16, 38, 59, 0.5); // 斑马纹备用色
|
|
68
|
+
|
|
69
|
+
--border: #365d84;
|
|
70
|
+
--border-radius: 12px; // 圆角角度
|
|
71
|
+
--box-shadow: 0 0 4px 2px transparent; // 投影
|
|
72
|
+
|
|
73
|
+
/* 弹窗页面*/
|
|
74
|
+
--dialog-background: #0d1a2a; // 弹窗背景色页面第一层
|
|
75
|
+
--dialog-backgroundv2: #1c334a; // 弹窗背景色页面第二层
|
|
76
|
+
--dialog-backgroundv3: #305272; // 弹窗背景色页面第三层
|
|
77
|
+
--dialog-border: #365d84; // 边框样式
|
|
78
|
+
--dialog-border-radius: 8px; // 圆角角度
|
|
79
|
+
--dialog-box-shadow: 0 0 10px 4px transparent; // 投影
|
|
80
|
+
|
|
81
|
+
/*input */
|
|
82
|
+
--input-background: #1c334a;
|
|
83
|
+
--input-border: #365d84;
|
|
84
|
+
--input-button: #307492;
|
|
85
|
+
--input-placeholder: rgba(139, 229, 252, 0.4);
|
|
86
|
+
/*input 深色 */
|
|
87
|
+
--input-background-darkColor: #1c334a;
|
|
88
|
+
--input-border-darkColor: #365d84;
|
|
89
|
+
--input-button-darkColor: #307492;
|
|
90
|
+
--input-placeholder-darkColor: rgba(139, 229, 252, 0.4);
|
|
91
|
+
|
|
92
|
+
/* ============= ============= ============= ============= ============= ============= =============*/
|
|
93
|
+
--select-color: var(--theme);
|
|
94
|
+
--main-select-color: var(--theme);
|
|
95
|
+
--main-select-color-05: var(--theme-05);
|
|
96
|
+
--tableBackgroundColor: var(--background);
|
|
97
|
+
--main-color: var(--main);
|
|
98
|
+
--auxiliary-color: var(--auxiliary);
|
|
99
|
+
--dialog-background-darkColor: var(--dialog-background);
|
|
100
|
+
/* 背景 */
|
|
101
|
+
--background-main-color: var(--backgroundv2);
|
|
102
|
+
--background-auxiliary-color: var(--backgroundv3);
|
|
103
|
+
--item-background-main-color: var(--backgroundv2);
|
|
104
|
+
--item-background-auxiliary-color: var(--backgroundv3);
|
|
105
|
+
--item-background-auxiliary-color-05: var(--theme-05);
|
|
106
|
+
/* 字体 */
|
|
107
|
+
--fontSize-main-color: var(--main);
|
|
108
|
+
--fontSize-auxiliary-color: var(--auxiliary);
|
|
109
|
+
/* 边框 */
|
|
110
|
+
--border-main-color: var(--theme);
|
|
111
|
+
--border-auxiliary-color: transparent;
|
|
112
|
+
/* 下面因为根据页面微调样式,命名方式 文件名或者功能名字-class名-用的位置-用状态 */
|
|
113
|
+
--department-centerBox-background: #24354e;
|
|
114
|
+
/* app */
|
|
115
|
+
--app-background-color: var(--background);
|
|
116
|
+
/* 表格按钮 */
|
|
117
|
+
--iconBox-iconBox-background: var(--backgroundv3);
|
|
118
|
+
/* 自定义表格 */
|
|
119
|
+
--customTable-background-select: #3e536f;
|
|
120
|
+
--customTable-border-select: #3e536f;
|
|
121
|
+
/* 任务 */
|
|
122
|
+
--button-background: #24354e;
|
|
123
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const rootValue = 16;
|
|
4
|
+
const unitPrecision = 5;
|
|
5
|
+
function vwToPx(vw) {
|
|
6
|
+
return vw * window.innerWidth / 100;
|
|
7
|
+
}
|
|
8
|
+
function remToPx(rem) {
|
|
9
|
+
const rootFontSize = parseFloat(
|
|
10
|
+
window.getComputedStyle(document.documentElement).fontSize
|
|
11
|
+
);
|
|
12
|
+
return rem * rootFontSize;
|
|
13
|
+
}
|
|
14
|
+
function pxTorem(px) {
|
|
15
|
+
const number = px / rootValue;
|
|
16
|
+
const multiplier = Math.pow(10, unitPrecision + 1), wholeNumber = Math.floor(number * multiplier);
|
|
17
|
+
return Math.round(wholeNumber / 10) * 10 / multiplier;
|
|
18
|
+
}
|
|
19
|
+
function parseRem(res) {
|
|
20
|
+
let px = res;
|
|
21
|
+
if (px) {
|
|
22
|
+
px = parseInt(px, 10);
|
|
23
|
+
if (isNaN(px)) {
|
|
24
|
+
return "";
|
|
25
|
+
}
|
|
26
|
+
return pxTorem(px);
|
|
27
|
+
}
|
|
28
|
+
return "";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.parseRem = parseRem;
|
|
32
|
+
exports.pxTorem = pxTorem;
|
|
33
|
+
exports.remToPx = remToPx;
|
|
34
|
+
exports.vwToPx = vwToPx;
|
|
35
|
+
//# sourceMappingURL=adaptive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adaptive.js","sources":["../../packages/utils/adaptive.js"],"sourcesContent":["// vw 转 px\nconst rootValue = 16\nconst unitPrecision = 5\nexport function vwToPx(vw) {\n return (vw * window.innerWidth) / 100\n}\n\n// rem 转 px\nexport function remToPx(rem) {\n // 获取根字体大小(通常为16px)\n const rootFontSize = parseFloat(\n window.getComputedStyle(document.documentElement).fontSize\n )\n\n // 将rem单位转换为px单位\n return rem * rootFontSize\n}\n\nexport function pxTorem(px) {\n const number = px / rootValue\n const multiplier = Math.pow(10, unitPrecision + 1),\n wholeNumber = Math.floor(number * multiplier)\n return (Math.round(wholeNumber / 10) * 10) / multiplier\n}\n\nexport function parseRem(res) {\n let px = res\n if (px) {\n px = parseInt(px, 10)\n if (isNaN(px)) {\n return ''\n }\n return pxTorem(px)\n }\n return ''\n}\n"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG,EAAE;AACpB,MAAM,aAAa,GAAG,CAAC;AAChB,SAAS,MAAM,CAAC,EAAE,EAAE;AAC3B,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,UAAU,GAAG,GAAG;AACrC;AACO,SAAS,OAAO,CAAC,GAAG,EAAE;AAC7B,EAAE,MAAM,YAAY,GAAG,UAAU;AACjC,IAAI,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;AACtD,GAAG;AACH,EAAE,OAAO,GAAG,GAAG,YAAY;AAC3B;AACO,SAAS,OAAO,CAAC,EAAE,EAAE;AAC5B,EAAE,MAAM,MAAM,GAAG,EAAE,GAAG,SAAS;AAC/B,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,aAAa,GAAG,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,UAAU,CAAC;AACnG,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,UAAU;AACvD;AACO,SAAS,QAAQ,CAAC,GAAG,EAAE;AAC9B,EAAE,IAAI,EAAE,GAAG,GAAG;AACd,EAAE,IAAI,EAAE,EAAE;AACV,IAAI,EAAE,GAAG,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC;AACzB,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE;AACnB,MAAM,OAAO,EAAE;AACf,IAAI;AACJ,IAAI,OAAO,OAAO,CAAC,EAAE,CAAC;AACtB,EAAE;AACF,EAAE,OAAO,EAAE;AACX;;;;;;;"}
|
package/lib/utils/bus.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bus.js","sources":["../../packages/utils/bus.js"],"sourcesContent":["import mitt from 'mitt'\n\nconst bus = mitt()\n\nexport { bus }\n"],"names":[],"mappings":";;;;AACK,MAAC,GAAG,GAAG,IAAI;;;;"}
|