orion-design 0.1.32 → 0.1.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/Throne/hooks/use-throne-context.d.ts +5 -0
  2. package/dist/Throne/hooks/use-throne-context.js +15 -0
  3. package/dist/Throne/hooks/use-throne-context.js.map +1 -0
  4. package/dist/Throne/index.d.ts +1 -1
  5. package/dist/Throne/index.js +3 -3
  6. package/dist/Throne/index.js.map +1 -1
  7. package/dist/components/Button/ButtonGroup/ButtonGroup.d.ts +2 -0
  8. package/dist/components/Button/index.js +19 -17
  9. package/dist/components/Button/index.js.map +1 -1
  10. package/dist/components/Form/FileInput/FileInput.vue.d.ts +4 -4
  11. package/dist/components/Form/LovInput/LovInput.vue.d.ts +894 -0
  12. package/dist/components/Form/MultiTableSelect/MultiTableSelect.d.ts +26 -0
  13. package/dist/components/Form/MultiTableSelect/MultiTableSelect.js +5 -0
  14. package/dist/components/Form/MultiTableSelect/MultiTableSelect.js.map +1 -0
  15. package/dist/components/Form/MultiTableSelect/MultiTableSelect.vue.d.ts +6249 -0
  16. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.d.ts +1 -0
  17. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js +9 -0
  18. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js.map +1 -0
  19. package/dist/components/Form/MultiTableSelect/index.d.ts +2 -0
  20. package/dist/components/Form/MultiTableSelect/index.js +7 -0
  21. package/dist/components/Form/MultiTableSelect/index.js.map +1 -0
  22. package/dist/components/Form/hooks/index.js +46 -45
  23. package/dist/components/Form/hooks/index.js.map +1 -1
  24. package/dist/components/Form/index.d.ts +3 -0
  25. package/dist/components/Form/index.js +542 -401
  26. package/dist/components/Form/index.js.map +1 -1
  27. package/dist/components/LovTable/LovPagetable.vue.d.ts +24 -6
  28. package/dist/components/LovTable/LovQuerytable.vue.d.ts +468 -4
  29. package/dist/components/LovTable/index.d.ts +246 -5
  30. package/dist/components/LovTable/index.js +11 -13
  31. package/dist/components/LovTable/index.js.map +1 -1
  32. package/dist/components/MultiTableSelectPagetable/MultiTableSelectPagetable.vue.d.ts +886 -0
  33. package/dist/components/MultiTableSelectPagetable/index.d.ts +465 -0
  34. package/dist/components/MultiTableSelectPagetable/index.js +164 -0
  35. package/dist/components/MultiTableSelectPagetable/index.js.map +1 -0
  36. package/dist/components/Pagetable/Pagetable.d.ts +5 -2
  37. package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +1 -1
  38. package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +1 -1
  39. package/dist/components/Pagetable/columns/PagetableColumnDiy.d.ts +1 -1
  40. package/dist/components/Pagetable/columns/PagetableColumnLink.d.ts +1 -1
  41. package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +1 -1
  42. package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +1 -1
  43. package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +1 -1
  44. package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +1 -1
  45. package/dist/components/Pagetable/hooks/useCode.d.ts +2 -0
  46. package/dist/components/Pagetable/hooks/useCode.js +24 -0
  47. package/dist/components/Pagetable/hooks/useCode.js.map +1 -0
  48. package/dist/components/Pagetable/index.d.ts +5 -2
  49. package/dist/components/Pagetable/index.js +347 -340
  50. package/dist/components/Pagetable/index.js.map +1 -1
  51. package/dist/components/Querytable/Querytable.d.ts +80 -2
  52. package/dist/components/Querytable/columns/QuerytableColumnButtongroup.d.ts +14 -1
  53. package/dist/components/Querytable/columns/QuerytableColumnDate.d.ts +14 -1
  54. package/dist/components/Querytable/columns/QuerytableColumnDiy.d.ts +1 -1
  55. package/dist/components/Querytable/columns/QuerytableColumnLink.d.ts +14 -1
  56. package/dist/components/Querytable/columns/QuerytableColumnMultiselect.d.ts +14 -1
  57. package/dist/components/Querytable/columns/QuerytableColumnNumber.d.ts +14 -1
  58. package/dist/components/Querytable/columns/QuerytableColumnSingleselect.d.ts +14 -1
  59. package/dist/components/Querytable/columns/QuerytableColumnString.d.ts +14 -1
  60. package/dist/components/Querytable/hooks/useColumns.js +16 -11
  61. package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
  62. package/dist/components/Querytable/index.d.ts +147 -1
  63. package/dist/components/Querytable/index.js +404 -347
  64. package/dist/components/Querytable/index.js.map +1 -1
  65. package/dist/components/Tabs/index.js +1 -1
  66. package/dist/components/Throne/ThroneContextProvider.d.ts +25 -0
  67. package/dist/components/_util/vue/icon.js +1 -1
  68. package/dist/components/components.d.ts +2 -0
  69. package/dist/components/components.js +22 -18
  70. package/dist/components/components.js.map +1 -1
  71. package/dist/components/index.js +41 -33
  72. package/dist/components/index.js.map +1 -1
  73. package/dist/components-DP9bnDLm.js +48 -0
  74. package/dist/components-DP9bnDLm.js.map +1 -0
  75. package/dist/{index-C6P_0wAy.js → index-ChkLOmNK.js} +76 -46
  76. package/dist/{index-C6P_0wAy.js.map → index-ChkLOmNK.js.map} +1 -1
  77. package/dist/index.d.ts +1 -0
  78. package/dist/index.js +41 -31
  79. package/dist/index.js.map +1 -1
  80. package/dist/version/version.d.ts +1 -1
  81. package/dist/version/version.js +1 -1
  82. package/dist/version/version.js.map +1 -1
  83. package/package.json +1 -1
  84. package/dist/components-8oZ2kpUC.js +0 -27
  85. package/dist/components-8oZ2kpUC.js.map +0 -1
@@ -0,0 +1,26 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { FormItemRule, Arrayable } from '../Form';
3
+ export interface MultiTableSelectProps {
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
+ pick: string | string[];
15
+ tag: (row: any) => string;
16
+ }
17
+ export type RowCompletionProvider = (data: any[] | undefined) => Promise<any[] | undefined>;
18
+ export interface MultiTableSelectContext {
19
+ inputValue: any;
20
+ selection: any[] | undefined;
21
+ onSelect: (selection: any[], clear?: boolean) => void;
22
+ selectDone: () => void;
23
+ tag: (row: any) => string;
24
+ registerRowCompletionProvider: (provider: RowCompletionProvider) => void;
25
+ }
26
+ export declare const multiTableSelectContext: InjectionKey<MultiTableSelectContext>;
@@ -0,0 +1,5 @@
1
+ const t = Symbol("multiTableSelectContext");
2
+ export {
3
+ t as multiTableSelectContext
4
+ };
5
+ //# sourceMappingURL=MultiTableSelect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiTableSelect.js","sources":["../../../../src/components/Form/MultiTableSelect/MultiTableSelect.ts"],"sourcesContent":["import { InjectionKey, Ref } from 'vue'\r\nimport { FormItemRule, Arrayable } from '../Form'\r\n\r\nexport interface MultiTableSelectProps {\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 pick: string | string[]\r\n tag: (row: any) => string\r\n}\r\n\r\nexport type RowCompletionProvider = (data: any[] | undefined) => Promise<any[] | undefined>\r\n\r\nexport interface MultiTableSelectContext {\r\n inputValue: any\r\n selection: any[] | undefined\r\n onSelect: (selection: any[], clear?: boolean) => void\r\n selectDone: () => void\r\n tag: (row: any) => string\r\n registerRowCompletionProvider: (provider: RowCompletionProvider) => void\r\n}\r\n\r\nexport const multiTableSelectContext: InjectionKey<MultiTableSelectContext> = Symbol('multiTableSelectContext')\r\n"],"names":["multiTableSelectContext"],"mappings":"AA6Ba,MAAAA,IAAiE,OAAO,yBAAyB;"}