@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,261 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Дескриптор Calendar (TCalendar).
|
|
3
|
+
*
|
|
4
|
+
* Наследует `ValueControlDescriptor` (value, name, disabled, focused, size,
|
|
5
|
+
* variant, ...) и добавляет то, что задаёт потребитель: границы, недоступные
|
|
6
|
+
* дни, первый день недели, пояс «сегодня» и месяцы сеток. Язык и имена кнопок
|
|
7
|
+
* — от локали поддерева: их пишут плагины языка и имён, а разметка получает
|
|
8
|
+
* готовые выходы. Всё, что календарь делает с днями, —
|
|
9
|
+
* коллекция и её расширения (`CalendarCollectionDescriptor`); клавиши и
|
|
10
|
+
* указатель переводят в их команды плагины владельца.
|
|
11
|
+
*
|
|
12
|
+
* Сетка — по APG (Date Picker Dialog): фокус и наборы стоят на самой ячейке
|
|
13
|
+
* дня, весь календарь — одна остановка Tab на все сетки, а заголовок месяца —
|
|
14
|
+
* вежливая живая область. См. AGENTS.md, «Даты» и «Готовые паттерны».
|
|
15
|
+
*/
|
|
16
|
+
import { TCalendar } from '@soxa-ui/core';
|
|
17
|
+
import type { ICalendarItem } from '@soxa-ui/core';
|
|
18
|
+
export declare const CalendarDescriptor: () => import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
19
|
+
readonly ctor: typeof TCalendar;
|
|
20
|
+
readonly extends: import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
21
|
+
readonly ctor: typeof import("@soxa-ui/core").TValueControl;
|
|
22
|
+
readonly extends: import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
23
|
+
readonly ctor: typeof import("@soxa-ui/core").TControl;
|
|
24
|
+
readonly extends: import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
25
|
+
readonly ctor: typeof import("@soxa-ui/core").TStylable;
|
|
26
|
+
readonly extends: import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
27
|
+
readonly ctor: typeof import("@soxa-ui/core").TComponentView;
|
|
28
|
+
readonly extends: import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
29
|
+
readonly ctor: typeof import("@soxa-ui/core").TComponent;
|
|
30
|
+
readonly extends: import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
31
|
+
readonly contribution: {
|
|
32
|
+
readonly props: {
|
|
33
|
+
readonly ctrl: {
|
|
34
|
+
readonly type: ObjectConstructor;
|
|
35
|
+
};
|
|
36
|
+
readonly embedded: {
|
|
37
|
+
readonly type: StringConstructor;
|
|
38
|
+
};
|
|
39
|
+
readonly pluginProps: {
|
|
40
|
+
readonly type: ObjectConstructor;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
readonly events: readonly ["bundle:create", "plugin:event"];
|
|
44
|
+
};
|
|
45
|
+
}>>;
|
|
46
|
+
readonly contribution: {};
|
|
47
|
+
}>>;
|
|
48
|
+
readonly contribution: {
|
|
49
|
+
readonly slots: {
|
|
50
|
+
readonly default: {
|
|
51
|
+
readonly description: "Содержимое компонента";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly props: {
|
|
55
|
+
readonly rendered: {
|
|
56
|
+
readonly type: BooleanConstructor;
|
|
57
|
+
readonly triggers: readonly ["change:rendered"];
|
|
58
|
+
};
|
|
59
|
+
readonly visible: {
|
|
60
|
+
readonly type: BooleanConstructor;
|
|
61
|
+
readonly triggers: readonly ["change:visible"];
|
|
62
|
+
};
|
|
63
|
+
readonly present: {
|
|
64
|
+
readonly type: BooleanConstructor;
|
|
65
|
+
readonly protected: true;
|
|
66
|
+
readonly triggers: readonly ["change:rendered", "change:visible"];
|
|
67
|
+
};
|
|
68
|
+
readonly tag: {
|
|
69
|
+
readonly type: readonly [StringConstructor, ObjectConstructor];
|
|
70
|
+
readonly triggers: readonly ["change:tag"];
|
|
71
|
+
};
|
|
72
|
+
readonly direction: {
|
|
73
|
+
readonly type: StringConstructor;
|
|
74
|
+
readonly triggers: readonly ["change:direction"];
|
|
75
|
+
};
|
|
76
|
+
readonly classes: {
|
|
77
|
+
readonly type: ObjectConstructor;
|
|
78
|
+
readonly protected: true;
|
|
79
|
+
readonly triggers: readonly ["change:classes"];
|
|
80
|
+
};
|
|
81
|
+
readonly aria: {
|
|
82
|
+
readonly type: ObjectConstructor;
|
|
83
|
+
readonly protected: true;
|
|
84
|
+
readonly triggers: readonly ["change:aria"];
|
|
85
|
+
};
|
|
86
|
+
readonly dataset: {
|
|
87
|
+
readonly type: ObjectConstructor;
|
|
88
|
+
readonly protected: true;
|
|
89
|
+
readonly triggers: readonly ["change:dataset"];
|
|
90
|
+
};
|
|
91
|
+
readonly attrs: {
|
|
92
|
+
readonly type: ObjectConstructor;
|
|
93
|
+
readonly protected: true;
|
|
94
|
+
readonly triggers: readonly ["change:attrs"];
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly events: readonly ["show", "hide", "show:before", "hide:before", "ready", "change:rendered", "change:visible", "change:tag", "change:direction"];
|
|
98
|
+
};
|
|
99
|
+
readonly plugins: readonly [import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TElementPlugin, "element", {
|
|
100
|
+
readonly events: readonly ["ready", "removed"];
|
|
101
|
+
}>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TReadyPlugin, "ready", import("../../../..").IContribution>>];
|
|
102
|
+
}>>;
|
|
103
|
+
readonly contribution: {
|
|
104
|
+
readonly props: {
|
|
105
|
+
readonly size: {
|
|
106
|
+
readonly type: StringConstructor;
|
|
107
|
+
readonly triggers: readonly ["change:size"];
|
|
108
|
+
};
|
|
109
|
+
readonly variant: {
|
|
110
|
+
readonly type: StringConstructor;
|
|
111
|
+
readonly triggers: readonly ["change:variant"];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
readonly events: readonly ["change:size", "change:variant"];
|
|
115
|
+
};
|
|
116
|
+
}>>;
|
|
117
|
+
readonly contribution: {
|
|
118
|
+
readonly props: {
|
|
119
|
+
readonly disabled: {
|
|
120
|
+
readonly type: BooleanConstructor;
|
|
121
|
+
readonly triggers: readonly ["change:disabled"];
|
|
122
|
+
};
|
|
123
|
+
readonly focused: {
|
|
124
|
+
readonly type: BooleanConstructor;
|
|
125
|
+
readonly triggers: readonly ["change:focused"];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly events: readonly ["change:disabled", "change:focused"];
|
|
129
|
+
};
|
|
130
|
+
readonly plugins: readonly [import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TActionPlugin, "action", {
|
|
131
|
+
readonly events: readonly ["press", "click", "focus", "blur"];
|
|
132
|
+
}>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TAriaPlugin, "aria", {
|
|
133
|
+
readonly props: {
|
|
134
|
+
readonly label: {
|
|
135
|
+
readonly type: StringConstructor;
|
|
136
|
+
readonly triggers: readonly ["change:label"];
|
|
137
|
+
};
|
|
138
|
+
readonly labelledBy: {
|
|
139
|
+
readonly type: StringConstructor;
|
|
140
|
+
readonly triggers: readonly ["change:labelledBy"];
|
|
141
|
+
};
|
|
142
|
+
readonly describedBy: {
|
|
143
|
+
readonly type: StringConstructor;
|
|
144
|
+
readonly triggers: readonly ["change:describedBy"];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly events: readonly ["change:label", "change:labelledBy", "change:describedBy"];
|
|
148
|
+
}>>];
|
|
149
|
+
}>>;
|
|
150
|
+
readonly contribution: {
|
|
151
|
+
readonly props: {
|
|
152
|
+
readonly value: {
|
|
153
|
+
readonly type: readonly [StringConstructor, NumberConstructor, BooleanConstructor, ObjectConstructor, ArrayConstructor];
|
|
154
|
+
readonly triggers: readonly ["change:value"];
|
|
155
|
+
};
|
|
156
|
+
readonly name: {
|
|
157
|
+
readonly type: StringConstructor;
|
|
158
|
+
readonly triggers: readonly ["change:name"];
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
readonly events: readonly ["change:value", "change:name"];
|
|
162
|
+
};
|
|
163
|
+
}>>;
|
|
164
|
+
readonly contribution: {
|
|
165
|
+
/**
|
|
166
|
+
* Состав дней — не слот: их кладёт в коллекцию вид по месяцам сеток,
|
|
167
|
+
* и день из разметки попал бы в неё мимо вида. Поэтому `default`
|
|
168
|
+
* календарь не рисует, а содержимое дня — статический слот `item`,
|
|
169
|
+
* который получает день через scope (см. «Слоты элементов»), а с ним
|
|
170
|
+
* — scope слота дня: номер дня в цифрах локали (`text`).
|
|
171
|
+
*/
|
|
172
|
+
readonly slots: {
|
|
173
|
+
readonly item: {
|
|
174
|
+
readonly scope: {
|
|
175
|
+
readonly item: import("../../../..").TPropType<ICalendarItem<import("@soxa-ui/core").ICalendarItemProps, import("@soxa-ui/core").TCalendarItemEvents>>;
|
|
176
|
+
readonly text: import("../../../..").TPropType<string>;
|
|
177
|
+
};
|
|
178
|
+
readonly description: "Содержимое дня: цена, точка события. Без него — номер дня";
|
|
179
|
+
};
|
|
180
|
+
readonly 'prev-icon': {
|
|
181
|
+
readonly description: "Значок кнопки «предыдущий месяц»";
|
|
182
|
+
};
|
|
183
|
+
readonly 'next-icon': {
|
|
184
|
+
readonly description: "Значок кнопки «следующий месяц»";
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Подвал — строка под сетками во всю ширину календаря. Не задан —
|
|
188
|
+
* строки нет вовсе. Так DatePicker с `confirmable` кладёт сюда
|
|
189
|
+
* «Отмена» и «OK».
|
|
190
|
+
*/
|
|
191
|
+
readonly footer: {
|
|
192
|
+
readonly description: "Подвал под сетками — ряд действий";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly props: {
|
|
196
|
+
readonly min: {
|
|
197
|
+
readonly type: StringConstructor;
|
|
198
|
+
readonly triggers: readonly ["change:min"];
|
|
199
|
+
};
|
|
200
|
+
readonly max: {
|
|
201
|
+
readonly type: StringConstructor;
|
|
202
|
+
readonly triggers: readonly ["change:max"];
|
|
203
|
+
};
|
|
204
|
+
readonly unavailable: {
|
|
205
|
+
readonly type: FunctionConstructor;
|
|
206
|
+
readonly triggers: readonly ["change:unavailable"];
|
|
207
|
+
};
|
|
208
|
+
readonly weekStart: {
|
|
209
|
+
readonly type: NumberConstructor;
|
|
210
|
+
readonly triggers: readonly ["change:weekStart"];
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Язык подписей и первого дня недели — не вход: это тег локали
|
|
214
|
+
* поддерева, и пишет его плагин языка.
|
|
215
|
+
*/
|
|
216
|
+
readonly locale: {
|
|
217
|
+
readonly type: StringConstructor;
|
|
218
|
+
readonly protected: true;
|
|
219
|
+
readonly triggers: readonly ["change:locale"];
|
|
220
|
+
};
|
|
221
|
+
readonly timeZone: {
|
|
222
|
+
readonly type: StringConstructor;
|
|
223
|
+
readonly triggers: readonly ["change:timeZone"];
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Месяц каждой сетки. Вид пишет сюда и те месяцы, что показал сам
|
|
227
|
+
* (листание, уход фокуса), поэтому у пропа есть `v-model:months`.
|
|
228
|
+
*/
|
|
229
|
+
readonly months: {
|
|
230
|
+
readonly type: ArrayConstructor;
|
|
231
|
+
readonly triggers: readonly ["change:months"];
|
|
232
|
+
};
|
|
233
|
+
/** Подписи колонок — от первого дня недели, на языке локали. */
|
|
234
|
+
readonly weekdays: {
|
|
235
|
+
readonly type: ArrayConstructor;
|
|
236
|
+
readonly protected: true;
|
|
237
|
+
readonly triggers: readonly ["change:locale", "change:weekStart"];
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Наборы кнопок листания: своего экземпляра у кнопок нет, и наборы
|
|
241
|
+
* держит календарь. Имена в них — и в наборы стрелок панели выбора
|
|
242
|
+
* месяца и года, которые разметка получает выходом коллекции
|
|
243
|
+
* `pickers`, — пишет `TCalendarNamesPlugin`.
|
|
244
|
+
*/
|
|
245
|
+
readonly prevAria: {
|
|
246
|
+
readonly type: ObjectConstructor;
|
|
247
|
+
readonly protected: true;
|
|
248
|
+
readonly triggers: readonly ["change:prevAria"];
|
|
249
|
+
};
|
|
250
|
+
readonly nextAria: {
|
|
251
|
+
readonly type: ObjectConstructor;
|
|
252
|
+
readonly protected: true;
|
|
253
|
+
readonly triggers: readonly ["change:nextAria"];
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly events: readonly ["change:min", "change:max", "change:unavailable", "change:weekStart", "change:locale", "change:timeZone", "change:months"];
|
|
257
|
+
};
|
|
258
|
+
readonly plugins: readonly [import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TActionPlugin, "action", {
|
|
259
|
+
readonly events: readonly ["press", "click", "focus", "blur"];
|
|
260
|
+
}>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TLocalePlugin, "locale", import("../../../..").IContribution>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TCollectionBundlesPlugin, "bundles", import("../../../..").IContribution>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TCollectionElements, "elements", import("../../../..").IContribution>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TCalendarKeyboardPlugin, "keyboard", import("../../../..").IContribution>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TCalendarPointerPlugin, "pointer", import("../../../..").IContribution>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TCalendarIdsPlugin, "ids", import("../../../..").IContribution>>, import("../../../..").IPluginDefinition<import("../../../../protected/define/inference.types").TPluginContractFrom<import("@soxa-ui/plugins").TCalendarNamesPlugin, "names", import("../../../..").IContribution>>];
|
|
261
|
+
}>>;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { defineComponent } from "../../../../protected/define/component.js";
|
|
2
|
+
import { defineDescriptor } from "../../../../protected/define/descriptor.js";
|
|
3
|
+
import { defineType } from "../../../../protected/define/prop-type.js";
|
|
4
|
+
import { LocalePluginDescriptor } from "../../plugins/locale.plugin.js";
|
|
5
|
+
import { ActionPluginDescriptor } from "../../plugins/action.plugin.js";
|
|
6
|
+
import { CalendarKeyboardPluginDescriptor } from "../../plugins/calendar-keyboard.plugin.js";
|
|
7
|
+
import { CalendarPointerPluginDescriptor } from "../../plugins/calendar-pointer.plugin.js";
|
|
8
|
+
import { CollectionBundlesPluginDescriptor } from "../../plugins/collection-bundles.plugin.js";
|
|
9
|
+
import { CollectionElementsPluginDescriptor } from "../../plugins/collection-elements.plugin.js";
|
|
10
|
+
import { CalendarIdsPluginDescriptor } from "../../plugins/calendar-ids.plugin.js";
|
|
11
|
+
import { CalendarNamesPluginDescriptor } from "../../plugins/calendar-names.plugin.js";
|
|
12
|
+
import { ValueControlDescriptor } from "../value-control.descriptor.js";
|
|
13
|
+
import { TCalendar } from "@soxa-ui/core";
|
|
14
|
+
import { gridStopOf } from "@soxa-ui/plugins";
|
|
15
|
+
//#region content/descriptors/components/calendar/calendar.descriptor.ts
|
|
16
|
+
/**
|
|
17
|
+
* Дескриптор Calendar (TCalendar).
|
|
18
|
+
*
|
|
19
|
+
* Наследует `ValueControlDescriptor` (value, name, disabled, focused, size,
|
|
20
|
+
* variant, ...) и добавляет то, что задаёт потребитель: границы, недоступные
|
|
21
|
+
* дни, первый день недели, пояс «сегодня» и месяцы сеток. Язык и имена кнопок
|
|
22
|
+
* — от локали поддерева: их пишут плагины языка и имён, а разметка получает
|
|
23
|
+
* готовые выходы. Всё, что календарь делает с днями, —
|
|
24
|
+
* коллекция и её расширения (`CalendarCollectionDescriptor`); клавиши и
|
|
25
|
+
* указатель переводят в их команды плагины владельца.
|
|
26
|
+
*
|
|
27
|
+
* Сетка — по APG (Date Picker Dialog): фокус и наборы стоят на самой ячейке
|
|
28
|
+
* дня, весь календарь — одна остановка Tab на все сетки, а заголовок месяца —
|
|
29
|
+
* вежливая живая область. См. AGENTS.md, «Даты» и «Готовые паттерны».
|
|
30
|
+
*/
|
|
31
|
+
var CalendarDescriptor = defineDescriptor(() => defineComponent({
|
|
32
|
+
ctor: TCalendar,
|
|
33
|
+
extends: ValueControlDescriptor(),
|
|
34
|
+
contribution: {
|
|
35
|
+
/**
|
|
36
|
+
* Состав дней — не слот: их кладёт в коллекцию вид по месяцам сеток,
|
|
37
|
+
* и день из разметки попал бы в неё мимо вида. Поэтому `default`
|
|
38
|
+
* календарь не рисует, а содержимое дня — статический слот `item`,
|
|
39
|
+
* который получает день через scope (см. «Слоты элементов»), а с ним
|
|
40
|
+
* — scope слота дня: номер дня в цифрах локали (`text`).
|
|
41
|
+
*/
|
|
42
|
+
slots: {
|
|
43
|
+
item: {
|
|
44
|
+
scope: {
|
|
45
|
+
item: defineType(Object),
|
|
46
|
+
text: defineType(String)
|
|
47
|
+
},
|
|
48
|
+
description: "Содержимое дня: цена, точка события. Без него — номер дня"
|
|
49
|
+
},
|
|
50
|
+
"prev-icon": { description: "Значок кнопки «предыдущий месяц»" },
|
|
51
|
+
"next-icon": { description: "Значок кнопки «следующий месяц»" },
|
|
52
|
+
/**
|
|
53
|
+
* Подвал — строка под сетками во всю ширину календаря. Не задан —
|
|
54
|
+
* строки нет вовсе. Так DatePicker с `confirmable` кладёт сюда
|
|
55
|
+
* «Отмена» и «OK».
|
|
56
|
+
*/
|
|
57
|
+
footer: { description: "Подвал под сетками — ряд действий" }
|
|
58
|
+
},
|
|
59
|
+
props: {
|
|
60
|
+
min: {
|
|
61
|
+
type: String,
|
|
62
|
+
triggers: ["change:min"]
|
|
63
|
+
},
|
|
64
|
+
max: {
|
|
65
|
+
type: String,
|
|
66
|
+
triggers: ["change:max"]
|
|
67
|
+
},
|
|
68
|
+
unavailable: {
|
|
69
|
+
type: Function,
|
|
70
|
+
triggers: ["change:unavailable"]
|
|
71
|
+
},
|
|
72
|
+
weekStart: {
|
|
73
|
+
type: Number,
|
|
74
|
+
triggers: ["change:weekStart"]
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Язык подписей и первого дня недели — не вход: это тег локали
|
|
78
|
+
* поддерева, и пишет его плагин языка.
|
|
79
|
+
*/
|
|
80
|
+
locale: {
|
|
81
|
+
type: String,
|
|
82
|
+
protected: true,
|
|
83
|
+
triggers: ["change:locale"]
|
|
84
|
+
},
|
|
85
|
+
timeZone: {
|
|
86
|
+
type: String,
|
|
87
|
+
triggers: ["change:timeZone"]
|
|
88
|
+
},
|
|
89
|
+
/**
|
|
90
|
+
* Месяц каждой сетки. Вид пишет сюда и те месяцы, что показал сам
|
|
91
|
+
* (листание, уход фокуса), поэтому у пропа есть `v-model:months`.
|
|
92
|
+
*/
|
|
93
|
+
months: {
|
|
94
|
+
type: Array,
|
|
95
|
+
triggers: ["change:months"]
|
|
96
|
+
},
|
|
97
|
+
/** Подписи колонок — от первого дня недели, на языке локали. */
|
|
98
|
+
weekdays: {
|
|
99
|
+
type: Array,
|
|
100
|
+
protected: true,
|
|
101
|
+
triggers: ["change:locale", "change:weekStart"]
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* Наборы кнопок листания: своего экземпляра у кнопок нет, и наборы
|
|
105
|
+
* держит календарь. Имена в них — и в наборы стрелок панели выбора
|
|
106
|
+
* месяца и года, которые разметка получает выходом коллекции
|
|
107
|
+
* `pickers`, — пишет `TCalendarNamesPlugin`.
|
|
108
|
+
*/
|
|
109
|
+
prevAria: {
|
|
110
|
+
type: Object,
|
|
111
|
+
protected: true,
|
|
112
|
+
triggers: ["change:prevAria"]
|
|
113
|
+
},
|
|
114
|
+
nextAria: {
|
|
115
|
+
type: Object,
|
|
116
|
+
protected: true,
|
|
117
|
+
triggers: ["change:nextAria"]
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
events: [
|
|
121
|
+
"change:min",
|
|
122
|
+
"change:max",
|
|
123
|
+
"change:unavailable",
|
|
124
|
+
"change:weekStart",
|
|
125
|
+
"change:locale",
|
|
126
|
+
"change:timeZone",
|
|
127
|
+
"change:months"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
plugins: [
|
|
131
|
+
ActionPluginDescriptor.with({ focusTarget: gridStopOf }),
|
|
132
|
+
LocalePluginDescriptor,
|
|
133
|
+
CollectionBundlesPluginDescriptor,
|
|
134
|
+
CollectionElementsPluginDescriptor,
|
|
135
|
+
CalendarKeyboardPluginDescriptor,
|
|
136
|
+
CalendarPointerPluginDescriptor,
|
|
137
|
+
CalendarIdsPluginDescriptor,
|
|
138
|
+
CalendarNamesPluginDescriptor
|
|
139
|
+
]
|
|
140
|
+
}));
|
|
141
|
+
//#endregion
|
|
142
|
+
export { CalendarDescriptor };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Дескрипторы коллекционной части Calendar — фасады владельца и дня.
|
|
3
|
+
*
|
|
4
|
+
* Членство в коллекции отделено от собственных пропсов компонента
|
|
5
|
+
* (`CalendarDescriptor`, `CalendarItemDescriptor`): адаптер собирает
|
|
6
|
+
* компонент из обоих рантайм-списков.
|
|
7
|
+
*
|
|
8
|
+
* Базы `CollectionDescriptor` здесь нет: её `items` и `trackBy` календарю не
|
|
9
|
+
* положены. Состав дней кладёт вид по месяцам сеток, ключ сверки — дата, и
|
|
10
|
+
* чужой `trackBy` сломал бы её. Движок снаружи (`engine`) — положен: его
|
|
11
|
+
* держит тот, кто показывает календарь и зовёт команды его расширений, —
|
|
12
|
+
* DatePicker, — а дни в нём кладёт тот же вид.
|
|
13
|
+
*/
|
|
14
|
+
import { TCalendarCollectionFacade, TCalendarItemCollectionFacade } from '@soxa-ui/core';
|
|
15
|
+
export declare const CalendarCollectionDescriptor: () => import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
16
|
+
readonly ctor: typeof TCalendarCollectionFacade;
|
|
17
|
+
/**
|
|
18
|
+
* Коллекционные props владельца Calendar — то, что выводит фасад
|
|
19
|
+
* `TCalendarCollectionFacade`: режим выбора, сетки и листание.
|
|
20
|
+
*
|
|
21
|
+
* `change:months` фасада не публикуется: показанные месяцы публикует
|
|
22
|
+
* владелец (`months`), и адаптер получил бы событие дважды.
|
|
23
|
+
*/
|
|
24
|
+
readonly contribution: {
|
|
25
|
+
readonly props: {
|
|
26
|
+
/**
|
|
27
|
+
* Готовая коллекция снаружи — аналог `ctrl` у компонента, как у
|
|
28
|
+
* остальных коллекций (`CollectionDescriptor`). Без триггеров: это
|
|
29
|
+
* вход, а не наблюдаемое значение. Собирает её `createEngineCalendar`;
|
|
30
|
+
* чего движку не хватает, фасад доустановит при привязке.
|
|
31
|
+
*/
|
|
32
|
+
readonly engine: {
|
|
33
|
+
readonly type: ObjectConstructor;
|
|
34
|
+
};
|
|
35
|
+
readonly mode: {
|
|
36
|
+
readonly type: StringConstructor;
|
|
37
|
+
readonly triggers: readonly ["change:mode"];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Сетки показанных месяцев. `change:mode` — из-за
|
|
41
|
+
* `aria-multiselectable`: его сетке пишет режим выбора.
|
|
42
|
+
*/
|
|
43
|
+
readonly grids: {
|
|
44
|
+
readonly type: ArrayConstructor;
|
|
45
|
+
readonly protected: true;
|
|
46
|
+
readonly triggers: readonly ["change:grids", "change:mode"];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Выключенность кнопок считает вид: «календарь выключен **или**
|
|
50
|
+
* сетки дошли до месяца границы» — одно правило, а не условие в
|
|
51
|
+
* шести разметках.
|
|
52
|
+
*/
|
|
53
|
+
readonly prevDisabled: {
|
|
54
|
+
readonly type: BooleanConstructor;
|
|
55
|
+
readonly protected: true;
|
|
56
|
+
readonly triggers: readonly ["change:paging"];
|
|
57
|
+
};
|
|
58
|
+
readonly nextDisabled: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly protected: true;
|
|
61
|
+
readonly triggers: readonly ["change:paging"];
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Панели выбора месяца и года — по одной на сетку: поповер и
|
|
65
|
+
* список, которые разметка отдаёт компонентам, и снимок шапки и
|
|
66
|
+
* стрелок. Создаёт и ведёт их расширение `picker` коллекции.
|
|
67
|
+
*/
|
|
68
|
+
readonly pickers: {
|
|
69
|
+
readonly type: ArrayConstructor;
|
|
70
|
+
readonly protected: true;
|
|
71
|
+
readonly triggers: readonly ["change:pickers"];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly events: readonly ["change:mode"];
|
|
75
|
+
};
|
|
76
|
+
}>>;
|
|
77
|
+
export declare const CalendarCollectionItemDescriptor: () => import("../../../..").IComponentDescriptor<import("../../../../protected/define/inference.types").TContractFrom<{
|
|
78
|
+
readonly ctor: typeof TCalendarItemCollectionFacade;
|
|
79
|
+
/**
|
|
80
|
+
* Пропсов нет. Выбор и фокус дню пишут расширения коллекции прямо в его
|
|
81
|
+
* наборы, а `focused` фасада — фокус сетки — затёр бы `focused` дня:
|
|
82
|
+
* в разметке значения двух контекстов сливаются в один объект.
|
|
83
|
+
*/
|
|
84
|
+
readonly contribution: {};
|
|
85
|
+
}>>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { defineComponent } from "../../../../protected/define/component.js";
|
|
2
|
+
import { defineDescriptor } from "../../../../protected/define/descriptor.js";
|
|
3
|
+
import { TCalendarCollectionFacade, TCalendarItemCollectionFacade } from "@soxa-ui/core";
|
|
4
|
+
//#region content/descriptors/components/calendar/collection.descriptor.ts
|
|
5
|
+
/**
|
|
6
|
+
* Дескрипторы коллекционной части Calendar — фасады владельца и дня.
|
|
7
|
+
*
|
|
8
|
+
* Членство в коллекции отделено от собственных пропсов компонента
|
|
9
|
+
* (`CalendarDescriptor`, `CalendarItemDescriptor`): адаптер собирает
|
|
10
|
+
* компонент из обоих рантайм-списков.
|
|
11
|
+
*
|
|
12
|
+
* Базы `CollectionDescriptor` здесь нет: её `items` и `trackBy` календарю не
|
|
13
|
+
* положены. Состав дней кладёт вид по месяцам сеток, ключ сверки — дата, и
|
|
14
|
+
* чужой `trackBy` сломал бы её. Движок снаружи (`engine`) — положен: его
|
|
15
|
+
* держит тот, кто показывает календарь и зовёт команды его расширений, —
|
|
16
|
+
* DatePicker, — а дни в нём кладёт тот же вид.
|
|
17
|
+
*/
|
|
18
|
+
var CalendarCollectionDescriptor = defineDescriptor(() => defineComponent({
|
|
19
|
+
ctor: TCalendarCollectionFacade,
|
|
20
|
+
/**
|
|
21
|
+
* Коллекционные props владельца Calendar — то, что выводит фасад
|
|
22
|
+
* `TCalendarCollectionFacade`: режим выбора, сетки и листание.
|
|
23
|
+
*
|
|
24
|
+
* `change:months` фасада не публикуется: показанные месяцы публикует
|
|
25
|
+
* владелец (`months`), и адаптер получил бы событие дважды.
|
|
26
|
+
*/
|
|
27
|
+
contribution: {
|
|
28
|
+
props: {
|
|
29
|
+
/**
|
|
30
|
+
* Готовая коллекция снаружи — аналог `ctrl` у компонента, как у
|
|
31
|
+
* остальных коллекций (`CollectionDescriptor`). Без триггеров: это
|
|
32
|
+
* вход, а не наблюдаемое значение. Собирает её `createEngineCalendar`;
|
|
33
|
+
* чего движку не хватает, фасад доустановит при привязке.
|
|
34
|
+
*/
|
|
35
|
+
engine: { type: Object },
|
|
36
|
+
mode: {
|
|
37
|
+
type: String,
|
|
38
|
+
triggers: ["change:mode"]
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* Сетки показанных месяцев. `change:mode` — из-за
|
|
42
|
+
* `aria-multiselectable`: его сетке пишет режим выбора.
|
|
43
|
+
*/
|
|
44
|
+
grids: {
|
|
45
|
+
type: Array,
|
|
46
|
+
protected: true,
|
|
47
|
+
triggers: ["change:grids", "change:mode"]
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* Выключенность кнопок считает вид: «календарь выключен **или**
|
|
51
|
+
* сетки дошли до месяца границы» — одно правило, а не условие в
|
|
52
|
+
* шести разметках.
|
|
53
|
+
*/
|
|
54
|
+
prevDisabled: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
protected: true,
|
|
57
|
+
triggers: ["change:paging"]
|
|
58
|
+
},
|
|
59
|
+
nextDisabled: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
protected: true,
|
|
62
|
+
triggers: ["change:paging"]
|
|
63
|
+
},
|
|
64
|
+
/**
|
|
65
|
+
* Панели выбора месяца и года — по одной на сетку: поповер и
|
|
66
|
+
* список, которые разметка отдаёт компонентам, и снимок шапки и
|
|
67
|
+
* стрелок. Создаёт и ведёт их расширение `picker` коллекции.
|
|
68
|
+
*/
|
|
69
|
+
pickers: {
|
|
70
|
+
type: Array,
|
|
71
|
+
protected: true,
|
|
72
|
+
triggers: ["change:pickers"]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
events: ["change:mode"]
|
|
76
|
+
}
|
|
77
|
+
}));
|
|
78
|
+
var CalendarCollectionItemDescriptor = defineDescriptor(() => defineComponent({
|
|
79
|
+
ctor: TCalendarItemCollectionFacade,
|
|
80
|
+
/**
|
|
81
|
+
* Пропсов нет. Выбор и фокус дню пишут расширения коллекции прямо в его
|
|
82
|
+
* наборы, а `focused` фасада — фокус сетки — затёр бы `focused` дня:
|
|
83
|
+
* в разметке значения двух контекстов сливаются в один объект.
|
|
84
|
+
*/
|
|
85
|
+
contribution: {}
|
|
86
|
+
}));
|
|
87
|
+
//#endregion
|
|
88
|
+
export { CalendarCollectionDescriptor, CalendarCollectionItemDescriptor };
|