hy-dispatch-ui-v3 0.2.61 → 0.2.63
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/dist/tailwind.css +70 -5
- package/es/api/device.mjs +19 -0
- package/es/api/index.mjs +2 -1
- package/es/api/sypct.mjs +19 -0
- package/es/api/task.mjs +19 -0
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +6 -3
- package/es/bussiness/hyAddDepartmentType/index.mjs +1 -0
- package/es/bussiness/hyMapAearchPlace/index.mjs +7 -0
- package/es/bussiness/hyMapAearchPlace/js/index.mjs +650 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +366 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +101 -0
- package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
- package/es/bussiness/index.mjs +1 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +3 -0
- package/es/components/hyAudioPlayer/index.mjs +1 -0
- package/es/components/hyAudioPlayer/js/index.mjs +5 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +23 -3
- package/es/components/hyBatchUploadDialog/index.mjs +1 -0
- package/es/components/hyButton/button.vue.mjs +3 -2
- package/es/components/hyButton/index.mjs +1 -0
- package/es/components/hyButton/style/button.scss +10 -3
- package/es/components/hyConfigProvider/configProvider.vue.mjs +6 -1
- package/es/components/hyConfigProvider/index.mjs +1 -0
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +6 -2
- package/es/components/hyConfirmDialog/confirmMethod.mjs +5 -3
- package/es/components/hyConfirmDialog/index.mjs +1 -0
- package/es/components/hyCutter/cutter.vue.mjs +5 -2
- package/es/components/hyCutter/index.mjs +1 -0
- package/es/components/hyDatePicker/datePicker.vue.mjs +2 -0
- package/es/components/hyDatePicker/index.mjs +1 -0
- package/es/components/hyDialog/dialog.vue.mjs +98 -14
- package/es/components/hyDialog/index.mjs +1 -0
- package/es/components/hyForm/cpns/arrayItem.vue.mjs +16 -3
- package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +4 -1
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +6 -1
- package/es/components/hyForm/form.vue.mjs +3 -0
- package/es/components/hyForm/index.mjs +1 -0
- package/es/components/hyForm/js/index.mjs +3 -1
- package/es/components/hyForm/js/useAppForm.mjs +4 -2
- package/es/components/hyIcon/icon.vue.mjs +2 -1
- package/es/components/hyIcon/index.mjs +1 -0
- package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
- package/es/components/hyIconBox/index.mjs +1 -0
- package/es/components/hyInput/index.mjs +1 -0
- package/es/components/hyInput/input.vue.mjs +3 -1
- package/es/components/hyInput/inputSearch.vue.mjs +2 -1
- package/es/components/hyLoading/index.mjs +41 -0
- package/es/components/hyMap/index.mjs +1 -0
- package/es/components/hyMap/js/index.mjs +82 -0
- package/es/components/hyMap/map.vue.mjs +11 -3
- package/es/components/hyMenu/index.mjs +1 -0
- package/es/components/hyMenu/menu.vue.mjs +4 -0
- package/es/components/hyNoPermissions/index.mjs +1 -0
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +4 -0
- package/es/components/hyNoPermissionsMap/index.mjs +1 -0
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +4 -0
- package/es/components/hyOrgCascader/index.mjs +1 -0
- package/es/components/hyOrgCascader/js/index.mjs +2 -0
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +2 -1
- package/es/components/hyRadioGroup/index.mjs +1 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +2 -2
- package/es/components/hySearch/cpns/searchItem.vue.mjs +20 -2
- package/es/components/hySearch/index.mjs +1 -0
- package/es/components/hySearch/js/index.mjs +4 -2
- package/es/components/hySearch/js/useAppSearch.mjs +4 -2
- package/es/components/hySearch/search.vue.mjs +3 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +6 -3
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +3 -0
- package/es/components/hyTable/cpns/headerItem.vue.mjs +3 -0
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +7 -2
- package/es/components/hyTable/index.mjs +1 -0
- package/es/components/hyTable/js/index.mjs +10 -10
- package/es/components/hyTable/js/search.mjs +2 -0
- package/es/components/hyTable/js/useAppTable.mjs +5 -2
- package/es/components/hyTable/table.vue.mjs +11 -1
- package/es/components/hyTableActionButton/index.mjs +1 -0
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +5 -2
- package/es/components/hyTableForm/batchTableForm.vue.mjs +41 -61
- package/es/components/hyTableForm/index.mjs +1 -0
- package/es/components/hyTableForm/js/index.mjs +13 -27
- package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +12 -4
- package/es/components/hyTimePicker/index.mjs +1 -0
- package/es/components/hyTimePicker/timePicker.vue.mjs +3 -1
- package/es/components/hyTooltip/index.mjs +1 -0
- package/es/components/hyTooltip/tooltip.vue.mjs +4 -2
- package/es/components/hyTree/index.mjs +1 -0
- package/es/components/hyTree/js/index.mjs +15 -2
- package/es/components/hyTree/tree.vue.mjs +9 -4
- package/es/components/hyUserAvatar/index.mjs +1 -0
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +5 -1
- package/es/components/hyVideoPlayer/cpns/mediaLoading.vue.mjs +1 -0
- package/es/components/hyVideoPlayer/index.mjs +1 -0
- package/es/components/hyVideoPlayer/js/index.mjs +7 -2
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -0
- package/es/components/index.mjs +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useGlobalConfig.mjs +6 -1
- package/es/hooks/useLocale.mjs +4 -2
- package/es/hooks/useMapConfig.mjs +18 -0
- package/es/hooks/useResizeHandler.mjs +1 -0
- package/es/hooks/useResizeObserver.mjs +1 -1
- package/es/index.mjs +8 -0
- package/es/locale/en.mjs +1 -2
- package/es/locale/zh_CN.mjs +1 -2
- package/es/make-installer.mjs +1 -0
- package/es/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
- package/es/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
- package/es/style/element/hy-element.scss +10 -1
- package/es/utils/file.mjs +1 -0
- package/es/utils/form.mjs +6 -1
- package/es/utils/handler.mjs +2 -0
- package/es/utils/index.mjs +2 -0
- package/es/utils/input.mjs +1 -0
- package/es/utils/is.mjs +1 -0
- package/es/utils/map/hook/bigMap.mjs +3 -2
- package/es/utils/map/hook/gaode.mjs +2 -2
- package/es/utils/map/hook/leafletjs.mjs +7 -1
- package/es/utils/map/index.mjs +12 -0
- package/es/utils/map/js/webgis.mjs +5 -2
- package/es/utils/sharedContent.mjs +12 -0
- package/es/version.mjs +1 -1
- package/lib/api/device.js +21 -0
- package/lib/api/index.js +2 -1
- package/lib/api/sypct.js +21 -0
- package/lib/api/task.js +21 -0
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +15 -12
- package/lib/bussiness/hyAddDepartmentType/index.js +1 -0
- package/lib/bussiness/hyMapAearchPlace/index.js +12 -0
- package/lib/bussiness/hyMapAearchPlace/js/index.js +652 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +370 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +105 -0
- package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
- package/lib/bussiness/index.js +2 -0
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +3 -0
- package/lib/components/hyAudioPlayer/index.js +1 -0
- package/lib/components/hyAudioPlayer/js/index.js +5 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +23 -3
- package/lib/components/hyBatchUploadDialog/index.js +1 -0
- package/lib/components/hyButton/button.vue.js +2 -1
- package/lib/components/hyButton/index.js +1 -0
- package/lib/components/hyButton/style/button.scss +10 -3
- package/lib/components/hyConfigProvider/configProvider.vue.js +5 -0
- package/lib/components/hyConfigProvider/index.js +1 -0
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +6 -2
- package/lib/components/hyConfirmDialog/confirmMethod.js +5 -3
- package/lib/components/hyConfirmDialog/index.js +1 -0
- package/lib/components/hyCutter/cutter.vue.js +3 -0
- package/lib/components/hyCutter/index.js +1 -0
- package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
- package/lib/components/hyDatePicker/index.js +1 -0
- package/lib/components/hyDialog/dialog.vue.js +96 -12
- package/lib/components/hyDialog/index.js +1 -0
- package/lib/components/hyForm/cpns/arrayItem.vue.js +16 -3
- package/lib/components/hyForm/cpns/extraItem.vue.js +2 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +3 -0
- package/lib/components/hyForm/cpns/locationSelect.vue.js +6 -1
- package/lib/components/hyForm/form.vue.js +3 -0
- package/lib/components/hyForm/index.js +1 -0
- package/lib/components/hyForm/js/index.js +3 -1
- package/lib/components/hyForm/js/useAppForm.js +3 -1
- package/lib/components/hyIcon/icon.vue.js +1 -0
- package/lib/components/hyIcon/index.js +1 -0
- package/lib/components/hyIconBox/iconBox.vue.js +1 -0
- package/lib/components/hyIconBox/index.js +1 -0
- package/lib/components/hyInput/index.js +1 -0
- package/lib/components/hyInput/input.vue.js +2 -0
- package/lib/components/hyInput/inputSearch.vue.js +1 -0
- package/lib/components/hyLoading/index.js +47 -0
- package/lib/components/hyMap/index.js +1 -0
- package/lib/components/hyMap/js/index.js +82 -0
- package/lib/components/hyMap/map.vue.js +11 -3
- package/lib/components/hyMenu/index.js +1 -0
- package/lib/components/hyMenu/menu.vue.js +4 -0
- package/lib/components/hyNoPermissions/index.js +1 -0
- package/lib/components/hyNoPermissions/noPermissions.vue.js +4 -0
- package/lib/components/hyNoPermissionsMap/index.js +1 -0
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +4 -0
- package/lib/components/hyOrgCascader/index.js +1 -0
- package/lib/components/hyOrgCascader/js/index.js +2 -0
- package/lib/components/hyOrgCascader/orgCascader.vue.js +2 -1
- package/lib/components/hyRadioGroup/index.js +1 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +1 -1
- package/lib/components/hySearch/cpns/searchItem.vue.js +18 -0
- package/lib/components/hySearch/index.js +1 -0
- package/lib/components/hySearch/js/index.js +3 -1
- package/lib/components/hySearch/js/useAppSearch.js +4 -2
- package/lib/components/hySearch/search.vue.js +3 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +4 -1
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +3 -0
- package/lib/components/hyTable/cpns/headerItem.vue.js +3 -0
- package/lib/components/hyTable/cpns/virtualTable.vue.js +6 -1
- package/lib/components/hyTable/index.js +1 -0
- package/lib/components/hyTable/js/index.js +9 -9
- package/lib/components/hyTable/js/search.js +2 -0
- package/lib/components/hyTable/js/useAppTable.js +4 -1
- package/lib/components/hyTable/table.vue.js +11 -1
- package/lib/components/hyTableActionButton/index.js +1 -0
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -1
- package/lib/components/hyTableForm/batchTableForm.vue.js +42 -62
- package/lib/components/hyTableForm/index.js +1 -0
- package/lib/components/hyTableForm/js/index.js +12 -27
- package/lib/components/hyTableForm/js/useAppTableForm.js +2 -0
- package/lib/components/hyTableForm/tableForm.vue.js +19 -11
- package/lib/components/hyTimePicker/index.js +1 -0
- package/lib/components/hyTimePicker/timePicker.vue.js +2 -0
- package/lib/components/hyTooltip/index.js +1 -0
- package/lib/components/hyTooltip/tooltip.vue.js +2 -0
- package/lib/components/hyTree/index.js +1 -0
- package/lib/components/hyTree/js/index.js +14 -1
- package/lib/components/hyTree/tree.vue.js +9 -4
- package/lib/components/hyUserAvatar/index.js +1 -0
- package/lib/components/hyUserAvatar/userAvatar.vue.js +5 -1
- package/lib/components/hyVideoPlayer/cpns/mediaLoading.vue.js +1 -0
- package/lib/components/hyVideoPlayer/index.js +1 -0
- package/lib/components/hyVideoPlayer/js/index.js +7 -2
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -0
- package/lib/components/index.js +56 -53
- package/lib/hooks/index.js +3 -0
- package/lib/hooks/useGlobalConfig.js +5 -0
- package/lib/hooks/useLocale.js +3 -1
- package/lib/hooks/useMapConfig.js +21 -0
- package/lib/hooks/useResizeHandler.js +1 -0
- package/lib/index.js +73 -59
- package/lib/locale/en.js +1 -2
- package/lib/locale/zh_CN.js +1 -2
- package/lib/make-installer.js +1 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
- package/lib/style/element/hy-element.scss +10 -1
- package/lib/utils/file.js +1 -0
- package/lib/utils/form.js +5 -0
- package/lib/utils/handler.js +2 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/input.js +1 -0
- package/lib/utils/is.js +1 -0
- package/lib/utils/map/hook/bigMap.js +3 -2
- package/lib/utils/map/hook/gaode.js +1 -1
- package/lib/utils/map/hook/leafletjs.js +7 -1
- package/lib/utils/map/index.js +12 -0
- package/lib/utils/map/js/webgis.js +5 -1
- package/lib/utils/sharedContent.js +14 -0
- package/lib/version.js +1 -1
- package/package.json +2 -1
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var input = require('./input.vue.js');
|
|
6
6
|
var inputSearch = require('./inputSearch.vue.js');
|
|
7
|
+
require('../../utils/index.js');
|
|
7
8
|
var handler = require('../../utils/handler.js');
|
|
8
9
|
|
|
9
10
|
const HyInput = handler.withInstall(input.default);
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
+
require('../../utils/index.js');
|
|
7
8
|
var form = require('../../utils/form.js');
|
|
8
9
|
|
|
9
10
|
const __default__ = vue.defineComponent({
|
|
@@ -29,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
29
30
|
emits: /* @__PURE__ */ vue.mergeModels([], ["update:modelValue"]),
|
|
30
31
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
31
32
|
const props = __props;
|
|
33
|
+
const emits = __emit;
|
|
32
34
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
33
35
|
const inputRef = vue.useTemplateRef("inputRef");
|
|
34
36
|
const clearSpaceType = vue.computed(() => {
|
|
@@ -22,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
22
22
|
}),
|
|
23
23
|
emits: /* @__PURE__ */ vue.mergeModels(["search"], ["update:modelValue"]),
|
|
24
24
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
25
26
|
const emits = __emit;
|
|
26
27
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
27
28
|
const inputRef = vue.useTemplateRef("inputRef");
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var elementPlus = require('element-plus');
|
|
6
|
+
require('../../utils/index.js');
|
|
7
|
+
require('../../hooks/index.js');
|
|
8
|
+
var sharedContent = require('../../utils/sharedContent.js');
|
|
9
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
10
|
+
|
|
11
|
+
const loadingConfig = {
|
|
12
|
+
svg: sharedContent.loadingSvg,
|
|
13
|
+
svgViewBox: "-10, -10, 50, 50",
|
|
14
|
+
background: "rgba(0, 0, 0, 0.8)"
|
|
15
|
+
};
|
|
16
|
+
const HyLoading = {
|
|
17
|
+
name: "HyLoading",
|
|
18
|
+
install: (app) => {
|
|
19
|
+
HyLoading.service._context = app._context;
|
|
20
|
+
HyLoading.directive._context = app._context;
|
|
21
|
+
app.directive("loading", HyLoading.directive);
|
|
22
|
+
app.config.globalProperties.$loading = HyLoading;
|
|
23
|
+
},
|
|
24
|
+
directive: {
|
|
25
|
+
...elementPlus.ElLoading.directive,
|
|
26
|
+
mounted: function(el, binding, vnode, prevVnode) {
|
|
27
|
+
const { t } = useLocale.useLocale();
|
|
28
|
+
el.setAttribute("element-loading-text", `${t("hy.loading")}...`);
|
|
29
|
+
el.setAttribute("element-loading-svg", loadingConfig.svg);
|
|
30
|
+
el.setAttribute("element-loading-svg-view-box", loadingConfig.svgViewBox);
|
|
31
|
+
el.setAttribute("element-loading-background", loadingConfig.background);
|
|
32
|
+
elementPlus.ElLoading.directive.mounted.call(this, el, binding, vnode, prevVnode);
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
service: function(options = {}) {
|
|
36
|
+
const { t } = useLocale.useLocale();
|
|
37
|
+
return elementPlus.ElLoading.service.call(this, {
|
|
38
|
+
text: `${t("hy.loading")}...`,
|
|
39
|
+
...loadingConfig,
|
|
40
|
+
...options
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.ElLoading = HyLoading;
|
|
46
|
+
exports.HyLoading = HyLoading;
|
|
47
|
+
exports.default = HyLoading;
|
|
@@ -12,6 +12,88 @@ const useAppMapWrapper = (hy) => {
|
|
|
12
12
|
const hyMap = null;
|
|
13
13
|
const map = null;
|
|
14
14
|
function newMap(mapType) {
|
|
15
|
+
const mapFilters = [
|
|
16
|
+
{
|
|
17
|
+
name: "\u6697\u9ED1\u56FE\u5C42",
|
|
18
|
+
filter: "grayscale(98%) invert(100%) sepia(20%) hue-rotate(180deg) saturate(1600%) brightness(80%) contrast(90%)"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "\u590D\u53E4\u98CE\u683C",
|
|
22
|
+
filter: "sepia(80%) saturate(200%) hue-rotate(-20deg) contrast(90%) brightness(90%)"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "\u84DD\u8272\u8C03",
|
|
26
|
+
filter: "grayscale(30%) sepia(10%) hue-rotate(180deg) saturate(200%) brightness(95%) contrast(105%)"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "\u519B\u4E8B\u98CE\u683C",
|
|
30
|
+
filter: "grayscale(40%) sepia(40%) hue-rotate(-40deg) saturate(150%) brightness(90%) contrast(110%)"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "\u9713\u8679\u98CE\u683C",
|
|
34
|
+
filter: "invert(100%) hue-rotate(180deg) saturate(2000%) brightness(110%) contrast(120%)"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "\u6C34\u5F69\u98CE\u683C",
|
|
38
|
+
filter: "blur(1px) brightness(105%) contrast(95%) saturate(120%)"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "\u9ED1\u767D\u9AD8\u5BF9\u6BD4\u5EA6",
|
|
42
|
+
filter: "grayscale(100%) contrast(130%) brightness(105%) saturate(120%)"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "\u9634\u5929\u98CE\u683C",
|
|
46
|
+
filter: "grayscale(30%) contrast(90%) brightness(95%) saturate(80%)"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: "\u9633\u5149\u660E\u5A9A",
|
|
50
|
+
filter: "sepia(10%) saturate(120%) brightness(110%) contrast(105%)"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "\u591C\u95F4\u6A21\u5F0F",
|
|
54
|
+
filter: "grayscale(80%) invert(100%) sepia(30%) hue-rotate(180deg) saturate(200%) brightness(90%) contrast(95%)"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "\u6E29\u6696\u8272\u8C03",
|
|
58
|
+
filter: "sepia(40%) hue-rotate(-10deg) saturate(130%) brightness(105%) contrast(100%)"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "\u51B7\u8272\u8C03",
|
|
62
|
+
filter: "grayscale(20%) sepia(10%) hue-rotate(190deg) saturate(150%) brightness(105%) contrast(105%)"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: "\u9AD8\u5BF9\u6BD4\u5EA6",
|
|
66
|
+
filter: "contrast(150%) brightness(105%) saturate(110%)"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "\u4F4E\u9971\u548C\u5EA6",
|
|
70
|
+
filter: "saturate(30%) brightness(105%) contrast(105%)"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "\u6DF1\u8910\u8272",
|
|
74
|
+
filter: "sepia(70%) saturate(150%) brightness(90%) contrast(105%)"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: "\u9752\u7EFF\u8272",
|
|
78
|
+
filter: "hue-rotate(180deg) saturate(150%) brightness(105%) contrast(105%)"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "\u7D2B\u7EA2\u8272",
|
|
82
|
+
filter: "hue-rotate(270deg) saturate(200%) brightness(105%) contrast(105%)"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: "\u67D4\u548C\u590D\u53E4",
|
|
86
|
+
filter: "sepia(50%) saturate(120%) contrast(90%) brightness(105%)"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "\u6DE1\u96C5",
|
|
90
|
+
filter: "saturate(80%) brightness(105%) contrast(95%)"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: "\u5F3A\u70C8",
|
|
94
|
+
filter: "saturate(180%) brightness(105%) contrast(115%)"
|
|
95
|
+
}
|
|
96
|
+
];
|
|
15
97
|
hy.hyMap = new index.InitMap({
|
|
16
98
|
...mapConfig,
|
|
17
99
|
mapType,
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
+
require('../../hooks/index.js');
|
|
6
7
|
var index = require('./js/index.js');
|
|
7
8
|
var useMixins = require('../../hooks/useMixins.js');
|
|
9
|
+
var useMapConfig = require('../../hooks/useMapConfig.js');
|
|
8
10
|
|
|
9
11
|
import "../../static/map/bigemap.css";
|
|
10
12
|
|
|
@@ -18,12 +20,18 @@ const _sfc_main = {
|
|
|
18
20
|
// 地图配置
|
|
19
21
|
mapConfig: {
|
|
20
22
|
type: Object,
|
|
21
|
-
default: () =>
|
|
23
|
+
default: () => {
|
|
24
|
+
const { mapConfig } = useMapConfig.useMapConfig();
|
|
25
|
+
return mapConfig.value || {};
|
|
26
|
+
}
|
|
22
27
|
},
|
|
23
|
-
// 地图类型 gaode leafletjs
|
|
28
|
+
// 地图类型 gaode leafletjs bigMap
|
|
24
29
|
mapType: {
|
|
25
30
|
type: String,
|
|
26
|
-
default:
|
|
31
|
+
default: () => {
|
|
32
|
+
const { mapConfig } = useMapConfig.useMapConfig();
|
|
33
|
+
return mapConfig.value?.mapType || "gaode";
|
|
34
|
+
}
|
|
27
35
|
}
|
|
28
36
|
},
|
|
29
37
|
emits: ["complete"],
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
+
require('element-plus');
|
|
7
|
+
require('@element-plus/icons-vue');
|
|
8
|
+
require('../index.js');
|
|
6
9
|
var index = require('../hyTooltip/index.js');
|
|
7
10
|
var index$1 = require('../hyIcon/index.js');
|
|
8
11
|
|
|
@@ -31,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
31
34
|
}),
|
|
32
35
|
emits: /* @__PURE__ */ vue.mergeModels(["select", "open", "close"], ["update:expand"]),
|
|
33
36
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
37
|
+
const props = __props;
|
|
34
38
|
const emits = __emit;
|
|
35
39
|
const expand = vue.useModel(__props, "expand");
|
|
36
40
|
function onClickHandler(item) {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var noPermissions = require('./noPermissions.vue.js');
|
|
6
|
+
require('../../utils/index.js');
|
|
6
7
|
var handler = require('../../utils/handler.js');
|
|
7
8
|
|
|
8
9
|
const HyNoPermissions = handler.withInstall(noPermissions.default);
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
+
require('../../hooks/index.js');
|
|
7
|
+
require('../index.js');
|
|
6
8
|
var useLocale = require('../../hooks/useLocale.js');
|
|
7
9
|
var index = require('../hyIcon/index.js');
|
|
8
10
|
|
|
@@ -20,6 +22,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
20
22
|
},
|
|
21
23
|
emits: [],
|
|
22
24
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emits = __emit;
|
|
23
27
|
const { t } = useLocale.useLocale();
|
|
24
28
|
__expose({});
|
|
25
29
|
return (_ctx, _cache) => {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var noPermissionsMap = require('./noPermissionsMap.vue.js');
|
|
6
|
+
require('../../utils/index.js');
|
|
6
7
|
var handler = require('../../utils/handler.js');
|
|
7
8
|
|
|
8
9
|
const HyNoPermissionsMap = handler.withInstall(noPermissionsMap.default);
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
+
require('../../hooks/index.js');
|
|
7
|
+
require('../index.js');
|
|
6
8
|
var useLocale = require('../../hooks/useLocale.js');
|
|
7
9
|
var index = require('../hyIcon/index.js');
|
|
8
10
|
|
|
@@ -20,6 +22,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
20
22
|
},
|
|
21
23
|
emits: [],
|
|
22
24
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emits = __emit;
|
|
23
27
|
const { t } = useLocale.useLocale();
|
|
24
28
|
__expose({});
|
|
25
29
|
return (_ctx, _cache) => {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var orgCascader = require('./orgCascader.vue.js');
|
|
6
|
+
require('../../utils/index.js');
|
|
6
7
|
var handler = require('../../utils/handler.js');
|
|
7
8
|
|
|
8
9
|
const HyOrgCascader = handler.withInstall(orgCascader.default);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var Axios = require('axios');
|
|
4
4
|
var vue = require('vue');
|
|
5
|
+
require('../../../hooks/index.js');
|
|
5
6
|
var useApi = require('../../../hooks/useApi.js');
|
|
6
7
|
|
|
7
8
|
let throttleFn = null;
|
|
@@ -33,6 +34,7 @@ function getOrgTreeSimple() {
|
|
|
33
34
|
function orgTreeDatahandler(data) {
|
|
34
35
|
const cascaderMap = /* @__PURE__ */ new Map();
|
|
35
36
|
const handler = (list = [], parentIdsList = []) => {
|
|
37
|
+
;
|
|
36
38
|
(list || []).forEach((item) => {
|
|
37
39
|
item.label = item.companyName;
|
|
38
40
|
item.value = item.id;
|
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
+
require('../../hooks/index.js');
|
|
7
8
|
var index = require('./js/index.js');
|
|
8
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
9
9
|
var useSubscribe = require('../../hooks/useSubscribe.js');
|
|
10
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
10
11
|
|
|
11
12
|
import "./style/orgCascader.scss";
|
|
12
13
|
|
|
@@ -86,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
86
86
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
87
87
|
key: index,
|
|
88
88
|
class: "w-0 flex-1 flex items-center justify-center text-main clickBox",
|
|
89
|
-
onClick: ($event) => switchSelect(item)
|
|
89
|
+
onClick: ($event) => switchSelect(item, index, $event)
|
|
90
90
|
}, [
|
|
91
91
|
vue.renderSlot(_ctx.$slots, "default", {
|
|
92
92
|
item,
|
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
+
require('../../../utils/index.js');
|
|
8
|
+
require('../../index.js');
|
|
7
9
|
var index = require('../js/index.js');
|
|
8
10
|
var is = require('../../../utils/is.js');
|
|
9
11
|
var form = require('../../../utils/form.js');
|
|
@@ -243,6 +245,22 @@ const _sfc_main = {
|
|
|
243
245
|
],
|
|
244
246
|
2112
|
|
245
247
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
248
|
+
)) : __props.column.type === "cascader" ? (vue.openBlock(), vue.createElementBlock(
|
|
249
|
+
vue.Fragment,
|
|
250
|
+
{ key: 6 },
|
|
251
|
+
[
|
|
252
|
+
vue.createCommentVNode(" \u7EA7\u8054\u9009\u62E9\u6846 "),
|
|
253
|
+
vue.createVNode(vue.unref(elementPlus.ElCascader), vue.mergeProps({
|
|
254
|
+
modelValue: bindValue.value,
|
|
255
|
+
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
256
|
+
}, columnAttrs.value, {
|
|
257
|
+
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
258
|
+
options: vue.unref(index.optionsHandler)(props, __props.column),
|
|
259
|
+
onChange: onChangeHandler
|
|
260
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options"])
|
|
261
|
+
],
|
|
262
|
+
2112
|
|
263
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
246
264
|
)) : vue.createCommentVNode("v-if", true)
|
|
247
265
|
],
|
|
248
266
|
6
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var dayjs = require('dayjs');
|
|
4
4
|
var vue = require('vue');
|
|
5
|
-
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
require('../../../hooks/index.js');
|
|
6
7
|
var is = require('../../../utils/is.js');
|
|
8
|
+
var useResizeObserver = require('../../../hooks/useResizeObserver.js');
|
|
7
9
|
|
|
8
10
|
function columnItemStyle(props, column) {
|
|
9
11
|
const { width } = column;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
require('../../../hooks/index.js');
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
6
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
7
7
|
var is = require('../../../utils/is.js');
|
|
8
|
+
var form = require('../../../utils/form.js');
|
|
9
|
+
var handler = require('../../../utils/handler.js');
|
|
8
10
|
|
|
9
11
|
const genColumnWidth = (config) => {
|
|
10
12
|
let { width, inputWidth, type, attrs } = config || {};
|
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
+
require('../../hooks/index.js');
|
|
9
|
+
require('../../utils/index.js');
|
|
10
|
+
require('../index.js');
|
|
8
11
|
var searchItem = require('./cpns/searchItem.vue.js');
|
|
9
12
|
var index = require('./js/index.js');
|
|
10
13
|
var useAppSearch = require('./js/useAppSearch.js');
|
|
@@ -6,13 +6,16 @@ var vue = require('vue');
|
|
|
6
6
|
var Sortable = require('sortablejs');
|
|
7
7
|
var elementPlus = require('element-plus');
|
|
8
8
|
var iconsVue = require('@element-plus/icons-vue');
|
|
9
|
+
require('../../../hooks/index.js');
|
|
10
|
+
require('../../../utils/index.js');
|
|
11
|
+
require('../../index.js');
|
|
9
12
|
var index = require('../js/index.js');
|
|
10
13
|
var columnSelectItem = require('./columnSelectItem.vue.js');
|
|
11
14
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
15
|
+
var is = require('../../../utils/is.js');
|
|
12
16
|
var index$1 = require('../../hyIcon/index.js');
|
|
13
17
|
var index$2 = require('../../hyTooltip/index.js');
|
|
14
18
|
var index$3 = require('../../hyButton/index.js');
|
|
15
|
-
var is = require('../../../utils/is.js');
|
|
16
19
|
|
|
17
20
|
const _sfc_main = {
|
|
18
21
|
__name: "columnSelect",
|
|
@@ -5,7 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
+
require('../../../hooks/index.js');
|
|
8
9
|
var index = require('../js/index.js');
|
|
10
|
+
require('../../index.js');
|
|
9
11
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
10
12
|
var index$1 = require('../../hyTooltip/index.js');
|
|
11
13
|
|
|
@@ -27,6 +29,7 @@ const _sfc_main = {
|
|
|
27
29
|
},
|
|
28
30
|
emits: ["checked"],
|
|
29
31
|
setup(__props, { emit: __emit }) {
|
|
32
|
+
const props = __props;
|
|
30
33
|
const emits = __emit;
|
|
31
34
|
const { t } = useLocale.useLocale();
|
|
32
35
|
function onClickHandler(column) {
|
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
+
require('../../index.js');
|
|
9
|
+
require('../../../utils/index.js');
|
|
10
|
+
require('../js/index.js');
|
|
8
11
|
|
|
9
12
|
const _sfc_main = {
|
|
10
13
|
__name: "headerItem",
|
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
+
require('../../index.js');
|
|
9
|
+
require('../../../hooks/index.js');
|
|
10
|
+
require('../../../utils/index.js');
|
|
8
11
|
var index = require('../js/index.js');
|
|
9
12
|
var headerItem = require('./headerItem.vue.js');
|
|
10
13
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
@@ -185,6 +188,7 @@ const _sfc_main = {
|
|
|
185
188
|
}
|
|
186
189
|
const checkedNodeMap = new Map(selectedMap.value);
|
|
187
190
|
const isChecked = is.isBoolean(selected) ? selected : !checkedNodeMap.has(key);
|
|
191
|
+
const checkStrictly = false;
|
|
188
192
|
const toggle = (node, checked) => {
|
|
189
193
|
const nodeKey = getRowKey(node);
|
|
190
194
|
if (isSelectable(node)) {
|
|
@@ -195,7 +199,7 @@ const _sfc_main = {
|
|
|
195
199
|
}
|
|
196
200
|
}
|
|
197
201
|
const children = node.children;
|
|
198
|
-
if (children) {
|
|
202
|
+
if (!checkStrictly && children) {
|
|
199
203
|
children.forEach((childNode) => {
|
|
200
204
|
toggle(childNode, checked);
|
|
201
205
|
});
|
|
@@ -391,6 +395,7 @@ const _sfc_main = {
|
|
|
391
395
|
onClick: vue.withModifiers(($event) => onRowExpandSwitch({
|
|
392
396
|
rowData: _ctx.rowData,
|
|
393
397
|
row,
|
|
398
|
+
rowIndex: $index,
|
|
394
399
|
rowKey: getRowKey(row)
|
|
395
400
|
}), ["stop"])
|
|
396
401
|
}, [
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
require('../../../hooks/index.js');
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
require('../../index.js');
|
|
7
7
|
var is = require('../../../utils/is.js');
|
|
8
|
+
var useLocale = require('../../../hooks/useLocale.js');
|
|
9
|
+
var usePermissionMap = require('../../../hooks/usePermissionMap.js');
|
|
10
|
+
var index = require('../../hyLoading/index.js');
|
|
8
11
|
|
|
9
12
|
function tableColumnShowHandler(column) {
|
|
10
13
|
if (column.permission && !is.isPermission(column.permission)) {
|
|
@@ -30,7 +33,7 @@ function tableColumnsEditableleHandler(columns, columnsEditablele) {
|
|
|
30
33
|
column
|
|
31
34
|
});
|
|
32
35
|
}
|
|
33
|
-
Array.from(sortSet.values()).reduce((a, b) => a - b);
|
|
36
|
+
const sortList = Array.from(sortSet.values()).reduce((a, b) => a - b);
|
|
34
37
|
const columnsList = Object.keys(columnsEditableleObj).reduce(
|
|
35
38
|
(columnsList2, key) => {
|
|
36
39
|
const list = columnsEditableleObj[key];
|
|
@@ -200,14 +203,11 @@ const useAppTableWrapper = (hy) => {
|
|
|
200
203
|
function showAppTableLoading() {
|
|
201
204
|
if (loadingInstance || !props.showLoading) return;
|
|
202
205
|
closeAppTableLoading();
|
|
203
|
-
loadingInstance =
|
|
206
|
+
loadingInstance = index.ElLoading.service({
|
|
204
207
|
target: containerRef.value,
|
|
205
208
|
body: false,
|
|
206
209
|
fullscreen: false,
|
|
207
|
-
|
|
208
|
-
lock: true,
|
|
209
|
-
// spinner: 'el-icon-loading',
|
|
210
|
-
background: "rgba(0, 0, 0, 0.8)"
|
|
210
|
+
lock: true
|
|
211
211
|
});
|
|
212
212
|
loadingTimer = setTimeout(() => {
|
|
213
213
|
closeAppTableLoading();
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
|
+
require('../../../hooks/index.js');
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
require('../../index.js');
|
|
7
|
+
var useLocale = require('../../../hooks/useLocale.js');
|
|
4
8
|
var is = require('../../../utils/is.js');
|
|
5
9
|
var useAppSearch = require('../../hySearch/js/useAppSearch.js');
|
|
6
|
-
var useLocale = require('../../../hooks/useLocale.js');
|
|
7
10
|
|
|
8
11
|
function getColumnDefaultConfig(column) {
|
|
9
12
|
const { t } = useLocale.useLocale();
|