@aplus-frontend/ui 0.0.1-beta.26 → 0.0.1-beta.27

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 (55) hide show
  1. package/es/src/ap-action/style/item.css +2 -1
  2. package/es/src/ap-form/interface.d.ts +1 -0
  3. package/es/src/ap-form/modal-form/index.vue.d.ts +11 -2
  4. package/es/src/ap-form/modal-form/index.vue.mjs +119 -76
  5. package/es/src/base-button/index.d.ts +1 -1
  6. package/es/src/basic/index.d.ts +1 -1
  7. package/es/src/button/index.d.ts +1 -1
  8. package/es/src/config-provider/index.d.ts +1 -1
  9. package/es/src/container/index.d.ts +1 -1
  10. package/es/src/count-down/index.d.ts +1 -1
  11. package/es/src/cropper/index.d.ts +369 -0
  12. package/es/src/description/index.d.ts +1 -1
  13. package/es/src/dropdown/index.d.ts +1 -1
  14. package/es/src/icon/index.d.ts +1 -1
  15. package/es/src/icon-picker/index.d.ts +1 -1
  16. package/es/src/modal/index.d.ts +963 -0
  17. package/es/src/scroll-bar/index.d.ts +1 -2
  18. package/es/src/strength-meter/index.d.ts +1 -1
  19. package/es/src/theme/antd-global-overwrite/admin/button.css +12 -6
  20. package/es/src/theme/antd-global-overwrite/admin/index.css +25 -6
  21. package/es/src/theme/antd-global-overwrite/admin/modal.css +13 -0
  22. package/es/src/theme/antd-global-overwrite/aplus/button.css +12 -6
  23. package/es/src/theme/antd-global-overwrite/aplus/index.css +25 -6
  24. package/es/src/theme/antd-global-overwrite/aplus/modal.css +13 -0
  25. package/es/src/theme/ap-action/item.css +2 -1
  26. package/es/src/transition/index.d.ts +1 -1
  27. package/es/src/utils/config-provider-preset.mjs +11 -11
  28. package/lib/src/ap-action/style/item.css +2 -1
  29. package/lib/src/ap-form/interface.d.ts +1 -0
  30. package/lib/src/ap-form/modal-form/index.vue.d.ts +11 -2
  31. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  32. package/lib/src/base-button/index.d.ts +1 -1
  33. package/lib/src/basic/index.d.ts +1 -1
  34. package/lib/src/button/index.d.ts +1 -1
  35. package/lib/src/config-provider/index.d.ts +1 -1
  36. package/lib/src/container/index.d.ts +1 -1
  37. package/lib/src/count-down/index.d.ts +1 -1
  38. package/lib/src/cropper/index.d.ts +369 -0
  39. package/lib/src/description/index.d.ts +1 -1
  40. package/lib/src/dropdown/index.d.ts +1 -1
  41. package/lib/src/icon/index.d.ts +1 -1
  42. package/lib/src/icon-picker/index.d.ts +1 -1
  43. package/lib/src/modal/index.d.ts +963 -0
  44. package/lib/src/scroll-bar/index.d.ts +1 -2
  45. package/lib/src/strength-meter/index.d.ts +1 -1
  46. package/lib/src/theme/antd-global-overwrite/admin/button.css +12 -6
  47. package/lib/src/theme/antd-global-overwrite/admin/index.css +25 -6
  48. package/lib/src/theme/antd-global-overwrite/admin/modal.css +13 -0
  49. package/lib/src/theme/antd-global-overwrite/aplus/button.css +12 -6
  50. package/lib/src/theme/antd-global-overwrite/aplus/index.css +25 -6
  51. package/lib/src/theme/antd-global-overwrite/aplus/modal.css +13 -0
  52. package/lib/src/theme/ap-action/item.css +2 -1
  53. package/lib/src/transition/index.d.ts +1 -1
  54. package/lib/src/utils/config-provider-preset.js +1 -1
  55. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '@vue/runtime-core';
1
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
2
2
  import { StyleValue } from '../type';
3
- import { Ref } from '@vue/reactivity';
4
3
  export * from './interface';
5
4
  export declare const Scrollbar: {
6
5
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
@@ -1,4 +1,4 @@
1
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '@vue/runtime-core';
1
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
2
2
  export * from './interface';
3
3
  export declare const StrengthMeter: {
4
4
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
@@ -2,18 +2,24 @@
2
2
  min-width: 88px;
3
3
  box-shadow: none;
4
4
  }
5
- .ant-btn-default[disabled],
6
- .ant-btn-default[disabled]:hover {
7
- color: #bfbfbf !important;
8
- background: #fafafa !important;
9
- border-color: #d9d9d9 !important;
10
- }
11
5
  .ant-btn-primary[disabled],
12
6
  .ant-btn-primary[disabled]:hover {
13
7
  color: #ffffff !important;
14
8
  background: #d6f1e5 !important;
15
9
  border-color: #d6f1e5 !important;
16
10
  }
11
+ .ant-btn-dangerous[disabled],
12
+ .ant-btn-dangerous[disabled]:hover {
13
+ color: #ffffff !important;
14
+ background: #ffdbdc !important;
15
+ border-color: #ffdbdc !important;
16
+ }
17
+ .ant-btn-default[disabled],
18
+ .ant-btn-default[disabled]:hover {
19
+ color: #bfbfbf !important;
20
+ background: #fafafa !important;
21
+ border-color: #d9d9d9 !important;
22
+ }
17
23
  .ant-btn-link[disabled],
18
24
  .ant-btn-link[disabled]:hover,
19
25
  .ant-btn-text[disabled],
@@ -23,18 +23,24 @@
23
23
  min-width: 88px;
24
24
  box-shadow: none;
25
25
  }
26
- .ant-btn-default[disabled],
27
- .ant-btn-default[disabled]:hover {
28
- color: #bfbfbf !important;
29
- background: #fafafa !important;
30
- border-color: #d9d9d9 !important;
31
- }
32
26
  .ant-btn-primary[disabled],
33
27
  .ant-btn-primary[disabled]:hover {
34
28
  color: #ffffff !important;
35
29
  background: #d6f1e5 !important;
36
30
  border-color: #d6f1e5 !important;
37
31
  }
32
+ .ant-btn-dangerous[disabled],
33
+ .ant-btn-dangerous[disabled]:hover {
34
+ color: #ffffff !important;
35
+ background: #ffdbdc !important;
36
+ border-color: #ffdbdc !important;
37
+ }
38
+ .ant-btn-default[disabled],
39
+ .ant-btn-default[disabled]:hover {
40
+ color: #bfbfbf !important;
41
+ background: #fafafa !important;
42
+ border-color: #d9d9d9 !important;
43
+ }
38
44
  .ant-btn-link[disabled],
39
45
  .ant-btn-link[disabled]:hover,
40
46
  .ant-btn-text[disabled],
@@ -215,6 +221,19 @@
215
221
  .ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
216
222
  min-width: 88px;
217
223
  }
224
+ .ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
225
+ color: #06c687;
226
+ }
227
+ .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
228
+ color: #1890ff;
229
+ }
230
+ .ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
231
+ .ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
232
+ color: #faad14;
233
+ }
234
+ .ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
235
+ color: #ff4d4f;
236
+ }
218
237
  .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
219
238
  margin: 16px 0 0;
220
239
  }
@@ -105,3 +105,16 @@
105
105
  .ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
106
106
  min-width: 88px;
107
107
  }
108
+ .ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
109
+ color: #06c687;
110
+ }
111
+ .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
112
+ color: #1890ff;
113
+ }
114
+ .ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
115
+ .ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
116
+ color: #faad14;
117
+ }
118
+ .ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
119
+ color: #ff4d4f;
120
+ }
@@ -2,18 +2,24 @@
2
2
  min-width: 88px;
3
3
  box-shadow: none;
4
4
  }
5
- .ant-btn-default[disabled],
6
- .ant-btn-default[disabled]:hover {
7
- color: #abb7cc !important;
8
- background: #f9f9fa !important;
9
- border-color: #dee4ed !important;
10
- }
11
5
  .ant-btn-primary[disabled],
12
6
  .ant-btn-primary[disabled]:hover {
13
7
  color: #ffffff !important;
14
8
  background: #cce2ff !important;
15
9
  border-color: #cce2ff !important;
16
10
  }
11
+ .ant-btn-dangerous[disabled],
12
+ .ant-btn-dangerous[disabled]:hover {
13
+ color: #ffffff !important;
14
+ background: #ffdbdc !important;
15
+ border-color: #ffdbdc !important;
16
+ }
17
+ .ant-btn-default[disabled],
18
+ .ant-btn-default[disabled]:hover {
19
+ color: #abb7cc !important;
20
+ background: #f9f9fa !important;
21
+ border-color: #dee4ed !important;
22
+ }
17
23
  .ant-btn-link[disabled],
18
24
  .ant-btn-link[disabled]:hover,
19
25
  .ant-btn-text[disabled],
@@ -23,18 +23,24 @@
23
23
  min-width: 88px;
24
24
  box-shadow: none;
25
25
  }
26
- .ant-btn-default[disabled],
27
- .ant-btn-default[disabled]:hover {
28
- color: #abb7cc !important;
29
- background: #f9f9fa !important;
30
- border-color: #dee4ed !important;
31
- }
32
26
  .ant-btn-primary[disabled],
33
27
  .ant-btn-primary[disabled]:hover {
34
28
  color: #ffffff !important;
35
29
  background: #cce2ff !important;
36
30
  border-color: #cce2ff !important;
37
31
  }
32
+ .ant-btn-dangerous[disabled],
33
+ .ant-btn-dangerous[disabled]:hover {
34
+ color: #ffffff !important;
35
+ background: #ffdbdc !important;
36
+ border-color: #ffdbdc !important;
37
+ }
38
+ .ant-btn-default[disabled],
39
+ .ant-btn-default[disabled]:hover {
40
+ color: #abb7cc !important;
41
+ background: #f9f9fa !important;
42
+ border-color: #dee4ed !important;
43
+ }
38
44
  .ant-btn-link[disabled],
39
45
  .ant-btn-link[disabled]:hover,
40
46
  .ant-btn-text[disabled],
@@ -209,6 +215,19 @@
209
215
  .ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
210
216
  min-width: 88px;
211
217
  }
218
+ .ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
219
+ color: #06c687;
220
+ }
221
+ .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
222
+ color: #0070ff;
223
+ }
224
+ .ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
225
+ .ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
226
+ color: #ffa940;
227
+ }
228
+ .ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
229
+ color: #ff4d4f;
230
+ }
212
231
  .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
213
232
  margin: 10px 0 0;
214
233
  }
@@ -99,3 +99,16 @@
99
99
  .ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
100
100
  min-width: 88px;
101
101
  }
102
+ .ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
103
+ color: #06c687;
104
+ }
105
+ .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
106
+ color: #0070ff;
107
+ }
108
+ .ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
109
+ .ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
110
+ color: #ffa940;
111
+ }
112
+ .ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
113
+ color: #ff4d4f;
114
+ }
@@ -24,5 +24,6 @@
24
24
  margin-right: 4px;
25
25
  }
26
26
  .aplus-action-item--disabled {
27
- color: #ABB7CC;
27
+ color: #CCE2FF;
28
+ cursor: not-allowed;
28
29
  }
@@ -1,4 +1,4 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from '@vue/runtime-core';
1
+ import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  export { default as CollapseTransition } from './collapse-transition.vue';
3
3
  export declare const FadeTransition: DefineComponent<{
4
4
  group: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("lodash-unified");function s(e,n){var t,r;return e!=null&&e.parentElement?e.parentElement.classList.contains(n)?((t=e.parentElement)==null?void 0:t.parentElement)&&((r=e.parentElement.parentElement.className)==null?void 0:r.includes("basic-table")):s(e.parentElement,n):!1}const a=e=>s(e,"ant-form")&&(e==null?void 0:e.parentNode)||(document==null?void 0:document.body),u=({text:e})=>{const n=t=>t==null||t==="";return Array.isArray(e)?n(e[0])?"--":e[0]:n(e)?"--":e},f=!1,o={getPopupContainer:a,transformCellText:u,autoInsertSpaceInButton:f};function l(e){const n={...e},t=Object.keys(o);for(const r of t)i.isUndefined(n[r])&&(n[r]=o[r]);return n}exports.antdConfigProviderPresets=o;exports.autoInsertSpaceInButton=f;exports.getPopupContainer=a;exports.mergeAntdProvideConfig=l;exports.transformCellText=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("lodash-unified");function s(e,n){var t,r;return e!=null&&e.parentElement?e.parentElement.classList.contains(n)?(t=e.parentElement)!=null&&t.parentElement?(r=e.parentElement.parentElement.className)==null?void 0:r.includes("basic-table"):!1:s(e.parentElement,n):!1}const a=e=>s(e,"ant-form")&&(e==null?void 0:e.parentNode)||(document==null?void 0:document.body),u=({text:e})=>{const n=t=>t==null||t==="";return Array.isArray(e)?n(e[0])?"--":e[0]:n(e)?"--":e},f=!1,o={getPopupContainer:a,transformCellText:u,autoInsertSpaceInButton:f};function l(e){const n={...e},t=Object.keys(o);for(const r of t)i.isUndefined(n[r])&&(n[r]=o[r]);return n}exports.antdConfigProviderPresets=o;exports.autoInsertSpaceInButton=f;exports.getPopupContainer=a;exports.mergeAntdProvideConfig=l;exports.transformCellText=u;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "0.0.1-beta.26",
3
+ "version": "0.0.1-beta.27",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "files": [