orion-design 0.1.5 → 0.1.7

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 (156) hide show
  1. package/dist/Throne/index.d.ts +10 -0
  2. package/dist/Throne/index.js +20 -0
  3. package/dist/Throne/index.js.map +1 -0
  4. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  5. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  6. package/dist/components/Button/Button.vue.d.ts +15 -1
  7. package/dist/components/Button/ButtonGroup/ButtonGroup.d.ts +4 -0
  8. package/dist/components/Button/ButtonGroup/ButtonGroup.js +2 -0
  9. package/dist/components/Button/ButtonGroup/ButtonGroup.js.map +1 -0
  10. package/dist/components/Button/ButtonGroup/ButtonGroup.vue.d.ts +17 -0
  11. package/dist/components/Button/ButtonGroup/index.d.ts +1 -0
  12. package/dist/components/Button/ButtonGroup/index.js +2 -0
  13. package/dist/components/Button/ButtonGroup/index.js.map +1 -0
  14. package/dist/components/Button/index.d.ts +21 -4
  15. package/dist/components/Button/index.js +37 -19
  16. package/dist/components/Button/index.js.map +1 -1
  17. package/dist/components/Form/ButtonGroup/ButtonGroup.d.ts +5 -0
  18. package/dist/components/Form/ButtonGroup/ButtonGroup.js +2 -0
  19. package/dist/components/Form/ButtonGroup/ButtonGroup.js.map +1 -0
  20. package/dist/components/Form/ButtonGroup/ButtonGroup.vue.d.ts +17 -0
  21. package/dist/components/Form/ButtonGroup/index.d.ts +1 -0
  22. package/dist/components/Form/ButtonGroup/index.js +2 -0
  23. package/dist/components/Form/ButtonGroup/index.js.map +1 -0
  24. package/dist/components/Form/Checkbox/Checkbox.d.ts +9 -0
  25. package/dist/components/Form/Checkbox/Checkbox.js +2 -0
  26. package/dist/components/Form/Checkbox/Checkbox.js.map +1 -0
  27. package/dist/components/Form/Checkbox/Checkbox.vue.d.ts +3 -0
  28. package/dist/components/Form/Checkbox/index.d.ts +1 -0
  29. package/dist/components/Form/Checkbox/index.js +2 -0
  30. package/dist/components/Form/Checkbox/index.js.map +1 -0
  31. package/dist/components/Form/CheckboxGroup/CheckboxGroup.d.ts +14 -0
  32. package/dist/components/Form/CheckboxGroup/CheckboxGroup.js +2 -0
  33. package/dist/components/Form/CheckboxGroup/CheckboxGroup.js.map +1 -0
  34. package/dist/components/Form/CheckboxGroup/CheckboxGroup.vue.d.ts +3 -0
  35. package/dist/components/Form/CheckboxGroup/index.d.ts +1 -0
  36. package/dist/components/Form/CheckboxGroup/index.js +2 -0
  37. package/dist/components/Form/CheckboxGroup/index.js.map +1 -0
  38. package/dist/components/Form/DateInput/DateInput.d.ts +17 -0
  39. package/dist/components/Form/DateInput/DateInput.js +2 -0
  40. package/dist/components/Form/DateInput/DateInput.js.map +1 -0
  41. package/dist/components/Form/DateInput/DateInput.vue.d.ts +3 -0
  42. package/dist/components/Form/DateInput/index.d.ts +1 -0
  43. package/dist/components/Form/DateInput/index.js +2 -0
  44. package/dist/components/Form/DateInput/index.js.map +1 -0
  45. package/dist/components/Form/DiyItem/DiyItem.d.ts +9 -0
  46. package/dist/components/Form/DiyItem/DiyItem.js +2 -0
  47. package/dist/components/Form/DiyItem/DiyItem.js.map +1 -0
  48. package/dist/components/Form/DiyItem/DiyItem.vue.d.ts +17 -0
  49. package/dist/components/Form/DiyItem/index.d.ts +1 -0
  50. package/dist/components/Form/DiyItem/index.js +2 -0
  51. package/dist/components/Form/DiyItem/index.js.map +1 -0
  52. package/dist/components/Form/FileInput/FileInput.d.ts +10 -0
  53. package/dist/components/Form/FileInput/FileInput.js +2 -0
  54. package/dist/components/Form/FileInput/FileInput.js.map +1 -0
  55. package/dist/components/Form/FileInput/FileInput.vue.d.ts +451 -0
  56. package/dist/components/Form/FileInput/index.d.ts +1 -0
  57. package/dist/components/Form/FileInput/index.js +2 -0
  58. package/dist/components/Form/FileInput/index.js.map +1 -0
  59. package/dist/components/Form/Form.d.ts +1 -0
  60. package/dist/components/Form/Form.js.map +1 -1
  61. package/dist/components/Form/Form.vue.d.ts +10 -10
  62. package/dist/components/Form/MultiSelect/MultiSelect.d.ts +15 -0
  63. package/dist/components/Form/MultiSelect/MultiSelect.js +2 -0
  64. package/dist/components/Form/MultiSelect/MultiSelect.js.map +1 -0
  65. package/dist/components/Form/MultiSelect/MultiSelect.vue.d.ts +3 -0
  66. package/dist/components/Form/MultiSelect/index.d.ts +1 -0
  67. package/dist/components/Form/MultiSelect/index.js +2 -0
  68. package/dist/components/Form/MultiSelect/index.js.map +1 -0
  69. package/dist/components/Form/PasswordInput/PasswordInput.d.ts +0 -2
  70. package/dist/components/Form/RadioGroup/RadioGroup.d.ts +14 -0
  71. package/dist/components/Form/RadioGroup/RadioGroup.js +2 -0
  72. package/dist/components/Form/RadioGroup/RadioGroup.js.map +1 -0
  73. package/dist/components/Form/RadioGroup/RadioGroup.vue.d.ts +3 -0
  74. package/dist/components/Form/RadioGroup/index.d.ts +1 -0
  75. package/dist/components/Form/RadioGroup/index.js +2 -0
  76. package/dist/components/Form/RadioGroup/index.js.map +1 -0
  77. package/dist/components/Form/SingleSelect/SingleSelect.d.ts +17 -0
  78. package/dist/components/Form/SingleSelect/SingleSelect.js +2 -0
  79. package/dist/components/Form/SingleSelect/SingleSelect.js.map +1 -0
  80. package/dist/components/Form/SingleSelect/SingleSelect.vue.d.ts +3 -0
  81. package/dist/components/Form/SingleSelect/index.d.ts +1 -0
  82. package/dist/components/Form/SingleSelect/index.js +2 -0
  83. package/dist/components/Form/SingleSelect/index.js.map +1 -0
  84. package/dist/components/Form/StringInput/StringInput.d.ts +0 -2
  85. package/dist/components/Form/Switch/Switch.d.ts +9 -0
  86. package/dist/components/Form/Switch/Switch.js +2 -0
  87. package/dist/components/Form/Switch/Switch.js.map +1 -0
  88. package/dist/components/Form/Switch/Switch.vue.d.ts +3 -0
  89. package/dist/components/Form/Switch/index.d.ts +1 -0
  90. package/dist/components/Form/Switch/index.js +2 -0
  91. package/dist/components/Form/Switch/index.js.map +1 -0
  92. package/dist/components/Form/Textarea/Textarea.d.ts +0 -2
  93. package/dist/components/Form/hooks/useForm.d.ts +5 -3
  94. package/dist/components/Form/hooks/useForm.js +40 -17
  95. package/dist/components/Form/hooks/useForm.js.map +1 -1
  96. package/dist/components/Form/index.d.ts +37 -6
  97. package/dist/components/Form/index.js +612 -100
  98. package/dist/components/Form/index.js.map +1 -1
  99. package/dist/components/Form/utils/index.d.ts +8 -0
  100. package/dist/components/Form/utils/index.js +26 -0
  101. package/dist/components/Form/utils/index.js.map +1 -0
  102. package/dist/components/Modal/index.d.ts +1 -1
  103. package/dist/components/Pagetable/Pagetable.d.ts +29 -17
  104. package/dist/components/Pagetable/columns/PagetableCellButton.d.ts +24 -0
  105. package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +78 -0
  106. package/dist/components/Pagetable/columns/{PagetableDatecolumn.d.ts → PagetableColumnDate.d.ts} +17 -4
  107. package/dist/components/Pagetable/columns/PagetableColumnDiy.d.ts +78 -0
  108. package/dist/components/Pagetable/columns/PagetableColumnIndex.d.ts +5 -0
  109. package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +109 -0
  110. package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +114 -0
  111. package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +109 -0
  112. package/dist/components/Pagetable/columns/{PagetableStringcolumn.d.ts → PagetableColumnString.d.ts} +17 -4
  113. package/dist/components/Pagetable/columns/PagetableColumngroup.d.ts +35 -0
  114. package/dist/components/Pagetable/hooks/useColumns.d.ts +1 -0
  115. package/dist/components/Pagetable/hooks/useColumns.js +96 -0
  116. package/dist/components/Pagetable/hooks/useColumns.js.map +1 -0
  117. package/dist/components/Pagetable/index.d.ts +42 -17
  118. package/dist/components/Pagetable/index.js +496 -119
  119. package/dist/components/Pagetable/index.js.map +1 -1
  120. package/dist/components/Pagetable/utils/index.d.ts +15 -0
  121. package/dist/components/Pagetable/utils/index.js +169 -0
  122. package/dist/components/Pagetable/utils/index.js.map +1 -0
  123. package/dist/components/Space/index.d.ts +3 -3
  124. package/dist/components/_util/type.d.ts +4 -0
  125. package/dist/components/_util/type.js +8 -4
  126. package/dist/components/_util/type.js.map +1 -1
  127. package/dist/components/_util/vue/size.d.ts +1 -1
  128. package/dist/components/components.js +15 -14
  129. package/dist/components/components.js.map +1 -1
  130. package/dist/components/index.js +20 -19
  131. package/dist/components/index.js.map +1 -1
  132. package/dist/components/types.d.ts +11 -0
  133. package/dist/components/types.js +2 -0
  134. package/dist/components/types.js.map +1 -0
  135. package/dist/components-CutWiB7Q.js +68 -0
  136. package/dist/components-CutWiB7Q.js.map +1 -0
  137. package/dist/index-BbsXWo7C.js +44 -0
  138. package/dist/index-BbsXWo7C.js.map +1 -0
  139. package/dist/index.css +1 -1
  140. package/dist/index.d.ts +1 -0
  141. package/dist/index.js +22 -19
  142. package/dist/index.js.map +1 -1
  143. package/dist/utils/md5.js +77 -79
  144. package/dist/utils/md5.js.map +1 -1
  145. package/dist/version/version.d.ts +1 -1
  146. package/dist/version/version.js +1 -1
  147. package/dist/version/version.js.map +1 -1
  148. package/package.json +7 -3
  149. package/dist/components-BZukhWDk.js +0 -106
  150. package/dist/components-BZukhWDk.js.map +0 -1
  151. package/dist/utils/vue/install.d.ts +0 -6
  152. package/dist/utils/vue/install.js +0 -21
  153. package/dist/utils/vue/install.js.map +0 -1
  154. package/dist/utils/vue/typescript.d.ts +0 -5
  155. package/dist/utils/vue/typescript.js +0 -2
  156. package/dist/utils/vue/typescript.js.map +0 -1
@@ -0,0 +1,10 @@
1
+ import { Ref } from 'vue';
2
+ import { CodeData } from '../components/types';
3
+ export interface ThroneType {
4
+ hasAuth: (authId: string) => boolean | null;
5
+ getIcon: (iconId: string) => () => unknown;
6
+ getCode: (codeName: string) => Ref<CodeData>;
7
+ impl: (throne: Partial<ThroneType>) => void;
8
+ }
9
+ declare const Throne: ThroneType;
10
+ export default Throne;
@@ -0,0 +1,20 @@
1
+ import o from "../error/OrionError.js";
2
+ let t = () => {
3
+ throw new o("Throne.hasAuth not configured!");
4
+ }, n = (e) => {
5
+ throw new o("Throne.getIcon not configured!");
6
+ }, r = (e) => {
7
+ throw new o("Throne.getCode not configured!");
8
+ };
9
+ const h = {
10
+ hasAuth: (e) => t(e),
11
+ getIcon: (e) => n(e),
12
+ getCode: (e) => r(e),
13
+ impl: (e) => {
14
+ e.hasAuth && (t = e.hasAuth), e.getIcon && (n = e.getIcon), e.getCode && (r = e.getCode);
15
+ }
16
+ };
17
+ export {
18
+ h as default
19
+ };
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/Throne/index.ts"],"sourcesContent":["import OrionError from '../error/OrionError'\r\nimport type { Ref } from 'vue'\r\n\r\nimport type { CodeData } from '../components/types'\r\n\r\nexport interface ThroneType {\r\n hasAuth: (authId: string) => boolean | null\r\n getIcon: (iconId: string) => () => unknown\r\n getCode: (codeName: string) => Ref<CodeData>\r\n impl: (throne: Partial<ThroneType>) => void\r\n}\r\n\r\nlet hasAuth: ThroneType['hasAuth'] = () => {\r\n throw new OrionError(`Throne.hasAuth not configured!`)\r\n}\r\n\r\nlet getIcon: ThroneType['getIcon'] = (iconId) => {\r\n throw new OrionError(`Throne.getIcon not configured!`)\r\n}\r\n\r\nlet getCode: ThroneType['getCode'] = (codeName) => {\r\n throw new OrionError(`Throne.getCode not configured!`)\r\n}\r\n\r\nconst Throne: ThroneType = {\r\n hasAuth: (authId) => {\r\n return hasAuth(authId)\r\n },\r\n getIcon: (iconId) => {\r\n return getIcon(iconId)\r\n },\r\n getCode: (codeName) => {\r\n return getCode(codeName)\r\n },\r\n impl: (throne) => {\r\n if (throne.hasAuth) {\r\n hasAuth = throne.hasAuth\r\n }\r\n\r\n if (throne.getIcon) {\r\n getIcon = throne.getIcon\r\n }\r\n\r\n if (throne.getCode) {\r\n getCode = throne.getCode\r\n }\r\n },\r\n}\r\n\r\nexport default Throne\r\n"],"names":["hasAuth","OrionError","getIcon","iconId","getCode","codeName","Throne","authId","throne"],"mappings":";AAYA,IAAIA,IAAiC,MAAM;AACnC,QAAA,IAAIC,EAAW,gCAAgC;AACvD,GAEIC,IAAiC,CAACC,MAAW;AACzC,QAAA,IAAIF,EAAW,gCAAgC;AACvD,GAEIG,IAAiC,CAACC,MAAa;AAC3C,QAAA,IAAIJ,EAAW,gCAAgC;AACvD;AAEA,MAAMK,IAAqB;AAAA,EACzB,SAAS,CAACC,MACDP,EAAQO,CAAM;AAAA,EAEvB,SAAS,CAACJ,MACDD,EAAQC,CAAM;AAAA,EAEvB,SAAS,CAACE,MACDD,EAAQC,CAAQ;AAAA,EAEzB,MAAM,CAACG,MAAW;AAChB,IAAIA,EAAO,YACTR,IAAUQ,EAAO,UAGfA,EAAO,YACTN,IAAUM,EAAO,UAGfA,EAAO,YACTJ,IAAUI,EAAO;AAAA,EAErB;AACF;"}
@@ -0,0 +1,9 @@
1
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function l(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ export {
6
+ o as c,
7
+ l as g
8
+ };
9
+ //# sourceMappingURL=_commonjsHelpers-DaMA6jEr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_commonjsHelpers-DaMA6jEr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,2 +1,16 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
11
  export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,4 @@
1
+ export interface ButtonGroupProps {
2
+ gutter?: boolean | string;
3
+ align?: 'left' | 'center' | 'right';
4
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=ButtonGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { ButtonGroupProps } from './ButtonGroup';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1 @@
1
+ export * from './ButtonGroup';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,4 +1,21 @@
1
- import { SFCWithInstall } from '../../utils/vue/typescript';
2
- import { default as Button } from './Button.vue';
3
- export declare const OButton: SFCWithInstall<typeof Button>;
4
- export default OButton;
1
+ import { default as ButtonGroup } from './ButtonGroup/ButtonGroup.vue';
2
+ declare const _default: import('../_util').SFCWithInstall<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{}>, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
4
+ P: {};
5
+ B: {};
6
+ D: {};
7
+ C: {};
8
+ M: {};
9
+ Defaults: {};
10
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
11
+ __isFragment?: never;
12
+ __isTeleport?: never;
13
+ __isSuspense?: never;
14
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
15
+ $slots: {
16
+ default?(_: {}): any;
17
+ };
18
+ })> & {
19
+ ButtonGroup: typeof ButtonGroup;
20
+ };
21
+ export default _default;
@@ -1,27 +1,45 @@
1
- import { withInstall as u } from "../../utils/vue/install.js";
2
- import { defineComponent as c, onMounted as s, openBlock as _, createBlock as a, unref as l, withCtx as p, createTextVNode as f } from "vue";
3
- import { ElButton as m } from "element-plus";
4
- const d = /* @__PURE__ */ c({
1
+ import "lodash-es";
2
+ import { defineComponent as r, openBlock as n, createBlock as p, unref as u, withCtx as l, renderSlot as a, computed as m, createElementBlock as s, normalizeStyle as i, createVNode as c } from "vue";
3
+ import { withInstall as f } from "../_util/vue/install.js";
4
+ import { ElButton as _ } from "element-plus";
5
+ import { S as d } from "../../index-BbsXWo7C.js";
6
+ const g = /* @__PURE__ */ r({
5
7
  name: "OButton",
6
8
  __name: "Button",
7
9
  setup(o) {
8
- return s(() => {
9
- console.log("Button onMounted1");
10
- }), (n, t) => (_(), a(l(m), null, {
11
- default: p(() => t[0] || (t[0] = [
12
- f("XX")
13
- ])),
14
- _: 1
10
+ return (t, e) => (n(), p(u(_), null, {
11
+ default: l(() => [
12
+ a(t.$slots, "default")
13
+ ]),
14
+ _: 3
15
15
  }));
16
16
  }
17
- }), B = (o, n) => {
18
- const t = o.__vccOpts || o;
19
- for (const [e, r] of n)
20
- t[e] = r;
21
- return t;
22
- }, i = /* @__PURE__ */ B(d, [["__scopeId", "data-v-e59d2724"]]), O = u(i);
17
+ }), B = /* @__PURE__ */ r({
18
+ name: "OButtongroup",
19
+ __name: "ButtonGroup",
20
+ props: {
21
+ gutter: { type: [Boolean, String] },
22
+ align: { default: "right" }
23
+ },
24
+ setup(o) {
25
+ const t = m(() => ({
26
+ textAlign: o.align
27
+ }));
28
+ return (e, h) => (n(), s("div", {
29
+ style: i(t.value)
30
+ }, [
31
+ c(u(d), { gutter: e.gutter }, {
32
+ default: l(() => [
33
+ a(e.$slots, "default")
34
+ ]),
35
+ _: 3
36
+ }, 8, ["gutter"])
37
+ ], 4));
38
+ }
39
+ }), v = f(g, {
40
+ ButtonGroup: B
41
+ });
23
42
  export {
24
- O as OButton,
25
- O as default
43
+ v as default
26
44
  };
27
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Button/Button.vue","../../../src/components/Button/index.ts"],"sourcesContent":["<template>\r\n <el-button>XX</el-button>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport { onMounted } from 'vue'\r\n\r\nimport { ElButton } from 'element-plus'\r\n\r\ndefineOptions({ name: 'OButton' })\r\n\r\nonMounted(() => {\r\n console.log('Button onMounted1')\r\n})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.app {\r\n p {\r\n font-size: 32px;\r\n color: aqua;\r\n }\r\n button {\r\n color: red;\r\n }\r\n}\r\n</style>\r\n","import { withInstall, withNoopInstall } from '../../utils/vue/install'\r\nimport type { SFCWithInstall } from '../../utils/vue/typescript'\r\n\r\nimport Button from './Button.vue'\r\n\r\nexport const OButton: SFCWithInstall<typeof Button> = withInstall(Button)\r\n\r\nexport default OButton\r\n"],"names":["onMounted","OButton","withInstall","Button"],"mappings":";;;;;;;AAUA,WAAAA,EAAU,MAAM;AACd,cAAQ,IAAI,mBAAmB;AAAA,IAAA,CAChC;;;;;;;;;;;;iECPYC,IAAyCC,EAAYC,CAAM;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Button/ButtonGroup/ButtonGroup.vue","../../../src/components/Button/index.ts"],"sourcesContent":["<template>\r\n <div :style=\"style\">\r\n <space :gutter=\"gutter\"> <slot></slot> </space>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, CSSProperties } from 'vue'\r\nimport type { ButtonGroupProps } from './ButtonGroup'\r\nimport Space from '../../Space'\r\n\r\ndefineOptions({ name: 'OButtongroup' })\r\n\r\nconst { gutter, align = 'right' } = defineProps<ButtonGroupProps>()\r\nconst style = computed<CSSProperties>(() => {\r\n return {\r\n textAlign: align\r\n }\r\n})\r\n</script>\r\n","import { withInstall } from '../_util'\r\n\r\nimport Button from './Button.vue'\r\nimport ButtonGroup from './ButtonGroup/ButtonGroup.vue'\r\n\r\nexport default withInstall<typeof Button, { ButtonGroup: typeof ButtonGroup }>(Button, {\r\n ButtonGroup\r\n})\r\n"],"names":["style","computed","__props","index","withInstall","Button","ButtonGroup"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAcM,UAAAA,IAAQC,EAAwB,OAC7B;AAAA,MACL,WAAWC;MAEd;;;;;;;;;;;;ICbcC,IAAAC,EAAgEC,GAAQ;AAAA,EAAA,aACrFC;AACF,CAAC;"}
@@ -0,0 +1,5 @@
1
+ export interface ButtonGroupProps {
2
+ span?: number;
3
+ gutter?: boolean | string;
4
+ align?: 'left' | 'center' | 'right';
5
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=ButtonGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { ButtonGroupProps } from './ButtonGroup';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1 @@
1
+ export * from './ButtonGroup';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface CheckboxProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ rules?: Arrayable<FormItemRule>;
8
+ disabled?: boolean;
9
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=Checkbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { CheckboxProps } from './Checkbox';
2
+ declare const _default: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './Checkbox';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface CheckboxGroupProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ required?: boolean;
8
+ rules?: Arrayable<FormItemRule>;
9
+ disabled?: boolean;
10
+ code?: string | Array<{
11
+ value: string;
12
+ content: string;
13
+ }>;
14
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=CheckboxGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { CheckboxGroupProps } from './CheckboxGroup';
2
+ declare const _default: import('vue').DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CheckboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './CheckboxGroup';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface DateInputProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ required?: boolean;
8
+ rules?: Arrayable<FormItemRule>;
9
+ maxlength?: string | number;
10
+ placeholder?: string;
11
+ disabled?: boolean;
12
+ readonly?: boolean;
13
+ editable?: boolean;
14
+ clearable?: boolean;
15
+ format?: string;
16
+ sourceFormat?: string;
17
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=DateInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { DateInputProps } from './DateInput';
2
+ declare const _default: import('vue').DefineComponent<DateInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DateInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './DateInput';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface DiyItemProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ required?: boolean;
8
+ rules?: Arrayable<FormItemRule>;
9
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=DiyItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiyItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { DiyItemProps } from './DiyItem';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<DiyItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DiyItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1 @@
1
+ export * from './DiyItem';
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { FormItemRule, Arrayable } from '../Form';
2
+ export interface FileInputProps {
3
+ name: string;
4
+ label?: string;
5
+ span?: number;
6
+ labelWidth?: string | number;
7
+ required?: boolean;
8
+ rules?: Arrayable<FormItemRule>;
9
+ disabled?: boolean;
10
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=FileInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}