@ternarytech-io/gears-ui 0.3.2 → 0.3.3

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/README.md CHANGED
@@ -102,7 +102,7 @@ add a page, add an entry to `preview/registry.ts` and a folder of examples.
102
102
  | Group | Components |
103
103
  | --- | --- |
104
104
  | Elements | `TButton`, `TBadge`, `TAvatar`, `TAlert`, `TCard`, `TIcon`, `TTooltip`, `TEmpty`, `TSpinner`, `TSkeleton`, `TProgress`, `TSeparator` |
105
- | Forms | `TFormField`, `TInput`, `TInputNumber`, `TTextarea`, `TSelect`, `TSelectMenu`, `TInputTags`, `TCheckbox`, `TSwitch`, `TRadioGroup` (list, cards or tiles with a picture), `TFieldGroup`, `TFileUpload`, `TImageUpload` (one image, checked for shape and size), `TIconPicker` (any Tabler icon, by name, with a search; the list is generated by `npm run icons`), `TCodeEditor` |
105
+ | Forms | `TFormField`, `TInput`, `TInputNumber`, `TTextarea`, `TSelect`, `TSelectMenu`, `TInputTags`, `TCheckbox`, `TSwitch`, `TRadioGroup` (list, cards or tiles with a picture), `TFieldGroup`, `TFileUpload`, `TImageUpload` (one image, checked for shape and size), `TIconPicker` (any Tabler icon, by name, with a search; the list is generated by `npm run icons`), `TRating` (stars, hearts or circles; no library), `TCodeEditor` |
106
106
  | Theme | `TAccentPicker`, `TFontPicker`, `TRadiusPicker`, `TThemeBasePicker` (Tabler's theme settings as pickers), `TNavPositionPicker`, `TDensityPicker`, `TContainerPicker` (layout), `TThemeScope` (applies a `ThemeSettings`' look and density to what's inside it); `themeAccents`, `themeFonts`, `themeBases`, `themeRadii`, `themeNavs`, `themeDensities`, `themeContainers` |
107
107
  | Overlays | `TModal`, `TSlideover`, `TDropdown`, `TToaster` (with `useToast()`) |
108
108
  | Navigation | `TTabs`, `TPagination`, `TSteps`, `TNav`, `TPanelList`, `TCommandPalette`, `TSearchButton` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ternarytech-io/gears-ui",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "description": "Gears UI: Vue 3 components on Tabler, used by the Gears Studio and the applications it builds.",
6
6
  "license": "MPL-2.0",
@@ -1,70 +1,73 @@
1
- <script setup lang="ts">
2
- // A text input that follows a pattern, with Tabler's input mask (IMask): `0` is a digit, `a` a
3
- // letter, `*` either, and other characters are written for you, as in "(000) 000-0000".
4
- // `showMask` shows the pattern before typing. v-model is the text as shown, or with `unmasked`,
5
- // only what was typed. IMask loads on first use.
6
- import { onBeforeUnmount, onMounted, ref, watch } from 'vue'
7
- import type { InputMask } from '@tabler/core'
8
- import TIcon from './TIcon.vue'
9
- import { useField } from '../composables/useField'
10
- import { loadInputMask } from '../plugins/inputMask'
11
-
12
- type Mask = { value: string; unmaskedValue: string; on(event: 'accept', handler: () => void): void }
13
-
14
- const props = withDefaults(defineProps<{
15
- mask: string
16
- unmasked?: boolean
17
- showMask?: boolean
18
- placeholder?: string
19
- icon?: string
20
- size?: 'sm' | 'md' | 'lg'
21
- disabled?: boolean
22
- invalid?: boolean
23
- id?: string
24
- }>(), { size: 'md' })
25
-
26
- const model = defineModel<string | null | undefined>()
27
- const field = useField(props)
28
- const input = ref<HTMLInputElement>()
29
- let instance: InputMask | null = null
30
-
31
- const mask = () => (instance as unknown as { mask: Mask | null } | null)?.mask ?? null
32
- const current = () => props.unmasked ? mask()?.unmaskedValue : mask()?.value
33
-
34
- function write(value: string) {
35
- const m = mask()
36
- if (!m) return
37
- if (props.unmasked) m.unmaskedValue = value
38
- else m.value = value
39
- }
40
-
41
- async function create() {
42
- const InputMaskClass = await loadInputMask()
43
- if (!input.value) return
44
- instance?.dispose()
45
- instance = new InputMaskClass(input.value, { mask: props.mask, lazy: !props.showMask })
46
- write(model.value ?? '')
47
- mask()?.on('accept', () => {
48
- const value = current() ?? ''
49
- if (value !== (model.value ?? '')) model.value = value
50
- })
51
- }
52
-
53
- onMounted(() => {
54
- // Shown as is until IMask takes over.
55
- if (input.value) input.value.value = model.value ?? ''
56
- create()
57
- })
58
- watch(model, value => { if (mask() && (value ?? '') !== current()) write(value ?? '') })
59
- watch(() => [props.mask, props.showMask, props.unmasked], create)
60
- onBeforeUnmount(() => instance?.dispose())
61
- </script>
62
-
63
- <template>
64
- <div :class="{ 'input-icon': icon }">
65
- <span v-if="icon" class="input-icon-addon"><TIcon :name="icon" /></span>
66
- <input :id="field.id.value" ref="input" type="text" :placeholder="placeholder" :disabled="disabled" autocomplete="off"
67
- :aria-describedby="field.describedBy.value" :aria-invalid="field.invalid.value || undefined"
68
- :class="['form-control', size !== 'md' && `form-control-${size}`, { 'is-invalid': field.invalid.value }]">
69
- </div>
70
- </template>
1
+ <script setup lang="ts">
2
+ // A text input that follows a pattern, with Tabler's input mask (IMask): `0` is a digit, `a` a
3
+ // letter, `*` either, and other characters are written for you, as in "(000) 000-0000".
4
+ // `showMask` shows the pattern before typing. v-model is the text as shown, or with `unmasked`,
5
+ // only what was typed. `options` are IMask's own, for what a pattern can't say: a number with
6
+ // thousands separators and decimals, say ({ mask: '$num', blocks: { num: { mask: Number, scale: 2,
7
+ // thousandsSeparator: ',' } } }); they win over `mask`. IMask loads on first use.
8
+ import { onBeforeUnmount, onMounted, ref, watch } from 'vue'
9
+ import type { InputMask } from '@tabler/core'
10
+ import TIcon from './TIcon.vue'
11
+ import { useField } from '../composables/useField'
12
+ import { loadInputMask } from '../plugins/inputMask'
13
+
14
+ type Mask = { value: string; unmaskedValue: string; on(event: 'accept', handler: () => void): void }
15
+
16
+ const props = withDefaults(defineProps<{
17
+ mask?: string
18
+ options?: Record<string, unknown>
19
+ unmasked?: boolean
20
+ showMask?: boolean
21
+ placeholder?: string
22
+ icon?: string
23
+ size?: 'sm' | 'md' | 'lg'
24
+ disabled?: boolean
25
+ invalid?: boolean
26
+ id?: string
27
+ }>(), { size: 'md' })
28
+
29
+ const model = defineModel<string | null | undefined>()
30
+ const field = useField(props)
31
+ const input = ref<HTMLInputElement>()
32
+ let instance: InputMask | null = null
33
+
34
+ const mask = () => (instance as unknown as { mask: Mask | null } | null)?.mask ?? null
35
+ const current = () => props.unmasked ? mask()?.unmaskedValue : mask()?.value
36
+
37
+ function write(value: string) {
38
+ const m = mask()
39
+ if (!m) return
40
+ if (props.unmasked) m.unmaskedValue = value
41
+ else m.value = value
42
+ }
43
+
44
+ async function create() {
45
+ const InputMaskClass = await loadInputMask()
46
+ if (!input.value) return
47
+ instance?.dispose()
48
+ instance = new InputMaskClass(input.value, { mask: props.mask ?? '', lazy: !props.showMask, ...props.options })
49
+ write(model.value ?? '')
50
+ mask()?.on('accept', () => {
51
+ const value = current() ?? ''
52
+ if (value !== (model.value ?? '')) model.value = value
53
+ })
54
+ }
55
+
56
+ onMounted(() => {
57
+ // Shown as is until IMask takes over.
58
+ if (input.value) input.value.value = model.value ?? ''
59
+ create()
60
+ })
61
+ watch(model, value => { if (mask() && (value ?? '') !== current()) write(value ?? '') })
62
+ watch(() => [props.mask, props.showMask, props.unmasked, props.options], create, { deep: true })
63
+ onBeforeUnmount(() => instance?.dispose())
64
+ </script>
65
+
66
+ <template>
67
+ <div :class="{ 'input-icon': icon }">
68
+ <span v-if="icon" class="input-icon-addon"><TIcon :name="icon" /></span>
69
+ <input :id="field.id.value" ref="input" type="text" :placeholder="placeholder" :disabled="disabled" autocomplete="off"
70
+ :aria-describedby="field.describedBy.value" :aria-invalid="field.invalid.value || undefined"
71
+ :class="['form-control', size !== 'md' && `form-control-${size}`, { 'is-invalid': field.invalid.value }]">
72
+ </div>
73
+ </template>
@@ -0,0 +1,77 @@
1
+ <script setup lang="ts">
2
+ // A rating, from 1 to `max`, as a row of stars (or hearts, or circles): click one to choose it,
3
+ // click the chosen one again to clear it (with `clearable`). Pointing previews; the arrow keys,
4
+ // Home and End change it, as a radio group. Drawn with SVG, so nothing is loaded. v-model is the
5
+ // rating, or null for none.
6
+ import { computed, ref } from 'vue'
7
+ import { useField } from '../composables/useField'
8
+
9
+ const props = withDefaults(defineProps<{
10
+ max?: number
11
+ shape?: 'star' | 'heart' | 'circle'
12
+ // A Tabler color name (yellow, red, primary, …) or a CSS color.
13
+ color?: string
14
+ size?: 'sm' | 'md' | 'lg'
15
+ readonly?: boolean
16
+ disabled?: boolean
17
+ clearable?: boolean
18
+ // The group's accessible name.
19
+ label?: string
20
+ id?: string
21
+ }>(), { max: 5, shape: 'star', color: 'yellow', size: 'md', clearable: true, label: 'Rating' })
22
+
23
+ const model = defineModel<number | null | undefined>()
24
+ const field = useField(props)
25
+ const hover = ref<number | null>(null)
26
+ const shown = computed(() => hover.value ?? model.value ?? 0)
27
+ const items = computed(() => Array.from({ length: Math.max(1, Math.min(20, Math.round(props.max))) }, (_, i) => i + 1))
28
+ const locked = computed(() => props.readonly || props.disabled)
29
+ const fill = computed(() => (/^[a-z]+$/.test(props.color) ? `var(--tblr-${props.color})` : props.color))
30
+
31
+ const paths: Record<string, string> = {
32
+ star: 'M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z',
33
+ heart: 'M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572',
34
+ circle: 'M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0'
35
+ }
36
+
37
+ function choose(value: number) {
38
+ if (locked.value) return
39
+ model.value = props.clearable && model.value === value ? null : value
40
+ }
41
+ function key(event: KeyboardEvent) {
42
+ if (locked.value) return
43
+ const current = model.value ?? 0
44
+ const next = event.key === 'ArrowRight' || event.key === 'ArrowUp' ? current + 1
45
+ : event.key === 'ArrowLeft' || event.key === 'ArrowDown' ? current - 1
46
+ : event.key === 'Home' ? 1 : event.key === 'End' ? items.value.length : null
47
+ if (next === null) return
48
+ event.preventDefault()
49
+ model.value = Math.max(props.clearable ? 0 : 1, Math.min(items.value.length, next)) || null
50
+ ;(event.currentTarget as HTMLElement).querySelector<HTMLElement>(`[data-value="${model.value ?? 1}"]`)?.focus()
51
+ }
52
+ </script>
53
+
54
+ <template>
55
+ <div :id="field.id.value" :class="['t-rating', `t-rating-${size}`, { 't-rating-locked': locked }]" role="radiogroup" :aria-label="label"
56
+ :aria-readonly="readonly || undefined" :aria-disabled="disabled || undefined" :aria-describedby="field.describedBy.value"
57
+ :style="{ '--t-rating-color': fill }" @keydown="key" @pointerleave="hover = null">
58
+ <button v-for="value in items" :key="value" type="button" role="radio" class="t-rating-item" :data-value="value"
59
+ :aria-checked="model === value" :aria-label="`${value} of ${items.length}`" :tabindex="(model ?? 1) === value ? 0 : -1" :disabled="disabled"
60
+ @click="choose(value)" @pointerenter="!locked && (hover = value)">
61
+ <svg viewBox="0 0 24 24" aria-hidden="true"><path :d="paths[shape] ?? paths.star" :class="{ on: value <= shown }" /></svg>
62
+ </button>
63
+ </div>
64
+ </template>
65
+
66
+ <style scoped>
67
+ .t-rating { display: inline-flex; gap: 0.125rem; }
68
+ .t-rating-item { display: grid; place-items: center; padding: 0; border: 0; background: none; line-height: 0; cursor: pointer; border-radius: var(--tblr-border-radius-sm); }
69
+ .t-rating-locked .t-rating-item { cursor: default; }
70
+ .t-rating-item:disabled { opacity: 0.6; }
71
+ .t-rating-item:focus-visible { outline: 2px solid var(--tblr-primary); outline-offset: 1px; }
72
+ .t-rating svg { width: 1.5rem; height: 1.5rem; }
73
+ .t-rating-sm svg { width: 1.125rem; height: 1.125rem; }
74
+ .t-rating-lg svg { width: 2rem; height: 2rem; }
75
+ .t-rating path { fill: none; stroke: var(--tblr-border-color-dark, var(--tblr-secondary)); stroke-width: 1.5; stroke-linejoin: round; transition: fill 0.1s, stroke 0.1s; }
76
+ .t-rating path.on { fill: var(--t-rating-color); stroke: var(--t-rating-color); }
77
+ </style>
@@ -1,82 +1,86 @@
1
- <script setup lang="ts">
2
- // A rich text editor with Tabler's WYSIWYG plugin (HugeRTE, an open-source fork of TinyMCE).
3
- // v-model is the HTML. `toolbar` and `plugins` use HugeRTE's names; the plugins offered are those
4
- // in src/plugins/richEditor.ts. It follows the light and dark theme (switching rebuilds the editor). Nothing
5
- // is fetched: the editor, its skins and plugins are bundled and load on first use.
6
- import { onBeforeUnmount, onMounted, ref, watch } from 'vue'
7
- import type { Editor } from 'hugerte'
8
- import { useColorMode } from '../composables/useColorMode'
9
- import { useField } from '../composables/useField'
10
- import { loadRichEditor, type RichEditorPlugin } from '../plugins/richEditor'
11
-
12
- const props = withDefaults(defineProps<{
13
- height?: number
14
- toolbar?: string
15
- plugins?: RichEditorPlugin[]
16
- menubar?: boolean
17
- statusbar?: boolean
18
- placeholder?: string
19
- disabled?: boolean
20
- id?: string
21
- }>(), {
22
- height: 300,
23
- toolbar: 'undo redo | blocks | bold italic underline | bullist numlist | link image table | code',
24
- plugins: () => ['advlist', 'autolink', 'lists', 'link', 'image', 'table', 'code']
25
- })
26
-
27
- const model = defineModel<string>({ default: '' })
28
- const field = useField(props)
29
- const { isDark } = useColorMode()
30
- const textarea = ref<HTMLTextAreaElement>()
31
- const loading = ref(true)
32
- let editor: Editor | null = null
33
- let stopped = false
34
-
35
- async function create() {
36
- const hugerte = await loadRichEditor()
37
- if (stopped || !textarea.value) return
38
- editor?.remove()
39
- textarea.value.value = model.value
40
- const [created] = await hugerte.init({
41
- target: textarea.value,
42
- // The skins and content styles are bundled resources, named 'default' and 'dark'.
43
- skin_url: isDark.value ? 'dark' : 'default',
44
- content_css: isDark.value ? 'dark' : 'default',
45
- // The page's font, and in the dark theme the card color rather than HugeRTE's navy.
46
- content_style: 'body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; }'
47
- + (isDark.value ? ' body { background-color: #232525; color: #e6e7e9; }' : ''),
48
- height: props.height,
49
- menubar: props.menubar,
50
- statusbar: props.statusbar,
51
- plugins: props.plugins,
52
- toolbar: props.toolbar,
53
- placeholder: props.placeholder,
54
- branding: false,
55
- setup: (ed: Editor) => {
56
- ed.on('input change undo redo ExecCommand', () => {
57
- const html = ed.getContent()
58
- if (html !== model.value) model.value = html
59
- })
60
- }
61
- })
62
- editor = created ?? null
63
- if (editor && props.disabled) editor.mode.set('readonly')
64
- loading.value = false
65
- }
66
-
67
- onMounted(create)
68
- watch(model, html => { if (editor && html !== editor.getContent()) editor.setContent(html) })
69
- watch(() => props.disabled, disabled => editor?.mode.set(disabled ? 'readonly' : 'design'))
70
- watch(() => [isDark.value, props.toolbar, props.plugins, props.menubar, props.statusbar, props.height], create)
71
- onBeforeUnmount(() => {
72
- stopped = true
73
- editor?.remove()
74
- })
75
- </script>
76
-
77
- <template>
78
- <!-- HugeRTE hides the textarea and adds its editor beside it, inside this wrapper. -->
79
- <div class="t-rich-editor" :style="loading ? { minHeight: `${height}px` } : undefined">
80
- <textarea :id="field.id.value" ref="textarea" class="form-control" :placeholder="placeholder" :aria-describedby="field.describedBy.value" />
81
- </div>
82
- </template>
1
+ <script setup lang="ts">
2
+ // A rich text editor with Tabler's WYSIWYG plugin (HugeRTE, an open-source fork of TinyMCE).
3
+ // v-model is the HTML. `toolbar` and `plugins` use HugeRTE's names; the plugins offered are those
4
+ // in src/plugins/richEditor.ts. It follows the light and dark theme (switching rebuilds the editor). Nothing
5
+ // is fetched: the editor, its skins and plugins are bundled and load on first use. It reports `focus`
6
+ // and `blur` (the editor is in an iframe, so the page's own focus events don't see it).
7
+ import { onBeforeUnmount, onMounted, ref, watch } from 'vue'
8
+ import type { Editor } from 'hugerte'
9
+ import { useColorMode } from '../composables/useColorMode'
10
+ import { useField } from '../composables/useField'
11
+ import { loadRichEditor, type RichEditorPlugin } from '../plugins/richEditor'
12
+
13
+ const props = withDefaults(defineProps<{
14
+ height?: number
15
+ toolbar?: string
16
+ plugins?: RichEditorPlugin[]
17
+ menubar?: boolean
18
+ statusbar?: boolean
19
+ placeholder?: string
20
+ disabled?: boolean
21
+ id?: string
22
+ }>(), {
23
+ height: 300,
24
+ toolbar: 'undo redo | blocks | bold italic underline | bullist numlist | link image table | code',
25
+ plugins: () => ['advlist', 'autolink', 'lists', 'link', 'image', 'table', 'code']
26
+ })
27
+
28
+ const model = defineModel<string>({ default: '' })
29
+ const emit = defineEmits<{ focus: []; blur: [] }>()
30
+ const field = useField(props)
31
+ const { isDark } = useColorMode()
32
+ const textarea = ref<HTMLTextAreaElement>()
33
+ const loading = ref(true)
34
+ let editor: Editor | null = null
35
+ let stopped = false
36
+
37
+ async function create() {
38
+ const hugerte = await loadRichEditor()
39
+ if (stopped || !textarea.value) return
40
+ editor?.remove()
41
+ textarea.value.value = model.value
42
+ const [created] = await hugerte.init({
43
+ target: textarea.value,
44
+ // The skins and content styles are bundled resources, named 'default' and 'dark'.
45
+ skin_url: isDark.value ? 'dark' : 'default',
46
+ content_css: isDark.value ? 'dark' : 'default',
47
+ // The page's font, and in the dark theme the card color rather than HugeRTE's navy.
48
+ content_style: 'body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; }'
49
+ + (isDark.value ? ' body { background-color: #232525; color: #e6e7e9; }' : ''),
50
+ height: props.height,
51
+ menubar: props.menubar,
52
+ statusbar: props.statusbar,
53
+ plugins: props.plugins,
54
+ toolbar: props.toolbar,
55
+ placeholder: props.placeholder,
56
+ branding: false,
57
+ setup: (ed: Editor) => {
58
+ ed.on('focus', () => emit('focus'))
59
+ ed.on('blur', () => emit('blur'))
60
+ ed.on('input change undo redo ExecCommand', () => {
61
+ const html = ed.getContent()
62
+ if (html !== model.value) model.value = html
63
+ })
64
+ }
65
+ })
66
+ editor = created ?? null
67
+ if (editor && props.disabled) editor.mode.set('readonly')
68
+ loading.value = false
69
+ }
70
+
71
+ onMounted(create)
72
+ watch(model, html => { if (editor && html !== editor.getContent()) editor.setContent(html) })
73
+ watch(() => props.disabled, disabled => editor?.mode.set(disabled ? 'readonly' : 'design'))
74
+ watch(() => [isDark.value, props.toolbar, props.plugins, props.menubar, props.statusbar, props.height], create)
75
+ onBeforeUnmount(() => {
76
+ stopped = true
77
+ editor?.remove()
78
+ })
79
+ </script>
80
+
81
+ <template>
82
+ <!-- HugeRTE hides the textarea and adds its editor beside it, inside this wrapper. -->
83
+ <div class="t-rich-editor" :style="loading ? { minHeight: `${height}px` } : undefined">
84
+ <textarea :id="field.id.value" ref="textarea" class="form-control" :placeholder="placeholder" :aria-describedby="field.describedBy.value" />
85
+ </div>
86
+ </template>
package/src/index.ts CHANGED
@@ -44,6 +44,7 @@ import TPanelList from './components/TPanelList.vue'
44
44
  import TProgress from './components/TProgress.vue'
45
45
  import TRadioGroup from './components/TRadioGroup.vue'
46
46
  import TRadiusPicker from './components/TRadiusPicker.vue'
47
+ import TRating from './components/TRating.vue'
47
48
  import TScaledFrame from './components/TScaledFrame.vue'
48
49
  import TSearchButton from './components/TSearchButton.vue'
49
50
  import TSectionLayout from './components/TSectionLayout.vue'
@@ -110,6 +111,7 @@ export {
110
111
  TProgress,
111
112
  TRadioGroup,
112
113
  TRadiusPicker,
114
+ TRating,
113
115
  TScaledFrame,
114
116
  TSearchButton,
115
117
  TSectionLayout,
@@ -148,7 +150,7 @@ const components = {
148
150
  TCheckbox, TColorModeButton, TCommandPalette, TContainerPicker, TCopyButton, TDataGrid, TDataGridItem, TDensityPicker,
149
151
  TDropdown, TEditableTable, TEmpty, TFieldGroup, TFileUpload, TFontPicker, TFormField, TIcon, TIconPicker, TImageUpload,
150
152
  TInput, TInputNumber, TInputTags, TLogView, TModal, TNav, TNavPositionPicker, TPage, TPagination,
151
- TPanelList, TProgress, TRadioGroup, TRadiusPicker, TScaledFrame, TSearchButton, TSectionLayout,
153
+ TPanelList, TProgress, TRadioGroup, TRadiusPicker, TRating, TScaledFrame, TSearchButton, TSectionLayout,
152
154
  TSelect, TSelectMenu, TSeparator, TShell, TSkeleton, TSlideover, TSparkline, TSpinner, TSplitter, TStatCard,
153
155
  TSteps, TSwitch, TTable, TTabs, TTextarea, TThemeBasePicker, TThemeScope, TToaster, TTooltip,
154
156
  TTopbar, TVectorMap
@@ -202,6 +204,7 @@ declare module 'vue' {
202
204
  TProgress: typeof TProgress
203
205
  TRadioGroup: typeof TRadioGroup
204
206
  TRadiusPicker: typeof TRadiusPicker
207
+ TRating: typeof TRating
205
208
  TScaledFrame: typeof TScaledFrame
206
209
  TSearchButton: typeof TSearchButton
207
210
  TSectionLayout: typeof TSectionLayout