orion-design 0.1.10 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/dist/components/Form/Form.d.ts +1 -0
  2. package/dist/components/Form/Form.js.map +1 -1
  3. package/dist/components/Form/LovInput/LovInput.d.ts +20 -0
  4. package/dist/components/Form/LovInput/LovInput.js +5 -0
  5. package/dist/components/Form/LovInput/LovInput.js.map +1 -0
  6. package/dist/components/Form/LovInput/LovInput.vue.d.ts +5351 -0
  7. package/dist/components/Form/LovInput/hooks/useLov.d.ts +1 -0
  8. package/dist/components/Form/LovInput/hooks/useLov.js +9 -0
  9. package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -0
  10. package/dist/components/Form/LovInput/index.d.ts +2 -0
  11. package/dist/components/Form/LovInput/index.js +7 -0
  12. package/dist/components/Form/LovInput/index.js.map +1 -0
  13. package/dist/components/Form/index.d.ts +3 -0
  14. package/dist/components/Form/index.js +363 -277
  15. package/dist/components/Form/index.js.map +1 -1
  16. package/dist/components/Pagetable/Pagetable.d.ts +16 -1
  17. package/dist/components/Pagetable/index.d.ts +12 -1
  18. package/dist/components/Pagetable/index.js +166 -160
  19. package/dist/components/Pagetable/index.js.map +1 -1
  20. package/dist/components/Pagetable/utils/index.js +45 -148
  21. package/dist/components/Pagetable/utils/index.js.map +1 -1
  22. package/dist/components/Querytable/Querytable.d.ts +64 -0
  23. package/dist/components/Querytable/columns/QuerytableCellButton.d.ts +24 -0
  24. package/dist/components/Querytable/columns/QuerytableColumnButtongroup.d.ts +78 -0
  25. package/dist/components/Querytable/columns/QuerytableColumnDate.d.ts +101 -0
  26. package/dist/components/Querytable/columns/QuerytableColumnDiy.d.ts +78 -0
  27. package/dist/components/Querytable/columns/QuerytableColumnIndex.d.ts +5 -0
  28. package/dist/components/Querytable/columns/QuerytableColumnMultiselect.d.ts +109 -0
  29. package/dist/components/Querytable/columns/QuerytableColumnNumber.d.ts +114 -0
  30. package/dist/components/Querytable/columns/QuerytableColumnSingleselect.d.ts +109 -0
  31. package/dist/components/Querytable/columns/QuerytableColumnString.d.ts +75 -0
  32. package/dist/components/Querytable/columns/QuerytableColumngroup.d.ts +35 -0
  33. package/dist/components/Querytable/hooks/useColumns.d.ts +1 -0
  34. package/dist/components/Querytable/hooks/useColumns.js +96 -0
  35. package/dist/components/Querytable/hooks/useColumns.js.map +1 -0
  36. package/dist/components/Querytable/index.d.ts +66 -0
  37. package/dist/components/Querytable/index.js +511 -0
  38. package/dist/components/Querytable/index.js.map +1 -0
  39. package/dist/components/Querytable/interface.d.ts +10 -0
  40. package/dist/components/Querytable/interface.js +2 -0
  41. package/dist/components/Querytable/interface.js.map +1 -0
  42. package/dist/components/Querytable/utils/index.d.ts +15 -0
  43. package/dist/components/Querytable/utils/index.js +66 -0
  44. package/dist/components/Querytable/utils/index.js.map +1 -0
  45. package/dist/components/components.d.ts +2 -0
  46. package/dist/components/components.js +8 -6
  47. package/dist/components/components.js.map +1 -1
  48. package/dist/components/index.js +15 -13
  49. package/dist/components/index.js.map +1 -1
  50. package/dist/{components-CutWiB7Q.js → components-OIbu7HLW.js} +26 -24
  51. package/dist/{components-CutWiB7Q.js.map → components-OIbu7HLW.js.map} +1 -1
  52. package/dist/index-CC0EuWhe.js +108 -0
  53. package/dist/index-CC0EuWhe.js.map +1 -0
  54. package/dist/index.css +1 -1
  55. package/dist/index.js +14 -12
  56. package/dist/index.js.map +1 -1
  57. package/dist/version/version.d.ts +1 -1
  58. package/dist/version/version.js +1 -1
  59. package/dist/version/version.js.map +1 -1
  60. package/package.json +1 -1
@@ -17,6 +17,7 @@ export interface FormExpose {
17
17
  export interface FormContext {
18
18
  modelValue: Record<string, any>;
19
19
  updateModelValue: (name: string, value: any) => void;
20
+ updateModelValueMulti: (data: Record<string, any>) => void;
20
21
  rules?: FormRules;
21
22
  itemSpan: number;
22
23
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Form.js","sources":["../../../src/components/Form/Form.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\r\nimport type { FormRules as ElFormRules, FormItemRule as ElFormItemRule } from 'element-plus'\r\nimport type { Arrayable as ElArrayable } from 'element-plus/es/utils/typescript'\r\n\r\nexport type FormRules = ElFormRules\r\nexport type FormItemRule = ElFormItemRule\r\nexport type Arrayable<T> = ElArrayable<T>\r\n\r\nexport interface FormProps {\r\n rules?: FormRules\r\n itemSpan?: number\r\n itemLabelWidth?: string | number\r\n disabled?: boolean\r\n modelValue: Record<string, any>\r\n}\r\n\r\nexport interface FormExpose {\r\n validate: () => Promise<boolean>\r\n}\r\n\r\nexport interface FormContext {\r\n modelValue: Record<string, any>\r\n updateModelValue: (name: string, value: any) => void\r\n rules?: FormRules\r\n itemSpan: number\r\n disabled?: boolean\r\n}\r\n\r\nexport const formContextKey: InjectionKey<FormContext> = Symbol('formContextKey')\r\n"],"names":["formContextKey"],"mappings":"AA4Ba,MAAAA,IAA4C,OAAO,gBAAgB;"}
1
+ {"version":3,"file":"Form.js","sources":["../../../src/components/Form/Form.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\r\nimport type { FormRules as ElFormRules, FormItemRule as ElFormItemRule } from 'element-plus'\r\nimport type { Arrayable as ElArrayable } from 'element-plus/es/utils/typescript'\r\n\r\nexport type FormRules = ElFormRules\r\nexport type FormItemRule = ElFormItemRule\r\nexport type Arrayable<T> = ElArrayable<T>\r\n\r\nexport interface FormProps {\r\n rules?: FormRules\r\n itemSpan?: number\r\n itemLabelWidth?: string | number\r\n disabled?: boolean\r\n modelValue: Record<string, any>\r\n}\r\n\r\nexport interface FormExpose {\r\n validate: () => Promise<boolean>\r\n}\r\n\r\nexport interface FormContext {\r\n modelValue: Record<string, any>\r\n updateModelValue: (name: string, value: any) => void\r\n updateModelValueMulti: (data: Record<string, any>) => void\r\n rules?: FormRules\r\n itemSpan: number\r\n disabled?: boolean\r\n}\r\n\r\nexport const formContextKey: InjectionKey<FormContext> = Symbol('formContextKey')\r\n"],"names":["formContextKey"],"mappings":"AA6Ba,MAAAA,IAA4C,OAAO,gBAAgB;"}
@@ -0,0 +1,20 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { FormItemRule, Arrayable } from '../Form';
3
+ export interface LovInputProps {
4
+ name: string;
5
+ label?: string;
6
+ span?: number;
7
+ labelWidth?: string | number;
8
+ required?: boolean;
9
+ rules?: Arrayable<FormItemRule>;
10
+ maxlength?: string | number;
11
+ placeholder?: string;
12
+ disabled?: boolean;
13
+ readonly?: boolean;
14
+ fillMapping?: string | ((params: Record<string, any>) => void);
15
+ }
16
+ export interface LovContext {
17
+ lovValue: any;
18
+ backfill: (params: Record<string, any>) => void;
19
+ }
20
+ export declare const lovContextKey: InjectionKey<LovContext>;
@@ -0,0 +1,5 @@
1
+ const o = Symbol("lovContextKey");
2
+ export {
3
+ o as lovContextKey
4
+ };
5
+ //# sourceMappingURL=LovInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LovInput.js","sources":["../../../../src/components/Form/LovInput/LovInput.ts"],"sourcesContent":["import { InjectionKey } from 'vue'\r\nimport { FormItemRule, Arrayable } from '../Form'\r\n\r\nexport interface LovInputProps {\r\n name: string\r\n label?: string\r\n span?: number\r\n labelWidth?: string | number\r\n required?: boolean\r\n rules?: Arrayable<FormItemRule>\r\n maxlength?: string | number\r\n placeholder?: string\r\n disabled?: boolean\r\n readonly?: boolean\r\n fillMapping?: string | ((params: Record<string, any>) => void)\r\n}\r\n\r\nexport interface LovContext {\r\n lovValue: any\r\n backfill: (params: Record<string, any>) => void\r\n}\r\n\r\nexport const lovContextKey: InjectionKey<LovContext> = Symbol('lovContextKey')\r\n"],"names":["lovContextKey"],"mappings":"AAsBa,MAAAA,IAA0C,OAAO,eAAe;"}