@ternarytech-io/gears-ui 0.2.1 → 0.3.1

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.
package/src/index.ts CHANGED
@@ -1,215 +1,227 @@
1
- // Gears UI: Vue components on Tabler. Import the styles once (`@ternarytech-io/gears-ui/styles.css`), then either
2
- // install the plugin (registers every component globally) or import components one by one.
3
- // Components that need an optional library have their own entry points, so apps that don't use
4
- // them don't need the library: `@ternarytech-io/gears-ui/code-editor` (Monaco) and `@ternarytech-io/gears-ui/plugins` (Tom
5
- // Select, Coloris, Vanilla Calendar Pro, Dropzone, IMask, noUiSlider, SortableJS, HugeRTE).
6
- import type { App } from 'vue'
7
- import TAccentPicker from './components/TAccentPicker.vue'
8
- import TAdvancedTable from './components/TAdvancedTable.vue'
9
- import TAlert from './components/TAlert.vue'
10
- import TAppLayout from './components/TAppLayout.vue'
11
- import TAuthLayout from './components/TAuthLayout.vue'
12
- import TAvatar from './components/TAvatar.vue'
13
- import TBadge from './components/TBadge.vue'
14
- import TButton from './components/TButton.vue'
15
- import TCard from './components/TCard.vue'
16
- import TCheckbox from './components/TCheckbox.vue'
17
- import TColorModeButton from './components/TColorModeButton.vue'
18
- import TCommandPalette from './components/TCommandPalette.vue'
19
- import TContainerPicker from './components/TContainerPicker.vue'
20
- import TCopyButton from './components/TCopyButton.vue'
21
- import TDensityPicker from './components/TDensityPicker.vue'
22
- import TDropdown from './components/TDropdown.vue'
23
- import TEmpty from './components/TEmpty.vue'
24
- import TFieldGroup from './components/TFieldGroup.vue'
25
- import TFileUpload from './components/TFileUpload.vue'
26
- import TFontPicker from './components/TFontPicker.vue'
27
- import TFormField from './components/TFormField.vue'
28
- import TIcon from './components/TIcon.vue'
29
- import TImageUpload from './components/TImageUpload.vue'
30
- import TInput from './components/TInput.vue'
31
- import TInputNumber from './components/TInputNumber.vue'
32
- import TInputTags from './components/TInputTags.vue'
33
- import TLogView from './components/TLogView.vue'
34
- import TModal from './components/TModal.vue'
35
- import TNav from './components/TNav.vue'
36
- import TNavPositionPicker from './components/TNavPositionPicker.vue'
37
- import TPage from './components/TPage.vue'
38
- import TPagination from './components/TPagination.vue'
39
- import TPanelList from './components/TPanelList.vue'
40
- import TProgress from './components/TProgress.vue'
41
- import TRadioGroup from './components/TRadioGroup.vue'
42
- import TRadiusPicker from './components/TRadiusPicker.vue'
43
- import TScaledFrame from './components/TScaledFrame.vue'
44
- import TSearchButton from './components/TSearchButton.vue'
45
- import TSectionLayout from './components/TSectionLayout.vue'
46
- import TSelect from './components/TSelect.vue'
47
- import TSelectMenu from './components/TSelectMenu.vue'
48
- import TSeparator from './components/TSeparator.vue'
49
- import TShell from './components/TShell.vue'
50
- import TSkeleton from './components/TSkeleton.vue'
51
- import TSlideover from './components/TSlideover.vue'
52
- import TSpinner from './components/TSpinner.vue'
53
- import TSplitter from './components/TSplitter.vue'
54
- import TStatCard from './components/TStatCard.vue'
55
- import TSteps from './components/TSteps.vue'
56
- import TSwitch from './components/TSwitch.vue'
57
- import TTable from './components/TTable.vue'
58
- import TTabs from './components/TTabs.vue'
59
- import TTextarea from './components/TTextarea.vue'
60
- import TThemeBasePicker from './components/TThemeBasePicker.vue'
61
- import TThemeScope from './components/TThemeScope.vue'
62
- import TToaster from './components/TToaster.vue'
63
- import TTooltip from './components/TTooltip.vue'
64
- import TTopbar from './components/TTopbar.vue'
65
- import TVectorMap from './components/TVectorMap.vue'
66
-
67
- export {
68
- TAccentPicker,
69
- TAdvancedTable,
70
- TAlert,
71
- TAppLayout,
72
- TAuthLayout,
73
- TAvatar,
74
- TBadge,
75
- TButton,
76
- TCard,
77
- TCheckbox,
78
- TColorModeButton,
79
- TCommandPalette,
80
- TContainerPicker,
81
- TCopyButton,
82
- TDensityPicker,
83
- TDropdown,
84
- TEmpty,
85
- TFieldGroup,
86
- TFileUpload,
87
- TFontPicker,
88
- TFormField,
89
- TIcon,
90
- TImageUpload,
91
- TInput,
92
- TInputNumber,
93
- TInputTags,
94
- TLogView,
95
- TModal,
96
- TNav,
97
- TNavPositionPicker,
98
- TPage,
99
- TPagination,
100
- TPanelList,
101
- TProgress,
102
- TRadioGroup,
103
- TRadiusPicker,
104
- TScaledFrame,
105
- TSearchButton,
106
- TSectionLayout,
107
- TSelect,
108
- TSelectMenu,
109
- TSeparator,
110
- TShell,
111
- TSkeleton,
112
- TSlideover,
113
- TSpinner,
114
- TSplitter,
115
- TStatCard,
116
- TSteps,
117
- TSwitch,
118
- TTable,
119
- TTabs,
120
- TTextarea,
121
- TThemeBasePicker,
122
- TThemeScope,
123
- TToaster,
124
- TTooltip,
125
- TTopbar,
126
- TVectorMap
127
- }
128
-
129
- export * from './types'
130
- export { isCustomAccent, themeAccents, themeBases, themeContainers, themeDensities, themeFonts, themeNavs, themeRadii } from './theme'
131
- export { useColorMode, type ColorMode } from './composables/useColorMode'
132
- export { useCommandPalette } from './composables/useCommandPalette'
133
- export { useField } from './composables/useField'
134
- export { useToast, type Toast } from './composables/useToast'
135
-
136
- const components = {
137
- TAccentPicker, TAdvancedTable, TAlert, TAppLayout, TAuthLayout, TAvatar, TBadge, TButton, TCard,
138
- TCheckbox, TColorModeButton, TCommandPalette, TContainerPicker, TCopyButton, TDensityPicker,
139
- TDropdown, TEmpty, TFieldGroup, TFileUpload, TFontPicker, TFormField, TIcon, TImageUpload,
140
- TInput, TInputNumber, TInputTags, TLogView, TModal, TNav, TNavPositionPicker, TPage, TPagination,
141
- TPanelList, TProgress, TRadioGroup, TRadiusPicker, TScaledFrame, TSearchButton, TSectionLayout,
142
- TSelect, TSelectMenu, TSeparator, TShell, TSkeleton, TSlideover, TSpinner, TSplitter, TStatCard,
143
- TSteps, TSwitch, TTable, TTabs, TTextarea, TThemeBasePicker, TThemeScope, TToaster, TTooltip,
144
- TTopbar, TVectorMap
145
- }
146
-
147
- export default {
148
- install(app: App) {
149
- for (const [name, component] of Object.entries(components)) app.component(name, component)
150
- }
151
- }
152
-
153
- declare module 'vue' {
154
- export interface GlobalComponents {
155
- TAccentPicker: typeof TAccentPicker
156
- TAdvancedTable: typeof TAdvancedTable
157
- TAlert: typeof TAlert
158
- TAppLayout: typeof TAppLayout
159
- TAuthLayout: typeof TAuthLayout
160
- TAvatar: typeof TAvatar
161
- TBadge: typeof TBadge
162
- TButton: typeof TButton
163
- TCard: typeof TCard
164
- TCheckbox: typeof TCheckbox
165
- TColorModeButton: typeof TColorModeButton
166
- TCommandPalette: typeof TCommandPalette
167
- TContainerPicker: typeof TContainerPicker
168
- TCopyButton: typeof TCopyButton
169
- TDensityPicker: typeof TDensityPicker
170
- TDropdown: typeof TDropdown
171
- TEmpty: typeof TEmpty
172
- TFieldGroup: typeof TFieldGroup
173
- TFileUpload: typeof TFileUpload
174
- TFontPicker: typeof TFontPicker
175
- TFormField: typeof TFormField
176
- TIcon: typeof TIcon
177
- TImageUpload: typeof TImageUpload
178
- TInput: typeof TInput
179
- TInputNumber: typeof TInputNumber
180
- TInputTags: typeof TInputTags
181
- TLogView: typeof TLogView
182
- TModal: typeof TModal
183
- TNav: typeof TNav
184
- TNavPositionPicker: typeof TNavPositionPicker
185
- TPage: typeof TPage
186
- TPagination: typeof TPagination
187
- TPanelList: typeof TPanelList
188
- TProgress: typeof TProgress
189
- TRadioGroup: typeof TRadioGroup
190
- TRadiusPicker: typeof TRadiusPicker
191
- TScaledFrame: typeof TScaledFrame
192
- TSearchButton: typeof TSearchButton
193
- TSectionLayout: typeof TSectionLayout
194
- TSelect: typeof TSelect
195
- TSelectMenu: typeof TSelectMenu
196
- TSeparator: typeof TSeparator
197
- TShell: typeof TShell
198
- TSkeleton: typeof TSkeleton
199
- TSlideover: typeof TSlideover
200
- TSpinner: typeof TSpinner
201
- TSplitter: typeof TSplitter
202
- TStatCard: typeof TStatCard
203
- TSteps: typeof TSteps
204
- TSwitch: typeof TSwitch
205
- TTable: typeof TTable
206
- TTabs: typeof TTabs
207
- TTextarea: typeof TTextarea
208
- TThemeBasePicker: typeof TThemeBasePicker
209
- TThemeScope: typeof TThemeScope
210
- TToaster: typeof TToaster
211
- TTooltip: typeof TTooltip
212
- TTopbar: typeof TTopbar
213
- TVectorMap: typeof TVectorMap
214
- }
215
- }
1
+ // Gears UI: Vue components on Tabler. Import the styles once (`@ternarytech-io/gears-ui/styles.css`), then either
2
+ // install the plugin (registers every component globally) or import components one by one.
3
+ // Components that need an optional library have their own entry points, so apps that don't use
4
+ // them don't need the library: `@ternarytech-io/gears-ui/code-editor` (Monaco) and `@ternarytech-io/gears-ui/plugins` (Tom
5
+ // Select, Coloris, Vanilla Calendar Pro, Dropzone, IMask, noUiSlider, SortableJS, HugeRTE).
6
+ import type { App } from 'vue'
7
+ import TAccentPicker from './components/TAccentPicker.vue'
8
+ import TAdvancedTable from './components/TAdvancedTable.vue'
9
+ import TAlert from './components/TAlert.vue'
10
+ import TAppLayout from './components/TAppLayout.vue'
11
+ import TAuthLayout from './components/TAuthLayout.vue'
12
+ import TAvatar from './components/TAvatar.vue'
13
+ import TBadge from './components/TBadge.vue'
14
+ import TButton from './components/TButton.vue'
15
+ import TCard from './components/TCard.vue'
16
+ import TCheckbox from './components/TCheckbox.vue'
17
+ import TColorModeButton from './components/TColorModeButton.vue'
18
+ import TCommandPalette from './components/TCommandPalette.vue'
19
+ import TContainerPicker from './components/TContainerPicker.vue'
20
+ import TCopyButton from './components/TCopyButton.vue'
21
+ import TDataGrid from './components/TDataGrid.vue'
22
+ import TDataGridItem from './components/TDataGridItem.vue'
23
+ import TDensityPicker from './components/TDensityPicker.vue'
24
+ import TDropdown from './components/TDropdown.vue'
25
+ import TEditableTable from './components/TEditableTable.vue'
26
+ import TEmpty from './components/TEmpty.vue'
27
+ import TFieldGroup from './components/TFieldGroup.vue'
28
+ import TFileUpload from './components/TFileUpload.vue'
29
+ import TFontPicker from './components/TFontPicker.vue'
30
+ import TFormField from './components/TFormField.vue'
31
+ import TIcon from './components/TIcon.vue'
32
+ import TImageUpload from './components/TImageUpload.vue'
33
+ import TInput from './components/TInput.vue'
34
+ import TInputNumber from './components/TInputNumber.vue'
35
+ import TInputTags from './components/TInputTags.vue'
36
+ import TLogView from './components/TLogView.vue'
37
+ import TModal from './components/TModal.vue'
38
+ import TNav from './components/TNav.vue'
39
+ import TNavPositionPicker from './components/TNavPositionPicker.vue'
40
+ import TPage from './components/TPage.vue'
41
+ import TPagination from './components/TPagination.vue'
42
+ import TPanelList from './components/TPanelList.vue'
43
+ import TProgress from './components/TProgress.vue'
44
+ import TRadioGroup from './components/TRadioGroup.vue'
45
+ import TRadiusPicker from './components/TRadiusPicker.vue'
46
+ import TScaledFrame from './components/TScaledFrame.vue'
47
+ import TSearchButton from './components/TSearchButton.vue'
48
+ import TSectionLayout from './components/TSectionLayout.vue'
49
+ import TSelect from './components/TSelect.vue'
50
+ import TSelectMenu from './components/TSelectMenu.vue'
51
+ import TSeparator from './components/TSeparator.vue'
52
+ import TShell from './components/TShell.vue'
53
+ import TSkeleton from './components/TSkeleton.vue'
54
+ import TSlideover from './components/TSlideover.vue'
55
+ import TSparkline from './components/TSparkline.vue'
56
+ import TSpinner from './components/TSpinner.vue'
57
+ import TSplitter from './components/TSplitter.vue'
58
+ import TStatCard from './components/TStatCard.vue'
59
+ import TSteps from './components/TSteps.vue'
60
+ import TSwitch from './components/TSwitch.vue'
61
+ import TTable from './components/TTable.vue'
62
+ import TTabs from './components/TTabs.vue'
63
+ import TTextarea from './components/TTextarea.vue'
64
+ import TThemeBasePicker from './components/TThemeBasePicker.vue'
65
+ import TThemeScope from './components/TThemeScope.vue'
66
+ import TToaster from './components/TToaster.vue'
67
+ import TTooltip from './components/TTooltip.vue'
68
+ import TTopbar from './components/TTopbar.vue'
69
+ import TVectorMap from './components/TVectorMap.vue'
70
+
71
+ export {
72
+ TAccentPicker,
73
+ TAdvancedTable,
74
+ TAlert,
75
+ TAppLayout,
76
+ TAuthLayout,
77
+ TAvatar,
78
+ TBadge,
79
+ TButton,
80
+ TCard,
81
+ TCheckbox,
82
+ TColorModeButton,
83
+ TCommandPalette,
84
+ TContainerPicker,
85
+ TCopyButton,
86
+ TDataGrid,
87
+ TDataGridItem,
88
+ TDensityPicker,
89
+ TDropdown,
90
+ TEditableTable,
91
+ TEmpty,
92
+ TFieldGroup,
93
+ TFileUpload,
94
+ TFontPicker,
95
+ TFormField,
96
+ TIcon,
97
+ TImageUpload,
98
+ TInput,
99
+ TInputNumber,
100
+ TInputTags,
101
+ TLogView,
102
+ TModal,
103
+ TNav,
104
+ TNavPositionPicker,
105
+ TPage,
106
+ TPagination,
107
+ TPanelList,
108
+ TProgress,
109
+ TRadioGroup,
110
+ TRadiusPicker,
111
+ TScaledFrame,
112
+ TSearchButton,
113
+ TSectionLayout,
114
+ TSelect,
115
+ TSelectMenu,
116
+ TSeparator,
117
+ TShell,
118
+ TSkeleton,
119
+ TSlideover,
120
+ TSparkline,
121
+ TSpinner,
122
+ TSplitter,
123
+ TStatCard,
124
+ TSteps,
125
+ TSwitch,
126
+ TTable,
127
+ TTabs,
128
+ TTextarea,
129
+ TThemeBasePicker,
130
+ TThemeScope,
131
+ TToaster,
132
+ TTooltip,
133
+ TTopbar,
134
+ TVectorMap
135
+ }
136
+
137
+ export * from './types'
138
+ export { isCustomAccent, themeAccents, themeBases, themeContainers, themeDensities, themeFonts, themeNavs, themeRadii, themeRadiusSizes } from './theme'
139
+ export { useColorMode, type ColorMode } from './composables/useColorMode'
140
+ export { useCommandPalette } from './composables/useCommandPalette'
141
+ export { useField } from './composables/useField'
142
+ export { useToast, type Toast } from './composables/useToast'
143
+
144
+ const components = {
145
+ TAccentPicker, TAdvancedTable, TAlert, TAppLayout, TAuthLayout, TAvatar, TBadge, TButton, TCard,
146
+ TCheckbox, TColorModeButton, TCommandPalette, TContainerPicker, TCopyButton, TDataGrid, TDataGridItem, TDensityPicker,
147
+ TDropdown, TEditableTable, TEmpty, TFieldGroup, TFileUpload, TFontPicker, TFormField, TIcon, TImageUpload,
148
+ TInput, TInputNumber, TInputTags, TLogView, TModal, TNav, TNavPositionPicker, TPage, TPagination,
149
+ TPanelList, TProgress, TRadioGroup, TRadiusPicker, TScaledFrame, TSearchButton, TSectionLayout,
150
+ TSelect, TSelectMenu, TSeparator, TShell, TSkeleton, TSlideover, TSparkline, TSpinner, TSplitter, TStatCard,
151
+ TSteps, TSwitch, TTable, TTabs, TTextarea, TThemeBasePicker, TThemeScope, TToaster, TTooltip,
152
+ TTopbar, TVectorMap
153
+ }
154
+
155
+ export default {
156
+ install(app: App) {
157
+ for (const [name, component] of Object.entries(components)) app.component(name, component)
158
+ }
159
+ }
160
+
161
+ declare module 'vue' {
162
+ export interface GlobalComponents {
163
+ TAccentPicker: typeof TAccentPicker
164
+ TAdvancedTable: typeof TAdvancedTable
165
+ TAlert: typeof TAlert
166
+ TAppLayout: typeof TAppLayout
167
+ TAuthLayout: typeof TAuthLayout
168
+ TAvatar: typeof TAvatar
169
+ TBadge: typeof TBadge
170
+ TButton: typeof TButton
171
+ TCard: typeof TCard
172
+ TCheckbox: typeof TCheckbox
173
+ TColorModeButton: typeof TColorModeButton
174
+ TCommandPalette: typeof TCommandPalette
175
+ TContainerPicker: typeof TContainerPicker
176
+ TCopyButton: typeof TCopyButton
177
+ TDataGrid: typeof TDataGrid
178
+ TDataGridItem: typeof TDataGridItem
179
+ TDensityPicker: typeof TDensityPicker
180
+ TDropdown: typeof TDropdown
181
+ TEditableTable: typeof TEditableTable
182
+ TEmpty: typeof TEmpty
183
+ TFieldGroup: typeof TFieldGroup
184
+ TFileUpload: typeof TFileUpload
185
+ TFontPicker: typeof TFontPicker
186
+ TFormField: typeof TFormField
187
+ TIcon: typeof TIcon
188
+ TImageUpload: typeof TImageUpload
189
+ TInput: typeof TInput
190
+ TInputNumber: typeof TInputNumber
191
+ TInputTags: typeof TInputTags
192
+ TLogView: typeof TLogView
193
+ TModal: typeof TModal
194
+ TNav: typeof TNav
195
+ TNavPositionPicker: typeof TNavPositionPicker
196
+ TPage: typeof TPage
197
+ TPagination: typeof TPagination
198
+ TPanelList: typeof TPanelList
199
+ TProgress: typeof TProgress
200
+ TRadioGroup: typeof TRadioGroup
201
+ TRadiusPicker: typeof TRadiusPicker
202
+ TScaledFrame: typeof TScaledFrame
203
+ TSearchButton: typeof TSearchButton
204
+ TSectionLayout: typeof TSectionLayout
205
+ TSelect: typeof TSelect
206
+ TSelectMenu: typeof TSelectMenu
207
+ TSeparator: typeof TSeparator
208
+ TShell: typeof TShell
209
+ TSkeleton: typeof TSkeleton
210
+ TSlideover: typeof TSlideover
211
+ TSparkline: typeof TSparkline
212
+ TSpinner: typeof TSpinner
213
+ TSplitter: typeof TSplitter
214
+ TStatCard: typeof TStatCard
215
+ TSteps: typeof TSteps
216
+ TSwitch: typeof TSwitch
217
+ TTable: typeof TTable
218
+ TTabs: typeof TTabs
219
+ TTextarea: typeof TTextarea
220
+ TThemeBasePicker: typeof TThemeBasePicker
221
+ TThemeScope: typeof TThemeScope
222
+ TToaster: typeof TToaster
223
+ TTooltip: typeof TTooltip
224
+ TTopbar: typeof TTopbar
225
+ TVectorMap: typeof TVectorMap
226
+ }
227
+ }
@@ -0,0 +1,4 @@
1
+ // Loads ApexCharts (the library Tabler's charts use), the first time a TChart is shown.
2
+ import { once } from './once'
3
+
4
+ export const loadApexCharts = once(async () => (await import('apexcharts')).default)
@@ -1,52 +1,55 @@
1
- // Gears UI's plugin components, on the libraries Tabler's plugins use. Each library is an optional
2
- // peer dependency that loads the first time its component is shown. Installing this plugin needs
3
- // all of them; to use only some, import those components from `@ternarytech-io/gears-ui/components/…` instead.
4
- import type { App } from 'vue'
5
- import TAdvancedSelect from '../components/TAdvancedSelect.vue'
6
- import TColorPicker from '../components/TColorPicker.vue'
7
- import TDatePicker from '../components/TDatePicker.vue'
8
- import TDropzone from '../components/TDropzone.vue'
9
- import TInputMask from '../components/TInputMask.vue'
10
- import TRangeSlider from '../components/TRangeSlider.vue'
11
- import TRichEditor from '../components/TRichEditor.vue'
12
- import TSortable from '../components/TSortable.vue'
13
- import TSortableTree from '../components/TSortableTree.vue'
14
-
15
- export {
16
- TAdvancedSelect,
17
- TColorPicker,
18
- TDatePicker,
19
- TDropzone,
20
- TInputMask,
21
- TRangeSlider,
22
- TRichEditor,
23
- TSortable,
24
- TSortableTree
25
- }
26
-
27
- export type { RichEditorPlugin } from './richEditor'
28
-
29
- const components = {
30
- TAdvancedSelect, TColorPicker, TDatePicker, TDropzone, TInputMask, TRangeSlider, TRichEditor,
31
- TSortable, TSortableTree
32
- }
33
-
34
- export const GearsUIPlugins = {
35
- install(app: App) {
36
- for (const [name, component] of Object.entries(components)) app.component(name, component)
37
- }
38
- }
39
-
40
- declare module 'vue' {
41
- export interface GlobalComponents {
42
- TAdvancedSelect: typeof TAdvancedSelect
43
- TColorPicker: typeof TColorPicker
44
- TDatePicker: typeof TDatePicker
45
- TDropzone: typeof TDropzone
46
- TInputMask: typeof TInputMask
47
- TRangeSlider: typeof TRangeSlider
48
- TRichEditor: typeof TRichEditor
49
- TSortable: typeof TSortable
50
- TSortableTree: typeof TSortableTree
51
- }
52
- }
1
+ // Gears UI's plugin components, on the libraries Tabler's plugins use. Each library is an optional
2
+ // peer dependency that loads the first time its component is shown. Installing this plugin needs
3
+ // all of them; to use only some, import those components from `@ternarytech-io/gears-ui/components/…` instead.
4
+ import type { App } from 'vue'
5
+ import TAdvancedSelect from '../components/TAdvancedSelect.vue'
6
+ import TChart from '../components/TChart.vue'
7
+ import TColorPicker from '../components/TColorPicker.vue'
8
+ import TDatePicker from '../components/TDatePicker.vue'
9
+ import TDropzone from '../components/TDropzone.vue'
10
+ import TInputMask from '../components/TInputMask.vue'
11
+ import TRangeSlider from '../components/TRangeSlider.vue'
12
+ import TRichEditor from '../components/TRichEditor.vue'
13
+ import TSortable from '../components/TSortable.vue'
14
+ import TSortableTree from '../components/TSortableTree.vue'
15
+
16
+ export {
17
+ TAdvancedSelect,
18
+ TChart,
19
+ TColorPicker,
20
+ TDatePicker,
21
+ TDropzone,
22
+ TInputMask,
23
+ TRangeSlider,
24
+ TRichEditor,
25
+ TSortable,
26
+ TSortableTree
27
+ }
28
+
29
+ export type { RichEditorPlugin } from './richEditor'
30
+
31
+ const components = {
32
+ TAdvancedSelect, TChart, TColorPicker, TDatePicker, TDropzone, TInputMask, TRangeSlider, TRichEditor,
33
+ TSortable, TSortableTree
34
+ }
35
+
36
+ export const GearsUIPlugins = {
37
+ install(app: App) {
38
+ for (const [name, component] of Object.entries(components)) app.component(name, component)
39
+ }
40
+ }
41
+
42
+ declare module 'vue' {
43
+ export interface GlobalComponents {
44
+ TAdvancedSelect: typeof TAdvancedSelect
45
+ TChart: typeof TChart
46
+ TColorPicker: typeof TColorPicker
47
+ TDatePicker: typeof TDatePicker
48
+ TDropzone: typeof TDropzone
49
+ TInputMask: typeof TInputMask
50
+ TRangeSlider: typeof TRangeSlider
51
+ TRichEditor: typeof TRichEditor
52
+ TSortable: typeof TSortable
53
+ TSortableTree: typeof TSortableTree
54
+ }
55
+ }