@qynpm/ui 1.0.33 → 1.0.35

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 (191) hide show
  1. package/README.md +88 -5
  2. package/dist/index.cjs +7 -4
  3. package/dist/index.mjs +79 -72
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/qy-button/index.cjs +1 -1
  7. package/dist/qy-button/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-checkbox-group/index.cjs +1 -1
  11. package/dist/qy-checkbox-group/index.mjs +1 -1
  12. package/dist/qy-collapse/index.cjs +1 -1
  13. package/dist/qy-collapse/index.mjs +1 -1
  14. package/dist/qy-color-picker/index.cjs +1 -0
  15. package/dist/qy-color-picker/index.mjs +7 -0
  16. package/dist/qy-dialog/index.cjs +1 -1
  17. package/dist/qy-dialog/index.mjs +2 -2
  18. package/dist/qy-drawer/index.cjs +1 -1
  19. package/dist/qy-drawer/index.mjs +1 -1
  20. package/dist/qy-dropdown/index.cjs +1 -1
  21. package/dist/qy-dropdown/index.mjs +1 -1
  22. package/dist/qy-file-picker/index.cjs +1 -1
  23. package/dist/qy-file-picker/index.mjs +1 -1
  24. package/dist/qy-form-section/index.cjs +1 -1
  25. package/dist/qy-form-section/index.mjs +1 -1
  26. package/dist/qy-fullscreen/index.cjs +1 -1
  27. package/dist/qy-fullscreen/index.mjs +1 -1
  28. package/dist/qy-icon/index.cjs +1 -1
  29. package/dist/qy-icon/index.mjs +2 -2
  30. package/dist/qy-icon-picker/index.cjs +1 -1
  31. package/dist/qy-icon-picker/index.mjs +1 -1
  32. package/dist/qy-iframe/index.cjs +1 -0
  33. package/dist/qy-iframe/index.mjs +7 -0
  34. package/dist/qy-image/index.cjs +1 -1
  35. package/dist/qy-image/index.mjs +1 -1
  36. package/dist/qy-image-preview/index.cjs +1 -1
  37. package/dist/qy-image-preview/index.mjs +2 -2
  38. package/dist/qy-image-upload/index.cjs +1 -1
  39. package/dist/qy-image-upload/index.mjs +1 -1
  40. package/dist/qy-input/index.cjs +1 -1
  41. package/dist/qy-input/index.mjs +1 -1
  42. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  43. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  44. package/dist/qy-menu-actions/index.cjs +1 -1
  45. package/dist/qy-menu-actions/index.mjs +1 -1
  46. package/dist/qy-money-input/index.cjs +1 -1
  47. package/dist/qy-money-input/index.mjs +1 -1
  48. package/dist/qy-popconfirm/index.cjs +2 -0
  49. package/dist/qy-popconfirm/index.mjs +8 -0
  50. package/dist/qy-popover/index.cjs +1 -1
  51. package/dist/qy-popover/index.mjs +1 -1
  52. package/dist/qy-radio/index.cjs +1 -1
  53. package/dist/qy-radio/index.mjs +1 -1
  54. package/dist/qy-radio-group/index.cjs +1 -1
  55. package/dist/qy-radio-group/index.mjs +1 -1
  56. package/dist/qy-record-quote-search/index.cjs +1 -1
  57. package/dist/qy-record-quote-search/index.mjs +1 -1
  58. package/dist/qy-remark-image/index.cjs +1 -1
  59. package/dist/qy-remark-image/index.mjs +1 -1
  60. package/dist/qy-remote-select/index.cjs +1 -1
  61. package/dist/qy-remote-select/index.mjs +1 -1
  62. package/dist/qy-result/index.cjs +1 -1
  63. package/dist/qy-result/index.mjs +1 -1
  64. package/dist/qy-scrollbar/index.cjs +1 -1
  65. package/dist/qy-scrollbar/index.mjs +1 -1
  66. package/dist/qy-search-input/index.cjs +1 -1
  67. package/dist/qy-search-input/index.mjs +1 -1
  68. package/dist/qy-select/index.cjs +1 -1
  69. package/dist/qy-select/index.mjs +1 -1
  70. package/dist/qy-selection-dialog/index.cjs +1 -1
  71. package/dist/qy-selection-dialog/index.mjs +1 -1
  72. package/dist/qy-switch/index.cjs +1 -1
  73. package/dist/qy-switch/index.mjs +1 -1
  74. package/dist/qy-table-column-settings/index.cjs +1 -1
  75. package/dist/qy-table-column-settings/index.mjs +1 -1
  76. package/dist/qy-tag/index.cjs +1 -1
  77. package/dist/qy-tag/index.mjs +1 -1
  78. package/dist/qy-tree/index.cjs +1 -1
  79. package/dist/qy-tree/index.mjs +1 -1
  80. package/dist/qy-tree-select/index.cjs +1 -1
  81. package/dist/qy-tree-select/index.mjs +1 -1
  82. package/dist/qy-upload/index.cjs +1 -1
  83. package/dist/qy-upload/index.mjs +1 -1
  84. package/dist/qy-watermark/index.cjs +1 -0
  85. package/dist/qy-watermark/index.mjs +7 -0
  86. package/dist/shared/{index-D-YyFaZ6.cjs → index-3qEac4h8.cjs} +1 -1
  87. package/dist/shared/{index-B0zL9hEY.mjs → index-4SkLDBra.mjs} +1 -1
  88. package/dist/shared/{index-gcsw_rtX.mjs → index-BekN1g_r.mjs} +967 -955
  89. package/dist/shared/{index-B6xIO6kg.cjs → index-Bi9wgcgT.cjs} +1 -1
  90. package/dist/shared/{index-D5DmmUX2.cjs → index-Bli6Gx5d.cjs} +1 -1
  91. package/dist/shared/{index-CaDqecpT.mjs → index-BuUtJrIy.mjs} +9 -9
  92. package/dist/shared/{index-DqsG1Mam.cjs → index-C7lRQtzs.cjs} +1 -1
  93. package/dist/shared/{index-DfR8Z9MN.mjs → index-CdnHMuo3.mjs} +1 -1
  94. package/dist/shared/index-Ce_hvR--.cjs +1 -0
  95. package/dist/shared/{index-BWDaV6FO.cjs → index-CwY_jv_I.cjs} +1 -1
  96. package/dist/shared/{index-xuTVtF4x.mjs → index-DY-CA7Vr.mjs} +1 -1
  97. package/dist/shared/index-DlGwHshu.cjs +1 -0
  98. package/dist/shared/{index-CwzztWPU.cjs → index-DnHfk7NM.cjs} +1 -1
  99. package/dist/shared/index-Dr-Q5krU.mjs +71 -0
  100. package/dist/shared/{index-1LT6Q6XJ.mjs → index-Dwf-JfXM.mjs} +1 -1
  101. package/dist/shared/{index-BmJPEXUM.mjs → index-S8HW36Mc.mjs} +2 -2
  102. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-C91DUwOD.mjs → index.vue_vue_type_script_setup_true_lang-C6-hVGUO.mjs} +1 -1
  103. package/dist/shared/index.vue_vue_type_script_setup_true_lang-COAUEujY.mjs +48 -0
  104. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +1 -0
  105. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cr9PdvyR.cjs +1 -0
  106. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CuXBYNXZ.cjs → index.vue_vue_type_script_setup_true_lang-DOuk75uN.cjs} +1 -1
  107. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DoL8xnpo.mjs → index.vue_vue_type_script_setup_true_lang-IyZesuKm.mjs} +9 -9
  108. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DP-jqqo2.mjs → index.vue_vue_type_script_setup_true_lang-S-rQ0p3E.mjs} +1 -1
  109. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DkDEcB4G.cjs → index.vue_vue_type_script_setup_true_lang-lvZQ_Cu6.cjs} +1 -1
  110. package/dist/shared/{index.vue_vue_type_style_index_0_lang-CL_IFx-Z.cjs → index.vue_vue_type_style_index_0_lang-BcZb1U13.cjs} +1 -1
  111. package/dist/shared/index.vue_vue_type_style_index_0_lang-BoaO6MKl.cjs +1 -0
  112. package/dist/shared/index.vue_vue_type_style_index_0_lang-C4Yk-UdJ.mjs +172 -0
  113. package/dist/shared/{index.vue_vue_type_style_index_0_lang-DXQ9l1XF.mjs → index.vue_vue_type_style_index_0_lang-CIcZet5j.mjs} +3 -3
  114. package/dist/shared/index.vue_vue_type_style_index_0_lang-Ch3QcF8t.cjs +1 -0
  115. package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +1 -0
  116. package/dist/shared/{index.vue_vue_type_style_index_0_lang-BJXS2dVf.mjs → index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs} +19 -17
  117. package/dist/shared/index.vue_vue_type_style_index_0_lang-b0y8p1p1.mjs +215 -0
  118. package/dist/shared/utils-BjEXwY3L.cjs +1 -0
  119. package/dist/shared/utils-DoyI5oM8.mjs +148 -0
  120. package/index.d.ts +60 -21
  121. package/package.json +25 -1
  122. package/qy-alert/index.d.ts +64 -64
  123. package/qy-autocomplete/index.d.ts +5 -5
  124. package/qy-avatar/index.d.ts +67 -67
  125. package/qy-badge/index.d.ts +63 -63
  126. package/qy-card/index.d.ts +64 -64
  127. package/qy-cascader/index.d.ts +198 -198
  128. package/qy-collapse/index.d.ts +59 -59
  129. package/qy-collapse-item/index.d.ts +45 -45
  130. package/qy-color-picker/index.d.ts +36 -0
  131. package/qy-descriptions/index.d.ts +47 -47
  132. package/qy-descriptions-item/index.d.ts +46 -46
  133. package/qy-dialog/index.d.ts +63 -63
  134. package/qy-divider/index.d.ts +53 -53
  135. package/qy-drawer/index.d.ts +55 -55
  136. package/qy-empty/index.d.ts +51 -51
  137. package/qy-iframe/index.d.ts +66 -0
  138. package/qy-image/index.d.ts +28 -28
  139. package/qy-image-preview/index.d.ts +21 -20
  140. package/qy-link/index.d.ts +69 -69
  141. package/qy-loading/index.d.ts +25 -25
  142. package/qy-menu-actions/index.d.ts +29 -29
  143. package/qy-popconfirm/index.d.ts +55 -0
  144. package/qy-progress/index.d.ts +74 -74
  145. package/qy-result/index.d.ts +64 -64
  146. package/qy-scrollbar/index.d.ts +85 -85
  147. package/qy-skeleton/index.d.ts +54 -54
  148. package/qy-skeleton-item/index.d.ts +48 -48
  149. package/qy-step/index.d.ts +55 -55
  150. package/qy-steps/index.d.ts +62 -62
  151. package/qy-tab-pane/index.d.ts +40 -40
  152. package/qy-table-column-settings/index.d.ts +18 -18
  153. package/qy-tabs/index.d.ts +84 -84
  154. package/qy-tree/index.d.ts +132 -132
  155. package/qy-tree-select/index.d.ts +123 -123
  156. package/qy-watermark/index.d.ts +72 -0
  157. package/dist/shared/index-uhxRj2ZT.cjs +0 -1
  158. package/dist/shared/index.vue_vue_type_script_setup_true_lang-5gku7Zwv.cjs +0 -1
  159. package/dist/shared/index.vue_vue_type_style_index_0_lang-M0qKRXd2.cjs +0 -1
  160. package/dist/shared/utils-D2KAQCCB.cjs +0 -1
  161. package/dist/shared/utils-DUntDntI.mjs +0 -112
  162. /package/dist/shared/{index-AirHUQwm.cjs → index-AMu0L6uU.cjs} +0 -0
  163. /package/dist/shared/{index-D6ybNdgn.mjs → index-B1b3BksF.mjs} +0 -0
  164. /package/dist/shared/{index-BpI0jwYK.cjs → index-BPaVDCe6.cjs} +0 -0
  165. /package/dist/shared/{index-CCZttbsg.cjs → index-BdTlpKtr.cjs} +0 -0
  166. /package/dist/shared/{index-Bxz4crCd.cjs → index-BkX9xlbI.cjs} +0 -0
  167. /package/dist/shared/{index-DLLDXfic.cjs → index-Bvot0uXo.cjs} +0 -0
  168. /package/dist/shared/{index-CaNxcPSD.mjs → index-C91mzAI3.mjs} +0 -0
  169. /package/dist/shared/{index-CmRclPWX.mjs → index-C_1KP3l9.mjs} +0 -0
  170. /package/dist/shared/{index-DEZF-Fkt.mjs → index-D5S48q1B.mjs} +0 -0
  171. /package/dist/shared/{index-Co0_4YEV.mjs → index-D8E_xu0N.mjs} +0 -0
  172. /package/dist/shared/{index-Bmw9BNXm.cjs → index-DCzxcvkn.cjs} +0 -0
  173. /package/dist/shared/{index-C31wpivi.mjs → index-DK0hjfWr.mjs} +0 -0
  174. /package/dist/shared/{index-D_rRdrge.mjs → index-DZRFSGxO.mjs} +0 -0
  175. /package/dist/shared/{index-BDdhBEFr.cjs → index-Dc6gLgAz.cjs} +0 -0
  176. /package/dist/shared/{index-C-ZAw_DP.mjs → index-DcohgM8A.mjs} +0 -0
  177. /package/dist/shared/{index-BxvS3vlc.cjs → index-Di4bIOiB.cjs} +0 -0
  178. /package/dist/shared/{index-Bs2OQHXk.mjs → index-JjHutKmT.mjs} +0 -0
  179. /package/dist/shared/{index-seQHtqdh.mjs → index-Od6HC8Un.mjs} +0 -0
  180. /package/dist/shared/{index-rcu9CzSn.cjs → index-nSFTxVz8.cjs} +0 -0
  181. /package/dist/shared/{index-DIs6iPjF.cjs → index-nos4Y-fm.cjs} +0 -0
  182. /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-S6QPMZay.cjs → index.vue_vue_type_script_setup_true_lang-CglCPcj-.cjs} +0 -0
  183. /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-BLF3RNlY.mjs → index.vue_vue_type_script_setup_true_lang-q37rBg6Z.mjs} +0 -0
  184. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DUgOOzEZ.cjs → index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs} +0 -0
  185. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-lmRmXLwB.cjs → index.vue_vue_type_style_index_0_lang-BnPRHCwR.cjs} +0 -0
  186. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DWiolYb3.mjs → index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs} +0 -0
  187. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-B-FeHatv.mjs → index.vue_vue_type_style_index_0_lang-CVdFZeHK.mjs} +0 -0
  188. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DzfGx6ce.mjs → index.vue_vue_type_style_index_0_lang-KHk9wRYT.mjs} +0 -0
  189. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CUqnwExG.mjs → index.vue_vue_type_style_index_0_lang-Tzo8o6M8.mjs} +0 -0
  190. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DOfJV2oz.cjs → index.vue_vue_type_style_index_0_lang-WGzoSatU.cjs} +0 -0
  191. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Cn3P9d4L.cjs → index.vue_vue_type_style_index_0_lang-hbNK_h45.cjs} +0 -0
@@ -0,0 +1,215 @@
1
+ import { defineComponent as ce, useAttrs as ue, ref as l, computed as d, watch as k, onMounted as fe, onBeforeUnmount as de, openBlock as x, createElementBlock as j, mergeProps as me, createVNode as A, unref as N, withCtx as q, createElementVNode as y, normalizeClass as pe, renderSlot as R, createBlock as ve, resolveDynamicComponent as ge, createCommentVNode as ye, createTextVNode as F, toDisplayString as I } from "vue";
2
+ import { CircleCloseFilled as he, InfoFilled as be, WarningFilled as we } from "@element-plus/icons-vue";
3
+ import { ElPopover as Le, ElButton as G } from "element-plus";
4
+ const m = [], Ce = { class: "qy-popconfirm__message" }, Ee = {
5
+ key: 0,
6
+ class: "qy-popconfirm__icon",
7
+ "aria-hidden": "true"
8
+ }, ke = {
9
+ "data-testid": "qy-popconfirm-title",
10
+ class: "qy-popconfirm__title"
11
+ }, qe = { class: "qy-popconfirm__actions" }, Se = /* @__PURE__ */ ce({
12
+ name: "QyPopconfirm",
13
+ inheritAttrs: !1,
14
+ __name: "index",
15
+ props: {
16
+ title: { type: String, required: !0 },
17
+ open: { type: Boolean, default: void 0 },
18
+ disabled: { type: Boolean, default: !1 },
19
+ placement: { type: String, default: "bottom" },
20
+ width: { type: [Number, String], default: 220 },
21
+ confirmText: { type: String, default: "确认" },
22
+ cancelText: { type: String, default: "取消" },
23
+ variant: { type: String, default: "warning" },
24
+ confirmType: { type: String, default: "primary" },
25
+ showIcon: { type: Boolean, default: !0 },
26
+ confirmLoading: { type: Boolean, default: !1 },
27
+ closeOnConfirm: { type: Boolean, default: !0 }
28
+ },
29
+ emits: ["update:open", "open-change", "confirm", "cancel", "close"],
30
+ setup(i, { emit: J }) {
31
+ const t = i, s = J, X = ue(), h = l(null), T = l(null), P = d(() => t.open !== void 0), B = t.open === !0 && !t.disabled, D = l(B), c = l(B), a = l(B), o = l(null), p = l(!1), b = l(null), w = {};
32
+ let u = !1, v, L, C = !1, E = null;
33
+ const W = d(() => t.disabled ? !1 : P.value ? t.open === !0 : D.value), Y = d(() => {
34
+ const e = {};
35
+ for (const [n, g] of Object.entries(X))
36
+ (n === "class" || n === "style" || n === "id" || n === "title" || n === "tabindex" || n === "role" || n.startsWith("data-") || n.startsWith("aria-") || /^onKey(?:down|up|press)/i.test(n)) && (e[n] = g);
37
+ return e;
38
+ }), Z = d(
39
+ () => typeof t.width == "number" ? `${t.width}px` : t.width
40
+ ), _ = d(() => ({
41
+ "--qy-popconfirm-width": Z.value,
42
+ "--qy-popconfirm-mobile-gutter": "24px"
43
+ })), ee = d(() => t.variant === "danger" ? he : t.variant === "info" ? be : we);
44
+ function S() {
45
+ return m[m.length - 1] === w;
46
+ }
47
+ function $() {
48
+ m.includes(w) || m.push(w);
49
+ }
50
+ function z() {
51
+ const e = m.indexOf(w);
52
+ e >= 0 && m.splice(e, 1);
53
+ }
54
+ function M(e) {
55
+ var Q, U;
56
+ const n = document.activeElement;
57
+ if (n instanceof HTMLElement && ((Q = h.value) != null && Q.contains(n))) {
58
+ b.value = n;
59
+ return;
60
+ }
61
+ const g = e == null ? void 0 : e.target;
62
+ g instanceof HTMLElement && ((U = T.value) != null && U.contains(g)) && (b.value = g);
63
+ }
64
+ function ne() {
65
+ const e = b.value;
66
+ b.value = null, e != null && e.isConnected && e.focus();
67
+ }
68
+ function f() {
69
+ if (u) return;
70
+ const e = W.value;
71
+ c.value !== e && (u = !0, v = e, L = e ? void 0 : o.value ?? (t.disabled ? "disabled" : "external"), c.value = e);
72
+ }
73
+ function r(e, n) {
74
+ e && t.disabled || (!e && n && o.value === null && (o.value = n), P.value ? t.open !== e && s("update:open", e) : D.value !== e && (D.value = e, s("update:open", e)), f());
75
+ }
76
+ function te() {
77
+ var e;
78
+ return o.value ? o.value : E instanceof Node && ((e = h.value) != null && e.contains(E)) ? "trigger" : "outside";
79
+ }
80
+ function ie(e) {
81
+ if (e) {
82
+ M(), r(!0);
83
+ return;
84
+ }
85
+ if (t.confirmLoading) return;
86
+ const n = te();
87
+ !S() && n !== "external" && n !== "disabled" || r(!1, n);
88
+ }
89
+ function oe(e) {
90
+ var n;
91
+ !(e.target instanceof Node) || !((n = T.value) != null && n.contains(e.target)) || t.confirmLoading || (a.value || c.value ? (o.value = "trigger", r(!1, "trigger")) : (M(e), r(!0)));
92
+ }
93
+ function ae() {
94
+ t.disabled || t.confirmLoading || p.value || (p.value = !0, s("confirm"), t.closeOnConfirm && r(!1, "confirm"));
95
+ }
96
+ function re() {
97
+ t.disabled || t.confirmLoading || (s("cancel"), r(!1, "cancel"));
98
+ }
99
+ function V(e) {
100
+ e.key !== "Escape" && e.code !== "Escape" || t.confirmLoading || !a.value || !S() || (e.preventDefault(), r(!1, "escape"));
101
+ }
102
+ function O(e) {
103
+ E = e.target;
104
+ }
105
+ function H(e) {
106
+ E = e.target;
107
+ }
108
+ function K(e) {
109
+ var n;
110
+ t.confirmLoading || !a.value || !S() || e.target instanceof Node && ((n = h.value) != null && n.contains(e.target) || e.target instanceof Element && e.target.closest(".qy-popconfirm-popper") || r(!1, "outside"));
111
+ }
112
+ function le() {
113
+ !u || v !== !0 || (u = !1, v = void 0, a.value = !0, $(), o.value = null, L = void 0, s("open-change", !0), f());
114
+ }
115
+ function se() {
116
+ !u || v !== !1 || (u = !1, v = void 0, a.value = !1, z(), s("open-change", !1), s("close", L ?? o.value ?? "external"), o.value = null, L = void 0, p.value = !1, C = !1, ne(), f());
117
+ }
118
+ return k(W, () => f()), k(
119
+ () => t.open,
120
+ (e, n) => {
121
+ e !== n && (e === !1 && (a.value || c.value) && o.value === null && (o.value = "external"), f());
122
+ }
123
+ ), k(
124
+ () => t.disabled,
125
+ (e) => {
126
+ e && (a.value || c.value) && (o.value = "disabled"), f();
127
+ }
128
+ ), k(
129
+ () => t.confirmLoading,
130
+ (e) => {
131
+ e ? C = !0 : C && (C = !1, a.value && (p.value = !1));
132
+ }
133
+ ), fe(() => {
134
+ a.value && $(), window.addEventListener("keydown", V), document.addEventListener("pointerdown", O, !0), document.addEventListener("mousedown", H, !0), document.addEventListener("click", K);
135
+ }), de(() => {
136
+ z(), window.removeEventListener("keydown", V), document.removeEventListener("pointerdown", O, !0), document.removeEventListener("mousedown", H, !0), document.removeEventListener("click", K);
137
+ }), (e, n) => (x(), j("span", me({
138
+ ref_key: "rootRef",
139
+ ref: h,
140
+ class: "qy-popconfirm"
141
+ }, Y.value, { onClickCapture: oe }), [
142
+ A(N(Le), {
143
+ visible: c.value,
144
+ trigger: "click",
145
+ placement: i.placement,
146
+ width: i.width,
147
+ disabled: i.disabled,
148
+ "popper-style": _.value,
149
+ "popper-class": "qy-popconfirm-popper",
150
+ "onUpdate:visible": ie,
151
+ onAfterEnter: le,
152
+ onAfterLeave: se
153
+ }, {
154
+ reference: q(() => [
155
+ y("span", {
156
+ ref_key: "referenceRef",
157
+ ref: T,
158
+ "data-qy-popconfirm-reference": ""
159
+ }, [
160
+ R(e.$slots, "reference")
161
+ ], 512)
162
+ ]),
163
+ default: q(() => [
164
+ y("div", {
165
+ class: pe(["qy-popconfirm__content", `is-${i.variant}`]),
166
+ "data-qy-popconfirm-content": ""
167
+ }, [
168
+ y("div", Ce, [
169
+ i.showIcon ? (x(), j("span", Ee, [
170
+ R(e.$slots, "icon", {}, () => [
171
+ (x(), ve(ge(ee.value)))
172
+ ])
173
+ ])) : ye("", !0),
174
+ y("span", ke, [
175
+ R(e.$slots, "title", {}, () => [
176
+ F(I(i.title), 1)
177
+ ])
178
+ ])
179
+ ]),
180
+ y("div", qe, [
181
+ A(N(G), {
182
+ "data-testid": "qy-popconfirm-cancel",
183
+ size: "small",
184
+ disabled: i.disabled || i.confirmLoading,
185
+ onClick: re
186
+ }, {
187
+ default: q(() => [
188
+ F(I(i.cancelText), 1)
189
+ ]),
190
+ _: 1
191
+ }, 8, ["disabled"]),
192
+ A(N(G), {
193
+ "data-testid": "qy-popconfirm-confirm",
194
+ size: "small",
195
+ type: i.confirmType,
196
+ loading: i.confirmLoading,
197
+ disabled: i.disabled || i.confirmLoading || p.value,
198
+ onClick: ae
199
+ }, {
200
+ default: q(() => [
201
+ F(I(i.confirmText), 1)
202
+ ]),
203
+ _: 1
204
+ }, 8, ["type", "loading", "disabled"])
205
+ ])
206
+ ], 2)
207
+ ]),
208
+ _: 3
209
+ }, 8, ["visible", "placement", "width", "disabled", "popper-style"])
210
+ ], 16));
211
+ }
212
+ });
213
+ export {
214
+ Se as _
215
+ };
@@ -0,0 +1 @@
1
+ "use strict";const g=require("vue"),v=require("element-plus"),m=Symbol.for("qynpm.image-preview.runtime");function c(){const e=globalThis;return e[m]||(e[m]={snapshot:null,activeToken:null,activeClose:null,transitionDepth:0}),e[m]}const I={w:200,h:200,q:50};function l(e){const t=String(e||"").trim();return t?t.includes("ys.diansan.com")?t.replace(/^http:\/\//,"https://").replace("ys.diansan.com","admin.qiyinbz.com"):t:""}function b(e,t=!0){const r=String(e||"").trim();if(!r)return"";const n=l(r);if(!t)return n;const o=y(t);return r.includes("ys.diansan.com")?`${n}?small=true&style=image/resize,h_${o.h},w_${o.w}`:`${n}?w=${o.w}`}async function _(e,t={}){const r=l(e);if(!r)throw new Error("图片地址不能为空");const n=t.compressor??!0;if(!n)return{src:r,source:"original"};const o=b(e,n),a=t.loadBlob??P,i=t.compressBlob??T;try{return await a(o),{src:o,source:"thumbnail"}}catch{const u=await a(r);return{src:await i(u,y(n)),source:"fallback"}}}function w(e={}){if(typeof document>"u")return{close(){}};const t=S(e.urlList,e.url);if(!t.length)return{close(){}};const r=globalThis.__QY_IMAGE_PREVIEW_CREATE_APP__??g.createApp,n=document.createElement("div"),o=document.body.style.overflow;let a=!1,i;const u={urlList:[...t],initialIndex:e.initialIndex??0,hideOnClickModal:e.hideOnClickModal??!0},s=c(),h={};s.snapshot=u,s.activeToken=h;const d=()=>{var f;a||(a=!0,s.activeToken===h&&(s.activeToken=null,s.activeClose=null,s.transitionDepth===0&&(s.snapshot=null)),document.body.style.overflow=o,(f=i==null?void 0:i.unmount)==null||f.call(i),n.parentNode&&n.parentNode.removeChild(n))};return document.body.appendChild(n),document.body.style.overflow="hidden",i=r({setup(){return()=>g.h(v.ElImageViewer,{urlList:t,initialIndex:e.initialIndex??0,hideOnClickModal:e.hideOnClickModal??!0,teleported:!0,onClose:d})}}),i.mount(n),s.activeClose=d,{close:d}}function R(){const e=c().snapshot;return e?{...e,urlList:[...e.urlList]}:null}function p(e){const t=c();if(!(!e||t.activeToken))return w(e)}const E={getSnapshot:R,restore:p,beginRendererTransition(){c().transitionDepth+=1},endRendererTransition(){const e=c();if(e.transitionDepth=Math.max(0,e.transitionDepth-1),e.transitionDepth===0&&e.snapshot){const t={...e.snapshot,urlList:[...e.snapshot.urlList]};e.activeClose&&(e.transitionDepth=1,e.activeClose(),e.transitionDepth=0),p(t)}}};globalThis.__QY_IMAGE_PREVIEW_INTERNAL__=E;function y(e){return{...I,...typeof e=="object"?e:{}}}function S(e,t){return(Array.isArray(e)?e:[t]).map(n=>l(n)).filter(Boolean)}async function P(e){const t=await fetch(e,{redirect:"follow"});if(!t.ok)throw new Error(e);return t.blob()}async function T(e,t){if(typeof document>"u"||typeof Image>"u")return D(e);const r=URL.createObjectURL(e);try{const n=await C(r),o=document.createElement("canvas"),a=L(n,t);return o.width=Math.max(1,Math.round(n.naturalWidth*a)),o.height=Math.max(1,Math.round(n.naturalHeight*a)),o.getContext("2d").drawImage(n,0,0,o.width,o.height),o.toDataURL(e.type||"image/jpeg",t.q/100)}finally{URL.revokeObjectURL(r)}}function C(e){return new Promise((t,r)=>{const n=new Image;n.onload=()=>t(n),n.onerror=r,n.src=e})}function L(e,t){const r=t.w?t.w/e.naturalWidth:1,n=t.h?t.h/e.naturalHeight:1;return Math.min(1,r,n)}function D(e){return new Promise((t,r)=>{const n=new FileReader;n.onloadend=()=>t(n.result),n.onerror=r,n.readAsDataURL(e)})}exports.normalizeImageSrc=l;exports.openQyImagePreview=w;exports.resolveQyImageDisplaySrc=_;
@@ -0,0 +1,148 @@
1
+ import { h as g, createApp as y } from "vue";
2
+ import { ElImageViewer as v } from "element-plus";
3
+ const d = Symbol.for("qynpm.image-preview.runtime");
4
+ function c() {
5
+ const e = globalThis;
6
+ return e[d] || (e[d] = {
7
+ snapshot: null,
8
+ activeToken: null,
9
+ activeClose: null,
10
+ transitionDepth: 0
11
+ }), e[d];
12
+ }
13
+ const b = {
14
+ w: 200,
15
+ h: 200,
16
+ q: 50
17
+ };
18
+ function m(e) {
19
+ const t = String(e || "").trim();
20
+ return t ? t.includes("ys.diansan.com") ? t.replace(/^http:\/\//, "https://").replace("ys.diansan.com", "admin.qiyinbz.com") : t : "";
21
+ }
22
+ function I(e, t = !0) {
23
+ const r = String(e || "").trim();
24
+ if (!r) return "";
25
+ const n = m(r);
26
+ if (!t) return n;
27
+ const o = w(t);
28
+ return r.includes("ys.diansan.com") ? `${n}?small=true&style=image/resize,h_${o.h},w_${o.w}` : `${n}?w=${o.w}`;
29
+ }
30
+ async function x(e, t = {}) {
31
+ const r = m(e);
32
+ if (!r) throw new Error("图片地址不能为空");
33
+ const n = t.compressor ?? !0;
34
+ if (!n)
35
+ return {
36
+ src: r,
37
+ source: "original"
38
+ };
39
+ const o = I(e, n), a = t.loadBlob ?? C, i = t.compressBlob ?? S;
40
+ try {
41
+ return await a(o), {
42
+ src: o,
43
+ source: "thumbnail"
44
+ };
45
+ } catch {
46
+ const l = await a(r);
47
+ return {
48
+ src: await i(l, w(n)),
49
+ source: "fallback"
50
+ };
51
+ }
52
+ }
53
+ function _(e = {}) {
54
+ if (typeof document > "u") return { close() {
55
+ } };
56
+ const t = T(e.urlList, e.url);
57
+ if (!t.length) return { close() {
58
+ } };
59
+ const r = globalThis.__QY_IMAGE_PREVIEW_CREATE_APP__ ?? y, n = document.createElement("div"), o = document.body.style.overflow;
60
+ let a = !1, i;
61
+ const l = { urlList: [...t], initialIndex: e.initialIndex ?? 0, hideOnClickModal: e.hideOnClickModal ?? !0 }, s = c(), h = {};
62
+ s.snapshot = l, s.activeToken = h;
63
+ const u = () => {
64
+ var f;
65
+ a || (a = !0, s.activeToken === h && (s.activeToken = null, s.activeClose = null, s.transitionDepth === 0 && (s.snapshot = null)), document.body.style.overflow = o, (f = i == null ? void 0 : i.unmount) == null || f.call(i), n.parentNode && n.parentNode.removeChild(n));
66
+ };
67
+ return document.body.appendChild(n), document.body.style.overflow = "hidden", i = r({
68
+ setup() {
69
+ return () => g(v, {
70
+ urlList: t,
71
+ initialIndex: e.initialIndex ?? 0,
72
+ hideOnClickModal: e.hideOnClickModal ?? !0,
73
+ teleported: !0,
74
+ onClose: u
75
+ });
76
+ }
77
+ }), i.mount(n), s.activeClose = u, { close: u };
78
+ }
79
+ function R() {
80
+ const e = c().snapshot;
81
+ return e ? { ...e, urlList: [...e.urlList] } : null;
82
+ }
83
+ function p(e) {
84
+ const t = c();
85
+ if (!(!e || t.activeToken))
86
+ return _(e);
87
+ }
88
+ const E = {
89
+ getSnapshot: R,
90
+ restore: p,
91
+ beginRendererTransition() {
92
+ c().transitionDepth += 1;
93
+ },
94
+ endRendererTransition() {
95
+ const e = c();
96
+ if (e.transitionDepth = Math.max(0, e.transitionDepth - 1), e.transitionDepth === 0 && e.snapshot) {
97
+ const t = { ...e.snapshot, urlList: [...e.snapshot.urlList] };
98
+ e.activeClose && (e.transitionDepth = 1, e.activeClose(), e.transitionDepth = 0), p(t);
99
+ }
100
+ }
101
+ };
102
+ globalThis.__QY_IMAGE_PREVIEW_INTERNAL__ = E;
103
+ function w(e) {
104
+ return {
105
+ ...b,
106
+ ...typeof e == "object" ? e : {}
107
+ };
108
+ }
109
+ function T(e, t) {
110
+ return (Array.isArray(e) ? e : [t]).map((n) => m(n)).filter(Boolean);
111
+ }
112
+ async function C(e) {
113
+ const t = await fetch(e, { redirect: "follow" });
114
+ if (!t.ok) throw new Error(e);
115
+ return t.blob();
116
+ }
117
+ async function S(e, t) {
118
+ if (typeof document > "u" || typeof Image > "u")
119
+ return M(e);
120
+ const r = URL.createObjectURL(e);
121
+ try {
122
+ const n = await L(r), o = document.createElement("canvas"), a = P(n, t);
123
+ return o.width = Math.max(1, Math.round(n.naturalWidth * a)), o.height = Math.max(1, Math.round(n.naturalHeight * a)), o.getContext("2d").drawImage(n, 0, 0, o.width, o.height), o.toDataURL(e.type || "image/jpeg", t.q / 100);
124
+ } finally {
125
+ URL.revokeObjectURL(r);
126
+ }
127
+ }
128
+ function L(e) {
129
+ return new Promise((t, r) => {
130
+ const n = new Image();
131
+ n.onload = () => t(n), n.onerror = r, n.src = e;
132
+ });
133
+ }
134
+ function P(e, t) {
135
+ const r = t.w ? t.w / e.naturalWidth : 1, n = t.h ? t.h / e.naturalHeight : 1;
136
+ return Math.min(1, r, n);
137
+ }
138
+ function M(e) {
139
+ return new Promise((t, r) => {
140
+ const n = new FileReader();
141
+ n.onloadend = () => t(n.result), n.onerror = r, n.readAsDataURL(e);
142
+ });
143
+ }
144
+ export {
145
+ m as n,
146
+ _ as o,
147
+ x as r
148
+ };
package/index.d.ts CHANGED
@@ -12,6 +12,7 @@ import type QyBadgeComponent from './qy-badge'
12
12
  import type QyCascaderComponent from './qy-cascader'
13
13
  import type QyTooltipComponent from './qy-tooltip'
14
14
  import type QyPopoverComponent from './qy-popover'
15
+ import type QyPopconfirmComponent from './qy-popconfirm'
15
16
  import type QySkeletonComponent from './qy-skeleton'
16
17
  import type QySkeletonItemComponent from './qy-skeleton-item'
17
18
  import type QyTabsComponent from './qy-tabs'
@@ -22,6 +23,7 @@ import type QyFullscreenComponent from './qy-fullscreen'
22
23
  import type QyDrawerComponent from './qy-drawer'
23
24
  import type QyIconComponent from './qy-icon'
24
25
  import type QyIconPickerComponent from './qy-icon-picker'
26
+ import type QyColorPickerComponent from './qy-color-picker'
25
27
  import type QyRowComponent from './qy-row'
26
28
  import type QyColComponent from './qy-col'
27
29
  import type QyContainerComponent from './qy-container'
@@ -29,14 +31,16 @@ import type QyAsideComponent from './qy-aside'
29
31
  import type QyMainComponent from './qy-main'
30
32
  import type QyDescriptionsComponent from './qy-descriptions'
31
33
  import type QyDescriptionsItemComponent from './qy-descriptions-item'
32
- import type QyCollapseComponent from './qy-collapse'
33
- import type QyCollapseItemComponent from './qy-collapse-item'
34
- import type QyLinkComponent from './qy-link'
35
- import type QyDividerComponent from './qy-divider'
34
+ import type QyCollapseComponent from './qy-collapse'
35
+ import type QyCollapseItemComponent from './qy-collapse-item'
36
+ import type QyLinkComponent from './qy-link'
37
+ import type QyIframeComponent from './qy-iframe'
38
+ import type QyDividerComponent from './qy-divider'
36
39
  import type QyEmptyComponent from './qy-empty'
37
40
  import type QyAlertComponent from './qy-alert'
38
41
  import type QyCardComponent from './qy-card'
39
42
  import type QyResultComponent from './qy-result'
43
+ import type QyWatermarkComponent from './qy-watermark'
40
44
  import type QyDialogComponent from './qy-dialog'
41
45
  import type QyScrollbarComponent from './qy-scrollbar'
42
46
  import type QyProgressComponent from './qy-progress'
@@ -177,6 +181,13 @@ export type {
177
181
  QyPopoverProps,
178
182
  QyPopoverTrigger
179
183
  } from './qy-popover'
184
+ export type {
185
+ QyPopconfirmCloseReason,
186
+ QyPopconfirmConfirmType,
187
+ QyPopconfirmEmits,
188
+ QyPopconfirmProps,
189
+ QyPopconfirmVariant
190
+ } from './qy-popconfirm'
180
191
  export type {
181
192
  QyDialogCloseReason,
182
193
  QyDialogEmits,
@@ -266,6 +277,13 @@ export type {
266
277
  QyIconPickerSize,
267
278
  QyIconPickerSlots
268
279
  } from './qy-icon-picker'
280
+ export type {
281
+ QyColorPickerEmits,
282
+ QyColorPickerFormat,
283
+ QyColorPickerModelValue,
284
+ QyColorPickerProps,
285
+ QyColorPickerSize
286
+ } from './qy-color-picker'
269
287
  export {
270
288
  QY_ICON_REGISTRY_KEY,
271
289
  createQyIconPlugin,
@@ -330,15 +348,22 @@ export type {
330
348
  QyCollapseItemProps,
331
349
  QyCollapseItemSlots
332
350
  } from './qy-collapse-item'
333
- export type {
334
- QyLinkAttrs,
335
- QyLinkEmits,
336
- QyLinkProps,
337
- QyLinkSlots,
338
- QyLinkType,
339
- QyLinkUnderline
340
- } from './qy-link'
341
- export type {
351
+ export type {
352
+ QyLinkAttrs,
353
+ QyLinkEmits,
354
+ QyLinkProps,
355
+ QyLinkSlots,
356
+ QyLinkType,
357
+ QyLinkUnderline
358
+ } from './qy-link'
359
+ export type {
360
+ QyIframeAttrs,
361
+ QyIframeEmits,
362
+ QyIframeLoading,
363
+ QyIframeProps,
364
+ QyIframeReferrerPolicy
365
+ } from './qy-iframe'
366
+ export type {
342
367
  QyDividerAttrs,
343
368
  QyDividerBorderStyle,
344
369
  QyDividerContentPosition,
@@ -372,6 +397,12 @@ export type {
372
397
  QyResultSlots,
373
398
  QyResultStatus
374
399
  } from './qy-result'
400
+ export type {
401
+ QyWatermarkAttrs,
402
+ QyWatermarkFont,
403
+ QyWatermarkProps,
404
+ QyWatermarkSlots
405
+ } from './qy-watermark'
375
406
  export type {
376
407
  QyScrollbarAttrs,
377
408
  QyScrollbarDirection,
@@ -476,6 +507,7 @@ export const QyBadge: typeof QyBadgeComponent
476
507
  export const QyCascader: typeof QyCascaderComponent
477
508
  export const QyTooltip: typeof QyTooltipComponent
478
509
  export const QyPopover: typeof QyPopoverComponent
510
+ export const QyPopconfirm: typeof QyPopconfirmComponent
479
511
  export const QySkeleton: typeof QySkeletonComponent
480
512
  export const QySkeletonItem: typeof QySkeletonItemComponent
481
513
  export const QyTabs: typeof QyTabsComponent
@@ -489,6 +521,7 @@ export const vQyLoading: typeof import('./qy-loading').vQyLoading
489
521
  export const openQyLoading: typeof import('./qy-loading').openQyLoading
490
522
  export const QyIcon: typeof QyIconComponent
491
523
  export const QyIconPicker: typeof QyIconPickerComponent
524
+ export const QyColorPicker: typeof QyColorPickerComponent
492
525
  export const QyRow: typeof QyRowComponent
493
526
  export const QyCol: typeof QyColComponent
494
527
  export const QyContainer: typeof QyContainerComponent
@@ -496,14 +529,16 @@ export const QyAside: typeof QyAsideComponent
496
529
  export const QyMain: typeof QyMainComponent
497
530
  export const QyDescriptions: typeof QyDescriptionsComponent
498
531
  export const QyDescriptionsItem: typeof QyDescriptionsItemComponent
499
- export const QyCollapse: typeof QyCollapseComponent
500
- export const QyCollapseItem: typeof QyCollapseItemComponent
501
- export const QyLink: typeof QyLinkComponent
502
- export const QyDivider: typeof QyDividerComponent
532
+ export const QyCollapse: typeof QyCollapseComponent
533
+ export const QyCollapseItem: typeof QyCollapseItemComponent
534
+ export const QyLink: typeof QyLinkComponent
535
+ export const QyIframe: typeof QyIframeComponent
536
+ export const QyDivider: typeof QyDividerComponent
503
537
  export const QyEmpty: typeof QyEmptyComponent
504
538
  export const QyAlert: typeof QyAlertComponent
505
539
  export const QyCard: typeof QyCardComponent
506
540
  export const QyResult: typeof QyResultComponent
541
+ export const QyWatermark: typeof QyWatermarkComponent
507
542
  export const QyScrollbar: typeof QyScrollbarComponent
508
543
  export const QyProgress: typeof QyProgressComponent
509
544
  export const QyStatistic: typeof QyStatisticComponent
@@ -561,6 +596,7 @@ declare const _default: Plugin & {
561
596
  QyCascader: typeof QyCascader
562
597
  QyTooltip: typeof QyTooltip
563
598
  QyPopover: typeof QyPopover
599
+ QyPopconfirm: typeof QyPopconfirm
564
600
  QySkeleton: typeof QySkeletonComponent
565
601
  QySkeletonItem: typeof QySkeletonItemComponent
566
602
  QyTabs: typeof QyTabsComponent
@@ -574,6 +610,7 @@ declare const _default: Plugin & {
574
610
  openQyLoading: typeof openQyLoading
575
611
  QyIcon: typeof QyIconComponent
576
612
  QyIconPicker: typeof QyIconPickerComponent
613
+ QyColorPicker: typeof QyColorPickerComponent
577
614
  QyRow: typeof QyRowComponent
578
615
  QyCol: typeof QyColComponent
579
616
  QyContainer: typeof QyContainerComponent
@@ -581,14 +618,16 @@ declare const _default: Plugin & {
581
618
  QyMain: typeof QyMainComponent
582
619
  QyDescriptions: typeof QyDescriptionsComponent
583
620
  QyDescriptionsItem: typeof QyDescriptionsItemComponent
584
- QyCollapse: typeof QyCollapseComponent
585
- QyCollapseItem: typeof QyCollapseItemComponent
586
- QyLink: typeof QyLinkComponent
587
- QyDivider: typeof QyDividerComponent
621
+ QyCollapse: typeof QyCollapseComponent
622
+ QyCollapseItem: typeof QyCollapseItemComponent
623
+ QyLink: typeof QyLinkComponent
624
+ QyIframe: typeof QyIframeComponent
625
+ QyDivider: typeof QyDividerComponent
588
626
  QyEmpty: typeof QyEmptyComponent
589
627
  QyAlert: typeof QyAlertComponent
590
628
  QyCard: typeof QyCardComponent
591
629
  QyResult: typeof QyResultComponent
630
+ QyWatermark: typeof QyWatermarkComponent
592
631
  QyScrollbar: typeof QyScrollbarComponent
593
632
  QyProgress: typeof QyProgressComponent
594
633
  QyStatistic: typeof QyStatisticComponent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qynpm/ui",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "起印公共 UI 组件包。",
5
5
  "author": "qy",
6
6
  "license": "MIT",
@@ -108,11 +108,21 @@
108
108
  "import": "./dist/qy-result/index.mjs",
109
109
  "require": "./dist/qy-result/index.cjs"
110
110
  },
111
+ "./qy-watermark": {
112
+ "types": "./qy-watermark/index.d.ts",
113
+ "import": "./dist/qy-watermark/index.mjs",
114
+ "require": "./dist/qy-watermark/index.cjs"
115
+ },
111
116
  "./qy-icon-picker": {
112
117
  "types": "./qy-icon-picker/index.d.ts",
113
118
  "import": "./dist/qy-icon-picker/index.mjs",
114
119
  "require": "./dist/qy-icon-picker/index.cjs"
115
120
  },
121
+ "./qy-color-picker": {
122
+ "types": "./qy-color-picker/index.d.ts",
123
+ "import": "./dist/qy-color-picker/index.mjs",
124
+ "require": "./dist/qy-color-picker/index.cjs"
125
+ },
116
126
  "./qy-row": {
117
127
  "types": "./qy-row/index.d.ts",
118
128
  "import": "./dist/qy-row/index.mjs",
@@ -163,6 +173,11 @@
163
173
  "import": "./dist/qy-link/index.mjs",
164
174
  "require": "./dist/qy-link/index.cjs"
165
175
  },
176
+ "./qy-iframe": {
177
+ "types": "./qy-iframe/index.d.ts",
178
+ "import": "./dist/qy-iframe/index.mjs",
179
+ "require": "./dist/qy-iframe/index.cjs"
180
+ },
166
181
  "./qy-divider": {
167
182
  "types": "./qy-divider/index.d.ts",
168
183
  "import": "./dist/qy-divider/index.mjs",
@@ -208,6 +223,11 @@
208
223
  "import": "./dist/qy-popover/index.mjs",
209
224
  "require": "./dist/qy-popover/index.cjs"
210
225
  },
226
+ "./qy-popconfirm": {
227
+ "types": "./qy-popconfirm/index.d.ts",
228
+ "import": "./dist/qy-popconfirm/index.mjs",
229
+ "require": "./dist/qy-popconfirm/index.cjs"
230
+ },
211
231
  "./qy-image": {
212
232
  "types": "./qy-image/index.d.ts",
213
233
  "import": "./dist/qy-image/index.mjs",
@@ -367,7 +387,9 @@
367
387
  "qy-loading/index.d.ts",
368
388
  "qy-drawer/index.d.ts",
369
389
  "qy-result/index.d.ts",
390
+ "qy-watermark/index.d.ts",
370
391
  "qy-icon-picker/index.d.ts",
392
+ "qy-color-picker/index.d.ts",
371
393
  "qy-row/index.d.ts",
372
394
  "qy-col/index.d.ts",
373
395
  "qy-container/index.d.ts",
@@ -378,6 +400,7 @@
378
400
  "qy-collapse/index.d.ts",
379
401
  "qy-collapse-item/index.d.ts",
380
402
  "qy-link/index.d.ts",
403
+ "qy-iframe/index.d.ts",
381
404
  "qy-divider/index.d.ts",
382
405
  "qy-empty/index.d.ts",
383
406
  "qy-alert/index.d.ts",
@@ -387,6 +410,7 @@
387
410
  "qy-statistic/index.d.ts",
388
411
  "qy-avatar/index.d.ts",
389
412
  "qy-popover/index.d.ts",
413
+ "qy-popconfirm/index.d.ts",
390
414
  "qy-image/index.d.ts",
391
415
  "qy-image-preview/index.d.ts",
392
416
  "qy-image-upload/index.d.ts",