@ctzy-web-client/plugin-component-vue 1.0.23 → 1.0.25

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.
Files changed (131) hide show
  1. package/es/advance-select/advance-operation.mjs +51 -37
  2. package/es/advance-select/advance-option.mjs +167 -97
  3. package/es/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.mjs +7 -0
  4. package/es/advance-select/advance-select.mjs +368 -310
  5. package/es/advance-select/index.mjs +5 -5
  6. package/es/application-slot/breadcrumb-item.mjs +20 -17
  7. package/es/application-slot/header-tools-item.mjs +20 -17
  8. package/es/breadcrumb-select/breadcrumb-select.mjs +134 -112
  9. package/es/contextmenu/contextmenu-item.mjs +19 -15
  10. package/es/contextmenu/contextmenu.mjs +72 -56
  11. package/es/data-form/data-form-item.mjs +48 -30
  12. package/es/data-form/data-form.mjs +213 -166
  13. package/es/data-form/form-components/bwa-date-picker.mjs +51 -39
  14. package/es/data-form/form-components/bwa-date-time-picker.mjs +56 -44
  15. package/es/data-form/form-components/bwa-input-float.mjs +48 -37
  16. package/es/data-form/form-components/bwa-input-integer.mjs +68 -50
  17. package/es/data-form/form-components/bwa-input.mjs +43 -32
  18. package/es/data-form/form-components/bwa-multi-select.mjs +40 -29
  19. package/es/data-form/form-components/bwa-rich-text-tinymce.mjs +554 -218
  20. package/es/data-form/form-components/bwa-rich-text.mjs +404 -316
  21. package/es/data-form/form-components/bwa-select.mjs +84 -70
  22. package/es/data-form/form-components/bwa-textarea.mjs +38 -27
  23. package/es/data-form/form-components/bwa-upload.mjs +172 -148
  24. package/es/data-form/form-components/bwa-user-multi-select.mjs +35 -24
  25. package/es/data-form/form-components/bwa-user-select.mjs +86 -61
  26. package/es/data-table/data-column-view.mjs +146 -115
  27. package/es/data-table/data-table-card.mjs +48 -40
  28. package/es/data-table/data-table-column.mjs +58 -45
  29. package/es/data-table/data-table.mjs +402 -316
  30. package/es/datatable-settings/datatable-settings.mjs +329 -254
  31. package/es/date-range/date-picker.mjs +130 -116
  32. package/es/date-range/date-range.mjs +215 -161
  33. package/es/drag-list/drag-item.mjs +56 -42
  34. package/es/drag-list/drag-list.mjs +60 -47
  35. package/es/dragable/dragable-item.mjs +23 -18
  36. package/es/dragable/dragable-operation.mjs +32 -24
  37. package/es/dragable/dragable.mjs +32 -23
  38. package/es/filter-panel/conditions/date-range-condition.mjs +50 -40
  39. package/es/filter-panel/conditions/department-condition/department-condition.mjs +99 -72
  40. package/es/filter-panel/conditions/department-condition/department-node.mjs +73 -59
  41. package/es/filter-panel/conditions/input-condition.mjs +90 -76
  42. package/es/filter-panel/conditions/multi-user-condition.mjs +67 -57
  43. package/es/filter-panel/conditions/multiple-menu-condition.mjs +54 -35
  44. package/es/filter-panel/conditions/single-menu-condition.mjs +65 -60
  45. package/es/filter-panel/conditions/single-user-condition.mjs +67 -57
  46. package/es/filter-panel/filter-panel-item.mjs +54 -39
  47. package/es/filter-panel/filter-panel.mjs +153 -135
  48. package/es/layout/layout.mjs +85 -78
  49. package/es/menu/menu-item.mjs +67 -52
  50. package/es/menu/menu.mjs +70 -53
  51. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +28 -0
  52. package/es/panel/panel.mjs +53 -40
  53. package/es/pct-filter-panel/pct-compents/pct-Input-condition.mjs +74 -63
  54. package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +76 -67
  55. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +406 -178
  56. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.mjs +153 -138
  57. package/es/pct-filter-panel/pct-filter-panel-item.mjs +55 -40
  58. package/es/pct-filter-panel/pct-filter-panel.mjs +247 -227
  59. package/es/progress/progress-item.mjs +81 -61
  60. package/es/progress/progress.mjs +78 -64
  61. package/es/where-filter-panel/where-filter-panel.mjs +15 -12
  62. package/lib/advance-select/advance-operation.js +50 -36
  63. package/lib/advance-select/advance-option.js +166 -96
  64. package/lib/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.js +12 -0
  65. package/lib/advance-select/advance-select.js +366 -308
  66. package/lib/application-slot/breadcrumb-item.js +19 -16
  67. package/lib/application-slot/header-tools-item.js +19 -16
  68. package/lib/breadcrumb-select/breadcrumb-select.js +133 -111
  69. package/lib/contextmenu/contextmenu-item.js +18 -14
  70. package/lib/contextmenu/contextmenu.js +71 -55
  71. package/lib/data-form/data-form-item.js +47 -29
  72. package/lib/data-form/data-form.js +212 -165
  73. package/lib/data-form/form-components/bwa-date-picker.js +50 -38
  74. package/lib/data-form/form-components/bwa-date-time-picker.js +55 -43
  75. package/lib/data-form/form-components/bwa-input-float.js +47 -36
  76. package/lib/data-form/form-components/bwa-input-integer.js +67 -49
  77. package/lib/data-form/form-components/bwa-input.js +42 -31
  78. package/lib/data-form/form-components/bwa-multi-select.js +39 -28
  79. package/lib/data-form/form-components/bwa-rich-text-tinymce.js +553 -217
  80. package/lib/data-form/form-components/bwa-rich-text.js +403 -315
  81. package/lib/data-form/form-components/bwa-select.js +83 -69
  82. package/lib/data-form/form-components/bwa-textarea.js +37 -26
  83. package/lib/data-form/form-components/bwa-upload.js +171 -147
  84. package/lib/data-form/form-components/bwa-user-multi-select.js +34 -23
  85. package/lib/data-form/form-components/bwa-user-select.js +85 -60
  86. package/lib/data-table/data-column-view.js +146 -115
  87. package/lib/data-table/data-table-card.js +48 -40
  88. package/lib/data-table/data-table-column.js +57 -44
  89. package/lib/data-table/data-table.js +401 -315
  90. package/lib/datatable-settings/datatable-settings.js +328 -253
  91. package/lib/date-range/date-picker.js +129 -115
  92. package/lib/date-range/date-range.js +214 -160
  93. package/lib/drag-list/drag-item.js +55 -41
  94. package/lib/drag-list/drag-list.js +59 -46
  95. package/lib/dragable/dragable-item.js +22 -17
  96. package/lib/dragable/dragable-operation.js +31 -23
  97. package/lib/dragable/dragable.js +31 -22
  98. package/lib/filter-panel/conditions/date-range-condition.js +49 -39
  99. package/lib/filter-panel/conditions/department-condition/department-condition.js +98 -71
  100. package/lib/filter-panel/conditions/department-condition/department-node.js +72 -58
  101. package/lib/filter-panel/conditions/input-condition.js +89 -75
  102. package/lib/filter-panel/conditions/multi-user-condition.js +66 -56
  103. package/lib/filter-panel/conditions/multiple-menu-condition.js +53 -34
  104. package/lib/filter-panel/conditions/single-menu-condition.js +64 -59
  105. package/lib/filter-panel/conditions/single-user-condition.js +66 -56
  106. package/lib/filter-panel/filter-panel-item.js +53 -38
  107. package/lib/filter-panel/filter-panel.js +152 -134
  108. package/lib/layout/layout.js +84 -77
  109. package/lib/menu/menu-item.js +66 -51
  110. package/lib/menu/menu.js +69 -52
  111. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +32 -0
  112. package/lib/panel/panel.js +52 -39
  113. package/lib/pct-filter-panel/pct-compents/pct-Input-condition.js +73 -62
  114. package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +75 -66
  115. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +405 -177
  116. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.js +152 -137
  117. package/lib/pct-filter-panel/pct-filter-panel-item.js +54 -39
  118. package/lib/pct-filter-panel/pct-filter-panel.js +246 -226
  119. package/lib/progress/progress-item.js +80 -60
  120. package/lib/progress/progress.js +77 -63
  121. package/lib/where-filter-panel/where-filter-panel.js +14 -11
  122. package/package.json +2 -1
  123. package/src/advance-select/advance-option.vue +64 -13
  124. package/src/data-form/form-components/bwa-rich-text-tinymce.vue +1 -1
  125. package/src/datatable-settings/datatable-settings.vue +33 -3
  126. package/src/date-range/date-picker.vue +1 -1
  127. package/src/filter-panel/filter-panel.vue +2 -2
  128. package/src/pct-filter-panel/pct-compents/pct-Input-condition.vue +64 -64
  129. package/src/pct-filter-panel/pct-compents/pct-date-range-condition.vue +61 -61
  130. package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +302 -178
  131. package/src/pct-filter-panel/pct-filter-panel.vue +4 -4
@@ -6,42 +6,53 @@ var vue = require('vue');
6
6
  var bwaInputInteger = require('./bwa-input-integer.js');
7
7
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
8
8
 
9
- const __default__ = vue.defineComponent({
10
- name: "BwaInputFloat"
11
- });
12
- const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
13
- props: {
14
- modelValue: {
15
- type: [String, Number],
16
- default: 0
17
- },
18
- precision: {
19
- type: Number,
20
- default: 1
21
- },
22
- step: {
23
- type: Number,
24
- default: 0.1
25
- }
26
- },
27
- emits: ["update:model-value"],
9
+ const _sfc_main = {
10
+ __name: 'bwa-input-float',
11
+ props: {
12
+ modelValue: {
13
+ type: [String, Number],
14
+ default: 0,
15
+ },
16
+ precision: {
17
+ type: Number,
18
+ default: 1,
19
+ },
20
+ step: {
21
+ type: Number,
22
+ default: 0.1,
23
+ },
24
+ },
25
+ emits: ['update:model-value'],
28
26
  setup(__props, { emit }) {
29
- const props = __props;
30
- const attrs = vue.useAttrs();
31
- const modelValue = vue.computed({
32
- get: () => props.modelValue,
33
- set: (v) => emit("update:model-value", v)
34
- });
35
- return (_ctx, _cache) => {
36
- return vue.openBlock(), vue.createBlock(bwaInputInteger["default"], vue.mergeProps(vue.unref(attrs), {
37
- modelValue: vue.unref(modelValue),
38
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
39
- precision: __props.precision,
40
- step: __props.step
41
- }), null, 16, ["modelValue", "precision", "step"]);
42
- };
43
- }
44
- });
45
- var InputFloat = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "bwa-input-float.vue"]]);
27
+
28
+ const props = __props;
29
+
30
+ defineOptions({
31
+ name: 'BwaInputFloat',
32
+ });
33
+
34
+
35
+
36
+ const attrs = vue.useAttrs();
37
+
38
+
39
+
40
+ const modelValue = vue.computed({
41
+ get: () => props.modelValue,
42
+ set: (v) => emit('update:model-value', v),
43
+ });
44
+
45
+ return (_ctx, _cache) => {
46
+ return (vue.openBlock(), vue.createBlock(bwaInputInteger["default"], vue.mergeProps(vue.unref(attrs), {
47
+ modelValue: vue.unref(modelValue),
48
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(modelValue) ? (modelValue).value = $event : null)),
49
+ precision: __props.precision,
50
+ step: __props.step
51
+ }), null, 16 /* FULL_PROPS */, ["modelValue", "precision", "step"]))
52
+ }
53
+ }
54
+
55
+ };
56
+ var InputFloat = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"bwa-input-float.vue"]]);
46
57
 
47
58
  exports["default"] = InputFloat;
@@ -6,55 +6,73 @@ var vue = require('vue');
6
6
  var ElementPlus = require('element-plus');
7
7
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
8
8
 
9
- const __default__ = vue.defineComponent({
10
- name: "BwaInputInteger"
11
- });
12
- const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
13
- props: {
14
- modelValue: {
15
- type: [String, Number],
16
- default: 0
17
- }
18
- },
19
- emits: ["update:model-value"],
9
+ const _sfc_main = {
10
+ __name: 'bwa-input-integer',
11
+ props: {
12
+ modelValue: {
13
+ type: [String, Number],
14
+ default: 0,
15
+ },
16
+ },
17
+ emits: ['update:model-value'],
20
18
  setup(__props, { emit }) {
21
- const props = __props;
22
- const attrs = vue.useAttrs();
23
- const modelValue = vue.computed({
24
- get: () => props.modelValue,
25
- set: (v) => {
26
- emit("update:model-value", v);
27
- }
28
- });
29
- const value = vue.ref(modelValue.value);
30
- vue.watch(value, (newValue) => {
31
- if (newValue === vue.unref(modelValue)) {
32
- return;
33
- }
34
- modelValue.value = newValue;
35
- });
36
- vue.watch(
37
- modelValue,
38
- (newValue) => {
39
- if (typeof newValue === "string") {
40
- newValue = Number.parseFloat(newValue);
41
- newValue = Number.isNaN(newValue) ? 0 : newValue;
42
- }
43
- if (value.value === newValue && value.value !== vue.unref(modelValue)) {
44
- modelValue.value = newValue;
45
- }
46
- value.value = newValue;
47
- },
48
- { immediate: true }
49
- );
50
- return (_ctx, _cache) => {
51
- return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElInputNumber), vue.mergeProps(vue.unref(attrs), {
52
- modelValue: value.value,
53
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
54
- }), null, 16, ["modelValue"]);
55
- };
56
- }
57
- });
58
- var InputInteger = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "bwa-input-integer.vue"]]);
19
+
20
+ const props = __props;
21
+
22
+ defineOptions({
23
+ name: 'BwaInputInteger',
24
+ });
25
+
26
+
27
+
28
+ const attrs = vue.useAttrs();
29
+
30
+
31
+
32
+ const modelValue = vue.computed({
33
+ get: () => props.modelValue,
34
+ set: (v) => {
35
+ emit('update:model-value', v);
36
+ },
37
+ });
38
+
39
+ const value = vue.ref(modelValue.value);
40
+
41
+ vue.watch(value, (newValue) => {
42
+ if (newValue === vue.unref(modelValue)) {
43
+ return;
44
+ }
45
+
46
+ modelValue.value = newValue;
47
+ });
48
+
49
+ vue.watch(
50
+ modelValue,
51
+ (newValue) => {
52
+ if (typeof newValue === 'string') {
53
+ newValue = Number.parseFloat(newValue);
54
+
55
+ newValue = Number.isNaN(newValue) ? 0 : newValue;
56
+ }
57
+
58
+ if (value.value === newValue && value.value !== vue.unref(modelValue)) {
59
+ modelValue.value = newValue;
60
+ }
61
+
62
+ value.value = newValue;
63
+ },
64
+ { immediate: true }
65
+ );
66
+
67
+ return (_ctx, _cache) => {
68
+ return (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElInputNumber), vue.mergeProps(vue.unref(attrs), {
69
+ modelValue: value.value,
70
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((value).value = $event))
71
+ }), null, 16 /* FULL_PROPS */, ["modelValue"]))
72
+ }
73
+ }
74
+
75
+ };
76
+ var InputInteger = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"bwa-input-integer.vue"]]);
59
77
 
60
78
  exports["default"] = InputInteger;
@@ -6,37 +6,48 @@ var vue = require('vue');
6
6
  var ElementPlus = require('element-plus');
7
7
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
8
8
 
9
- const __default__ = vue.defineComponent({
10
- name: "BwaInput"
11
- });
12
- const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
13
- props: {
14
- value: {
15
- type: [String, Number],
16
- default: ""
17
- },
18
- placeholder: {
19
- type: String,
20
- default: "\u8BF7\u8F93\u5165"
21
- }
22
- },
23
- emits: ["update:model-value"],
9
+ const _sfc_main = {
10
+ __name: 'bwa-input',
11
+ props: {
12
+ value: {
13
+ type: [String, Number],
14
+ default: '',
15
+ },
16
+ placeholder: {
17
+ type: String,
18
+ default: '请输入'
19
+ }
20
+ },
21
+ emits: ['update:model-value'],
24
22
  setup(__props, { emit }) {
25
- const props = __props;
26
- const attrs = vue.useAttrs();
27
- const modelValue = vue.computed({
28
- get: () => props.modelValue,
29
- set: (v) => emit("update:model-value", v)
30
- });
31
- return (_ctx, _cache) => {
32
- return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElInput), vue.mergeProps(vue.unref(attrs), {
33
- modelValue: vue.unref(modelValue),
34
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
35
- placeholder: __props.placeholder
36
- }), null, 16, ["modelValue", "placeholder"]);
37
- };
38
- }
39
- });
40
- var Input = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "bwa-input.vue"]]);
23
+
24
+ const props = __props;
25
+
26
+ defineOptions({
27
+ name: 'BwaInput',
28
+ });
29
+
30
+
31
+
32
+ const attrs = vue.useAttrs();
33
+
34
+
35
+
36
+ const modelValue = vue.computed({
37
+ get: () => props.modelValue,
38
+ set: (v) => emit('update:model-value', v),
39
+ });
40
+
41
+ return (_ctx, _cache) => {
42
+ return (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElInput), vue.mergeProps(vue.unref(attrs), {
43
+ modelValue: vue.unref(modelValue),
44
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(modelValue) ? (modelValue).value = $event : null)),
45
+ placeholder: __props.placeholder
46
+ }), null, 16 /* FULL_PROPS */, ["modelValue", "placeholder"]))
47
+ }
48
+ }
49
+
50
+ };
51
+ var Input = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"bwa-input.vue"]]);
41
52
 
42
53
  exports["default"] = Input;
@@ -6,34 +6,45 @@ var vue = require('vue');
6
6
  var bwaSelect = require('./bwa-select.js');
7
7
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
8
8
 
9
- const __default__ = vue.defineComponent({
10
- name: "BwaMultiSelect"
11
- });
12
- const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
13
- props: {
14
- modelValue: null
15
- },
16
- emits: ["update:model-value"],
9
+ const _sfc_main = {
10
+ __name: 'bwa-multi-select',
11
+ props: {
12
+ modelValue: null,
13
+ },
14
+ emits: ['update:model-value'],
17
15
  setup(__props, { emit }) {
18
- const props = __props;
19
- const modelValue = vue.computed({
20
- get: () => props.modelValue,
21
- set: (v) => emit("update:model-value", v)
22
- });
23
- const attrs = vue.useAttrs();
24
- return (_ctx, _cache) => {
25
- return vue.openBlock(), vue.createBlock(bwaSelect["default"], vue.mergeProps({
26
- modelValue: vue.unref(modelValue),
27
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null)
28
- }, vue.unref(attrs), { multiple: "" }), {
29
- default: vue.withCtx(() => [
30
- vue.renderSlot(_ctx.$slots, "default")
31
- ]),
32
- _: 3
33
- }, 16, ["modelValue"]);
34
- };
35
- }
36
- });
37
- var MultiSelect = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "bwa-multi-select.vue"]]);
16
+
17
+ const props = __props;
18
+
19
+ defineOptions({
20
+ name: 'BwaMultiSelect',
21
+ });
22
+
23
+
24
+
25
+
26
+
27
+ const modelValue = vue.computed({
28
+ get: () => props.modelValue,
29
+ set: (v) => emit('update:model-value', v),
30
+ });
31
+
32
+ const attrs = vue.useAttrs();
33
+
34
+ return (_ctx, _cache) => {
35
+ return (vue.openBlock(), vue.createBlock(bwaSelect["default"], vue.mergeProps({
36
+ modelValue: vue.unref(modelValue),
37
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(modelValue) ? (modelValue).value = $event : null))
38
+ }, vue.unref(attrs), { multiple: "" }), {
39
+ default: vue.withCtx(() => [
40
+ vue.renderSlot(_ctx.$slots, "default")
41
+ ]),
42
+ _: 3 /* FORWARDED */
43
+ }, 16 /* FULL_PROPS */, ["modelValue"]))
44
+ }
45
+ }
46
+
47
+ };
48
+ var MultiSelect = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"bwa-multi-select.vue"]]);
38
49
 
39
50
  exports["default"] = MultiSelect;