@qynpm/ui 1.0.12 → 1.0.14

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 (50) hide show
  1. package/README.md +3 -2
  2. package/dist/index.cjs +2 -2
  3. package/dist/index.mjs +2 -2
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/qy-autocomplete/index.cjs +1 -1
  7. package/dist/qy-autocomplete/index.mjs +1 -1
  8. package/dist/qy-checkbox/index.cjs +1 -1
  9. package/dist/qy-checkbox/index.mjs +1 -1
  10. package/dist/qy-date-picker/index.cjs +1 -1
  11. package/dist/qy-date-picker/index.mjs +1 -1
  12. package/dist/qy-dialog/index.cjs +1 -1
  13. package/dist/qy-dialog/index.mjs +1 -1
  14. package/dist/qy-form-section/index.cjs +1 -1
  15. package/dist/qy-form-section/index.mjs +1 -1
  16. package/dist/qy-image/index.cjs +1 -1
  17. package/dist/qy-image/index.mjs +1 -1
  18. package/dist/qy-image-preview/index.cjs +1 -1
  19. package/dist/qy-image-preview/index.mjs +1 -1
  20. package/dist/qy-image-upload/index.cjs +1 -1
  21. package/dist/qy-image-upload/index.mjs +1 -1
  22. package/dist/qy-input/index.cjs +1 -1
  23. package/dist/qy-input/index.mjs +1 -1
  24. package/dist/qy-input-number/index.cjs +1 -1
  25. package/dist/qy-input-number/index.mjs +1 -1
  26. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  27. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  28. package/dist/qy-money-input/index.cjs +1 -1
  29. package/dist/qy-money-input/index.mjs +1 -1
  30. package/dist/qy-radio-group/index.cjs +1 -1
  31. package/dist/qy-radio-group/index.mjs +1 -1
  32. package/dist/qy-record-quote-search/index.cjs +1 -1
  33. package/dist/qy-record-quote-search/index.mjs +1 -1
  34. package/dist/qy-remark-image/index.cjs +1 -1
  35. package/dist/qy-remark-image/index.mjs +1 -1
  36. package/dist/qy-remote-select/index.cjs +1 -1
  37. package/dist/qy-remote-select/index.mjs +1 -1
  38. package/dist/qy-search-input/index.cjs +1 -1
  39. package/dist/qy-search-input/index.mjs +1 -1
  40. package/dist/qy-select/index.cjs +1 -1
  41. package/dist/qy-select/index.mjs +1 -1
  42. package/dist/qy-selection-dialog/index.cjs +1 -1
  43. package/dist/qy-selection-dialog/index.mjs +1 -1
  44. package/dist/qy-tree-select/index.cjs +1 -1
  45. package/dist/qy-tree-select/index.mjs +1 -1
  46. package/dist/qy-upload/index.cjs +1 -1
  47. package/dist/qy-upload/index.mjs +1 -1
  48. package/dist/shared/{index-ClPd2qa5.cjs → index-BmPzoVd4.cjs} +1 -1
  49. package/dist/shared/{index-D9hV_AKF.mjs → index-mvzeQjZL.mjs} +18 -13
  50. package/package.json +1 -1
@@ -2638,6 +2638,7 @@ const pa = { class: "qy-remark-image__field" }, ya = { class: "qy-remark-image__
2638
2638
  removeSpace: { type: Boolean, default: !1 },
2639
2639
  trimMode: { default: "none" },
2640
2640
  clearable: { type: Boolean, default: !0 },
2641
+ showButton: { type: Boolean, default: !0 },
2641
2642
  buttonText: { default: "搜索" },
2642
2643
  buttonProps: { default: () => ({}) },
2643
2644
  suggestions: { default: () => [] },
@@ -2841,18 +2842,6 @@ const pa = { class: "qy-remark-image__field" }, ya = { class: "qy-remark-image__
2841
2842
  onSelect: H,
2842
2843
  onKeydown: Ue(y, ["enter"])
2843
2844
  }), Re({
2844
- append: S(() => [
2845
- p.$slots.append ? F(p.$slots, "append", { key: 0 }, void 0, !0) : (V(), te(C(ke), ie({ key: 1 }, t.buttonProps, {
2846
- loading: t.loading,
2847
- disabled: t.disabled,
2848
- onClick: $
2849
- }), {
2850
- default: S(() => [
2851
- me(fe(t.buttonText), 1)
2852
- ]),
2853
- _: 1
2854
- }, 16, ["loading", "disabled"]))
2855
- ]),
2856
2845
  default: S(({ item: ee }) => [
2857
2846
  F(p.$slots, "item", {
2858
2847
  item: ee,
@@ -2889,11 +2878,27 @@ const pa = { class: "qy-remark-image__field" }, ya = { class: "qy-remark-image__
2889
2878
  F(p.$slots, "prepend", {}, void 0, !0)
2890
2879
  ]),
2891
2880
  key: "2"
2881
+ } : void 0,
2882
+ p.$slots.append || t.showButton ? {
2883
+ name: "append",
2884
+ fn: S(() => [
2885
+ p.$slots.append ? F(p.$slots, "append", { key: 0 }, void 0, !0) : (V(), te(C(ke), ie({ key: 1 }, t.buttonProps, {
2886
+ loading: t.loading,
2887
+ disabled: t.disabled,
2888
+ onClick: $
2889
+ }), {
2890
+ default: S(() => [
2891
+ me(fe(t.buttonText), 1)
2892
+ ]),
2893
+ _: 1
2894
+ }, 16, ["loading", "disabled"]))
2895
+ ]),
2896
+ key: "3"
2892
2897
  } : void 0
2893
2898
  ]), 1040, ["model-value", "disabled", "placeholder", "clearable", "debounce", "trigger-on-focus", "teleported", "fit-input-width", "popper-class", "append-to"])
2894
2899
  ], 2));
2895
2900
  }
2896
- }), $t = /* @__PURE__ */ Be(Ma, [["__scopeId", "data-v-f1f0e1f9"]]), Fa = { class: "qy-record-quote-search" }, Oa = {
2901
+ }), $t = /* @__PURE__ */ Be(Ma, [["__scopeId", "data-v-cd7f5dfc"]]), Fa = { class: "qy-record-quote-search" }, Oa = {
2897
2902
  key: 0,
2898
2903
  class: "qy-record-quote-search__header"
2899
2904
  }, Qa = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qynpm/ui",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "起印公共 UI 组件包。",
5
5
  "author": "qy",
6
6
  "license": "MIT",