@aplus-frontend/ui 6.37.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 (71) 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 +2 -1
  10. package/es/src/ag-grid/index.vue.mjs +256 -232
  11. package/es/src/ag-grid/interface.d.ts +40 -3
  12. package/es/src/ap-action/group/index.vue.mjs +24 -21
  13. package/es/src/ap-action/item/index.vue2.mjs +28 -20
  14. package/es/src/index.d.ts +0 -1
  15. package/es/src/index.mjs +280 -288
  16. package/es/src/path-map.mjs +0 -1
  17. package/es/src/version.d.ts +1 -1
  18. package/es/src/version.mjs +1 -1
  19. package/lib/index.js +1 -1
  20. package/lib/src/ag-grid/components/row/index.vue.d.ts +6 -0
  21. package/lib/src/ag-grid/components/row/index.vue.js +1 -0
  22. package/lib/src/ag-grid/components/row/index.vue2.js +1 -0
  23. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  24. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  25. package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
  26. package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
  27. package/lib/src/ag-grid/index.vue.d.ts +2 -1
  28. package/lib/src/ag-grid/index.vue.js +1 -1
  29. package/lib/src/ag-grid/interface.d.ts +40 -3
  30. package/lib/src/ap-action/group/index.vue.js +1 -1
  31. package/lib/src/ap-action/item/index.vue2.js +1 -1
  32. package/lib/src/index.d.ts +0 -1
  33. package/lib/src/index.js +1 -1
  34. package/lib/src/path-map.js +1 -1
  35. package/lib/src/version.d.ts +1 -1
  36. package/lib/src/version.js +1 -1
  37. package/package.json +1 -1
  38. package/theme/index.css +0 -3
  39. package/theme/index.less +0 -1
  40. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -3
  41. package/es/src/work-order-modal/createWorkOrder.mjs +0 -32
  42. package/es/src/work-order-modal/help-message.vue.d.ts +0 -3
  43. package/es/src/work-order-modal/help-message.vue.mjs +0 -4
  44. package/es/src/work-order-modal/help-message.vue2.mjs +0 -36
  45. package/es/src/work-order-modal/index.d.ts +0 -4
  46. package/es/src/work-order-modal/index.mjs +0 -8
  47. package/es/src/work-order-modal/interfaces.d.ts +0 -31
  48. package/es/src/work-order-modal/interfaces.mjs +0 -9
  49. package/es/src/work-order-modal/style/css.d.ts +0 -0
  50. package/es/src/work-order-modal/style/css.js +0 -4
  51. package/es/src/work-order-modal/style/index.d.ts +0 -0
  52. package/es/src/work-order-modal/style/index.js +0 -4
  53. package/es/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
  54. package/es/src/work-order-modal/work-order-modal.vue.mjs +0 -192
  55. package/es/src/work-order-modal/work-order-modal.vue2.mjs +0 -4
  56. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -3
  57. package/lib/src/work-order-modal/createWorkOrder.js +0 -1
  58. package/lib/src/work-order-modal/help-message.vue.d.ts +0 -3
  59. package/lib/src/work-order-modal/help-message.vue.js +0 -1
  60. package/lib/src/work-order-modal/help-message.vue2.js +0 -1
  61. package/lib/src/work-order-modal/index.d.ts +0 -4
  62. package/lib/src/work-order-modal/index.js +0 -1
  63. package/lib/src/work-order-modal/interfaces.d.ts +0 -31
  64. package/lib/src/work-order-modal/interfaces.js +0 -1
  65. package/lib/src/work-order-modal/style/css.cjs +0 -4
  66. package/lib/src/work-order-modal/style/css.d.ts +0 -0
  67. package/lib/src/work-order-modal/style/index.cjs +0 -4
  68. package/lib/src/work-order-modal/style/index.d.ts +0 -0
  69. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
  70. package/lib/src/work-order-modal/work-order-modal.vue.js +0 -1
  71. package/lib/src/work-order-modal/work-order-modal.vue2.js +0 -1
@@ -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';