@aplus-frontend/ui 0.6.0-beta.11 → 0.6.0-beta.13

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 (204) hide show
  1. package/es/index.mjs +79 -77
  2. package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
  3. package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
  4. package/es/src/ap-form/dependency/index.vue.mjs +29 -24
  5. package/es/src/ap-form/interface.d.ts +3 -3
  6. package/es/src/ap-form/item/index.vue.mjs +39 -35
  7. package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
  8. package/es/src/ap-grid/index.vue.mjs +2 -2
  9. package/es/src/ap-table/ap-table.vue2.mjs +17 -17
  10. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +41 -44
  11. package/es/src/ap-table/constants.d.ts +18 -18
  12. package/es/src/ap-table/utils.d.ts +18 -18
  13. package/es/src/business/ap-copy/ApCopy.d.ts +52 -0
  14. package/es/src/business/ap-copy/ApCopy.mjs +79 -0
  15. package/es/src/business/ap-copy/constans.d.ts +24 -0
  16. package/es/src/business/ap-copy/constans.mjs +25 -0
  17. package/es/src/business/ap-copy/index.d.ts +102 -0
  18. package/es/src/business/ap-copy/index.mjs +7 -0
  19. package/es/src/business/ap-copy/interface.d.ts +8 -0
  20. package/es/src/business/ap-copy/interface.mjs +1 -0
  21. package/es/src/business/ap-copy/style/css.d.ts +0 -0
  22. package/es/src/business/ap-copy/style/css.js +1 -0
  23. package/es/src/business/ap-copy/style/index.d.ts +0 -0
  24. package/es/src/business/ap-copy/style/index.js +1 -0
  25. package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  26. package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -53
  27. package/es/src/business/ap-product-info/constans.d.ts +4 -0
  28. package/es/src/business/ap-product-info/constans.mjs +4 -0
  29. package/es/src/business/ap-product-info/index.d.ts +15 -0
  30. package/es/src/business/ap-product-info/interface.d.ts +1 -0
  31. package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  32. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +23 -23
  33. package/es/src/business/ap-radio-group/index.d.ts +5 -0
  34. package/es/src/business/hooks/usePageListApGrid.d.ts +0 -2
  35. package/es/src/business/hooks/usePageListApGrid.mjs +48 -65
  36. package/es/src/business/index.d.ts +1 -0
  37. package/es/src/business/index.mjs +20 -18
  38. package/es/src/components.d.ts +1 -0
  39. package/es/src/index.mjs +58 -56
  40. package/es/src/locale/lang/en.mjs +4 -0
  41. package/es/src/locale/lang/zh-cn.mjs +4 -0
  42. package/es/src/path-map.mjs +1 -0
  43. package/es/src/version.d.ts +1 -1
  44. package/es/src/version.mjs +1 -1
  45. package/es/test/setup.d.ts +5 -0
  46. package/lib/index.js +1 -1
  47. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
  48. package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
  49. package/lib/src/ap-form/dependency/index.vue.js +1 -1
  50. package/lib/src/ap-form/interface.d.ts +3 -3
  51. package/lib/src/ap-form/item/index.vue.js +1 -1
  52. package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
  53. package/lib/src/ap-grid/index.vue.js +1 -1
  54. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  55. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  56. package/lib/src/ap-table/constants.d.ts +18 -18
  57. package/lib/src/ap-table/utils.d.ts +18 -18
  58. package/lib/src/business/ap-copy/ApCopy.d.ts +52 -0
  59. package/lib/src/business/ap-copy/ApCopy.js +1 -0
  60. package/lib/src/business/ap-copy/constans.d.ts +24 -0
  61. package/lib/src/business/ap-copy/constans.js +1 -0
  62. package/lib/src/business/ap-copy/index.d.ts +102 -0
  63. package/lib/src/business/ap-copy/index.js +1 -0
  64. package/lib/src/business/ap-copy/interface.d.ts +8 -0
  65. package/lib/src/business/ap-copy/interface.js +1 -0
  66. package/lib/src/business/ap-copy/style/css.cjs +1 -0
  67. package/lib/src/business/ap-copy/style/css.d.ts +0 -0
  68. package/lib/src/business/ap-copy/style/index.cjs +1 -0
  69. package/lib/src/business/ap-copy/style/index.d.ts +0 -0
  70. package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  71. package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
  72. package/lib/src/business/ap-product-info/constans.d.ts +4 -0
  73. package/lib/src/business/ap-product-info/constans.js +1 -1
  74. package/lib/src/business/ap-product-info/index.d.ts +15 -0
  75. package/lib/src/business/ap-product-info/interface.d.ts +1 -0
  76. package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  77. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  78. package/lib/src/business/ap-radio-group/index.d.ts +5 -0
  79. package/lib/src/business/hooks/usePageListApGrid.d.ts +0 -2
  80. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  81. package/lib/src/business/index.d.ts +1 -0
  82. package/lib/src/business/index.js +1 -1
  83. package/lib/src/components.d.ts +1 -0
  84. package/lib/src/index.js +1 -1
  85. package/lib/src/locale/lang/en.js +1 -1
  86. package/lib/src/locale/lang/zh-cn.js +1 -1
  87. package/lib/src/path-map.js +1 -1
  88. package/lib/src/version.d.ts +1 -1
  89. package/lib/src/version.js +1 -1
  90. package/lib/test/setup.d.ts +5 -0
  91. package/package.json +5 -8
  92. package/theme/antd-global-overwrite/admin/index.css +11 -9
  93. package/theme/antd-global-overwrite/admin/modal.css +9 -6
  94. package/theme/antd-global-overwrite/admin/modal.less +8 -6
  95. package/theme/antd-global-overwrite/admin/table.css +2 -3
  96. package/theme/antd-global-overwrite/admin/table.less +2 -3
  97. package/theme/antd-global-overwrite/aplus/index.css +11 -8
  98. package/theme/antd-global-overwrite/aplus/modal.css +9 -6
  99. package/theme/antd-global-overwrite/aplus/modal.less +8 -6
  100. package/theme/antd-global-overwrite/aplus/table.css +2 -2
  101. package/theme/antd-global-overwrite/aplus/table.less +2 -2
  102. package/theme/ap-action/item-dropdown.css +2 -2
  103. package/theme/ap-action/item.css +19 -8
  104. package/theme/ap-action/item.less +18 -6
  105. package/theme/ap-appendix/ap-appendix.css +8 -8
  106. package/theme/ap-appendix/ap-appendix.less +6 -6
  107. package/theme/ap-attachment/ap-attachment.css +2 -2
  108. package/theme/ap-batch-action/ap-batch-action.css +5 -5
  109. package/theme/ap-batch-action/ap-batch-action.less +3 -3
  110. package/theme/ap-button/ap-button.css +2 -2
  111. package/theme/ap-card/ap-card.css +2 -2
  112. package/theme/ap-copy/ap-copy.css +94 -0
  113. package/theme/ap-copy/ap-copy.less +59 -0
  114. package/theme/ap-descriptions/ap-descriptions.css +6 -6
  115. package/theme/ap-descriptions/ap-descriptions.less +4 -4
  116. package/theme/ap-download/ap-download.css +2 -2
  117. package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
  118. package/theme/ap-field/checkbox.css +2 -2
  119. package/theme/ap-field/index.css +2 -2
  120. package/theme/ap-field/number.css +2 -2
  121. package/theme/ap-field/radio.css +2 -2
  122. package/theme/ap-field/text-area.css +2 -2
  123. package/theme/ap-form/ap-form-item-group.css +2 -2
  124. package/theme/ap-form/ap-form-item.css +6 -6
  125. package/theme/ap-form/ap-form-item.less +4 -4
  126. package/theme/ap-form/drawer-form.css +2 -2
  127. package/theme/ap-form/index.css +13 -13
  128. package/theme/ap-form/item-text-group.css +2 -2
  129. package/theme/ap-form/item-text.css +2 -2
  130. package/theme/ap-form/modal-form.css +2 -2
  131. package/theme/ap-form/search-form-sorter.css +6 -6
  132. package/theme/ap-form/search-form-sorter.less +4 -4
  133. package/theme/ap-form/search-form.css +13 -13
  134. package/theme/ap-form/search-form.less +3 -3
  135. package/theme/ap-grid/editable.css +2 -2
  136. package/theme/ap-grid/index.css +43 -24
  137. package/theme/ap-grid/index.less +14 -3
  138. package/theme/ap-group-search/ap-extension-select.css +2 -2
  139. package/theme/ap-group-search/ap-group-search.css +2 -2
  140. package/theme/ap-group-search/ap-popover-select.css +2 -2
  141. package/theme/ap-image/ap-image.css +2 -2
  142. package/theme/ap-input-radio/ap-input-radio.css +2 -2
  143. package/theme/ap-label/ap-label.css +2 -2
  144. package/theme/ap-ladder/ap-ladder.css +2 -2
  145. package/theme/ap-layout/ap-info-layout.css +2 -2
  146. package/theme/ap-list/index.css +2 -2
  147. package/theme/ap-product-info/ap-product-info.css +22 -32
  148. package/theme/ap-product-info/ap-product-info.less +28 -42
  149. package/theme/ap-radio-group/ap-radio-group.css +8 -7
  150. package/theme/ap-radio-group/ap-radio-group.less +7 -5
  151. package/theme/ap-select-layout/ap-select-layout.css +2 -2
  152. package/theme/ap-size-input/ap-size-input.css +2 -2
  153. package/theme/ap-status/ap-status.css +2 -2
  154. package/theme/ap-summary/index.css +2 -2
  155. package/theme/ap-table/ap-table-index.css +2 -2
  156. package/theme/ap-table/ap-table-paragraph-ellipsis.css +3 -3
  157. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  158. package/theme/ap-table/ap-table.css +59 -37
  159. package/theme/ap-table/ap-table.less +14 -7
  160. package/theme/ap-table/setting/index.css +14 -9
  161. package/theme/ap-table/setting/modal.css +7 -3
  162. package/theme/ap-table/setting/modal.less +5 -1
  163. package/theme/ap-table/setting/select-group.css +2 -2
  164. package/theme/ap-table/setting/sortable-item-meta.css +4 -4
  165. package/theme/ap-table/setting/sortable-item-meta.less +2 -2
  166. package/theme/ap-table/setting/sortable-item.css +2 -2
  167. package/theme/ap-table/setting/sorter.css +7 -6
  168. package/theme/ap-table/setting/sorter.less +4 -4
  169. package/theme/ap-table-modal/index.css +59 -37
  170. package/theme/ap-tag/ap-tag-group.css +2 -2
  171. package/theme/ap-tag/ap-tag.css +3 -3
  172. package/theme/ap-tag/ap-tag.less +1 -1
  173. package/theme/ap-title/ap-title.css +2 -2
  174. package/theme/ap-upload/index.css +2 -2
  175. package/theme/ap-upload/multiple-file.css +2 -2
  176. package/theme/ap-upload/picture.css +2 -2
  177. package/theme/ap-upload/single-file.css +2 -2
  178. package/theme/ap-upload/upload.css +2 -2
  179. package/theme/ap-upload-single/index.css +6 -6
  180. package/theme/ap-upload-single/index.less +4 -4
  181. package/theme/ap-view/ap-view.css +9 -9
  182. package/theme/ap-view/ap-view.less +7 -7
  183. package/theme/batch-input-group/index.css +4 -4
  184. package/theme/batch-input-group/popover-input.css +4 -4
  185. package/theme/batch-input-group/popover-input.less +2 -2
  186. package/theme/check-card/index.css +7 -7
  187. package/theme/check-card/index.less +5 -5
  188. package/theme/editable-table/index.css +30 -19
  189. package/theme/full-screen/index.css +2 -2
  190. package/theme/index.css +229 -206
  191. package/theme/index.less +1 -0
  192. package/theme/mask/index.css +2 -2
  193. package/theme/mixins/mixins.css +2 -2
  194. package/theme/mixins/mixins.less +2 -2
  195. package/theme/scroll-bar/index.css +2 -2
  196. package/theme/scroll-view/index.css +2 -2
  197. package/theme/splitter/index.css +5 -5
  198. package/theme/splitter/index.less +1 -1
  199. package/theme/text/group.css +2 -2
  200. package/theme/text/index.css +6 -6
  201. package/theme/text/index.less +4 -4
  202. package/theme/ui-mode.css +44 -90
  203. package/theme/ui-mode.less +90 -90
  204. package/theme/work-order-modal/index.css +2 -2
@@ -847,13 +847,13 @@ export declare const apTableFormItemMap: {
847
847
  field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
848
848
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
849
849
  $slots: Readonly<{
850
- label: any;
851
- help: any;
852
- extra: any;
850
+ label?: any;
851
+ help?: any;
852
+ extra?: any;
853
853
  }> & {
854
- label: any;
855
- help: any;
856
- extra: any;
854
+ label?: any;
855
+ help?: any;
856
+ extra?: any;
857
857
  };
858
858
  });
859
859
  select: {
@@ -2156,13 +2156,13 @@ export declare const apTableFormItemMap: {
2156
2156
  field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
2157
2157
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
2158
2158
  $slots: Readonly<{
2159
- label: any;
2160
- help: any;
2161
- extra: any;
2159
+ label?: any;
2160
+ help?: any;
2161
+ extra?: any;
2162
2162
  }> & {
2163
- label: any;
2164
- help: any;
2165
- extra: any;
2163
+ label?: any;
2164
+ help?: any;
2165
+ extra?: any;
2166
2166
  };
2167
2167
  });
2168
2168
  checkbox: {
@@ -2203,13 +2203,13 @@ export declare const apTableFormItemMap: {
2203
2203
  field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
2204
2204
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
2205
2205
  $slots: Readonly<{
2206
- label: any;
2207
- help: any;
2208
- extra: any;
2206
+ label?: any;
2207
+ help?: any;
2208
+ extra?: any;
2209
2209
  }> & {
2210
- label: any;
2211
- help: any;
2212
- extra: any;
2210
+ label?: any;
2211
+ help?: any;
2212
+ extra?: any;
2213
2213
  };
2214
2214
  });
2215
2215
  password: {
@@ -863,13 +863,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
863
863
  field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
864
864
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
865
865
  $slots: Readonly<{
866
- label: any;
867
- help: any;
868
- extra: any;
866
+ label?: any;
867
+ help?: any;
868
+ extra?: any;
869
869
  }> & {
870
- label: any;
871
- help: any;
872
- extra: any;
870
+ label?: any;
871
+ help?: any;
872
+ extra?: any;
873
873
  };
874
874
  })) | ({
875
875
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemNumberProps> & Readonly<{}>, {
@@ -1681,13 +1681,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
1681
1681
  field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
1682
1682
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1683
1683
  $slots: Readonly<{
1684
- label: any;
1685
- help: any;
1686
- extra: any;
1684
+ label?: any;
1685
+ help?: any;
1686
+ extra?: any;
1687
1687
  }> & {
1688
- label: any;
1689
- help: any;
1690
- extra: any;
1688
+ label?: any;
1689
+ help?: any;
1690
+ extra?: any;
1691
1691
  };
1692
1692
  })) | ({
1693
1693
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemSelectProps> & Readonly<{}>, {
@@ -2467,13 +2467,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
2467
2467
  field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
2468
2468
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
2469
2469
  $slots: Readonly<{
2470
- label: any;
2471
- help: any;
2472
- extra: any;
2470
+ label?: any;
2471
+ help?: any;
2472
+ extra?: any;
2473
2473
  }> & {
2474
- label: any;
2475
- help: any;
2476
- extra: any;
2474
+ label?: any;
2475
+ help?: any;
2476
+ extra?: any;
2477
2477
  };
2478
2478
  })) | ({
2479
2479
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemTreeSelectProps> & Readonly<{}>, {
@@ -0,0 +1,52 @@
1
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
2
+ import { ApCopy } from './interface';
3
+ declare const _default: DefineComponent<ExtractPropTypes<{
4
+ text: {
5
+ type: PropType< ApCopy["text"]>;
6
+ default: string;
7
+ };
8
+ size: {
9
+ type: PropType< ApCopy["size"]>;
10
+ default: number;
11
+ };
12
+ textStyle: {
13
+ type: PropType< ApCopy["textStyle"]>;
14
+ default: string;
15
+ };
16
+ link: {
17
+ type: PropType< ApCopy["link"]>;
18
+ default: string;
19
+ };
20
+ disableCopy: {
21
+ type: PropType< ApCopy["disableCopy"]>;
22
+ default: boolean;
23
+ };
24
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
25
+ text: {
26
+ type: PropType< ApCopy["text"]>;
27
+ default: string;
28
+ };
29
+ size: {
30
+ type: PropType< ApCopy["size"]>;
31
+ default: number;
32
+ };
33
+ textStyle: {
34
+ type: PropType< ApCopy["textStyle"]>;
35
+ default: string;
36
+ };
37
+ link: {
38
+ type: PropType< ApCopy["link"]>;
39
+ default: string;
40
+ };
41
+ disableCopy: {
42
+ type: PropType< ApCopy["disableCopy"]>;
43
+ default: boolean;
44
+ };
45
+ }>> & Readonly<{}>, {
46
+ size: number | undefined;
47
+ link: string | undefined;
48
+ text: string | undefined;
49
+ textStyle: "link" | CSSProperties | "major" | "minor" | undefined;
50
+ disableCopy: boolean | undefined;
51
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),v=require("./constans.js"),T=require("@aplus-frontend/icon");require("../../config-provider/index.js");const y=require("@aplus-frontend/antdv"),f=require("lodash-unified"),b=require("../../config-provider/hooks/use-namespace.js"),h=require("../../config-provider/hooks/use-locale.js"),C=t.defineComponent({name:"CopyBtn",props:v.ApCopyProps(),setup(r,{slots:c}){const{b:p,e:a,m:x}=b.useNamespace("ap-copy"),{t:s}=h.useLocale(),g=()=>{navigator.clipboard.writeText(r.text||u()||"").then(()=>{y.message.success(s("ap.apCopy.copySuccess"))}).catch(()=>{y.message.error(s("ap.apCopy.copyError"))})},m=e=>{if(e.length===1){const n=e[0];if(n.type===t.Text||n.type.toString()==="Symbol(Text)"||t.isVNode(n)&&typeof n.children=="string")return!0}return!1},S=e=>{if(!e.length)return"";const n=e[0];return n.type===t.Text||n.type.toString()==="Symbol(Text)"?String(n.children):t.isVNode(n)&&typeof n.children=="string"?n.children:""},u=()=>{var d;const e=(d=c.default)==null?void 0:d.call(c);return e&&m(e)?S(e):null},l=e=>!(f.isNull(e)||f.isUndefined(e)||typeof e=="string"&&e===""),i=t.computed(()=>{if(typeof r.textStyle=="string")switch(r.textStyle){case"link":return"text-link";case"minor":return"text-minor";case"major":return"text-major";default:return"text-major"}else if(typeof r.textStyle=="object")return{...r.textStyle};return{}}),o=u()||r.text||"";return()=>t.createVNode(t.Fragment,null,[t.createVNode("div",{class:[p()],onClick:r.disableCopy?void 0:g},[t.createVNode("div",{class:[a("text"),typeof i.value=="string"&&x(i.value)],style:typeof i.value!="string"&&i.value,title:typeof i.value=="string"?o:""},[l(o)?r.link?t.createVNode("a",{href:r.link,target:"_blank"},[o]):o:"--"]),l(o)&&!r.disableCopy&&t.createVNode("div",{class:[a("copy-btn"),"copy-btn"]},[t.createVNode(T.IconApAdLineCopy,{size:r.size},null)])])])}});exports.default=C;
@@ -0,0 +1,24 @@
1
+ import { PropType } from 'vue';
2
+ import { ApCopy } from './interface';
3
+ export declare const ApCopyProps: () => {
4
+ text: {
5
+ type: PropType<ApCopy["text"]>;
6
+ default: string;
7
+ };
8
+ size: {
9
+ type: PropType<ApCopy["size"]>;
10
+ default: number;
11
+ };
12
+ textStyle: {
13
+ type: PropType<ApCopy["textStyle"]>;
14
+ default: string;
15
+ };
16
+ link: {
17
+ type: PropType<ApCopy["link"]>;
18
+ default: string;
19
+ };
20
+ disableCopy: {
21
+ type: PropType<ApCopy["disableCopy"]>;
22
+ default: boolean;
23
+ };
24
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>({text:{type:String,default:""},size:{type:Number,default:14},textStyle:{type:[String,Object],default:"major"},link:{type:String,default:""},disableCopy:{type:Boolean,default:!1}});exports.ApCopyProps=e;
@@ -0,0 +1,102 @@
1
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
+ import { ApCopy } from './interface';
3
+ export * from './interface';
4
+ declare const ApCopy: {
5
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
6
+ text: {
7
+ type: PropType< ApCopy["text"]>;
8
+ default: string;
9
+ };
10
+ size: {
11
+ type: PropType< ApCopy["size"]>;
12
+ default: number;
13
+ };
14
+ textStyle: {
15
+ type: PropType< ApCopy["textStyle"]>;
16
+ default: string;
17
+ };
18
+ link: {
19
+ type: PropType< ApCopy["link"]>;
20
+ default: string;
21
+ };
22
+ disableCopy: {
23
+ type: PropType< ApCopy["disableCopy"]>;
24
+ default: boolean;
25
+ };
26
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
27
+ size: number | undefined;
28
+ link: string | undefined;
29
+ text: string | undefined;
30
+ textStyle: "link" | CSSProperties | "major" | "minor" | undefined;
31
+ disableCopy: boolean | undefined;
32
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
33
+ P: {};
34
+ B: {};
35
+ D: {};
36
+ C: {};
37
+ M: {};
38
+ Defaults: {};
39
+ }, Readonly< ExtractPropTypes<{
40
+ text: {
41
+ type: PropType< ApCopy["text"]>;
42
+ default: string;
43
+ };
44
+ size: {
45
+ type: PropType< ApCopy["size"]>;
46
+ default: number;
47
+ };
48
+ textStyle: {
49
+ type: PropType< ApCopy["textStyle"]>;
50
+ default: string;
51
+ };
52
+ link: {
53
+ type: PropType< ApCopy["link"]>;
54
+ default: string;
55
+ };
56
+ disableCopy: {
57
+ type: PropType< ApCopy["disableCopy"]>;
58
+ default: boolean;
59
+ };
60
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
61
+ size: number | undefined;
62
+ link: string | undefined;
63
+ text: string | undefined;
64
+ textStyle: "link" | CSSProperties | "major" | "minor" | undefined;
65
+ disableCopy: boolean | undefined;
66
+ }>;
67
+ __isFragment?: never;
68
+ __isTeleport?: never;
69
+ __isSuspense?: never;
70
+ } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
71
+ text: {
72
+ type: PropType< ApCopy["text"]>;
73
+ default: string;
74
+ };
75
+ size: {
76
+ type: PropType< ApCopy["size"]>;
77
+ default: number;
78
+ };
79
+ textStyle: {
80
+ type: PropType< ApCopy["textStyle"]>;
81
+ default: string;
82
+ };
83
+ link: {
84
+ type: PropType< ApCopy["link"]>;
85
+ default: string;
86
+ };
87
+ disableCopy: {
88
+ type: PropType< ApCopy["disableCopy"]>;
89
+ default: boolean;
90
+ };
91
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
92
+ size: number | undefined;
93
+ link: string | undefined;
94
+ text: string | undefined;
95
+ textStyle: "link" | CSSProperties | "major" | "minor" | undefined;
96
+ disableCopy: boolean | undefined;
97
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
98
+ $props: {
99
+ onClick?: () => void;
100
+ };
101
+ }));
102
+ export { ApCopy };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils"),t=require("./ApCopy.js");require("./interface.js");const o=e.withInstall(t.default);exports.ApCopy=o;
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from 'vue';
2
+ export interface ApCopy {
3
+ text?: string;
4
+ size?: number;
5
+ textStyle?: 'major' | 'minor' | 'link' | CSSProperties;
6
+ link?: string;
7
+ disableCopy?: boolean;
8
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ import '@aplus-frontend/ui/theme/ap-copy/ap-copy.css';
File without changes
@@ -0,0 +1 @@
1
+ import '@aplus-frontend/ui/theme/ap-copy/ap-copy.less';
File without changes
@@ -17,6 +17,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
17
17
  type: PropType< ApProductInfoValue[]>;
18
18
  default: () => never[];
19
19
  };
20
+ disableCopy: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
20
24
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
21
25
  title: {
22
26
  type: StringConstructor;
@@ -34,10 +38,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
34
38
  type: PropType< ApProductInfoValue[]>;
35
39
  default: () => never[];
36
40
  };
41
+ disableCopy: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
37
45
  }>> & Readonly<{}>, {
38
46
  values: ApProductInfoValue[];
39
47
  title: string;
40
48
  preview: boolean;
49
+ disableCopy: boolean;
41
50
  imgSrc: string;
42
51
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
43
52
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("./constans.js");require("../../config-provider/index.js");const s=require("@aplus-frontend/antdv"),v=require("../ap-image/index.js"),f=require("../../config-provider/hooks/use-namespace.js"),N=require("../../config-provider/hooks/use-global-config.js"),V=e.defineComponent({name:"ApProductInfo",props:u.ApProductInfoProps(),setup(o){const{b:d,e:l,m:a}=f.useNamespace("ap-product-info"),c=t=>typeof t=="function"?t():t||"--",n={aplus:"#182948",admin:"#333333"},i=N.useGlobalConfig("uiMode");return()=>e.createVNode("div",{class:[d(),`${a(i.value)}`]},[e.createVNode("div",{class:l("img")},[e.createVNode(v.ApImage,{src:o.imgSrc,width:44,height:44,preview:o.preview},null)]),e.createVNode("div",{class:[l("content")]},[o.title?e.createVNode(s.Tooltip,null,{default:()=>[e.createVNode("div",{class:l("title"),style:{color:n[i.value]||n.aplus}},[o.title])],title:()=>e.createVNode("div",{class:l("title-tip")},[o.title])}):e.createVNode("div",{class:l("title")},[e.createTextVNode("--")]),o.values&&e.createVNode("div",{class:l("row-divider")},[o.values.map((t,r)=>e.createVNode(e.Fragment,null,[e.createVNode("div",{key:r,class:[l("item"),t.col===2&&a("full-width"),r%2===0||t.col==2?a("left"):a("right")]},[t.label&&e.createVNode("div",{class:l("label")},[t.label,e.createVNode("span",null,[e.createTextVNode(":")])]),e.createVNode("div",{class:[l("value"),t.link&&a("link")],title:typeof t.value!="function"?c(t.value):"",onClick:()=>{t.link&&window.open(t.link,"_blank")}},[typeof t.value=="function"?t.value():c(t.value)])]),t.col==1&&r%2==0?e.createVNode("div",{class:l("divider")},[e.createVNode("div",{class:l("divider-vertical")},null)]):null]))])])])}});exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),v=require("./constans.js");require("../../config-provider/index.js");const f=require("../ap-image/index.js"),n=require("../ap-copy/index.js"),p=require("../../config-provider/hooks/use-namespace.js"),N=require("../../config-provider/hooks/use-global-config.js"),V=o.defineComponent({name:"ApProductInfo",props:v.ApProductInfoProps(),setup(a){const{b:s,e:l,m:t}=p.useNamespace("ap-product-info"),u=e=>typeof e.value=="function"?e.value():o.h(n.ApCopy,{text:e.value,textStyle:e.link?"link":"minor",link:e.link,disableCopy:a.disableCopy},e.value),i=N.useGlobalConfig("uiMode");return()=>o.createVNode("div",{class:[s(),`${t(i.value)}`]},[o.createVNode("div",{class:l("img")},[o.createVNode(f.ApImage,{src:a.imgSrc,width:44,height:44,preview:a.preview},null)]),o.createVNode("div",{class:[l("content")]},[o.createVNode(n.ApCopy,{disableCopy:a.disableCopy},{default:()=>[a.title]}),o.createVNode("div",{class:l("row-container")},[a.values.map((e,r)=>{const c=e.col===2,d=e.col!==2&&r%2===0;return o.createVNode("div",{key:r,class:[l("row-item"),t(c?"full":"half")]},[o.createVNode("div",{key:r,class:[l("item")]},[e.label&&o.createVNode("div",{class:l("label")},[e.label,o.createVNode("span",null,[o.createTextVNode(":")])]),o.createVNode("div",{class:[l("value"),!c&&t("overflow")],title:typeof e.value!="function"?String(e.value||""):""},[typeof e.value=="function"?e.value():u(e)])]),d&&o.createVNode("div",{class:l("divider"),style:{right:0}},[o.createVNode("div",{class:l("divider-vertical")},null)])])})])])])}});exports.default=V;
@@ -17,4 +17,8 @@ export declare const ApProductInfoProps: () => {
17
17
  type: PropType<ApProductInfoValue[]>;
18
18
  default: () => never[];
19
19
  };
20
+ disableCopy: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
20
24
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>({title:{type:String,default:""},imgSrc:{type:String,default:""},preview:{type:Boolean,default:!1},values:{type:Array,default:()=>[]}});exports.ApProductInfoProps=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>({title:{type:String,default:""},imgSrc:{type:String,default:""},preview:{type:Boolean,default:!1},values:{type:Array,default:()=>[]},disableCopy:{type:Boolean,default:!1}});exports.ApProductInfoProps=e;
@@ -19,10 +19,15 @@ declare const ApProductInfo: {
19
19
  type: PropType< ApProductInfoValue[]>;
20
20
  default: () => never[];
21
21
  };
22
+ disableCopy: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
22
26
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
23
27
  values: ApProductInfoValue[];
24
28
  title: string;
25
29
  preview: boolean;
30
+ disableCopy: boolean;
26
31
  imgSrc: string;
27
32
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
28
33
  P: {};
@@ -48,10 +53,15 @@ declare const ApProductInfo: {
48
53
  type: PropType< ApProductInfoValue[]>;
49
54
  default: () => never[];
50
55
  };
56
+ disableCopy: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
51
60
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
52
61
  values: ApProductInfoValue[];
53
62
  title: string;
54
63
  preview: boolean;
64
+ disableCopy: boolean;
55
65
  imgSrc: string;
56
66
  }>;
57
67
  __isFragment?: never;
@@ -74,10 +84,15 @@ declare const ApProductInfo: {
74
84
  type: PropType< ApProductInfoValue[]>;
75
85
  default: () => never[];
76
86
  };
87
+ disableCopy: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
77
91
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
78
92
  values: ApProductInfoValue[];
79
93
  title: string;
80
94
  preview: boolean;
95
+ disableCopy: boolean;
81
96
  imgSrc: string;
82
97
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
83
98
  $props: {
@@ -4,6 +4,7 @@ export interface ApProductInfoProps {
4
4
  preview?: boolean;
5
5
  title?: string;
6
6
  values?: ApProductInfoValue[];
7
+ disableCopy?: boolean;
7
8
  }
8
9
  export interface ApProductInfoValue {
9
10
  label?: string;
@@ -6,8 +6,10 @@ type __VLS_Props = {
6
6
  optionStyle?: RadioOptionStyleType;
7
7
  };
8
8
  declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
9
+ change: (value: string | number) => any;
9
10
  "update:value": (value: string | number) => any;
10
11
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onChange?: ((value: string | number) => any) | undefined;
11
13
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
12
14
  }>, {
13
15
  value: string | number;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("@aplus-frontend/antdv");require("../../config-provider/index.js");require("../../hooks/index.js");const v=require("../../config-provider/hooks/use-namespace.js"),k=require("../../hooks/useControllableValue.js"),y=["onClick"],C=e.defineComponent({__name:"ap-radio-group",props:{value:{default:""},options:{default:()=>[]},optionStyle:{default:()=>({height:28,gap:8})}},emits:["update:value"],setup(i,{emit:s}){const c=i,p=t=>e.isVNode(t)?e.h(t):typeof t=="function"?e.h("span",t()):e.h("span",t),d=s,{b:f,e:l}=v.useNamespace("ap-radio-group"),{value:m,updateValue:h}=k.useControllableValue(c,d,{defaultValue:""});return(t,b)=>{var r;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(f)()])},[e.createVNode(e.unref(g.Flex),{gap:(r=t.optionStyle)==null?void 0:r.gap,wrap:"wrap"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options.filter(o=>o.visible!==!1),o=>{var n,a,u;return e.openBlock(),e.createElementBlock("div",{key:o.value,class:e.normalizeClass([e.unref(l)("item"),e.unref(m)===o.value?e.unref(l)("item--active"):""]),style:e.normalizeStyle({height:((n=t.optionStyle)==null?void 0:n.height)+"px",lineHeight:((a=t.optionStyle)==null?void 0:a.height)+"px",color:(u=t.optionStyle)==null?void 0:u.color}),onClick:B=>e.unref(h)(o.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p(o.label))))],14,y)}),128))]),_:1},8,["gap"])],2)}}});exports.default=C;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("@aplus-frontend/antdv");require("../../config-provider/index.js");require("../../hooks/index.js");const v=require("../../config-provider/hooks/use-namespace.js"),k=require("../../hooks/useControllableValue.js"),y=["onClick"],b=e.defineComponent({__name:"ap-radio-group",props:{value:{default:""},options:{default:()=>[]},optionStyle:{default:()=>({height:28,gap:8})}},emits:["update:value","change"],setup(s,{emit:c}){const{b:p,e:o}=v.useNamespace("ap-radio-group"),d=s,n=c,{value:f,updateValue:m}=k.useControllableValue(d,n,{beforeUpdateValue:t=>(n("change",t),!0)}),h=t=>e.isVNode(t)?e.h(t):typeof t=="function"?e.h("span",t()):e.h("span",t);return(t,C)=>{var l;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(p)()])},[e.createVNode(e.unref(g.Flex),{gap:(l=t.optionStyle)==null?void 0:l.gap,wrap:"wrap"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options.filter(r=>r.visible!==!1),r=>{var a,u,i;return e.openBlock(),e.createElementBlock("div",{key:r.value,class:e.normalizeClass([e.unref(o)("item"),e.unref(f)===r.value?e.unref(o)("item--active"):""]),style:e.normalizeStyle({height:((a=t.optionStyle)==null?void 0:a.height)+"px",lineHeight:((u=t.optionStyle)==null?void 0:u.height)+"px",color:(i=t.optionStyle)==null?void 0:i.color}),onClick:B=>e.unref(m)(r.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h(r.label))))],14,y)}),128))]),_:1},8,["gap"])],2)}}});exports.default=b;
@@ -7,8 +7,10 @@ declare const ApRadioGroup: {
7
7
  options: RadioOptionType[];
8
8
  optionStyle?: RadioOptionStyleType;
9
9
  }> & Readonly<{
10
+ onChange?: ((value: string | number) => any) | undefined;
10
11
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
11
12
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
13
+ change: (value: string | number) => any;
12
14
  "update:value": (value: string | number) => any;
13
15
  }, PublicProps, {
14
16
  value: string | number;
@@ -26,6 +28,7 @@ declare const ApRadioGroup: {
26
28
  options: RadioOptionType[];
27
29
  optionStyle?: RadioOptionStyleType;
28
30
  }> & Readonly<{
31
+ onChange?: ((value: string | number) => any) | undefined;
29
32
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
30
33
  }>, {}, {}, {}, {}, {
31
34
  value: string | number;
@@ -40,8 +43,10 @@ declare const ApRadioGroup: {
40
43
  options: RadioOptionType[];
41
44
  optionStyle?: RadioOptionStyleType;
42
45
  }> & Readonly<{
46
+ onChange?: ((value: string | number) => any) | undefined;
43
47
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
44
48
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
49
+ change: (value: string | number) => any;
45
50
  "update:value": (value: string | number) => any;
46
51
  }, string, {
47
52
  value: string | number;
@@ -19,8 +19,6 @@ export interface UsePageListApGrid extends ApGridProps {
19
19
  * 表格刷新相关
20
20
  */
21
21
  tableRefresh?: boolean | Omit<UseTableRefreshOption, 'apTableRef'>;
22
- /** 是否在deactivated的时候清空数据, 需要在setup中使用才会生效 */
23
- clearDataSourceOnDeactivated?: boolean;
24
22
  }
25
23
  /**
26
24
  * 集成了列表页面的ApGrid的默认配置
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../config-provider/index.js");require("../index.js");const i=require("lodash-unified"),a=require("vue"),G=require("../../config-provider/hooks/use-global-config.js"),w=require("./useTableRefresh.js");function F(n){const o=a.ref(null),{isShowRowSelection:f=!0,clearSelectionOnRequest:v=!0,transformSearchFormValues:s,api:u,tableRefresh:S=!0,virtual:h,clearDataSourceOnDeactivated:m=!0,...g}=n||{};let l=null;const p=G.useGlobalConfig("uiMode","aplus"),d=()=>{var e,r;(r=(e=o.value)==null?void 0:e.rowSelection)==null||r.clearAll()};w.useTableRefresh({...V(S),apTableRef:o});const b=async e=>{l=e.sort;const r=s?s(e):e;try{if(!u)throw new Error("api is not defined");const{records:t,total:R}=await u(r);return v&&d(),{data:t,total:R}}catch(t){return console.error(t),{data:[],total:0}}},c=a.ref();m&&a.hasInjectionContext()&&(a.onActivated(()=>{a.nextTick(()=>{c.value=void 0})}),a.onDeactivated(()=>{c.value=[]}));const q=i.merge({scroll:{x:"100%",y:"100%"},columnResizable:!0,request:u?b:void 0,rowSelection:f?{fixed:"left",columnWidth:34}:void 0,ref(e){o.value=e},virtual:i.merge({oSize:20,y:20},h),card:!0,bordered:p.value==="admin"},g),A={reload:()=>{var e;(e=o.value)==null||e.submit()},reset:()=>{var e;(e=o.value)==null||e.reset()},getSearchFormValues:(e=!0)=>{var t;const r=((t=o.value)==null?void 0:t.getSearchFormValues(!!e))||{};return s?s(r):r},getApGridInstance:()=>o.value,getSearchFormValuesAndSorted:(e=!0)=>{var t;const r=((t=o.value)==null?void 0:t.getSearchFormValues(!!e))||{};return r.sort=l&&i.cloneDeep(l),s?s(r):r},clearSelection:d};return[a.computed(()=>({...q,dataSource:a.unref(c)})),A]}function V(n){return n===!0?{}:n===!1?{refreshBefore:()=>!1}:n}exports.usePageListApGrid=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../config-provider/index.js");require("../index.js");const u=require("lodash-unified"),v=require("vue"),b=require("../../config-provider/hooks/use-global-config.js"),q=require("./useTableRefresh.js");function G(a){const o=v.ref(null),{isShowRowSelection:c=!0,clearSelectionOnRequest:d=!0,transformSearchFormValues:s,api:l,tableRefresh:f=!0,virtual:h,...p}=a||{};let n=null;const S=b.useGlobalConfig("uiMode","aplus"),i=()=>{var e,r;(r=(e=o.value)==null?void 0:e.rowSelection)==null||r.clearAll()};q.useTableRefresh({...R(f),apTableRef:o});const g=async e=>{n=e.sort;const r=s?s(e):e;try{if(!l)throw new Error("api is not defined");const{records:t,total:m}=await l(r);return d&&i(),{data:t,total:m}}catch(t){return console.error(t),{data:[],total:0}}};return[u.merge({scroll:{x:"100%",y:"100%"},columnResizable:!0,request:l?g:void 0,rowSelection:c?{fixed:"left",columnWidth:34}:void 0,ref(e){o.value=e},virtual:u.merge({oSize:20,y:20},h),card:!0,bordered:S.value==="admin"},p),{reload:()=>{var e;(e=o.value)==null||e.submit()},reset:()=>{var e;(e=o.value)==null||e.reset()},getSearchFormValues:(e=!0)=>{var t;const r=((t=o.value)==null?void 0:t.getSearchFormValues(!!e))||{};return s?s(r):r},getApGridInstance:()=>o.value,getSearchFormValuesAndSorted:(e=!0)=>{var t;const r=((t=o.value)==null?void 0:t.getSearchFormValues(!!e))||{};return r.sort=n&&u.cloneDeep(n),s?s(r):r},clearSelection:i}]}function R(a){return a===!0?{}:a===!1?{refreshBefore:()=>!1}:a}exports.usePageListApGrid=G;
@@ -21,6 +21,7 @@ export * from './ap-upload-file';
21
21
  export * from './batch-input-group';
22
22
  export * from './ap-size-input';
23
23
  export * from './ap-product-info';
24
+ export * from './ap-copy';
24
25
  export * from './ap-view';
25
26
  export * from './ap-radio-group';
26
27
  export { ApTransformDataHelper } from '../utils/ap-trans-data';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ap-table-modal/index.js"),n=require("./ap-attachment/index.js"),i=require("./ap-batch-action/index.js"),o=require("./ap-batch-action-group/index.js"),A=require("./ap-button-group/index.js"),u=require("./ap-card/index.js"),c=require("./ap-expand-alert/index.js"),a=require("./ap-export-group/index.js"),d=require("./ap-image/index.js"),s=require("./ap-input-radio/index.js"),r=require("./ap-label/index.js"),x=require("./ap-ladder/index.js"),q=require("./ap-select-layout/index.js"),p=require("./ap-status/index.js"),l=require("./ap-title/index.js");require("./hooks/index.js");const $=require("./ap-summary/index.js"),S=require("./ap-appendix/index.js"),e=require("./ap-group-search/index.js");require("./ap-upload-file/index.js");require("./batch-input-group/index.js");const G=require("./ap-size-input/index.js"),m=require("./ap-product-info/index.js"),h=require("./ap-view/index.js"),b=require("./ap-radio-group/index.js"),I=require("../utils/ap-trans-data/index.js");exports.ApTableModal=t.default;exports.ApAttachment=n.ApAttachment;exports.ApBatchAction=i.ApBatchAction;exports.ApBatchActionGroup=o.ApBatchActionGroup;exports.ApButtonGroup=A.ApButtonGroup;exports.ApCard=u.ApCard;exports.ApExpandAlert=c.ApExpandAlert;exports.ApExportGroup=a.ApExportGroup;exports.ApImage=d.ApImage;exports.ApInputRadio=s.ApInputRadio;exports.ApLabel=r.ApLabel;exports.ApLabelGroup=r.ApLabelGroup;exports.ApLadder=x.ApLadder;exports.ApSelectLayout=q.ApSelectLayout;exports.ApStatus=p.ApStatus;exports.ApStatusGroup=p.ApStatusGroup;exports.ApTitle=l.ApTitle;exports.ApSummary=$.ApSummary;exports.ApAppendix=S.ApAppendix;exports.ApExtensionSelect=e.ApExtensionSelect;exports.ApGroupSearch=e.ApGroupSearch;exports.ApPopoverSelect=e.ApPopoverSelect;exports.ApSizeInput=G.ApSizeInput;exports.ApProductInfo=m.ApProductInfo;exports.ApView=h.ApView;exports.ApRadioGroup=b.ApRadioGroup;exports.ApTransformDataHelper=I.ApTransformDataHelper;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ap-table-modal/index.js"),n=require("./ap-attachment/index.js"),i=require("./ap-batch-action/index.js"),o=require("./ap-batch-action-group/index.js"),A=require("./ap-button-group/index.js"),u=require("./ap-card/index.js"),c=require("./ap-expand-alert/index.js"),d=require("./ap-export-group/index.js"),a=require("./ap-image/index.js"),s=require("./ap-input-radio/index.js"),r=require("./ap-label/index.js"),x=require("./ap-ladder/index.js"),q=require("./ap-select-layout/index.js"),p=require("./ap-status/index.js"),l=require("./ap-title/index.js");require("./hooks/index.js");const $=require("./ap-summary/index.js"),S=require("./ap-appendix/index.js"),e=require("./ap-group-search/index.js");require("./ap-upload-file/index.js");require("./batch-input-group/index.js");const G=require("./ap-size-input/index.js"),m=require("./ap-product-info/index.js"),h=require("./ap-copy/index.js"),b=require("./ap-view/index.js"),y=require("./ap-radio-group/index.js"),I=require("../utils/ap-trans-data/index.js");exports.ApTableModal=t.default;exports.ApAttachment=n.ApAttachment;exports.ApBatchAction=i.ApBatchAction;exports.ApBatchActionGroup=o.ApBatchActionGroup;exports.ApButtonGroup=A.ApButtonGroup;exports.ApCard=u.ApCard;exports.ApExpandAlert=c.ApExpandAlert;exports.ApExportGroup=d.ApExportGroup;exports.ApImage=a.ApImage;exports.ApInputRadio=s.ApInputRadio;exports.ApLabel=r.ApLabel;exports.ApLabelGroup=r.ApLabelGroup;exports.ApLadder=x.ApLadder;exports.ApSelectLayout=q.ApSelectLayout;exports.ApStatus=p.ApStatus;exports.ApStatusGroup=p.ApStatusGroup;exports.ApTitle=l.ApTitle;exports.ApSummary=$.ApSummary;exports.ApAppendix=S.ApAppendix;exports.ApExtensionSelect=e.ApExtensionSelect;exports.ApGroupSearch=e.ApGroupSearch;exports.ApPopoverSelect=e.ApPopoverSelect;exports.ApSizeInput=G.ApSizeInput;exports.ApProductInfo=m.ApProductInfo;exports.ApCopy=h.ApCopy;exports.ApView=b.ApView;exports.ApRadioGroup=y.ApRadioGroup;exports.ApTransformDataHelper=I.ApTransformDataHelper;
@@ -15,6 +15,7 @@ declare module '@vue/runtime-core' {
15
15
  ApLabelGroup: typeof components.ApLabelGroup;
16
16
  ApLadder: typeof components.ApLadder;
17
17
  ApProductInfo: typeof components.ApProductInfo;
18
+ ApCopy: typeof components.ApCopy;
18
19
  ApSelectLayout: typeof components.ApSelectLayout;
19
20
  ApStatus: typeof components.ApStatus;
20
21
  ApStatusGroup: typeof components.ApStatusGroup;