hy-dispatch-ui-v3 0.2.20 → 0.2.21
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/es/components/{appAudioPlayer/appAudioPlayer.vue.mjs → hyAudioPlayer/audioPlayer.vue.mjs} +17 -17
- package/es/components/hyAudioPlayer/index.mjs +6 -0
- package/{lib/components/appAudioPlayer/style/appAudioPlayer.scss → es/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
- package/es/components/{appButton/appButton.vue.mjs → hyButton/button.vue.mjs} +11 -9
- package/es/components/hyButton/index.mjs +6 -0
- package/es/components/{appConfigProvider/appConfigProvider.vue.mjs → hyConfigProvider/configProvider.vue.mjs} +2 -2
- package/es/components/hyConfigProvider/index.mjs +6 -0
- package/es/components/{appConfirmDialog/appConfirmDialog.vue.mjs → hyConfirmDialog/confirmDialog.vue.mjs} +4 -4
- package/es/components/{appConfirmDialog/appConfirmMethod.mjs → hyConfirmDialog/confirmMethod.mjs} +3 -3
- package/es/components/hyConfirmDialog/index.mjs +7 -0
- package/es/components/{appCutter/appCutter.vue.mjs → hyCutter/cutter.vue.mjs} +11 -11
- package/es/components/hyCutter/index.mjs +6 -0
- package/es/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
- package/es/components/{appDatePicker/appDatePicker.vue.mjs → hyDatePicker/datePicker.vue.mjs} +3 -3
- package/es/components/hyDatePicker/index.mjs +7 -0
- package/es/components/{appDialog/appDialog.vue.mjs → hyDialog/dialog.vue.mjs} +6 -6
- package/es/components/hyDialog/index.mjs +6 -0
- package/es/components/{appForm → hyForm}/cpns/arrayItem.vue.mjs +3 -3
- package/es/components/{appForm → hyForm}/cpns/extraItem.vue.mjs +4 -4
- package/es/components/{appForm/cpns/appFormItem.vue.mjs → hyForm/cpns/formItem.vue.mjs} +15 -16
- package/es/components/{appForm/appForm.vue.mjs → hyForm/form.vue.mjs} +4 -4
- package/es/components/hyForm/index.mjs +7 -0
- package/{lib/components/appForm/style/appForm.scss → es/components/hyForm/style/form.scss} +6 -6
- package/es/components/{appIcon/appIcon.vue.mjs → hyIcon/icon.vue.mjs} +5 -5
- package/es/components/hyIcon/index.mjs +6 -0
- package/es/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
- package/es/components/{appIconBox/appIconBox.vue.mjs → hyIconBox/iconBox.vue.mjs} +6 -6
- package/es/components/hyIconBox/index.mjs +6 -0
- package/es/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
- package/es/components/hyInput/index.mjs +7 -0
- package/es/components/{appInput/appInput.vue.mjs → hyInput/input.vue.mjs} +1 -1
- package/es/components/hyMenu/index.mjs +6 -0
- package/es/components/{appMenu/appMenu.vue.mjs → hyMenu/menu.vue.mjs} +6 -6
- package/es/components/hyNoPermissions/index.mjs +6 -0
- package/es/components/{appNoPermissions/appNoPermissions.vue.mjs → hyNoPermissions/noPermissions.vue.mjs} +4 -4
- package/es/components/hyNoPermissionsMap/index.mjs +6 -0
- package/es/components/{appNoPermissionsMap/appNoPermissionsMap.vue.mjs → hyNoPermissionsMap/noPermissionsMap.vue.mjs} +4 -4
- package/es/components/hyOrgCascader/index.mjs +6 -0
- package/es/components/{appOrgCascader/appOrgCascader.vue.mjs → hyOrgCascader/orgCascader.vue.mjs} +3 -3
- package/es/components/{appSearch/cpns/appSearchItem.vue.mjs → hySearch/cpns/searchItem.vue.mjs} +14 -20
- package/es/components/hySearch/index.mjs +7 -0
- package/es/components/{appSearch/appSearch.vue.mjs → hySearch/search.vue.mjs} +8 -8
- package/es/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
- package/es/components/{appTable → hyTable}/cpns/columnSelect.vue.mjs +2 -2
- package/es/components/{appTable → hyTable}/cpns/columnSelectItem.vue.mjs +2 -2
- package/es/components/{appTable → hyTable}/cpns/headerItem.vue.mjs +1 -1
- package/es/components/{appTable → hyTable}/cpns/virtualTable.vue.mjs +10 -11
- package/es/components/hyTable/index.mjs +7 -0
- package/es/components/{appTable → hyTable}/js/useAppTable.mjs +1 -1
- package/es/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
- package/es/components/{appTable/appTable.vue.mjs → hyTable/table.vue.mjs} +20 -23
- package/es/components/hyTableForm/index.mjs +6 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +21 -0
- package/es/components/hyTimePicker/index.mjs +7 -0
- package/es/components/{appTimePicker/appTimePicker.vue.mjs → hyTimePicker/timePicker.vue.mjs} +2 -2
- package/es/components/hyTooltip/index.mjs +7 -0
- package/es/components/{appTooltip/appTooltip.vue.mjs → hyTooltip/tooltip.vue.mjs} +4 -4
- package/es/components/hyTree/index.mjs +6 -0
- package/es/components/{appTree/appTree.vue.mjs → hyTree/tree.vue.mjs} +3 -3
- package/es/components/hyUserAvatar/index.mjs +6 -0
- package/{lib/components/appUserAvatar/style/appUserAvatar.scss → es/components/hyUserAvatar/style/userAvatar.scss} +1 -1
- package/es/components/{appUserAvatar/appUserAvatar.vue.mjs → hyUserAvatar/userAvatar.vue.mjs} +7 -7
- package/es/components/hyVideoPlayer/index.mjs +6 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/js/index.mjs +3 -3
- package/es/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
- package/es/components/{appVideoPlayer/appVideoPlayer.vue.mjs → hyVideoPlayer/videoPlayer.vue.mjs} +29 -29
- package/es/components/index.mjs +26 -25
- package/es/hooks/useGlobalConfig.mjs +1 -1
- package/es/index.mjs +26 -25
- package/es/make-installer.mjs +0 -2
- package/es/version.mjs +1 -1
- package/lib/components/{appAudioPlayer/appAudioPlayer.vue.js → hyAudioPlayer/audioPlayer.vue.js} +16 -16
- package/lib/components/hyAudioPlayer/index.js +11 -0
- package/{es/components/appAudioPlayer/style/appAudioPlayer.scss → lib/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
- package/lib/components/{appButton/appButton.vue.js → hyButton/button.vue.js} +10 -8
- package/lib/components/hyButton/index.js +11 -0
- package/lib/components/{appConfigProvider/appConfigProvider.vue.js → hyConfigProvider/configProvider.vue.js} +1 -1
- package/lib/components/hyConfigProvider/index.js +11 -0
- package/lib/components/{appConfirmDialog/appConfirmDialog.vue.js → hyConfirmDialog/confirmDialog.vue.js} +4 -4
- package/lib/components/{appConfirmDialog/appConfirmMethod.js → hyConfirmDialog/confirmMethod.js} +9 -9
- package/lib/components/hyConfirmDialog/index.js +12 -0
- package/lib/components/{appCutter/appCutter.vue.js → hyCutter/cutter.vue.js} +11 -11
- package/lib/components/hyCutter/index.js +11 -0
- package/lib/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
- package/lib/components/{appDatePicker/appDatePicker.vue.js → hyDatePicker/datePicker.vue.js} +3 -3
- package/lib/components/hyDatePicker/index.js +13 -0
- package/lib/components/{appDialog/appDialog.vue.js → hyDialog/dialog.vue.js} +6 -6
- package/lib/components/hyDialog/index.js +11 -0
- package/lib/components/{appForm → hyForm}/cpns/arrayItem.vue.js +4 -4
- package/lib/components/{appForm → hyForm}/cpns/extraItem.vue.js +5 -5
- package/lib/components/{appForm/cpns/appFormItem.vue.js → hyForm/cpns/formItem.vue.js} +15 -16
- package/lib/components/{appForm/appForm.vue.js → hyForm/form.vue.js} +5 -5
- package/lib/components/{appForm → hyForm}/index.js +4 -4
- package/{es/components/appForm/style/appForm.scss → lib/components/hyForm/style/form.scss} +6 -6
- package/lib/components/{appIcon/appIcon.vue.js → hyIcon/icon.vue.js} +4 -4
- package/lib/components/hyIcon/index.js +11 -0
- package/lib/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
- package/lib/components/{appIconBox/appIconBox.vue.js → hyIconBox/iconBox.vue.js} +6 -6
- package/lib/components/hyIconBox/index.js +11 -0
- package/lib/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
- package/lib/components/hyInput/index.js +13 -0
- package/lib/components/{appInput/appInput.vue.js → hyInput/input.vue.js} +1 -1
- package/lib/components/hyMenu/index.js +11 -0
- package/lib/components/{appMenu/appMenu.vue.js → hyMenu/menu.vue.js} +6 -6
- package/lib/components/hyNoPermissions/index.js +11 -0
- package/lib/components/{appNoPermissions/appNoPermissions.vue.js → hyNoPermissions/noPermissions.vue.js} +4 -4
- package/lib/components/hyNoPermissionsMap/index.js +11 -0
- package/lib/components/{appNoPermissionsMap/appNoPermissionsMap.vue.js → hyNoPermissionsMap/noPermissionsMap.vue.js} +4 -4
- package/lib/components/hyOrgCascader/index.js +11 -0
- package/lib/components/{appOrgCascader/appOrgCascader.vue.js → hyOrgCascader/orgCascader.vue.js} +3 -3
- package/lib/components/{appSearch/cpns/appSearchItem.vue.js → hySearch/cpns/searchItem.vue.js} +14 -20
- package/lib/components/{appSearch → hySearch}/index.js +4 -4
- package/lib/components/{appSearch/appSearch.vue.js → hySearch/search.vue.js} +9 -9
- package/lib/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
- package/lib/components/{appTable → hyTable}/cpns/columnSelect.vue.js +2 -2
- package/lib/components/{appTable → hyTable}/cpns/columnSelectItem.vue.js +2 -2
- package/lib/components/{appTable → hyTable}/cpns/headerItem.vue.js +1 -1
- package/lib/components/{appTable → hyTable}/cpns/virtualTable.vue.js +9 -10
- package/lib/components/{appTable → hyTable}/index.js +4 -4
- package/lib/components/{appTable → hyTable}/js/useAppTable.js +1 -1
- package/lib/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
- package/lib/components/{appTable/appTable.vue.js → hyTable/table.vue.js} +20 -23
- package/lib/components/hyTableForm/index.js +11 -0
- package/lib/components/hyTableForm/tableForm.vue.js +25 -0
- package/lib/components/hyTimePicker/index.js +13 -0
- package/lib/components/hyTimePicker/style/timePicker.scss +0 -0
- package/lib/components/{appTimePicker/appTimePicker.vue.js → hyTimePicker/timePicker.vue.js} +2 -2
- package/lib/components/hyTooltip/index.js +13 -0
- package/lib/components/hyTooltip/style/tooltip.scss +0 -0
- package/lib/components/{appTooltip/appTooltip.vue.js → hyTooltip/tooltip.vue.js} +4 -4
- package/lib/components/hyTree/index.js +11 -0
- package/lib/components/{appTree/appTree.vue.js → hyTree/tree.vue.js} +3 -3
- package/lib/components/hyUserAvatar/index.js +11 -0
- package/{es/components/appUserAvatar/style/appUserAvatar.scss → lib/components/hyUserAvatar/style/userAvatar.scss} +1 -1
- package/lib/components/{appUserAvatar/appUserAvatar.vue.js → hyUserAvatar/userAvatar.vue.js} +7 -7
- package/lib/components/hyVideoPlayer/index.js +11 -0
- package/lib/components/{appVideoPlayer → hyVideoPlayer}/js/index.js +3 -3
- package/lib/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
- package/lib/components/{appVideoPlayer/appVideoPlayer.vue.js → hyVideoPlayer/videoPlayer.vue.js} +29 -29
- package/lib/components/index.js +53 -51
- package/lib/index.js +53 -51
- package/lib/make-installer.js +0 -2
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/es/components/appAudioPlayer/index.mjs +0 -6
- package/es/components/appButton/index.mjs +0 -6
- package/es/components/appConfigProvider/index.mjs +0 -6
- package/es/components/appConfirmDialog/index.mjs +0 -7
- package/es/components/appCutter/index.mjs +0 -6
- package/es/components/appDatePicker/index.mjs +0 -7
- package/es/components/appDialog/index.mjs +0 -6
- package/es/components/appForm/index.mjs +0 -7
- package/es/components/appIcon/index.mjs +0 -6
- package/es/components/appIconBox/index.mjs +0 -6
- package/es/components/appInput/index.mjs +0 -7
- package/es/components/appMenu/index.mjs +0 -6
- package/es/components/appNoPermissions/index.mjs +0 -6
- package/es/components/appNoPermissionsMap/index.mjs +0 -6
- package/es/components/appOrgCascader/index.mjs +0 -6
- package/es/components/appSearch/index.mjs +0 -7
- package/es/components/appTable/index.mjs +0 -7
- package/es/components/appTimePicker/index.mjs +0 -7
- package/es/components/appTooltip/index.mjs +0 -7
- package/es/components/appTree/index.mjs +0 -6
- package/es/components/appUserAvatar/index.mjs +0 -6
- package/es/components/appVideoPlayer/index.mjs +0 -6
- package/lib/components/appAudioPlayer/index.js +0 -11
- package/lib/components/appButton/index.js +0 -11
- package/lib/components/appConfigProvider/index.js +0 -11
- package/lib/components/appConfirmDialog/index.js +0 -12
- package/lib/components/appCutter/index.js +0 -11
- package/lib/components/appDatePicker/index.js +0 -13
- package/lib/components/appDialog/index.js +0 -11
- package/lib/components/appIcon/index.js +0 -11
- package/lib/components/appIconBox/index.js +0 -11
- package/lib/components/appInput/index.js +0 -13
- package/lib/components/appMenu/index.js +0 -11
- package/lib/components/appNoPermissions/index.js +0 -11
- package/lib/components/appNoPermissionsMap/index.js +0 -11
- package/lib/components/appOrgCascader/index.js +0 -11
- package/lib/components/appTimePicker/index.js +0 -13
- package/lib/components/appTooltip/index.js +0 -13
- package/lib/components/appTree/index.js +0 -11
- package/lib/components/appUserAvatar/index.js +0 -11
- package/lib/components/appVideoPlayer/index.js +0 -11
- package/es/components/{appAudioPlayer → hyAudioPlayer}/js/index.mjs +1 -1
- package/es/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
- package/es/components/{appDatePicker/style/appDatePicker.scss → hyDatePicker/style/datePicker.scss} +0 -0
- package/es/components/{appDialog/style/appDialog.scss → hyDialog/style/dialog.scss} +0 -0
- package/es/components/{appForm → hyForm}/js/index.mjs +0 -0
- package/es/components/{appForm → hyForm}/js/useAppForm.mjs +1 -1
- package/es/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
- package/es/components/{appNoPermissions/style/appNoPermissions.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
- package/es/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
- package/es/components/{appOrgCascader/style/appOrgCascader.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
- package/es/components/{appSearch → hySearch}/js/index.mjs +0 -0
- package/es/components/{appSearch → hySearch}/js/useAppSearch.mjs +0 -0
- package/es/components/{appTable → hyTable}/js/index.mjs +0 -0
- package/es/components/{appTable → hyTable}/js/search.mjs +0 -0
- package/es/components/{appTimePicker/style/appTimePicker.scss → hyTableForm/style/tableForm.scss} +0 -0
- package/es/components/{appTooltip/style/appTooltip.scss → hyTimePicker/style/timePicker.scss} +0 -0
- package/{lib/components/appDatePicker/style/appDatePicker.scss → es/components/hyTooltip/style/tooltip.scss} +0 -0
- package/es/components/{appTree → hyTree}/config/tree-config.mjs +0 -0
- package/es/components/{appTree → hyTree}/js/index.mjs +0 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.mjs +0 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
- package/lib/components/{appAudioPlayer → hyAudioPlayer}/js/index.js +1 -1
- package/lib/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
- package/lib/components/{appDialog/style/appDialog.scss → hyDatePicker/style/datePicker.scss} +0 -0
- package/lib/components/{appNoPermissions/style/appNoPermissions.scss → hyDialog/style/dialog.scss} +0 -0
- package/lib/components/{appForm → hyForm}/js/index.js +0 -0
- package/lib/components/{appForm → hyForm}/js/useAppForm.js +1 -1
- /package/lib/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
- /package/lib/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
- /package/lib/components/{appOrgCascader/style/appOrgCascader.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
- /package/lib/components/{appTimePicker/style/appTimePicker.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
- /package/lib/components/{appSearch → hySearch}/js/index.js +0 -0
- /package/lib/components/{appSearch → hySearch}/js/useAppSearch.js +0 -0
- /package/lib/components/{appTable → hyTable}/js/index.js +0 -0
- /package/lib/components/{appTable → hyTable}/js/search.js +0 -0
- /package/lib/components/{appTooltip/style/appTooltip.scss → hyTableForm/style/tableForm.scss} +0 -0
- /package/lib/components/{appTree → hyTree}/config/tree-config.js +0 -0
- /package/lib/components/{appTree → hyTree}/js/index.js +0 -0
- /package/lib/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.js +0 -0
- /package/lib/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
|
@@ -5,11 +5,11 @@ 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
|
-
var index = require('../appButton/index.js');
|
|
9
8
|
var useLocale = require('../../hooks/useLocale.js');
|
|
9
|
+
var index = require('../hyButton/index.js');
|
|
10
10
|
|
|
11
11
|
const __default__ = vue.defineComponent({
|
|
12
|
-
name: "
|
|
12
|
+
name: "HyConfirmDialog"
|
|
13
13
|
});
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
15
15
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -208,7 +208,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
208
208
|
key: 0,
|
|
209
209
|
class: "pt-[32px]"
|
|
210
210
|
}, [
|
|
211
|
-
__props.showCancel ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
211
|
+
__props.showCancel ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyButton), {
|
|
212
212
|
key: 0,
|
|
213
213
|
type: __props.cancelType,
|
|
214
214
|
disabled: loading.value,
|
|
@@ -224,7 +224,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
224
224
|
_: 1
|
|
225
225
|
/* STABLE */
|
|
226
226
|
}, 8, ["type", "disabled"])) : vue.createCommentVNode("v-if", true),
|
|
227
|
-
__props.showSubmit ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
227
|
+
__props.showSubmit ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyButton), {
|
|
228
228
|
key: 1,
|
|
229
229
|
type: __props.submitType,
|
|
230
230
|
disabled: loading.value,
|
package/lib/components/{appConfirmDialog/appConfirmMethod.js → hyConfirmDialog/confirmMethod.js}
RENAMED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var useApi = require('../../hooks/useApi.js');
|
|
7
|
-
var
|
|
8
|
-
var appConfirmDialog = require('./appConfirmDialog.vue.js');
|
|
7
|
+
var confirmDialog = require('./confirmDialog.vue.js');
|
|
9
8
|
var useLocale = require('../../hooks/useLocale.js');
|
|
10
9
|
var useGlobalConfig = require('../../hooks/useGlobalConfig.js');
|
|
10
|
+
var index = require('../hyConfigProvider/index.js');
|
|
11
11
|
|
|
12
12
|
function appConfirmMethod(config) {
|
|
13
13
|
let container = document.createDocumentFragment();
|
|
@@ -25,9 +25,9 @@ function appConfirmMethod(config) {
|
|
|
25
25
|
api = useApi.defaultAxios,
|
|
26
26
|
...args
|
|
27
27
|
} = vue.unref(globalConfig) || {};
|
|
28
|
-
const vm = vue.createVNode(
|
|
28
|
+
const vm = vue.createVNode(confirmDialog.default, props);
|
|
29
29
|
const configProvider = vue.createVNode(
|
|
30
|
-
index.
|
|
30
|
+
index.HyConfigProvider,
|
|
31
31
|
{
|
|
32
32
|
locale,
|
|
33
33
|
api,
|
|
@@ -53,7 +53,7 @@ function appConfirmMethod(config) {
|
|
|
53
53
|
confirmDialogInstance.component.exposed.show();
|
|
54
54
|
return destroy;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
confirmDialog.default.tip = (props) => {
|
|
57
57
|
const { t } = useLocale.useLocale();
|
|
58
58
|
return appConfirmMethod({
|
|
59
59
|
dialogTitle: t("dialog.prompt"),
|
|
@@ -63,7 +63,7 @@ appConfirmDialog.default.tip = (props) => {
|
|
|
63
63
|
...props
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
confirmDialog.default.confirm = (props) => {
|
|
67
67
|
const { t } = useLocale.useLocale();
|
|
68
68
|
return appConfirmMethod({
|
|
69
69
|
dialogTitle: t("dialog.prompt"),
|
|
@@ -72,7 +72,7 @@ appConfirmDialog.default.confirm = (props) => {
|
|
|
72
72
|
...props
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
|
-
|
|
75
|
+
confirmDialog.default.warning = (props) => {
|
|
76
76
|
const { t } = useLocale.useLocale();
|
|
77
77
|
return appConfirmMethod({
|
|
78
78
|
dialogTitle: t("dialog.riskWarning"),
|
|
@@ -83,7 +83,7 @@ appConfirmDialog.default.warning = (props) => {
|
|
|
83
83
|
...props
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
confirmDialog.default.danger = (props) => {
|
|
87
87
|
const { t } = useLocale.useLocale();
|
|
88
88
|
return appConfirmMethod({
|
|
89
89
|
dialogTitle: t("dialog.dangerousOperation"),
|
|
@@ -96,4 +96,4 @@ appConfirmDialog.default.danger = (props) => {
|
|
|
96
96
|
});
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
exports.default =
|
|
99
|
+
exports.default = confirmDialog.default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('./confirmMethod.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
var confirmDialog = require('./confirmDialog.vue.js');
|
|
8
|
+
|
|
9
|
+
const HyConfirmDialog = handler.withInstall(confirmDialog.default);
|
|
10
|
+
|
|
11
|
+
exports.HyConfirmDialog = HyConfirmDialog;
|
|
12
|
+
exports.default = HyConfirmDialog;
|
|
@@ -6,16 +6,16 @@ var vue = require('vue');
|
|
|
6
6
|
var vueCropper = require('vue-cropper');
|
|
7
7
|
var elementPlus = require('element-plus');
|
|
8
8
|
var iconsVue = require('@element-plus/icons-vue');
|
|
9
|
-
var file = require('../../utils/file.js');
|
|
10
|
-
var index = require('../appDialog/index.js');
|
|
11
9
|
var useLocale = require('../../hooks/useLocale.js');
|
|
10
|
+
var file = require('../../utils/file.js');
|
|
11
|
+
var index = require('../hyDialog/index.js');
|
|
12
12
|
|
|
13
13
|
import "vue-cropper/dist/index.css";
|
|
14
14
|
|
|
15
|
-
import "./style/
|
|
15
|
+
import "./style/cutter.scss";
|
|
16
16
|
|
|
17
17
|
const __default__ = vue.defineComponent({
|
|
18
|
-
name: "
|
|
18
|
+
name: "HyCutter"
|
|
19
19
|
});
|
|
20
20
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
21
21
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -252,14 +252,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
252
252
|
{
|
|
253
253
|
ref_key: "uploadRef",
|
|
254
254
|
ref: uploadRef,
|
|
255
|
-
class: "
|
|
255
|
+
class: "hy-cutter-upload-box"
|
|
256
256
|
},
|
|
257
257
|
[
|
|
258
258
|
vue.renderSlot(_ctx.$slots, "default", { src: imgSrc.value }, () => [
|
|
259
259
|
vue.createElementVNode(
|
|
260
260
|
"div",
|
|
261
261
|
{
|
|
262
|
-
class: "
|
|
262
|
+
class: "hy-cutter-upload-card",
|
|
263
263
|
style: vue.normalizeStyle({
|
|
264
264
|
width: `${__props.autoCropWidth}px`,
|
|
265
265
|
height: `${__props.autoCropHeight}px`
|
|
@@ -277,7 +277,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
277
277
|
vue.Fragment,
|
|
278
278
|
{ key: 1 },
|
|
279
279
|
[
|
|
280
|
-
vue.createCommentVNode(' <
|
|
280
|
+
vue.createCommentVNode(' <HyIcon\n v-else\n svg-name="emptyHead"\n style="width: 70px; height: 70px"\n /> '),
|
|
281
281
|
vue.createVNode(vue.unref(elementPlus.ElIcon), {
|
|
282
282
|
color: "rgb(var(--hy-auxiliary))",
|
|
283
283
|
size: "64"
|
|
@@ -301,7 +301,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
301
301
|
"div",
|
|
302
302
|
{
|
|
303
303
|
key: 0,
|
|
304
|
-
class: "
|
|
304
|
+
class: "hy-cutter-tip"
|
|
305
305
|
},
|
|
306
306
|
vue.toDisplayString(__props.uploadText),
|
|
307
307
|
1
|
|
@@ -309,10 +309,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
309
309
|
)) : vue.createCommentVNode("v-if", true),
|
|
310
310
|
__props.showDelete ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
311
311
|
key: 1,
|
|
312
|
-
class: "
|
|
312
|
+
class: "hy-cutter-delete",
|
|
313
313
|
onClick: vue.withModifiers(($event) => onClearHandler(), ["stop"])
|
|
314
314
|
}, [
|
|
315
|
-
vue.createCommentVNode(' <
|
|
315
|
+
vue.createCommentVNode(' <HyIcon svg-name="delete" /> '),
|
|
316
316
|
vue.createVNode(vue.unref(elementPlus.ElIcon), { color: "rgb(var(--hy-danger-2))" }, {
|
|
317
317
|
default: vue.withCtx(() => [
|
|
318
318
|
vue.createVNode(vue.unref(iconsVue.Delete))
|
|
@@ -333,7 +333,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
333
333
|
}, 8, ["disabled"]), [
|
|
334
334
|
[vue.vShow, __props.showUpload]
|
|
335
335
|
]),
|
|
336
|
-
vue.createVNode(vue.unref(index.
|
|
336
|
+
vue.createVNode(vue.unref(index.HyDialog), vue.mergeProps({
|
|
337
337
|
modelValue: visible.value,
|
|
338
338
|
"onUpdate:modelValue": ($event) => visible.value = $event,
|
|
339
339
|
title: vue.unref(t)("cutter.imageSegmentation")
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var cutter = require('./cutter.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyCutter = handler.withInstall(cutter.default);
|
|
9
|
+
|
|
10
|
+
exports.HyCutter = HyCutter;
|
|
11
|
+
exports.default = HyCutter;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
.hy-cutter-upload-box {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
position: relative;
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
border-radius: 4px;
|
|
6
|
-
.
|
|
6
|
+
.hy-cutter-delete {
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 23px;
|
|
9
9
|
display: flex;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
transition: all 0.3s;
|
|
16
16
|
background: rgba(0, 0, 0, 0.6);
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.hy-cutter-tip {
|
|
19
19
|
width: 100%;
|
|
20
20
|
position: absolute;
|
|
21
21
|
left: 50%;
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
transition: all 0.3s;
|
|
31
31
|
}
|
|
32
32
|
&:hover {
|
|
33
|
-
.
|
|
33
|
+
.hy-cutter-delete {
|
|
34
34
|
bottom: 0;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.hy-cutter-tip {
|
|
37
37
|
opacity: 1;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.hy-cutter-upload-card {
|
|
41
41
|
width: 70px;
|
|
42
42
|
height: 70px;
|
|
43
43
|
display: flex;
|
package/lib/components/{appDatePicker/appDatePicker.vue.js → hyDatePicker/datePicker.vue.js}
RENAMED
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
7
8
|
var date = require('../../utils/date.js');
|
|
8
9
|
var is = require('../../utils/is.js');
|
|
9
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
10
10
|
|
|
11
|
-
import "./style/
|
|
11
|
+
import "./style/datePicker.scss";
|
|
12
12
|
|
|
13
13
|
const __default__ = vue.defineComponent({
|
|
14
|
-
name: "
|
|
14
|
+
name: "HyDatePicker"
|
|
15
15
|
});
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
17
17
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var datePicker = require('./datePicker.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyDatePicker = handler.withInstall(datePicker.default);
|
|
9
|
+
const ElDatePicker = handler.withInstall(datePicker.default, "ElDatePicker");
|
|
10
|
+
|
|
11
|
+
exports.ElDatePicker = ElDatePicker;
|
|
12
|
+
exports.HyDatePicker = HyDatePicker;
|
|
13
|
+
exports.default = HyDatePicker;
|
|
@@ -6,12 +6,12 @@ var vue = require('vue');
|
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
8
|
var useLocale = require('../../hooks/useLocale.js');
|
|
9
|
-
var index = require('../
|
|
9
|
+
var index = require('../hyButton/index.js');
|
|
10
10
|
|
|
11
|
-
import "./style/
|
|
11
|
+
import "./style/dialog.scss";
|
|
12
12
|
|
|
13
13
|
const __default__ = vue.defineComponent({
|
|
14
|
-
name: "
|
|
14
|
+
name: "HyDialog"
|
|
15
15
|
});
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
17
17
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -136,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
136
136
|
onClick: onCloseHandler
|
|
137
137
|
},
|
|
138
138
|
[
|
|
139
|
-
vue.createCommentVNode(' <
|
|
139
|
+
vue.createCommentVNode(' <HyIcon svg-name="close" class="!w-[20px] !h-[20px]" /> '),
|
|
140
140
|
vue.createVNode(vue.unref(elementPlus.ElIcon), {
|
|
141
141
|
size: "18",
|
|
142
142
|
color: "rgb(var(--hy-danger-2))",
|
|
@@ -162,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
162
162
|
vue.createElementVNode("div", { class: "p-6 box-border" }, [
|
|
163
163
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
164
164
|
vue.createElementVNode("div", { class: "flex items-center justify-between pt-5" }, [
|
|
165
|
-
__props.showCancel ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
165
|
+
__props.showCancel ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyButton), {
|
|
166
166
|
key: 0,
|
|
167
167
|
type: __props.cancelType,
|
|
168
168
|
disabled: loading.value,
|
|
@@ -179,7 +179,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
179
179
|
_: 1
|
|
180
180
|
/* STABLE */
|
|
181
181
|
}, 8, ["type", "disabled"])) : vue.createCommentVNode("v-if", true),
|
|
182
|
-
__props.showSubmit ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
182
|
+
__props.showSubmit ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyButton), {
|
|
183
183
|
key: 1,
|
|
184
184
|
type: __props.submitType,
|
|
185
185
|
disabled: loading.value,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var dialog = require('./dialog.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyDialog = handler.withInstall(dialog.default);
|
|
9
|
+
|
|
10
|
+
exports.HyDialog = HyDialog;
|
|
11
|
+
exports.default = HyDialog;
|
|
@@ -6,13 +6,13 @@ var vue = require('vue');
|
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
8
|
var index = require('../js/index.js');
|
|
9
|
-
var
|
|
9
|
+
var formItem = require('./formItem.vue.js');
|
|
10
10
|
var useAppForm = require('../js/useAppForm.js');
|
|
11
11
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
12
12
|
var form = require('../../../utils/form.js');
|
|
13
13
|
var is = require('../../../utils/is.js');
|
|
14
14
|
var handler = require('../../../utils/handler.js');
|
|
15
|
-
var index$1 = require('../../
|
|
15
|
+
var index$1 = require('../../hyTooltip/index.js');
|
|
16
16
|
|
|
17
17
|
const _sfc_main = {
|
|
18
18
|
__name: "arrayItem",
|
|
@@ -101,7 +101,7 @@ const _sfc_main = {
|
|
|
101
101
|
/* TEXT */
|
|
102
102
|
)
|
|
103
103
|
]),
|
|
104
|
-
vue.unref(handler.funRunHandler)(__props.column.help) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
104
|
+
vue.unref(handler.funRunHandler)(__props.column.help) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyTooltip), {
|
|
105
105
|
key: 0,
|
|
106
106
|
"is-always": "",
|
|
107
107
|
overLine: 1,
|
|
@@ -240,7 +240,7 @@ const _sfc_main = {
|
|
|
240
240
|
vue.Fragment,
|
|
241
241
|
null,
|
|
242
242
|
vue.renderList(__props.column.children, (citem, cindex) => {
|
|
243
|
-
return vue.openBlock(), vue.createBlock(
|
|
243
|
+
return vue.openBlock(), vue.createBlock(formItem.default, {
|
|
244
244
|
key: cindex,
|
|
245
245
|
model: item,
|
|
246
246
|
column: citem,
|
|
@@ -5,7 +5,7 @@ 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
|
-
var
|
|
8
|
+
var formItem = require('./formItem.vue.js');
|
|
9
9
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
10
10
|
var is = require('../../../utils/is.js');
|
|
11
11
|
|
|
@@ -60,14 +60,14 @@ const _sfc_main = {
|
|
|
60
60
|
return vue.openBlock(), vue.createElementBlock("div", { class: "pt-6" }, [
|
|
61
61
|
vue.createElementVNode("div", { class: "flex items-center justify-center text-xs relative" }, [
|
|
62
62
|
vue.createElementVNode("div", {
|
|
63
|
-
class: vue.normalizeClass(["
|
|
63
|
+
class: vue.normalizeClass(["hy-form-extra", { expand: isExpand.value }]),
|
|
64
64
|
onClick: ($event) => onExpandHandler(__props.column),
|
|
65
65
|
onMouseenter: ($event) => onExpandMouseenter(__props.column),
|
|
66
66
|
onMouseleave: ($event) => onExpandMouseleave(__props.column)
|
|
67
67
|
}, [
|
|
68
68
|
vue.createVNode(vue.unref(elementPlus.ElIcon), {
|
|
69
69
|
size: "8",
|
|
70
|
-
class: "
|
|
70
|
+
class: "hy-form-extra-arrow"
|
|
71
71
|
}, {
|
|
72
72
|
default: vue.withCtx(() => [
|
|
73
73
|
vue.createVNode(vue.unref(iconsVue.DArrowRight))
|
|
@@ -83,7 +83,7 @@ const _sfc_main = {
|
|
|
83
83
|
/* TEXT */
|
|
84
84
|
)
|
|
85
85
|
], 42, ["onClick", "onMouseenter", "onMouseleave"]),
|
|
86
|
-
vue.createElementVNode("div", { class: "
|
|
86
|
+
vue.createElementVNode("div", { class: "hy-form-extra-line" })
|
|
87
87
|
]),
|
|
88
88
|
vue.createElementVNode(
|
|
89
89
|
"div",
|
|
@@ -105,7 +105,7 @@ const _sfc_main = {
|
|
|
105
105
|
vue.Fragment,
|
|
106
106
|
null,
|
|
107
107
|
vue.renderList(__props.column.children, (item, index) => {
|
|
108
|
-
return vue.openBlock(), vue.createBlock(
|
|
108
|
+
return vue.openBlock(), vue.createBlock(formItem.default, {
|
|
109
109
|
key: index,
|
|
110
110
|
model: __props.model,
|
|
111
111
|
column: item,
|
|
@@ -6,17 +6,17 @@ var vue = require('vue');
|
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
8
|
var index = require('../js/index.js');
|
|
9
|
-
var form = require('../../../utils/form.js');
|
|
10
|
-
var index$1 = require('../../appTooltip/index.js');
|
|
11
|
-
var index$2 = require('../../appInput/index.js');
|
|
12
|
-
var index$3 = require('../../appDatePicker/index.js');
|
|
13
|
-
var index$4 = require('../../appTimePicker/index.js');
|
|
14
|
-
var index$5 = require('../../appOrgCascader/index.js');
|
|
15
9
|
var is = require('../../../utils/is.js');
|
|
10
|
+
var form = require('../../../utils/form.js');
|
|
16
11
|
var handler = require('../../../utils/handler.js');
|
|
12
|
+
var index$1 = require('../../hyTooltip/index.js');
|
|
13
|
+
var index$2 = require('../../hyInput/index.js');
|
|
14
|
+
var index$3 = require('../../hyDatePicker/index.js');
|
|
15
|
+
var index$4 = require('../../hyTimePicker/index.js');
|
|
16
|
+
var index$5 = require('../../hyOrgCascader/index.js');
|
|
17
17
|
|
|
18
18
|
const _sfc_main = {
|
|
19
|
-
__name: "
|
|
19
|
+
__name: "formItem",
|
|
20
20
|
props: {
|
|
21
21
|
model: {
|
|
22
22
|
type: Object,
|
|
@@ -103,7 +103,7 @@ const _sfc_main = {
|
|
|
103
103
|
key: 0,
|
|
104
104
|
class: "label-required"
|
|
105
105
|
})) : vue.createCommentVNode("v-if", true),
|
|
106
|
-
vue.unref(handler.funRunHandler)(__props.column.help) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
106
|
+
vue.unref(handler.funRunHandler)(__props.column.help) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyTooltip), {
|
|
107
107
|
key: 1,
|
|
108
108
|
"is-always": "",
|
|
109
109
|
overLine: 1,
|
|
@@ -158,16 +158,15 @@ const _sfc_main = {
|
|
|
158
158
|
[
|
|
159
159
|
vue.createCommentVNode(" \u81EA\u5B9A\u4E49\u5177\u540D\u63D2\u69FD "),
|
|
160
160
|
__props.column.slot && _ctx.$slots[__props.column.slot] ? vue.renderSlot(_ctx.$slots, __props.column.slot, {
|
|
161
|
-
key: 0,
|
|
162
161
|
column: __props.column,
|
|
163
162
|
model: __props.model,
|
|
164
163
|
required: vue.unref(index.isRequired)(props, __props.column)
|
|
165
|
-
}) : __props.column.type === "input" ? (vue.openBlock(), vue.createElementBlock(
|
|
164
|
+
}, void 0, void 0, 0) : __props.column.type === "input" ? (vue.openBlock(), vue.createElementBlock(
|
|
166
165
|
vue.Fragment,
|
|
167
166
|
{ key: 1 },
|
|
168
167
|
[
|
|
169
168
|
vue.createCommentVNode(" \u8F93\u5165\u6846 "),
|
|
170
|
-
vue.createVNode(vue.unref(index$2.
|
|
169
|
+
vue.createVNode(vue.unref(index$2.HyInput), vue.mergeProps({
|
|
171
170
|
modelValue: bindValue.value,
|
|
172
171
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
173
172
|
}, __props.column.attrs, {
|
|
@@ -200,7 +199,7 @@ const _sfc_main = {
|
|
|
200
199
|
vue.createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
|
|
201
200
|
["datetimerange", "daterange", "monthrange", "yearrange"].includes(
|
|
202
201
|
__props.column.attrs?.type
|
|
203
|
-
) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.
|
|
202
|
+
) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyDatePicker), vue.mergeProps({
|
|
204
203
|
key: 0,
|
|
205
204
|
start: bindValue.value,
|
|
206
205
|
"onUpdate:start": ($event) => bindValue.value = $event,
|
|
@@ -211,7 +210,7 @@ const _sfc_main = {
|
|
|
211
210
|
}, __props.column.attrs, {
|
|
212
211
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
213
212
|
onChange: onChangeHandler
|
|
214
|
-
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$3.
|
|
213
|
+
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyDatePicker), vue.mergeProps({
|
|
215
214
|
key: 1,
|
|
216
215
|
modelValue: bindValue.value,
|
|
217
216
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
@@ -229,7 +228,7 @@ const _sfc_main = {
|
|
|
229
228
|
{ key: 4 },
|
|
230
229
|
[
|
|
231
230
|
vue.createCommentVNode(" \u65F6\u95F4\u9009\u62E9\u6846 "),
|
|
232
|
-
__props.column.attrs.isRange ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.
|
|
231
|
+
__props.column.attrs.isRange ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyTimePicker), vue.mergeProps({
|
|
233
232
|
key: 0,
|
|
234
233
|
start: bindValue.value,
|
|
235
234
|
"onUpdate:start": ($event) => bindValue.value = $event,
|
|
@@ -240,7 +239,7 @@ const _sfc_main = {
|
|
|
240
239
|
}, __props.column.attrs, {
|
|
241
240
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
242
241
|
onChange: onChangeHandler
|
|
243
|
-
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.
|
|
242
|
+
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyTimePicker), vue.mergeProps({
|
|
244
243
|
key: 1,
|
|
245
244
|
modelValue: bindValue.value,
|
|
246
245
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
@@ -320,7 +319,7 @@ const _sfc_main = {
|
|
|
320
319
|
{ key: 9 },
|
|
321
320
|
[
|
|
322
321
|
vue.createCommentVNode(" \u90E8\u95E8\u7EA7\u8054\u9009\u62E9\u6846 "),
|
|
323
|
-
vue.createVNode(vue.unref(index$5.
|
|
322
|
+
vue.createVNode(vue.unref(index$5.HyOrgCascader), vue.mergeProps({
|
|
324
323
|
modelValue: bindValue.value,
|
|
325
324
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
326
325
|
class: "w-full"
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
-
var
|
|
7
|
+
var formItem = require('./cpns/formItem.vue.js');
|
|
8
8
|
var extraItem = require('./cpns/extraItem.vue.js');
|
|
9
9
|
var arrayItem = require('./cpns/arrayItem.vue.js');
|
|
10
10
|
var index = require('./js/index.js');
|
|
@@ -12,10 +12,10 @@ var useAppForm = require('./js/useAppForm.js');
|
|
|
12
12
|
var useLocale = require('../../hooks/useLocale.js');
|
|
13
13
|
var is = require('../../utils/is.js');
|
|
14
14
|
|
|
15
|
-
import "./style/
|
|
15
|
+
import "./style/form.scss";
|
|
16
16
|
|
|
17
17
|
const __default__ = vue.defineComponent({
|
|
18
|
-
name: "
|
|
18
|
+
name: "HyForm"
|
|
19
19
|
});
|
|
20
20
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
21
21
|
props: {
|
|
@@ -120,7 +120,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
120
120
|
vue.createElementVNode(
|
|
121
121
|
"div",
|
|
122
122
|
{
|
|
123
|
-
class: "
|
|
123
|
+
class: "hy-form-container",
|
|
124
124
|
style: vue.normalizeStyle(containerStyle.value)
|
|
125
125
|
},
|
|
126
126
|
[
|
|
@@ -224,7 +224,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
224
224
|
{ key: 3 },
|
|
225
225
|
[
|
|
226
226
|
vue.createCommentVNode(" \u8868\u5355 "),
|
|
227
|
-
vue.createVNode(
|
|
227
|
+
vue.createVNode(formItem.default, {
|
|
228
228
|
model: __props.model,
|
|
229
229
|
column,
|
|
230
230
|
loading: __props.loading,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var form = require('./form.vue.js');
|
|
6
6
|
var useAppForm = require('./js/useAppForm.js');
|
|
7
7
|
var handler = require('../../utils/handler.js');
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const HyForm = handler.withInstall(form.default);
|
|
10
10
|
|
|
11
11
|
exports.useAppForm = useAppForm.useAppForm;
|
|
12
|
-
exports.
|
|
13
|
-
exports.default =
|
|
12
|
+
exports.HyForm = HyForm;
|
|
13
|
+
exports.default = HyForm;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.hy-form-container {
|
|
2
2
|
display: grid;
|
|
3
3
|
column-gap: 24px;
|
|
4
4
|
.el-form-item__label::before {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.hy-form-extra {
|
|
19
19
|
height: 32px;
|
|
20
20
|
color: rgba(var(--hy-auxiliary));
|
|
21
21
|
position: relative;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
transition: all 0.1s linear;
|
|
31
31
|
user-select: none;
|
|
32
32
|
z-index: 2;
|
|
33
|
-
.
|
|
33
|
+
.hy-form-extra-arrow {
|
|
34
34
|
transform: rotateZ(90deg) rotateY(0deg);
|
|
35
35
|
transition: all 0.3s linear;
|
|
36
36
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
color: rgba(var(--hy-theme));
|
|
39
39
|
border-color: rgba(var(--hy-theme));
|
|
40
40
|
box-shadow: 0px 0px 12px 1px rgba(var(--hy-theme), 0.5);
|
|
41
|
-
& + .
|
|
41
|
+
& + .hy-form-extra-line {
|
|
42
42
|
background: radial-gradient(
|
|
43
43
|
circle,
|
|
44
44
|
rgba(var(--hy-theme), 1),
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
&.expand {
|
|
50
|
-
.
|
|
50
|
+
.hy-form-extra-arrow {
|
|
51
51
|
transform: rotateZ(90deg) rotateY(-180deg);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.hy-form-extra-line {
|
|
57
57
|
width: 100%;
|
|
58
58
|
height: 2px;
|
|
59
59
|
position: absolute;
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var useEnsureHyIcon = require('../../hooks/useEnsureHyIcon.js');
|
|
7
7
|
|
|
8
|
-
import "./style/
|
|
8
|
+
import "./style/icon.scss";
|
|
9
9
|
|
|
10
10
|
const __default__ = vue.defineComponent({
|
|
11
|
-
name: "
|
|
11
|
+
name: "HyIcon"
|
|
12
12
|
});
|
|
13
13
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
14
14
|
props: {
|
|
@@ -36,9 +36,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
36
36
|
const iconName = vue.computed(() => `#${props.prefix}${props.svgName}`);
|
|
37
37
|
const svgClass = vue.computed(() => {
|
|
38
38
|
if (props.className) {
|
|
39
|
-
return "
|
|
39
|
+
return "hy-icon " + props.className || "";
|
|
40
40
|
} else {
|
|
41
|
-
return "
|
|
41
|
+
return "hy-icon";
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
return (_ctx, _cache) => {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var icon = require('./icon.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyIcon = handler.withInstall(icon.default);
|
|
9
|
+
|
|
10
|
+
exports.HyIcon = HyIcon;
|
|
11
|
+
exports.default = HyIcon;
|