yahee-components 0.0.112 → 0.0.113

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 (175) hide show
  1. package/es/operation-log/operation-log-form.vue.js +39 -40
  2. package/package.json +1 -1
  3. package/es/annex-upload/annex-upload.vue.js +0 -55
  4. package/es/annex-upload/annex-upload.vue2.js +0 -121
  5. package/es/annex-upload/index.js +0 -7
  6. package/es/annex-upload/mimeType.js +0 -822
  7. package/es/annex-upload/style/index.css +0 -7
  8. package/es/border-wrap/border-wrap.vue.js +0 -75
  9. package/es/border-wrap/border-wrap.vue2.js +0 -48
  10. package/es/border-wrap/index.js +0 -7
  11. package/es/border-wrap/props.js +0 -11
  12. package/es/border-wrap/style/index.css +0 -24
  13. package/es/common-import/common-import.vue.js +0 -394
  14. package/es/common-import/common-import.vue2.js +0 -366
  15. package/es/common-import/index.js +0 -7
  16. package/es/common-import/props.js +0 -23
  17. package/es/common-import/style/index.css +0 -32
  18. package/es/complex-search/batch-search-dialog.vue.js +0 -119
  19. package/es/complex-search/batch-search-dialog.vue2.js +0 -50
  20. package/es/complex-search/complex-search.vue.js +0 -122
  21. package/es/complex-search/complex-search.vue2.js +0 -71
  22. package/es/complex-search/index.js +0 -7
  23. package/es/complex-search/props.js +0 -19
  24. package/es/complex-search/style/index.css +0 -24
  25. package/es/complex-search/useComplexSearch.js +0 -44
  26. package/es/copy/copy.vue.js +0 -39
  27. package/es/copy/copy.vue2.js +0 -36
  28. package/es/copy/index.js +0 -7
  29. package/es/copy/props.js +0 -9
  30. package/es/copy/style/index.css +0 -12
  31. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +0 -120
  32. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +0 -127
  33. package/es/country-platform-shop-condition/index.js +0 -7
  34. package/es/country-platform-shop-condition/style/index.css +0 -59
  35. package/es/drop-down-condition/drop-down-condition.vue.js +0 -125
  36. package/es/drop-down-condition/drop-down-condition.vue2.js +0 -129
  37. package/es/drop-down-condition/index.js +0 -7
  38. package/es/drop-down-condition/style/index.css +0 -64
  39. package/es/echart-gauge/echart-gauge.vue.js +0 -14
  40. package/es/echart-gauge/echart-gauge.vue2.js +0 -149
  41. package/es/echart-gauge/index.js +0 -7
  42. package/es/echart-gauge/props.js +0 -9
  43. package/es/echart-gauge/style/index.css +0 -4
  44. package/es/file-download-wrapper/file-download-wrapper.vue.js +0 -164
  45. package/es/file-download-wrapper/file-download-wrapper.vue2.js +0 -115
  46. package/es/file-download-wrapper/index.js +0 -7
  47. package/es/file-download-wrapper/key.js +0 -17
  48. package/es/file-download-wrapper/props.js +0 -12
  49. package/es/file-download-wrapper/style/index.css +0 -66
  50. package/es/filter-container/filter-container.vue.js +0 -24
  51. package/es/filter-container/filter-container.vue2.js +0 -61
  52. package/es/filter-container/index.js +0 -7
  53. package/es/filter-container/key.js +0 -4
  54. package/es/filter-container/props.js +0 -11
  55. package/es/filter-container/style/index.css +0 -16
  56. package/es/filter-wrapper/filter-wrapper.vue.js +0 -19
  57. package/es/filter-wrapper/filter-wrapper.vue2.js +0 -56
  58. package/es/filter-wrapper/index.js +0 -7
  59. package/es/filter-wrapper/props.js +0 -10
  60. package/es/filter-wrapper/style/index.css +0 -3
  61. package/es/height-collapse/height-collapse.vue.js +0 -26
  62. package/es/height-collapse/height-collapse.vue2.js +0 -44
  63. package/es/height-collapse/index.js +0 -7
  64. package/es/height-collapse/props.js +0 -11
  65. package/es/height-collapse/style/index.css +0 -32
  66. package/es/help-tag/help-tag.vue.js +0 -46
  67. package/es/help-tag/help-tag.vue2.js +0 -51
  68. package/es/help-tag/index.js +0 -7
  69. package/es/help-tag/props.js +0 -9
  70. package/es/help-tag/style/index.css +0 -8
  71. package/es/image-upload/image-upload.vue.js +0 -116
  72. package/es/image-upload/image-upload.vue2.js +0 -93
  73. package/es/image-upload/index.js +0 -7
  74. package/es/image-upload/style/index.css +0 -33
  75. package/es/index.js +0 -63
  76. package/es/installs.js +0 -41
  77. package/es/left-condition/index.js +0 -7
  78. package/es/left-condition/left-condition-sub.vue.js +0 -36
  79. package/es/left-condition/left-condition-sub.vue2.js +0 -78
  80. package/es/left-condition/left-condition.vue.js +0 -77
  81. package/es/left-condition/left-condition.vue2.js +0 -162
  82. package/es/left-condition/style/index.css +0 -10
  83. package/es/left-condition-enum/index.js +0 -7
  84. package/es/left-condition-enum/left-condition-enum.vue.js +0 -22
  85. package/es/left-condition-enum/left-condition-enum.vue2.js +0 -42
  86. package/es/left-condition-enum/style/index.css +0 -10
  87. package/es/node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js +0 -99
  88. package/es/node_modules/.pnpm/@vueuse_shared@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +0 -22
  89. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/index.js +0 -38
  90. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/adapters.js +0 -53
  91. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/fetch.js +0 -141
  92. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/xhr.js +0 -71
  93. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/axios.js +0 -46
  94. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CancelToken.js +0 -77
  95. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  96. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
  97. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/Axios.js +0 -136
  98. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosError.js +0 -54
  99. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -181
  100. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  101. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
  102. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  103. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/mergeConfig.js +0 -70
  104. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/settle.js +0 -14
  105. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/transformData.js +0 -13
  106. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/index.js +0 -89
  107. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/transitional.js +0 -8
  108. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/env/data.js +0 -4
  109. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  110. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  111. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/bind.js +0 -8
  112. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/buildURL.js +0 -23
  113. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  114. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/composeSignals.js +0 -30
  115. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/cookies.js +0 -32
  116. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -31
  117. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  118. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  119. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -8
  120. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/null.js +0 -4
  121. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  122. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  123. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -35
  124. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -33
  125. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/speedometer.js +0 -19
  126. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/spread.js +0 -8
  127. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/throttle.js +0 -15
  128. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toFormData.js +0 -85
  129. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  130. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/trackStream.js +0 -63
  131. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/validator.js +0 -54
  132. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  133. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  134. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  135. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/index.js +0 -15
  136. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/common/utils.js +0 -9
  137. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/index.js +0 -9
  138. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +0 -222
  139. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -282
  140. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/index.js +0 -97
  141. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/basicTransition.js +0 -96
  142. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -56
  143. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -242
  144. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -106
  145. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/universalTransition.js +0 -345
  146. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -56
  147. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarView.js +0 -487
  148. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -77
  149. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -49
  150. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -325
  151. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/install.js +0 -23
  152. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -10
  153. package/lib/annex-upload/style/index.css +0 -7
  154. package/lib/border-wrap/style/index.css +0 -24
  155. package/lib/common-import/style/index.css +0 -32
  156. package/lib/complex-search/style/index.css +0 -24
  157. package/lib/copy/style/index.css +0 -12
  158. package/lib/country-platform-shop-condition/style/index.css +0 -59
  159. package/lib/drop-down-condition/style/index.css +0 -64
  160. package/lib/echart-gauge/style/index.css +0 -4
  161. package/lib/file-download-wrapper/style/index.css +0 -66
  162. package/lib/filter-container/style/index.css +0 -16
  163. package/lib/filter-wrapper/style/index.css +0 -3
  164. package/lib/height-collapse/style/index.css +0 -32
  165. package/lib/help-tag/style/index.css +0 -8
  166. package/lib/image-upload/style/index.css +0 -33
  167. package/lib/left-condition/style/index.css +0 -10
  168. package/lib/left-condition-enum/style/index.css +0 -10
  169. package/lib/operation-log/style/index.css +0 -234
  170. package/lib/scale-screen/style/index.css +0 -0
  171. package/lib/style.css +0 -1405
  172. package/lib/styles/custom.css +0 -82
  173. package/lib/styles/globals.css +0 -699
  174. package/lib/styles/index.css +0 -753
  175. package/lib/styles/variables.css +0 -34
@@ -1,122 +0,0 @@
1
- import w from "./complex-search.vue2.js";
2
- import { resolveComponent as n, createElementBlock as p, openBlock as a, Fragment as i, createElementVNode as d, createVNode as s, withKeys as v, createSlots as B, withCtx as t, renderList as h, createBlock as r, createCommentVNode as m, createTextVNode as f } from "vue";
3
- /* empty css */
4
- import g from "../_virtual/_plugin-vue_export-helper.js";
5
- const O = { class: "yahee-complex-search" }, F = { class: "search-type-checkbox" };
6
- function T(e, o, I, U, W, $) {
7
- const c = n("el-option"), u = n("el-select"), S = n("Search"), b = n("el-icon"), k = n("el-input"), V = n("el-checkbox"), y = n("el-link"), C = n("BatchSearchDialog");
8
- return a(), p(i, null, [
9
- d("div", O, [
10
- s(k, {
11
- modelValue: e.putSearch,
12
- "onUpdate:modelValue": o[2] || (o[2] = (l) => e.putSearch = l),
13
- placeholder: e.placeholderText,
14
- class: "input-with-select",
15
- clearable: "",
16
- maxlength: "30",
17
- onChange: e.handleSearch,
18
- onKeyup: v(e.handleSearch, ["enter"]),
19
- onPaste: e.pasteFormatInput,
20
- onClear: e.handleClear
21
- }, B({
22
- append: t(() => [
23
- s(b, {
24
- size: "12",
25
- color: "#3366cc",
26
- style: { cursor: "pointer" },
27
- class: "icon-cusor",
28
- onClick: e.handleSearch
29
- }, {
30
- default: t(() => [
31
- s(S)
32
- ]),
33
- _: 1
34
- }, 8, ["onClick"])
35
- ]),
36
- _: 2
37
- }, [
38
- e.showSelect ? {
39
- name: "prepend",
40
- fn: t(() => [
41
- s(u, {
42
- modelValue: e.selectedSearchType,
43
- "onUpdate:modelValue": o[0] || (o[0] = (l) => e.selectedSearchType = l),
44
- size: "small",
45
- class: "custom-select"
46
- }, {
47
- default: t(() => [
48
- (a(!0), p(i, null, h(e.options, (l) => (a(), r(c, {
49
- key: l.label,
50
- label: l.label,
51
- value: l.value
52
- }, null, 8, ["label", "value"]))), 128))
53
- ]),
54
- _: 1
55
- }, 8, ["modelValue"])
56
- ]),
57
- key: "0"
58
- } : {
59
- name: "prepend",
60
- fn: t(() => [
61
- s(u, {
62
- modelValue: e.selectedSearchType,
63
- "onUpdate:modelValue": o[1] || (o[1] = (l) => e.selectedSearchType = l),
64
- size: "small",
65
- class: "custom-select",
66
- disabled: ""
67
- }, {
68
- default: t(() => [
69
- (a(!0), p(i, null, h(e.defaultOptions, (l) => (a(), r(c, {
70
- key: l.label,
71
- label: l.label,
72
- value: l.value
73
- }, null, 8, ["label", "value"]))), 128))
74
- ]),
75
- _: 1
76
- }, 8, ["modelValue"])
77
- ]),
78
- key: "1"
79
- }
80
- ]), 1032, ["modelValue", "placeholder", "onChange", "onKeyup", "onPaste", "onClear"]),
81
- d("div", F, [
82
- e.showWithinFilterCheckbox ? (a(), r(V, {
83
- key: 0,
84
- modelValue: e.localIsWithinFilterOptions,
85
- "onUpdate:modelValue": o[3] || (o[3] = (l) => e.localIsWithinFilterOptions = l),
86
- onChange: e.searchWithinFilterOptions
87
- }, {
88
- default: t(() => o[6] || (o[6] = [
89
- f(" 在筛选条件内查询 ")
90
- ])),
91
- _: 1,
92
- __: [6]
93
- }, 8, ["modelValue", "onChange"])) : m("", !0),
94
- e.showPatchSearch ? (a(), r(y, {
95
- key: 1,
96
- type: "primary",
97
- onClick: o[4] || (o[4] = (l) => e.showBatchSearch = !0)
98
- }, {
99
- default: t(() => o[7] || (o[7] = [
100
- f(" 批量查询 ")
101
- ])),
102
- _: 1,
103
- __: [7]
104
- })) : m("", !0)
105
- ])
106
- ]),
107
- s(C, {
108
- modelValue: e.showBatchSearch,
109
- "onUpdate:modelValue": o[5] || (o[5] = (l) => e.showBatchSearch = l),
110
- "show-select": e.showSelect,
111
- "is-batch-select-same-with-input": e.isBatchSelectOptionsSameWithInput,
112
- "input-options": e.options,
113
- "batch-options": e.batchOptions,
114
- "default-options": e.defaultOptions,
115
- onConfirm: e.handleBatchSearchConfirm
116
- }, null, 8, ["modelValue", "show-select", "is-batch-select-same-with-input", "input-options", "batch-options", "default-options", "onConfirm"])
117
- ], 64);
118
- }
119
- const K = /* @__PURE__ */ g(w, [["render", T], ["__scopeId", "data-v-75f47f8c"], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/complex-search/complex-search.vue"]]);
120
- export {
121
- K as default
122
- };
@@ -1,71 +0,0 @@
1
- import { defineComponent as p, ref as u } from "vue";
2
- import { defaultComplexSearchProps as e } from "./props.js";
3
- import { useComplexSearch as f } from "./useComplexSearch.js";
4
- import d from "./batch-search-dialog.vue.js";
5
- const F = p({
6
- name: "YaheeComplexSearch",
7
- components: {
8
- BatchSearchDialog: d
9
- },
10
- props: {
11
- defaultSearch: { type: String, default: e().defaultSearch },
12
- options: {
13
- type: Array,
14
- default: e().options
15
- },
16
- placeholderText: { type: String, default: e().placeholderText },
17
- showPatchSearch: { type: Boolean, default: e().showPatchSearch },
18
- showWithinFilterCheckbox: {
19
- type: Boolean,
20
- default: e().showWithinFilterCheckbox
21
- },
22
- isWithinFilterOptions: { type: Boolean, default: !1 },
23
- showSelect: { type: Boolean, default: e().showSelect },
24
- searchItem: {
25
- type: Object,
26
- default: e().searchItem
27
- },
28
- isBatchSelectOptionsSameWithInput: {
29
- type: Boolean,
30
- default: e().isBatchSelectOptionsSameWithInput
31
- },
32
- batchOptions: {
33
- type: Array,
34
- default: e().batchOptions
35
- }
36
- },
37
- emits: ["update:isWithinFilterOptions", "search"],
38
- setup(h, { emit: t }) {
39
- const {
40
- selectedSearchType: i,
41
- putSearch: r,
42
- localIsWithinFilterOptions: a,
43
- handleSearch: l,
44
- handleClear: n,
45
- pasteFormatInput: s
46
- } = f(h, t), c = u(!1);
47
- return {
48
- selectedSearchType: i,
49
- putSearch: r,
50
- localIsWithinFilterOptions: a,
51
- showBatchSearch: c,
52
- defaultOptions: [{ value: "WHOLE_SEARCH", label: "综合搜索" }],
53
- handleSearch: l,
54
- handleClear: n,
55
- pasteFormatInput: s,
56
- handleBatchSearchConfirm: (o) => {
57
- t("search", {
58
- putSearch: o.searchContent,
59
- searchType: o.searchType,
60
- isWithinFilterOptions: a.value
61
- });
62
- },
63
- searchWithinFilterOptions: () => {
64
- t("update:isWithinFilterOptions", a.value);
65
- }
66
- };
67
- }
68
- });
69
- export {
70
- F as default
71
- };
@@ -1,7 +0,0 @@
1
- import { withInstall as e } from "../utils/install.js";
2
- import o from "./complex-search.vue.js";
3
- const a = e(o);
4
- export {
5
- a as YaheeComplexSearch,
6
- a as default
7
- };
@@ -1,19 +0,0 @@
1
- function e() {
2
- return {
3
- pasteFormat: () => {
4
- },
5
- defaultSearch: "",
6
- options: () => [],
7
- placeholderText: "",
8
- showPatchSearch: !1,
9
- showWithinFilterCheckbox: !0,
10
- showSelect: !1,
11
- searchItem: () => ({}),
12
- isBatchSelectOptionsSameWithInput: !0,
13
- batchOptions: () => [],
14
- isWithinFilterOptions: !1
15
- };
16
- }
17
- export {
18
- e as defaultComplexSearchProps
19
- };
@@ -1,24 +0,0 @@
1
- .yahee-complex-search .input-with-select {
2
- width: 83%;
3
- border-radius: 0;
4
- height: 24px;
5
- }
6
- .yahee-complex-search .custom-select {
7
- width: 95px;
8
- background-color: white;
9
- }
10
- .yahee-complex-search :deep(.custom-button + .custom-button) {
11
- margin-left: 5px;
12
- }
13
- .yahee-complex-search :deep(.custom-button) {
14
- padding: 1px 4px;
15
- height: 22px;
16
- }
17
- .yahee-complex-search .icon-cursor {
18
- cursor: pointer;
19
- }
20
- .yahee-complex-search .search-type-checkbox {
21
- display: flex;
22
- justify-content: space-between;
23
- width: 83%;
24
- }
@@ -1,44 +0,0 @@
1
- import { toRefs as m, ref as n, watch as c } from "vue";
2
- function F(t, o) {
3
- const { searchItem: s } = m(t), u = n(t.defaultSearch || "WHOLE_SEARCH"), a = n(""), l = n(t.isWithinFilterOptions), h = n({ ...s.value });
4
- c(
5
- () => s.value,
6
- (e) => {
7
- h.value = { ...e };
8
- },
9
- { deep: !0 }
10
- ), c(
11
- () => t.isWithinFilterOptions,
12
- (e) => {
13
- l.value = e;
14
- }
15
- ), c(l, (e) => {
16
- o("update:isWithinFilterOptions", e);
17
- });
18
- const r = () => {
19
- o("search", {
20
- putSearch: a.value || "",
21
- searchType: u.value,
22
- isWithinFilterOptions: l.value
23
- });
24
- };
25
- return {
26
- selectedSearchType: u,
27
- putSearch: a,
28
- localIsWithinFilterOptions: l,
29
- localSearchItem: h,
30
- handleSearch: r,
31
- handleClear: () => {
32
- a.value = "", r();
33
- },
34
- pasteFormatInput: (e) => {
35
- var d;
36
- e.preventDefault();
37
- const i = (d = e.clipboardData) == null ? void 0 : d.getData("text/plain"), p = i == null ? void 0 : i.replace(/[\n\r\t]+/g, ",");
38
- p !== null && (a.value = p, setTimeout(r, 50));
39
- }
40
- };
41
- }
42
- export {
43
- F as useComplexSearch
44
- };
@@ -1,39 +0,0 @@
1
- import n from "./copy.vue2.js";
2
- import { createElementBlock as r, openBlock as l, createVNode as e, withCtx as c, createElementVNode as s, renderSlot as p } from "vue";
3
- import a from "../_virtual/_plugin-vue_export-helper.js";
4
- const f = { class: "yahee-copy" };
5
- function i(t, m, _, o, d, y) {
6
- return l(), r("div", f, [
7
- e(o.ElTooltip, {
8
- placement: "right",
9
- effect: "light",
10
- offset: -5,
11
- "show-arrow": !1,
12
- "popper-class": "yahee-copy-custom-popper-class"
13
- }, {
14
- content: c(() => [
15
- e(o.ElIcon, {
16
- color: "#3366cc",
17
- size: "18",
18
- class: "icon",
19
- onClick: o.copyContent
20
- }, {
21
- default: c(() => [
22
- e(o.DocumentCopy)
23
- ]),
24
- _: 1
25
- })
26
- ]),
27
- default: c(() => [
28
- s("div", null, [
29
- p(t.$slots, "default")
30
- ])
31
- ]),
32
- _: 3
33
- })
34
- ]);
35
- }
36
- const E = /* @__PURE__ */ a(n, [["render", i], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/copy/copy.vue"]]);
37
- export {
38
- E as default
39
- };
@@ -1,36 +0,0 @@
1
- import { defineComponent as n } from "vue";
2
- import { ElMessage as s, ElIcon as m, ElTooltip as i } from "element-plus";
3
- import "element-plus/theme-chalk/src/base.scss";
4
- import "element-plus/theme-chalk/src/tooltip.scss";
5
- import "element-plus/theme-chalk/src/popper.scss";
6
- import "element-plus/theme-chalk/src/badge.scss";
7
- import "element-plus/theme-chalk/src/message.scss";
8
- import { DocumentCopy as c } from "@element-plus/icons-vue";
9
- import { useClipboard as u } from "../packages/components/hooks/useClipboard.js";
10
- const b = /* @__PURE__ */ n({
11
- name: "YaheeCopy",
12
- __name: "copy",
13
- props: {
14
- content: { type: String, required: !0, default: "" },
15
- message: { type: String, required: !1, default: "复制成功" }
16
- },
17
- setup(r, { expose: p }) {
18
- p();
19
- const e = r, { copyUrl: t } = u(), o = { props: e, copyUrl: t, copyContent: () => {
20
- t(e.content), s({
21
- message: e.message,
22
- type: "success"
23
- });
24
- }, get ElTooltip() {
25
- return i;
26
- }, get ElIcon() {
27
- return m;
28
- }, get DocumentCopy() {
29
- return c;
30
- } };
31
- return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
32
- }
33
- });
34
- export {
35
- b as default
36
- };
package/es/copy/index.js DELETED
@@ -1,7 +0,0 @@
1
- import { withInstall as o } from "../utils/install.js";
2
- import t from "./copy.vue.js";
3
- const a = o(t);
4
- export {
5
- a as YaheeCopy,
6
- a as default
7
- };
package/es/copy/props.js DELETED
@@ -1,9 +0,0 @@
1
- function e() {
2
- return {
3
- content: "",
4
- message: "复制成功"
5
- };
6
- }
7
- export {
8
- e as defaultCopyProps
9
- };
@@ -1,12 +0,0 @@
1
- .yahee-copy .el-tooltip__trigger {
2
- width: -moz-fit-content !important;
3
- width: fit-content !important;
4
- }
5
-
6
- .yahee-copy-custom-popper-class {
7
- background: transparent !important;
8
- border: none !important;
9
- }
10
- .yahee-copy-custom-popper-class .icon {
11
- cursor: pointer;
12
- }
@@ -1,120 +0,0 @@
1
- import f from "./country-platform-shop-condition.vue2.js";
2
- import { createElementBlock as n, openBlock as o, createVNode as p, withCtx as c, createElementVNode as t, normalizeStyle as d, Fragment as i, renderList as s, toDisplayString as y, createBlock as m, createTextVNode as b } from "vue";
3
- import k from "../_virtual/_plugin-vue_export-helper.js";
4
- const G = { class: "yahee-country-platform-shop-condition" }, V = { class: "popover-table" }, S = { id: "all" }, C = ["onClick"], g = { id: "y" }, v = ["onClick"], w = { style: { display: "flex", "align-items": "center", outline: "none" } };
5
- function x(E, T, B, l, F, L) {
6
- return o(), n("div", G, [
7
- p(l.ElPopover, {
8
- placement: "bottom",
9
- trigger: "hover",
10
- width: "'auto'",
11
- "popper-class": "custom-popover",
12
- onHide: l.handleHide,
13
- onShow: l.handleShow
14
- }, {
15
- reference: c(() => [
16
- t("div", w, [
17
- p(l.ElButton, {
18
- size: "small",
19
- class: "el-button custom-total-button",
20
- style: d(l.getDefaultSelectedAllStyle(l.isSelectedAll)),
21
- onClick: l.selectAll
22
- }, {
23
- default: c(() => [
24
- b(y(l.M2("全部")), 1)
25
- ]),
26
- _: 1
27
- }, 8, ["style"]),
28
- (o(!0), n(i, null, s(l.selectList, (r) => (o(), m(l.ElButton, {
29
- key: r,
30
- style: d(l.rowTitleStyle[r.xGroupValue]),
31
- class: "custom-button",
32
- onClick: (h) => l.toggleRowSelection(r)
33
- }, {
34
- default: c(() => [
35
- b(y(l.M2(r.xGroupText)), 1)
36
- ]),
37
- _: 2
38
- }, 1032, ["style", "onClick"]))), 128))
39
- ])
40
- ]),
41
- default: c(() => {
42
- var r, h;
43
- return [
44
- t("table", V, [
45
- t("thead", null, [
46
- t("tr", null, [
47
- t("th", S, [
48
- t("span", {
49
- style: d(l.getDefaultSelectedAllStyle(l.isSelectedAll)),
50
- class: "el-button el-button--small custom-button",
51
- onClick: l.selectAll
52
- }, " 全部 ", 4)
53
- ]),
54
- (o(!0), n(i, null, s((r = l.xyFilters) == null ? void 0 : r.xGroup, (e) => (o(), n("th", {
55
- id: "x",
56
- key: e.xGroupValue
57
- }, [
58
- t("span", {
59
- style: d({ ...l.rowTitleStyle[e.xGroupValue], width: "100%" }),
60
- class: "el-button--small el-button custom-button",
61
- onClick: (_) => l.toggleRowSelection(e)
62
- }, y(e.xGroupText), 13, C)
63
- ]))), 128))
64
- ])
65
- ]),
66
- t("tbody", null, [
67
- (o(!0), n(i, null, s((h = l.xyFilters) == null ? void 0 : h.yGroup, (e) => {
68
- var _;
69
- return o(), n("tr", {
70
- key: e.yGroupValue
71
- }, [
72
- t("th", g, [
73
- t("span", {
74
- style: d({ ...l.columnTitleStyle[e.yGroupValue], width: "100%" }),
75
- class: "el-button--small el-button custom-button",
76
- onClick: (u) => l.toggleColumnSelection(e)
77
- }, y(e.yGroupText), 13, v)
78
- ]),
79
- (o(!0), n(i, null, s((_ = l.xyFilters) == null ? void 0 : _.xGroup, (u) => (o(), n("td", {
80
- key: u.xGroupValue
81
- }, [
82
- p(l.ElCheckboxGroup, {
83
- modelValue: l.checkList[u.xGroupValue + "-" + e.yGroupValue],
84
- "onUpdate:modelValue": (a) => l.checkList[u.xGroupValue + "-" + e.yGroupValue] = a
85
- }, {
86
- default: c(() => [
87
- (o(!0), n(i, null, s(l.getContentForCell(
88
- u.xGroupValue,
89
- e.yGroupValue
90
- ), (a) => (o(), m(l.ElCheckbox, {
91
- key: a.value,
92
- border: "",
93
- class: "el-button el-button-small custom-button",
94
- label: a.text,
95
- value: a.value,
96
- size: "small"
97
- }, {
98
- default: c(() => [
99
- b(y(a.text), 1)
100
- ]),
101
- _: 2
102
- }, 1032, ["label", "value"]))), 128))
103
- ]),
104
- _: 2
105
- }, 1032, ["modelValue", "onUpdate:modelValue"])
106
- ]))), 128))
107
- ]);
108
- }), 128))
109
- ])
110
- ])
111
- ];
112
- }),
113
- _: 1
114
- })
115
- ]);
116
- }
117
- const H = /* @__PURE__ */ k(f, [["render", x], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/country-platform-shop-condition/country-platform-shop-condition.vue"]]);
118
- export {
119
- H as default
120
- };
@@ -1,127 +0,0 @@
1
- import { defineComponent as R, toRefs as D, reactive as _, ref as c, watch as M } from "vue";
2
- import { stylesUtils as T } from "../utils/style.js";
3
- import { M2 as H } from "../utils/translate.js";
4
- import L from "../_virtual/lodash.js";
5
- import { ElPopover as U, ElCheckboxGroup as Y, ElCheckbox as z, ElButton as I } from "element-plus";
6
- import "element-plus/theme-chalk/src/base.scss";
7
- import "element-plus/theme-chalk/src/button.scss";
8
- import "element-plus/theme-chalk/src/checkbox.scss";
9
- import "element-plus/theme-chalk/src/checkbox-group.scss";
10
- import "element-plus/theme-chalk/src/popper.scss";
11
- import "element-plus/theme-chalk/src/popover.scss";
12
- const ae = /* @__PURE__ */ R({
13
- name: "YaheeCountryPlatformShopCondition",
14
- __name: "country-platform-shop-condition",
15
- props: {
16
- xyFilters: { type: Object, required: !1 },
17
- filterKey: { type: String, required: !0 }
18
- },
19
- emits: ["filterChange"],
20
- setup(j, { expose: K, emit: O }) {
21
- K();
22
- const G = j, { filterKey: m, xyFilters: a } = D(G), d = O, t = _({});
23
- let f = _({});
24
- const p = c({}), v = c({}), i = c(!0), y = c({}), h = c({}), x = c();
25
- a.value && (x.value = [...a.value.xGroup]);
26
- function A(e, o) {
27
- var u;
28
- return (u = a.value) == null ? void 0 : u.items.filter((l) => l.xGroupValue === e && l.yGroupValue === o);
29
- }
30
- function F(e) {
31
- var u;
32
- const o = e.xGroupValue;
33
- if (y.value[o]) {
34
- for (const l in t)
35
- l.startsWith(o) && delete t[l];
36
- y.value[o] = !1;
37
- } else {
38
- for (const l of (u = a.value) == null ? void 0 : u.items)
39
- if (l.xGroupValue === o) {
40
- let n = t[`${l.xGroupValue}-${l.yGroupValue}`];
41
- n ? (n.push(l.value), n = [...new Set(n)]) : n = [l.value], t[`${l.xGroupValue}-${l.yGroupValue}`] = n;
42
- }
43
- y.value[o] = !0;
44
- }
45
- }
46
- const P = (e) => T.getBackgroundColor(e), W = () => {
47
- L.isEqual(f, t) || d("filterChange", [
48
- {
49
- filterKey: m.value,
50
- checkedValues: Object.values(Object.values(t)).flat()
51
- }
52
- ]);
53
- }, q = () => {
54
- f = L.cloneDeep(t);
55
- };
56
- function w() {
57
- if (i.value)
58
- i.value = !1, Object.keys(t).forEach((e) => {
59
- delete t[e];
60
- });
61
- else {
62
- i.value = !0;
63
- for (const e of a.value.items) {
64
- let o = t[`${e.xGroupValue}-${e.yGroupValue}`];
65
- o ? o.push(e.value) : o = [e.value], t[`${e.xGroupValue}-${e.yGroupValue}`] = o;
66
- }
67
- }
68
- console.log(t);
69
- }
70
- function B(e) {
71
- const o = e.yGroupValue;
72
- if (h.value[o]) {
73
- for (const u in t)
74
- u.endsWith(o) && delete t[u];
75
- h.value[o] = !1;
76
- } else {
77
- for (const u of a.value.items)
78
- if (u.yGroupValue === o) {
79
- let l = t[`${u.xGroupValue}-${u.yGroupValue}`];
80
- l ? (l.push(u.value), l = [...new Set(l)]) : l = [u.value], t[`${u.xGroupValue}-${u.yGroupValue}`] = l;
81
- }
82
- h.value[o] = !0;
83
- }
84
- }
85
- M(
86
- t,
87
- (e, o) => {
88
- var S, k, E, $;
89
- Object.keys(e).forEach((r) => {
90
- Array.isArray(e[r]) && e[r].length === 0 && delete e[r];
91
- }), console.log("新的数组:", e), console.log("旧的数组:", o);
92
- const u = { backgroundColor: "#3366CC", color: "#fff", borderColor: "#3366CC" }, l = { backgroundColor: "#00bfff", borderColor: "#00bfff" }, n = {}, V = (S = a.value) == null ? void 0 : S.xGroup.length, b = (k = a.value) == null ? void 0 : k.yGroup.length;
93
- (E = a.value) == null || E.xGroup.forEach((r) => {
94
- let s = 0;
95
- for (const g in t)
96
- g.startsWith(r.xGroupValue) && s++;
97
- s === 0 ? p.value[r.xGroupValue] = n : s === b ? p.value[r.xGroupValue] = u : p.value[r.xGroupValue] = l;
98
- }), ($ = a.value) == null || $.yGroup.forEach((r) => {
99
- let s = 0;
100
- for (const g in t)
101
- g.endsWith(r.yGroupValue) && s++;
102
- s === 0 ? v.value[r.yGroupValue] = n : s === V ? v.value[r.yGroupValue] = u : v.value[r.yGroupValue] = l;
103
- }), i.value = Object.keys(e).length === V * b;
104
- },
105
- { deep: !0 }
106
- );
107
- const C = { props: G, filterKey: m, xyFilters: a, emit: d, checkList: t, get backupCheckList() {
108
- return f;
109
- }, set backupCheckList(e) {
110
- f = e;
111
- }, rowTitleStyle: p, columnTitleStyle: v, isSelectedAll: i, toggleRowSelectionFlags: y, toggleColumnSelectionFlags: h, selectList: x, getContentForCell: A, toggleRowSelection: F, getDefaultSelectedAllStyle: P, handleHide: W, handleShow: q, selectAll: w, toggleColumnSelection: B, get M2() {
112
- return H;
113
- }, get ElButton() {
114
- return I;
115
- }, get ElCheckbox() {
116
- return z;
117
- }, get ElCheckboxGroup() {
118
- return Y;
119
- }, get ElPopover() {
120
- return U;
121
- } };
122
- return Object.defineProperty(C, "__isScriptSetup", { enumerable: !1, value: !0 }), C;
123
- }
124
- });
125
- export {
126
- ae as default
127
- };
@@ -1,7 +0,0 @@
1
- import { withInstall as o } from "../utils/install.js";
2
- import t from "./country-platform-shop-condition.vue.js";
3
- const i = o(t);
4
- export {
5
- i as YaheeCountryPlatformShopCondition,
6
- i as default
7
- };