@aplus-frontend/ui 0.6.8 → 6.10.0

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 (156) hide show
  1. package/es/index.mjs +187 -193
  2. package/es/src/ap-descriptions/formatter/index.d.ts +5 -0
  3. package/es/src/ap-descriptions/formatter/index.mjs +39 -38
  4. package/es/src/ap-descriptions/interface.d.ts +7 -1
  5. package/es/src/ap-field/rate/index.vue.d.ts +1 -1
  6. package/es/src/ap-form/interface.d.ts +6 -5
  7. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +42 -36
  8. package/es/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +5 -0
  9. package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +39 -0
  10. package/es/src/ap-grid/hooks/use-row-selection.mjs +57 -62
  11. package/es/src/ap-grid/utils/renderer.mjs +9 -9
  12. package/es/src/business/ap-label/ApLabel.d.ts +1 -1
  13. package/es/src/business/ap-label/index.d.ts +3 -3
  14. package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
  15. package/es/src/business/ap-view/ap-view.vue2.mjs +122 -118
  16. package/es/src/business/ap-view/index.d.ts +3 -0
  17. package/es/src/business/ap-view/interface.d.ts +4 -0
  18. package/es/src/business/hooks/usePageListApGrid.mjs +23 -30
  19. package/es/src/business/index.d.ts +0 -1
  20. package/es/src/business/index.mjs +42 -46
  21. package/es/src/index.d.ts +0 -1
  22. package/es/src/index.mjs +274 -281
  23. package/es/src/locale/lang/en.mjs +0 -7
  24. package/es/src/locale/lang/zh-cn.mjs +0 -7
  25. package/es/src/path-map.mjs +0 -2
  26. package/es/src/version.d.ts +1 -1
  27. package/es/src/version.mjs +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/src/ap-descriptions/formatter/index.d.ts +5 -0
  30. package/lib/src/ap-descriptions/formatter/index.js +1 -1
  31. package/lib/src/ap-descriptions/interface.d.ts +7 -1
  32. package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
  33. package/lib/src/ap-form/interface.d.ts +6 -5
  34. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  35. package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +5 -0
  36. package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -0
  37. package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
  38. package/lib/src/ap-grid/utils/renderer.js +1 -1
  39. package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
  40. package/lib/src/business/ap-label/index.d.ts +3 -3
  41. package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
  42. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  43. package/lib/src/business/ap-view/index.d.ts +3 -0
  44. package/lib/src/business/ap-view/interface.d.ts +4 -0
  45. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  46. package/lib/src/business/index.d.ts +0 -1
  47. package/lib/src/business/index.js +1 -1
  48. package/lib/src/index.d.ts +0 -1
  49. package/lib/src/index.js +1 -1
  50. package/lib/src/locale/lang/en.js +1 -1
  51. package/lib/src/locale/lang/zh-cn.js +1 -1
  52. package/lib/src/path-map.js +1 -1
  53. package/lib/src/version.d.ts +1 -1
  54. package/lib/src/version.js +1 -1
  55. package/package.json +5 -10
  56. package/theme/ap-form/index.css +16 -0
  57. package/theme/ap-form/search-form.css +16 -0
  58. package/theme/ap-form/search-form.less +16 -0
  59. package/theme/ap-grid/index.css +24 -0
  60. package/theme/ap-grid/index.less +8 -0
  61. package/theme/ap-table/ap-table.css +16 -0
  62. package/theme/ap-table-modal/index.css +16 -0
  63. package/theme/editable-table/index.css +16 -0
  64. package/theme/index.css +24 -0
  65. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +0 -73
  66. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +0 -46
  67. package/es/src/ap-info-layout/ApInfoLayout.vue2.mjs +0 -4
  68. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +0 -29
  69. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.mjs +0 -4
  70. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +0 -41
  71. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +0 -30
  72. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.mjs +0 -4
  73. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +0 -71
  74. package/es/src/ap-info-layout/index.d.ts +0 -3
  75. package/es/src/ap-info-layout/index.mjs +0 -2
  76. package/es/src/ap-info-layout/interface.d.ts +0 -10
  77. package/es/src/ap-info-layout/interface.mjs +0 -1
  78. package/es/src/ap-info-layout/style/css.d.ts +0 -0
  79. package/es/src/ap-info-layout/style/css.js +0 -1
  80. package/es/src/ap-info-layout/style/index.d.ts +0 -0
  81. package/es/src/ap-info-layout/style/index.js +0 -1
  82. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +0 -35
  83. package/es/src/business/ap-group-search/ap-group-search.vue.mjs +0 -4
  84. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +0 -202
  85. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +0 -14
  86. package/es/src/business/ap-group-search/extension-select/index.vue.mjs +0 -4
  87. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +0 -135
  88. package/es/src/business/ap-group-search/extension-select/style/css.d.ts +0 -0
  89. package/es/src/business/ap-group-search/extension-select/style/css.js +0 -1
  90. package/es/src/business/ap-group-search/extension-select/style/index.d.ts +0 -0
  91. package/es/src/business/ap-group-search/extension-select/style/index.js +0 -1
  92. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +0 -3
  93. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +0 -28
  94. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +0 -3
  95. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +0 -45
  96. package/es/src/business/ap-group-search/index.d.ts +0 -1536
  97. package/es/src/business/ap-group-search/index.mjs +0 -14
  98. package/es/src/business/ap-group-search/interface.d.ts +0 -11
  99. package/es/src/business/ap-group-search/interface.mjs +0 -1
  100. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +0 -424
  101. package/es/src/business/ap-group-search/popover-select/index.vue.mjs +0 -4
  102. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +0 -193
  103. package/es/src/business/ap-group-search/popover-select/style/css.d.ts +0 -0
  104. package/es/src/business/ap-group-search/popover-select/style/css.js +0 -1
  105. package/es/src/business/ap-group-search/popover-select/style/index.d.ts +0 -0
  106. package/es/src/business/ap-group-search/popover-select/style/index.js +0 -1
  107. package/es/src/business/ap-group-search/style/css.d.ts +0 -0
  108. package/es/src/business/ap-group-search/style/css.js +0 -1
  109. package/es/src/business/ap-group-search/style/index.d.ts +0 -0
  110. package/es/src/business/ap-group-search/style/index.js +0 -1
  111. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +0 -73
  112. package/lib/src/ap-info-layout/ApInfoLayout.vue.js +0 -1
  113. package/lib/src/ap-info-layout/ApInfoLayout.vue2.js +0 -1
  114. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +0 -29
  115. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.js +0 -1
  116. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.js +0 -1
  117. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +0 -30
  118. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.js +0 -1
  119. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.js +0 -1
  120. package/lib/src/ap-info-layout/index.d.ts +0 -3
  121. package/lib/src/ap-info-layout/index.js +0 -1
  122. package/lib/src/ap-info-layout/interface.d.ts +0 -10
  123. package/lib/src/ap-info-layout/interface.js +0 -1
  124. package/lib/src/ap-info-layout/style/css.cjs +0 -1
  125. package/lib/src/ap-info-layout/style/css.d.ts +0 -0
  126. package/lib/src/ap-info-layout/style/index.cjs +0 -1
  127. package/lib/src/ap-info-layout/style/index.d.ts +0 -0
  128. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +0 -35
  129. package/lib/src/business/ap-group-search/ap-group-search.vue.js +0 -1
  130. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +0 -1
  131. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +0 -14
  132. package/lib/src/business/ap-group-search/extension-select/index.vue.js +0 -1
  133. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +0 -1
  134. package/lib/src/business/ap-group-search/extension-select/style/css.cjs +0 -1
  135. package/lib/src/business/ap-group-search/extension-select/style/css.d.ts +0 -0
  136. package/lib/src/business/ap-group-search/extension-select/style/index.cjs +0 -1
  137. package/lib/src/business/ap-group-search/extension-select/style/index.d.ts +0 -0
  138. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +0 -3
  139. package/lib/src/business/ap-group-search/images/icon-down.vue.js +0 -1
  140. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +0 -3
  141. package/lib/src/business/ap-group-search/images/icon-line-select.vue.js +0 -1
  142. package/lib/src/business/ap-group-search/index.d.ts +0 -1536
  143. package/lib/src/business/ap-group-search/index.js +0 -1
  144. package/lib/src/business/ap-group-search/interface.d.ts +0 -11
  145. package/lib/src/business/ap-group-search/interface.js +0 -1
  146. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +0 -424
  147. package/lib/src/business/ap-group-search/popover-select/index.vue.js +0 -1
  148. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +0 -2
  149. package/lib/src/business/ap-group-search/popover-select/style/css.cjs +0 -1
  150. package/lib/src/business/ap-group-search/popover-select/style/css.d.ts +0 -0
  151. package/lib/src/business/ap-group-search/popover-select/style/index.cjs +0 -1
  152. package/lib/src/business/ap-group-search/popover-select/style/index.d.ts +0 -0
  153. package/lib/src/business/ap-group-search/style/css.cjs +0 -1
  154. package/lib/src/business/ap-group-search/style/css.d.ts +0 -0
  155. package/lib/src/business/ap-group-search/style/index.cjs +0 -1
  156. package/lib/src/business/ap-group-search/style/index.d.ts +0 -0
@@ -1,73 +0,0 @@
1
- import { ApInfoLayoutPropsMixed } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: Readonly<{
6
- [key: string]: any;
7
- /**
8
- * 默认插槽
9
- */
10
- default(): any;
11
- /**
12
- * 整个 header 区域
13
- */
14
- header(): any;
15
- /**
16
- * 仅Aplus- header标题,位于左侧
17
- */
18
- title(): any;
19
- /**
20
- * 仅Aplus- 操作区域
21
- */
22
- actions(): any;
23
- /**
24
- *
25
- * 仅Aplus- header下方的分割线
26
- *
27
- */
28
- divider(): any;
29
- /**
30
- * content 内容区
31
- */
32
- content(): any;
33
- }> & {
34
- [key: string]: any;
35
- /**
36
- * 默认插槽
37
- */
38
- default(): any;
39
- /**
40
- * 整个 header 区域
41
- */
42
- header(): any;
43
- /**
44
- * 仅Aplus- header标题,位于左侧
45
- */
46
- title(): any;
47
- /**
48
- * 仅Aplus- 操作区域
49
- */
50
- actions(): any;
51
- /**
52
- *
53
- * 仅Aplus- header下方的分割线
54
- *
55
- */
56
- divider(): any;
57
- /**
58
- * content 内容区
59
- */
60
- content(): any;
61
- };
62
- refs: {};
63
- rootEl: HTMLDivElement;
64
- };
65
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
66
- declare const __VLS_component: DefineComponent<ApInfoLayoutPropsMixed, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutPropsMixed> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
67
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
68
- export default _default;
69
- type __VLS_WithTemplateSlots<T, S> = T & {
70
- new (): {
71
- $slots: S;
72
- };
73
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-info-layout-aplus/ap-info-layout.vue.js");require("./ap-info-layout-admin/ApInfoLayoutAdmin.vue.js");require("../config-provider/index.js");const u=require("@aplus-frontend/utils"),s=require("../config-provider/hooks/use-global-config.js"),a=require("./ap-info-layout-admin/ApInfoLayoutAdmin.vue2.js"),i=require("./ap-info-layout-aplus/ap-info-layout.vue2.js"),l=e.defineComponent({__name:"ApInfoLayout",props:{headerStyle:{},bordered:{type:Boolean},toEl:{},telDisabled:{type:Boolean}},setup(p){const t=s.useGlobalConfig("uiMode","aplus"),n=e.computed(()=>{let o;switch(t.value){case"aplus":o=i.default;break;case"admin":o=a.default;break}return o});return e.onMounted(()=>{u.isProdMode()||console.warn("[DEPRECATED] This component is deprecated and will be removed in next minor version. ")}),(o,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value),e.normalizeProps(e.guardReactiveProps(o.$props)),e.createSlots({_:2},[e.renderList(o.$slots,(d,r)=>({name:r,fn:e.withCtx(()=>[e.renderSlot(o.$slots,r)])}))]),1040))}});exports.default=l;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ApInfoLayout.vue.js");exports.default=e.default;
@@ -1,29 +0,0 @@
1
- import { CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- import { ApInfoLayoutAdminProps } from '../interface';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- header?(_: {}): any;
7
- default?(_: {}): any;
8
- };
9
- refs: {
10
- containerRef: HTMLDivElement;
11
- headerRef: HTMLDivElement;
12
- };
13
- rootEl: HTMLDivElement;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: DefineComponent<ApInfoLayoutAdminProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutAdminProps> & Readonly<{}>, {
17
- headerStyle: CSSProperties;
18
- bordered: boolean;
19
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
20
- containerRef: HTMLDivElement;
21
- headerRef: HTMLDivElement;
22
- }, HTMLDivElement>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
- export default _default;
25
- type __VLS_WithTemplateSlots<T, S> = T & {
26
- new (): {
27
- $slots: S;
28
- };
29
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ApInfoLayoutAdmin.vue2.js");exports.default=e.default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const u=require("../../config-provider/hooks/use-namespace.js"),i=require("../../config-provider/hooks/use-global-config.js"),c=e.defineComponent({__name:"ApInfoLayoutAdmin",props:{headerStyle:{default:()=>({})},bordered:{type:Boolean,default:!1}},setup(f){const l=e.ref(),o=e.ref(),s=()=>{l.value&&o.value&&(l.value.scrollTop>0?o.value.classList.add(r("header-shadow")):o.value.classList.remove(r("header-shadow")))},{b:n,e:r,m:t}=u.useNamespace("ap-info-layout-admin"),d=i.useGlobalConfig("uiMode","admin");return(a,m)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:l,class:e.normalizeClass([e.unref(n)(),`${e.unref(t)(e.unref(d))}`]),onScroll:s},[e.createElementVNode("div",{ref_key:"headerRef",ref:o,class:e.normalizeClass([e.unref(r)("sticky_box"),a.bordered?e.unref(r)("sticky_box-bordered"):""]),style:e.normalizeStyle({...a.headerStyle})},[e.renderSlot(a.$slots,"header")],6),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("default_content"))},[e.renderSlot(a.$slots,"default")],2)],34))}});exports.default=c;
@@ -1,30 +0,0 @@
1
- import { ApInfoLayoutAplusProps } from '../interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- header?(_: {}): any;
7
- title?(_: {}): any;
8
- actions?(_: {}): any;
9
- divider?(_: {}): any;
10
- content?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: HTMLDivElement;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: DefineComponent<ApInfoLayoutAplusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
- "update:telDisabled": (...args: any[]) => void;
18
- }, string, PublicProps, Readonly<ApInfoLayoutAplusProps> & Readonly<{
19
- "onUpdate:telDisabled"?: ((...args: any[]) => any) | undefined;
20
- }>, {
21
- toEl: string | HTMLElement;
22
- telDisabled: boolean;
23
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
- export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ap-info-layout.vue2.js");exports.default=e.default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("@aplus-frontend/antdv");require("../../config-provider/index.js");const g=require("../../config-provider/hooks/use-namespace.js"),E=e.defineComponent({name:"ApInfoLayout",__name:"ap-info-layout",props:{toEl:{default:"#microapp-fixed-header"},telDisabled:{type:Boolean,default:!1}},emits:["update:telDisabled"],setup(s,{emit:n}){const r=s,d=n,{b:a,be:c,bem:l}=g.useNamespace("info-layout"),i=e.computed(()=>[a("container")]),u=e.computed(()=>[a("header")]),m=e.computed(()=>[a("divider")]),p=e.computed(()=>[a("contant")]),v=e.computed(()=>[c("header","contant")]),C=e.computed(()=>[l("header","contant","title")]),f=e.computed(()=>[l("header","contant","actions")]),o=e.computed({get:()=>r.telDisabled,set:t=>{d("update:telDisabled",t)}});return e.onActivated(()=>{o.value=!1}),e.onDeactivated(()=>{o.value=!0}),(t,N)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(i.value)},[(e.openBlock(),e.createBlock(e.Teleport,{to:t.toEl,disabled:o.value},[e.renderSlot(t.$slots,"header"),e.createElementVNode("div",{class:e.normalizeClass(`${u.value}`)},[e.createElementVNode("div",{class:e.normalizeClass(v.value)},[e.createElementVNode("div",{class:e.normalizeClass(C.value)},[e.renderSlot(t.$slots,"title")],2),e.createElementVNode("div",{class:e.normalizeClass(f.value)},[e.renderSlot(t.$slots,"actions")],2)],2)],2)],8,["to","disabled"])),e.createElementVNode("div",{class:e.normalizeClass(m.value)},[e.renderSlot(t.$slots,"divider",{},()=>[e.createVNode(e.unref(b.Divider),{class:"ap-info-layout-divider",dashed:""})])],2),e.createElementVNode("div",{class:e.normalizeClass(p.value)},[e.renderSlot(t.$slots,"content")],2)],2))}});exports.default=E;
@@ -1,3 +0,0 @@
1
- import { default as ApInfoLayout } from './ApInfoLayout.vue';
2
- export * from './interface';
3
- export { ApInfoLayout };
@@ -1 +0,0 @@
1
- "use strict";require("./ApInfoLayout.vue2.js");require("./interface.js");
@@ -1,10 +0,0 @@
1
- import { CSSProperties } from 'vue';
2
- export type ApInfoLayoutAdminProps = {
3
- headerStyle?: CSSProperties;
4
- bordered?: boolean;
5
- };
6
- export type ApInfoLayoutAplusProps = {
7
- toEl?: string | HTMLElement;
8
- telDisabled?: boolean;
9
- };
10
- export type ApInfoLayoutPropsMixed = ApInfoLayoutAdminProps & ApInfoLayoutAplusProps;
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-layout/ap-info-layout.css';
File without changes
@@ -1 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-layout/ap-info-layout.less';
File without changes
@@ -1,35 +0,0 @@
1
- import { SelectValue } from '@aplus-frontend/antdv/es/select';
2
- import { GroupSearchProps } from './interface';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- search?(_: {
8
- key: SelectValue;
9
- value: any;
10
- change: (e: any) => void;
11
- }): any;
12
- };
13
- refs: {
14
- containerRef: HTMLDivElement;
15
- };
16
- rootEl: HTMLDivElement;
17
- };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: DefineComponent<GroupSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- "update:value": (...args: any[]) => void;
21
- }, string, PublicProps, Readonly<GroupSearchProps> & Readonly<{
22
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
23
- }>, {
24
- dropdownMatchSelectWidth: number | boolean;
25
- hasAll: boolean;
26
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
27
- containerRef: HTMLDivElement;
28
- }, HTMLDivElement>;
29
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
- export default _default;
31
- type __VLS_WithTemplateSlots<T, S> = T & {
32
- new (): {
33
- $slots: S;
34
- };
35
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ap-group-search.vue2.js");exports.default=e.default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("@aplus-frontend/antdv"),V=require("./images/icon-down.vue.js");require("./extension-select/index.vue.js");const x=require("../../hooks/useControllableValue.js");require("../../config-provider/index.js");const N=require("../../config-provider/hooks/use-locale.js"),q=require("../../config-provider/hooks/use-global-config.js"),I=require("../../config-provider/hooks/use-namespace.js"),L=require("./extension-select/index.vue2.js"),i="GROUP_SEARCH_ALL",M=e.defineComponent({__name:"ap-group-search",props:{value:{},defaultValue:{},notFoundContent:{},suffixIcon:{},itemIcon:{},size:{},mode:{},bordered:{type:Boolean},transitionName:{},choiceTransitionName:{},popupClassName:{},dropdownClassName:{},placement:{},status:{},"onUpdate:value":{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean},animation:{},direction:{},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},getPopupContainer:{},virtual:{type:Boolean},dropdownMatchSelectWidth:{default:!1},options:{},showAction:{},onDeselect:{},loading:{type:Boolean},placeholder:{},clearIcon:{},allowClear:{type:Boolean},onSearch:{},fieldNames:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showSearch:{type:Boolean},searchValue:{},onInputKeyDown:{},removeIcon:{},maxTagCount:{},maxTagTextLength:{},maxTagPlaceholder:{},tokenSeparators:{},tagRender:{},optionLabelRender:{},onClear:{},defaultOpen:{type:Boolean},onDropdownVisibleChange:{},showArrow:{type:Boolean},onPopupScroll:{},menuItemSelectedIcon:{},listItemHeight:{},inputValue:{},autoClearSearchValue:{type:Boolean},filterOption:{},filterSort:{},optionFilterProp:{},optionLabelProp:{},defaultActiveFirstOption:{type:Boolean},onClickOption:{},labelInValue:{type:Boolean},hasAll:{type:Boolean,default:!0},style:{}},emits:["update:value"],setup(v,{emit:g}){const{t:p}=N.useLocale(),d=q.useGlobalConfig("uiMode","aplus"),f=e.ref(),a=v,C=e.computed(()=>({width:"auto",...a.style})),_=g,{value:n,updateValue:c}=x.useControllableValue(a,_),w=o=>{let t=o;o===i?t=a.options.map(l=>l.value):t=toString.call(t)==="[object Array]"?o:[o],c({...n.value,key:t})},S=e.computed(()=>{let o=[];return a.hasAll&&(o=[{value:i,label:p("ap.apGroupSearch.all")}]),[...o,...a.options]}),b=e.computed(()=>{var u,s;const o=(u=n==null?void 0:n.value)==null?void 0:u.key,t=toString.call(o)==="[object Array]"?o:[o],l=p("ap.apGroupSearch.defaultPlaceholder");return!t||t.length===1?l:((s=a.options)==null?void 0:s.filter(r=>t.includes(r.value)).map(r=>r.label).join("/"))||l});e.onMounted(()=>{e.watch(()=>{var o;return[a.hasAll,(o=e.unref(n))==null?void 0:o.key]},()=>{var o,t;a.hasAll&&!((o=e.unref(n))!=null&&o.key)&&c({...e.unref(n),key:(t=a.options)==null?void 0:t.map(l=>l.value)})},{immediate:!0})});const B=e.computed(()=>{var t,l;const o=(t=e.unref(n))==null?void 0:t.key;if(o)return toString.call(o)==="[object Array]"?(o==null?void 0:o.length)===((l=a.options)==null?void 0:l.length)?i:o==null?void 0:o[0]:o}),h=o=>{var t;o!==((t=e.unref(n))==null?void 0:t.value)&&c({...n.value,value:o})},{b:k,e:m,em:A}=I.useNamespace("ap-group-search");return(o,t)=>{const l=e.resolveComponent("Divider");return e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:f,class:e.normalizeClass(e.unref(k)())},[e.createVNode(e.unref(y.Flex),null,{default:e.withCtx(()=>{var u,s;return[e.createVNode(e.unref(y.Select),{value:B.value,style:e.normalizeStyle(C.value),class:e.normalizeClass(`${o.$attrs.class} ${e.unref(d)==="admin"?e.unref(A)("search","admin"):e.unref(m)("search")}`),options:S.value,bordered:!1,"dropdown-match-select-width":a.dropdownMatchSelectWidth,onChange:w},{suffixIcon:e.withCtx(()=>[e.createVNode(V.default)]),_:1},8,["value","style","class","options","dropdown-match-select-width"]),e.unref(d)==="aplus"?(e.openBlock(),e.createBlock(l,{key:0,class:e.normalizeClass(e.unref(m)("divider")),type:"vertical",style:{}},null,8,["class"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"search",{key:(u=e.unref(n))==null?void 0:u.key,value:(s=e.unref(n))==null?void 0:s.value,change:h},()=>{var r;return[e.createVNode(L.default,{style:{width:"100%"},"max-tag-count":"responsive",value:(r=e.unref(n))==null?void 0:r.value,placeholder:b.value,"__parent-ref":f.value,onChange:h},null,8,["value","placeholder","__parent-ref"])]})]}),_:3})],2)}}});exports.default=M;
@@ -1,14 +0,0 @@
1
- import { SelectProps } from '@aplus-frontend/antdv';
2
- import { SelectValue } from '@aplus-frontend/antdv/es/select';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = Omit<SelectProps, 'mode' | 'suffixIcon'> & {
5
- __parentRef?: HTMLElement;
6
- };
7
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
8
- change: (value: SelectValue) => any;
9
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- onChange?: ((value: SelectValue) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
- containerRef: HTMLDivElement;
13
- }, HTMLDivElement>;
14
- export default _default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");exports.default=e.default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("@aplus-frontend/antdv");require("../popover-select/index.vue.js");require("../../../config-provider/index.js");const g=require("../../../config-provider/hooks/use-global-config.js"),y=require("../../../config-provider/hooks/use-namespace.js"),C=require("../popover-select/index.vue2.js"),_=e.defineComponent({__name:"index",props:{value:{},defaultValue:{},notFoundContent:{},itemIcon:{},size:{},bordered:{type:Boolean},transitionName:{},choiceTransitionName:{},popupClassName:{},dropdownClassName:{},placement:{},status:{},"onUpdate:value":{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean},animation:{},direction:{},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},getPopupContainer:{},virtual:{type:Boolean},dropdownMatchSelectWidth:{},options:{},showAction:{},onDeselect:{},loading:{type:Boolean},placeholder:{},clearIcon:{},allowClear:{type:Boolean},onSearch:{},fieldNames:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showSearch:{type:Boolean},searchValue:{},onInputKeyDown:{},removeIcon:{},maxTagCount:{},maxTagTextLength:{},maxTagPlaceholder:{},tokenSeparators:{},tagRender:{},optionLabelRender:{},onClear:{},defaultOpen:{type:Boolean},onDropdownVisibleChange:{},showArrow:{type:Boolean},onPopupScroll:{},menuItemSelectedIcon:{},listItemHeight:{},inputValue:{},autoClearSearchValue:{type:Boolean},filterOption:{},filterSort:{},optionFilterProp:{},optionLabelProp:{},defaultActiveFirstOption:{type:Boolean},onClickOption:{},labelInValue:{type:Boolean},__parentRef:{}},emits:["change"],setup(i,{emit:s}){const p=g.useGlobalConfig("uiMode","aplus"),n=i,l=e.ref(),t=e.ref(),a=e.ref(!1),c=e.computed(()=>n.__parentRef||l.value),d=s,f=o=>{o&&(a.value=!1)};e.watch(()=>n.value,()=>{t.value=n.value},{immediate:!0});const r=o=>{t.value=o,d("change",o)},{b:m}=y.useNamespace("ap-extension-select");return(o,u)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:l},[e.createVNode(e.unref(v.Select),{class:e.normalizeClass(e.unref(m)()),value:t.value,style:e.normalizeStyle(o.$attrs.style),bordered:e.unref(p)==="admin",mode:"tags","show-arrow":!0,"not-found-content":!0,open:a.value,"max-tag-count":n.maxTagCount,placeholder:n.placeholder,onDropdownVisibleChange:u[0]||(u[0]=h=>a.value=h),onChange:r},{suffixIcon:e.withCtx(()=>[e.createVNode(C.default,{value:t.value,"__parent-ref":c.value,onSubmit:r,onOpenChange:f},null,8,["value","__parent-ref"])]),_:1},8,["class","value","style","bordered","open","max-tag-count","placeholder"])],512))}});exports.default=_;
@@ -1 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-group-search/ap-extension-select.css';
@@ -1 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-group-search/ap-extension-select.less';
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
3
- export default _default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("../../../../_virtual/_plugin-vue_export-helper.js"),l={},o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"};function r(c,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("g",null,[e.createElementVNode("path",{d:"M5.248374744964599,6C4.7452713449646,6,4.465567744964599,6.581959,4.7798537449645995,6.974817L7.5314787449646,10.414349999999999C7.7716787449646,10.714590000000001,8.2283287449646,10.714590000000001,8.4685187449646,10.414349999999999L11.2201487449646,6.974817C11.5344287449646,6.581959,11.254728744964599,6,10.751628744964599,6L5.248374744964599,6Z",fill:"currentcolor","fill-opacity":"1"})])],-1)]))}const i=n.default(l,[["render",r]]);exports.default=i;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
3
- export default _default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Q=require("vue"),l=require("../../../../_virtual/_plugin-vue_export-helper.js"),t={},n={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"};function o(c,e){return Q.openBlock(),Q.createElementBlock("svg",n,e[0]||(e[0]=[Q.createElementVNode("g",null,[Q.createElementVNode("g",null,[Q.createElementVNode("path",{d:"M3,4.5L13,4.5Q13.0492,4.5,13.0975,4.509607Q13.1458,4.519215,13.1913,4.53806Q13.2368,4.556906,13.2778,4.584265Q13.3187,4.611625,13.3536,4.646447Q13.3884,4.681269,13.4157,4.722215Q13.4431,4.763161,13.4619,4.808658Q13.4808,4.854155,13.4904,4.9024549Q13.5,4.9507543,13.5,5Q13.5,5.0492457,13.4904,5.0975451Q13.4808,5.145845,13.4619,5.191342Q13.4431,5.236839,13.4157,5.277785Q13.3884,5.318731,13.3536,5.353553Q13.3187,5.388375,13.2778,5.415735Q13.2368,5.443094,13.1913,5.46194Q13.1458,5.480785,13.0975,5.490393Q13.0492,5.5,13,5.5L3,5.5Q2.9507543,5.5,2.9024549,5.490393Q2.854155,5.480785,2.808658,5.46194Q2.763161,5.443094,2.722215,5.415735Q2.681269,5.388375,2.646447,5.353553Q2.611625,5.318731,2.584265,5.277785Q2.556906,5.236839,2.5380599999999998,5.191342Q2.519215,5.145845,2.509607,5.0975451Q2.5,5.0492457,2.5,5Q2.5,4.9507543,2.509607,4.9024549Q2.519215,4.854155,2.5380599999999998,4.808658Q2.556906,4.763161,2.584265,4.722215Q2.611625,4.681269,2.646447,4.646447Q2.681269,4.611625,2.722215,4.584265Q2.763161,4.556906,2.808658,4.53806Q2.854155,4.519215,2.9024549,4.509607Q2.9507543,4.5,3,4.5Z","fill-rule":"evenodd",fill:"currentcolor","fill-opacity":"1"})]),Q.createElementVNode("g",null,[Q.createElementVNode("path",{d:"M3,7.5L13,7.5Q13.0492,7.5,13.0975,7.509607Q13.1458,7.519215,13.1913,7.53806Q13.2368,7.556906,13.2778,7.584265Q13.3187,7.611625,13.3536,7.646447Q13.3884,7.681269,13.4157,7.722215Q13.4431,7.763161,13.4619,7.808658Q13.4808,7.854155,13.4904,7.9024549Q13.5,7.9507543,13.5,8Q13.5,8.0492457,13.4904,8.0975451Q13.4808,8.145845,13.4619,8.191342Q13.4431,8.236839,13.4157,8.277785Q13.3884,8.318731,13.3536,8.353553Q13.3187,8.388375,13.2778,8.415735Q13.2368,8.443094,13.1913,8.46194Q13.1458,8.480785000000001,13.0975,8.490393Q13.0492,8.5,13,8.5L3,8.5Q2.9507543,8.5,2.9024549,8.490393Q2.854155,8.480785000000001,2.808658,8.46194Q2.763161,8.443094,2.722215,8.415735Q2.681269,8.388375,2.646447,8.353553Q2.611625,8.318731,2.584265,8.277785Q2.556906,8.236839,2.5380599999999998,8.191342Q2.519215,8.145845,2.509607,8.0975451Q2.5,8.0492457,2.5,8Q2.5,7.9507543,2.509607,7.9024549Q2.519215,7.854155,2.5380599999999998,7.808658Q2.556906,7.763161,2.584265,7.722215Q2.611625,7.681269,2.646447,7.646447Q2.681269,7.611625,2.722215,7.584265Q2.763161,7.556906,2.808658,7.53806Q2.854155,7.519215,2.9024549,7.509607Q2.9507543,7.5,3,7.5Z","fill-rule":"evenodd",fill:"currentcolor","fill-opacity":"1"})]),Q.createElementVNode("g",null,[Q.createElementVNode("path",{d:"M3,10.5L8,10.5Q8.04925,10.5,8.09755,10.509607Q8.14584,10.519214999999999,8.19134,10.53806Q8.23684,10.556906,8.27778,10.584265Q8.31873,10.611625,8.35355,10.646447Q8.38837,10.681269,8.41573,10.722215Q8.44309,10.763161,8.46194,10.808658Q8.48078,10.854155,8.49039,10.9024549Q8.5,10.9507543,8.5,11Q8.5,11.0492457,8.49039,11.0975451Q8.48078,11.145845,8.46194,11.191342Q8.44309,11.236839,8.41573,11.277785Q8.38837,11.318731,8.35355,11.353553Q8.31873,11.388375,8.27778,11.415735Q8.23684,11.443094,8.19134,11.46194Q8.14584,11.480785000000001,8.09755,11.490393Q8.04925,11.5,8,11.5L3,11.5Q2.9507543,11.5,2.9024549,11.490393Q2.854155,11.480785000000001,2.808658,11.46194Q2.763161,11.443094,2.722215,11.415735Q2.681269,11.388375,2.646447,11.353553Q2.611625,11.318731,2.584265,11.277785Q2.556906,11.236839,2.5380599999999998,11.191342Q2.519215,11.145845,2.509607,11.0975451Q2.5,11.0492457,2.5,11Q2.5,10.9507543,2.509607,10.9024549Q2.519215,10.854155,2.5380599999999998,10.808658Q2.556906,10.763161,2.584265,10.722215Q2.611625,10.681269,2.646447,10.646447Q2.681269,10.611625,2.722215,10.584265Q2.763161,10.556906,2.808658,10.53806Q2.854155,10.519214999999999,2.9024549,10.509607Q2.9507543,10.5,3,10.5Z","fill-rule":"evenodd",fill:"currentcolor","fill-opacity":"1"})])],-1)]))}const r=l.default(t,[["render",o]]);exports.default=r;