geekplus-digital-ui 0.2.2 → 0.2.3

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.
@@ -60,7 +60,7 @@ export const DCopy: {
60
60
  href: string;
61
61
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
62
62
  onClick?: ((evt: MouseEvent) => any) | undefined;
63
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
63
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
64
64
  $slots: {
65
65
  default?: (props: {}) => any;
66
66
  } & {
@@ -126,7 +126,7 @@ export const DCopy: {
126
126
  href: string;
127
127
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
128
128
  onClick?: ((evt: MouseEvent) => any) | undefined;
129
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
129
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
130
130
  $slots: {
131
131
  default?: (props: {}) => any;
132
132
  } & {
@@ -205,7 +205,7 @@ export const DCopy: {
205
205
  href: string;
206
206
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
207
207
  onClick?: ((evt: MouseEvent) => any) | undefined;
208
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
208
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
209
209
  $slots: {
210
210
  default?: (props: {}) => any;
211
211
  } & {
@@ -280,7 +280,7 @@ export const DCopy: {
280
280
  href: string;
281
281
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
282
282
  onClick?: ((evt: MouseEvent) => any) | undefined;
283
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
283
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
284
284
  $slots: {
285
285
  default?: (props: {}) => any;
286
286
  } & {
@@ -346,7 +346,7 @@ export const DCopy: {
346
346
  href: string;
347
347
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
348
348
  onClick?: ((evt: MouseEvent) => any) | undefined;
349
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
349
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
350
350
  $slots: {
351
351
  default?: (props: {}) => any;
352
352
  } & {
@@ -429,7 +429,7 @@ export const DCopy: {
429
429
  href: string;
430
430
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
431
431
  onClick?: ((evt: MouseEvent) => any) | undefined;
432
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
432
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
433
433
  $slots: {
434
434
  default?: (props: {}) => any;
435
435
  } & {
@@ -495,7 +495,7 @@ export const DCopy: {
495
495
  href: string;
496
496
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
497
497
  onClick?: ((evt: MouseEvent) => any) | undefined;
498
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
498
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
499
499
  $slots: {
500
500
  default?: (props: {}) => any;
501
501
  } & {
@@ -64,7 +64,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
64
64
  href: string;
65
65
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
66
66
  onClick?: ((evt: MouseEvent) => any) | undefined;
67
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
67
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
68
68
  $slots: {
69
69
  default?: (props: {}) => any;
70
70
  } & {
@@ -130,7 +130,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
130
130
  href: string;
131
131
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
132
132
  onClick?: ((evt: MouseEvent) => any) | undefined;
133
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
133
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
134
134
  $slots: {
135
135
  default?: (props: {}) => any;
136
136
  } & {
@@ -209,7 +209,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
209
209
  href: string;
210
210
  }> & Omit<Readonly<import('element-plus').LinkProps> & Readonly<{
211
211
  onClick?: ((evt: MouseEvent) => any) | undefined;
212
- }>, "type" | "underline" | "href" | "target"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
212
+ }>, "type" | "underline" | "href" | "target"> & {} & import('vue').ComponentCustomProperties & {} & {
213
213
  $slots: {
214
214
  default?: (props: {}) => any;
215
215
  } & {
@@ -263,7 +263,7 @@ type __VLS_TemplateResult = {
263
263
  href: string;
264
264
  }> & Omit<Readonly<LinkProps> & Readonly<{
265
265
  onClick?: ((evt: MouseEvent) => any) | undefined;
266
- }>, "type" | "underline" | "href" | "target"> & ShallowUnwrapRef<{}> & ExtractComputedReturns<{}> & ComponentCustomProperties & {} & {
266
+ }>, "type" | "underline" | "href" | "target"> & ExtractComputedReturns<{}> & ComponentCustomProperties & {} & {
267
267
  $slots: __VLS_Slots;
268
268
  }) | null;
269
269
  };
@@ -4,7 +4,7 @@ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  import n from "../../icon/index.js";
5
5
  import r from "../../icons/filter-list-light.vue.js";
6
6
  import i from "../../icons/grip-dots-vertical-solid.vue.js";
7
- import './table-filter.vue_vue_type_style_index_0_scoped_9588721e_lang.css';/* empty css */
7
+ import './table-filter.vue_vue_type_style_index_0_scoped_93138aaa_lang.css';/* empty css */
8
8
  import "../../index.js";
9
9
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, inject as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
10
10
  import { ElButton as b, ElCheckbox as x, ElPopover as S } from "element-plus";
@@ -94,15 +94,17 @@ var w = { class: "d-table-filter__header" }, T = { class: "d-table-filter__body"
94
94
  left: C(L.left, o(() => F.value.left), H("left")),
95
95
  middle: C(L.middle, o(() => F.value.middle), H("middle")),
96
96
  right: C(L.right, o(() => F.value.right), H("right"))
97
- }, W = !1, G = () => {
98
- W || (W = !0, Object.values(U).forEach((e) => e.start()));
99
- }, K = (e, t) => {
97
+ }, W = () => {
98
+ Object.values(U).forEach((e) => {
99
+ e.stop(), e.start();
100
+ });
101
+ }, G = (e, t) => {
100
102
  if (t) k.value.includes(e) || (k.value = [...k.value, e], M());
101
103
  else {
102
104
  if (k.value.length <= 1) return;
103
105
  k.value = k.value.filter((t) => t !== e), M();
104
106
  }
105
- }, q = () => {
107
+ }, K = () => {
106
108
  let e = O.value.map((e) => e.prop);
107
109
  k.value = e, A.value = e, j.value = {}, M();
108
110
  };
@@ -110,7 +112,7 @@ var w = { class: "d-table-filter__header" }, T = { class: "d-table-filter__body"
110
112
  placement: "bottom-end",
111
113
  width: "auto",
112
114
  trigger: "click",
113
- onShow: G
115
+ onShow: W
114
116
  }, {
115
117
  reference: y(() => [f(v(b), {
116
118
  link: "",
@@ -125,7 +127,7 @@ var w = { class: "d-table-filter__header" }, T = { class: "d-table-filter__body"
125
127
  default: y(() => [u("div", w, [f(v(b), {
126
128
  link: "",
127
129
  type: "primary",
128
- onClick: q
130
+ onClick: K
129
131
  }, {
130
132
  default: y(() => [d(_(v(D)("d.table.reset")), 1)]),
131
133
  _: 1
@@ -142,7 +144,7 @@ var w = { class: "d-table-filter__header" }, T = { class: "d-table-filter__body"
142
144
  }), f(v(x), {
143
145
  "model-value": v(k).includes(e.prop),
144
146
  disabled: v(k).length <= 1 && v(k).includes(e.prop),
145
- onChange: (t) => K(e.prop, t)
147
+ onChange: (t) => G(e.prop, t)
146
148
  }, {
147
149
  default: y(() => [d(_(e.label), 1)]),
148
150
  _: 2
@@ -154,6 +156,6 @@ var w = { class: "d-table-filter__header" }, T = { class: "d-table-filter__body"
154
156
  _: 1
155
157
  }));
156
158
  }
157
- }), [["__scopeId", "data-v-9588721e"]]);
159
+ }), [["__scopeId", "data-v-93138aaa"]]);
158
160
  //#endregion
159
161
  export { D as default };
@@ -0,0 +1 @@
1
+ .d-table-filter__body[data-v-93138aaa]{max-height:400px;overflow-y:auto}.d-table-filter__list[data-v-93138aaa]{margin:0;padding:0;list-style:none}.d-table-filter__item[data-v-93138aaa]{align-items:center;gap:6px;display:flex}.d-table-filter__item[data-v-93138aaa] .el-checkbox{height:24px}.d-table-filter__header[data-v-93138aaa]{justify-content:flex-end;margin-bottom:4px;display:flex}.d-table-filter__group-label[data-v-93138aaa]{color:var(--el-text-color-secondary);padding:4px 0 2px;font-size:12px}.d-table-filter__handle[data-v-93138aaa]{color:var(--el-text-color-placeholder);cursor:grab;flex-shrink:0}.d-table-filter__handle[data-v-93138aaa]:active{cursor:grabbing}
@@ -109,13 +109,13 @@ export const DUpload: import('vue').DefineComponent<{}, {
109
109
  autoUpload: boolean;
110
110
  listType: import('element-plus').ListType;
111
111
  httpRequest: import('element-plus').UploadRequestHandler;
112
- }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
112
+ }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & {
113
113
  abort: (file?: import('element-plus').UploadFile) => void;
114
114
  submit: () => void;
115
115
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
116
116
  handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
117
117
  handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
118
- }> & {} & import('vue').ComponentCustomProperties & {} & {
118
+ } & {} & import('vue').ComponentCustomProperties & {} & {
119
119
  $slots: {
120
120
  file?: (props: {
121
121
  file: import('element-plus').UploadFile;
@@ -249,13 +249,13 @@ export const DUpload: import('vue').DefineComponent<{}, {
249
249
  autoUpload: boolean;
250
250
  listType: import('element-plus').ListType;
251
251
  httpRequest: import('element-plus').UploadRequestHandler;
252
- }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
252
+ }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & {
253
253
  abort: (file?: import('element-plus').UploadFile) => void;
254
254
  submit: () => void;
255
255
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
256
256
  handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
257
257
  handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
258
- }> & {} & import('vue').ComponentCustomProperties & {} & {
258
+ } & {} & import('vue').ComponentCustomProperties & {} & {
259
259
  $slots: {
260
260
  file?: (props: {
261
261
  file: import('element-plus').UploadFile;
@@ -428,13 +428,13 @@ export const DUpload: import('vue').DefineComponent<{}, {
428
428
  autoUpload: boolean;
429
429
  listType: import('element-plus').ListType;
430
430
  httpRequest: import('element-plus').UploadRequestHandler;
431
- }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
431
+ }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & {
432
432
  abort: (file?: import('element-plus').UploadFile) => void;
433
433
  submit: () => void;
434
434
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
435
435
  handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
436
436
  handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
437
- }> & {} & import('vue').ComponentCustomProperties & {} & {
437
+ } & {} & import('vue').ComponentCustomProperties & {} & {
438
438
  $slots: {
439
439
  file?: (props: {
440
440
  file: import('element-plus').UploadFile;
@@ -109,13 +109,13 @@ declare const _default: import('vue').DefineComponent<{}, {
109
109
  autoUpload: boolean;
110
110
  listType: import('element-plus').ListType;
111
111
  httpRequest: import('element-plus').UploadRequestHandler;
112
- }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
112
+ }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & {
113
113
  abort: (file?: import('element-plus').UploadFile) => void;
114
114
  submit: () => void;
115
115
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
116
116
  handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
117
117
  handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
118
- }> & {} & import('vue').ComponentCustomProperties & {} & {
118
+ } & {} & import('vue').ComponentCustomProperties & {} & {
119
119
  $slots: {
120
120
  file?: (props: {
121
121
  file: import('element-plus').UploadFile;
@@ -249,13 +249,13 @@ declare const _default: import('vue').DefineComponent<{}, {
249
249
  autoUpload: boolean;
250
250
  listType: import('element-plus').ListType;
251
251
  httpRequest: import('element-plus').UploadRequestHandler;
252
- }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
252
+ }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & {
253
253
  abort: (file?: import('element-plus').UploadFile) => void;
254
254
  submit: () => void;
255
255
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
256
256
  handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
257
257
  handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
258
- }> & {} & import('vue').ComponentCustomProperties & {} & {
258
+ } & {} & import('vue').ComponentCustomProperties & {} & {
259
259
  $slots: {
260
260
  file?: (props: {
261
261
  file: import('element-plus').UploadFile;
@@ -428,13 +428,13 @@ declare const _default: import('vue').DefineComponent<{}, {
428
428
  autoUpload: boolean;
429
429
  listType: import('element-plus').ListType;
430
430
  httpRequest: import('element-plus').UploadRequestHandler;
431
- }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
431
+ }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & {
432
432
  abort: (file?: import('element-plus').UploadFile) => void;
433
433
  submit: () => void;
434
434
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
435
435
  handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
436
436
  handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
437
- }> & {} & import('vue').ComponentCustomProperties & {} & {
437
+ } & {} & import('vue').ComponentCustomProperties & {} & {
438
438
  $slots: {
439
439
  file?: (props: {
440
440
  file: import('element-plus').UploadFile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geekplus-digital-ui",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "homepage": "https://ui.geekplus.cc/static/ui/",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -27,7 +27,7 @@
27
27
  "file-saver": "^2.0.5",
28
28
  "lodash-es": "^4.18.1",
29
29
  "sortablejs": "^1.15.7",
30
- "vue-i18n": "^11.3.0"
30
+ "vue-i18n": "^11.3.2"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "element-plus": "^2.13.0",
@@ -1 +0,0 @@
1
- .d-table-filter__body[data-v-9588721e]{max-height:400px;overflow-y:auto}.d-table-filter__list[data-v-9588721e]{margin:0;padding:0;list-style:none}.d-table-filter__item[data-v-9588721e]{align-items:center;gap:6px;display:flex}.d-table-filter__item[data-v-9588721e] .el-checkbox{height:24px}.d-table-filter__header[data-v-9588721e]{justify-content:flex-end;margin-bottom:4px;display:flex}.d-table-filter__group-label[data-v-9588721e]{color:var(--el-text-color-secondary);padding:4px 0 2px;font-size:12px}.d-table-filter__handle[data-v-9588721e]{color:var(--el-text-color-placeholder);cursor:grab;flex-shrink:0}.d-table-filter__handle[data-v-9588721e]:active{cursor:grabbing}