@soxa-ui/setup 0.0.0-stage → 0.3.0-beta.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/LICENSE +21 -0
- package/README.md +63 -2
- package/dist/content/descriptors/components/accordion/accordion.descriptor.d.ts +205 -0
- package/dist/content/descriptors/components/accordion/accordion.descriptor.js +80 -0
- package/dist/content/descriptors/components/accordion/collection.descriptor.d.ts +76 -0
- package/dist/content/descriptors/components/accordion/collection.descriptor.js +60 -0
- package/dist/content/descriptors/components/accordion/index.d.ts +3 -0
- package/dist/content/descriptors/components/accordion/item.descriptor.d.ts +244 -0
- package/dist/content/descriptors/components/accordion/item.descriptor.js +93 -0
- package/dist/content/descriptors/components/button.descriptor.d.ts +192 -0
- package/dist/content/descriptors/components/button.descriptor.js +39 -0
- package/dist/content/descriptors/components/calendar/calendar.descriptor.d.ts +261 -0
- package/dist/content/descriptors/components/calendar/calendar.descriptor.js +142 -0
- package/dist/content/descriptors/components/calendar/collection.descriptor.d.ts +85 -0
- package/dist/content/descriptors/components/calendar/collection.descriptor.js +88 -0
- package/dist/content/descriptors/components/calendar/index.d.ts +3 -0
- package/dist/content/descriptors/components/calendar/item.descriptor.d.ts +154 -0
- package/dist/content/descriptors/components/calendar/item.descriptor.js +65 -0
- package/dist/content/descriptors/components/check-box.descriptor.d.ts +227 -0
- package/dist/content/descriptors/components/check-box.descriptor.js +65 -0
- package/dist/content/descriptors/components/clearable.descriptor.d.ts +213 -0
- package/dist/content/descriptors/components/clearable.descriptor.js +51 -0
- package/dist/content/descriptors/components/collection/collection.descriptor.d.ts +47 -0
- package/dist/content/descriptors/components/collection/collection.descriptor.js +67 -0
- package/dist/content/descriptors/components/collection/index.d.ts +1 -0
- package/dist/content/descriptors/components/component-view.descriptor.d.ts +110 -0
- package/dist/content/descriptors/components/component-view.descriptor.js +103 -0
- package/dist/content/descriptors/components/component.descriptor.d.ts +31 -0
- package/dist/content/descriptors/components/component.descriptor.js +22 -0
- package/dist/content/descriptors/components/control.descriptor.d.ts +135 -0
- package/dist/content/descriptors/components/control.descriptor.js +33 -0
- package/dist/content/descriptors/components/date-input.descriptor.d.ts +319 -0
- package/dist/content/descriptors/components/date-input.descriptor.js +171 -0
- package/dist/content/descriptors/components/date-picker.descriptor.d.ts +445 -0
- package/dist/content/descriptors/components/date-picker.descriptor.js +255 -0
- package/dist/content/descriptors/components/dialog.descriptor.d.ts +256 -0
- package/dist/content/descriptors/components/dialog.descriptor.js +94 -0
- package/dist/content/descriptors/components/drag-and-drop.descriptor.d.ts +49 -0
- package/dist/content/descriptors/components/drag-and-drop.descriptor.js +32 -0
- package/dist/content/descriptors/components/drawer.descriptor.d.ts +244 -0
- package/dist/content/descriptors/components/drawer.descriptor.js +83 -0
- package/dist/content/descriptors/components/entity.descriptor.d.ts +39 -0
- package/dist/content/descriptors/components/entity.descriptor.js +37 -0
- package/dist/content/descriptors/components/field.descriptor.d.ts +192 -0
- package/dist/content/descriptors/components/field.descriptor.js +109 -0
- package/dist/content/descriptors/components/frame.descriptor.d.ts +191 -0
- package/dist/content/descriptors/components/frame.descriptor.js +66 -0
- package/dist/content/descriptors/components/icon.descriptor.d.ts +129 -0
- package/dist/content/descriptors/components/icon.descriptor.js +41 -0
- package/dist/content/descriptors/components/index.d.ts +50 -0
- package/dist/content/descriptors/components/input-control.descriptor.d.ts +176 -0
- package/dist/content/descriptors/components/input-control.descriptor.js +32 -0
- package/dist/content/descriptors/components/input.descriptor.d.ts +241 -0
- package/dist/content/descriptors/components/input.descriptor.js +62 -0
- package/dist/content/descriptors/components/interactive.descriptor.d.ts +100 -0
- package/dist/content/descriptors/components/interactive.descriptor.js +30 -0
- package/dist/content/descriptors/components/item-group.descriptor.d.ts +113 -0
- package/dist/content/descriptors/components/item-group.descriptor.js +44 -0
- package/dist/content/descriptors/components/item-row.descriptor.d.ts +199 -0
- package/dist/content/descriptors/components/item-row.descriptor.js +25 -0
- package/dist/content/descriptors/components/label.descriptor.d.ts +130 -0
- package/dist/content/descriptors/components/label.descriptor.js +41 -0
- package/dist/content/descriptors/components/layer.descriptor.d.ts +99 -0
- package/dist/content/descriptors/components/layer.descriptor.js +27 -0
- package/dist/content/descriptors/components/list-box/collection.descriptor.d.ts +113 -0
- package/dist/content/descriptors/components/list-box/collection.descriptor.js +96 -0
- package/dist/content/descriptors/components/list-box/group.descriptor.d.ts +115 -0
- package/dist/content/descriptors/components/list-box/group.descriptor.js +21 -0
- package/dist/content/descriptors/components/list-box/index.d.ts +4 -0
- package/dist/content/descriptors/components/list-box/item.descriptor.d.ts +219 -0
- package/dist/content/descriptors/components/list-box/item.descriptor.js +66 -0
- package/dist/content/descriptors/components/list-box/list-box.descriptor.d.ts +253 -0
- package/dist/content/descriptors/components/list-box/list-box.descriptor.js +106 -0
- package/dist/content/descriptors/components/list.d.ts +40 -0
- package/dist/content/descriptors/components/list.js +38 -0
- package/dist/content/descriptors/components/menu/checkbox-item.descriptor.d.ts +226 -0
- package/dist/content/descriptors/components/menu/checkbox-item.descriptor.js +43 -0
- package/dist/content/descriptors/components/menu/collection.descriptor.d.ts +201 -0
- package/dist/content/descriptors/components/menu/collection.descriptor.js +101 -0
- package/dist/content/descriptors/components/menu/group.descriptor.d.ts +112 -0
- package/dist/content/descriptors/components/menu/group.descriptor.js +18 -0
- package/dist/content/descriptors/components/menu/index.d.ts +10 -0
- package/dist/content/descriptors/components/menu/item.descriptor.d.ts +195 -0
- package/dist/content/descriptors/components/menu/item.descriptor.js +45 -0
- package/dist/content/descriptors/components/menu/menu.descriptor.d.ts +262 -0
- package/dist/content/descriptors/components/menu/menu.descriptor.js +177 -0
- package/dist/content/descriptors/components/menu/popover-item.descriptor.d.ts +278 -0
- package/dist/content/descriptors/components/menu/popover-item.descriptor.js +87 -0
- package/dist/content/descriptors/components/menu/radio-group.descriptor.d.ts +134 -0
- package/dist/content/descriptors/components/menu/radio-group.descriptor.js +30 -0
- package/dist/content/descriptors/components/menu/radio-item.descriptor.d.ts +236 -0
- package/dist/content/descriptors/components/menu/radio-item.descriptor.js +51 -0
- package/dist/content/descriptors/components/menu/separator.descriptor.d.ts +87 -0
- package/dist/content/descriptors/components/menu/separator.descriptor.js +17 -0
- package/dist/content/descriptors/components/menu/submenu.descriptor.d.ts +336 -0
- package/dist/content/descriptors/components/menu/submenu.descriptor.js +144 -0
- package/dist/content/descriptors/components/modal-layer.descriptor.d.ts +197 -0
- package/dist/content/descriptors/components/modal-layer.descriptor.js +101 -0
- package/dist/content/descriptors/components/number-input.descriptor.d.ts +353 -0
- package/dist/content/descriptors/components/number-input.descriptor.js +209 -0
- package/dist/content/descriptors/components/pagination/collection.descriptor.d.ts +54 -0
- package/dist/content/descriptors/components/pagination/collection.descriptor.js +55 -0
- package/dist/content/descriptors/components/pagination/index.d.ts +3 -0
- package/dist/content/descriptors/components/pagination/item.descriptor.d.ts +156 -0
- package/dist/content/descriptors/components/pagination/item.descriptor.js +68 -0
- package/dist/content/descriptors/components/pagination/pagination.descriptor.d.ts +265 -0
- package/dist/content/descriptors/components/pagination/pagination.descriptor.js +152 -0
- package/dist/content/descriptors/components/popover.descriptor.d.ts +231 -0
- package/dist/content/descriptors/components/popover.descriptor.js +156 -0
- package/dist/content/descriptors/components/progress-linear.descriptor.d.ts +165 -0
- package/dist/content/descriptors/components/progress-linear.descriptor.js +43 -0
- package/dist/content/descriptors/components/progress-spinner.descriptor.d.ts +161 -0
- package/dist/content/descriptors/components/progress-spinner.descriptor.js +36 -0
- package/dist/content/descriptors/components/progress.descriptor.d.ts +149 -0
- package/dist/content/descriptors/components/progress.descriptor.js +53 -0
- package/dist/content/descriptors/components/radio-group/collection.descriptor.d.ts +70 -0
- package/dist/content/descriptors/components/radio-group/collection.descriptor.js +56 -0
- package/dist/content/descriptors/components/radio-group/index.d.ts +3 -0
- package/dist/content/descriptors/components/radio-group/item.descriptor.d.ts +193 -0
- package/dist/content/descriptors/components/radio-group/item.descriptor.js +47 -0
- package/dist/content/descriptors/components/radio-group/radio-group.descriptor.d.ts +197 -0
- package/dist/content/descriptors/components/radio-group/radio-group.descriptor.js +66 -0
- package/dist/content/descriptors/components/rating.descriptor.d.ts +233 -0
- package/dist/content/descriptors/components/rating.descriptor.js +89 -0
- package/dist/content/descriptors/components/scroller.descriptor.d.ts +208 -0
- package/dist/content/descriptors/components/scroller.descriptor.js +91 -0
- package/dist/content/descriptors/components/select/collection.descriptor.d.ts +135 -0
- package/dist/content/descriptors/components/select/collection.descriptor.js +119 -0
- package/dist/content/descriptors/components/select/group.descriptor.d.ts +115 -0
- package/dist/content/descriptors/components/select/group.descriptor.js +21 -0
- package/dist/content/descriptors/components/select/index.d.ts +4 -0
- package/dist/content/descriptors/components/select/item.descriptor.d.ts +210 -0
- package/dist/content/descriptors/components/select/item.descriptor.js +56 -0
- package/dist/content/descriptors/components/select/select.descriptor.d.ts +454 -0
- package/dist/content/descriptors/components/select/select.descriptor.js +267 -0
- package/dist/content/descriptors/components/skeleton.descriptor.d.ts +127 -0
- package/dist/content/descriptors/components/skeleton.descriptor.js +53 -0
- package/dist/content/descriptors/components/slider.descriptor.d.ts +298 -0
- package/dist/content/descriptors/components/slider.descriptor.js +205 -0
- package/dist/content/descriptors/components/stylable.descriptor.d.ts +126 -0
- package/dist/content/descriptors/components/stylable.descriptor.js +52 -0
- package/dist/content/descriptors/components/switch.descriptor.d.ts +217 -0
- package/dist/content/descriptors/components/switch.descriptor.js +53 -0
- package/dist/content/descriptors/components/table/collection.descriptor.d.ts +183 -0
- package/dist/content/descriptors/components/table/collection.descriptor.js +178 -0
- package/dist/content/descriptors/components/table/column.descriptor.d.ts +237 -0
- package/dist/content/descriptors/components/table/column.descriptor.js +173 -0
- package/dist/content/descriptors/components/table/index.d.ts +4 -0
- package/dist/content/descriptors/components/table/row.descriptor.d.ts +166 -0
- package/dist/content/descriptors/components/table/row.descriptor.js +75 -0
- package/dist/content/descriptors/components/table/table.descriptor.d.ts +271 -0
- package/dist/content/descriptors/components/table/table.descriptor.js +164 -0
- package/dist/content/descriptors/components/tabs/collection.descriptor.d.ts +72 -0
- package/dist/content/descriptors/components/tabs/collection.descriptor.js +59 -0
- package/dist/content/descriptors/components/tabs/content.descriptor.d.ts +136 -0
- package/dist/content/descriptors/components/tabs/content.descriptor.js +52 -0
- package/dist/content/descriptors/components/tabs/index.d.ts +4 -0
- package/dist/content/descriptors/components/tabs/item.descriptor.d.ts +213 -0
- package/dist/content/descriptors/components/tabs/item.descriptor.js +67 -0
- package/dist/content/descriptors/components/tabs/tabs.descriptor.d.ts +220 -0
- package/dist/content/descriptors/components/tabs/tabs.descriptor.js +105 -0
- package/dist/content/descriptors/components/tags/collection.descriptor.d.ts +79 -0
- package/dist/content/descriptors/components/tags/collection.descriptor.js +63 -0
- package/dist/content/descriptors/components/tags/index.d.ts +3 -0
- package/dist/content/descriptors/components/tags/item.descriptor.d.ts +216 -0
- package/dist/content/descriptors/components/tags/item.descriptor.js +73 -0
- package/dist/content/descriptors/components/tags/tags.descriptor.d.ts +240 -0
- package/dist/content/descriptors/components/tags/tags.descriptor.js +109 -0
- package/dist/content/descriptors/components/textable.descriptor.d.ts +147 -0
- package/dist/content/descriptors/components/textable.descriptor.js +24 -0
- package/dist/content/descriptors/components/textarea.descriptor.d.ts +249 -0
- package/dist/content/descriptors/components/textarea.descriptor.js +95 -0
- package/dist/content/descriptors/components/toasts/collection.descriptor.d.ts +59 -0
- package/dist/content/descriptors/components/toasts/collection.descriptor.js +39 -0
- package/dist/content/descriptors/components/toasts/index.d.ts +3 -0
- package/dist/content/descriptors/components/toasts/item.descriptor.d.ts +173 -0
- package/dist/content/descriptors/components/toasts/item.descriptor.js +106 -0
- package/dist/content/descriptors/components/toasts/toasts.descriptor.d.ts +167 -0
- package/dist/content/descriptors/components/toasts/toasts.descriptor.js +94 -0
- package/dist/content/descriptors/components/tooltip.descriptor.d.ts +156 -0
- package/dist/content/descriptors/components/tooltip.descriptor.js +83 -0
- package/dist/content/descriptors/components/value-control.descriptor.d.ts +151 -0
- package/dist/content/descriptors/components/value-control.descriptor.js +36 -0
- package/dist/content/descriptors/components/virtual.descriptor.d.ts +55 -0
- package/dist/content/descriptors/components/virtual.descriptor.js +37 -0
- package/dist/content/descriptors/index.d.ts +2 -0
- package/dist/content/descriptors/plugins/accordion-item-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/accordion-item-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/action.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/action.plugin.js +27 -0
- package/dist/content/descriptors/plugins/anchor.plugin.d.ts +47 -0
- package/dist/content/descriptors/plugins/anchor.plugin.js +73 -0
- package/dist/content/descriptors/plugins/aria.plugin.d.ts +34 -0
- package/dist/content/descriptors/plugins/aria.plugin.js +55 -0
- package/dist/content/descriptors/plugins/calendar-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/calendar-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/calendar-keyboard.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/calendar-keyboard.plugin.js +18 -0
- package/dist/content/descriptors/plugins/calendar-names.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/calendar-names.plugin.js +17 -0
- package/dist/content/descriptors/plugins/calendar-pointer.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/calendar-pointer.plugin.js +18 -0
- package/dist/content/descriptors/plugins/clearable-names.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/clearable-names.plugin.js +17 -0
- package/dist/content/descriptors/plugins/collection-bundles.plugin.d.ts +7 -0
- package/dist/content/descriptors/plugins/collection-bundles.plugin.js +14 -0
- package/dist/content/descriptors/plugins/collection-elements.plugin.d.ts +7 -0
- package/dist/content/descriptors/plugins/collection-elements.plugin.js +14 -0
- package/dist/content/descriptors/plugins/date-input-clipboard.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/date-input-clipboard.plugin.js +16 -0
- package/dist/content/descriptors/plugins/date-input-ids.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/date-input-ids.plugin.js +15 -0
- package/dist/content/descriptors/plugins/date-input-keyboard.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/date-input-keyboard.plugin.js +18 -0
- package/dist/content/descriptors/plugins/date-input-pointer.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/date-input-pointer.plugin.js +17 -0
- package/dist/content/descriptors/plugins/date-input-touch.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/date-input-touch.plugin.js +19 -0
- package/dist/content/descriptors/plugins/date-picker-focus.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/date-picker-focus.plugin.js +25 -0
- package/dist/content/descriptors/plugins/date-picker-ids.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/date-picker-ids.plugin.js +17 -0
- package/dist/content/descriptors/plugins/date-picker-names.plugin.d.ts +32 -0
- package/dist/content/descriptors/plugins/date-picker-names.plugin.js +38 -0
- package/dist/content/descriptors/plugins/date-picker-trigger.plugin.d.ts +7 -0
- package/dist/content/descriptors/plugins/date-picker-trigger.plugin.js +20 -0
- package/dist/content/descriptors/plugins/dialog-ids.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/dialog-ids.plugin.js +17 -0
- package/dist/content/descriptors/plugins/dialog-layout.plugin.d.ts +26 -0
- package/dist/content/descriptors/plugins/dialog-layout.plugin.js +34 -0
- package/dist/content/descriptors/plugins/dialog-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/dialog-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/dismiss.plugin.d.ts +34 -0
- package/dist/content/descriptors/plugins/dismiss.plugin.js +51 -0
- package/dist/content/descriptors/plugins/drag.plugin.d.ts +5 -0
- package/dist/content/descriptors/plugins/drag.plugin.js +12 -0
- package/dist/content/descriptors/plugins/drawer-layout.plugin.d.ts +22 -0
- package/dist/content/descriptors/plugins/drawer-layout.plugin.js +28 -0
- package/dist/content/descriptors/plugins/element.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/element.plugin.js +15 -0
- package/dist/content/descriptors/plugins/field-ids.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/field-ids.plugin.js +19 -0
- package/dist/content/descriptors/plugins/frame-layout.plugin.d.ts +14 -0
- package/dist/content/descriptors/plugins/frame-layout.plugin.js +18 -0
- package/dist/content/descriptors/plugins/hide-outside.plugin.d.ts +19 -0
- package/dist/content/descriptors/plugins/hide-outside.plugin.js +29 -0
- package/dist/content/descriptors/plugins/icon-layout.plugin.d.ts +15 -0
- package/dist/content/descriptors/plugins/icon-layout.plugin.js +19 -0
- package/dist/content/descriptors/plugins/id.plugin.d.ts +26 -0
- package/dist/content/descriptors/plugins/id.plugin.js +31 -0
- package/dist/content/descriptors/plugins/index.d.ts +114 -0
- package/dist/content/descriptors/plugins/input-bool.plugin.d.ts +7 -0
- package/dist/content/descriptors/plugins/input-bool.plugin.js +14 -0
- package/dist/content/descriptors/plugins/input-control.plugin.d.ts +7 -0
- package/dist/content/descriptors/plugins/input-control.plugin.js +14 -0
- package/dist/content/descriptors/plugins/input.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/input.plugin.js +16 -0
- package/dist/content/descriptors/plugins/item-group-ids.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/item-group-ids.plugin.js +17 -0
- package/dist/content/descriptors/plugins/label-nested-warn.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/label-nested-warn.plugin.js +15 -0
- package/dist/content/descriptors/plugins/list-height.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/list-height.plugin.js +15 -0
- package/dist/content/descriptors/plugins/list-item.plugin.d.ts +15 -0
- package/dist/content/descriptors/plugins/list-item.plugin.js +19 -0
- package/dist/content/descriptors/plugins/list-keyboard.plugin.d.ts +5 -0
- package/dist/content/descriptors/plugins/list-keyboard.plugin.js +12 -0
- package/dist/content/descriptors/plugins/list-scroll.plugin.d.ts +16 -0
- package/dist/content/descriptors/plugins/list-scroll.plugin.js +23 -0
- package/dist/content/descriptors/plugins/locale.plugin.d.ts +13 -0
- package/dist/content/descriptors/plugins/locale.plugin.js +20 -0
- package/dist/content/descriptors/plugins/menu-focus.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/menu-focus.plugin.js +18 -0
- package/dist/content/descriptors/plugins/menu-hover.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/menu-hover.plugin.js +19 -0
- package/dist/content/descriptors/plugins/menu-ids.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/menu-ids.plugin.js +17 -0
- package/dist/content/descriptors/plugins/menu-keyboard.plugin.d.ts +15 -0
- package/dist/content/descriptors/plugins/menu-keyboard.plugin.js +22 -0
- package/dist/content/descriptors/plugins/menu-pointer.plugin.d.ts +13 -0
- package/dist/content/descriptors/plugins/menu-pointer.plugin.js +20 -0
- package/dist/content/descriptors/plugins/menu-popover-item-focus.plugin.d.ts +15 -0
- package/dist/content/descriptors/plugins/menu-popover-item-focus.plugin.js +22 -0
- package/dist/content/descriptors/plugins/menu-popover-item-keyboard.plugin.d.ts +13 -0
- package/dist/content/descriptors/plugins/menu-popover-item-keyboard.plugin.js +20 -0
- package/dist/content/descriptors/plugins/menu-popup-ids.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/menu-popup-ids.plugin.js +17 -0
- package/dist/content/descriptors/plugins/menu-submenu-focus.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/menu-submenu-focus.plugin.js +19 -0
- package/dist/content/descriptors/plugins/menu-submenu-keyboard.plugin.d.ts +15 -0
- package/dist/content/descriptors/plugins/menu-submenu-keyboard.plugin.js +22 -0
- package/dist/content/descriptors/plugins/modal-focus.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/modal-focus.plugin.js +24 -0
- package/dist/content/descriptors/plugins/modal-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/modal-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/modal-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/modal-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/number-input-keyboard.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/number-input-keyboard.plugin.js +17 -0
- package/dist/content/descriptors/plugins/number-input-names.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/number-input-names.plugin.js +17 -0
- package/dist/content/descriptors/plugins/number-input-stepper.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/number-input-stepper.plugin.js +19 -0
- package/dist/content/descriptors/plugins/number-input-touch.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/number-input-touch.plugin.js +17 -0
- package/dist/content/descriptors/plugins/number-input-typing.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/number-input-typing.plugin.js +18 -0
- package/dist/content/descriptors/plugins/option-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/option-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/pagination-focus.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/pagination-focus.plugin.js +17 -0
- package/dist/content/descriptors/plugins/pagination-names.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/pagination-names.plugin.js +17 -0
- package/dist/content/descriptors/plugins/popover-focus.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/popover-focus.plugin.js +23 -0
- package/dist/content/descriptors/plugins/popover-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/popover-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/popover-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/popover-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/popover-pointer.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/popover-pointer.plugin.js +21 -0
- package/dist/content/descriptors/plugins/radio-group-checked.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/radio-group-checked.plugin.js +16 -0
- package/dist/content/descriptors/plugins/radio-group-name.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/radio-group-name.plugin.js +16 -0
- package/dist/content/descriptors/plugins/rating-hover.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/rating-hover.plugin.js +17 -0
- package/dist/content/descriptors/plugins/rating-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/rating-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/rating-validity.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/rating-validity.plugin.js +17 -0
- package/dist/content/descriptors/plugins/ready.plugin.d.ts +7 -0
- package/dist/content/descriptors/plugins/ready.plugin.js +14 -0
- package/dist/content/descriptors/plugins/scroll-lock.plugin.d.ts +18 -0
- package/dist/content/descriptors/plugins/scroll-lock.plugin.js +29 -0
- package/dist/content/descriptors/plugins/scroller-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/scroller-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/scroller-viewport.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/scroller-viewport.plugin.js +16 -0
- package/dist/content/descriptors/plugins/select-backspace.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/select-backspace.plugin.js +25 -0
- package/dist/content/descriptors/plugins/select-editable.plugin.d.ts +18 -0
- package/dist/content/descriptors/plugins/select-editable.plugin.js +31 -0
- package/dist/content/descriptors/plugins/select-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/select-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/select-keyboard.plugin.d.ts +21 -0
- package/dist/content/descriptors/plugins/select-keyboard.plugin.js +33 -0
- package/dist/content/descriptors/plugins/select-pointer.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/select-pointer.plugin.js +24 -0
- package/dist/content/descriptors/plugins/skeleton-layout.plugin.d.ts +14 -0
- package/dist/content/descriptors/plugins/skeleton-layout.plugin.js +18 -0
- package/dist/content/descriptors/plugins/slide-keyboard.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/slide-keyboard.plugin.js +16 -0
- package/dist/content/descriptors/plugins/slide-pointer.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/slide-pointer.plugin.js +19 -0
- package/dist/content/descriptors/plugins/swipe.plugin.d.ts +13 -0
- package/dist/content/descriptors/plugins/swipe.plugin.js +20 -0
- package/dist/content/descriptors/plugins/table-column-ids.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/table-column-ids.plugin.js +17 -0
- package/dist/content/descriptors/plugins/table-column-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/table-column-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/table-column-reorder.plugin.d.ts +13 -0
- package/dist/content/descriptors/plugins/table-column-reorder.plugin.js +20 -0
- package/dist/content/descriptors/plugins/table-column-resize.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/table-column-resize.plugin.js +19 -0
- package/dist/content/descriptors/plugins/table-grid.plugin.d.ts +15 -0
- package/dist/content/descriptors/plugins/table-grid.plugin.js +22 -0
- package/dist/content/descriptors/plugins/table-layout.plugin.d.ts +12 -0
- package/dist/content/descriptors/plugins/table-layout.plugin.js +19 -0
- package/dist/content/descriptors/plugins/table-names.plugin.d.ts +16 -0
- package/dist/content/descriptors/plugins/table-names.plugin.js +20 -0
- package/dist/content/descriptors/plugins/table-row-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/table-row-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/tabs-active-tab.plugin.d.ts +5 -0
- package/dist/content/descriptors/plugins/tabs-active-tab.plugin.js +12 -0
- package/dist/content/descriptors/plugins/tabs-content-warn.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/tabs-content-warn.plugin.js +15 -0
- package/dist/content/descriptors/plugins/tabs-item-ids.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/tabs-item-ids.plugin.js +15 -0
- package/dist/content/descriptors/plugins/tabs-item-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/tabs-item-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/tabs-keyboard.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/tabs-keyboard.plugin.js +15 -0
- package/dist/content/descriptors/plugins/tabs-layout.plugin.d.ts +5 -0
- package/dist/content/descriptors/plugins/tabs-layout.plugin.js +12 -0
- package/dist/content/descriptors/plugins/tags-item-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/tags-item-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/tags-keyboard.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/tags-keyboard.plugin.js +16 -0
- package/dist/content/descriptors/plugins/tags-scroll.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/tags-scroll.plugin.js +17 -0
- package/dist/content/descriptors/plugins/textarea-autoresize.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/textarea-autoresize.plugin.js +17 -0
- package/dist/content/descriptors/plugins/textarea-ids.plugin.d.ts +11 -0
- package/dist/content/descriptors/plugins/textarea-ids.plugin.js +18 -0
- package/dist/content/descriptors/plugins/textarea-names.plugin.d.ts +17 -0
- package/dist/content/descriptors/plugins/textarea-names.plugin.js +21 -0
- package/dist/content/descriptors/plugins/toasts-cascade.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/toasts-cascade.plugin.js +17 -0
- package/dist/content/descriptors/plugins/toasts-item-names.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/toasts-item-names.plugin.js +16 -0
- package/dist/content/descriptors/plugins/toasts-keyboard.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/toasts-keyboard.plugin.js +16 -0
- package/dist/content/descriptors/plugins/toasts-layout.plugin.d.ts +16 -0
- package/dist/content/descriptors/plugins/toasts-layout.plugin.js +20 -0
- package/dist/content/descriptors/plugins/toasts-names.plugin.d.ts +8 -0
- package/dist/content/descriptors/plugins/toasts-names.plugin.js +15 -0
- package/dist/content/descriptors/plugins/toasts-removal.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/toasts-removal.plugin.js +16 -0
- package/dist/content/descriptors/plugins/toasts-timer.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/toasts-timer.plugin.js +16 -0
- package/dist/content/descriptors/plugins/tooltip-ids.plugin.d.ts +9 -0
- package/dist/content/descriptors/plugins/tooltip-ids.plugin.js +16 -0
- package/dist/content/descriptors/plugins/tooltip-trigger.plugin.d.ts +10 -0
- package/dist/content/descriptors/plugins/tooltip-trigger.plugin.js +23 -0
- package/dist/content/extensions/collection/collection-item.extension.class.d.ts +64 -0
- package/dist/content/extensions/collection/collection-item.extension.class.js +111 -0
- package/dist/content/extensions/collection/collection.extension.class.d.ts +21 -0
- package/dist/content/extensions/collection/collection.extension.class.js +57 -0
- package/dist/content/extensions/collection/index.d.ts +3 -0
- package/dist/content/extensions/collection/item-props.d.ts +13 -0
- package/dist/content/extensions/collection/item-props.js +20 -0
- package/dist/content/extensions/collection/keys.d.ts +23 -0
- package/dist/content/extensions/collection/keys.js +17 -0
- package/dist/content/extensions/collection/members.class.d.ts +24 -0
- package/dist/content/extensions/collection/members.class.js +18 -0
- package/dist/content/extensions/collection/types.d.ts +41 -0
- package/dist/content/extensions/drag-and-drop/drag-and-drop-collection.extension.class.d.ts +26 -0
- package/dist/content/extensions/drag-and-drop/drag-and-drop-collection.extension.class.js +34 -0
- package/dist/content/extensions/drag-and-drop/drag-and-drop.extension.class.d.ts +21 -0
- package/dist/content/extensions/drag-and-drop/drag-and-drop.extension.class.js +9 -0
- package/dist/content/extensions/drag-and-drop/index.d.ts +3 -0
- package/dist/content/extensions/drag-and-drop/keys.d.ts +15 -0
- package/dist/content/extensions/drag-and-drop/keys.js +9 -0
- package/dist/content/extensions/drag-and-drop/types.d.ts +10 -0
- package/dist/content/extensions/field/field-control.extension.class.d.ts +63 -0
- package/dist/content/extensions/field/field-control.extension.class.js +172 -0
- package/dist/content/extensions/field/field.extension.class.d.ts +21 -0
- package/dist/content/extensions/field/field.extension.class.js +14 -0
- package/dist/content/extensions/field/index.d.ts +3 -0
- package/dist/content/extensions/field/keys.d.ts +14 -0
- package/dist/content/extensions/field/keys.js +8 -0
- package/dist/content/extensions/field/types.d.ts +36 -0
- package/dist/content/extensions/index.d.ts +8 -0
- package/dist/content/extensions/item-group/index.d.ts +2 -0
- package/dist/content/extensions/item-group/item-group.extension.class.d.ts +49 -0
- package/dist/content/extensions/item-group/item-group.extension.class.js +91 -0
- package/dist/content/extensions/item-group/keys.d.ts +15 -0
- package/dist/content/extensions/item-group/keys.js +9 -0
- package/dist/content/extensions/item-group/types.d.ts +34 -0
- package/dist/content/extensions/menu/index.d.ts +3 -0
- package/dist/content/extensions/menu/keys.d.ts +10 -0
- package/dist/content/extensions/menu/keys.js +5 -0
- package/dist/content/extensions/menu/radio-group.extension.class.d.ts +22 -0
- package/dist/content/extensions/menu/radio-group.extension.class.js +9 -0
- package/dist/content/extensions/menu/radio-item.extension.class.d.ts +20 -0
- package/dist/content/extensions/menu/radio-item.extension.class.js +10 -0
- package/dist/content/extensions/menu/types.d.ts +10 -0
- package/dist/content/extensions/tabs/index.d.ts +2 -0
- package/dist/content/extensions/tabs/tabs-content-binding.extension.class.d.ts +69 -0
- package/dist/content/extensions/tabs/tabs-content-binding.extension.class.js +184 -0
- package/dist/content/extensions/tabs/types.d.ts +11 -0
- package/dist/content/extensions/toasts/index.d.ts +3 -0
- package/dist/content/extensions/toasts/keys.d.ts +11 -0
- package/dist/content/extensions/toasts/keys.js +5 -0
- package/dist/content/extensions/toasts/toasts-api.extension.class.d.ts +23 -0
- package/dist/content/extensions/toasts/toasts-api.extension.class.js +9 -0
- package/dist/content/extensions/toasts/types.d.ts +19 -0
- package/dist/content/extensions/virtual/index.d.ts +3 -0
- package/dist/content/extensions/virtual/keys.d.ts +15 -0
- package/dist/content/extensions/virtual/keys.js +8 -0
- package/dist/content/extensions/virtual/types.d.ts +40 -0
- package/dist/content/extensions/virtual/virtual-collection.extension.class.d.ts +33 -0
- package/dist/content/extensions/virtual/virtual-collection.extension.class.js +15 -0
- package/dist/content/extensions/virtual/virtual.extension.class.d.ts +36 -0
- package/dist/content/extensions/virtual/virtual.extension.class.js +74 -0
- package/dist/content/icons/index.d.ts +2 -0
- package/dist/content/icons/roles.d.ts +29 -0
- package/dist/content/icons/roles.js +36 -0
- package/dist/content/index.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +236 -0
- package/dist/protected/adapter/common/index.d.ts +6 -0
- package/dist/protected/adapter/common/parts.d.ts +30 -0
- package/dist/protected/adapter/common/parts.js +35 -0
- package/dist/protected/adapter/common/props.types.d.ts +48 -0
- package/dist/protected/adapter/common/slots.d.ts +25 -0
- package/dist/protected/adapter/common/slots.js +25 -0
- package/dist/protected/adapter/common/slots.types.d.ts +37 -0
- package/dist/protected/adapter/common/state.d.ts +14 -0
- package/dist/protected/adapter/common/state.js +14 -0
- package/dist/protected/adapter/common/state.types.d.ts +39 -0
- package/dist/protected/adapter/context/adapter-context.class.d.ts +68 -0
- package/dist/protected/adapter/context/adapter-context.class.js +118 -0
- package/dist/protected/adapter/context/create-adapter-context.d.ts +34 -0
- package/dist/protected/adapter/context/create-adapter-context.js +91 -0
- package/dist/protected/adapter/context/external-plugins.class.d.ts +51 -0
- package/dist/protected/adapter/context/external-plugins.class.js +80 -0
- package/dist/protected/adapter/context/index.d.ts +2 -0
- package/dist/protected/adapter/context/own-bundle.class.d.ts +25 -0
- package/dist/protected/adapter/context/own-bundle.class.js +86 -0
- package/dist/protected/adapter/context/shared-bundle.class.d.ts +25 -0
- package/dist/protected/adapter/context/shared-bundle.class.js +24 -0
- package/dist/protected/adapter/context/types.d.ts +184 -0
- package/dist/protected/adapter/elevator/elevator.class.d.ts +21 -0
- package/dist/protected/adapter/elevator/elevator.class.js +19 -0
- package/dist/protected/adapter/elevator/index.d.ts +3 -0
- package/dist/protected/adapter/elevator/keys.d.ts +12 -0
- package/dist/protected/adapter/elevator/keys.js +7 -0
- package/dist/protected/adapter/elevator/types.d.ts +31 -0
- package/dist/protected/adapter/exchange/assembling.class.d.ts +39 -0
- package/dist/protected/adapter/exchange/assembling.class.js +55 -0
- package/dist/protected/adapter/exchange/cell.class.d.ts +31 -0
- package/dist/protected/adapter/exchange/cell.class.js +37 -0
- package/dist/protected/adapter/exchange/event-relay.class.d.ts +29 -0
- package/dist/protected/adapter/exchange/event-relay.class.js +53 -0
- package/dist/protected/adapter/exchange/exchange.class.d.ts +78 -0
- package/dist/protected/adapter/exchange/exchange.class.js +129 -0
- package/dist/protected/adapter/exchange/index.d.ts +8 -0
- package/dist/protected/adapter/exchange/input-port.class.d.ts +64 -0
- package/dist/protected/adapter/exchange/input-port.class.js +68 -0
- package/dist/protected/adapter/exchange/line.class.d.ts +53 -0
- package/dist/protected/adapter/exchange/line.class.js +39 -0
- package/dist/protected/adapter/exchange/member.class.d.ts +20 -0
- package/dist/protected/adapter/exchange/member.class.js +11 -0
- package/dist/protected/adapter/exchange/routing.class.d.ts +25 -0
- package/dist/protected/adapter/exchange/routing.class.js +94 -0
- package/dist/protected/adapter/exchange/state-store.class.d.ts +57 -0
- package/dist/protected/adapter/exchange/state-store.class.js +76 -0
- package/dist/protected/adapter/exchange/tap.class.d.ts +54 -0
- package/dist/protected/adapter/exchange/tap.class.js +51 -0
- package/dist/protected/adapter/exchange/types.d.ts +55 -0
- package/dist/protected/adapter/exchange/update-port.class.d.ts +25 -0
- package/dist/protected/adapter/exchange/update-port.class.js +26 -0
- package/dist/protected/adapter/exchange/value.d.ts +17 -0
- package/dist/protected/adapter/exchange/value.js +31 -0
- package/dist/protected/adapter/index.d.ts +5 -0
- package/dist/protected/adapter/surface/index.d.ts +2 -0
- package/dist/protected/adapter/surface/surface.class.d.ts +34 -0
- package/dist/protected/adapter/surface/surface.class.js +87 -0
- package/dist/protected/adapter/surface/types.d.ts +29 -0
- package/dist/protected/define/component-descriptor.class.d.ts +55 -0
- package/dist/protected/define/component-descriptor.class.js +112 -0
- package/dist/protected/define/component.d.ts +14 -0
- package/dist/protected/define/component.js +12 -0
- package/dist/protected/define/contribution.d.ts +20 -0
- package/dist/protected/define/contribution.js +18 -0
- package/dist/protected/define/contribution.types.d.ts +66 -0
- package/dist/protected/define/descriptor.d.ts +21 -0
- package/dist/protected/define/descriptor.js +27 -0
- package/dist/protected/define/index.d.ts +11 -0
- package/dist/protected/define/inference.types.d.ts +247 -0
- package/dist/protected/define/inherit.d.ts +21 -0
- package/dist/protected/define/inherit.js +11 -0
- package/dist/protected/define/name.class.d.ts +21 -0
- package/dist/protected/define/name.class.js +31 -0
- package/dist/protected/define/plugin-definition.class.d.ts +45 -0
- package/dist/protected/define/plugin-definition.class.js +49 -0
- package/dist/protected/define/plugin.d.ts +18 -0
- package/dist/protected/define/plugin.js +20 -0
- package/dist/protected/define/prop-spec.class.d.ts +70 -0
- package/dist/protected/define/prop-spec.class.js +79 -0
- package/dist/protected/define/prop-type.d.ts +12 -0
- package/dist/protected/define/prop-type.js +6 -0
- package/dist/protected/define/slot-declaration.class.d.ts +20 -0
- package/dist/protected/define/slot-declaration.class.js +14 -0
- package/dist/protected/define/types.d.ts +235 -0
- package/dist/protected/index.d.ts +4 -0
- package/dist/protected/naming/common-profile.d.ts +10 -0
- package/dist/protected/naming/common-profile.js +16 -0
- package/dist/protected/naming/index.d.ts +4 -0
- package/dist/protected/naming/naming.d.ts +33 -0
- package/dist/protected/naming/naming.js +34 -0
- package/dist/protected/naming/naming.types.d.ts +49 -0
- package/dist/protected/naming/strategy.types.d.ts +27 -0
- package/dist/protected/registry/extensions.d.ts +29 -0
- package/dist/protected/registry/extensions.js +28 -0
- package/dist/protected/registry/icons.d.ts +44 -0
- package/dist/protected/registry/icons.js +59 -0
- package/dist/protected/registry/index.d.ts +5 -0
- package/dist/protected/registry/plugins.d.ts +40 -0
- package/dist/protected/registry/plugins.js +29 -0
- package/dist/protected/registry/registrations.d.ts +15 -0
- package/dist/protected/registry/registrations.js +30 -0
- package/dist/protected/registry/theme.d.ts +29 -0
- package/dist/protected/registry/theme.js +40 -0
- package/dist/protected/registry/types.d.ts +85 -0
- package/package.json +44 -4
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Дескриптор Scroller (TScroller) — лента произвольного содержимого в одну
|
|
3
|
+
* строку, которую двигают две кнопки.
|
|
4
|
+
*
|
|
5
|
+
* Наследует ControlDescriptor (size, variant, disabled, focused, наборы,
|
|
6
|
+
* плагины element/ready/action/aria) и добавляет атрибуты вьюпорта от
|
|
7
|
+
* потребителя, выходы для разметки, плагин вьюпорта и плагин имён кнопок
|
|
8
|
+
* от локали.
|
|
9
|
+
*/
|
|
10
|
+
import { TScroller } from '@soxa-ui/core';
|
|
11
|
+
export declare const ScrollerDescriptor: () => import("../../..").IComponentDescriptor<import("../../../protected/define/inference.types").TContractFrom<{
|
|
12
|
+
readonly ctor: typeof TScroller;
|
|
13
|
+
readonly extends: import("../../..").IComponentDescriptor<import("../../../protected/define/inference.types").TContractFrom<{
|
|
14
|
+
readonly ctor: typeof import("@soxa-ui/core").TControl;
|
|
15
|
+
readonly extends: import("../../..").IComponentDescriptor<import("../../../protected/define/inference.types").TContractFrom<{
|
|
16
|
+
readonly ctor: typeof import("@soxa-ui/core").TStylable;
|
|
17
|
+
readonly extends: import("../../..").IComponentDescriptor<import("../../../protected/define/inference.types").TContractFrom<{
|
|
18
|
+
readonly ctor: typeof import("@soxa-ui/core").TComponentView;
|
|
19
|
+
readonly extends: import("../../..").IComponentDescriptor<import("../../../protected/define/inference.types").TContractFrom<{
|
|
20
|
+
readonly ctor: typeof import("@soxa-ui/core").TComponent;
|
|
21
|
+
readonly extends: import("../../..").IComponentDescriptor<import("../../../protected/define/inference.types").TContractFrom<{
|
|
22
|
+
readonly contribution: {
|
|
23
|
+
readonly props: {
|
|
24
|
+
readonly ctrl: {
|
|
25
|
+
readonly type: ObjectConstructor;
|
|
26
|
+
};
|
|
27
|
+
readonly embedded: {
|
|
28
|
+
readonly type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
readonly pluginProps: {
|
|
31
|
+
readonly type: ObjectConstructor;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
readonly events: readonly ["bundle:create", "plugin:event"];
|
|
35
|
+
};
|
|
36
|
+
}>>;
|
|
37
|
+
readonly contribution: {};
|
|
38
|
+
}>>;
|
|
39
|
+
readonly contribution: {
|
|
40
|
+
readonly slots: {
|
|
41
|
+
readonly default: {
|
|
42
|
+
readonly description: "Содержимое компонента";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
readonly props: {
|
|
46
|
+
readonly rendered: {
|
|
47
|
+
readonly type: BooleanConstructor;
|
|
48
|
+
readonly triggers: readonly ["change:rendered"];
|
|
49
|
+
};
|
|
50
|
+
readonly visible: {
|
|
51
|
+
readonly type: BooleanConstructor;
|
|
52
|
+
readonly triggers: readonly ["change:visible"];
|
|
53
|
+
};
|
|
54
|
+
readonly present: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly protected: true;
|
|
57
|
+
readonly triggers: readonly ["change:rendered", "change:visible"];
|
|
58
|
+
};
|
|
59
|
+
readonly tag: {
|
|
60
|
+
readonly type: readonly [StringConstructor, ObjectConstructor];
|
|
61
|
+
readonly triggers: readonly ["change:tag"];
|
|
62
|
+
};
|
|
63
|
+
readonly direction: {
|
|
64
|
+
readonly type: StringConstructor;
|
|
65
|
+
readonly triggers: readonly ["change:direction"];
|
|
66
|
+
};
|
|
67
|
+
readonly classes: {
|
|
68
|
+
readonly type: ObjectConstructor;
|
|
69
|
+
readonly protected: true;
|
|
70
|
+
readonly triggers: readonly ["change:classes"];
|
|
71
|
+
};
|
|
72
|
+
readonly aria: {
|
|
73
|
+
readonly type: ObjectConstructor;
|
|
74
|
+
readonly protected: true;
|
|
75
|
+
readonly triggers: readonly ["change:aria"];
|
|
76
|
+
};
|
|
77
|
+
readonly dataset: {
|
|
78
|
+
readonly type: ObjectConstructor;
|
|
79
|
+
readonly protected: true;
|
|
80
|
+
readonly triggers: readonly ["change:dataset"];
|
|
81
|
+
};
|
|
82
|
+
readonly attrs: {
|
|
83
|
+
readonly type: ObjectConstructor;
|
|
84
|
+
readonly protected: true;
|
|
85
|
+
readonly triggers: readonly ["change:attrs"];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
readonly events: readonly ["show", "hide", "show:before", "hide:before", "ready", "change:rendered", "change:visible", "change:tag", "change:direction"];
|
|
89
|
+
};
|
|
90
|
+
readonly plugins: readonly [import("../../..").IPluginDefinition<import("../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TElementPlugin, "element", {
|
|
91
|
+
readonly events: readonly ["ready", "removed"];
|
|
92
|
+
}>>, import("../../..").IPluginDefinition<import("../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TReadyPlugin, "ready", import("../../..").IContribution>>];
|
|
93
|
+
}>>;
|
|
94
|
+
readonly contribution: {
|
|
95
|
+
readonly props: {
|
|
96
|
+
readonly size: {
|
|
97
|
+
readonly type: StringConstructor;
|
|
98
|
+
readonly triggers: readonly ["change:size"];
|
|
99
|
+
};
|
|
100
|
+
readonly variant: {
|
|
101
|
+
readonly type: StringConstructor;
|
|
102
|
+
readonly triggers: readonly ["change:variant"];
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
readonly events: readonly ["change:size", "change:variant"];
|
|
106
|
+
};
|
|
107
|
+
}>>;
|
|
108
|
+
readonly contribution: {
|
|
109
|
+
readonly props: {
|
|
110
|
+
readonly disabled: {
|
|
111
|
+
readonly type: BooleanConstructor;
|
|
112
|
+
readonly triggers: readonly ["change:disabled"];
|
|
113
|
+
};
|
|
114
|
+
readonly focused: {
|
|
115
|
+
readonly type: BooleanConstructor;
|
|
116
|
+
readonly triggers: readonly ["change:focused"];
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly events: readonly ["change:disabled", "change:focused"];
|
|
120
|
+
};
|
|
121
|
+
readonly plugins: readonly [import("../../..").IPluginDefinition<import("../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TActionPlugin, "action", {
|
|
122
|
+
readonly events: readonly ["press", "click", "focus", "blur"];
|
|
123
|
+
}>>, import("../../..").IPluginDefinition<import("../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TAriaPlugin, "aria", {
|
|
124
|
+
readonly props: {
|
|
125
|
+
readonly label: {
|
|
126
|
+
readonly type: StringConstructor;
|
|
127
|
+
readonly triggers: readonly ["change:label"];
|
|
128
|
+
};
|
|
129
|
+
readonly labelledBy: {
|
|
130
|
+
readonly type: StringConstructor;
|
|
131
|
+
readonly triggers: readonly ["change:labelledBy"];
|
|
132
|
+
};
|
|
133
|
+
readonly describedBy: {
|
|
134
|
+
readonly type: StringConstructor;
|
|
135
|
+
readonly triggers: readonly ["change:describedBy"];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
readonly events: readonly ["change:label", "change:labelledBy", "change:describedBy"];
|
|
139
|
+
}>>];
|
|
140
|
+
}>>;
|
|
141
|
+
readonly contribution: {
|
|
142
|
+
/**
|
|
143
|
+
* Содержимое — слот, а не коллекция: лента не владеет тем, что
|
|
144
|
+
* листает. У первого потребителя набор тегов уже есть, и второй был
|
|
145
|
+
* бы вторым путём к тем же данным.
|
|
146
|
+
*/
|
|
147
|
+
readonly slots: {
|
|
148
|
+
readonly default: {
|
|
149
|
+
readonly description: "Содержимое ленты: лежит прямо во вьюпорте";
|
|
150
|
+
};
|
|
151
|
+
readonly 'prev-icon': {
|
|
152
|
+
readonly description: "Значок кнопки «назад»";
|
|
153
|
+
};
|
|
154
|
+
readonly 'next-icon': {
|
|
155
|
+
readonly description: "Значок кнопки «вперёд»";
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
readonly props: {
|
|
159
|
+
/**
|
|
160
|
+
* Роль ряда и всё, что к ней прилагается, приходит от
|
|
161
|
+
* потребителя: своего экземпляра у вьюпорта нет, а кнопкам
|
|
162
|
+
* внутри `role="listbox"` места нет — отсюда и проп.
|
|
163
|
+
*/
|
|
164
|
+
readonly viewportAria: {
|
|
165
|
+
readonly type: ObjectConstructor;
|
|
166
|
+
readonly triggers: readonly ["change:viewportAria"];
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Наборы кнопок: своего экземпляра у кнопок нет, и наборы держит
|
|
170
|
+
* лента. Имена в них пишет `TScrollerNamesPlugin`.
|
|
171
|
+
*/
|
|
172
|
+
readonly prevAria: {
|
|
173
|
+
readonly type: ObjectConstructor;
|
|
174
|
+
readonly protected: true;
|
|
175
|
+
readonly triggers: readonly ["change:prevAria"];
|
|
176
|
+
};
|
|
177
|
+
readonly nextAria: {
|
|
178
|
+
readonly type: ObjectConstructor;
|
|
179
|
+
readonly protected: true;
|
|
180
|
+
readonly triggers: readonly ["change:nextAria"];
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Выключенность кнопок считает ядро: «выключена лента **или**
|
|
184
|
+
* упёрлись в край» — одно правило, а не условие в шести
|
|
185
|
+
* разметках.
|
|
186
|
+
*/
|
|
187
|
+
readonly prevDisabled: {
|
|
188
|
+
readonly type: BooleanConstructor;
|
|
189
|
+
readonly protected: true;
|
|
190
|
+
readonly triggers: readonly ["change:canPrev", "change:disabled"];
|
|
191
|
+
};
|
|
192
|
+
readonly nextDisabled: {
|
|
193
|
+
readonly type: BooleanConstructor;
|
|
194
|
+
readonly protected: true;
|
|
195
|
+
readonly triggers: readonly ["change:canNext", "change:disabled"];
|
|
196
|
+
};
|
|
197
|
+
/** `tabindex` вьюпорта: `0`, когда листать есть куда, а своих остановок нет. */
|
|
198
|
+
readonly viewportTabIndex: {
|
|
199
|
+
readonly type: NumberConstructor;
|
|
200
|
+
readonly protected: true;
|
|
201
|
+
readonly triggers: readonly ["change:canPrev", "change:canNext", "change:hasTabStops"];
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
readonly plugins: readonly [import("../../..").IPluginDefinition<import("../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TActionPlugin, "action", {
|
|
206
|
+
readonly events: readonly ["press", "click", "focus", "blur"];
|
|
207
|
+
}>>, import("../../..").IPluginDefinition<import("../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TScrollerViewportPlugin, "viewport", import("../../..").IContribution>>, import("../../..").IPluginDefinition<import("../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TScrollerNamesPlugin, "names", import("../../..").IContribution>>];
|
|
208
|
+
}>>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent } from "../../../protected/define/component.js";
|
|
2
|
+
import { defineDescriptor } from "../../../protected/define/descriptor.js";
|
|
3
|
+
import { ActionPluginDescriptor } from "../plugins/action.plugin.js";
|
|
4
|
+
import { ScrollerViewportPluginDescriptor } from "../plugins/scroller-viewport.plugin.js";
|
|
5
|
+
import { ScrollerNamesPluginDescriptor } from "../plugins/scroller-names.plugin.js";
|
|
6
|
+
import { ControlDescriptor } from "./control.descriptor.js";
|
|
7
|
+
import { TScroller } from "@soxa-ui/core";
|
|
8
|
+
import { viewportStopOf } from "@soxa-ui/plugins";
|
|
9
|
+
//#region content/descriptors/components/scroller.descriptor.ts
|
|
10
|
+
/**
|
|
11
|
+
* Дескриптор Scroller (TScroller) — лента произвольного содержимого в одну
|
|
12
|
+
* строку, которую двигают две кнопки.
|
|
13
|
+
*
|
|
14
|
+
* Наследует ControlDescriptor (size, variant, disabled, focused, наборы,
|
|
15
|
+
* плагины element/ready/action/aria) и добавляет атрибуты вьюпорта от
|
|
16
|
+
* потребителя, выходы для разметки, плагин вьюпорта и плагин имён кнопок
|
|
17
|
+
* от локали.
|
|
18
|
+
*/
|
|
19
|
+
var ScrollerDescriptor = defineDescriptor(() => defineComponent({
|
|
20
|
+
ctor: TScroller,
|
|
21
|
+
extends: ControlDescriptor(),
|
|
22
|
+
contribution: {
|
|
23
|
+
/**
|
|
24
|
+
* Содержимое — слот, а не коллекция: лента не владеет тем, что
|
|
25
|
+
* листает. У первого потребителя набор тегов уже есть, и второй был
|
|
26
|
+
* бы вторым путём к тем же данным.
|
|
27
|
+
*/
|
|
28
|
+
slots: {
|
|
29
|
+
default: { description: "Содержимое ленты: лежит прямо во вьюпорте" },
|
|
30
|
+
"prev-icon": { description: "Значок кнопки «назад»" },
|
|
31
|
+
"next-icon": { description: "Значок кнопки «вперёд»" }
|
|
32
|
+
},
|
|
33
|
+
props: {
|
|
34
|
+
/**
|
|
35
|
+
* Роль ряда и всё, что к ней прилагается, приходит от
|
|
36
|
+
* потребителя: своего экземпляра у вьюпорта нет, а кнопкам
|
|
37
|
+
* внутри `role="listbox"` места нет — отсюда и проп.
|
|
38
|
+
*/
|
|
39
|
+
viewportAria: {
|
|
40
|
+
type: Object,
|
|
41
|
+
triggers: ["change:viewportAria"]
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* Наборы кнопок: своего экземпляра у кнопок нет, и наборы держит
|
|
45
|
+
* лента. Имена в них пишет `TScrollerNamesPlugin`.
|
|
46
|
+
*/
|
|
47
|
+
prevAria: {
|
|
48
|
+
type: Object,
|
|
49
|
+
protected: true,
|
|
50
|
+
triggers: ["change:prevAria"]
|
|
51
|
+
},
|
|
52
|
+
nextAria: {
|
|
53
|
+
type: Object,
|
|
54
|
+
protected: true,
|
|
55
|
+
triggers: ["change:nextAria"]
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* Выключенность кнопок считает ядро: «выключена лента **или**
|
|
59
|
+
* упёрлись в край» — одно правило, а не условие в шести
|
|
60
|
+
* разметках.
|
|
61
|
+
*/
|
|
62
|
+
prevDisabled: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
protected: true,
|
|
65
|
+
triggers: ["change:canPrev", "change:disabled"]
|
|
66
|
+
},
|
|
67
|
+
nextDisabled: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
protected: true,
|
|
70
|
+
triggers: ["change:canNext", "change:disabled"]
|
|
71
|
+
},
|
|
72
|
+
/** `tabindex` вьюпорта: `0`, когда листать есть куда, а своих остановок нет. */
|
|
73
|
+
viewportTabIndex: {
|
|
74
|
+
type: Number,
|
|
75
|
+
protected: true,
|
|
76
|
+
triggers: [
|
|
77
|
+
"change:canPrev",
|
|
78
|
+
"change:canNext",
|
|
79
|
+
"change:hasTabStops"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
plugins: [
|
|
85
|
+
ActionPluginDescriptor.with({ focusTarget: viewportStopOf }),
|
|
86
|
+
ScrollerViewportPluginDescriptor,
|
|
87
|
+
ScrollerNamesPluginDescriptor
|
|
88
|
+
]
|
|
89
|
+
}));
|
|
90
|
+
//#endregion
|
|
91
|
+
export { ScrollerDescriptor };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Дескрипторы коллекционной части Select — фасады владельца и опции.
|
|
3
|
+
*
|
|
4
|
+
* Членство в коллекции отделено от собственных пропсов компонента
|
|
5
|
+
* (`SelectDescriptor`, `SelectItemDescriptor`): адаптер собирает компонент из
|
|
6
|
+
* обоих рантайм-списков.
|
|
7
|
+
*/
|
|
8
|
+
import { TSelectCollectionFacade, TSelectItemCollectionFacade } from '@soxa-ui/core';
|
|
9
|
+
export declare const SelectCollectionDescriptor: () => import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
10
|
+
readonly ctor: typeof TSelectCollectionFacade;
|
|
11
|
+
readonly extends: import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
12
|
+
readonly contribution: {
|
|
13
|
+
readonly props: {
|
|
14
|
+
readonly engine: {
|
|
15
|
+
readonly type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
readonly items: {
|
|
18
|
+
readonly type: ArrayConstructor;
|
|
19
|
+
readonly triggers: readonly ["change:items"];
|
|
20
|
+
};
|
|
21
|
+
readonly shown: {
|
|
22
|
+
readonly type: ArrayConstructor;
|
|
23
|
+
readonly protected: true;
|
|
24
|
+
readonly triggers: readonly ["change:shown"];
|
|
25
|
+
};
|
|
26
|
+
readonly trackBy: {
|
|
27
|
+
readonly type: FunctionConstructor;
|
|
28
|
+
readonly triggers: readonly ["change:trackBy"];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
readonly events: readonly ["engine:create", "item:add:before", "item:added", "item:remove:before", "item:removed", "item:update:before", "item:updated", "item:move:before", "item:moved", "items:clear:before", "change:count", "reset", "items:added", "items:removed", "change:shown", "change:items", "change:trackBy"];
|
|
32
|
+
};
|
|
33
|
+
}>>;
|
|
34
|
+
/**
|
|
35
|
+
* Коллекционные props владельца Select (выводятся `TSelectCollectionFacade`):
|
|
36
|
+
* режим выбора, сам выбор, группы опций (общий фрагмент `GROUP_PROPS`, как
|
|
37
|
+
* у Menu и ListBox), теги поля и что рисует список панели.
|
|
38
|
+
*
|
|
39
|
+
* `mode` служит переключателем множественного выбора: отдельного `multiple`
|
|
40
|
+
* нет намеренно — два имени для одного состояния однажды разошлись бы.
|
|
41
|
+
*/
|
|
42
|
+
readonly contribution: {
|
|
43
|
+
readonly props: {
|
|
44
|
+
/**
|
|
45
|
+
* Инстанс тегов при множественном выборе, `null` иначе. Живёт в
|
|
46
|
+
* `TSelectTagsExtension` — второй компонент со своей коллекцией, а не
|
|
47
|
+
* разметка: связку «опция ⇄ тег» пришлось бы иначе повторять в шести
|
|
48
|
+
* адаптерах.
|
|
49
|
+
*/
|
|
50
|
+
readonly tags: {
|
|
51
|
+
readonly type: ObjectConstructor;
|
|
52
|
+
readonly protected: true;
|
|
53
|
+
readonly triggers: readonly ["change:tags"];
|
|
54
|
+
};
|
|
55
|
+
/** Коллекция тегов — то, что `<Tags :engine="...">` берёт готовым. */
|
|
56
|
+
readonly tags_engine: {
|
|
57
|
+
readonly type: ObjectConstructor;
|
|
58
|
+
readonly protected: true;
|
|
59
|
+
readonly triggers: readonly ["change:tags"];
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Что делать с тегами, которым не хватило строки поля. Передаётся
|
|
63
|
+
* своему `TTags` так же, как `size` и `variant`; по умолчанию
|
|
64
|
+
* `wrap` — поведение поля не меняется, пока режим не задали.
|
|
65
|
+
*/
|
|
66
|
+
readonly tagsOverflow: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly triggers: readonly ["change:overflow"];
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Что рисует список панели, по секциям: группа с подписью или опции
|
|
72
|
+
* без группы, а в секции — опции на своих местах и, в окне обёртки
|
|
73
|
+
* `Virtual`, распорки на месте пропущенных. Между соседними
|
|
74
|
+
* секциями разметка рисует разделитель, если его просит Select
|
|
75
|
+
* (`groupSeparators`). Без групп секция одна
|
|
76
|
+
*/
|
|
77
|
+
readonly drawnSections: {
|
|
78
|
+
readonly type: ArrayConstructor;
|
|
79
|
+
readonly protected: true;
|
|
80
|
+
readonly triggers: readonly ["change:drawnSections"];
|
|
81
|
+
};
|
|
82
|
+
readonly groupBy: {
|
|
83
|
+
type: FunctionConstructor;
|
|
84
|
+
triggers: "change:groupBy"[];
|
|
85
|
+
};
|
|
86
|
+
readonly groups: {
|
|
87
|
+
type: ArrayConstructor;
|
|
88
|
+
triggers: "change:groups"[];
|
|
89
|
+
};
|
|
90
|
+
readonly mode: {
|
|
91
|
+
readonly type: StringConstructor;
|
|
92
|
+
readonly triggers: readonly ["change:mode"];
|
|
93
|
+
};
|
|
94
|
+
readonly selected: {
|
|
95
|
+
readonly type: ArrayConstructor;
|
|
96
|
+
readonly protected: true;
|
|
97
|
+
readonly triggers: readonly ["change:selection"];
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly events: readonly ["change:mode", "change:selection", "change:groupBy", "change:groups", "change:overflow"];
|
|
101
|
+
};
|
|
102
|
+
}>>;
|
|
103
|
+
/**
|
|
104
|
+
* Без `extends`: это чистое членство в коллекции — выбранность и порядок.
|
|
105
|
+
* Собственные пропсы опции приходят из SelectItemDescriptor.
|
|
106
|
+
*/
|
|
107
|
+
export declare const SelectCollectionItemDescriptor: () => import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
108
|
+
readonly ctor: typeof TSelectItemCollectionFacade;
|
|
109
|
+
/**
|
|
110
|
+
* Item-level props опции (выводятся `TSelectItemCollectionFacade`).
|
|
111
|
+
*/
|
|
112
|
+
readonly contribution: {
|
|
113
|
+
readonly props: {
|
|
114
|
+
readonly selected: {
|
|
115
|
+
readonly type: BooleanConstructor;
|
|
116
|
+
readonly triggers: readonly ["change:selected"];
|
|
117
|
+
};
|
|
118
|
+
readonly order: {
|
|
119
|
+
readonly type: NumberConstructor;
|
|
120
|
+
readonly protected: true;
|
|
121
|
+
readonly triggers: readonly ["change:order"];
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Сторона отметки выбранного. Только на чтение: значение одно на весь
|
|
125
|
+
* список и живёт на поле — как `view` у элемента ListBox.
|
|
126
|
+
*/
|
|
127
|
+
readonly indicator: {
|
|
128
|
+
readonly type: StringConstructor;
|
|
129
|
+
readonly protected: true;
|
|
130
|
+
readonly triggers: readonly ["change:indicator"];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
readonly events: readonly ["change:selected", "change:order"];
|
|
134
|
+
};
|
|
135
|
+
}>>;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent } from "../../../../protected/define/component.js";
|
|
2
|
+
import { defineDescriptor } from "../../../../protected/define/descriptor.js";
|
|
3
|
+
import { CollectionDescriptor } from "../collection/collection.descriptor.js";
|
|
4
|
+
import { GROUP_PROPS } from "../list.js";
|
|
5
|
+
import { TSelectCollectionFacade, TSelectItemCollectionFacade } from "@soxa-ui/core";
|
|
6
|
+
//#region content/descriptors/components/select/collection.descriptor.ts
|
|
7
|
+
/**
|
|
8
|
+
* Дескрипторы коллекционной части Select — фасады владельца и опции.
|
|
9
|
+
*
|
|
10
|
+
* Членство в коллекции отделено от собственных пропсов компонента
|
|
11
|
+
* (`SelectDescriptor`, `SelectItemDescriptor`): адаптер собирает компонент из
|
|
12
|
+
* обоих рантайм-списков.
|
|
13
|
+
*/
|
|
14
|
+
var SelectCollectionDescriptor = defineDescriptor(() => defineComponent({
|
|
15
|
+
ctor: TSelectCollectionFacade,
|
|
16
|
+
extends: CollectionDescriptor(),
|
|
17
|
+
/**
|
|
18
|
+
* Коллекционные props владельца Select (выводятся `TSelectCollectionFacade`):
|
|
19
|
+
* режим выбора, сам выбор, группы опций (общий фрагмент `GROUP_PROPS`, как
|
|
20
|
+
* у Menu и ListBox), теги поля и что рисует список панели.
|
|
21
|
+
*
|
|
22
|
+
* `mode` служит переключателем множественного выбора: отдельного `multiple`
|
|
23
|
+
* нет намеренно — два имени для одного состояния однажды разошлись бы.
|
|
24
|
+
*/
|
|
25
|
+
contribution: {
|
|
26
|
+
props: {
|
|
27
|
+
mode: {
|
|
28
|
+
type: String,
|
|
29
|
+
triggers: ["change:mode"]
|
|
30
|
+
},
|
|
31
|
+
selected: {
|
|
32
|
+
type: Array,
|
|
33
|
+
protected: true,
|
|
34
|
+
triggers: ["change:selection"]
|
|
35
|
+
},
|
|
36
|
+
...GROUP_PROPS,
|
|
37
|
+
/**
|
|
38
|
+
* Инстанс тегов при множественном выборе, `null` иначе. Живёт в
|
|
39
|
+
* `TSelectTagsExtension` — второй компонент со своей коллекцией, а не
|
|
40
|
+
* разметка: связку «опция ⇄ тег» пришлось бы иначе повторять в шести
|
|
41
|
+
* адаптерах.
|
|
42
|
+
*/
|
|
43
|
+
tags: {
|
|
44
|
+
type: Object,
|
|
45
|
+
protected: true,
|
|
46
|
+
triggers: ["change:tags"]
|
|
47
|
+
},
|
|
48
|
+
/** Коллекция тегов — то, что `<Tags :engine="...">` берёт готовым. */
|
|
49
|
+
tags_engine: {
|
|
50
|
+
type: Object,
|
|
51
|
+
protected: true,
|
|
52
|
+
triggers: ["change:tags"]
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* Что делать с тегами, которым не хватило строки поля. Передаётся
|
|
56
|
+
* своему `TTags` так же, как `size` и `variant`; по умолчанию
|
|
57
|
+
* `wrap` — поведение поля не меняется, пока режим не задали.
|
|
58
|
+
*/
|
|
59
|
+
tagsOverflow: {
|
|
60
|
+
type: String,
|
|
61
|
+
triggers: ["change:overflow"]
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* Что рисует список панели, по секциям: группа с подписью или опции
|
|
65
|
+
* без группы, а в секции — опции на своих местах и, в окне обёртки
|
|
66
|
+
* `Virtual`, распорки на месте пропущенных. Между соседними
|
|
67
|
+
* секциями разметка рисует разделитель, если его просит Select
|
|
68
|
+
* (`groupSeparators`). Без групп секция одна
|
|
69
|
+
*/
|
|
70
|
+
drawnSections: {
|
|
71
|
+
type: Array,
|
|
72
|
+
protected: true,
|
|
73
|
+
triggers: ["change:drawnSections"]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
events: [
|
|
77
|
+
"change:mode",
|
|
78
|
+
"change:selection",
|
|
79
|
+
"change:groupBy",
|
|
80
|
+
"change:groups",
|
|
81
|
+
"change:overflow"
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}));
|
|
85
|
+
/**
|
|
86
|
+
* Без `extends`: это чистое членство в коллекции — выбранность и порядок.
|
|
87
|
+
* Собственные пропсы опции приходят из SelectItemDescriptor.
|
|
88
|
+
*/
|
|
89
|
+
var SelectCollectionItemDescriptor = defineDescriptor(() => defineComponent({
|
|
90
|
+
ctor: TSelectItemCollectionFacade,
|
|
91
|
+
/**
|
|
92
|
+
* Item-level props опции (выводятся `TSelectItemCollectionFacade`).
|
|
93
|
+
*/
|
|
94
|
+
contribution: {
|
|
95
|
+
props: {
|
|
96
|
+
selected: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
triggers: ["change:selected"]
|
|
99
|
+
},
|
|
100
|
+
order: {
|
|
101
|
+
type: Number,
|
|
102
|
+
protected: true,
|
|
103
|
+
triggers: ["change:order"]
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
* Сторона отметки выбранного. Только на чтение: значение одно на весь
|
|
107
|
+
* список и живёт на поле — как `view` у элемента ListBox.
|
|
108
|
+
*/
|
|
109
|
+
indicator: {
|
|
110
|
+
type: String,
|
|
111
|
+
protected: true,
|
|
112
|
+
triggers: ["change:indicator"]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
events: ["change:selected", "change:order"]
|
|
116
|
+
}
|
|
117
|
+
}));
|
|
118
|
+
//#endregion
|
|
119
|
+
export { SelectCollectionDescriptor, SelectCollectionItemDescriptor };
|