@rt-tools/ui-kit-v2 0.23.3 → 0.24.0
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/fesm2022/rt-tools-ui-kit-v2-accordion.mjs +142 -71
- package/fesm2022/rt-tools-ui-kit-v2-accordion.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-action-bar.mjs +467 -231
- package/fesm2022/rt-tools-ui-kit-v2-action-bar.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-ai-run-status.mjs +260 -91
- package/fesm2022/rt-tools-ui-kit-v2-ai-run-status.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-aside-section.mjs +80 -46
- package/fesm2022/rt-tools-ui-kit-v2-aside-section.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-aside.mjs +984 -697
- package/fesm2022/rt-tools-ui-kit-v2-aside.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-autocomplete.mjs +452 -210
- package/fesm2022/rt-tools-ui-kit-v2-autocomplete.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-bar-list.mjs +143 -52
- package/fesm2022/rt-tools-ui-kit-v2-bar-list.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-bottom-sheet.mjs +158 -83
- package/fesm2022/rt-tools-ui-kit-v2-bottom-sheet.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-breadcrumbs.mjs +335 -0
- package/fesm2022/rt-tools-ui-kit-v2-breadcrumbs.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-button.mjs +437 -363
- package/fesm2022/rt-tools-ui-kit-v2-button.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-calendar.mjs +430 -149
- package/fesm2022/rt-tools-ui-kit-v2-calendar.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-card.mjs +155 -71
- package/fesm2022/rt-tools-ui-kit-v2-card.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-carousel.mjs +155 -0
- package/fesm2022/rt-tools-ui-kit-v2-carousel.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-checkbox.mjs +215 -110
- package/fesm2022/rt-tools-ui-kit-v2-checkbox.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-collapsible-text.mjs +158 -75
- package/fesm2022/rt-tools-ui-kit-v2-collapsible-text.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-color-palette.mjs +769 -0
- package/fesm2022/rt-tools-ui-kit-v2-color-palette.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-confirm-popover.mjs +462 -253
- package/fesm2022/rt-tools-ui-kit-v2-confirm-popover.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-container.mjs +1276 -1316
- package/fesm2022/rt-tools-ui-kit-v2-container.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-copy-value.mjs +185 -80
- package/fesm2022/rt-tools-ui-kit-v2-copy-value.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-core.mjs +2321 -2619
- package/fesm2022/rt-tools-ui-kit-v2-core.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-counter-row.mjs +100 -44
- package/fesm2022/rt-tools-ui-kit-v2-counter-row.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-counter.mjs +290 -155
- package/fesm2022/rt-tools-ui-kit-v2-counter.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-data-list.mjs +2097 -858
- package/fesm2022/rt-tools-ui-kit-v2-data-list.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-data-table.mjs +2247 -1176
- package/fesm2022/rt-tools-ui-kit-v2-data-table.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-date-picker.mjs +1043 -705
- package/fesm2022/rt-tools-ui-kit-v2-date-picker.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-date-range.mjs +810 -525
- package/fesm2022/rt-tools-ui-kit-v2-date-range.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-delta-view.mjs +158 -138
- package/fesm2022/rt-tools-ui-kit-v2-delta-view.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-detail-list.mjs +177 -67
- package/fesm2022/rt-tools-ui-kit-v2-detail-list.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-dialog.mjs +550 -477
- package/fesm2022/rt-tools-ui-kit-v2-dialog.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-dot-field.mjs +185 -168
- package/fesm2022/rt-tools-ui-kit-v2-dot-field.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-download-link.mjs +116 -43
- package/fesm2022/rt-tools-ui-kit-v2-download-link.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-draggable-tree.mjs +585 -0
- package/fesm2022/rt-tools-ui-kit-v2-draggable-tree.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-dynamic-list.mjs +755 -259
- package/fesm2022/rt-tools-ui-kit-v2-dynamic-list.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-dynamic-selector.mjs +3266 -1115
- package/fesm2022/rt-tools-ui-kit-v2-dynamic-selector.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-empty-state.mjs +190 -55
- package/fesm2022/rt-tools-ui-kit-v2-empty-state.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-expansion-panel.mjs +283 -103
- package/fesm2022/rt-tools-ui-kit-v2-expansion-panel.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-field.mjs +393 -177
- package/fesm2022/rt-tools-ui-kit-v2-field.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-file-card.mjs +399 -207
- package/fesm2022/rt-tools-ui-kit-v2-file-card.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-file-drop.mjs +288 -212
- package/fesm2022/rt-tools-ui-kit-v2-file-drop.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-file-input.mjs +262 -116
- package/fesm2022/rt-tools-ui-kit-v2-file-input.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-file-list.mjs +57 -31
- package/fesm2022/rt-tools-ui-kit-v2-file-list.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-filter-control.mjs +258 -90
- package/fesm2022/rt-tools-ui-kit-v2-filter-control.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-form-control.mjs +249 -215
- package/fesm2022/rt-tools-ui-kit-v2-form-control.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-header.mjs +199 -71
- package/fesm2022/rt-tools-ui-kit-v2-header.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree-selector.mjs +231 -0
- package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree-selector.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree.mjs +336 -0
- package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-icon-button.mjs +451 -162
- package/fesm2022/rt-tools-ui-kit-v2-icon-button.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-icon.mjs +931 -686
- package/fesm2022/rt-tools-ui-kit-v2-icon.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-image-cropper.mjs +664 -491
- package/fesm2022/rt-tools-ui-kit-v2-image-cropper.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-image-upload.mjs +574 -222
- package/fesm2022/rt-tools-ui-kit-v2-image-upload.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-info-item.mjs +150 -36
- package/fesm2022/rt-tools-ui-kit-v2-info-item.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-inline-edit.mjs +606 -0
- package/fesm2022/rt-tools-ui-kit-v2-inline-edit.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-input-number.mjs +461 -355
- package/fesm2022/rt-tools-ui-kit-v2-input-number.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-input.mjs +338 -143
- package/fesm2022/rt-tools-ui-kit-v2-input.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-live-badge.mjs +135 -48
- package/fesm2022/rt-tools-ui-kit-v2-live-badge.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-logo.mjs +166 -92
- package/fesm2022/rt-tools-ui-kit-v2-logo.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-markdown-text.mjs +118 -56
- package/fesm2022/rt-tools-ui-kit-v2-markdown-text.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-menu.mjs +1054 -527
- package/fesm2022/rt-tools-ui-kit-v2-menu.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-message.mjs +230 -104
- package/fesm2022/rt-tools-ui-kit-v2-message.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-money-list.mjs +210 -70
- package/fesm2022/rt-tools-ui-kit-v2-money-list.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-multiselect.mjs +532 -311
- package/fesm2022/rt-tools-ui-kit-v2-multiselect.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-night-grid.mjs +125 -50
- package/fesm2022/rt-tools-ui-kit-v2-night-grid.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-note.mjs +73 -43
- package/fesm2022/rt-tools-ui-kit-v2-note.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-notifications-bell.mjs +161 -53
- package/fesm2022/rt-tools-ui-kit-v2-notifications-bell.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-page-header.mjs +491 -310
- package/fesm2022/rt-tools-ui-kit-v2-page-header.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-pagination.mjs +374 -174
- package/fesm2022/rt-tools-ui-kit-v2-pagination.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-photo-viewer.mjs +202 -159
- package/fesm2022/rt-tools-ui-kit-v2-photo-viewer.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-popover.mjs +438 -309
- package/fesm2022/rt-tools-ui-kit-v2-popover.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-profile-menu.mjs +295 -0
- package/fesm2022/rt-tools-ui-kit-v2-profile-menu.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-prompt-suggestion.mjs +135 -45
- package/fesm2022/rt-tools-ui-kit-v2-prompt-suggestion.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-radio-button.mjs +293 -171
- package/fesm2022/rt-tools-ui-kit-v2-radio-button.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-radius.mjs +62 -55
- package/fesm2022/rt-tools-ui-kit-v2-radius.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-rich-editor.mjs +3379 -1466
- package/fesm2022/rt-tools-ui-kit-v2-rich-editor.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-ripple.mjs +114 -116
- package/fesm2022/rt-tools-ui-kit-v2-ripple.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-scroll-area.mjs +406 -299
- package/fesm2022/rt-tools-ui-kit-v2-scroll-area.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-section-nav.mjs +137 -36
- package/fesm2022/rt-tools-ui-kit-v2-section-nav.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-select.mjs +687 -468
- package/fesm2022/rt-tools-ui-kit-v2-select.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-side-menu.mjs +2195 -1569
- package/fesm2022/rt-tools-ui-kit-v2-side-menu.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-skeleton-wrapper.mjs +187 -48
- package/fesm2022/rt-tools-ui-kit-v2-skeleton-wrapper.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-skeleton.mjs +242 -122
- package/fesm2022/rt-tools-ui-kit-v2-skeleton.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-speed-menu.mjs +439 -0
- package/fesm2022/rt-tools-ui-kit-v2-speed-menu.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-spinner.mjs +218 -69
- package/fesm2022/rt-tools-ui-kit-v2-spinner.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-split-button.mjs +292 -91
- package/fesm2022/rt-tools-ui-kit-v2-split-button.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-stat-tile.mjs +225 -138
- package/fesm2022/rt-tools-ui-kit-v2-stat-tile.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-stepper.mjs +150 -116
- package/fesm2022/rt-tools-ui-kit-v2-stepper.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-table.mjs +2462 -1583
- package/fesm2022/rt-tools-ui-kit-v2-table.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-tabs.mjs +647 -346
- package/fesm2022/rt-tools-ui-kit-v2-tabs.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-tag.mjs +335 -121
- package/fesm2022/rt-tools-ui-kit-v2-tag.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-textarea.mjs +217 -84
- package/fesm2022/rt-tools-ui-kit-v2-textarea.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-theme-toggle.mjs +151 -72
- package/fesm2022/rt-tools-ui-kit-v2-theme-toggle.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-thread-list.mjs +697 -226
- package/fesm2022/rt-tools-ui-kit-v2-thread-list.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-timeline.mjs +92 -38
- package/fesm2022/rt-tools-ui-kit-v2-timeline.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-toast.mjs +752 -338
- package/fesm2022/rt-tools-ui-kit-v2-toast.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-toggle-button-group.mjs +310 -129
- package/fesm2022/rt-tools-ui-kit-v2-toggle-button-group.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-toggle-switch.mjs +286 -158
- package/fesm2022/rt-tools-ui-kit-v2-toggle-switch.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-toolbar.mjs +270 -134
- package/fesm2022/rt-tools-ui-kit-v2-toolbar.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-tooltip.mjs +322 -202
- package/fesm2022/rt-tools-ui-kit-v2-tooltip.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-tree-selector.mjs +908 -0
- package/fesm2022/rt-tools-ui-kit-v2-tree-selector.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-tree.mjs +785 -0
- package/fesm2022/rt-tools-ui-kit-v2-tree.mjs.map +1 -0
- package/fesm2022/rt-tools-ui-kit-v2-welcome-dialog.mjs +118 -63
- package/fesm2022/rt-tools-ui-kit-v2-welcome-dialog.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-workspace-details.mjs +783 -262
- package/fesm2022/rt-tools-ui-kit-v2-workspace-details.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2-workspace.mjs +633 -294
- package/fesm2022/rt-tools-ui-kit-v2-workspace.mjs.map +1 -1
- package/fesm2022/rt-tools-ui-kit-v2.mjs +100 -103
- package/package.json +45 -1
- package/src/assets/icons/collapse-all.svg +9 -0
- package/src/assets/icons/expand-all.svg +9 -0
- package/src/assets/icons-material/collapse-all.fill.svg +5 -0
- package/src/assets/icons-material/collapse-all.svg +5 -0
- package/src/assets/icons-material/expand-all.fill.svg +5 -0
- package/src/assets/icons-material/expand-all.svg +5 -0
- package/src/assets/icons-material/undo.fill.svg +5 -0
- package/src/assets/icons-material/undo.svg +5 -0
- package/src/lib/components/bottom-sheet/CONTEXT.md +20 -2
- package/src/lib/components/bottom-sheet/rt-bottom-sheet.component.scss +36 -1
- package/src/lib/components/breadcrumbs/CONTEXT.md +37 -0
- package/src/lib/components/breadcrumbs/rt-breadcrumbs.component.scss +205 -0
- package/src/lib/components/carousel/CONTEXT.md +42 -0
- package/src/lib/components/carousel/rt-carousel.component.scss +117 -0
- package/src/lib/components/checkbox/CONTEXT.md +3 -0
- package/src/lib/components/checkbox/rt-checkbox.component.scss +9 -3
- package/src/lib/components/color-palette/CONTEXT.md +49 -0
- package/src/lib/components/color-palette/picker/rt-color-picker.component.scss +161 -0
- package/src/lib/components/color-palette/rt-color-palette.component.scss +132 -0
- package/src/lib/components/draggable-tree/CONTEXT.md +54 -0
- package/src/lib/components/draggable-tree/rt-draggable-tree.component.scss +219 -0
- package/src/lib/components/hybrid-tree/CONTEXT.md +31 -0
- package/src/lib/components/hybrid-tree-selector/CONTEXT.md +25 -0
- package/src/lib/components/icon-button/CONTEXT.md +3 -0
- package/src/lib/components/inline-edit/CONTEXT.md +41 -0
- package/src/lib/components/inline-edit/rt-inline-edit.component.scss +274 -0
- package/src/lib/components/popover/CONTEXT.md +3 -0
- package/src/lib/components/profile-menu/CONTEXT.md +32 -0
- package/src/lib/components/profile-menu/rt-profile-menu.component.scss +104 -0
- package/src/lib/components/speed-menu/CONTEXT.md +34 -0
- package/src/lib/components/speed-menu/rt-speed-menu.component.scss +118 -0
- package/src/lib/components/tag/rt-tag.component.scss +12 -0
- package/src/lib/components/thread-list/CONTEXT.md +1 -0
- package/src/lib/components/thread-list/rt-thread-list.component.scss +2 -1
- package/src/lib/components/toolbar/CONTEXT.md +9 -4
- package/src/lib/components/toolbar/rt-toolbar.component.scss +10 -2
- package/src/lib/components/tooltip/CONTEXT.md +8 -1
- package/src/lib/components/tree/CONTEXT.md +66 -0
- package/src/lib/components/tree/rt-tree.component.scss +313 -0
- package/src/lib/components/tree-selector/CONTEXT.md +47 -0
- package/src/lib/components/tree-selector/rt-tree-selector.component.scss +121 -0
- package/src/styles/_primitives.scss +4 -0
- package/src/styles/_semantic.scss +5 -0
- package/styles/tokens.css +43 -0
- package/types/rt-tools-ui-kit-v2-accordion.d.ts +31 -24
- package/types/rt-tools-ui-kit-v2-action-bar.d.ts +112 -91
- package/types/rt-tools-ui-kit-v2-ai-run-status.d.ts +64 -40
- package/types/rt-tools-ui-kit-v2-aside-section.d.ts +13 -10
- package/types/rt-tools-ui-kit-v2-aside.d.ts +268 -206
- package/types/rt-tools-ui-kit-v2-autocomplete.d.ts +102 -61
- package/types/rt-tools-ui-kit-v2-bar-list.d.ts +39 -27
- package/types/rt-tools-ui-kit-v2-bottom-sheet.d.ts +31 -20
- package/types/rt-tools-ui-kit-v2-breadcrumbs.d.ts +89 -0
- package/types/rt-tools-ui-kit-v2-button.d.ts +119 -59
- package/types/rt-tools-ui-kit-v2-calendar.d.ts +151 -86
- package/types/rt-tools-ui-kit-v2-card.d.ts +42 -21
- package/types/rt-tools-ui-kit-v2-carousel.d.ts +76 -0
- package/types/rt-tools-ui-kit-v2-checkbox.d.ts +48 -24
- package/types/rt-tools-ui-kit-v2-collapsible-text.d.ts +28 -20
- package/types/rt-tools-ui-kit-v2-color-palette.d.ts +208 -0
- package/types/rt-tools-ui-kit-v2-confirm-popover.d.ts +104 -47
- package/types/rt-tools-ui-kit-v2-container.d.ts +278 -221
- package/types/rt-tools-ui-kit-v2-copy-value.d.ts +39 -24
- package/types/rt-tools-ui-kit-v2-core.d.ts +862 -865
- package/types/rt-tools-ui-kit-v2-counter-row.d.ts +20 -12
- package/types/rt-tools-ui-kit-v2-counter.d.ts +70 -38
- package/types/rt-tools-ui-kit-v2-data-list.d.ts +429 -264
- package/types/rt-tools-ui-kit-v2-data-table.d.ts +500 -351
- package/types/rt-tools-ui-kit-v2-date-picker.d.ts +164 -138
- package/types/rt-tools-ui-kit-v2-date-range.d.ts +102 -84
- package/types/rt-tools-ui-kit-v2-delta-view.d.ts +16 -13
- package/types/rt-tools-ui-kit-v2-detail-list.d.ts +23 -16
- package/types/rt-tools-ui-kit-v2-dialog.d.ts +130 -101
- package/types/rt-tools-ui-kit-v2-dot-field.d.ts +10 -13
- package/types/rt-tools-ui-kit-v2-download-link.d.ts +22 -17
- package/types/rt-tools-ui-kit-v2-draggable-tree.d.ts +132 -0
- package/types/rt-tools-ui-kit-v2-dynamic-list.d.ts +185 -96
- package/types/rt-tools-ui-kit-v2-dynamic-selector.d.ts +904 -404
- package/types/rt-tools-ui-kit-v2-empty-state.d.ts +48 -19
- package/types/rt-tools-ui-kit-v2-expansion-panel.d.ts +67 -39
- package/types/rt-tools-ui-kit-v2-field.d.ts +90 -49
- package/types/rt-tools-ui-kit-v2-file-card.d.ts +115 -75
- package/types/rt-tools-ui-kit-v2-file-drop.d.ts +75 -48
- package/types/rt-tools-ui-kit-v2-file-input.d.ts +53 -36
- package/types/rt-tools-ui-kit-v2-file-list.d.ts +5 -8
- package/types/rt-tools-ui-kit-v2-filter-control.d.ts +83 -49
- package/types/rt-tools-ui-kit-v2-form-control.d.ts +102 -74
- package/types/rt-tools-ui-kit-v2-header.d.ts +40 -22
- package/types/rt-tools-ui-kit-v2-hybrid-tree-selector.d.ts +14 -0
- package/types/rt-tools-ui-kit-v2-hybrid-tree.d.ts +72 -0
- package/types/rt-tools-ui-kit-v2-icon-button.d.ts +190 -90
- package/types/rt-tools-ui-kit-v2-icon.d.ts +160 -129
- package/types/rt-tools-ui-kit-v2-image-cropper.d.ts +151 -111
- package/types/rt-tools-ui-kit-v2-image-upload.d.ts +159 -85
- package/types/rt-tools-ui-kit-v2-info-item.d.ts +26 -13
- package/types/rt-tools-ui-kit-v2-inline-edit.d.ts +194 -0
- package/types/rt-tools-ui-kit-v2-input-number.d.ts +102 -53
- package/types/rt-tools-ui-kit-v2-input.d.ts +82 -43
- package/types/rt-tools-ui-kit-v2-live-badge.d.ts +30 -17
- package/types/rt-tools-ui-kit-v2-logo.d.ts +49 -32
- package/types/rt-tools-ui-kit-v2-markdown-text.d.ts +26 -17
- package/types/rt-tools-ui-kit-v2-menu.d.ts +272 -155
- package/types/rt-tools-ui-kit-v2-message.d.ts +59 -33
- package/types/rt-tools-ui-kit-v2-money-list.d.ts +36 -18
- package/types/rt-tools-ui-kit-v2-multiselect.d.ts +114 -80
- package/types/rt-tools-ui-kit-v2-night-grid.d.ts +34 -25
- package/types/rt-tools-ui-kit-v2-note.d.ts +12 -9
- package/types/rt-tools-ui-kit-v2-notifications-bell.d.ts +37 -16
- package/types/rt-tools-ui-kit-v2-page-header.d.ts +218 -150
- package/types/rt-tools-ui-kit-v2-pagination.d.ts +99 -63
- package/types/rt-tools-ui-kit-v2-photo-viewer.d.ts +61 -66
- package/types/rt-tools-ui-kit-v2-popover.d.ts +116 -55
- package/types/rt-tools-ui-kit-v2-profile-menu.d.ts +103 -0
- package/types/rt-tools-ui-kit-v2-prompt-suggestion.d.ts +26 -16
- package/types/rt-tools-ui-kit-v2-radio-button.d.ts +85 -43
- package/types/rt-tools-ui-kit-v2-radius.d.ts +18 -15
- package/types/rt-tools-ui-kit-v2-rich-editor.d.ts +931 -590
- package/types/rt-tools-ui-kit-v2-ripple.d.ts +28 -25
- package/types/rt-tools-ui-kit-v2-scroll-area.d.ts +60 -58
- package/types/rt-tools-ui-kit-v2-section-nav.d.ts +32 -22
- package/types/rt-tools-ui-kit-v2-select.d.ts +182 -139
- package/types/rt-tools-ui-kit-v2-side-menu.d.ts +452 -349
- package/types/rt-tools-ui-kit-v2-skeleton-wrapper.d.ts +53 -20
- package/types/rt-tools-ui-kit-v2-skeleton.d.ts +55 -26
- package/types/rt-tools-ui-kit-v2-speed-menu.d.ts +131 -0
- package/types/rt-tools-ui-kit-v2-spinner.d.ts +56 -28
- package/types/rt-tools-ui-kit-v2-split-button.d.ts +96 -55
- package/types/rt-tools-ui-kit-v2-stat-tile.d.ts +88 -60
- package/types/rt-tools-ui-kit-v2-stepper.d.ts +50 -37
- package/types/rt-tools-ui-kit-v2-table.d.ts +631 -480
- package/types/rt-tools-ui-kit-v2-tabs.d.ts +198 -113
- package/types/rt-tools-ui-kit-v2-tag.d.ts +106 -53
- package/types/rt-tools-ui-kit-v2-textarea.d.ts +48 -25
- package/types/rt-tools-ui-kit-v2-theme-toggle.d.ts +28 -26
- package/types/rt-tools-ui-kit-v2-thread-list.d.ts +154 -94
- package/types/rt-tools-ui-kit-v2-timeline.d.ts +30 -28
- package/types/rt-tools-ui-kit-v2-toast.d.ts +174 -98
- package/types/rt-tools-ui-kit-v2-toggle-button-group.d.ts +132 -86
- package/types/rt-tools-ui-kit-v2-toggle-switch.d.ts +88 -50
- package/types/rt-tools-ui-kit-v2-toolbar.d.ts +30 -27
- package/types/rt-tools-ui-kit-v2-tooltip.d.ts +65 -41
- package/types/rt-tools-ui-kit-v2-tree-selector.d.ts +257 -0
- package/types/rt-tools-ui-kit-v2-tree.d.ts +282 -0
- package/types/rt-tools-ui-kit-v2-welcome-dialog.d.ts +21 -24
- package/types/rt-tools-ui-kit-v2-workspace-details.d.ts +195 -124
- package/types/rt-tools-ui-kit-v2-workspace.d.ts +122 -79
- package/types/rt-tools-ui-kit-v2.d.ts +100 -90
- package/fesm2022/rt-tools-ui-kit-v2.mjs.map +0 -1
|
@@ -1,45 +1,101 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { BlockDirective, ElemDirective } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, input } from "@angular/core";
|
|
3
|
+
import { BlockDirective, ElemDirective } from "@rt-tools/core";
|
|
4
|
+
const BEM_BLOCK = "rt-counter-row";
|
|
5
|
+
var RtCounterRowComponent = class RtCounterRowComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
8
|
+
this.hint = input("", ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
9
|
+
}
|
|
10
|
+
static {
|
|
11
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
|
+
minVersion: "12.0.0",
|
|
13
|
+
version: "22.2.2",
|
|
14
|
+
ngImport: i0,
|
|
15
|
+
type: RtCounterRowComponent,
|
|
16
|
+
deps: [],
|
|
17
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
static {
|
|
21
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22
|
+
minVersion: "17.0.0",
|
|
23
|
+
version: "22.2.2",
|
|
24
|
+
type: RtCounterRowComponent,
|
|
25
|
+
isStandalone: true,
|
|
26
|
+
selector: "rt-counter-row",
|
|
27
|
+
inputs: {
|
|
28
|
+
label: {
|
|
29
|
+
classPropertyName: "label",
|
|
30
|
+
publicName: "label",
|
|
31
|
+
isSignal: true,
|
|
32
|
+
isRequired: true,
|
|
33
|
+
transformFunction: null
|
|
34
|
+
},
|
|
35
|
+
hint: {
|
|
36
|
+
classPropertyName: "hint",
|
|
37
|
+
publicName: "hint",
|
|
38
|
+
isSignal: true,
|
|
39
|
+
isRequired: false,
|
|
40
|
+
transformFunction: null
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
host: { classAttribute: "rt-counter-row" },
|
|
44
|
+
ngImport: i0,
|
|
45
|
+
template: "<ng-container rtBlock=\"rt-counter-row\">\n <span rtElem=\"text\">\n <span rtElem=\"label\" qa-dataid=\"counter-row-label\">{{ label() }}</span>\n @if (hint(); as hintText) {\n <span rtElem=\"hint\" qa-dataid=\"counter-row-hint\">{{ hintText }}</span>\n }\n </span>\n <ng-content />\n</ng-container>\n",
|
|
46
|
+
styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-counter-row{--rt-counter-row-border-width: var(--rt-border-width-thin);display:flex;align-items:center;justify-content:space-between;padding:var(--rt-counter-row-padding-y) 0;gap:var(--rt-counter-row-gap)}.rt-counter-row:not(:first-of-type){border-top:var(--rt-counter-row-border-width) solid var(--rt-counter-row-color-border)}.rt-counter-row__text{display:flex;flex-direction:column;gap:var(--rt-space-2xs);text-align:start}.rt-counter-row__label{color:var(--rt-counter-row-label-color);font-size:var(--rt-counter-row-label-font-size);font-weight:var(--rt-font-weight-medium)}.rt-counter-row__hint{color:var(--rt-counter-row-hint-color);font-size:var(--rt-counter-row-hint-font-size)}}\n"],
|
|
47
|
+
dependencies: [{
|
|
48
|
+
kind: "directive",
|
|
49
|
+
type: BlockDirective,
|
|
50
|
+
selector: "[rtBlock]",
|
|
51
|
+
inputs: ["rtMod"]
|
|
52
|
+
}, {
|
|
53
|
+
kind: "directive",
|
|
54
|
+
type: ElemDirective,
|
|
55
|
+
selector: "[rtElem]",
|
|
56
|
+
inputs: ["rtMod"]
|
|
57
|
+
}],
|
|
58
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
59
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
64
|
+
minVersion: "12.0.0",
|
|
65
|
+
version: "22.2.2",
|
|
66
|
+
ngImport: i0,
|
|
67
|
+
type: RtCounterRowComponent,
|
|
68
|
+
decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{
|
|
71
|
+
selector: "rt-counter-row",
|
|
72
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
73
|
+
encapsulation: ViewEncapsulation.None,
|
|
74
|
+
imports: [BlockDirective, ElemDirective],
|
|
75
|
+
host: { class: BEM_BLOCK },
|
|
76
|
+
template: "<ng-container rtBlock=\"rt-counter-row\">\n <span rtElem=\"text\">\n <span rtElem=\"label\" qa-dataid=\"counter-row-label\">{{ label() }}</span>\n @if (hint(); as hintText) {\n <span rtElem=\"hint\" qa-dataid=\"counter-row-hint\">{{ hintText }}</span>\n }\n </span>\n <ng-content />\n</ng-container>\n",
|
|
77
|
+
styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-counter-row{--rt-counter-row-border-width: var(--rt-border-width-thin);display:flex;align-items:center;justify-content:space-between;padding:var(--rt-counter-row-padding-y) 0;gap:var(--rt-counter-row-gap)}.rt-counter-row:not(:first-of-type){border-top:var(--rt-counter-row-border-width) solid var(--rt-counter-row-color-border)}.rt-counter-row__text{display:flex;flex-direction:column;gap:var(--rt-space-2xs);text-align:start}.rt-counter-row__label{color:var(--rt-counter-row-label-color);font-size:var(--rt-counter-row-label-font-size);font-weight:var(--rt-font-weight-medium)}.rt-counter-row__hint{color:var(--rt-counter-row-hint-color);font-size:var(--rt-counter-row-hint-font-size)}}\n"]
|
|
78
|
+
}]
|
|
79
|
+
}],
|
|
80
|
+
propDecorators: {
|
|
81
|
+
label: [{
|
|
82
|
+
type: i0.Input,
|
|
83
|
+
args: [{
|
|
84
|
+
isSignal: true,
|
|
85
|
+
alias: "label",
|
|
86
|
+
required: true
|
|
87
|
+
}]
|
|
88
|
+
}],
|
|
89
|
+
hint: [{
|
|
90
|
+
type: i0.Input,
|
|
91
|
+
args: [{
|
|
92
|
+
isSignal: true,
|
|
93
|
+
alias: "hint",
|
|
94
|
+
required: false
|
|
95
|
+
}]
|
|
96
|
+
}]
|
|
97
|
+
}
|
|
98
|
+
});
|
|
44
99
|
export { RtCounterRowComponent };
|
|
45
|
-
|
|
100
|
+
|
|
101
|
+
//# sourceMappingURL=rt-tools-ui-kit-v2-counter-row.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rt-tools-ui-kit-v2-counter-row.mjs","sources":["../../../projects/ui-kit-v2/src/lib/components/counter-row/rt-counter-row.component.ts","../../../projects/ui-kit-v2/src/lib/components/counter-row/rt-counter-row.component.html"
|
|
1
|
+
{"version":3,"file":"rt-tools-ui-kit-v2-counter-row.mjs","names":[],"sources":["../../../projects/ui-kit-v2/src/lib/components/counter-row/rt-counter-row.component.ts","../../../projects/ui-kit-v2/src/lib/components/counter-row/rt-counter-row.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, InputSignal, ViewEncapsulation } from '@angular/core';\n\nimport { BlockDirective, ElemDirective } from '@rt-tools/core';\n\nconst BEM_BLOCK: string = 'rt-counter-row';\n\n/**\n * Строка списка со счётчиком: подпись с пояснением слева, контрол справа,\n * волосяная линия между соседними строками.\n *\n * Сам счётчик проецируется, а не собирается внутри: строка отвечает только за\n * раскладку, и её не приходится расширять каждый раз, когда у `rt-counter`\n * появляется новый input.\n *\n * ViewEncapsulation.None — стили таргетируют имя элемента и BEM-класс блока.\n */\n@Component({\n selector: 'rt-counter-row',\n templateUrl: './rt-counter-row.component.html',\n styleUrl: './rt-counter-row.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n // rt-tools\n BlockDirective,\n ElemDirective,\n ],\n host: {\n class: BEM_BLOCK,\n },\n})\nexport class RtCounterRowComponent {\n public readonly label: InputSignal<string> = input.required<string>();\n\n /** Пояснение под подписью: возрастная вилка, условие. Пусто — строки нет. */\n public readonly hint: InputSignal<string> = input<string>('');\n}\n","<ng-container rtBlock=\"rt-counter-row\">\n <span rtElem=\"text\">\n <span rtElem=\"label\" qa-dataid=\"counter-row-label\">{{ label() }}</span>\n @if (hint(); as hintText) {\n <span rtElem=\"hint\" qa-dataid=\"counter-row-hint\">{{ hintText }}</span>\n }\n </span>\n <ng-content />\n</ng-container>\n"],"mappings":";;;AAIA,MAAM,YAAoB;AA2B1B,IAAa,wBAAb,MAAa,sBAAqB;CAflC,cAAA;EAgBoB,KAAA,QAA6B,MAAM,SAAkB,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAGrD,KAAA,OAA4B,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAChE;CALY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAArB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAqB,cAAA;GAAA,UAAA;GAAA,QAAA;IAAA,OAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,MAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;GAAA;GAAA,MAAA,EAAA,gBAAA,iBAAA;GAAA,UAAA;GAAA,UC/BlC;GASA,QAAA,CAAA,muBAAA;GAAA,cAAA,CAAA;IAAA,MAAA;IAAA,MDeQ;IAAc,UAAA;IAAA,QAAA,CAAA,OAAA;GAAA,GAAA;IAAA,MAAA;IAAA,MACd;IAAa,UAAA;IAAA,QAAA,CAAA,OAAA;GAAA,CAAA;GAAA,iBAAA,GAAA,wBAAA;GAAA,eAAA,GAAA,kBAAA;EAAA,CAAA;CAAA;;AAMR,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EAfjC,MAAA;EACa,MAAA,CAAA;GAAA,UAAA;GAAgB,iBAGT,wBAAwB;GAAM,eAChC,kBAAkB;GAAI,SAC5B,CAEL,gBACA,aACH;GAAA,MACK,EACF,OAAO,UACV;GAAA,UAAA;GAAA,QAAA,CAAA,muBAAA;EAAA,CAAA"}
|
|
@@ -1,158 +1,293 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from
|
|
4
|
-
import { BlockDirective, ElemDirective } from
|
|
5
|
-
import { rtKitLabel } from
|
|
6
|
-
import { RtIconButtonComponent } from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* Ключи подписей кнопок для скринридера.
|
|
11
|
-
*
|
|
12
|
-
* Здесь именно ключи, а не готовый текст: константа вычисляется один раз при
|
|
13
|
-
* загрузке модуля, а язык страницы известен только после старта приложения —
|
|
14
|
-
* переведённая на этом этапе строка застряла бы на языке по умолчанию. Перевод
|
|
15
|
-
* берёт компонент, у которого есть доступ к текущей локали; перекрываются
|
|
16
|
-
* поштучно через input'ы `decreaseLabel` / `increaseLabel`.
|
|
17
|
-
*/
|
|
18
|
-
const RT_COUNTER_DECREASE_KEY = 'counterDecrease';
|
|
19
|
-
const RT_COUNTER_INCREASE_KEY = 'counterIncrease';
|
|
20
|
-
|
|
21
|
-
const BEM_BLOCK = 'rt-counter';
|
|
22
|
-
/** Значение всегда внутри границ: и при записи из формы, и при шаге кнопкой. */
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, booleanAttribute, computed, forwardRef, input, numberAttribute, signal } from "@angular/core";
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
4
|
+
import { BlockDirective, ElemDirective } from "@rt-tools/core";
|
|
5
|
+
import { rtKitLabel } from "@rt-tools/ui-kit-v2/core";
|
|
6
|
+
import { RtIconButtonComponent } from "@rt-tools/ui-kit-v2/icon-button";
|
|
7
|
+
const RT_COUNTER_DECREASE_KEY = "counterDecrease";
|
|
8
|
+
const RT_COUNTER_INCREASE_KEY = "counterIncrease";
|
|
9
|
+
const BEM_BLOCK = "rt-counter";
|
|
23
10
|
function clamp(value, min, max) {
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Счётчик «− N +» для целых величин: количество гостей, мест, единиц.
|
|
28
|
-
* В отличие от `rt-input-number` значение нельзя ввести с клавиатуры — только
|
|
29
|
-
* шагами, поэтому здесь нет ни маски, ни дробной части, ни кнопки очистки.
|
|
30
|
-
*
|
|
31
|
-
* Реализует `ControlValueAccessor` для `number` через
|
|
32
|
-
* `useExisting: forwardRef(...)` — `useClass` на self-reference вызывает
|
|
33
|
-
* NG0200 cycle при boot'е.
|
|
34
|
-
*
|
|
35
|
-
* Отключение складывается из двух независимых источников: входа `disabled` и
|
|
36
|
-
* слова формы (CVA `setDisabledState`). Отключено, если так сказал любой из
|
|
37
|
-
* них. Сводить их в один signal нельзя: форма зовёт `setDisabledState` при
|
|
38
|
-
* связывании контрола, то есть раньше, чем счётчик впервые обновит своё вью,
|
|
39
|
-
* и мирроринг входа затирал бы её слово — контрол, созданный отключённым,
|
|
40
|
-
* оказывался бы рабочим.
|
|
41
|
-
*
|
|
42
|
-
* Хост объявлен группой с `aria-label`, значение помечено `aria-live`, так что
|
|
43
|
-
* скринридер называет назначение счётчика и проговаривает новое число.
|
|
44
|
-
*
|
|
45
|
-
* ViewEncapsulation.None — стили таргетируют имя элемента и BEM-класс блока.
|
|
46
|
-
*/
|
|
47
|
-
class RtCounterComponent {
|
|
48
|
-
constructor() {
|
|
49
|
-
this.#onChange = () => undefined;
|
|
50
|
-
this.#onTouched = () => undefined;
|
|
51
|
-
this.#decreaseFallback = rtKitLabel(RT_COUNTER_DECREASE_KEY);
|
|
52
|
-
this.#increaseFallback = rtKitLabel(RT_COUNTER_INCREASE_KEY);
|
|
53
|
-
/** Отключение, назначенное формой через CVA (`setDisabledState`). */
|
|
54
|
-
this.#disabledByForm = signal(false, /* @ts-ignore */
|
|
55
|
-
...(ngDevMode ? [{ debugName: "#disabledByForm" }] : /* istanbul ignore next */ []));
|
|
56
|
-
this.value = signal(0, /* @ts-ignore */
|
|
57
|
-
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
58
|
-
this.isDisabled = computed(() => this.disabled() || this.#disabledByForm(), /* @ts-ignore */
|
|
59
|
-
...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
|
|
60
|
-
/** Своя подпись важнее умолчания: форма знает, что именно считает */
|
|
61
|
-
this.decreaseAriaLabel = computed(() => this.decreaseLabel() || this.#decreaseFallback(), /* @ts-ignore */
|
|
62
|
-
...(ngDevMode ? [{ debugName: "decreaseAriaLabel" }] : /* istanbul ignore next */ []));
|
|
63
|
-
this.increaseAriaLabel = computed(() => this.increaseLabel() || this.#increaseFallback(), /* @ts-ignore */
|
|
64
|
-
...(ngDevMode ? [{ debugName: "increaseAriaLabel" }] : /* istanbul ignore next */ []));
|
|
65
|
-
this.canDecrease = computed(() => !this.isDisabled() && this.value() > this.min(), /* @ts-ignore */
|
|
66
|
-
...(ngDevMode ? [{ debugName: "canDecrease" }] : /* istanbul ignore next */ []));
|
|
67
|
-
this.canIncrease = computed(() => !this.isDisabled() && this.value() < this.max(), /* @ts-ignore */
|
|
68
|
-
...(ngDevMode ? [{ debugName: "canIncrease" }] : /* istanbul ignore next */ []));
|
|
69
|
-
this.ariaLabel = input(null, /* @ts-ignore */
|
|
70
|
-
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
71
|
-
/** Нижняя граница; значение из формы поднимается до неё. */
|
|
72
|
-
this.min = input(0, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
73
|
-
/** Верхняя граница; по умолчанию потолка нет. */
|
|
74
|
-
this.max = input(Number.MAX_SAFE_INTEGER, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
75
|
-
this.step = input(1, { ...(ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
76
|
-
/** Пусто — берётся переведённая подпись по умолчанию */
|
|
77
|
-
this.decreaseLabel = input('', /* @ts-ignore */
|
|
78
|
-
...(ngDevMode ? [{ debugName: "decreaseLabel" }] : /* istanbul ignore next */ []));
|
|
79
|
-
this.increaseLabel = input('', /* @ts-ignore */
|
|
80
|
-
...(ngDevMode ? [{ debugName: "increaseLabel" }] : /* istanbul ignore next */ []));
|
|
81
|
-
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
82
|
-
}
|
|
83
|
-
#onChange;
|
|
84
|
-
#onTouched;
|
|
85
|
-
#decreaseFallback;
|
|
86
|
-
#increaseFallback;
|
|
87
|
-
/** Отключение, назначенное формой через CVA (`setDisabledState`). */
|
|
88
|
-
#disabledByForm;
|
|
89
|
-
writeValue(value) {
|
|
90
|
-
this.value.set(clamp(Number(value ?? this.min()), this.min(), this.max()));
|
|
91
|
-
}
|
|
92
|
-
registerOnChange(fn) {
|
|
93
|
-
this.#onChange = fn;
|
|
94
|
-
}
|
|
95
|
-
registerOnTouched(fn) {
|
|
96
|
-
this.#onTouched = fn;
|
|
97
|
-
}
|
|
98
|
-
setDisabledState(disabled) {
|
|
99
|
-
this.#disabledByForm.set(disabled);
|
|
100
|
-
}
|
|
101
|
-
decrease() {
|
|
102
|
-
this.#shift(-this.step());
|
|
103
|
-
}
|
|
104
|
-
increase() {
|
|
105
|
-
this.#shift(this.step());
|
|
106
|
-
}
|
|
107
|
-
#shift(delta) {
|
|
108
|
-
if (this.isDisabled()) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
const next = clamp(this.value() + delta, this.min(), this.max());
|
|
112
|
-
if (next === this.value()) {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
this.value.set(next);
|
|
116
|
-
this.#onChange(next);
|
|
117
|
-
this.#onTouched();
|
|
118
|
-
}
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RtCounterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.6", type: RtCounterComponent, isStandalone: true, selector: "rt-counter", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, decreaseLabel: { classPropertyName: "decreaseLabel", publicName: "decreaseLabel", isSignal: true, isRequired: false, transformFunction: null }, increaseLabel: { classPropertyName: "increaseLabel", publicName: "increaseLabel", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-label": "ariaLabel()" }, classAttribute: "rt-counter" }, providers: [
|
|
121
|
-
{
|
|
122
|
-
provide: NG_VALUE_ACCESSOR,
|
|
123
|
-
useExisting: forwardRef(() => RtCounterComponent),
|
|
124
|
-
multi: true,
|
|
125
|
-
},
|
|
126
|
-
], ngImport: i0, template: "<ng-container rtBlock=\"rt-counter\">\n <rt-icon-button\n qa-dataid=\"counter-decrease\"\n icon=\"minus\"\n variant=\"secondary\"\n size=\"sm\"\n [ariaLabel]=\"decreaseAriaLabel()\"\n [disabled]=\"!canDecrease()\"\n (clicked)=\"decrease()\" />\n <span rtElem=\"value\" qa-dataid=\"counter-value\" aria-live=\"polite\">{{ value() }}</span>\n <rt-icon-button\n qa-dataid=\"counter-increase\"\n icon=\"ico-plus\"\n variant=\"secondary\"\n size=\"sm\"\n [ariaLabel]=\"increaseAriaLabel()\"\n [disabled]=\"!canIncrease()\"\n (clicked)=\"increase()\" />\n</ng-container>\n", styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-counter{display:inline-flex;align-items:center;gap:var(--rt-counter-gap)}.rt-counter__value{min-width:var(--rt-counter-value-min-width);color:var(--rt-counter-value-color);font-size:var(--rt-counter-value-font-size);font-variant-numeric:tabular-nums;text-align:center}}\n"], dependencies: [{ kind: "directive", type:
|
|
127
|
-
// rt-tools
|
|
128
|
-
BlockDirective, selector: "[rtBlock]", inputs: ["rtMod"] }, { kind: "directive", type: ElemDirective, selector: "[rtElem]", inputs: ["rtMod"] }, { kind: "component", type:
|
|
129
|
-
// components
|
|
130
|
-
RtIconButtonComponent, selector: "rt-icon-button", inputs: ["icon", "glyph", "ariaLabel", "variant", "iconColor", "iconFill", "size", "iconSize", "type", "tooltip", "tabIndex", "loading", "disabled", "active", "indicator"], outputs: ["clicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
|
+
return Math.min(Math.max(value, min), max);
|
|
131
12
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
*/
|
|
156
|
-
|
|
13
|
+
var RtCounterComponent = class RtCounterComponent {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.#onChange = () => void 0;
|
|
16
|
+
this.#onTouched = () => void 0;
|
|
17
|
+
this.#decreaseFallback = rtKitLabel(RT_COUNTER_DECREASE_KEY);
|
|
18
|
+
this.#increaseFallback = rtKitLabel(RT_COUNTER_INCREASE_KEY);
|
|
19
|
+
this.#disabledByForm = signal(false, ...ngDevMode ? [{ debugName: "#disabledByForm" }] : /* istanbul ignore next */ []);
|
|
20
|
+
this.value = signal(0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
21
|
+
this.isDisabled = computed(() => this.disabled() || this.#disabledByForm(), ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
|
|
22
|
+
this.decreaseAriaLabel = computed(() => this.decreaseLabel() || this.#decreaseFallback(), ...ngDevMode ? [{ debugName: "decreaseAriaLabel" }] : /* istanbul ignore next */ []);
|
|
23
|
+
this.increaseAriaLabel = computed(() => this.increaseLabel() || this.#increaseFallback(), ...ngDevMode ? [{ debugName: "increaseAriaLabel" }] : /* istanbul ignore next */ []);
|
|
24
|
+
this.canDecrease = computed(() => !this.isDisabled() && this.value() > this.min(), ...ngDevMode ? [{ debugName: "canDecrease" }] : /* istanbul ignore next */ []);
|
|
25
|
+
this.canIncrease = computed(() => !this.isDisabled() && this.value() < this.max(), ...ngDevMode ? [{ debugName: "canIncrease" }] : /* istanbul ignore next */ []);
|
|
26
|
+
this.ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
27
|
+
this.min = input(0, {
|
|
28
|
+
...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
|
|
29
|
+
transform: numberAttribute
|
|
30
|
+
});
|
|
31
|
+
this.max = input(Number.MAX_SAFE_INTEGER, {
|
|
32
|
+
...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
|
|
33
|
+
transform: numberAttribute
|
|
34
|
+
});
|
|
35
|
+
this.step = input(1, {
|
|
36
|
+
...ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {},
|
|
37
|
+
transform: numberAttribute
|
|
38
|
+
});
|
|
39
|
+
this.decreaseLabel = input("", ...ngDevMode ? [{ debugName: "decreaseLabel" }] : /* istanbul ignore next */ []);
|
|
40
|
+
this.increaseLabel = input("", ...ngDevMode ? [{ debugName: "increaseLabel" }] : /* istanbul ignore next */ []);
|
|
41
|
+
this.disabled = input(false, {
|
|
42
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
43
|
+
transform: booleanAttribute
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
#onChange;
|
|
47
|
+
#onTouched;
|
|
48
|
+
#decreaseFallback;
|
|
49
|
+
#increaseFallback;
|
|
50
|
+
#disabledByForm;
|
|
51
|
+
writeValue(value) {
|
|
52
|
+
this.value.set(clamp(Number(value ?? this.min()), this.min(), this.max()));
|
|
53
|
+
}
|
|
54
|
+
registerOnChange(fn) {
|
|
55
|
+
this.#onChange = fn;
|
|
56
|
+
}
|
|
57
|
+
registerOnTouched(fn) {
|
|
58
|
+
this.#onTouched = fn;
|
|
59
|
+
}
|
|
60
|
+
setDisabledState(disabled) {
|
|
61
|
+
this.#disabledByForm.set(disabled);
|
|
62
|
+
}
|
|
63
|
+
decrease() {
|
|
64
|
+
this.#shift(-this.step());
|
|
65
|
+
}
|
|
66
|
+
increase() {
|
|
67
|
+
this.#shift(this.step());
|
|
68
|
+
}
|
|
69
|
+
#shift(delta) {
|
|
70
|
+
if (this.isDisabled()) return;
|
|
71
|
+
const next = clamp(this.value() + delta, this.min(), this.max());
|
|
72
|
+
if (next === this.value()) return;
|
|
73
|
+
this.value.set(next);
|
|
74
|
+
this.#onChange(next);
|
|
75
|
+
this.#onTouched();
|
|
76
|
+
}
|
|
77
|
+
static {
|
|
78
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
79
|
+
minVersion: "12.0.0",
|
|
80
|
+
version: "22.2.2",
|
|
81
|
+
ngImport: i0,
|
|
82
|
+
type: RtCounterComponent,
|
|
83
|
+
deps: [],
|
|
84
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
static {
|
|
88
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
89
|
+
minVersion: "17.1.0",
|
|
90
|
+
version: "22.2.2",
|
|
91
|
+
type: RtCounterComponent,
|
|
92
|
+
isStandalone: true,
|
|
93
|
+
selector: "rt-counter",
|
|
94
|
+
inputs: {
|
|
95
|
+
ariaLabel: {
|
|
96
|
+
classPropertyName: "ariaLabel",
|
|
97
|
+
publicName: "ariaLabel",
|
|
98
|
+
isSignal: true,
|
|
99
|
+
isRequired: false,
|
|
100
|
+
transformFunction: null
|
|
101
|
+
},
|
|
102
|
+
min: {
|
|
103
|
+
classPropertyName: "min",
|
|
104
|
+
publicName: "min",
|
|
105
|
+
isSignal: true,
|
|
106
|
+
isRequired: false,
|
|
107
|
+
transformFunction: null
|
|
108
|
+
},
|
|
109
|
+
max: {
|
|
110
|
+
classPropertyName: "max",
|
|
111
|
+
publicName: "max",
|
|
112
|
+
isSignal: true,
|
|
113
|
+
isRequired: false,
|
|
114
|
+
transformFunction: null
|
|
115
|
+
},
|
|
116
|
+
step: {
|
|
117
|
+
classPropertyName: "step",
|
|
118
|
+
publicName: "step",
|
|
119
|
+
isSignal: true,
|
|
120
|
+
isRequired: false,
|
|
121
|
+
transformFunction: null
|
|
122
|
+
},
|
|
123
|
+
decreaseLabel: {
|
|
124
|
+
classPropertyName: "decreaseLabel",
|
|
125
|
+
publicName: "decreaseLabel",
|
|
126
|
+
isSignal: true,
|
|
127
|
+
isRequired: false,
|
|
128
|
+
transformFunction: null
|
|
129
|
+
},
|
|
130
|
+
increaseLabel: {
|
|
131
|
+
classPropertyName: "increaseLabel",
|
|
132
|
+
publicName: "increaseLabel",
|
|
133
|
+
isSignal: true,
|
|
134
|
+
isRequired: false,
|
|
135
|
+
transformFunction: null
|
|
136
|
+
},
|
|
137
|
+
disabled: {
|
|
138
|
+
classPropertyName: "disabled",
|
|
139
|
+
publicName: "disabled",
|
|
140
|
+
isSignal: true,
|
|
141
|
+
isRequired: false,
|
|
142
|
+
transformFunction: null
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
host: {
|
|
146
|
+
attributes: { "role": "group" },
|
|
147
|
+
properties: { "attr.aria-label": "ariaLabel()" },
|
|
148
|
+
classAttribute: "rt-counter"
|
|
149
|
+
},
|
|
150
|
+
providers: [{
|
|
151
|
+
provide: NG_VALUE_ACCESSOR,
|
|
152
|
+
useExisting: forwardRef(() => RtCounterComponent),
|
|
153
|
+
multi: true
|
|
154
|
+
}],
|
|
155
|
+
ngImport: i0,
|
|
156
|
+
template: "<ng-container rtBlock=\"rt-counter\">\n <rt-icon-button\n qa-dataid=\"counter-decrease\"\n icon=\"minus\"\n variant=\"secondary\"\n size=\"sm\"\n [ariaLabel]=\"decreaseAriaLabel()\"\n [disabled]=\"!canDecrease()\"\n (clicked)=\"decrease()\" />\n <span rtElem=\"value\" qa-dataid=\"counter-value\" aria-live=\"polite\">{{ value() }}</span>\n <rt-icon-button\n qa-dataid=\"counter-increase\"\n icon=\"ico-plus\"\n variant=\"secondary\"\n size=\"sm\"\n [ariaLabel]=\"increaseAriaLabel()\"\n [disabled]=\"!canIncrease()\"\n (clicked)=\"increase()\" />\n</ng-container>\n",
|
|
157
|
+
styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-counter{display:inline-flex;align-items:center;gap:var(--rt-counter-gap)}.rt-counter__value{min-width:var(--rt-counter-value-min-width);color:var(--rt-counter-value-color);font-size:var(--rt-counter-value-font-size);font-variant-numeric:tabular-nums;text-align:center}}\n"],
|
|
158
|
+
dependencies: [
|
|
159
|
+
{
|
|
160
|
+
kind: "directive",
|
|
161
|
+
type: BlockDirective,
|
|
162
|
+
selector: "[rtBlock]",
|
|
163
|
+
inputs: ["rtMod"]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
kind: "directive",
|
|
167
|
+
type: ElemDirective,
|
|
168
|
+
selector: "[rtElem]",
|
|
169
|
+
inputs: ["rtMod"]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
kind: "component",
|
|
173
|
+
type: RtIconButtonComponent,
|
|
174
|
+
selector: "rt-icon-button",
|
|
175
|
+
inputs: [
|
|
176
|
+
"icon",
|
|
177
|
+
"glyph",
|
|
178
|
+
"ariaLabel",
|
|
179
|
+
"variant",
|
|
180
|
+
"iconColor",
|
|
181
|
+
"iconFill",
|
|
182
|
+
"size",
|
|
183
|
+
"iconSize",
|
|
184
|
+
"type",
|
|
185
|
+
"tooltip",
|
|
186
|
+
"tooltipHideOnClick",
|
|
187
|
+
"tabIndex",
|
|
188
|
+
"loading",
|
|
189
|
+
"disabled",
|
|
190
|
+
"active",
|
|
191
|
+
"expanded",
|
|
192
|
+
"indicator"
|
|
193
|
+
],
|
|
194
|
+
outputs: ["clicked"]
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
198
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
203
|
+
minVersion: "12.0.0",
|
|
204
|
+
version: "22.2.2",
|
|
205
|
+
ngImport: i0,
|
|
206
|
+
type: RtCounterComponent,
|
|
207
|
+
decorators: [{
|
|
208
|
+
type: Component,
|
|
209
|
+
args: [{
|
|
210
|
+
selector: "rt-counter",
|
|
211
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
212
|
+
encapsulation: ViewEncapsulation.None,
|
|
213
|
+
imports: [
|
|
214
|
+
BlockDirective,
|
|
215
|
+
ElemDirective,
|
|
216
|
+
RtIconButtonComponent
|
|
217
|
+
],
|
|
218
|
+
providers: [{
|
|
219
|
+
provide: NG_VALUE_ACCESSOR,
|
|
220
|
+
useExisting: forwardRef(() => RtCounterComponent),
|
|
221
|
+
multi: true
|
|
222
|
+
}],
|
|
223
|
+
host: {
|
|
224
|
+
class: BEM_BLOCK,
|
|
225
|
+
role: "group",
|
|
226
|
+
"[attr.aria-label]": "ariaLabel()"
|
|
227
|
+
},
|
|
228
|
+
template: "<ng-container rtBlock=\"rt-counter\">\n <rt-icon-button\n qa-dataid=\"counter-decrease\"\n icon=\"minus\"\n variant=\"secondary\"\n size=\"sm\"\n [ariaLabel]=\"decreaseAriaLabel()\"\n [disabled]=\"!canDecrease()\"\n (clicked)=\"decrease()\" />\n <span rtElem=\"value\" qa-dataid=\"counter-value\" aria-live=\"polite\">{{ value() }}</span>\n <rt-icon-button\n qa-dataid=\"counter-increase\"\n icon=\"ico-plus\"\n variant=\"secondary\"\n size=\"sm\"\n [ariaLabel]=\"increaseAriaLabel()\"\n [disabled]=\"!canIncrease()\"\n (clicked)=\"increase()\" />\n</ng-container>\n",
|
|
229
|
+
styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-counter{display:inline-flex;align-items:center;gap:var(--rt-counter-gap)}.rt-counter__value{min-width:var(--rt-counter-value-min-width);color:var(--rt-counter-value-color);font-size:var(--rt-counter-value-font-size);font-variant-numeric:tabular-nums;text-align:center}}\n"]
|
|
230
|
+
}]
|
|
231
|
+
}],
|
|
232
|
+
propDecorators: {
|
|
233
|
+
ariaLabel: [{
|
|
234
|
+
type: i0.Input,
|
|
235
|
+
args: [{
|
|
236
|
+
isSignal: true,
|
|
237
|
+
alias: "ariaLabel",
|
|
238
|
+
required: false
|
|
239
|
+
}]
|
|
240
|
+
}],
|
|
241
|
+
min: [{
|
|
242
|
+
type: i0.Input,
|
|
243
|
+
args: [{
|
|
244
|
+
isSignal: true,
|
|
245
|
+
alias: "min",
|
|
246
|
+
required: false
|
|
247
|
+
}]
|
|
248
|
+
}],
|
|
249
|
+
max: [{
|
|
250
|
+
type: i0.Input,
|
|
251
|
+
args: [{
|
|
252
|
+
isSignal: true,
|
|
253
|
+
alias: "max",
|
|
254
|
+
required: false
|
|
255
|
+
}]
|
|
256
|
+
}],
|
|
257
|
+
step: [{
|
|
258
|
+
type: i0.Input,
|
|
259
|
+
args: [{
|
|
260
|
+
isSignal: true,
|
|
261
|
+
alias: "step",
|
|
262
|
+
required: false
|
|
263
|
+
}]
|
|
264
|
+
}],
|
|
265
|
+
decreaseLabel: [{
|
|
266
|
+
type: i0.Input,
|
|
267
|
+
args: [{
|
|
268
|
+
isSignal: true,
|
|
269
|
+
alias: "decreaseLabel",
|
|
270
|
+
required: false
|
|
271
|
+
}]
|
|
272
|
+
}],
|
|
273
|
+
increaseLabel: [{
|
|
274
|
+
type: i0.Input,
|
|
275
|
+
args: [{
|
|
276
|
+
isSignal: true,
|
|
277
|
+
alias: "increaseLabel",
|
|
278
|
+
required: false
|
|
279
|
+
}]
|
|
280
|
+
}],
|
|
281
|
+
disabled: [{
|
|
282
|
+
type: i0.Input,
|
|
283
|
+
args: [{
|
|
284
|
+
isSignal: true,
|
|
285
|
+
alias: "disabled",
|
|
286
|
+
required: false
|
|
287
|
+
}]
|
|
288
|
+
}]
|
|
289
|
+
}
|
|
290
|
+
});
|
|
157
291
|
export { RT_COUNTER_DECREASE_KEY, RT_COUNTER_INCREASE_KEY, RtCounterComponent };
|
|
158
|
-
|
|
292
|
+
|
|
293
|
+
//# sourceMappingURL=rt-tools-ui-kit-v2-counter.mjs.map
|