@aplus-frontend/ui 0.6.8 → 6.9.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 (150) hide show
  1. package/es/index.mjs +187 -193
  2. package/es/src/ap-field/rate/index.vue.d.ts +1 -1
  3. package/es/src/ap-form/interface.d.ts +6 -5
  4. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +42 -36
  5. package/es/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +5 -0
  6. package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +24 -0
  7. package/es/src/ap-grid/hooks/use-row-selection.mjs +57 -62
  8. package/es/src/ap-grid/utils/renderer.mjs +9 -9
  9. package/es/src/business/ap-label/ApLabel.d.ts +1 -1
  10. package/es/src/business/ap-label/index.d.ts +3 -3
  11. package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
  12. package/es/src/business/ap-view/ap-view.vue2.mjs +122 -118
  13. package/es/src/business/ap-view/index.d.ts +3 -0
  14. package/es/src/business/ap-view/interface.d.ts +4 -0
  15. package/es/src/business/hooks/usePageListApGrid.mjs +23 -30
  16. package/es/src/business/index.d.ts +0 -1
  17. package/es/src/business/index.mjs +42 -46
  18. package/es/src/index.d.ts +0 -1
  19. package/es/src/index.mjs +274 -281
  20. package/es/src/locale/lang/en.mjs +0 -7
  21. package/es/src/locale/lang/zh-cn.mjs +0 -7
  22. package/es/src/path-map.mjs +0 -2
  23. package/es/src/version.d.ts +1 -1
  24. package/es/src/version.mjs +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
  27. package/lib/src/ap-form/interface.d.ts +6 -5
  28. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  29. package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +5 -0
  30. package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -0
  31. package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
  32. package/lib/src/ap-grid/utils/renderer.js +1 -1
  33. package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
  34. package/lib/src/business/ap-label/index.d.ts +3 -3
  35. package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
  36. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  37. package/lib/src/business/ap-view/index.d.ts +3 -0
  38. package/lib/src/business/ap-view/interface.d.ts +4 -0
  39. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  40. package/lib/src/business/index.d.ts +0 -1
  41. package/lib/src/business/index.js +1 -1
  42. package/lib/src/index.d.ts +0 -1
  43. package/lib/src/index.js +1 -1
  44. package/lib/src/locale/lang/en.js +1 -1
  45. package/lib/src/locale/lang/zh-cn.js +1 -1
  46. package/lib/src/path-map.js +1 -1
  47. package/lib/src/version.d.ts +1 -1
  48. package/lib/src/version.js +1 -1
  49. package/package.json +3 -8
  50. package/theme/ap-form/index.css +16 -0
  51. package/theme/ap-form/search-form.css +16 -0
  52. package/theme/ap-form/search-form.less +16 -0
  53. package/theme/ap-grid/index.css +20 -0
  54. package/theme/ap-grid/index.less +4 -0
  55. package/theme/ap-table/ap-table.css +16 -0
  56. package/theme/ap-table-modal/index.css +16 -0
  57. package/theme/editable-table/index.css +16 -0
  58. package/theme/index.css +20 -0
  59. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +0 -73
  60. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +0 -46
  61. package/es/src/ap-info-layout/ApInfoLayout.vue2.mjs +0 -4
  62. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +0 -29
  63. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.mjs +0 -4
  64. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +0 -41
  65. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +0 -30
  66. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.mjs +0 -4
  67. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +0 -71
  68. package/es/src/ap-info-layout/index.d.ts +0 -3
  69. package/es/src/ap-info-layout/index.mjs +0 -2
  70. package/es/src/ap-info-layout/interface.d.ts +0 -10
  71. package/es/src/ap-info-layout/interface.mjs +0 -1
  72. package/es/src/ap-info-layout/style/css.d.ts +0 -0
  73. package/es/src/ap-info-layout/style/css.js +0 -1
  74. package/es/src/ap-info-layout/style/index.d.ts +0 -0
  75. package/es/src/ap-info-layout/style/index.js +0 -1
  76. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +0 -35
  77. package/es/src/business/ap-group-search/ap-group-search.vue.mjs +0 -4
  78. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +0 -202
  79. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +0 -14
  80. package/es/src/business/ap-group-search/extension-select/index.vue.mjs +0 -4
  81. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +0 -135
  82. package/es/src/business/ap-group-search/extension-select/style/css.d.ts +0 -0
  83. package/es/src/business/ap-group-search/extension-select/style/css.js +0 -1
  84. package/es/src/business/ap-group-search/extension-select/style/index.d.ts +0 -0
  85. package/es/src/business/ap-group-search/extension-select/style/index.js +0 -1
  86. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +0 -3
  87. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +0 -28
  88. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +0 -3
  89. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +0 -45
  90. package/es/src/business/ap-group-search/index.d.ts +0 -1536
  91. package/es/src/business/ap-group-search/index.mjs +0 -14
  92. package/es/src/business/ap-group-search/interface.d.ts +0 -11
  93. package/es/src/business/ap-group-search/interface.mjs +0 -1
  94. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +0 -424
  95. package/es/src/business/ap-group-search/popover-select/index.vue.mjs +0 -4
  96. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +0 -193
  97. package/es/src/business/ap-group-search/popover-select/style/css.d.ts +0 -0
  98. package/es/src/business/ap-group-search/popover-select/style/css.js +0 -1
  99. package/es/src/business/ap-group-search/popover-select/style/index.d.ts +0 -0
  100. package/es/src/business/ap-group-search/popover-select/style/index.js +0 -1
  101. package/es/src/business/ap-group-search/style/css.d.ts +0 -0
  102. package/es/src/business/ap-group-search/style/css.js +0 -1
  103. package/es/src/business/ap-group-search/style/index.d.ts +0 -0
  104. package/es/src/business/ap-group-search/style/index.js +0 -1
  105. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +0 -73
  106. package/lib/src/ap-info-layout/ApInfoLayout.vue.js +0 -1
  107. package/lib/src/ap-info-layout/ApInfoLayout.vue2.js +0 -1
  108. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +0 -29
  109. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.js +0 -1
  110. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.js +0 -1
  111. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +0 -30
  112. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.js +0 -1
  113. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.js +0 -1
  114. package/lib/src/ap-info-layout/index.d.ts +0 -3
  115. package/lib/src/ap-info-layout/index.js +0 -1
  116. package/lib/src/ap-info-layout/interface.d.ts +0 -10
  117. package/lib/src/ap-info-layout/interface.js +0 -1
  118. package/lib/src/ap-info-layout/style/css.cjs +0 -1
  119. package/lib/src/ap-info-layout/style/css.d.ts +0 -0
  120. package/lib/src/ap-info-layout/style/index.cjs +0 -1
  121. package/lib/src/ap-info-layout/style/index.d.ts +0 -0
  122. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +0 -35
  123. package/lib/src/business/ap-group-search/ap-group-search.vue.js +0 -1
  124. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +0 -1
  125. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +0 -14
  126. package/lib/src/business/ap-group-search/extension-select/index.vue.js +0 -1
  127. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +0 -1
  128. package/lib/src/business/ap-group-search/extension-select/style/css.cjs +0 -1
  129. package/lib/src/business/ap-group-search/extension-select/style/css.d.ts +0 -0
  130. package/lib/src/business/ap-group-search/extension-select/style/index.cjs +0 -1
  131. package/lib/src/business/ap-group-search/extension-select/style/index.d.ts +0 -0
  132. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +0 -3
  133. package/lib/src/business/ap-group-search/images/icon-down.vue.js +0 -1
  134. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +0 -3
  135. package/lib/src/business/ap-group-search/images/icon-line-select.vue.js +0 -1
  136. package/lib/src/business/ap-group-search/index.d.ts +0 -1536
  137. package/lib/src/business/ap-group-search/index.js +0 -1
  138. package/lib/src/business/ap-group-search/interface.d.ts +0 -11
  139. package/lib/src/business/ap-group-search/interface.js +0 -1
  140. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +0 -424
  141. package/lib/src/business/ap-group-search/popover-select/index.vue.js +0 -1
  142. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +0 -2
  143. package/lib/src/business/ap-group-search/popover-select/style/css.cjs +0 -1
  144. package/lib/src/business/ap-group-search/popover-select/style/css.d.ts +0 -0
  145. package/lib/src/business/ap-group-search/popover-select/style/index.cjs +0 -1
  146. package/lib/src/business/ap-group-search/popover-select/style/index.d.ts +0 -0
  147. package/lib/src/business/ap-group-search/style/css.cjs +0 -1
  148. package/lib/src/business/ap-group-search/style/css.d.ts +0 -0
  149. package/lib/src/business/ap-group-search/style/index.cjs +0 -1
  150. package/lib/src/business/ap-group-search/style/index.d.ts +0 -0
@@ -313,6 +313,22 @@
313
313
  border-color: var(--ap-hover-color-base);
314
314
  z-index: 1;
315
315
  }
316
+ .aplus-ap-form-search-form-trigger-btn-badge {
317
+ display: inline-block;
318
+ padding: 2px;
319
+ min-width: 14px;
320
+ height: 14px;
321
+ background-color: var(--ap-color-primary);
322
+ font-size: 10px;
323
+ line-height: 1;
324
+ border-radius: 7px;
325
+ color: #fff;
326
+ position: absolute;
327
+ top: 0;
328
+ left: 0;
329
+ transform: translate(-50%, -50%);
330
+ box-shadow: 0 0 0 1px #fff;
331
+ }
316
332
  .aplus-ap-form-search-form-column-setting-trigger-wrapper {
317
333
  flex-shrink: 0;
318
334
  }
@@ -268,6 +268,22 @@
268
268
  border-color: var(--ap-hover-color-base);
269
269
  z-index: 1;
270
270
  }
271
+ .aplus-ap-form-search-form-trigger-btn-badge {
272
+ display: inline-block;
273
+ padding: 2px;
274
+ min-width: 14px;
275
+ height: 14px;
276
+ background-color: var(--ap-color-primary);
277
+ font-size: 10px;
278
+ line-height: 1;
279
+ border-radius: 7px;
280
+ color: #fff;
281
+ position: absolute;
282
+ top: 0;
283
+ left: 0;
284
+ transform: translate(-50%, -50%);
285
+ box-shadow: 0 0 0 1px #fff;
286
+ }
271
287
  .aplus-ap-form-search-form-column-setting-trigger-wrapper {
272
288
  flex-shrink: 0;
273
289
  }
@@ -49,6 +49,22 @@
49
49
  border-color: var(--ap-hover-color-base);
50
50
  z-index: 1;
51
51
  }
52
+ &-badge {
53
+ display: inline-block;
54
+ padding: 2px;
55
+ min-width: 14px;
56
+ height: 14px;
57
+ background-color: var(--ap-color-primary);
58
+ font-size: 10px;
59
+ line-height: 1;
60
+ border-radius: 7px;
61
+ color: #fff;
62
+ position: absolute;
63
+ top: 0;
64
+ left: 0;
65
+ transform: translate(-50%, -50%);
66
+ box-shadow: 0 0 0 1px #fff;
67
+ }
52
68
  }
53
69
  &-column-setting-trigger-wrapper {
54
70
  flex-shrink: 0;
@@ -313,6 +313,22 @@
313
313
  border-color: var(--ap-hover-color-base);
314
314
  z-index: 1;
315
315
  }
316
+ .aplus-ap-form-search-form-trigger-btn-badge {
317
+ display: inline-block;
318
+ padding: 2px;
319
+ min-width: 14px;
320
+ height: 14px;
321
+ background-color: var(--ap-color-primary);
322
+ font-size: 10px;
323
+ line-height: 1;
324
+ border-radius: 7px;
325
+ color: #fff;
326
+ position: absolute;
327
+ top: 0;
328
+ left: 0;
329
+ transform: translate(-50%, -50%);
330
+ box-shadow: 0 0 0 1px #fff;
331
+ }
316
332
  .aplus-ap-form-search-form-column-setting-trigger-wrapper {
317
333
  flex-shrink: 0;
318
334
  }
@@ -664,3 +680,7 @@
664
680
  .aplus-ap-grid i[class*=vxe-table-icon-] {
665
681
  font-family: aplusuiiconfont !important;
666
682
  }
683
+ .aplus-ap-grid .vxe-cell--checkbox.is--disabled > .vxe-checkbox--icon {
684
+ background-color: var(--ap-table-header-bg);
685
+ border-radius: 4px;
686
+ }
@@ -198,4 +198,8 @@
198
198
  i[class*=vxe-table-icon-] {
199
199
  font-family: aplusuiiconfont !important;
200
200
  }
201
+ .vxe-cell--checkbox.is--disabled > .vxe-checkbox--icon {
202
+ background-color: var(--ap-table-header-bg);
203
+ border-radius: 4px;
204
+ }
201
205
  });
@@ -506,6 +506,22 @@
506
506
  border-color: var(--ap-hover-color-base);
507
507
  z-index: 1;
508
508
  }
509
+ .aplus-ap-form-search-form-trigger-btn-badge {
510
+ display: inline-block;
511
+ padding: 2px;
512
+ min-width: 14px;
513
+ height: 14px;
514
+ background-color: var(--ap-color-primary);
515
+ font-size: 10px;
516
+ line-height: 1;
517
+ border-radius: 7px;
518
+ color: #fff;
519
+ position: absolute;
520
+ top: 0;
521
+ left: 0;
522
+ transform: translate(-50%, -50%);
523
+ box-shadow: 0 0 0 1px #fff;
524
+ }
509
525
  .aplus-ap-form-search-form-column-setting-trigger-wrapper {
510
526
  flex-shrink: 0;
511
527
  }
@@ -506,6 +506,22 @@
506
506
  border-color: var(--ap-hover-color-base);
507
507
  z-index: 1;
508
508
  }
509
+ .aplus-ap-form-search-form-trigger-btn-badge {
510
+ display: inline-block;
511
+ padding: 2px;
512
+ min-width: 14px;
513
+ height: 14px;
514
+ background-color: var(--ap-color-primary);
515
+ font-size: 10px;
516
+ line-height: 1;
517
+ border-radius: 7px;
518
+ color: #fff;
519
+ position: absolute;
520
+ top: 0;
521
+ left: 0;
522
+ transform: translate(-50%, -50%);
523
+ box-shadow: 0 0 0 1px #fff;
524
+ }
509
525
  .aplus-ap-form-search-form-column-setting-trigger-wrapper {
510
526
  flex-shrink: 0;
511
527
  }
@@ -313,6 +313,22 @@
313
313
  border-color: var(--ap-hover-color-base);
314
314
  z-index: 1;
315
315
  }
316
+ .aplus-ap-form-search-form-trigger-btn-badge {
317
+ display: inline-block;
318
+ padding: 2px;
319
+ min-width: 14px;
320
+ height: 14px;
321
+ background-color: var(--ap-color-primary);
322
+ font-size: 10px;
323
+ line-height: 1;
324
+ border-radius: 7px;
325
+ color: #fff;
326
+ position: absolute;
327
+ top: 0;
328
+ left: 0;
329
+ transform: translate(-50%, -50%);
330
+ box-shadow: 0 0 0 1px #fff;
331
+ }
316
332
  .aplus-ap-form-search-form-column-setting-trigger-wrapper {
317
333
  flex-shrink: 0;
318
334
  }
package/theme/index.css CHANGED
@@ -1337,6 +1337,22 @@
1337
1337
  border-color: var(--ap-hover-color-base);
1338
1338
  z-index: 1;
1339
1339
  }
1340
+ .aplus-ap-form-search-form-trigger-btn-badge {
1341
+ display: inline-block;
1342
+ padding: 2px;
1343
+ min-width: 14px;
1344
+ height: 14px;
1345
+ background-color: var(--ap-color-primary);
1346
+ font-size: 10px;
1347
+ line-height: 1;
1348
+ border-radius: 7px;
1349
+ color: #fff;
1350
+ position: absolute;
1351
+ top: 0;
1352
+ left: 0;
1353
+ transform: translate(-50%, -50%);
1354
+ box-shadow: 0 0 0 1px #fff;
1355
+ }
1340
1356
  .aplus-ap-form-search-form-column-setting-trigger-wrapper {
1341
1357
  flex-shrink: 0;
1342
1358
  }
@@ -3558,6 +3574,10 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3558
3574
  .aplus-ap-grid i[class*=vxe-table-icon-] {
3559
3575
  font-family: aplusuiiconfont !important;
3560
3576
  }
3577
+ .aplus-ap-grid .vxe-cell--checkbox.is--disabled > .vxe-checkbox--icon {
3578
+ background-color: var(--ap-table-header-bg);
3579
+ border-radius: 4px;
3580
+ }
3561
3581
  .aplus-editable-grid__header-cell--required {
3562
3582
  color: #FF4D4F;
3563
3583
  padding-right: 2px;
@@ -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,46 +0,0 @@
1
- import { defineComponent as n, computed as s, onMounted as a, createBlock as i, openBlock as p, resolveDynamicComponent as m, normalizeProps as l, guardReactiveProps as c, createSlots as d, renderList as u, withCtx as f, renderSlot as _ } from "vue";
2
- import "./ap-info-layout-aplus/ap-info-layout.vue.mjs";
3
- import "./ap-info-layout-admin/ApInfoLayoutAdmin.vue.mjs";
4
- import "../config-provider/index.mjs";
5
- import { isProdMode as b } from "@aplus-frontend/utils";
6
- import { useGlobalConfig as v } from "../config-provider/hooks/use-global-config.mjs";
7
- import y from "./ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs";
8
- import h from "./ap-info-layout-aplus/ap-info-layout.vue2.mjs";
9
- const g = /* @__PURE__ */ n({
10
- __name: "ApInfoLayout",
11
- props: {
12
- headerStyle: {},
13
- bordered: { type: Boolean },
14
- toEl: {},
15
- telDisabled: { type: Boolean }
16
- },
17
- setup(C) {
18
- const r = v("uiMode", "aplus"), t = s(() => {
19
- let o;
20
- switch (r.value) {
21
- case "aplus":
22
- o = h;
23
- break;
24
- case "admin":
25
- o = y;
26
- break;
27
- }
28
- return o;
29
- });
30
- return a(() => {
31
- b() || console.warn(
32
- "[DEPRECATED] This component is deprecated and will be removed in next minor version. "
33
- );
34
- }), (o, $) => (p(), i(m(t.value), l(c(o.$props)), d({ _: 2 }, [
35
- u(o.$slots, (k, e) => ({
36
- name: e,
37
- fn: f(() => [
38
- _(o.$slots, e)
39
- ])
40
- }))
41
- ]), 1040));
42
- }
43
- });
44
- export {
45
- g as default
46
- };
@@ -1,4 +0,0 @@
1
- import f from "./ApInfoLayout.vue.mjs";
2
- export {
3
- f as default
4
- };
@@ -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,4 +0,0 @@
1
- import f from "./ApInfoLayoutAdmin.vue2.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent as u, ref as t, createElementBlock as p, openBlock as y, normalizeClass as s, unref as e, createElementVNode as n, normalizeStyle as h, renderSlot as d } from "vue";
2
- import "../../config-provider/index.mjs";
3
- import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
4
- import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-config.mjs";
5
- const L = /* @__PURE__ */ u({
6
- __name: "ApInfoLayoutAdmin",
7
- props: {
8
- headerStyle: { default: () => ({}) },
9
- bordered: { type: Boolean, default: !1 }
10
- },
11
- setup(b) {
12
- const l = t(), a = t(), f = () => {
13
- l.value && a.value && (l.value.scrollTop > 0 ? a.value.classList.add(o("header-shadow")) : a.value.classList.remove(o("header-shadow")));
14
- }, { b: i, e: o, m: c } = v("ap-info-layout-admin"), m = _("uiMode", "admin");
15
- return (r, k) => (y(), p("div", {
16
- ref_key: "containerRef",
17
- ref: l,
18
- class: s([e(i)(), `${e(c)(e(m))}`]),
19
- onScroll: f
20
- }, [
21
- n("div", {
22
- ref_key: "headerRef",
23
- ref: a,
24
- class: s([e(o)("sticky_box"), r.bordered ? e(o)("sticky_box-bordered") : ""]),
25
- style: h({
26
- ...r.headerStyle
27
- })
28
- }, [
29
- d(r.$slots, "header")
30
- ], 6),
31
- n("div", {
32
- class: s(e(o)("default_content"))
33
- }, [
34
- d(r.$slots, "default")
35
- ], 2)
36
- ], 34));
37
- }
38
- });
39
- export {
40
- L as default
41
- };
@@ -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,4 +0,0 @@
1
- import f from "./ap-info-layout.vue2.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,71 +0,0 @@
1
- import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B, createElementBlock as E, openBlock as d, normalizeClass as a, createBlock as H, createElementVNode as o, Teleport as k, renderSlot as s, createVNode as A, unref as N } from "vue";
2
- import { Divider as T } from "@aplus-frontend/antdv";
3
- import "../../config-provider/index.mjs";
4
- import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
5
- const q = /* @__PURE__ */ $({
6
- name: "ApInfoLayout",
7
- __name: "ap-info-layout",
8
- props: {
9
- toEl: { default: "#microapp-fixed-header" },
10
- telDisabled: { type: Boolean, default: !1 }
11
- },
12
- emits: ["update:telDisabled"],
13
- setup(i, { emit: c }) {
14
- const u = i, v = c, { b: l, be: p, bem: r } = V("info-layout"), m = t(() => [l("container")]), f = t(() => [l("header")]), C = t(() => [l("divider")]), b = t(() => [l("contant")]), g = t(() => [p("header", "contant")]), h = t(() => [r("header", "contant", "title")]), D = t(() => [r("header", "contant", "actions")]), n = t({
15
- get: () => u.telDisabled,
16
- set: (e) => {
17
- v("update:telDisabled", e);
18
- }
19
- });
20
- return y(() => {
21
- n.value = !1;
22
- }), B(() => {
23
- n.value = !0;
24
- }), (e, z) => (d(), E("div", {
25
- class: a(m.value)
26
- }, [
27
- (d(), H(k, {
28
- to: e.toEl,
29
- disabled: n.value
30
- }, [
31
- s(e.$slots, "header"),
32
- o("div", {
33
- class: a(`${f.value}`)
34
- }, [
35
- o("div", {
36
- class: a(g.value)
37
- }, [
38
- o("div", {
39
- class: a(h.value)
40
- }, [
41
- s(e.$slots, "title")
42
- ], 2),
43
- o("div", {
44
- class: a(D.value)
45
- }, [
46
- s(e.$slots, "actions")
47
- ], 2)
48
- ], 2)
49
- ], 2)
50
- ], 8, ["to", "disabled"])),
51
- o("div", {
52
- class: a(C.value)
53
- }, [
54
- s(e.$slots, "divider", {}, () => [
55
- A(N(T), {
56
- class: "ap-info-layout-divider",
57
- dashed: ""
58
- })
59
- ])
60
- ], 2),
61
- o("div", {
62
- class: a(b.value)
63
- }, [
64
- s(e.$slots, "content")
65
- ], 2)
66
- ], 2));
67
- }
68
- });
69
- export {
70
- q as default
71
- };
@@ -1,3 +0,0 @@
1
- import { default as ApInfoLayout } from './ApInfoLayout.vue';
2
- export * from './interface';
3
- export { ApInfoLayout };
@@ -1,2 +0,0 @@
1
- import "./ApInfoLayout.vue2.mjs";
2
- import "./interface.mjs";
@@ -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
-
File without changes
@@ -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';
@@ -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,4 +0,0 @@
1
- import f from "./ap-group-search.vue2.mjs";
2
- export {
3
- f as default
4
- };