@farris/ui-vue 1.0.0-beta.3 → 1.0.0-beta.5

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 (197) hide show
  1. package/accordion/package.json +3 -2
  2. package/avatar/package.json +3 -2
  3. package/button/package.json +3 -2
  4. package/button-edit/package.json +3 -2
  5. package/checkbox/package.json +3 -2
  6. package/combo-list/package.json +3 -2
  7. package/data-grid/index.esm.js +1 -2
  8. package/data-grid/index.umd.js +1 -1
  9. package/data-grid/package.json +3 -2
  10. package/date-picker/package.json +3 -2
  11. package/farris.all.esm.js +3 -3
  12. package/farris.all.umd.js +1 -1
  13. package/list-view/package.json +3 -2
  14. package/message-box/package.json +3 -2
  15. package/modal/package.json +3 -2
  16. package/notify/package.json +3 -2
  17. package/package.json +3 -2
  18. package/pagination/package.json +3 -2
  19. package/popover/package.json +3 -2
  20. package/radio-group/package.json +3 -2
  21. package/section/package.json +3 -2
  22. package/style.css +11 -1
  23. package/switch/package.json +3 -2
  24. package/tabs/package.json +3 -2
  25. package/text/package.json +3 -2
  26. package/tooltip/package.json +3 -2
  27. package/types/accordion/index.d.ts +25 -0
  28. package/types/accordion/src/accordion.component.d.ts +70 -0
  29. package/types/accordion/src/accordion.props.d.ts +50 -0
  30. package/types/accordion/src/components/accordion-item.component.d.ts +38 -0
  31. package/types/accordion/src/components/accordion-item.props.d.ts +34 -0
  32. package/types/avatar/index.d.ts +23 -0
  33. package/types/avatar/src/avatar.component.d.ts +109 -0
  34. package/types/avatar/src/avatar.props.d.ts +96 -0
  35. package/types/avatar/src/composition/types.d.ts +31 -0
  36. package/types/avatar/src/composition/use-image.d.ts +19 -0
  37. package/types/button/index.d.ts +24 -0
  38. package/types/button/src/button-group.component.d.ts +106 -0
  39. package/types/button/src/button-group.props.d.ts +106 -0
  40. package/types/button/src/button.component.d.ts +34 -0
  41. package/types/button/src/button.props.d.ts +47 -0
  42. package/types/button/src/composition/types-group.d.ts +24 -0
  43. package/types/button/src/composition/types.d.ts +24 -0
  44. package/types/button/src/composition/use-button-group.d.ts +19 -0
  45. package/types/button/src/composition/use-button.d.ts +19 -0
  46. package/types/button-edit/index.d.ts +23 -0
  47. package/types/button-edit/src/button-edit.props.d.ts +135 -0
  48. package/types/button-edit/src/composition/types.d.ts +118 -0
  49. package/types/button-edit/src/composition/use-button.d.ts +19 -0
  50. package/types/button-edit/src/composition/use-clear.d.ts +19 -0
  51. package/types/button-edit/src/composition/use-text-box.d.ts +19 -0
  52. package/types/checkbox/index.d.ts +23 -0
  53. package/types/checkbox/src/checkbox-group.component.d.ts +148 -0
  54. package/types/checkbox/src/checkbox-group.props.d.ts +123 -0
  55. package/types/checkbox/src/composition/types.d.ts +46 -0
  56. package/types/checkbox/src/composition/use-checkbox-group.d.ts +19 -0
  57. package/types/combo-list/index.d.ts +25 -0
  58. package/types/combo-list/src/combo-list.props.d.ts +290 -0
  59. package/types/combo-list/src/components/option.component.d.ts +39 -0
  60. package/types/combo-list/src/components/options.component.d.ts +10 -0
  61. package/types/combo-list/src/composition/index.d.ts +18 -0
  62. package/types/combo-list/src/composition/use-combo-list.d.ts +30 -0
  63. package/types/combo-list/src/composition/use-option.d.ts +19 -0
  64. package/types/combo-list/src/composition/use-options.d.ts +2 -0
  65. package/types/combo-list/src/composition/use-panel.d.ts +8 -0
  66. package/types/combo-list/src/const.d.ts +40 -0
  67. package/types/combo-list/src/types.d.ts +186 -0
  68. package/types/data-grid/index.d.ts +23 -0
  69. package/types/data-grid/src/components/data/data-area.component.d.ts +21 -0
  70. package/types/data-grid/src/components/editors/date-picker.component.d.ts +2 -0
  71. package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +2 -0
  72. package/types/data-grid/src/components/editors/text-editor.component.d.ts +17 -0
  73. package/types/data-grid/src/components/header/data-grid-header.component.d.ts +22 -0
  74. package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +5 -0
  75. package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +21 -0
  76. package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +21 -0
  77. package/types/data-grid/src/components/sidebar/data-grid-sidebar.component.d.ts +21 -0
  78. package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +5 -0
  79. package/types/data-grid/src/composition/types.d.ts +175 -0
  80. package/types/data-grid/src/composition/use-column.d.ts +17 -0
  81. package/types/data-grid/src/composition/use-data-view.d.ts +19 -0
  82. package/types/data-grid/src/composition/use-edit.d.ts +18 -0
  83. package/types/data-grid/src/composition/use-fit-column.d.ts +20 -0
  84. package/types/data-grid/src/composition/use-group-column.d.ts +22 -0
  85. package/types/data-grid/src/composition/use-group-data.d.ts +3 -0
  86. package/types/data-grid/src/composition/use-positon-style.d.ts +20 -0
  87. package/types/data-grid/src/composition/use-resize.d.ts +20 -0
  88. package/types/data-grid/src/composition/use-row.d.ts +3 -0
  89. package/types/data-grid/src/composition/use-sidebar.d.ts +3 -0
  90. package/types/data-grid/src/composition/use-virtual-scroll.d.ts +20 -0
  91. package/types/data-grid/src/composition/use-visual-data.d.ts +19 -0
  92. package/types/data-grid/src/data-grid.component.d.ts +278 -0
  93. package/types/data-grid/src/data-grid.props.d.ts +650 -0
  94. package/types/date-picker/index.d.ts +28 -0
  95. package/types/date-picker/src/components/calendar/calendar.component.d.ts +166 -0
  96. package/types/date-picker/src/components/calendar/calendar.props.d.ts +94 -0
  97. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +138 -0
  98. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +81 -0
  99. package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +626 -0
  100. package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +306 -0
  101. package/types/date-picker/src/components/month/month.component.d.ts +86 -0
  102. package/types/date-picker/src/components/month/month.props.d.ts +57 -0
  103. package/types/date-picker/src/components/year/year.component.d.ts +86 -0
  104. package/types/date-picker/src/components/year/year.props.d.ts +57 -0
  105. package/types/date-picker/src/composition/types.d.ts +102 -0
  106. package/types/date-picker/src/composition/use-calendar.d.ts +2 -0
  107. package/types/date-picker/src/composition/use-compare.d.ts +2 -0
  108. package/types/date-picker/src/composition/use-date.d.ts +2 -0
  109. package/types/date-picker/src/composition/use-disable-date.d.ts +18 -0
  110. package/types/date-picker/src/composition/use-disable-month.d.ts +2 -0
  111. package/types/date-picker/src/composition/use-event.d.ts +45 -0
  112. package/types/date-picker/src/composition/use-mark.d.ts +2 -0
  113. package/types/date-picker/src/composition/use-month.d.ts +2 -0
  114. package/types/date-picker/src/composition/use-number.d.ts +2 -0
  115. package/types/date-picker/src/composition/use-year.d.ts +2 -0
  116. package/types/date-picker/src/date-picker.props.d.ts +168 -0
  117. package/types/date-picker/src/types/calendar.d.ts +30 -0
  118. package/types/date-picker/src/types/common.d.ts +42 -0
  119. package/types/date-picker/src/types/date-model.d.ts +38 -0
  120. package/types/date-picker/src/types/month.d.ts +48 -0
  121. package/types/date-picker/src/types/year.d.ts +24 -0
  122. package/types/index.d.ts +20 -0
  123. package/types/list-view/index.d.ts +23 -0
  124. package/types/list-view/src/components/list-view-checkbox.component.d.ts +32 -0
  125. package/types/list-view/src/components/list-view-checkbox.props.d.ts +31 -0
  126. package/types/list-view/src/list-view.props.d.ts +44 -0
  127. package/types/message-box/index.d.ts +24 -0
  128. package/types/message-box/src/composition/types.d.ts +18 -0
  129. package/types/message-box/src/composition/use-copy.d.ts +18 -0
  130. package/types/message-box/src/message-box.component.d.ts +72 -0
  131. package/types/message-box/src/message-box.props.d.ts +52 -0
  132. package/types/modal/index.d.ts +23 -0
  133. package/types/modal/src/modal.component.d.ts +104 -0
  134. package/types/modal/src/modal.props.d.ts +72 -0
  135. package/types/notify/index.d.ts +26 -0
  136. package/types/notify/src/components/toast.component.d.ts +21 -0
  137. package/types/notify/src/components/toast.props.d.ts +27 -0
  138. package/types/notify/src/notify.props.d.ts +99 -0
  139. package/types/number-range/index.d.ts +23 -0
  140. package/types/number-range/src/composition/types.d.ts +52 -0
  141. package/types/number-range/src/composition/use-data.d.ts +19 -0
  142. package/types/number-range/src/composition/use-util.d.ts +19 -0
  143. package/types/number-range/src/number-range.component.d.ts +247 -0
  144. package/types/number-range/src/number-range.props.d.ts +216 -0
  145. package/types/number-spinner/index.d.ts +23 -0
  146. package/types/number-spinner/src/composition/types.d.ts +52 -0
  147. package/types/number-spinner/src/composition/use-data.d.ts +19 -0
  148. package/types/number-spinner/src/composition/use-util.d.ts +19 -0
  149. package/types/number-spinner/src/number-spinner.component.d.ts +202 -0
  150. package/types/number-spinner/src/number-spinner.props.d.ts +181 -0
  151. package/types/overlay/src/overlay.component.d.ts +20 -0
  152. package/types/overlay/src/overlay.props.d.ts +26 -0
  153. package/types/pagination/index.d.ts +23 -0
  154. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +19 -0
  155. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +20 -0
  156. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +20 -0
  157. package/types/pagination/src/components/pages/page-info.component.d.ts +19 -0
  158. package/types/pagination/src/components/pages/page-list.component.d.ts +19 -0
  159. package/types/pagination/src/components/pages/page-number.component.d.ts +20 -0
  160. package/types/pagination/src/composition/types.d.ts +24 -0
  161. package/types/pagination/src/composition/use-pages.d.ts +18 -0
  162. package/types/pagination/src/pagination.components.d.ts +41 -0
  163. package/types/pagination/src/pagination.props.d.ts +36 -0
  164. package/types/popover/index.d.ts +24 -0
  165. package/types/popover/src/popover.component.d.ts +26 -0
  166. package/types/popover/src/popover.directive.d.ts +5 -0
  167. package/types/popover/src/popover.props.d.ts +30 -0
  168. package/types/radio-group/index.d.ts +23 -0
  169. package/types/radio-group/src/composition/change-radio.d.ts +19 -0
  170. package/types/radio-group/src/composition/types.d.ts +42 -0
  171. package/types/radio-group/src/radio-group.component.d.ts +91 -0
  172. package/types/radio-group/src/radio-group.props.d.ts +87 -0
  173. package/types/section/index.d.ts +23 -0
  174. package/types/section/src/section.component.d.ts +187 -0
  175. package/types/section/src/section.props.d.ts +117 -0
  176. package/types/switch/index.d.ts +23 -0
  177. package/types/switch/src/switch.component.d.ts +66 -0
  178. package/types/switch/src/switch.props.d.ts +52 -0
  179. package/types/tabs/index.d.ts +25 -0
  180. package/types/tabs/src/components/tab-page.component.d.ts +101 -0
  181. package/types/tabs/src/components/tab-page.props.d.ts +63 -0
  182. package/types/tabs/src/composition/types.d.ts +35 -0
  183. package/types/tabs/src/composition/use-tabs.d.ts +18 -0
  184. package/types/tabs/src/tabs.component.d.ts +149 -0
  185. package/types/tabs/src/tabs.props.d.ts +86 -0
  186. package/types/text/index.d.ts +23 -0
  187. package/types/text/src/text.component.d.ts +14 -0
  188. package/types/text/src/text.props.d.ts +26 -0
  189. package/types/tooltip/index.d.ts +24 -0
  190. package/types/tooltip/src/composition/types.d.ts +45 -0
  191. package/types/tooltip/src/composition/use-adjust-placement.d.ts +20 -0
  192. package/types/tooltip/src/composition/use-adjust-position.d.ts +6 -0
  193. package/types/tooltip/src/composition/use-calculate-position.d.ts +21 -0
  194. package/types/tooltip/src/composition/use-relative.d.ts +19 -0
  195. package/types/tooltip/src/composition/use-tooltip-position.d.ts +22 -0
  196. package/types/tooltip/src/tooltip.component.d.ts +56 -0
  197. package/types/tooltip/src/tooltip.props.d.ts +45 -0
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ExtractPropTypes, PropType } from 'vue';
17
+ export type PaginationMode = 'default' | 'simple';
18
+ export declare const paginationProps: {
19
+ currentPage: {
20
+ type: NumberConstructor;
21
+ default: number;
22
+ };
23
+ mode: {
24
+ type: PropType<PaginationMode>;
25
+ default: string;
26
+ };
27
+ pageSize: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ totalItems: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ };
36
+ export type PaginationPropsType = ExtractPropTypes<typeof paginationProps>;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { App } from 'vue';
17
+ import Popover from './src/popover.component';
18
+ import PopoverDirective from './src/popover.directive';
19
+ export * from './src/popover.props';
20
+ export { Popover, PopoverDirective };
21
+ declare const _default: {
22
+ install(app: App): void;
23
+ };
24
+ export default _default;
@@ -0,0 +1,26 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ title: {
3
+ type: StringConstructor;
4
+ };
5
+ placement: {
6
+ type: import("vue").PropType<import("./popover.props").PopoverPlacement>;
7
+ default: string;
8
+ };
9
+ reference: {
10
+ type: import("vue").PropType<any>;
11
+ };
12
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ title: {
14
+ type: StringConstructor;
15
+ };
16
+ placement: {
17
+ type: import("vue").PropType<import("./popover.props").PopoverPlacement>;
18
+ default: string;
19
+ };
20
+ reference: {
21
+ type: import("vue").PropType<any>;
22
+ };
23
+ }>>, {
24
+ placement: import("./popover.props").PopoverPlacement;
25
+ }>;
26
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const popoverDirective: {
2
+ mounted: (element: any, binding: Record<string, any>, vnode: any) => void;
3
+ unMounted: (element: any, binding: Record<string, any>, vnode: any) => void;
4
+ };
5
+ export default popoverDirective;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ExtractPropTypes, PropType } from 'vue';
17
+ export type PopoverPlacement = 'top' | 'bottom' | 'left' | 'right' | 'auto';
18
+ export declare const popoverProps: {
19
+ title: {
20
+ type: StringConstructor;
21
+ };
22
+ placement: {
23
+ type: PropType<PopoverPlacement>;
24
+ default: string;
25
+ };
26
+ reference: {
27
+ type: PropType<any>;
28
+ };
29
+ };
30
+ export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { App } from 'vue';
17
+ import RadioGroup from './src/radio-group.component';
18
+ export * from './src/radio-group.props';
19
+ export { RadioGroup };
20
+ declare const _default: {
21
+ install(app: App): void;
22
+ };
23
+ export default _default;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ChangeRadio } from './types';
17
+ import { Ref, SetupContext } from 'vue';
18
+ import { RadioGroupProps } from '../radio-group.props';
19
+ export declare function changeRadio(props: RadioGroupProps, context: SetupContext, modelValue: Ref<string>): ChangeRadio;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ComputedRef } from 'vue';
17
+ export interface Radio {
18
+ [key: string]: any;
19
+ /**
20
+ * 枚举值
21
+ */
22
+ value: ComputedRef<any>;
23
+ /**
24
+ * 枚举展示文本
25
+ */
26
+ name: ComputedRef<any>;
27
+ }
28
+ export interface ChangeRadio {
29
+ enumData: ComputedRef<Array<Radio>>;
30
+ /**
31
+ * 获取枚举值
32
+ */
33
+ getValue(item: Radio): any;
34
+ /**
35
+ * 获取枚举文本
36
+ */
37
+ getText(item: Radio): any;
38
+ /**
39
+ * 切换单选按钮事件
40
+ */
41
+ onClickRadio: (item: Radio, $event: Event) => void;
42
+ }
@@ -0,0 +1,91 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ id: StringConstructor;
3
+ name: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ enumData: {
8
+ (arrayLength: number): import("./composition/types").Radio[];
9
+ (...items: import("./composition/types").Radio[]): import("./composition/types").Radio[];
10
+ new (arrayLength: number): import("./composition/types").Radio[];
11
+ new (...items: import("./composition/types").Radio[]): import("./composition/types").Radio[];
12
+ isArray(arg: any): arg is any[];
13
+ readonly prototype: any[];
14
+ from<T>(arrayLike: ArrayLike<T>): T[];
15
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
16
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
17
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
18
+ of<T_4>(...items: T_4[]): T_4[];
19
+ readonly [Symbol.species]: ArrayConstructor;
20
+ };
21
+ textField: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ valueField: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ horizontal: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ disabled: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ modelValue: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ tabIndex: NumberConstructor;
42
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "update:modelValue" | "changeValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
+ id: StringConstructor;
44
+ name: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ enumData: {
49
+ (arrayLength: number): import("./composition/types").Radio[];
50
+ (...items: import("./composition/types").Radio[]): import("./composition/types").Radio[];
51
+ new (arrayLength: number): import("./composition/types").Radio[];
52
+ new (...items: import("./composition/types").Radio[]): import("./composition/types").Radio[];
53
+ isArray(arg: any): arg is any[];
54
+ readonly prototype: any[];
55
+ from<T>(arrayLike: ArrayLike<T>): T[];
56
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
57
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
58
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
59
+ of<T_4>(...items: T_4[]): T_4[];
60
+ readonly [Symbol.species]: ArrayConstructor;
61
+ };
62
+ textField: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ valueField: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ horizontal: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ disabled: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ modelValue: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ tabIndex: NumberConstructor;
83
+ }>>, {
84
+ name: string;
85
+ modelValue: string;
86
+ disabled: boolean;
87
+ textField: string;
88
+ valueField: string;
89
+ horizontal: boolean;
90
+ }>;
91
+ export default _default;
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ExtractPropTypes } from 'vue';
17
+ import { Radio } from './composition/types';
18
+ export declare const radioGroupProps: {
19
+ /**
20
+ * 组件标识
21
+ */
22
+ id: StringConstructor;
23
+ /**
24
+ * 组件名称
25
+ */
26
+ name: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ /**
31
+ * 单选组枚举数组
32
+ */
33
+ enumData: {
34
+ (arrayLength: number): Radio[];
35
+ (...items: Radio[]): Radio[];
36
+ new (arrayLength: number): Radio[];
37
+ new (...items: Radio[]): Radio[];
38
+ isArray(arg: any): arg is any[];
39
+ readonly prototype: any[];
40
+ from<T>(arrayLike: ArrayLike<T>): T[];
41
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
42
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
43
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
44
+ of<T_4>(...items: T_4[]): T_4[];
45
+ readonly [Symbol.species]: ArrayConstructor;
46
+ };
47
+ /**
48
+ * 枚举数组中展示文本的key值。
49
+ */
50
+ textField: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ /**
55
+ * 枚举数组中枚举值的key值。
56
+ */
57
+ valueField: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ /**
62
+ * 组件是否水平排列
63
+ */
64
+ horizontal: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ /**
69
+ * 禁用组件,不允许切换单选值
70
+ */
71
+ disabled: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ /**
76
+ * 组件值
77
+ */
78
+ modelValue: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ /**
83
+ * 输入框Tab键索引
84
+ */
85
+ tabIndex: NumberConstructor;
86
+ };
87
+ export type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { App } from 'vue';
17
+ import Section from './src/section.component';
18
+ export * from './src/section.props';
19
+ export { Section };
20
+ declare const _default: {
21
+ install(app: App): void;
22
+ };
23
+ export default _default;
@@ -0,0 +1,187 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ contentClass: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ maxStatus: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ enableAccording: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ enableCollapse: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ mainTitle: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ subTitle: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ showHeader: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ enableMaximize: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ fill: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ expandStatus: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ cotext: {
43
+ type: ObjectConstructor;
44
+ };
45
+ index: {
46
+ type: NumberConstructor;
47
+ };
48
+ toolbarPosition: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ toolbarButtons: {
53
+ type: {
54
+ (arrayLength: number): object[];
55
+ (...items: object[]): object[];
56
+ new (arrayLength: number): object[];
57
+ new (...items: object[]): object[];
58
+ isArray(arg: any): arg is any[];
59
+ readonly prototype: any[];
60
+ from<T>(arrayLike: ArrayLike<T>): T[];
61
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
62
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
63
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
64
+ of<T_4>(...items: T_4[]): T_4[];
65
+ readonly [Symbol.species]: ArrayConstructor;
66
+ };
67
+ default: never[];
68
+ };
69
+ toolbar: {
70
+ type: import("vue").PropType<import("./section.props").ToolbarConfig>;
71
+ default: {};
72
+ };
73
+ showToolbarMoreButton: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ clickThrottleTime: {
78
+ type: NumberConstructor;
79
+ default: number;
80
+ };
81
+ headerClass: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
86
+ contentClass: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ maxStatus: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ enableAccording: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ enableCollapse: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ mainTitle: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ subTitle: {
107
+ type: StringConstructor;
108
+ default: string;
109
+ };
110
+ showHeader: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ enableMaximize: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
118
+ fill: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ expandStatus: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ cotext: {
127
+ type: ObjectConstructor;
128
+ };
129
+ index: {
130
+ type: NumberConstructor;
131
+ };
132
+ toolbarPosition: {
133
+ type: StringConstructor;
134
+ default: string;
135
+ };
136
+ toolbarButtons: {
137
+ type: {
138
+ (arrayLength: number): object[];
139
+ (...items: object[]): object[];
140
+ new (arrayLength: number): object[];
141
+ new (...items: object[]): object[];
142
+ isArray(arg: any): arg is any[];
143
+ readonly prototype: any[];
144
+ from<T>(arrayLike: ArrayLike<T>): T[];
145
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
146
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
147
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
148
+ of<T_4>(...items: T_4[]): T_4[];
149
+ readonly [Symbol.species]: ArrayConstructor;
150
+ };
151
+ default: never[];
152
+ };
153
+ toolbar: {
154
+ type: import("vue").PropType<import("./section.props").ToolbarConfig>;
155
+ default: {};
156
+ };
157
+ showToolbarMoreButton: {
158
+ type: BooleanConstructor;
159
+ default: boolean;
160
+ };
161
+ clickThrottleTime: {
162
+ type: NumberConstructor;
163
+ default: number;
164
+ };
165
+ headerClass: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ }>>, {
170
+ fill: boolean;
171
+ toolbar: import("./section.props").ToolbarConfig;
172
+ showHeader: boolean;
173
+ contentClass: string;
174
+ maxStatus: boolean;
175
+ enableAccording: boolean;
176
+ enableCollapse: boolean;
177
+ mainTitle: string;
178
+ subTitle: string;
179
+ enableMaximize: boolean;
180
+ expandStatus: boolean;
181
+ toolbarPosition: string;
182
+ toolbarButtons: object[];
183
+ showToolbarMoreButton: boolean;
184
+ clickThrottleTime: number;
185
+ headerClass: string;
186
+ }>;
187
+ export default _default;