@ctzy-web-client/plugin-component-vue 1.0.41 → 1.0.43

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.
@@ -4,7 +4,7 @@ import { useService, HttpRequest, useNamespace, filterPanelItemKey } from '@ctzy
4
4
  import { dataProps } from '../../hooks/use-data/index.mjs';
5
5
  import { pinyin } from 'pinyin-pro';
6
6
  import '../../advance-select/advance-option.mjs';
7
- import './pct-multiple-menu-condition2.vue_vue_type_style_index_0_scoped_c5c05287_lang.mjs';
7
+ import './pct-multiple-menu-condition2.vue_vue_type_style_index_0_scoped_a6cdfcd8_lang.mjs';
8
8
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
9
9
 
10
10
  // Inject __name helper
@@ -42,7 +42,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
42
42
  valueAttr: { type: String, default: "" },
43
43
  searchAttr: { type: String, default: "" },
44
44
  itfInfo: { type: Object, default: null },
45
- isRequiredByVisibleChange: { type: Boolean, default: false }
45
+ isRequiredByVisibleChange: { type: Boolean, default: false },
46
+ remoteShowSuffix: { type: Boolean, default: true },
47
+ reserveKeyword: { type: Boolean, default: false }
46
48
  },
47
49
  emits: ["update:modelValue", "search", "visible-change"],
48
50
  setup(__props, { emit: __emit }) {
@@ -180,9 +182,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
180
182
  filterable: __props.filterable,
181
183
  placeholder: placeholderStr.value,
182
184
  loading: loading.value,
185
+ "remote-show-suffix": __props.remoteShowSuffix,
183
186
  onVisibleChange: visibleChange,
184
187
  remote: __props.remote,
185
188
  "remote-method": handleFieldSearch,
189
+ "reserve-keyword": __props.reserveKeyword,
186
190
  size: __props.size,
187
191
  class: normalizeClass(unref(ns).e("multiple")),
188
192
  "collapse-tags": "",
@@ -213,11 +217,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
213
217
  ], true)
214
218
  ]),
215
219
  _: 3
216
- }, 8, ["modelValue", "multiple", "filterable", "placeholder", "loading", "remote", "size", "class"])
220
+ }, 8, ["modelValue", "multiple", "filterable", "placeholder", "loading", "remote-show-suffix", "remote", "reserve-keyword", "size", "class"])
217
221
  ], 2);
218
222
  };
219
223
  }
220
224
  });
221
- var PctMultipleMenuCondition = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c5c05287"], ["__file", "pct-multiple-menu-condition2.vue"]]);
225
+ var PctMultipleMenuCondition = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a6cdfcd8"], ["__file", "pct-multiple-menu-condition2.vue"]]);
222
226
 
223
227
  export { PctMultipleMenuCondition as default };
package/es/plugins.css CHANGED
@@ -1 +1 @@
1
- .letter-circle[data-v-9ba46efc]{font-size:14px;height:24px;margin-right:8px;width:24px}.letter-circle[data-v-9ba46efc],.letter-circle[data-v-c5c05287]{align-items:center;border-radius:50%;color:#fff;display:flex;justify-content:center}.letter-circle[data-v-c5c05287]{flex-shrink:0;font-size:12px;height:22px;width:22px}
1
+ .letter-circle[data-v-9ba46efc]{font-size:14px;height:24px;margin-right:8px;width:24px}.letter-circle[data-v-9ba46efc],.letter-circle[data-v-a6cdfcd8]{align-items:center;border-radius:50%;color:#fff;display:flex;justify-content:center}.letter-circle[data-v-a6cdfcd8]{flex-shrink:0;font-size:12px;height:22px;width:22px}
@@ -8,7 +8,7 @@ var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
8
8
  var index = require('../../hooks/use-data/index.js');
9
9
  var pinyinPro = require('pinyin-pro');
10
10
  require('../../advance-select/advance-option.js');
11
- require('./pct-multiple-menu-condition2.vue_vue_type_style_index_0_scoped_c5c05287_lang.js');
11
+ require('./pct-multiple-menu-condition2.vue_vue_type_style_index_0_scoped_a6cdfcd8_lang.js');
12
12
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
13
13
 
14
14
  // Inject __name helper
@@ -46,7 +46,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
46
46
  valueAttr: { type: String, default: "" },
47
47
  searchAttr: { type: String, default: "" },
48
48
  itfInfo: { type: Object, default: null },
49
- isRequiredByVisibleChange: { type: Boolean, default: false }
49
+ isRequiredByVisibleChange: { type: Boolean, default: false },
50
+ remoteShowSuffix: { type: Boolean, default: true },
51
+ reserveKeyword: { type: Boolean, default: false }
50
52
  },
51
53
  emits: ["update:modelValue", "search", "visible-change"],
52
54
  setup(__props, { emit: __emit }) {
@@ -184,9 +186,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
184
186
  filterable: __props.filterable,
185
187
  placeholder: placeholderStr.value,
186
188
  loading: loading.value,
189
+ "remote-show-suffix": __props.remoteShowSuffix,
187
190
  onVisibleChange: visibleChange,
188
191
  remote: __props.remote,
189
192
  "remote-method": handleFieldSearch,
193
+ "reserve-keyword": __props.reserveKeyword,
190
194
  size: __props.size,
191
195
  class: vue.normalizeClass(vue.unref(ns).e("multiple")),
192
196
  "collapse-tags": "",
@@ -217,11 +221,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
217
221
  ], true)
218
222
  ]),
219
223
  _: 3
220
- }, 8, ["modelValue", "multiple", "filterable", "placeholder", "loading", "remote", "size", "class"])
224
+ }, 8, ["modelValue", "multiple", "filterable", "placeholder", "loading", "remote-show-suffix", "remote", "reserve-keyword", "size", "class"])
221
225
  ], 2);
222
226
  };
223
227
  }
224
228
  });
225
- var PctMultipleMenuCondition = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__scopeId", "data-v-c5c05287"], ["__file", "pct-multiple-menu-condition2.vue"]]);
229
+ var PctMultipleMenuCondition = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__scopeId", "data-v-a6cdfcd8"], ["__file", "pct-multiple-menu-condition2.vue"]]);
226
230
 
227
231
  exports["default"] = PctMultipleMenuCondition;
package/lib/plugins.css CHANGED
@@ -1 +1 @@
1
- .letter-circle[data-v-9ba46efc]{font-size:14px;height:24px;margin-right:8px;width:24px}.letter-circle[data-v-9ba46efc],.letter-circle[data-v-c5c05287]{align-items:center;border-radius:50%;color:#fff;display:flex;justify-content:center}.letter-circle[data-v-c5c05287]{flex-shrink:0;font-size:12px;height:22px;width:22px}
1
+ .letter-circle[data-v-9ba46efc]{font-size:14px;height:24px;margin-right:8px;width:24px}.letter-circle[data-v-9ba46efc],.letter-circle[data-v-a6cdfcd8]{align-items:center;border-radius:50%;color:#fff;display:flex;justify-content:center}.letter-circle[data-v-a6cdfcd8]{flex-shrink:0;font-size:12px;height:22px;width:22px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzy-web-client/plugin-component-vue",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "exports": {
@@ -9,9 +9,11 @@
9
9
  :filterable="filterable"
10
10
  :placeholder="placeholderStr"
11
11
  :loading="loading"
12
+ :remote-show-suffix="remoteShowSuffix"
12
13
  @visible-change="visibleChange"
13
14
  :remote="remote"
14
15
  :remote-method="handleFieldSearch"
16
+ :reserve-keyword="reserveKeyword"
15
17
  :size="size"
16
18
  :class="ns.e('multiple')"
17
19
  collapse-tags
@@ -82,6 +84,8 @@ const props = defineProps({
82
84
  searchAttr: { type: String, default: '' },
83
85
  itfInfo: { type: Object, default: null },
84
86
  isRequiredByVisibleChange: { type: Boolean, default: false },
87
+ remoteShowSuffix: { type: Boolean, default: true },
88
+ reserveKeyword: { type: Boolean, default: false },
85
89
  });
86
90
 
87
91
  const ns = useNamespace('pctfilterpanel-item');