@wfrog/vc-ui 1.13.4 → 1.13.5

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.
@@ -9,5 +9,7 @@ export interface IExplorerFilterProps {
9
9
  }
10
10
  export interface IExplorerFilterEmits {
11
11
  (e: 'filter', keyword: string): void;
12
+ (e: 'clear', keyword: string): void;
13
+ (e: 'change', keyword: string): void;
12
14
  (e: 'create'): void;
13
15
  }
@@ -20,10 +20,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  disabled: { type: Boolean },
21
21
  closeLocalFilter: { type: Boolean, default: false }
22
22
  },
23
- emits: ["filter", "create"],
23
+ emits: ["filter", "clear", "change", "create"],
24
24
  setup(__props, { emit: __emit }) {
25
25
  useCssVars((_ctx) => ({
26
- "v07a058f6": `${_ctx.paddingBottom}px`
26
+ "v3a2cc2a2": `${_ctx.paddingBottom}px`
27
27
  }));
28
28
  const props = __props;
29
29
  const emits = __emit;
@@ -55,15 +55,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
55
  "prefix-icon": unref(Search),
56
56
  disabled: __props.disabled,
57
57
  onKeydown: withKeys(handleFilter, ["enter"]),
58
- onClear: handleFilter,
59
- onChange: handleFilter,
58
+ onClear: _cache[1] || (_cache[1] = ($event) => emits("clear", unref(keyword))),
59
+ onChange: _cache[2] || (_cache[2] = ($event) => emits("change", unref(keyword))),
60
60
  onInput: unref(keywordChange)
61
61
  }, null, 8, ["modelValue", "placeholder", "clearable", "prefix-icon", "disabled", "onInput"]),
62
62
  __props.create ? (openBlock(), createBlock(_component_ElButton, {
63
63
  key: 0,
64
64
  icon: unref(Plus),
65
65
  disabled: __props.disabled,
66
- onClick: _cache[1] || (_cache[1] = ($event) => emits("create"))
66
+ onClick: _cache[3] || (_cache[3] = ($event) => emits("create"))
67
67
  }, null, 8, ["icon", "disabled"])) : createCommentVNode("", true)
68
68
  ], 2);
69
69
  };
@@ -1,9 +1,13 @@
1
1
  import { IExplorerFilterProps } from './explorer-filter';
2
2
  declare const _default: import('vue').DefineComponent<IExplorerFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
3
  filter: (keyword: string) => any;
4
+ change: (keyword: string) => any;
5
+ clear: (keyword: string) => any;
4
6
  create: () => any;
5
7
  }, string, import('vue').PublicProps, Readonly<IExplorerFilterProps> & Readonly<{
6
8
  onFilter?: ((keyword: string) => any) | undefined;
9
+ onChange?: ((keyword: string) => any) | undefined;
10
+ onClear?: ((keyword: string) => any) | undefined;
7
11
  onCreate?: (() => any) | undefined;
8
12
  }>, {
9
13
  placeholder: string;
@@ -4,5 +4,5 @@
4
4
  column-gap: 8px;
5
5
  display: flex;
6
6
  margin-bottom: 8px;
7
- padding-bottom: var(--v07a058f6);
7
+ padding-bottom: var(--v3a2cc2a2);
8
8
  }
package/dist/es/index.mjs CHANGED
@@ -164,7 +164,7 @@ const __vite_glob_0_50 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
164
164
  default: _sfc_main$8
165
165
  }, Symbol.toStringTag, { value: 'Module' }));
166
166
 
167
- const version = "1.13.4";
167
+ const version = "1.13.5";
168
168
 
169
169
  const modules = /* #__PURE__ */ Object.assign({"./components/awesome-icon/awesome-icon.vue": __vite_glob_0_0,"./components/backbottom/backbottom.vue": __vite_glob_0_1,"./components/button/button.vue": __vite_glob_0_2,"./components/chat-container/chat-container.vue": __vite_glob_0_3,"./components/choice-boolean/choice-boolean.vue": __vite_glob_0_4,"./components/choice/choice.vue": __vite_glob_0_5,"./components/color-switch/color-switch.vue": __vite_glob_0_6,"./components/config-provider/config-provider.vue": __vite_glob_0_7,"./components/cropper/cropper.vue": __vite_glob_0_8,"./components/currency/currency.vue": __vite_glob_0_9,"./components/dark-switch/dark-switch.vue": __vite_glob_0_10,"./components/daterange-picker/daterange-picker.vue": __vite_glob_0_11,"./components/dialog-camera-upload/dialog-camera-upload.vue": __vite_glob_0_12,"./components/dialog-map-point/dialog-map-point.vue": __vite_glob_0_13,"./components/dialog-upload-images/dialog-upload-images.vue": __vite_glob_0_14,"./components/dialog/dialog.vue": __vite_glob_0_15,"./components/drag-verify/drag-verify.vue": __vite_glob_0_16,"./components/drawer/drawer.vue": __vite_glob_0_17,"./components/easy-pagination/easy-pagination.vue": __vite_glob_0_18,"./components/el-icon/el-icon.vue": __vite_glob_0_19,"./components/explorer-column-table/explorer-column-table.vue": __vite_glob_0_20,"./components/explorer-container/explorer-container.vue": __vite_glob_0_21,"./components/explorer-filter/explorer-filter.vue": __vite_glob_0_22,"./components/explorer-footer/explorer-footer.vue": __vite_glob_0_23,"./components/explorer-form/explorer-form.vue": __vite_glob_0_24,"./components/explorer-list/explorer-list.vue": __vite_glob_0_25,"./components/explorer-modal-form/explorer-modal-form.vue": __vite_glob_0_26,"./components/explorer-panel/explorer-panel.vue": __vite_glob_0_27,"./components/explorer-query/explorer-query.vue": __vite_glob_0_28,"./components/explorer-table/explorer-table.vue": __vite_glob_0_29,"./components/explorer-tools/explorer-tools.vue": __vite_glob_0_30,"./components/explorer-tree/explorer-tree.vue": __vite_glob_0_31,"./components/explorer/explorer.vue": __vite_glob_0_32,"./components/flag/flag.vue": __vite_glob_0_33,"./components/form-item/form-item.vue": __vite_glob_0_34,"./components/gen-input/gen-input.vue": __vite_glob_0_35,"./components/icon-picker/icon-picker.vue": __vite_glob_0_36,"./components/icon/icon.vue": __vite_glob_0_37,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_38,"./components/image/image.vue": __vite_glob_0_39,"./components/info-tooltip/info-tooltip.vue": __vite_glob_0_40,"./components/input-number/input-number.vue": __vite_glob_0_41,"./components/input/input.vue": __vite_glob_0_42,"./components/pca-picker/pca-picker.vue": __vite_glob_0_43,"./components/qr-code/qr-code.vue": __vite_glob_0_44,"./components/screenfull/screenfull.vue": __vite_glob_0_45,"./components/scrollbar/scrollbar.vue": __vite_glob_0_46,"./components/select/select.vue": __vite_glob_0_47,"./components/single-player/single-player.vue": __vite_glob_0_48,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_49,"./components/splitter/splitter.vue": __vite_glob_0_50,"./components/svg-icon/svg-icon.vue": __vite_glob_0_51,"./components/switch/switch.vue": __vite_glob_0_52,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_53,"./components/tags/tags.vue": __vite_glob_0_54,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_55,"./components/thousand-input/thousand-input.vue": __vite_glob_0_56,"./components/tinymce/tinymce.vue": __vite_glob_0_57,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_58,"./components/transfer/transfer.vue": __vite_glob_0_59,"./components/tree-picker/tree-picker.vue": __vite_glob_0_60,"./components/tree-select/tree-select.vue": __vite_glob_0_61,"./components/upload-file/upload-file.vue": __vite_glob_0_62});
170
170
  const upper = (_, letter) => letter.toUpperCase();
package/dist/index.css CHANGED
@@ -609,7 +609,7 @@ div._table_1vtct_1 {
609
609
  column-gap: 8px;
610
610
  display: flex;
611
611
  margin-bottom: 8px;
612
- padding-bottom: var(--v07a058f6);
612
+ padding-bottom: var(--v3a2cc2a2);
613
613
  }
614
614
  /* source: src/components/explorer-footer/explorer-footer.vue */
615
615
  ._explorer-footer_ntz3b_1 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wfrog/vc-ui",
3
- "version": "1.13.4",
3
+ "version": "1.13.5",
4
4
  "packageManager": "pnpm@10.20.0",
5
5
  "description": "vue3 组件库 vc-ui",
6
6
  "author": "wellfrog",