@ctzy-web-client/plugin-component-vue 1.0.7 → 1.0.8
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/advance-select/advance-operation.mjs +1 -1
- package/es/advance-select/advance-option.mjs +1 -1
- package/es/advance-select/advance-select.mjs +1 -1
- package/es/advance-select/events-helpers.mjs +1 -1
- package/es/advance-select/use-advance-option.mjs +1 -1
- package/es/application-slot/application-slot.mjs +1 -1
- package/es/breadcrumb-select/breadcrumb-select.mjs +1 -1
- package/es/contextmenu/contextmenu-item.mjs +1 -1
- package/es/contextmenu/contextmenu.mjs +1 -1
- package/es/contextmenu/use-contextmenu.mjs +1 -1
- package/es/data-form/data-form-item.mjs +1 -1
- package/es/data-form/data-form.mjs +1 -1
- package/es/data-form/form-components/bwa-rich-text-tinymce.mjs +1 -1
- package/es/data-form/form-components/bwa-rich-text.mjs +1 -1
- package/es/data-form/form-components/bwa-upload.mjs +1 -1
- package/es/data-form/form-components/bwa-user-select.mjs +1 -1
- package/es/data-table/data-column-view.mjs +1 -1
- package/es/data-table/data-table-card.mjs +1 -1
- package/es/data-table/data-table-column.mjs +1 -1
- package/es/data-table/data-table.mjs +1 -1
- package/es/datatable-settings/datatable-settings.mjs +1 -1
- package/es/date-range/date-picker.mjs +1 -1
- package/es/date-range/date-range.mjs +4 -3
- package/es/drag-list/drag-item.mjs +1 -1
- package/es/drag-list/drag-list.mjs +1 -1
- package/es/dragable/dragable-item.mjs +1 -1
- package/es/dragable/dragable-operation.mjs +1 -1
- package/es/dragable/dragable.mjs +1 -1
- package/es/filter-panel/conditions/department-condition/department-condition.mjs +1 -1
- package/es/filter-panel/conditions/department-condition/department-node.mjs +1 -1
- package/es/filter-panel/conditions/input-condition.mjs +1 -1
- package/es/filter-panel/conditions/multi-user-condition.mjs +1 -1
- package/es/filter-panel/conditions/single-menu-condition.mjs +1 -1
- package/es/filter-panel/conditions/single-user-condition.mjs +1 -1
- package/es/filter-panel/filter-panel-item.mjs +1 -1
- package/es/filter-panel/filter-panel.mjs +1 -1
- package/es/filter-panel/use-filter-panel-item.mjs +1 -1
- package/es/filter-panel/use-filter-panel.mjs +1 -1
- package/es/hooks/use-data/index.mjs +1 -1
- package/es/layout/layout.mjs +1 -1
- package/es/make-installer.mjs +1 -1
- package/es/menu/menu-item.mjs +1 -1
- package/es/menu/menu.mjs +1 -1
- package/es/panel/panel.mjs +1 -1
- package/es/panel-tabs/panel-tabs.mjs +1 -1
- package/es/pct-filter-panel/pct-compents/pct-Input-condition.mjs +1 -1
- package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +1 -1
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +1 -1
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.mjs +1 -1
- package/es/pct-filter-panel/pct-filter-panel-item.mjs +1 -1
- package/es/pct-filter-panel/pct-filter-panel.mjs +1 -1
- package/es/pct-filter-panel/use-filter-panel-item.mjs +1 -1
- package/es/pct-filter-panel/use-filter-panel.mjs +1 -1
- package/es/progress/progress-item.mjs +1 -1
- package/es/progress/progress.mjs +1 -1
- package/es/where-filter-panel/use-where-filter-panel.mjs +1 -1
- package/lib/advance-select/advance-operation.js +1 -1
- package/lib/advance-select/advance-option.js +1 -1
- package/lib/advance-select/advance-select.js +1 -1
- package/lib/advance-select/events-helpers.js +1 -1
- package/lib/advance-select/use-advance-option.js +1 -1
- package/lib/application-slot/application-slot.js +1 -1
- package/lib/breadcrumb-select/breadcrumb-select.js +1 -1
- package/lib/contextmenu/contextmenu-item.js +1 -1
- package/lib/contextmenu/contextmenu.js +1 -1
- package/lib/contextmenu/use-contextmenu.js +1 -1
- package/lib/data-form/data-form-item.js +1 -1
- package/lib/data-form/data-form.js +1 -1
- package/lib/data-form/form-components/bwa-rich-text-tinymce.js +1 -1
- package/lib/data-form/form-components/bwa-rich-text.js +1 -1
- package/lib/data-form/form-components/bwa-upload.js +1 -1
- package/lib/data-form/form-components/bwa-user-select.js +1 -1
- package/lib/data-table/data-column-view.js +1 -1
- package/lib/data-table/data-table-card.js +1 -1
- package/lib/data-table/data-table-column.js +1 -1
- package/lib/data-table/data-table.js +1 -1
- package/lib/datatable-settings/datatable-settings.js +1 -1
- package/lib/date-range/date-picker.js +1 -1
- package/lib/date-range/date-range.js +8 -3
- package/lib/drag-list/drag-item.js +1 -1
- package/lib/drag-list/drag-list.js +1 -1
- package/lib/dragable/dragable-item.js +1 -1
- package/lib/dragable/dragable-operation.js +1 -1
- package/lib/dragable/dragable.js +1 -1
- package/lib/filter-panel/conditions/department-condition/department-condition.js +1 -1
- package/lib/filter-panel/conditions/department-condition/department-node.js +1 -1
- package/lib/filter-panel/conditions/input-condition.js +1 -1
- package/lib/filter-panel/conditions/multi-user-condition.js +1 -1
- package/lib/filter-panel/conditions/single-menu-condition.js +1 -1
- package/lib/filter-panel/conditions/single-user-condition.js +1 -1
- package/lib/filter-panel/filter-panel-item.js +1 -1
- package/lib/filter-panel/filter-panel.js +1 -1
- package/lib/filter-panel/use-filter-panel-item.js +1 -1
- package/lib/filter-panel/use-filter-panel.js +1 -1
- package/lib/hooks/use-data/index.js +1 -1
- package/lib/layout/layout.js +1 -1
- package/lib/make-installer.js +1 -1
- package/lib/menu/menu-item.js +1 -1
- package/lib/menu/menu.js +1 -1
- package/lib/panel/panel.js +1 -1
- package/lib/panel-tabs/panel-tabs.js +1 -1
- package/lib/pct-filter-panel/pct-compents/pct-Input-condition.js +1 -1
- package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +1 -1
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +1 -1
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.js +1 -1
- package/lib/pct-filter-panel/pct-filter-panel-item.js +1 -1
- package/lib/pct-filter-panel/pct-filter-panel.js +1 -1
- package/lib/pct-filter-panel/use-filter-panel-item.js +1 -1
- package/lib/pct-filter-panel/use-filter-panel.js +1 -1
- package/lib/progress/progress-item.js +1 -1
- package/lib/progress/progress.js +1 -1
- package/lib/where-filter-panel/use-where-filter-panel.js +1 -1
- package/package.json +1 -1
- package/src/advance-select/advance-operation.vue +2 -1
- package/src/advance-select/advance-option.vue +2 -1
- package/src/advance-select/advance-select.vue +2 -1
- package/src/advance-select/events-helpers.js +2 -1
- package/src/advance-select/index.js +1 -0
- package/src/advance-select/use-advance-option.js +2 -1
- package/src/advance-select/use-advance-select.js +1 -0
- package/src/application-slot/application-slot.js +2 -1
- package/src/application-slot/breadcrumb-item.vue +1 -0
- package/src/application-slot/header-tools-item.vue +1 -0
- package/src/application-slot/index.js +1 -0
- package/src/breadcrumb-select/breadcrumb-select.vue +2 -1
- package/src/breadcrumb-select/index.js +1 -0
- package/src/components.js +1 -0
- package/src/contextmenu/contextmenu-item.vue +2 -1
- package/src/contextmenu/contextmenu.vue +2 -1
- package/src/contextmenu/index.js +1 -0
- package/src/contextmenu/use-contextmenu.js +2 -1
- package/src/data-form/data-form-item.vue +2 -1
- package/src/data-form/data-form.vue +2 -1
- package/src/data-form/dynamic-component.js +1 -0
- package/src/data-form/form-components/Blots/AtBlot.js +1 -0
- package/src/data-form/form-components/bwa-date-picker.vue +1 -0
- package/src/data-form/form-components/bwa-date-time-picker.vue +1 -0
- package/src/data-form/form-components/bwa-input-float.vue +1 -0
- package/src/data-form/form-components/bwa-input-integer.vue +1 -0
- package/src/data-form/form-components/bwa-input.vue +1 -0
- package/src/data-form/form-components/bwa-multi-select.vue +1 -0
- package/src/data-form/form-components/bwa-rich-text-tinymce.vue +3 -2
- package/src/data-form/form-components/bwa-rich-text.vue +2 -1
- package/src/data-form/form-components/bwa-select.vue +1 -0
- package/src/data-form/form-components/bwa-textarea.vue +1 -0
- package/src/data-form/form-components/bwa-upload.vue +2 -1
- package/src/data-form/form-components/bwa-user-multi-select.vue +1 -0
- package/src/data-form/form-components/bwa-user-select.vue +2 -1
- package/src/data-form/index.js +1 -0
- package/src/data-table/data-column-view.vue +2 -1
- package/src/data-table/data-table-card.vue +2 -1
- package/src/data-table/data-table-column.vue +2 -1
- package/src/data-table/data-table.vue +2 -1
- package/src/data-table/dynamic-component.js +1 -0
- package/src/data-table/index.js +1 -0
- package/src/data-table/use-datatable-drag.js +1 -0
- package/src/datatable-settings/datatable-settings.vue +2 -1
- package/src/datatable-settings/index.js +1 -0
- package/src/date-range/date-picker.vue +2 -1
- package/src/date-range/date-range.vue +4 -3
- package/src/date-range/index.js +1 -0
- package/src/drag-list/constants.js +1 -0
- package/src/drag-list/drag-item.vue +2 -1
- package/src/drag-list/drag-list.vue +2 -1
- package/src/drag-list/index.js +1 -0
- package/src/drag-list/use-drag-list.js +1 -0
- package/src/dragable/constants.js +1 -0
- package/src/dragable/dragable-item.vue +2 -1
- package/src/dragable/dragable-operation.vue +2 -1
- package/src/dragable/dragable.vue +2 -1
- package/src/dragable/index.js +1 -0
- package/src/dragable/use-dragable.js +1 -0
- package/src/filter-panel/conditions/condition.js +1 -0
- package/src/filter-panel/conditions/date-range-condition.vue +1 -0
- package/src/filter-panel/conditions/department-condition/department-condition.vue +2 -1
- package/src/filter-panel/conditions/department-condition/department-node.vue +2 -1
- package/src/filter-panel/conditions/index.js +1 -0
- package/src/filter-panel/conditions/input-condition.vue +2 -1
- package/src/filter-panel/conditions/multi-user-condition.vue +2 -1
- package/src/filter-panel/conditions/multiple-menu-condition.vue +1 -0
- package/src/filter-panel/conditions/single-menu-condition.vue +2 -1
- package/src/filter-panel/conditions/single-user-condition.vue +2 -1
- package/src/filter-panel/filter-panel-item.vue +2 -1
- package/src/filter-panel/filter-panel.vue +2 -1
- package/src/filter-panel/index.js +1 -0
- package/src/filter-panel/use-filter-panel-item.js +2 -1
- package/src/filter-panel/use-filter-panel.js +2 -1
- package/src/hooks/use-data/index.js +3 -2
- package/src/index.js +1 -0
- package/src/layout/index.js +1 -0
- package/src/layout/layout.vue +2 -1
- package/src/make-installer.js +2 -1
- package/src/math/Rectangle.js +1 -0
- package/src/menu/index.js +1 -0
- package/src/menu/menu-item.vue +2 -1
- package/src/menu/menu.vue +2 -1
- package/src/panel/index.js +1 -0
- package/src/panel/panel.vue +2 -1
- package/src/panel-tabs/index.js +1 -0
- package/src/panel-tabs/panel-tabs.js +2 -1
- package/src/pct-filter-panel/index.js +1 -0
- package/src/pct-filter-panel/pct-compents/index.js +1 -0
- package/src/pct-filter-panel/pct-compents/pct-Input-condition.vue +2 -1
- package/src/pct-filter-panel/pct-compents/pct-date-range-condition.vue +2 -1
- package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +3 -2
- package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.vue +3 -2
- package/src/pct-filter-panel/pct-filter-panel-item.vue +2 -1
- package/src/pct-filter-panel/pct-filter-panel.vue +2 -1
- package/src/pct-filter-panel/use-filter-panel-item.js +2 -1
- package/src/pct-filter-panel/use-filter-panel.js +3 -2
- package/src/plugins.js +1 -0
- package/src/progress/index.js +1 -0
- package/src/progress/progress-item.vue +2 -1
- package/src/progress/progress.vue +2 -1
- package/src/progress/use-progress.js +1 -0
- package/src/utils/db.js +1 -0
- package/src/utils.js +1 -0
- package/src/where-filter-panel/use-where-filter-panel.js +2 -1
- package/src/where-filter-panel/where-filter-panel.vue +1 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
effectScope,
|
|
9
9
|
effect,
|
|
10
10
|
} from 'vue';
|
|
11
|
-
import { useGlobalConfig, applicationKey } from 'web-base-client-vue';
|
|
11
|
+
import { useGlobalConfig, applicationKey } from '@ctzy-web-client/web-base-client-vue';
|
|
12
12
|
|
|
13
13
|
let uuid = 1;
|
|
14
14
|
|
|
@@ -68,3 +68,4 @@ const ApplicationSlot = {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
export default ApplicationSlot;
|
|
71
|
+
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<script setup>
|
|
45
45
|
import { ElButton, ElIcon } from 'element-plus';
|
|
46
46
|
import { useAttrs } from 'vue';
|
|
47
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
47
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
48
48
|
import BwaAdvanceSelect from '../advance-select';
|
|
49
49
|
import AdvanceOperation from '../advance-select/advance-operation.vue';
|
|
50
50
|
|
|
@@ -95,3 +95,4 @@ const attrs = useAttrs();
|
|
|
95
95
|
|
|
96
96
|
const ns = useNamespace('breadcrumb');
|
|
97
97
|
</script>
|
|
98
|
+
|
package/src/components.js
CHANGED
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script setup>
|
|
8
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
8
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
9
9
|
|
|
10
10
|
defineOptions({ name: 'BwaContextmenuItem' });
|
|
11
11
|
|
|
12
12
|
const ns = useNamespace('contextmenu-item');
|
|
13
13
|
</script>
|
|
14
|
+
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<script setup>
|
|
17
17
|
import { ElScrollbar } from 'element-plus';
|
|
18
18
|
import { computed, onMounted, ref, unref, watch } from 'vue';
|
|
19
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
19
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
20
20
|
|
|
21
21
|
defineOptions({ name: 'BwaContextmenu' });
|
|
22
22
|
|
|
@@ -54,3 +54,4 @@ onMounted(() => {
|
|
|
54
54
|
);
|
|
55
55
|
});
|
|
56
56
|
</script>
|
|
57
|
+
|
package/src/contextmenu/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
withDirectives,
|
|
12
12
|
} from 'vue';
|
|
13
13
|
import { useWindowSize, useElementBounding } from '@vueuse/core';
|
|
14
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
14
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
15
15
|
import Contextmenu from './contextmenu.vue';
|
|
16
16
|
|
|
17
17
|
export function useContextmenu({ menus = [] } = {}) {
|
|
@@ -115,3 +115,4 @@ export function useContextmenu({ menus = [] } = {}) {
|
|
|
115
115
|
|
|
116
116
|
return { showContextmenu };
|
|
117
117
|
}
|
|
118
|
+
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<script setup>
|
|
16
16
|
import { ElFormItem, formContextKey } from 'element-plus';
|
|
17
17
|
import { inject, computed, useAttrs, provide, reactive } from 'vue';
|
|
18
|
-
import { dataFormKey } from 'web-base-client-vue';
|
|
18
|
+
import { dataFormKey } from '@ctzy-web-client/web-base-client-vue';
|
|
19
19
|
import DynamicComponent from './dynamic-component.js';
|
|
20
20
|
|
|
21
21
|
defineOptions({ name: 'BwaDataFormItem' });
|
|
@@ -47,3 +47,4 @@ Reflect.setPrototypeOf(_formContext, formContext);
|
|
|
47
47
|
|
|
48
48
|
provide(formContextKey, reactive(_formContext));
|
|
49
49
|
</script>
|
|
50
|
+
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
onBeforeUnmount,
|
|
40
40
|
} from 'vue';
|
|
41
41
|
import { ElMessage, ElForm } from 'element-plus';
|
|
42
|
-
import { dataFormKey } from 'web-base-client-vue';
|
|
42
|
+
import { dataFormKey } from '@ctzy-web-client/web-base-client-vue';
|
|
43
43
|
import { mergeWith, isArray } from 'lodash';
|
|
44
44
|
import BwaDataFormItem from './data-form-item.vue';
|
|
45
45
|
|
|
@@ -210,3 +210,4 @@ defineExpose({
|
|
|
210
210
|
computedLabelWidth,
|
|
211
211
|
});
|
|
212
212
|
</script>
|
|
213
|
+
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
onMounted,
|
|
37
37
|
reactive,
|
|
38
38
|
} from 'vue';
|
|
39
|
-
import { useNamespace, useService } from 'web-base-client-vue';
|
|
39
|
+
import { useNamespace, useService } from '@ctzy-web-client/web-base-client-vue';
|
|
40
40
|
import TinyMCEEditor from '@tinymce/tinymce-vue';
|
|
41
41
|
// import Quill from 'quill';
|
|
42
42
|
import 'quill/dist/quill.snow.css';
|
|
@@ -535,7 +535,7 @@ onMounted(async () => {
|
|
|
535
535
|
|
|
536
536
|
// var range = editor.getSelection();
|
|
537
537
|
// if (range && fileData) {
|
|
538
|
-
// //
|
|
538
|
+
// // 在当前光标位置插入图�?
|
|
539
539
|
// editor.insertEmbed(range.index, 'image', fileData.path);
|
|
540
540
|
// editor.formatText(range.index, 1, {
|
|
541
541
|
// alt: fileData.id,
|
|
@@ -559,3 +559,4 @@ onMounted(async () => {
|
|
|
559
559
|
});
|
|
560
560
|
});
|
|
561
561
|
</script>
|
|
562
|
+
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
onMounted,
|
|
33
33
|
markRaw,
|
|
34
34
|
} from 'vue';
|
|
35
|
-
import { useNamespace, useService } from 'web-base-client-vue';
|
|
35
|
+
import { useNamespace, useService } from '@ctzy-web-client/web-base-client-vue';
|
|
36
36
|
import Quill from 'quill';
|
|
37
37
|
import 'quill/dist/quill.snow.css';
|
|
38
38
|
// import './Blots/AtBlot';
|
|
@@ -393,3 +393,4 @@ defineExpose({
|
|
|
393
393
|
},
|
|
394
394
|
});
|
|
395
395
|
</script>
|
|
396
|
+
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
import { Delete, Download } from '@element-plus/icons';
|
|
49
49
|
import { ElButton, ElIcon, ElMessage, ElUpload } from 'element-plus';
|
|
50
50
|
import { computed, ref, unref, useAttrs, watch } from 'vue';
|
|
51
|
-
import { useNamespace, useService } from 'web-base-client-vue';
|
|
51
|
+
import { useNamespace, useService } from '@ctzy-web-client/web-base-client-vue';
|
|
52
52
|
|
|
53
53
|
defineOptions({
|
|
54
54
|
name: 'BwaUpload',
|
|
@@ -143,3 +143,4 @@ const handleDownload = async (file) => {
|
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
</script>
|
|
146
|
+
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script setup>
|
|
15
|
-
import { useService } from 'web-base-client-vue';
|
|
15
|
+
import { useService } from '@ctzy-web-client/web-base-client-vue';
|
|
16
16
|
import { useAttrs, ref, unref, computed } from 'vue';
|
|
17
17
|
import BwaSelect from './bwa-select.vue';
|
|
18
18
|
import { ElMessage } from 'element-plus';
|
|
@@ -79,3 +79,4 @@ loadOptions(
|
|
|
79
79
|
: []
|
|
80
80
|
);
|
|
81
81
|
</script>
|
|
82
|
+
|
package/src/data-form/index.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
</template>
|
|
31
31
|
<script>
|
|
32
32
|
import { computed } from 'vue';
|
|
33
|
-
import { func, str, useNamespace } from 'web-base-client-vue';
|
|
33
|
+
import { func, str, useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
34
34
|
import { PictureFilled } from '@element-plus/icons';
|
|
35
35
|
import { ElMessage } from 'element-plus';
|
|
36
36
|
export default {
|
|
@@ -129,3 +129,4 @@ export default {
|
|
|
129
129
|
},
|
|
130
130
|
};
|
|
131
131
|
</script>
|
|
132
|
+
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
</template>
|
|
65
65
|
<script>
|
|
66
66
|
import { inject } from 'vue';
|
|
67
|
-
import { dataTableKey, useNamespace } from 'web-base-client-vue';
|
|
67
|
+
import { dataTableKey, useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
68
68
|
import DynamicComponent from './dynamic-component.js';
|
|
69
69
|
export default {
|
|
70
70
|
name: 'BwaDataTableCard',
|
|
@@ -79,3 +79,4 @@ export default {
|
|
|
79
79
|
},
|
|
80
80
|
};
|
|
81
81
|
</script>
|
|
82
|
+
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script setup>
|
|
25
25
|
import { ElTableColumn } from 'element-plus';
|
|
26
26
|
import { inject, useAttrs } from 'vue';
|
|
27
|
-
import { dataTableKey } from 'web-base-client-vue';
|
|
27
|
+
import { dataTableKey } from '@ctzy-web-client/web-base-client-vue';
|
|
28
28
|
|
|
29
29
|
defineOptions({ name: 'BwaDataTableColumn' });
|
|
30
30
|
|
|
@@ -50,3 +50,4 @@ const column =
|
|
|
50
50
|
dataTable.displayColumns.find((column) => column.attrName === props.name) ??
|
|
51
51
|
null;
|
|
52
52
|
</script>
|
|
53
|
+
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
useEventDispatcher,
|
|
119
119
|
useGlobalConfig,
|
|
120
120
|
useService,
|
|
121
|
-
} from 'web-base-client-vue';
|
|
121
|
+
} from '@ctzy-web-client/web-base-client-vue';
|
|
122
122
|
import DynamicComponent from './dynamic-component.js';
|
|
123
123
|
import BwaDataTableColumn from './data-table-column.vue';
|
|
124
124
|
import { useDataTableDrag } from './use-datatable-drag';
|
|
@@ -424,3 +424,4 @@ onUnmounted(() => {
|
|
|
424
424
|
searchParamsSubscription.unsubscribe();
|
|
425
425
|
});
|
|
426
426
|
</script>
|
|
427
|
+
|
package/src/data-table/index.js
CHANGED
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
useValue,
|
|
129
129
|
useService,
|
|
130
130
|
useEventDispatcher,
|
|
131
|
-
} from 'web-base-client-vue';
|
|
131
|
+
} from '@ctzy-web-client/web-base-client-vue';
|
|
132
132
|
import {
|
|
133
133
|
computed,
|
|
134
134
|
getCurrentScope,
|
|
@@ -321,3 +321,4 @@ if (!props.dataTable.inited) {
|
|
|
321
321
|
handleInitCompleted();
|
|
322
322
|
}
|
|
323
323
|
</script>
|
|
324
|
+
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from 'element-plus/es/components/time-picker/src/utils';
|
|
42
42
|
import { useLocale } from 'element-plus/es/hooks/index';
|
|
43
43
|
import { computed, provide, ref, watch } from 'vue';
|
|
44
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
44
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
45
45
|
|
|
46
46
|
defineOptions({ name: 'BwaDatePicker' });
|
|
47
47
|
const props = defineProps({
|
|
@@ -113,3 +113,4 @@ const onClear = () => {
|
|
|
113
113
|
visible.value = false;
|
|
114
114
|
};
|
|
115
115
|
</script>
|
|
116
|
+
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<CaretBottom />
|
|
31
31
|
</ElIcon>
|
|
32
32
|
</span>
|
|
33
|
-
|
|
33
|
+
�?
|
|
34
34
|
<span :class="[ns.e('time'), ns.is('empty', !formatEndTime)]">
|
|
35
35
|
<span :class="ns.e('content')">
|
|
36
36
|
{{ formatEndTime ? formatEndTime : '结束日期' }}
|
|
@@ -61,9 +61,9 @@ import {
|
|
|
61
61
|
useNamespace,
|
|
62
62
|
filterPanelItemKey,
|
|
63
63
|
useGlobalConfig,
|
|
64
|
-
} from 'web-base-client-vue';
|
|
64
|
+
} from '@ctzy-web-client/web-base-client-vue';
|
|
65
65
|
import { dayjs } from 'element-plus';
|
|
66
|
-
import
|
|
66
|
+
import PanelDateRange from 'element-plus/es/components/date-picker/src/date-picker-com/panel-date-range';
|
|
67
67
|
import { timePickerDefaultProps } from 'element-plus';
|
|
68
68
|
import { ROOT_PICKER_INJECTION_KEY } from 'element-plus';
|
|
69
69
|
import { useNamespace as useElementPlusNamesplace } from 'element-plus';
|
|
@@ -200,3 +200,4 @@ const onPick = (date, visible = false) => {
|
|
|
200
200
|
emitInput(date.map((item) => item.toDate()));
|
|
201
201
|
};
|
|
202
202
|
</script>
|
|
203
|
+
|
package/src/date-range/index.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<script setup>
|
|
11
11
|
import { getCurrentInstance, inject, onBeforeUnmount, onMounted } from 'vue';
|
|
12
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
12
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
13
13
|
import { dragListContextKey } from './constants';
|
|
14
14
|
|
|
15
15
|
const ns = useNamespace('dragitem');
|
|
@@ -44,3 +44,4 @@ defineExpose({
|
|
|
44
44
|
id,
|
|
45
45
|
});
|
|
46
46
|
</script>
|
|
47
|
+
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
<script setup>
|
|
14
14
|
import { provide, reactive } from 'vue';
|
|
15
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
15
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
16
16
|
import { dragListContextKey } from './constants';
|
|
17
17
|
import DragItem from './drag-item.vue';
|
|
18
18
|
import { useDragList } from './use-drag-list';
|
|
@@ -48,3 +48,4 @@ provide(
|
|
|
48
48
|
})
|
|
49
49
|
);
|
|
50
50
|
</script>
|
|
51
|
+
|
package/src/drag-list/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<script setup>
|
|
8
8
|
import { provide } from 'vue';
|
|
9
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
9
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
10
10
|
import { dragableItemContextKey } from './constants';
|
|
11
11
|
|
|
12
12
|
defineOptions({
|
|
@@ -17,3 +17,4 @@ const ns = useNamespace('dragable-item');
|
|
|
17
17
|
|
|
18
18
|
provide(dragableItemContextKey, {});
|
|
19
19
|
</script>
|
|
20
|
+
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
<script setup>
|
|
12
12
|
import { inject, ref } from 'vue';
|
|
13
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
13
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
14
14
|
import { dragableContextKey, dragableItemContextKey } from './constants';
|
|
15
15
|
|
|
16
16
|
defineOptions({
|
|
@@ -26,3 +26,4 @@ const dragableOperation = ref(
|
|
|
26
26
|
new Boolean(dragableContext && dragableItemContext).valueOf()
|
|
27
27
|
);
|
|
28
28
|
</script>
|
|
29
|
+
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<script setup>
|
|
8
8
|
import { provide, ref } from 'vue';
|
|
9
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
9
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
10
10
|
import { dragableContextKey } from './constants';
|
|
11
11
|
import { useDragable } from './use-dragable';
|
|
12
12
|
|
|
@@ -24,3 +24,4 @@ useDragable(el, ns.b('item'), ns.b('operation'), { emit });
|
|
|
24
24
|
|
|
25
25
|
provide(dragableContextKey, {});
|
|
26
26
|
</script>
|
|
27
|
+
|
package/src/dragable/index.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import SingleMenuCondition from '../single-menu-condition.vue';
|
|
18
18
|
import DepartmentNode from './department-node.vue';
|
|
19
19
|
import { ref, unref } from 'vue';
|
|
20
|
-
import { useService } from 'web-base-client-vue';
|
|
20
|
+
import { useService } from '@ctzy-web-client/web-base-client-vue';
|
|
21
21
|
|
|
22
22
|
defineOptions({
|
|
23
23
|
name: 'BwaDepartmentCondition',
|
|
@@ -90,3 +90,4 @@ const handleVisibleChange = async (isShow) => {
|
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
</script>
|
|
93
|
+
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<script setup>
|
|
31
31
|
import { ref } from 'vue';
|
|
32
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
32
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
33
33
|
|
|
34
34
|
defineOptions({
|
|
35
35
|
name: 'BwaDepartmentNode',
|
|
@@ -50,3 +50,4 @@ const ns = useNamespace('department-node');
|
|
|
50
50
|
|
|
51
51
|
const isShowChildren = ref(false);
|
|
52
52
|
</script>
|
|
53
|
+
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<script setup>
|
|
31
31
|
import { computed, inject, ref } from 'vue';
|
|
32
|
-
import { useNamespace, filterPanelItemKey } from 'web-base-client-vue';
|
|
32
|
+
import { useNamespace, filterPanelItemKey } from '@ctzy-web-client/web-base-client-vue';
|
|
33
33
|
|
|
34
34
|
defineOptions({
|
|
35
35
|
name: 'BwaInputCondition',
|
|
@@ -61,3 +61,4 @@ const column = computed(() => filterPanelItem?.column ?? null);
|
|
|
61
61
|
|
|
62
62
|
const visible = ref(false);
|
|
63
63
|
</script>
|
|
64
|
+
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
<script setup>
|
|
26
26
|
import { onMounted, ref, unref, useAttrs } from 'vue';
|
|
27
|
-
import { useService } from 'web-base-client-vue';
|
|
27
|
+
import { useService } from '@ctzy-web-client/web-base-client-vue';
|
|
28
28
|
import { BwaAdvanceSelect, BwaAdvanceOption } from '../../advance-select';
|
|
29
29
|
|
|
30
30
|
defineOptions({
|
|
@@ -54,3 +54,4 @@ const loadUserList = async (name = '') => {
|
|
|
54
54
|
|
|
55
55
|
onMounted(loadUserList);
|
|
56
56
|
</script>
|
|
57
|
+
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</template>
|
|
27
27
|
|
|
28
28
|
<script setup>
|
|
29
|
-
import { useNamespace } from 'web-base-client-vue';
|
|
29
|
+
import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
30
30
|
import { computed, useAttrs } from 'vue';
|
|
31
31
|
import { BwaAdvanceOperation, BwaAdvanceSelect } from '../../advance-select';
|
|
32
32
|
import { ElButton } from 'element-plus';
|
|
@@ -56,3 +56,4 @@ const handleClear = () => {
|
|
|
56
56
|
value.value = '';
|
|
57
57
|
};
|
|
58
58
|
</script>
|
|
59
|
+
|