@aplus-frontend/ui 6.36.0 → 6.38.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 (86) hide show
  1. package/es/index.mjs +224 -231
  2. package/es/src/ag-grid/components/row/index.vue.d.ts +6 -0
  3. package/es/src/ag-grid/components/row/index.vue.mjs +4 -0
  4. package/es/src/ag-grid/components/row/index.vue2.mjs +14 -0
  5. package/es/src/ag-grid/editable/form-item.vue.mjs +10 -9
  6. package/es/src/ag-grid/editable/index.vue.mjs +17 -16
  7. package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
  8. package/es/src/ag-grid/hooks/use-row-selection.mjs +81 -68
  9. package/es/src/ag-grid/index.vue.d.ts +4 -31
  10. package/es/src/ag-grid/index.vue.mjs +256 -232
  11. package/es/src/ag-grid/interface.d.ts +55 -3
  12. package/es/src/ap-action/group/index.vue.mjs +45 -35
  13. package/es/src/ap-action/interface.d.ts +17 -0
  14. package/es/src/ap-action/item/index.vue2.mjs +42 -25
  15. package/es/src/ap-action/item-dropdown/index.vue.mjs +22 -20
  16. package/es/src/ap-action/item-modal/index.vue.mjs +14 -12
  17. package/es/src/ap-action/item-popconfirm/index.vue.mjs +13 -11
  18. package/es/src/index.d.ts +0 -1
  19. package/es/src/index.mjs +280 -288
  20. package/es/src/path-map.mjs +0 -1
  21. package/es/src/version.d.ts +1 -1
  22. package/es/src/version.mjs +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/src/ag-grid/components/row/index.vue.d.ts +6 -0
  25. package/lib/src/ag-grid/components/row/index.vue.js +1 -0
  26. package/lib/src/ag-grid/components/row/index.vue2.js +1 -0
  27. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  28. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  29. package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
  30. package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
  31. package/lib/src/ag-grid/index.vue.d.ts +4 -31
  32. package/lib/src/ag-grid/index.vue.js +1 -1
  33. package/lib/src/ag-grid/interface.d.ts +55 -3
  34. package/lib/src/ap-action/group/index.vue.js +1 -1
  35. package/lib/src/ap-action/interface.d.ts +17 -0
  36. package/lib/src/ap-action/item/index.vue2.js +1 -1
  37. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  38. package/lib/src/ap-action/item-modal/index.vue.js +1 -1
  39. package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
  40. package/lib/src/index.d.ts +0 -1
  41. package/lib/src/index.js +1 -1
  42. package/lib/src/path-map.js +1 -1
  43. package/lib/src/version.d.ts +1 -1
  44. package/lib/src/version.js +1 -1
  45. package/package.json +3 -3
  46. package/theme/ag-grid/index.css +6 -0
  47. package/theme/ap-action/item.css +6 -0
  48. package/theme/ap-action/item.less +9 -0
  49. package/theme/ap-grid/index.css +6 -0
  50. package/theme/ap-table/ap-table.css +6 -0
  51. package/theme/ap-table-modal/index.css +6 -0
  52. package/theme/editable-table/index.css +6 -0
  53. package/theme/index.css +6 -3
  54. package/theme/index.less +0 -1
  55. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -3
  56. package/es/src/work-order-modal/createWorkOrder.mjs +0 -32
  57. package/es/src/work-order-modal/help-message.vue.d.ts +0 -3
  58. package/es/src/work-order-modal/help-message.vue.mjs +0 -4
  59. package/es/src/work-order-modal/help-message.vue2.mjs +0 -36
  60. package/es/src/work-order-modal/index.d.ts +0 -4
  61. package/es/src/work-order-modal/index.mjs +0 -8
  62. package/es/src/work-order-modal/interfaces.d.ts +0 -31
  63. package/es/src/work-order-modal/interfaces.mjs +0 -9
  64. package/es/src/work-order-modal/style/css.d.ts +0 -0
  65. package/es/src/work-order-modal/style/css.js +0 -4
  66. package/es/src/work-order-modal/style/index.d.ts +0 -0
  67. package/es/src/work-order-modal/style/index.js +0 -4
  68. package/es/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
  69. package/es/src/work-order-modal/work-order-modal.vue.mjs +0 -192
  70. package/es/src/work-order-modal/work-order-modal.vue2.mjs +0 -4
  71. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -3
  72. package/lib/src/work-order-modal/createWorkOrder.js +0 -1
  73. package/lib/src/work-order-modal/help-message.vue.d.ts +0 -3
  74. package/lib/src/work-order-modal/help-message.vue.js +0 -1
  75. package/lib/src/work-order-modal/help-message.vue2.js +0 -1
  76. package/lib/src/work-order-modal/index.d.ts +0 -4
  77. package/lib/src/work-order-modal/index.js +0 -1
  78. package/lib/src/work-order-modal/interfaces.d.ts +0 -31
  79. package/lib/src/work-order-modal/interfaces.js +0 -1
  80. package/lib/src/work-order-modal/style/css.cjs +0 -4
  81. package/lib/src/work-order-modal/style/css.d.ts +0 -0
  82. package/lib/src/work-order-modal/style/index.cjs +0 -4
  83. package/lib/src/work-order-modal/style/index.d.ts +0 -0
  84. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
  85. package/lib/src/work-order-modal/work-order-modal.vue.js +0 -1
  86. package/lib/src/work-order-modal/work-order-modal.vue2.js +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={ApActionItem:["ap-action","item"],ApActionItemModal:["ap-action","item-modal"],ApActionItemPopconfirm:["ap-action","item-popconfirm"],ApActionItemDropdown:["ap-action","item-dropdown"],ApActionGroup:["ap-action","group"],ApButton:["ap-button"],ApActionButton:["ap-action-button"],ApDescriptions:["ap-descriptions"],ApDownload:["ap-download"],ApField:["ap-field"],ApFieldText:["ap-field","text"],ApFieldCheckbox:["ap-field","checkbox"],ApFieldDate:["ap-field","date"],ApFieldNumber:["ap-field","number"],ApFieldRadio:["ap-field","radio"],ApFieldSwitch:["ap-field","switch"],ApFieldTextArea:["ap-field","text-area"],ApFieldDateRange:["ap-field","date-range"],ApFieldSelect:["ap-field","select"],ApFieldPassword:["ap-field","password"],ApFieldSlider:["ap-field","slider"],ApFieldSegmented:["ap-field","segmented"],ApFieldDateRate:["ap-field","rate"],ApFieldTreeSelect:["ap-field","tree-select"],ApForm:["ap-form"],ApFormItem:["ap-form","item"],ApFormItemGroup:["ap-form","item-group"],ApFormList:["ap-form","list"],ApFormSearchForm:["ap-form","search-form"],ApFormModalForm:["ap-form","modal-form"],ApFormDependency:["ap-form","dependency"],ApFormSet:["ap-form","set"],ApFormDrawerForm:["ap-form","drawer-form"],ApFormItemText:["ap-form","item-text"],ApFormItemTextArea:["ap-form","item-text-area"],ApFormItemNumber:["ap-form","item-number"],ApFormItemDate:["ap-form","item-date"],ApFormItemDateRange:["ap-form","item-date-range"],ApFormItemRadio:["ap-form","item-radio"],ApFormItemSelect:["ap-form","item-select"],ApFormItemSwitch:["ap-form","item-switch"],ApFormItemCheckbox:["ap-form","item-checkbox"],ApFormItemTextPassword:["ap-form","item-text-password"],ApFormItemTreeSelect:["ap-form","item-tree-select"],ApFormItemTextGroup:["ap-form","item-text-group"],ApList:["ap-list"],ApModal:["ap-modal"],ApDrawer:["ap-drawer"],ApTable:["ap-table"],ApTag:["ap-tag"],ApTagGroup:["ap-tag","group"],ApUpload:["ap-upload"],CheckCard:["check-card"],CheckCardGroup:["check-card","group"],ConfigProvider:["config-provider"],EditableTable:["editable-table"],EditableTableFormItem:["editable-table","form-item"],WorkOrderModal:["work-order-modal"],ApAttachment:["business","ap-attachment"],ApBatchAction:["business","ap-batch-action"],ApBatchActionGroup:["business","ap-batch-action-group"],ApButtonGroup:["business","ap-button-group"],ApCard:["business","ap-card"],ApExpandAlert:["business","ap-expand-alert"],ApExportGroup:["business","ap-export-group"],ApImage:["business","ap-image"],ApInputRadio:["business","ap-input-radio"],ApSizeInput:["business","ap-size-input"],ApLabel:["business","ap-label"],ApLabelGroup:["business","ap-label","group"],ApLadder:["business","ap-ladder"],ApProductInfo:["business","ap-product-info"],ApCopy:["business","ap-copy"],ApSelectLayout:["business","ap-select-layout"],ApStatus:["business","ap-status"],ApStatusGroup:["business","ap-status","group"],ApTableModal:["business","ap-table-modal"],useTableModal:["business","ap-table-modal"],useTableSelectModal:["business","ap-table-modal"],ApTitle:["business","ap-title"],ApSummary:["business","ap-summary"],ScrollBar:["scroll-bar"],ScrollView:["scroll-view"],ApAppendix:["business","ap-appendix"],ApPopoverSelect:["business","ap-group-search","popover-select"],ApExtensionSelect:["business","ap-group-search","extension-select"],ApUploadSingle:["business","ap-upload-file","ap-upload-single"],BatchInputGroup:["business","batch-input-group"],ApFormControlRender:["ap-form","render"],ApFormItemRender:["ap-form","render"],Portal:["portal"],FullScreen:["full-screen"],ResizeObserver:["resize-observer"],ApGrid:["ap-grid"],EditableGrid:["ap-grid","editable"],EditableGridFormItem:["ap-grid","editable"],ApText:["text"],Mask:["mask"],Splitter:["splitter"],ApView:["business","ap-view"],ApRadioGroup:["business","ap-radio-group"],ApDraggableGrid:["business","ap-draggable-grid"],ApValueSelectCard:["business","ap-value-select-card"],ApProCard:["ap-pro-card"]};exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={ApActionItem:["ap-action","item"],ApActionItemModal:["ap-action","item-modal"],ApActionItemPopconfirm:["ap-action","item-popconfirm"],ApActionItemDropdown:["ap-action","item-dropdown"],ApActionGroup:["ap-action","group"],ApButton:["ap-button"],ApActionButton:["ap-action-button"],ApDescriptions:["ap-descriptions"],ApDownload:["ap-download"],ApField:["ap-field"],ApFieldText:["ap-field","text"],ApFieldCheckbox:["ap-field","checkbox"],ApFieldDate:["ap-field","date"],ApFieldNumber:["ap-field","number"],ApFieldRadio:["ap-field","radio"],ApFieldSwitch:["ap-field","switch"],ApFieldTextArea:["ap-field","text-area"],ApFieldDateRange:["ap-field","date-range"],ApFieldSelect:["ap-field","select"],ApFieldPassword:["ap-field","password"],ApFieldSlider:["ap-field","slider"],ApFieldSegmented:["ap-field","segmented"],ApFieldDateRate:["ap-field","rate"],ApFieldTreeSelect:["ap-field","tree-select"],ApForm:["ap-form"],ApFormItem:["ap-form","item"],ApFormItemGroup:["ap-form","item-group"],ApFormList:["ap-form","list"],ApFormSearchForm:["ap-form","search-form"],ApFormModalForm:["ap-form","modal-form"],ApFormDependency:["ap-form","dependency"],ApFormSet:["ap-form","set"],ApFormDrawerForm:["ap-form","drawer-form"],ApFormItemText:["ap-form","item-text"],ApFormItemTextArea:["ap-form","item-text-area"],ApFormItemNumber:["ap-form","item-number"],ApFormItemDate:["ap-form","item-date"],ApFormItemDateRange:["ap-form","item-date-range"],ApFormItemRadio:["ap-form","item-radio"],ApFormItemSelect:["ap-form","item-select"],ApFormItemSwitch:["ap-form","item-switch"],ApFormItemCheckbox:["ap-form","item-checkbox"],ApFormItemTextPassword:["ap-form","item-text-password"],ApFormItemTreeSelect:["ap-form","item-tree-select"],ApFormItemTextGroup:["ap-form","item-text-group"],ApList:["ap-list"],ApModal:["ap-modal"],ApDrawer:["ap-drawer"],ApTable:["ap-table"],ApTag:["ap-tag"],ApTagGroup:["ap-tag","group"],ApUpload:["ap-upload"],CheckCard:["check-card"],CheckCardGroup:["check-card","group"],ConfigProvider:["config-provider"],EditableTable:["editable-table"],EditableTableFormItem:["editable-table","form-item"],ApAttachment:["business","ap-attachment"],ApBatchAction:["business","ap-batch-action"],ApBatchActionGroup:["business","ap-batch-action-group"],ApButtonGroup:["business","ap-button-group"],ApCard:["business","ap-card"],ApExpandAlert:["business","ap-expand-alert"],ApExportGroup:["business","ap-export-group"],ApImage:["business","ap-image"],ApInputRadio:["business","ap-input-radio"],ApSizeInput:["business","ap-size-input"],ApLabel:["business","ap-label"],ApLabelGroup:["business","ap-label","group"],ApLadder:["business","ap-ladder"],ApProductInfo:["business","ap-product-info"],ApCopy:["business","ap-copy"],ApSelectLayout:["business","ap-select-layout"],ApStatus:["business","ap-status"],ApStatusGroup:["business","ap-status","group"],ApTableModal:["business","ap-table-modal"],useTableModal:["business","ap-table-modal"],useTableSelectModal:["business","ap-table-modal"],ApTitle:["business","ap-title"],ApSummary:["business","ap-summary"],ScrollBar:["scroll-bar"],ScrollView:["scroll-view"],ApAppendix:["business","ap-appendix"],ApPopoverSelect:["business","ap-group-search","popover-select"],ApExtensionSelect:["business","ap-group-search","extension-select"],ApUploadSingle:["business","ap-upload-file","ap-upload-single"],BatchInputGroup:["business","batch-input-group"],ApFormControlRender:["ap-form","render"],ApFormItemRender:["ap-form","render"],Portal:["portal"],FullScreen:["full-screen"],ResizeObserver:["resize-observer"],ApGrid:["ap-grid"],EditableGrid:["ap-grid","editable"],EditableGridFormItem:["ap-grid","editable"],ApText:["text"],Mask:["mask"],Splitter:["splitter"],ApView:["business","ap-view"],ApRadioGroup:["business","ap-radio-group"],ApDraggableGrid:["business","ap-draggable-grid"],ApValueSelectCard:["business","ap-value-select-card"],ApProCard:["ap-pro-card"]};exports.default=e;
@@ -1,2 +1,2 @@
1
- declare const _default: "6.36.0";
1
+ declare const _default: "6.38.0";
2
2
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.36.0";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.38.0";exports.default=e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "6.36.0",
3
+ "version": "6.38.0",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -41,14 +41,14 @@
41
41
  "@aplus-frontend/hooks": "1.0.7"
42
42
  },
43
43
  "peerDependencies": {
44
- "@aplus-frontend/antdv": "^1.2.12",
44
+ "@aplus-frontend/antdv": "^1.2.13",
45
45
  "@aplus-frontend/icon": "^1.2.6",
46
46
  "@aplus-frontend/oss": "^1.1.2",
47
47
  "vue": "^3.5.17",
48
48
  "vxe-table": "^4.13.37"
49
49
  },
50
50
  "devDependencies": {
51
- "@aplus-frontend/antdv": "^1.2.12",
51
+ "@aplus-frontend/antdv": "^1.2.13",
52
52
  "@aplus-frontend/icon": "^1.2.6",
53
53
  "@aplus-frontend/oss": "^1.1.2",
54
54
  "@types/sortablejs": "^1.15.8",
@@ -532,6 +532,12 @@
532
532
  .aplus-action-item--warn.aplus-action-item--disabled {
533
533
  color: var(--ap-color-warn-disabled);
534
534
  }
535
+ .aplus-action-item__icon-wrapper {
536
+ padding-right: 4px;
537
+ }
538
+ .aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
539
+ padding-right: 0;
540
+ }
535
541
  .aplus-action-item-dropdown__item .aplus-action-item {
536
542
  width: 100%;
537
543
  }
@@ -94,3 +94,9 @@
94
94
  .aplus-action-item--warn.aplus-action-item--disabled {
95
95
  color: var(--ap-color-warn-disabled);
96
96
  }
97
+ .aplus-action-item__icon-wrapper {
98
+ padding-right: 4px;
99
+ }
100
+ .aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
101
+ padding-right: 0;
102
+ }
@@ -2,6 +2,7 @@
2
2
  @import '../mixins/config.less';
3
3
 
4
4
  @aid: ~'@{ns}-action-item--disabled';
5
+ @aiiw: ~'@{ns}-action-item__icon-wrapper';
5
6
 
6
7
  .b(action-item, {
7
8
  .reset-component();
@@ -52,4 +53,12 @@
52
53
  &--warn&--disabled {
53
54
  color: var(--ap-color-warn-disabled);
54
55
  }
56
+ &__icon-wrapper {
57
+ padding-right: @spacing-xs;
58
+ }
59
+ &--icon-first {
60
+ .@{aiiw} {
61
+ padding-right: 0;
62
+ }
63
+ }
55
64
  });
@@ -496,6 +496,12 @@
496
496
  .aplus-action-item--warn.aplus-action-item--disabled {
497
497
  color: var(--ap-color-warn-disabled);
498
498
  }
499
+ .aplus-action-item__icon-wrapper {
500
+ padding-right: 4px;
501
+ }
502
+ .aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
503
+ padding-right: 0;
504
+ }
499
505
  .aplus-action-item-dropdown__item .aplus-action-item {
500
506
  width: 100%;
501
507
  }
@@ -689,6 +689,12 @@
689
689
  .aplus-action-item--warn.aplus-action-item--disabled {
690
690
  color: var(--ap-color-warn-disabled);
691
691
  }
692
+ .aplus-action-item__icon-wrapper {
693
+ padding-right: 4px;
694
+ }
695
+ .aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
696
+ padding-right: 0;
697
+ }
692
698
  .aplus-action-item-dropdown__item .aplus-action-item {
693
699
  width: 100%;
694
700
  }
@@ -689,6 +689,12 @@
689
689
  .aplus-action-item--warn.aplus-action-item--disabled {
690
690
  color: var(--ap-color-warn-disabled);
691
691
  }
692
+ .aplus-action-item__icon-wrapper {
693
+ padding-right: 4px;
694
+ }
695
+ .aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
696
+ padding-right: 0;
697
+ }
692
698
  .aplus-action-item-dropdown__item .aplus-action-item {
693
699
  width: 100%;
694
700
  }
@@ -496,6 +496,12 @@
496
496
  .aplus-action-item--warn.aplus-action-item--disabled {
497
497
  color: var(--ap-color-warn-disabled);
498
498
  }
499
+ .aplus-action-item__icon-wrapper {
500
+ padding-right: 4px;
501
+ }
502
+ .aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
503
+ padding-right: 0;
504
+ }
499
505
  .aplus-action-item-dropdown__item .aplus-action-item {
500
506
  width: 100%;
501
507
  }
package/theme/index.css CHANGED
@@ -741,6 +741,12 @@
741
741
  .aplus-action-item--warn.aplus-action-item--disabled {
742
742
  color: var(--ap-color-warn-disabled);
743
743
  }
744
+ .aplus-action-item__icon-wrapper {
745
+ padding-right: 4px;
746
+ }
747
+ .aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
748
+ padding-right: 0;
749
+ }
744
750
  .aplus-action-item-dropdown__item .aplus-action-item {
745
751
  width: 100%;
746
752
  }
@@ -2973,9 +2979,6 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2973
2979
  flex: 1;
2974
2980
  text-align: right;
2975
2981
  }
2976
- .aplus-work-order-modal .ant-form-item .ant-form-item-label {
2977
- min-width: 86px;
2978
- }
2979
2982
  .aplus-ap-summary__item {
2980
2983
  height: 38px;
2981
2984
  padding: 8px 12px !important;
package/theme/index.less CHANGED
@@ -28,7 +28,6 @@
28
28
  @import './ap-upload/index.less';
29
29
  @import './check-card/index.less';
30
30
  @import './editable-table/index.less';
31
- @import './work-order-modal/index.less';
32
31
  @import './ap-summary/index.less';
33
32
  @import './ap-table-modal/index.less';
34
33
  @import './scroll-bar/index.less';
@@ -1,3 +0,0 @@
1
- import { GetOssAccess } from './interfaces';
2
- import { Recordable } from '../type';
3
- export declare function createWorkOrderModal(api: (args?: any) => Promise<any>, getOssAccess: GetOssAccess, initialValues?: Recordable, disabledList?: string[], successCallback?: () => void): void;
@@ -1,32 +0,0 @@
1
- import { defineComponent as s, createVNode as o, render as t, h as c } from "vue";
2
- import "./work-order-modal.vue2.mjs";
3
- import "../config-provider/index.mjs";
4
- import { ConfigProvider as p, globalConfigCached as u } from "../config-provider/config-provider.mjs";
5
- import f from "./work-order-modal.vue.mjs";
6
- function E(n, r, a = {}, l = [], d = () => {
7
- }) {
8
- const i = document.getElementsByTagName("body")[0], e = document.createElement("div");
9
- i.appendChild(e), t(c(/* @__PURE__ */ s({
10
- render() {
11
- return o(p, u.value, {
12
- default: () => [o(f, {
13
- api: n,
14
- getOssAccess: r,
15
- onModalClose: m,
16
- open: !0,
17
- initialValues: a,
18
- disabledList: l,
19
- successCallback: d
20
- }, null)]
21
- });
22
- }
23
- })), e);
24
- function m() {
25
- setTimeout(() => {
26
- t(null, e), e.parentElement?.removeChild(e);
27
- }, 500);
28
- }
29
- }
30
- export {
31
- E as createWorkOrderModal
32
- };
@@ -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, {}, any>;
3
- export default _default;
@@ -1,4 +0,0 @@
1
- import f from "./help-message.vue2.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,36 +0,0 @@
1
- import { defineComponent as n, createBlock as s, openBlock as a, unref as o, withCtx as r, createVNode as d, createElementVNode as t, toDisplayString as i } from "vue";
2
- import { QuestionCircleOutlined as p } from "@ant-design/icons-vue";
3
- import { Tooltip as m } from "@aplus-frontend/antdv";
4
- import "../config-provider/index.mjs";
5
- import { useLocale as f } from "../config-provider/hooks/use-locale.mjs";
6
- const u = { class: "title" }, c = { class: "flex" }, _ = { class: "flex" }, w = /* @__PURE__ */ n({
7
- __name: "help-message",
8
- setup(x) {
9
- const { t: l } = f();
10
- return (v, e) => (a(), s(o(m), { placement: "right" }, {
11
- title: r(() => [
12
- t("div", u, [
13
- t("div", c, [
14
- e[0] || (e[0] = t("div", null, "1.", -1)),
15
- t("div", null, i(o(l)("ap.workOrderModal.fileSizeMax")) + ":50MB", 1)
16
- ]),
17
- t("div", _, [
18
- e[1] || (e[1] = t("div", null, "2.", -1)),
19
- t("div", null, i(o(l)("ap.workOrderModal.fileCountMax", { x: 10 })), 1)
20
- ])
21
- ])
22
- ]),
23
- default: r(() => [
24
- d(o(p), { style: {
25
- color: "#1890FF",
26
- fontSize: "16px",
27
- transform: "translateX(-6px)"
28
- } })
29
- ]),
30
- _: 1
31
- }));
32
- }
33
- });
34
- export {
35
- w as default
36
- };
@@ -1,4 +0,0 @@
1
- import { default as WorkOrderModal } from './work-order-modal.vue';
2
- export * from './interfaces';
3
- export * from './createWorkOrder';
4
- export { WorkOrderModal };
@@ -1,8 +0,0 @@
1
- import "./work-order-modal.vue2.mjs";
2
- import { DictCode as t, langMap as a } from "./interfaces.mjs";
3
- import { createWorkOrderModal as d } from "./createWorkOrder.mjs";
4
- export {
5
- t as DictCode,
6
- d as createWorkOrderModal,
7
- a as langMap
8
- };
@@ -1,31 +0,0 @@
1
- import { client } from '@aplus-frontend/oss';
2
- import { ModalProps } from '@aplus-frontend/antdv';
3
- import { Recordable } from '../type';
4
- /**
5
- * 表单项
6
- */
7
- export interface WorkOrderInfo {
8
- ticketsTitle: string;
9
- ticketsType: string;
10
- ticketsContent: string;
11
- ticketsLevel: string;
12
- }
13
- /**
14
- * 字典
15
- */
16
- export declare enum DictCode {
17
- TicketsStatus = "aplus_tickets_status",// 工单状态
18
- TicketsType = "tickets_type",//工单类型
19
- TicketsLevel = "tickets_level"
20
- }
21
- export type GetOssAccess = Parameters<typeof client.initOssClient>[0]['getOssAccess'];
22
- export interface WorkOrderModalProps extends ModalProps {
23
- api: (args?: any) => Promise<any>;
24
- getOssAccess: GetOssAccess;
25
- initialValues?: Recordable;
26
- disabledList?: string[];
27
- successCallback?: () => void;
28
- }
29
- type LocaleType = 'zh_CN' | 'en_US';
30
- export declare const langMap: Record<string, LocaleType>;
31
- export {};
@@ -1,9 +0,0 @@
1
- var e = /* @__PURE__ */ ((t) => (t.TicketsStatus = "aplus_tickets_status", t.TicketsType = "tickets_type", t.TicketsLevel = "tickets_level", t))(e || {});
2
- const s = {
3
- "zh-cn": "zh_CN",
4
- en: "en_US"
5
- };
6
- export {
7
- e as DictCode,
8
- s as langMap
9
- };
File without changes
@@ -1,4 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-form/index.css';
2
- import '@aplus-frontend/ui/theme/work-order-modal/index.css';
3
- import '@aplus-frontend/ui/theme/ap-field/index.css';
4
- import '@aplus-frontend/ui/theme/ap-upload/index.css';
File without changes
@@ -1,4 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-form/index.less';
2
- import '@aplus-frontend/ui/theme/work-order-modal/index.less';
3
- import '@aplus-frontend/ui/theme/ap-field/index.less';
4
- import '@aplus-frontend/ui/theme/ap-upload/index.less';