orion-design 0.1.15 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/dist/components/Form/FileInput/FileInput.vue.d.ts +2 -2
  2. package/dist/components/Form/LovInput/LovInput.d.ts +2 -0
  3. package/dist/components/Form/LovInput/LovInput.js.map +1 -1
  4. package/dist/components/Form/index.js +337 -320
  5. package/dist/components/Form/index.js.map +1 -1
  6. package/dist/components/LovTable/LovPagetable.vue.d.ts +296 -0
  7. package/dist/components/LovTable/LovQuerytable.vue.d.ts +184 -0
  8. package/dist/components/LovTable/index.d.ts +295 -2
  9. package/dist/components/LovTable/index.js +118 -45
  10. package/dist/components/LovTable/index.js.map +1 -1
  11. package/dist/components/Pagetable/index.js +64 -63
  12. package/dist/components/Pagetable/index.js.map +1 -1
  13. package/dist/components/Querytable/index.js +62 -61
  14. package/dist/components/Querytable/index.js.map +1 -1
  15. package/dist/components/Tabs/constants.d.ts +19 -0
  16. package/dist/components/Tabs/constants.js +5 -0
  17. package/dist/components/Tabs/constants.js.map +1 -0
  18. package/dist/components/Tabs/index.d.ts +74 -0
  19. package/dist/components/Tabs/index.js +475 -0
  20. package/dist/components/Tabs/index.js.map +1 -0
  21. package/dist/components/Tabs/tab-bar.d.ts +59 -0
  22. package/dist/components/Tabs/tab-bar.js +15 -0
  23. package/dist/components/Tabs/tab-bar.js.map +1 -0
  24. package/dist/components/Tabs/tab-bar.vue.d.ts +131 -0
  25. package/dist/components/Tabs/tab-nav.d.ts +237 -0
  26. package/dist/components/Tabs/tab-pane.d.ts +16 -0
  27. package/dist/components/Tabs/tab-pane.js +35 -0
  28. package/dist/components/Tabs/tab-pane.js.map +1 -0
  29. package/dist/components/Tabs/tab-pane.vue.d.ts +43 -0
  30. package/dist/components/Tabs/tabs.d.ts +101 -0
  31. package/dist/components/_constants/aria.d.ts +17 -0
  32. package/dist/components/_constants/aria.js +25 -0
  33. package/dist/components/_constants/aria.js.map +1 -0
  34. package/dist/components/_constants/event.d.ts +3 -0
  35. package/dist/components/_constants/event.js +7 -0
  36. package/dist/components/_constants/event.js.map +1 -0
  37. package/dist/components/_constants/index.d.ts +2 -0
  38. package/dist/components/_constants/index.js +9 -0
  39. package/dist/components/_constants/index.js.map +1 -0
  40. package/dist/components/_hooks/index.d.ts +2 -0
  41. package/dist/components/_hooks/index.js +10 -0
  42. package/dist/components/_hooks/index.js.map +1 -0
  43. package/dist/components/_hooks/use-namespace/index.d.ts +23 -0
  44. package/dist/components/_hooks/use-namespace/index.js +46 -0
  45. package/dist/components/_hooks/use-namespace/index.js.map +1 -0
  46. package/dist/components/_hooks/use-ordered-children/index.d.ts +8 -0
  47. package/dist/components/_hooks/use-ordered-children/index.js +27 -0
  48. package/dist/components/_hooks/use-ordered-children/index.js.map +1 -0
  49. package/dist/components/_util/browser.js +2 -2
  50. package/dist/components/_util/dom/element.js +1 -1
  51. package/dist/components/_util/dom/position.js +1 -1
  52. package/dist/components/_util/dom/scroll.js +1 -1
  53. package/dist/components/_util/dom/style.js +1 -1
  54. package/dist/components/_util/index.js +1 -1
  55. package/dist/components/_util/raf.js +1 -1
  56. package/dist/components/_util/vue/global-node.js +1 -1
  57. package/dist/components/_util/vue/icon.js +24 -146
  58. package/dist/components/_util/vue/icon.js.map +1 -1
  59. package/dist/components/components.d.ts +2 -0
  60. package/dist/components/components.js +13 -11
  61. package/dist/components/components.js.map +1 -1
  62. package/dist/components/index.js +21 -19
  63. package/dist/components/index.js.map +1 -1
  64. package/dist/components-0PErqPHo.js +72 -0
  65. package/dist/{components-DXZmD0GT.js.map → components-0PErqPHo.js.map} +1 -1
  66. package/dist/index-BwWeqwHB.js +164 -0
  67. package/dist/index-BwWeqwHB.js.map +1 -0
  68. package/dist/index-C9tCD90X.js +45 -0
  69. package/dist/{index-C8JNJPWW.js.map → index-C9tCD90X.js.map} +1 -1
  70. package/dist/index.css +1 -1
  71. package/dist/index.js +21 -19
  72. package/dist/index.js.map +1 -1
  73. package/dist/version/version.d.ts +1 -1
  74. package/dist/version/version.js +1 -1
  75. package/dist/version/version.js.map +1 -1
  76. package/global.d.ts +6 -1
  77. package/package.json +3 -1
  78. package/dist/components/LovTable/LovPagetable.d.ts +0 -2
  79. package/dist/components/LovTable/LovQuerytable.d.ts +0 -2
  80. package/dist/components-DXZmD0GT.js +0 -70
  81. package/dist/index-C8JNJPWW.js +0 -8
@@ -164,7 +164,7 @@ declare const _default: import('vue').DefineComponent<FileInputProps, {}, {}, {}
164
164
  $root: import('vue').ComponentPublicInstance | null;
165
165
  $parent: import('vue').ComponentPublicInstance | null;
166
166
  $host: Element | null;
167
- $emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
167
+ $emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
168
168
  $el: any;
169
169
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
170
170
  readonly ariaLabel: StringConstructor;
@@ -427,7 +427,7 @@ declare const _default: import('vue').DefineComponent<FileInputProps, {}, {}, {}
427
427
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
428
428
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
429
429
  onClear?: (() => any) | undefined;
430
- }, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "focus" | "modelValue" | "blur" | "readonly" | "autosize" | "autocomplete" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
430
+ }, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "modelValue" | "focus" | "blur" | "readonly" | "autosize" | "autocomplete" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
431
431
  input: import('vue').ShallowRef<HTMLInputElement | undefined>;
432
432
  textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
433
433
  ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
@@ -13,8 +13,10 @@ export interface LovInputProps {
13
13
  readonly?: boolean;
14
14
  fillMapping?: string | ((params: Record<string, any>) => void);
15
15
  }
16
+ export type KeydownHandler = (code: string) => void;
16
17
  export interface LovContext {
17
18
  lovValue: any;
18
19
  backfill: (params: Record<string, any>) => void;
20
+ registerKeydownHandler: (handler: KeydownHandler) => void;
19
21
  }
20
22
  export declare const lovContextKey: InjectionKey<LovContext>;
@@ -1 +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;"}
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 type KeydownHandler = (code: string) => void\r\n\r\nexport interface LovContext {\r\n lovValue: any\r\n backfill: (params: Record<string, any>) => void\r\n registerKeydownHandler: (handler: KeydownHandler) => void\r\n}\r\n\r\nexport const lovContextKey: InjectionKey<LovContext> = Symbol('lovContextKey')\r\n"],"names":["lovContextKey"],"mappings":"AAyBa,MAAAA,IAA0C,OAAO,eAAe;"}