@nuraly/lumenui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +28 -0
- package/README.md +248 -0
- package/dist/nuralyui.bundle.js +29209 -0
- package/dist/nuralyui.bundle.js.gz +0 -0
- package/dist/src/components/alert/alert.component.d.ts +103 -0
- package/dist/src/components/alert/alert.component.js +225 -0
- package/dist/src/components/alert/alert.style.d.ts +14 -0
- package/dist/src/components/alert/alert.style.js +191 -0
- package/dist/src/components/alert/alert.types.d.ts +46 -0
- package/dist/src/components/alert/alert.types.js +7 -0
- package/dist/src/components/alert/bundle.js +231 -0
- package/dist/src/components/alert/bundle.js.gz +0 -0
- package/dist/src/components/alert/index.d.ts +8 -0
- package/dist/src/components/alert/index.js +8 -0
- package/dist/src/components/alert/react.d.ts +5 -0
- package/dist/src/components/alert/react.js +17 -0
- package/dist/src/components/badge/badge.component.d.ts +148 -0
- package/dist/src/components/badge/badge.component.js +270 -0
- package/dist/src/components/badge/badge.style.d.ts +14 -0
- package/dist/src/components/badge/badge.style.js +250 -0
- package/dist/src/components/badge/badge.types.d.ts +84 -0
- package/dist/src/components/badge/badge.types.js +7 -0
- package/dist/src/components/badge/bundle.js +277 -0
- package/dist/src/components/badge/bundle.js.gz +0 -0
- package/dist/src/components/badge/index.d.ts +2 -0
- package/dist/src/components/badge/index.js +2 -0
- package/dist/src/components/badge/react.d.ts +3 -0
- package/dist/src/components/badge/react.js +10 -0
- package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +121 -0
- package/dist/src/components/breadcrumb/breadcrumb.component.js +257 -0
- package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +14 -0
- package/dist/src/components/breadcrumb/breadcrumb.style.js +153 -0
- package/dist/src/components/breadcrumb/breadcrumb.types.d.ts +63 -0
- package/dist/src/components/breadcrumb/breadcrumb.types.js +7 -0
- package/dist/src/components/breadcrumb/bundle.js +213 -0
- package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
- package/dist/src/components/breadcrumb/index.d.ts +2 -0
- package/dist/src/components/breadcrumb/index.js +2 -0
- package/dist/src/components/breadcrumb/react.d.ts +5 -0
- package/dist/src/components/breadcrumb/react.js +12 -0
- package/dist/src/components/button/bundle.js +606 -0
- package/dist/src/components/button/bundle.js.gz +0 -0
- package/dist/src/components/button/button.component.d.ts +96 -0
- package/dist/src/components/button/button.component.js +312 -0
- package/dist/src/components/button/button.style.d.ts +10 -0
- package/dist/src/components/button/button.style.js +535 -0
- package/dist/src/components/button/button.types.d.ts +57 -0
- package/dist/src/components/button/button.types.js +2 -0
- package/dist/src/components/button/index.d.ts +2 -0
- package/dist/src/components/button/index.js +2 -0
- package/dist/src/components/button/react.d.ts +5 -0
- package/dist/src/components/button/react.js +12 -0
- package/dist/src/components/canvas/base-canvas.component.d.ts +177 -0
- package/dist/src/components/canvas/base-canvas.component.js +865 -0
- package/dist/src/components/canvas/bundle.js +16664 -0
- package/dist/src/components/canvas/bundle.js.gz +0 -0
- package/dist/src/components/canvas/canvas.component.d.ts +2 -0
- package/dist/src/components/canvas/canvas.component.js +295 -0
- package/dist/src/components/canvas/canvas.constants.d.ts +66 -0
- package/dist/src/components/canvas/canvas.constants.js +61 -0
- package/dist/src/components/canvas/chatbot-panel.style.d.ts +11 -0
- package/dist/src/components/canvas/chatbot-panel.style.js +189 -0
- package/dist/src/components/canvas/index.d.ts +13 -0
- package/dist/src/components/canvas/index.js +21 -0
- package/dist/src/components/canvas/react.d.ts +354 -0
- package/dist/src/components/canvas/react.js +41 -0
- package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +63 -0
- package/dist/src/components/canvas/whiteboard-canvas.component.js +356 -0
- package/dist/src/components/canvas/whiteboard-canvas.style.d.ts +7 -0
- package/dist/src/components/canvas/whiteboard-canvas.style.js +1011 -0
- package/dist/src/components/canvas/whiteboard-node.component.d.ts +87 -0
- package/dist/src/components/canvas/whiteboard-node.component.js +809 -0
- package/dist/src/components/canvas/whiteboard-node.style.d.ts +7 -0
- package/dist/src/components/canvas/whiteboard-node.style.js +775 -0
- package/dist/src/components/canvas/workflow-canvas.component.d.ts +150 -0
- package/dist/src/components/canvas/workflow-canvas.component.js +1468 -0
- package/dist/src/components/canvas/workflow-canvas.style.d.ts +8 -0
- package/dist/src/components/canvas/workflow-canvas.style.js +2903 -0
- package/dist/src/components/canvas/workflow-canvas.types.d.ts +710 -0
- package/dist/src/components/canvas/workflow-canvas.types.js +2305 -0
- package/dist/src/components/canvas/workflow-node.component.d.ts +96 -0
- package/dist/src/components/canvas/workflow-node.component.js +752 -0
- package/dist/src/components/canvas/workflow-node.style.d.ts +8 -0
- package/dist/src/components/canvas/workflow-node.style.js +1053 -0
- package/dist/src/components/card/bundle.js +69 -0
- package/dist/src/components/card/bundle.js.gz +0 -0
- package/dist/src/components/card/card.component.d.ts +30 -0
- package/dist/src/components/card/card.component.js +64 -0
- package/dist/src/components/card/card.style.d.ts +2 -0
- package/dist/src/components/card/card.style.js +62 -0
- package/dist/src/components/card/card.types.d.ts +17 -0
- package/dist/src/components/card/card.types.js +2 -0
- package/dist/src/components/card/index.d.ts +3 -0
- package/dist/src/components/card/index.js +3 -0
- package/dist/src/components/card/react.d.ts +5 -0
- package/dist/src/components/card/react.js +12 -0
- package/dist/src/components/carousel/bundle.js +96 -0
- package/dist/src/components/carousel/bundle.js.gz +0 -0
- package/dist/src/components/carousel/carousel.component.d.ts +19 -0
- package/dist/src/components/carousel/carousel.component.js +128 -0
- package/dist/src/components/carousel/carousel.style.d.ts +2 -0
- package/dist/src/components/carousel/carousel.style.js +68 -0
- package/dist/src/components/carousel/index.d.ts +2 -0
- package/dist/src/components/carousel/index.js +2 -0
- package/dist/src/components/carousel/react.d.ts +5 -0
- package/dist/src/components/carousel/react.js +12 -0
- package/dist/src/components/chatbot/bundle.js +2527 -0
- package/dist/src/components/chatbot/bundle.js.gz +0 -0
- package/dist/src/components/chatbot/chatbot.component.d.ts +215 -0
- package/dist/src/components/chatbot/chatbot.component.js +1097 -0
- package/dist/src/components/chatbot/chatbot.style.d.ts +3 -0
- package/dist/src/components/chatbot/chatbot.style.js +1638 -0
- package/dist/src/components/chatbot/chatbot.types.d.ts +246 -0
- package/dist/src/components/chatbot/chatbot.types.js +124 -0
- package/dist/src/components/chatbot/index.d.ts +13 -0
- package/dist/src/components/chatbot/index.js +20 -0
- package/dist/src/components/chatbot/react.d.ts +54 -0
- package/dist/src/components/chatbot/react.js +55 -0
- package/dist/src/components/checkbox/bundle.js +352 -0
- package/dist/src/components/checkbox/bundle.js.gz +0 -0
- package/dist/src/components/checkbox/checkbox.component.d.ts +62 -0
- package/dist/src/components/checkbox/checkbox.component.js +178 -0
- package/dist/src/components/checkbox/checkbox.style.d.ts +2 -0
- package/dist/src/components/checkbox/checkbox.style.js +323 -0
- package/dist/src/components/checkbox/checkbox.types.d.ts +6 -0
- package/dist/src/components/checkbox/checkbox.types.js +2 -0
- package/dist/src/components/checkbox/index.d.ts +2 -0
- package/dist/src/components/checkbox/index.js +2 -0
- package/dist/src/components/checkbox/react.d.ts +5 -0
- package/dist/src/components/checkbox/react.js +12 -0
- package/dist/src/components/code-editor/bundle.js +55 -0
- package/dist/src/components/code-editor/bundle.js.gz +0 -0
- package/dist/src/components/code-editor/code-editor.component.d.ts +119 -0
- package/dist/src/components/code-editor/code-editor.component.js +532 -0
- package/dist/src/components/code-editor/code-editor.style.d.ts +7 -0
- package/dist/src/components/code-editor/code-editor.style.js +39 -0
- package/dist/src/components/code-editor/code-editor.types.d.ts +39 -0
- package/dist/src/components/code-editor/code-editor.types.js +22 -0
- package/dist/src/components/code-editor/index.d.ts +9 -0
- package/dist/src/components/code-editor/index.js +9 -0
- package/dist/src/components/collapse/bundle.js +308 -0
- package/dist/src/components/collapse/bundle.js.gz +0 -0
- package/dist/src/components/collapse/collapse.component.d.ts +93 -0
- package/dist/src/components/collapse/collapse.component.js +322 -0
- package/dist/src/components/collapse/collapse.style.d.ts +11 -0
- package/dist/src/components/collapse/collapse.style.js +234 -0
- package/dist/src/components/collapse/collapse.type.d.ts +79 -0
- package/dist/src/components/collapse/collapse.type.js +11 -0
- package/dist/src/components/collapse/index.d.ts +2 -0
- package/dist/src/components/collapse/index.js +2 -0
- package/dist/src/components/collapse/react.d.ts +6 -0
- package/dist/src/components/collapse/react.js +13 -0
- package/dist/src/components/colorpicker/bundle.js +242 -0
- package/dist/src/components/colorpicker/bundle.js.gz +0 -0
- package/dist/src/components/colorpicker/color-holder.component.d.ts +50 -0
- package/dist/src/components/colorpicker/color-holder.component.js +116 -0
- package/dist/src/components/colorpicker/color-holder.style.d.ts +2 -0
- package/dist/src/components/colorpicker/color-holder.style.js +45 -0
- package/dist/src/components/colorpicker/color-picker.component.d.ts +178 -0
- package/dist/src/components/colorpicker/color-picker.component.js +374 -0
- package/dist/src/components/colorpicker/color-picker.style.d.ts +10 -0
- package/dist/src/components/colorpicker/color-picker.style.js +86 -0
- package/dist/src/components/colorpicker/color-picker.types.d.ts +60 -0
- package/dist/src/components/colorpicker/color-picker.types.js +2 -0
- package/dist/src/components/colorpicker/default-color-sets.component.d.ts +45 -0
- package/dist/src/components/colorpicker/default-color-sets.component.js +121 -0
- package/dist/src/components/colorpicker/default-color-sets.style.d.ts +2 -0
- package/dist/src/components/colorpicker/default-color-sets.style.js +34 -0
- package/dist/src/components/colorpicker/index.d.ts +3 -0
- package/dist/src/components/colorpicker/index.js +3 -0
- package/dist/src/components/colorpicker/react.d.ts +6 -0
- package/dist/src/components/colorpicker/react.js +13 -0
- package/dist/src/components/console/react.d.ts +340 -0
- package/dist/src/components/console/react.js +13 -0
- package/dist/src/components/container/bundle.js +161 -0
- package/dist/src/components/container/bundle.js.gz +0 -0
- package/dist/src/components/container/container.component.d.ts +85 -0
- package/dist/src/components/container/container.component.js +223 -0
- package/dist/src/components/container/container.style.d.ts +6 -0
- package/dist/src/components/container/container.style.js +146 -0
- package/dist/src/components/container/container.types.d.ts +67 -0
- package/dist/src/components/container/container.types.js +5 -0
- package/dist/src/components/container/index.d.ts +3 -0
- package/dist/src/components/container/index.js +3 -0
- package/dist/src/components/container/react.d.ts +3 -0
- package/dist/src/components/container/react.js +10 -0
- package/dist/src/components/datepicker/bundle.js +706 -0
- package/dist/src/components/datepicker/bundle.js.gz +0 -0
- package/dist/src/components/datepicker/datepicker.component.d.ts +190 -0
- package/dist/src/components/datepicker/datepicker.component.js +673 -0
- package/dist/src/components/datepicker/datepicker.constant.d.ts +60 -0
- package/dist/src/components/datepicker/datepicker.constant.js +60 -0
- package/dist/src/components/datepicker/datepicker.style.d.ts +17 -0
- package/dist/src/components/datepicker/datepicker.style.js +453 -0
- package/dist/src/components/datepicker/datepicker.style.variables.d.ts +2 -0
- package/dist/src/components/datepicker/datepicker.style.variables.js +119 -0
- package/dist/src/components/datepicker/datepicker.types.d.ts +142 -0
- package/dist/src/components/datepicker/datepicker.types.js +75 -0
- package/dist/src/components/datepicker/index.d.ts +4 -0
- package/dist/src/components/datepicker/index.js +4 -0
- package/dist/src/components/datepicker/react.d.ts +16 -0
- package/dist/src/components/datepicker/react.js +23 -0
- package/dist/src/components/db-connection-select/bundle.js +308 -0
- package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +105 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.js +573 -0
- package/dist/src/components/db-connection-select/index.d.ts +7 -0
- package/dist/src/components/db-connection-select/index.js +7 -0
- package/dist/src/components/divider/bundle.js +143 -0
- package/dist/src/components/divider/bundle.js.gz +0 -0
- package/dist/src/components/divider/divider.component.d.ts +90 -0
- package/dist/src/components/divider/divider.component.js +168 -0
- package/dist/src/components/divider/divider.style.d.ts +3 -0
- package/dist/src/components/divider/divider.style.js +139 -0
- package/dist/src/components/divider/divider.types.d.ts +55 -0
- package/dist/src/components/divider/divider.types.js +6 -0
- package/dist/src/components/divider/index.d.ts +3 -0
- package/dist/src/components/divider/index.js +3 -0
- package/dist/src/components/divider/react.d.ts +3 -0
- package/dist/src/components/divider/react.js +10 -0
- package/dist/src/components/document/bundle.js +242 -0
- package/dist/src/components/document/bundle.js.gz +0 -0
- package/dist/src/components/document/document.component.d.ts +27 -0
- package/dist/src/components/document/document.component.js +136 -0
- package/dist/src/components/document/document.style.d.ts +3 -0
- package/dist/src/components/document/document.style.js +210 -0
- package/dist/src/components/document/document.types.d.ts +68 -0
- package/dist/src/components/document/document.types.js +7 -0
- package/dist/src/components/document/index.d.ts +3 -0
- package/dist/src/components/document/index.js +3 -0
- package/dist/src/components/document/react.d.ts +8 -0
- package/dist/src/components/document/react.js +15 -0
- package/dist/src/components/dropdown/bundle.js +528 -0
- package/dist/src/components/dropdown/bundle.js.gz +0 -0
- package/dist/src/components/dropdown/dropdown.component.d.ts +120 -0
- package/dist/src/components/dropdown/dropdown.component.js +390 -0
- package/dist/src/components/dropdown/dropdown.style.d.ts +2 -0
- package/dist/src/components/dropdown/dropdown.style.js +460 -0
- package/dist/src/components/dropdown/dropdown.types.d.ts +99 -0
- package/dist/src/components/dropdown/dropdown.types.js +2 -0
- package/dist/src/components/dropdown/index.d.ts +3 -0
- package/dist/src/components/dropdown/index.js +3 -0
- package/dist/src/components/dropdown/react.d.ts +7 -0
- package/dist/src/components/dropdown/react.js +14 -0
- package/dist/src/components/file-upload/bundle.js +472 -0
- package/dist/src/components/file-upload/bundle.js.gz +0 -0
- package/dist/src/components/file-upload/file-upload.component.d.ts +43 -0
- package/dist/src/components/file-upload/file-upload.component.js +398 -0
- package/dist/src/components/file-upload/index.d.ts +2 -0
- package/dist/src/components/file-upload/index.js +2 -0
- package/dist/src/components/file-upload/react.d.ts +7 -0
- package/dist/src/components/file-upload/react.js +14 -0
- package/dist/src/components/file-upload/styles.d.ts +2 -0
- package/dist/src/components/file-upload/styles.js +373 -0
- package/dist/src/components/file-upload/types.d.ts +11 -0
- package/dist/src/components/file-upload/types.js +2 -0
- package/dist/src/components/file-upload/utils.d.ts +6 -0
- package/dist/src/components/file-upload/utils.js +24 -0
- package/dist/src/components/flex/bundle.js +114 -0
- package/dist/src/components/flex/bundle.js.gz +0 -0
- package/dist/src/components/flex/flex.component.d.ts +89 -0
- package/dist/src/components/flex/flex.component.js +178 -0
- package/dist/src/components/flex/flex.style.d.ts +6 -0
- package/dist/src/components/flex/flex.style.js +101 -0
- package/dist/src/components/flex/flex.types.d.ts +63 -0
- package/dist/src/components/flex/flex.types.js +5 -0
- package/dist/src/components/flex/index.d.ts +3 -0
- package/dist/src/components/flex/index.js +3 -0
- package/dist/src/components/flex/react.d.ts +3 -0
- package/dist/src/components/flex/react.js +10 -0
- package/dist/src/components/form/bundle.js +98 -0
- package/dist/src/components/form/bundle.js.gz +0 -0
- package/dist/src/components/form/form.component.d.ts +279 -0
- package/dist/src/components/form/form.component.js +644 -0
- package/dist/src/components/form/form.style.d.ts +7 -0
- package/dist/src/components/form/form.style.js +68 -0
- package/dist/src/components/form/form.types.d.ts +92 -0
- package/dist/src/components/form/form.types.js +38 -0
- package/dist/src/components/form/index.d.ts +10 -0
- package/dist/src/components/form/index.js +13 -0
- package/dist/src/components/grid/bundle.js +202 -0
- package/dist/src/components/grid/bundle.js.gz +0 -0
- package/dist/src/components/grid/col.component.d.ts +103 -0
- package/dist/src/components/grid/col.component.js +253 -0
- package/dist/src/components/grid/col.style.d.ts +6 -0
- package/dist/src/components/grid/col.style.js +117 -0
- package/dist/src/components/grid/grid.types.d.ts +80 -0
- package/dist/src/components/grid/grid.types.js +16 -0
- package/dist/src/components/grid/index.d.ts +4 -0
- package/dist/src/components/grid/index.js +4 -0
- package/dist/src/components/grid/react.d.ts +5 -0
- package/dist/src/components/grid/react.js +17 -0
- package/dist/src/components/grid/row.component.d.ts +83 -0
- package/dist/src/components/grid/row.component.js +197 -0
- package/dist/src/components/grid/row.style.d.ts +6 -0
- package/dist/src/components/grid/row.style.js +68 -0
- package/dist/src/components/icon/bundle.js +340 -0
- package/dist/src/components/icon/bundle.js.gz +0 -0
- package/dist/src/components/icon/icon.component.d.ts +64 -0
- package/dist/src/components/icon/icon.component.js +207 -0
- package/dist/src/components/icon/icon.style.d.ts +2 -0
- package/dist/src/components/icon/icon.style.js +211 -0
- package/dist/src/components/icon/icon.types.d.ts +5 -0
- package/dist/src/components/icon/icon.types.js +2 -0
- package/dist/src/components/icon/icon.variables.d.ts +17 -0
- package/dist/src/components/icon/icon.variables.js +132 -0
- package/dist/src/components/icon/index.d.ts +2 -0
- package/dist/src/components/icon/index.js +2 -0
- package/dist/src/components/icon/react.d.ts +3 -0
- package/dist/src/components/icon/react.js +9 -0
- package/dist/src/components/iconpicker/bundle.js +2811 -0
- package/dist/src/components/iconpicker/bundle.js.gz +0 -0
- package/dist/src/components/iconpicker/icon-picker.component.d.ts +119 -0
- package/dist/src/components/iconpicker/icon-picker.component.js +337 -0
- package/dist/src/components/iconpicker/icon-picker.constant.d.ts +15 -0
- package/dist/src/components/iconpicker/icon-picker.constant.js +31 -0
- package/dist/src/components/iconpicker/icon-picker.style.d.ts +8 -0
- package/dist/src/components/iconpicker/icon-picker.style.js +216 -0
- package/dist/src/components/iconpicker/icon-picker.types.d.ts +49 -0
- package/dist/src/components/iconpicker/icon-picker.types.js +7 -0
- package/dist/src/components/iconpicker/index.d.ts +9 -0
- package/dist/src/components/iconpicker/index.js +9 -0
- package/dist/src/components/iconpicker/react.d.ts +14 -0
- package/dist/src/components/iconpicker/react.js +21 -0
- package/dist/src/components/image/bundle.js +98 -0
- package/dist/src/components/image/bundle.js.gz +0 -0
- package/dist/src/components/image/image.component.d.ts +31 -0
- package/dist/src/components/image/image.component.js +143 -0
- package/dist/src/components/image/image.style.d.ts +3 -0
- package/dist/src/components/image/image.style.js +83 -0
- package/dist/src/components/image/image.types.d.ts +68 -0
- package/dist/src/components/image/image.types.js +7 -0
- package/dist/src/components/image/index.d.ts +3 -0
- package/dist/src/components/image/index.js +3 -0
- package/dist/src/components/image/react.d.ts +8 -0
- package/dist/src/components/image/react.js +15 -0
- package/dist/src/components/input/bundle.js +930 -0
- package/dist/src/components/input/bundle.js.gz +0 -0
- package/dist/src/components/input/index.d.ts +3 -0
- package/dist/src/components/input/index.js +3 -0
- package/dist/src/components/input/input.component.d.ts +174 -0
- package/dist/src/components/input/input.component.js +490 -0
- package/dist/src/components/input/input.style.d.ts +2 -0
- package/dist/src/components/input/input.style.js +810 -0
- package/dist/src/components/input/input.types.d.ts +127 -0
- package/dist/src/components/input/input.types.js +75 -0
- package/dist/src/components/input/react.d.ts +9 -0
- package/dist/src/components/input/react.js +16 -0
- package/dist/src/components/input/validation.d.ts +3 -0
- package/dist/src/components/input/validation.js +3 -0
- package/dist/src/components/kv-secret-select/bundle.js +183 -0
- package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
- package/dist/src/components/kv-secret-select/index.d.ts +2 -0
- package/dist/src/components/kv-secret-select/index.js +2 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +83 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.js +360 -0
- package/dist/src/components/label/bundle.js +104 -0
- package/dist/src/components/label/bundle.js.gz +0 -0
- package/dist/src/components/label/index.d.ts +2 -0
- package/dist/src/components/label/index.js +2 -0
- package/dist/src/components/label/label.component.d.ts +18 -0
- package/dist/src/components/label/label.component.js +64 -0
- package/dist/src/components/label/label.style.d.ts +3 -0
- package/dist/src/components/label/label.style.js +70 -0
- package/dist/src/components/label/label.style.variables.d.ts +2 -0
- package/dist/src/components/label/label.style.variables.js +35 -0
- package/dist/src/components/label/label.types.d.ts +42 -0
- package/dist/src/components/label/label.types.js +2 -0
- package/dist/src/components/label/react.d.ts +339 -0
- package/dist/src/components/label/react.js +12 -0
- package/dist/src/components/layout/bundle.js +220 -0
- package/dist/src/components/layout/bundle.js.gz +0 -0
- package/dist/src/components/layout/content.component.d.ts +35 -0
- package/dist/src/components/layout/content.component.js +47 -0
- package/dist/src/components/layout/content.style.d.ts +2 -0
- package/dist/src/components/layout/content.style.js +17 -0
- package/dist/src/components/layout/footer.component.d.ts +38 -0
- package/dist/src/components/layout/footer.component.js +60 -0
- package/dist/src/components/layout/footer.style.d.ts +2 -0
- package/dist/src/components/layout/footer.style.js +17 -0
- package/dist/src/components/layout/header.component.d.ts +39 -0
- package/dist/src/components/layout/header.component.js +61 -0
- package/dist/src/components/layout/header.style.d.ts +2 -0
- package/dist/src/components/layout/header.style.js +19 -0
- package/dist/src/components/layout/index.d.ts +8 -0
- package/dist/src/components/layout/index.js +7 -0
- package/dist/src/components/layout/layout.component.d.ts +50 -0
- package/dist/src/components/layout/layout.component.js +89 -0
- package/dist/src/components/layout/layout.style.d.ts +2 -0
- package/dist/src/components/layout/layout.style.js +23 -0
- package/dist/src/components/layout/layout.types.d.ts +75 -0
- package/dist/src/components/layout/layout.types.js +12 -0
- package/dist/src/components/layout/react.d.ts +14 -0
- package/dist/src/components/layout/react.js +37 -0
- package/dist/src/components/layout/sider.component.d.ts +116 -0
- package/dist/src/components/layout/sider.component.js +273 -0
- package/dist/src/components/layout/sider.style.d.ts +2 -0
- package/dist/src/components/layout/sider.style.js +104 -0
- package/dist/src/components/menu/bundle.js +520 -0
- package/dist/src/components/menu/bundle.js.gz +0 -0
- package/dist/src/components/menu/index.d.ts +4 -0
- package/dist/src/components/menu/index.js +2 -0
- package/dist/src/components/menu/menu.component.d.ts +87 -0
- package/dist/src/components/menu/menu.component.js +596 -0
- package/dist/src/components/menu/menu.constants.d.ts +12 -0
- package/dist/src/components/menu/menu.constants.js +14 -0
- package/dist/src/components/menu/menu.style.d.ts +2 -0
- package/dist/src/components/menu/menu.style.js +372 -0
- package/dist/src/components/menu/menu.types.d.ts +66 -0
- package/dist/src/components/menu/menu.types.js +7 -0
- package/dist/src/components/menu/react.d.ts +5 -0
- package/dist/src/components/menu/react.js +12 -0
- package/dist/src/components/modal/bundle.js +442 -0
- package/dist/src/components/modal/bundle.js.gz +0 -0
- package/dist/src/components/modal/index.d.ts +10 -0
- package/dist/src/components/modal/index.js +10 -0
- package/dist/src/components/modal/modal-manager.d.ts +72 -0
- package/dist/src/components/modal/modal-manager.js +170 -0
- package/dist/src/components/modal/modal.component.d.ts +121 -0
- package/dist/src/components/modal/modal.component.js +461 -0
- package/dist/src/components/modal/modal.style.d.ts +9 -0
- package/dist/src/components/modal/modal.style.js +369 -0
- package/dist/src/components/modal/modal.types.d.ts +105 -0
- package/dist/src/components/modal/modal.types.js +93 -0
- package/dist/src/components/modal/react.d.ts +9 -0
- package/dist/src/components/modal/react.js +16 -0
- package/dist/src/components/panel/bundle.js +1075 -0
- package/dist/src/components/panel/bundle.js.gz +0 -0
- package/dist/src/components/panel/index.d.ts +9 -0
- package/dist/src/components/panel/index.js +9 -0
- package/dist/src/components/panel/panel.component.d.ts +199 -0
- package/dist/src/components/panel/panel.component.js +720 -0
- package/dist/src/components/panel/panel.style.d.ts +7 -0
- package/dist/src/components/panel/panel.style.js +497 -0
- package/dist/src/components/panel/panel.types.d.ts +94 -0
- package/dist/src/components/panel/panel.types.js +50 -0
- package/dist/src/components/panel/react.d.ts +11 -0
- package/dist/src/components/panel/react.js +18 -0
- package/dist/src/components/popconfirm/bundle.js +438 -0
- package/dist/src/components/popconfirm/bundle.js.gz +0 -0
- package/dist/src/components/popconfirm/index.d.ts +4 -0
- package/dist/src/components/popconfirm/index.js +4 -0
- package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +129 -0
- package/dist/src/components/popconfirm/popconfirm-manager.component.js +372 -0
- package/dist/src/components/popconfirm/popconfirm-manager.style.d.ts +2 -0
- package/dist/src/components/popconfirm/popconfirm-manager.style.js +137 -0
- package/dist/src/components/popconfirm/popconfirm.component.d.ts +179 -0
- package/dist/src/components/popconfirm/popconfirm.component.js +409 -0
- package/dist/src/components/popconfirm/popconfirm.style.d.ts +2 -0
- package/dist/src/components/popconfirm/popconfirm.style.js +207 -0
- package/dist/src/components/popconfirm/popconfirm.types.d.ts +104 -0
- package/dist/src/components/popconfirm/popconfirm.types.js +2 -0
- package/dist/src/components/popconfirm/react.d.ts +7 -0
- package/dist/src/components/popconfirm/react.js +14 -0
- package/dist/src/components/radio/bundle.js +180 -0
- package/dist/src/components/radio/bundle.js.gz +0 -0
- package/dist/src/components/radio/index.d.ts +3 -0
- package/dist/src/components/radio/index.js +3 -0
- package/dist/src/components/radio/radio.component.d.ts +70 -0
- package/dist/src/components/radio/radio.component.js +187 -0
- package/dist/src/components/radio/radio.style.d.ts +7 -0
- package/dist/src/components/radio/radio.style.js +149 -0
- package/dist/src/components/radio/radio.types.d.ts +14 -0
- package/dist/src/components/radio/radio.types.js +15 -0
- package/dist/src/components/radio/react.d.ts +12 -0
- package/dist/src/components/radio/react.js +19 -0
- package/dist/src/components/radio-group/bundle.js +430 -0
- package/dist/src/components/radio-group/bundle.js.gz +0 -0
- package/dist/src/components/radio-group/index.d.ts +3 -0
- package/dist/src/components/radio-group/index.js +3 -0
- package/dist/src/components/radio-group/radio-group.component.d.ts +165 -0
- package/dist/src/components/radio-group/radio-group.component.js +437 -0
- package/dist/src/components/radio-group/radio-group.style.d.ts +7 -0
- package/dist/src/components/radio-group/radio-group.style.js +270 -0
- package/dist/src/components/radio-group/radio-group.types.d.ts +39 -0
- package/dist/src/components/radio-group/radio-group.types.js +29 -0
- package/dist/src/components/radio-group/radio.constant.d.ts +2 -0
- package/dist/src/components/radio-group/radio.constant.js +2 -0
- package/dist/src/components/radio-group/react.d.ts +10 -0
- package/dist/src/components/radio-group/react.js +17 -0
- package/dist/src/components/select/bundle.js +721 -0
- package/dist/src/components/select/bundle.js.gz +0 -0
- package/dist/src/components/select/index.d.ts +17 -0
- package/dist/src/components/select/index.js +20 -0
- package/dist/src/components/select/react.d.ts +19 -0
- package/dist/src/components/select/react.js +26 -0
- package/dist/src/components/select/select.component.d.ts +359 -0
- package/dist/src/components/select/select.component.js +775 -0
- package/dist/src/components/select/select.constant.d.ts +133 -0
- package/dist/src/components/select/select.constant.js +136 -0
- package/dist/src/components/select/select.style.d.ts +2 -0
- package/dist/src/components/select/select.style.js +533 -0
- package/dist/src/components/select/select.types.d.ts +100 -0
- package/dist/src/components/select/select.types.js +73 -0
- package/dist/src/components/skeleton/bundle.js +293 -0
- package/dist/src/components/skeleton/bundle.js.gz +0 -0
- package/dist/src/components/skeleton/index.d.ts +3 -0
- package/dist/src/components/skeleton/index.js +3 -0
- package/dist/src/components/skeleton/react.d.ts +3 -0
- package/dist/src/components/skeleton/react.js +10 -0
- package/dist/src/components/skeleton/skeleton.component.d.ts +165 -0
- package/dist/src/components/skeleton/skeleton.component.js +387 -0
- package/dist/src/components/skeleton/skeleton.style.d.ts +2 -0
- package/dist/src/components/skeleton/skeleton.style.js +224 -0
- package/dist/src/components/skeleton/skeleton.types.d.ts +82 -0
- package/dist/src/components/skeleton/skeleton.types.js +2 -0
- package/dist/src/components/slider-input/bundle.js +241 -0
- package/dist/src/components/slider-input/bundle.js.gz +0 -0
- package/dist/src/components/slider-input/index.d.ts +3 -0
- package/dist/src/components/slider-input/index.js +3 -0
- package/dist/src/components/slider-input/react.d.ts +340 -0
- package/dist/src/components/slider-input/react.js +13 -0
- package/dist/src/components/slider-input/slider-input.component.d.ts +38 -0
- package/dist/src/components/slider-input/slider-input.component.js +191 -0
- package/dist/src/components/slider-input/slider-input.style.d.ts +3 -0
- package/dist/src/components/slider-input/slider-input.style.js +171 -0
- package/dist/src/components/slider-input/slider-input.style.variables.d.ts +2 -0
- package/dist/src/components/slider-input/slider-input.style.variables.js +59 -0
- package/dist/src/components/slider-input/slider-input.types.d.ts +21 -0
- package/dist/src/components/slider-input/slider-input.types.js +6 -0
- package/dist/src/components/table/bundle.js +987 -0
- package/dist/src/components/table/bundle.js.gz +0 -0
- package/dist/src/components/table/index.d.ts +2 -0
- package/dist/src/components/table/index.js +2 -0
- package/dist/src/components/table/react.d.ts +7 -0
- package/dist/src/components/table/react.js +14 -0
- package/dist/src/components/table/table.component.d.ts +140 -0
- package/dist/src/components/table/table.component.js +433 -0
- package/dist/src/components/table/table.style.d.ts +3 -0
- package/dist/src/components/table/table.style.js +702 -0
- package/dist/src/components/table/table.types.d.ts +103 -0
- package/dist/src/components/table/table.types.js +2 -0
- package/dist/src/components/tabs/bundle.js +1782 -0
- package/dist/src/components/tabs/bundle.js.gz +0 -0
- package/dist/src/components/tabs/index.d.ts +9 -0
- package/dist/src/components/tabs/index.js +10 -0
- package/dist/src/components/tabs/react.d.ts +50 -0
- package/dist/src/components/tabs/react.js +50 -0
- package/dist/src/components/tabs/tabs.component.d.ts +100 -0
- package/dist/src/components/tabs/tabs.component.js +461 -0
- package/dist/src/components/tabs/tabs.constant.d.ts +20 -0
- package/dist/src/components/tabs/tabs.constant.js +21 -0
- package/dist/src/components/tabs/tabs.style.d.ts +9 -0
- package/dist/src/components/tabs/tabs.style.js +577 -0
- package/dist/src/components/tabs/tabs.types.d.ts +241 -0
- package/dist/src/components/tabs/tabs.types.js +13 -0
- package/dist/src/components/tag/bundle.js +108 -0
- package/dist/src/components/tag/bundle.js.gz +0 -0
- package/dist/src/components/tag/index.d.ts +2 -0
- package/dist/src/components/tag/index.js +2 -0
- package/dist/src/components/tag/react.d.ts +6 -0
- package/dist/src/components/tag/react.js +13 -0
- package/dist/src/components/tag/tag.component.d.ts +57 -0
- package/dist/src/components/tag/tag.component.js +157 -0
- package/dist/src/components/tag/tag.style.d.ts +7 -0
- package/dist/src/components/tag/tag.style.js +88 -0
- package/dist/src/components/tag/tag.types.d.ts +28 -0
- package/dist/src/components/tag/tag.types.js +7 -0
- package/dist/src/components/textarea/bundle.js +404 -0
- package/dist/src/components/textarea/bundle.js.gz +0 -0
- package/dist/src/components/textarea/index.d.ts +8 -0
- package/dist/src/components/textarea/index.js +7 -0
- package/dist/src/components/textarea/react.d.ts +9 -0
- package/dist/src/components/textarea/react.js +16 -0
- package/dist/src/components/textarea/textarea.component.d.ts +203 -0
- package/dist/src/components/textarea/textarea.component.js +657 -0
- package/dist/src/components/textarea/textarea.style.d.ts +59 -0
- package/dist/src/components/textarea/textarea.style.js +386 -0
- package/dist/src/components/textarea/textarea.types.d.ts +102 -0
- package/dist/src/components/textarea/textarea.types.js +14 -0
- package/dist/src/components/timeline/bundle.js +261 -0
- package/dist/src/components/timeline/bundle.js.gz +0 -0
- package/dist/src/components/timeline/index.d.ts +2 -0
- package/dist/src/components/timeline/index.js +2 -0
- package/dist/src/components/timeline/react.d.ts +3 -0
- package/dist/src/components/timeline/react.js +10 -0
- package/dist/src/components/timeline/timeline.component.d.ts +109 -0
- package/dist/src/components/timeline/timeline.component.js +214 -0
- package/dist/src/components/timeline/timeline.style.d.ts +14 -0
- package/dist/src/components/timeline/timeline.style.js +234 -0
- package/dist/src/components/timeline/timeline.types.d.ts +62 -0
- package/dist/src/components/timeline/timeline.types.js +7 -0
- package/dist/src/components/timepicker/bundle.js +810 -0
- package/dist/src/components/timepicker/bundle.js.gz +0 -0
- package/dist/src/components/timepicker/index.d.ts +12 -0
- package/dist/src/components/timepicker/index.js +12 -0
- package/dist/src/components/timepicker/timepicker.component.d.ts +115 -0
- package/dist/src/components/timepicker/timepicker.component.js +743 -0
- package/dist/src/components/timepicker/timepicker.constants.d.ts +85 -0
- package/dist/src/components/timepicker/timepicker.constants.js +85 -0
- package/dist/src/components/timepicker/timepicker.style.d.ts +7 -0
- package/dist/src/components/timepicker/timepicker.style.js +568 -0
- package/dist/src/components/timepicker/timepicker.style.variables.d.ts +2 -0
- package/dist/src/components/timepicker/timepicker.style.variables.js +122 -0
- package/dist/src/components/timepicker/timepicker.types.d.ts +161 -0
- package/dist/src/components/timepicker/timepicker.types.js +125 -0
- package/dist/src/components/toast/bundle.js +393 -0
- package/dist/src/components/toast/bundle.js.gz +0 -0
- package/dist/src/components/toast/index.d.ts +9 -0
- package/dist/src/components/toast/index.js +9 -0
- package/dist/src/components/toast/react.d.ts +7 -0
- package/dist/src/components/toast/react.js +19 -0
- package/dist/src/components/toast/toast.component.d.ts +152 -0
- package/dist/src/components/toast/toast.component.js +368 -0
- package/dist/src/components/toast/toast.style.d.ts +14 -0
- package/dist/src/components/toast/toast.style.js +338 -0
- package/dist/src/components/toast/toast.types.d.ts +124 -0
- package/dist/src/components/toast/toast.types.js +9 -0
- package/dist/src/components/tooltips/bundle.js +123 -0
- package/dist/src/components/tooltips/bundle.js.gz +0 -0
- package/dist/src/components/tooltips/index.d.ts +2 -0
- package/dist/src/components/tooltips/index.js +2 -0
- package/dist/src/components/tooltips/react.d.ts +1 -0
- package/dist/src/components/tooltips/react.js +2 -0
- package/dist/src/components/tooltips/tooltips.component.d.ts +33 -0
- package/dist/src/components/tooltips/tooltips.component.js +313 -0
- package/dist/src/components/tooltips/tooltips.constant.d.ts +13 -0
- package/dist/src/components/tooltips/tooltips.constant.js +15 -0
- package/dist/src/components/tooltips/tooltips.style.d.ts +2 -0
- package/dist/src/components/tooltips/tooltips.style.js +103 -0
- package/dist/src/components/tooltips/tooltips.variables.d.ts +2 -0
- package/dist/src/components/tooltips/tooltips.variables.js +14 -0
- package/dist/src/components/video/bundle.js +171 -0
- package/dist/src/components/video/bundle.js.gz +0 -0
- package/dist/src/components/video/index.d.ts +3 -0
- package/dist/src/components/video/index.js +3 -0
- package/dist/src/components/video/react.d.ts +10 -0
- package/dist/src/components/video/react.js +17 -0
- package/dist/src/components/video/video.component.d.ts +34 -0
- package/dist/src/components/video/video.component.js +184 -0
- package/dist/src/components/video/video.style.d.ts +3 -0
- package/dist/src/components/video/video.style.js +124 -0
- package/dist/src/components/video/video.types.d.ts +80 -0
- package/dist/src/components/video/video.types.js +7 -0
- package/package.json +215 -0
- package/packages/common/README.md +137 -0
- package/packages/common/dist/LICENSE +28 -0
- package/packages/common/dist/README.md +137 -0
- package/packages/common/dist/VERSIONS.md +4 -0
- package/packages/common/dist/constants/index.d.ts +2 -0
- package/packages/common/dist/constants/index.d.ts.map +1 -0
- package/packages/common/dist/constants/index.js +2 -0
- package/packages/common/dist/constants/index.js.map +1 -0
- package/packages/common/dist/constants.d.ts +17 -0
- package/packages/common/dist/constants.d.ts.map +1 -0
- package/packages/common/dist/constants.js +7 -0
- package/packages/common/dist/constants.js.map +1 -0
- package/packages/common/dist/controllers/index.d.ts +2 -0
- package/packages/common/dist/controllers/index.d.ts.map +1 -0
- package/packages/common/dist/controllers/index.js +2 -0
- package/packages/common/dist/controllers/index.js.map +1 -0
- package/packages/common/dist/controllers.d.ts +21 -0
- package/packages/common/dist/controllers.d.ts.map +1 -0
- package/packages/common/dist/controllers.js +22 -0
- package/packages/common/dist/controllers.js.map +1 -0
- package/packages/common/dist/index.d.ts +25 -0
- package/packages/common/dist/index.d.ts.map +1 -0
- package/packages/common/dist/index.js +27 -0
- package/packages/common/dist/index.js.map +1 -0
- package/packages/common/dist/mixins/index.d.ts +2 -0
- package/packages/common/dist/mixins/index.d.ts.map +1 -0
- package/packages/common/dist/mixins/index.js +3 -0
- package/packages/common/dist/mixins/index.js.map +1 -0
- package/packages/common/dist/mixins.d.ts +26 -0
- package/packages/common/dist/mixins.d.ts.map +1 -0
- package/packages/common/dist/mixins.js +29 -0
- package/packages/common/dist/mixins.js.map +1 -0
- package/packages/common/dist/shared/base-mixin.d.ts +42 -0
- package/packages/common/dist/shared/base-mixin.d.ts.map +1 -0
- package/packages/common/dist/shared/base-mixin.js +38 -0
- package/packages/common/dist/shared/base-mixin.js.map +1 -0
- package/packages/common/dist/shared/constants.d.ts +1 -0
- package/packages/common/dist/shared/constants.d.ts.map +1 -0
- package/packages/common/dist/shared/constants.js +2 -0
- package/packages/common/dist/shared/constants.js.map +1 -0
- package/packages/common/dist/shared/controllers/base-validation.controller.d.ts +81 -0
- package/packages/common/dist/shared/controllers/base-validation.controller.d.ts.map +1 -0
- package/packages/common/dist/shared/controllers/base-validation.controller.js +104 -0
- package/packages/common/dist/shared/controllers/base-validation.controller.js.map +1 -0
- package/packages/common/dist/shared/controllers/base.controller.d.ts +76 -0
- package/packages/common/dist/shared/controllers/base.controller.d.ts.map +1 -0
- package/packages/common/dist/shared/controllers/base.controller.js +129 -0
- package/packages/common/dist/shared/controllers/base.controller.js.map +1 -0
- package/packages/common/dist/shared/controllers/dropdown.controller.d.ts +77 -0
- package/packages/common/dist/shared/controllers/dropdown.controller.d.ts.map +1 -0
- package/packages/common/dist/shared/controllers/dropdown.controller.js +341 -0
- package/packages/common/dist/shared/controllers/dropdown.controller.js.map +1 -0
- package/packages/common/dist/shared/controllers/dropdown.interface.d.ts +37 -0
- package/packages/common/dist/shared/controllers/dropdown.interface.d.ts.map +1 -0
- package/packages/common/dist/shared/controllers/dropdown.interface.js +2 -0
- package/packages/common/dist/shared/controllers/dropdown.interface.js.map +1 -0
- package/packages/common/dist/shared/controllers/index.d.ts +6 -0
- package/packages/common/dist/shared/controllers/index.d.ts.map +1 -0
- package/packages/common/dist/shared/controllers/index.js +6 -0
- package/packages/common/dist/shared/controllers/index.js.map +1 -0
- package/packages/common/dist/shared/controllers/theme.controller.d.ts +48 -0
- package/packages/common/dist/shared/controllers/theme.controller.d.ts.map +1 -0
- package/packages/common/dist/shared/controllers/theme.controller.js +133 -0
- package/packages/common/dist/shared/controllers/theme.controller.js.map +1 -0
- package/packages/common/dist/shared/dependency-mixin.d.ts +37 -0
- package/packages/common/dist/shared/dependency-mixin.d.ts.map +1 -0
- package/packages/common/dist/shared/dependency-mixin.js +141 -0
- package/packages/common/dist/shared/dependency-mixin.js.map +1 -0
- package/packages/common/dist/shared/event-handler-mixin.d.ts +64 -0
- package/packages/common/dist/shared/event-handler-mixin.d.ts.map +1 -0
- package/packages/common/dist/shared/event-handler-mixin.js +95 -0
- package/packages/common/dist/shared/event-handler-mixin.js.map +1 -0
- package/packages/common/dist/shared/index.d.ts +13 -0
- package/packages/common/dist/shared/index.d.ts.map +1 -0
- package/packages/common/dist/shared/index.js +17 -0
- package/packages/common/dist/shared/index.js.map +1 -0
- package/packages/common/dist/shared/render-utils.d.ts +103 -0
- package/packages/common/dist/shared/render-utils.d.ts.map +1 -0
- package/packages/common/dist/shared/render-utils.js +132 -0
- package/packages/common/dist/shared/render-utils.js.map +1 -0
- package/packages/common/dist/shared/theme-mixin.d.ts +78 -0
- package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -0
- package/packages/common/dist/shared/theme-mixin.js +194 -0
- package/packages/common/dist/shared/theme-mixin.js.map +1 -0
- package/packages/common/dist/shared/themes.d.ts +44 -0
- package/packages/common/dist/shared/themes.d.ts.map +1 -0
- package/packages/common/dist/shared/themes.js +85 -0
- package/packages/common/dist/shared/themes.js.map +1 -0
- package/packages/common/dist/shared/utils.d.ts +60 -0
- package/packages/common/dist/shared/utils.d.ts.map +1 -0
- package/packages/common/dist/shared/utils.js +85 -0
- package/packages/common/dist/shared/utils.js.map +1 -0
- package/packages/common/dist/shared/validation.types.d.ts +108 -0
- package/packages/common/dist/shared/validation.types.d.ts.map +1 -0
- package/packages/common/dist/shared/validation.types.js +17 -0
- package/packages/common/dist/shared/validation.types.js.map +1 -0
- package/packages/common/dist/themes/index.d.ts +2 -0
- package/packages/common/dist/themes/index.d.ts.map +1 -0
- package/packages/common/dist/themes/index.js +2 -0
- package/packages/common/dist/themes/index.js.map +1 -0
- package/packages/common/dist/themes.d.ts +22 -0
- package/packages/common/dist/themes.d.ts.map +1 -0
- package/packages/common/dist/themes.js +23 -0
- package/packages/common/dist/themes.js.map +1 -0
- package/packages/common/dist/utils/index.d.ts +2 -0
- package/packages/common/dist/utils/index.d.ts.map +1 -0
- package/packages/common/dist/utils/index.js +2 -0
- package/packages/common/dist/utils/index.js.map +1 -0
- package/packages/common/dist/utils.d.ts +22 -0
- package/packages/common/dist/utils.d.ts.map +1 -0
- package/packages/common/dist/utils.js +24 -0
- package/packages/common/dist/utils.js.map +1 -0
- package/packages/themes/README.md +146 -0
- package/packages/themes/dist/README.md +146 -0
- package/packages/themes/dist/carbon.css +2987 -0
- package/packages/themes/dist/default.css +2757 -0
- package/packages/themes/dist/editor.css +1063 -0
- package/packages/themes/dist/index.cjs +46 -0
- package/packages/themes/dist/index.js +46 -0
- package/packages/themes/dist/package.json +59 -0
|
@@ -0,0 +1,810 @@
|
|
|
1
|
+
import{css as e,LitElement as i,html as r,nothing as t}from"lit";import{property as o,state as a,customElement as c}from"lit/decorators.js";import{classMap as l}from"lit/directives/class-map.js";import{NuralyUIBaseMixin as n}from"@nuralyui/common/mixins";import{renderLabel as s}from"@nuralyui/common/utils";import{SharedDropdownController as p}from"@nuralyui/common/controllers";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
5
|
+
* SPDX-License-Identifier: MIT
|
|
6
|
+
*/var m,u,d,h,k,b,v,y;!function(e){e.TwentyFourHour="24h",e.TwelveHour="12h"}(m||(m={})),function(e){e.Hours="hours",e.Minutes="minutes",e.Seconds="seconds"}(u||(u={})),function(e){e.Small="small",e.Medium="medium",e.Large="large"}(d||(d={})),function(e){e.Default="default",e.Outlined="outlined",e.Filled="filled"}(h||(h={})),function(e){e.Default="default",e.Error="error",e.Warning="warning",e.Success="success"}(k||(k={})),function(e){e.Bottom="bottom",e.Top="top",e.Auto="auto"}(b||(b={})),function(e){e[e.One=1]="One",e[e.Five=5]="Five",e[e.Ten=10]="Ten",e[e.Fifteen=15]="Fifteen",e[e.Thirty=30]="Thirty"}(v||(v={})),function(e){e.AM="AM",e.PM="PM"}(y||(y={}));const f={[m.TwentyFourHour]:"HH:mm",[m.TwelveHour]:"hh:mm A"},g={[m.TwentyFourHour]:"HH:mm:ss",[m.TwelveHour]:"hh:mm:ss A"},_={HOURS_24:24,HOURS_12:12,MINUTES:60,SECONDS:60,DEFAULT_STEP:1,DEFAULT_MINUTE_INTERVAL:1,DEFAULT_SECOND_INTERVAL:1},x={TIME_CHANGE:"nr-time-change",FOCUS:"nr-focus",BLUR:"nr-blur",CLOCK_OPEN:"nr-clock-open",CLOCK_CLOSE:"nr-clock-close",VALIDATION:"nr-validation"},w={hours:0,minutes:0,seconds:0,period:y.AM},T={format:m.TwentyFourHour,showSeconds:!1,minuteInterval:1,secondInterval:1,use12HourClock:!1},S="HH:mm",$="HH:mm:ss",C="hh:mm A",M="hh:mm:ss A",E="time-input-field",O="time-picker-clock-container",H={TWENTY_FOUR_HOUR:/^([01]?[0-9]|2[0-3]):([0-5]?[0-9])(:([0-5]?[0-9]))?$/,TWELVE_HOUR:/^(0?[1-9]|1[0-2]):([0-5]?[0-9])(:([0-5]?[0-9]))?\s?(AM|PM|am|pm)$/},z={MIN_HOUR_24:0,MAX_HOUR_24:23,MIN_HOUR_12:1,MAX_HOUR_12:12,MIN_MINUTE:0,MAX_MINUTE:59,MIN_SECOND:0,MAX_SECOND:59},N={HOURS:v.One,MINUTES:v.One,SECONDS:v.One},A={CONTAINER:"time-picker",INPUT:"time-picker__input",CLOCK:"time-picker__clock",DROPDOWN:"time-picker__dropdown",HOUR:"time-picker__hour",MINUTE:"time-picker__minute",SECOND:"time-picker__second",PERIOD:"time-picker__period",BUTTON:"time-picker__button",SEPARATOR:"time-picker__separator"},I={RADIUS:100,CENTER:50,HOUR_HAND_LENGTH:30,MINUTE_HAND_LENGTH:40,SECOND_HAND_LENGTH:45};
|
|
7
|
+
/**
|
|
8
|
+
* @license
|
|
9
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
10
|
+
* SPDX-License-Identifier: MIT
|
|
11
|
+
*/
|
|
12
|
+
class D{static createTimeValue(e,i,r=0,t){return{hours:Math.max(0,Math.min(e,23)),minutes:Math.max(0,Math.min(i,59)),seconds:Math.max(0,Math.min(r,59)),period:t}}static parseTimeString(e,i=m.TwentyFourHour){if(!(null==e?void 0:e.trim()))return null;const r=e.trim().toUpperCase();return i===m.TwelveHour?this.parse12HourTime(r):this.parse24HourTime(r)}static parse24HourTime(e){const i=e.match(/^(\d{1,2}):(\d{2})(?::(\d{2}))?$/);if(!i)return null;const r=Number.parseInt(i[1],10),t=Number.parseInt(i[2],10),o=i[3]?Number.parseInt(i[3],10):0;return this.isValidTime24(r,t,o)?this.createTimeValue(r,t,o):null}static parse12HourTime(e){const i=e.match(/^(\d{1,2}):(\d{2})(?::(\d{2}))?\s?(AM|PM)$/);if(!i)return null;let r=Number.parseInt(i[1],10);const t=Number.parseInt(i[2],10),o=i[3]?Number.parseInt(i[3],10):0,a=i[4];return this.isValidTime12(r,t,o)?(a===y.PM&&12!==r?r+=12:a===y.AM&&12===r&&(r=0),this.createTimeValue(r,t,o,a)):null}static formatTimeValue(e,i=m.TwentyFourHour,r=!1){return e?i===m.TwelveHour?this.format12HourTime(e,r):this.format24HourTime(e,r):""}static format24HourTime(e,i){const r=e.hours.toString().padStart(2,"0"),t=e.minutes.toString().padStart(2,"0");if(i){return`${r}:${t}:${e.seconds.toString().padStart(2,"0")}`}return`${r}:${t}`}static format12HourTime(e,i){let r=e.hours;const t=e.minutes.toString().padStart(2,"0"),o=r>=12?y.PM:y.AM;0===r?r=12:r>12&&(r-=12);const a=r.toString();if(i){return`${a}:${t}:${e.seconds.toString().padStart(2,"0")} ${o}`}return`${a}:${t} ${o}`}static getCurrentTime(){const e=new Date;return this.createTimeValue(e.getHours(),e.getMinutes(),e.getSeconds())}static compareTime(e,i){return 3600*e.hours+60*e.minutes+e.seconds-(3600*i.hours+60*i.minutes+i.seconds)}static isTimeEqual(e,i){return 0===this.compareTime(e,i)}static isValidTime24(e,i,r=0){return e>=z.MIN_HOUR_24&&e<=z.MAX_HOUR_24&&i>=z.MIN_MINUTE&&i<=z.MAX_MINUTE&&r>=z.MIN_SECOND&&r<=z.MAX_SECOND}static isValidTime12(e,i,r=0){return e>=z.MIN_HOUR_12&&e<=z.MAX_HOUR_12&&i>=z.MIN_MINUTE&&i<=z.MAX_MINUTE&&r>=z.MIN_SECOND&&r<=z.MAX_SECOND}static addTime(e,i,r,t=0){let o=3600*e.hours+60*e.minutes+e.seconds;o+=3600*i+60*r+t,o=(o%86400+86400)%86400;const a=Math.floor(o/3600),c=Math.floor(o%3600/60),l=o%60;return this.createTimeValue(a,c,l)}static generateTimeOptions(e=15,i=m.TwentyFourHour,r=!1){const t=[];for(let o=0;o<24;o++)for(let a=0;a<60;a+=e){const e=this.createTimeValue(o,a,0),c=this.formatTimeValue(e,i,r);t.push({value:c,label:c})}return t}static roundToInterval(e,i){const r=60*e.hours+e.minutes,t=Math.round(r/i)*i,o=Math.floor(t/60)%24,a=t%60;return this.createTimeValue(o,a,e.seconds)}static isTimeInRange(e,i,r){return!(i&&this.compareTime(e,i)<0)&&!(r&&this.compareTime(e,r)>0)}static dateToTimeValue(e){return this.createTimeValue(e.getHours(),e.getMinutes(),e.getSeconds())}static timeValueToDate(e,i){const r=i?new Date(i):new Date;return r.setHours(e.hours,e.minutes,e.seconds,0),r}}
|
|
13
|
+
/**
|
|
14
|
+
* @license
|
|
15
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
16
|
+
* SPDX-License-Identifier: MIT
|
|
17
|
+
*/class j{constructor(e){this.host=e,this.selectedTime=null}selectTime(e){if(!this.host.validateTime(e))return;const i=this.selectedTime;this.selectedTime=Object.assign({},e),this.dispatchTimeChangeEvent(e,i),this.host.requestUpdate()}getSelectedTime(){return this.selectedTime?Object.assign({},this.selectedTime):null}clearSelection(){const e=this.selectedTime;this.selectedTime=null,e&&(this.dispatchTimeChangeEvent(null,e),this.host.requestUpdate())}isTimeSelected(e){return!!this.selectedTime&&D.isTimeEqual(e,this.selectedTime)}setTimeInternal(e){this.selectedTime=e?Object.assign({},e):null}updateTime(e){if(this.selectedTime)this.selectedTime=Object.assign(Object.assign({},this.selectedTime),e);else{const i=D.getCurrentTime();this.selectedTime=Object.assign(Object.assign({},i),e)}this.host.validateTime(this.selectedTime)&&(this.dispatchTimeChangeEvent(this.selectedTime,null),this.host.requestUpdate())}incrementTime(e,i=1){let r;switch(this.selectedTime||(this.selectedTime=D.getCurrentTime()),e){case"hours":r=D.addTime(this.selectedTime,i,0,0);break;case"minutes":r=D.addTime(this.selectedTime,0,i,0);break;case"seconds":r=D.addTime(this.selectedTime,0,0,i);break;default:return}this.selectTime(r)}decrementTime(e,i=1){this.incrementTime(e,-i)}setTimeFromString(e){const i=this.host.getConfig(),r=D.parseTimeString(e,i.format);return!(!r||!this.host.validateTime(r))&&(this.selectTime(r),!0)}getFormattedTime(){return this.selectedTime?this.host.formatTime(this.selectedTime):""}dispatchTimeChangeEvent(e,i){const r=this.host;if(!r.dispatchEvent)return;const t={value:e?this.host.formatTime(e):"",timeValue:e,previousValue:i?this.host.formatTime(i):"",previousTimeValue:i},o=new CustomEvent(x.TIME_CHANGE,{detail:t,bubbles:!0,composed:!0});r.dispatchEvent(o)}reset(){this.clearSelection()}setToCurrentTime(){const e=D.getCurrentTime();this.selectTime(e)}roundToInterval(e){if(!this.selectedTime)return;const i=D.roundToInterval(this.selectedTime,e);this.selectTime(i)}}
|
|
18
|
+
/**
|
|
19
|
+
* @license
|
|
20
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
21
|
+
* SPDX-License-Identifier: MIT
|
|
22
|
+
*/class U{constructor(e){this.host=e,this.constraints={}}setConstraints(e){this.constraints=Object.assign({},e)}getConstraints(){return Object.assign({},this.constraints)}validateConstraints(e){return this.isTimeInBounds(e)&&!this.isTimeDisabled(e)&&this.isTimeEnabled(e)}isTimeInBounds(e){let i=null,r=null;if(this.constraints.minTime){const e=this.host.getConfig();i=D.parseTimeString(this.constraints.minTime,e.format)}if(this.constraints.maxTime){const e=this.host.getConfig();r=D.parseTimeString(this.constraints.maxTime,e.format)}return D.isTimeInRange(e,i,r)}isTimeDisabled(e){if(!this.constraints.disabledTimes||0===this.constraints.disabledTimes.length)return!1;const i=this.host.formatTime(e);return this.constraints.disabledTimes.includes(i)}isTimeEnabled(e){if(!this.constraints.enabledTimes||0===this.constraints.enabledTimes.length)return!0;const i=this.host.formatTime(e);return this.constraints.enabledTimes.includes(i)}getValidationMessage(e){return this.isTimeInBounds(e)?this.isTimeDisabled(e)?"This time is not available":this.isTimeEnabled(e)?"":"This time is not in the allowed time range":this.getBoundsValidationMessage(e)}getBoundsValidationMessage(e){const i=this.host.getConfig();let r="";if(this.constraints.minTime&&this.constraints.maxTime)r=`Time must be between ${this.constraints.minTime} and ${this.constraints.maxTime}`;else if(this.constraints.minTime){const t=D.parseTimeString(this.constraints.minTime,i.format);t&&D.compareTime(e,t)<0&&(r=`Time must be after ${this.constraints.minTime}`)}else if(this.constraints.maxTime){const t=D.parseTimeString(this.constraints.maxTime,i.format);t&&D.compareTime(e,t)>0&&(r=`Time must be before ${this.constraints.maxTime}`)}return r}validateTimeFormat(e){const i=this.host.getConfig();return null!==D.parseTimeString(e,i.format)}getValidationResult(e){const i=[];return this.isTimeInBounds(e)||i.push(this.getBoundsValidationMessage(e)),this.isTimeDisabled(e)&&i.push("This time is disabled"),this.isTimeEnabled(e)||i.push("This time is not in the allowed range"),{isValid:0===i.length,message:i.length>0?i[0]:"",errors:i}}findNearestValidTime(e){if(this.validateConstraints(e))return e;for(let i=1;i<=60;i++){const r=D.addTime(e,0,i,0);if(this.validateConstraints(r))return r;const t=D.addTime(e,0,-i,0);if(this.validateConstraints(t))return t}return null}isCurrentSelectionValid(){const e=this.host.getCurrentTime();return this.validateConstraints(e)}setMinTime(e){this.constraints.minTime=e||void 0}setMaxTime(e){this.constraints.maxTime=e||void 0}setDisabledTimes(e){this.constraints.disabledTimes=[...e]}setEnabledTimes(e){this.constraints.enabledTimes=[...e]}clearConstraints(){this.constraints={}}}
|
|
23
|
+
/**
|
|
24
|
+
* @license
|
|
25
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
26
|
+
* SPDX-License-Identifier: MIT
|
|
27
|
+
*/class R{constructor(e){this.host=e}formatForDisplay(e){const i=this.host.getConfig();return D.formatTimeValue(e,i.format,i.showSeconds)}formatForInput(e){return this.formatForDisplay(e)}parseInputValue(e){const i=this.host.getConfig();return D.parseTimeString(e,i.format)}getFormatPattern(){const e=this.host.getConfig();return e.format===m.TwelveHour?e.showSeconds?M:C:e.showSeconds?$:S}getPlaceholder(){const e=this.host.getConfig();return e.format===m.TwelveHour?e.showSeconds?"hh:mm:ss AM/PM":"hh:mm AM/PM":e.showSeconds?"HH:mm:ss":"HH:mm"}formatTimeComponent(e,i=2){return e.toString().padStart(i,"0")}formatHours(e){if(this.host.getConfig().format===m.TwelveHour){let i=e;return 0===i?i=12:i>12&&(i-=12),i.toString()}return this.formatTimeComponent(e)}formatMinutes(e){return this.formatTimeComponent(e)}formatSeconds(e){return this.formatTimeComponent(e)}getPeriod(e){return e>=12?y.PM:y.AM}formatTimeParts(e){const i=this.host.getConfig();return{hours:this.formatHours(e.hours),minutes:this.formatMinutes(e.minutes),seconds:this.formatSeconds(e.seconds),period:i.format===m.TwelveHour?this.getPeriod(e.hours):void 0}}parseTimeParts(e){const i=this.host.getConfig(),r=D.parseTimeString(e,i.format);return r?{hours:r.hours,minutes:r.minutes,seconds:r.seconds,period:i.format===m.TwelveHour?this.getPeriod(r.hours):void 0}:null}getTimeSeparator(){return":"}isValidFormat(e){const i=D.createTimeValue(12,30,45);try{const e=this.formatForDisplay(i);return null!==this.parseInputValue(e)}catch(e){return!1}}getFormatExamples(){const e=this.host.getConfig();return[D.createTimeValue(9,15,0),D.createTimeValue(14,30,45),D.createTimeValue(23,59,59)].map(i=>D.formatTimeValue(i,e.format,e.showSeconds))}convertFormat(e,i,r){const t=D.parseTimeString(e,i);if(!t)return null;const o=this.host.getConfig();return D.formatTimeValue(t,r,o.showSeconds)}getTimeDescription(e){const i=this.host.getConfig(),r=D.formatTimeValue(e,i.format,i.showSeconds),t=D.getCurrentTime(),o=D.compareTime(e,t);return 0===o?`${r} (now)`:o>0?`${r} (future)`:`${r} (past)`}}const V=e`
|
|
28
|
+
${e`
|
|
29
|
+
:host {
|
|
30
|
+
/* ========================================
|
|
31
|
+
* TIMEPICKER THEME-AWARE VARIABLES
|
|
32
|
+
* Uses CSS custom properties from theme files
|
|
33
|
+
* ======================================== */
|
|
34
|
+
|
|
35
|
+
/* Base timepicker styling - uses theme variables with fallbacks */
|
|
36
|
+
--nuraly-timepicker-local-background-color: var(--nuraly-color-timepicker-background, #ffffff);
|
|
37
|
+
--nuraly-timepicker-local-text-color: var(--nuraly-color-timepicker-text, rgba(0, 0, 0, 0.88));
|
|
38
|
+
--nuraly-timepicker-local-font-family: var(--nuraly-font-family-timepicker, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif);
|
|
39
|
+
--nuraly-timepicker-local-font-size: var(--nuraly-font-size-timepicker, 14px);
|
|
40
|
+
|
|
41
|
+
/* Timepicker borders - theme-aware */
|
|
42
|
+
--nuraly-timepicker-local-border-color: var(--nuraly-color-timepicker-border, #d9d9d9);
|
|
43
|
+
--nuraly-timepicker-local-border-width: var(--nuraly-border-width-timepicker, 1px);
|
|
44
|
+
--nuraly-timepicker-local-border-radius: var(--nuraly-border-radius-timepicker, 6px);
|
|
45
|
+
--nuraly-timepicker-local-border-radius-sm: var(--nuraly-border-radius-timepicker-sm, calc(var(--nuraly-border-radius-timepicker, 6px) * 0.5));
|
|
46
|
+
|
|
47
|
+
/* Primary and selection colors - theme-aware */
|
|
48
|
+
--nuraly-timepicker-local-primary-color: var(--nuraly-color-timepicker-primary, #1890ff);
|
|
49
|
+
--nuraly-timepicker-local-focus-color: var(--nuraly-color-timepicker-focus, #1890ff);
|
|
50
|
+
--nuraly-timepicker-local-border-color-hover: var(--nuraly-color-timepicker-border-hover, #1890ff);
|
|
51
|
+
--nuraly-timepicker-local-selected-color: var(--nuraly-color-timepicker-selected, #1890ff);
|
|
52
|
+
--nuraly-timepicker-local-selected-text-color: var(--nuraly-color-timepicker-selected-text, #ffffff);
|
|
53
|
+
--nuraly-timepicker-local-hover-color: var(--nuraly-color-timepicker-hover, #f5f5f5);
|
|
54
|
+
--nuraly-timepicker-local-clock-hand-color: var(--nuraly-color-timepicker-clock-hand, #1890ff);
|
|
55
|
+
|
|
56
|
+
/* Control item states - theme-aware */
|
|
57
|
+
--nuraly-timepicker-local-control-item-bg-hover: var(--nuraly-color-timepicker-control-item-bg-hover, #f5f5f5);
|
|
58
|
+
--nuraly-timepicker-local-control-item-bg-active: var(--nuraly-color-timepicker-control-item-bg-active, #e6f7ff);
|
|
59
|
+
|
|
60
|
+
/* Text colors - theme-aware */
|
|
61
|
+
--nuraly-timepicker-local-text-color-secondary: var(--nuraly-color-timepicker-text-secondary, rgba(0, 0, 0, 0.45));
|
|
62
|
+
--nuraly-timepicker-local-text-color-disabled: var(--nuraly-color-timepicker-text-disabled, rgba(0, 0, 0, 0.25));
|
|
63
|
+
|
|
64
|
+
/* Disabled states - theme-aware */
|
|
65
|
+
--nuraly-timepicker-local-disabled-color: var(--nuraly-color-timepicker-disabled, #f5f5f5);
|
|
66
|
+
--nuraly-timepicker-local-disabled-bg: var(--nuraly-color-timepicker-disabled-bg, #f5f5f5);
|
|
67
|
+
--nuraly-timepicker-local-disabled-text-color: var(--nuraly-color-timepicker-disabled-text, rgba(0, 0, 0, 0.25));
|
|
68
|
+
--nuraly-timepicker-local-disabled-opacity: var(--nuraly-opacity-timepicker-disabled, 1);
|
|
69
|
+
|
|
70
|
+
/* Input field colors - theme-aware */
|
|
71
|
+
--nuraly-timepicker-local-input-background: var(--nuraly-color-timepicker-input-background, #ffffff);
|
|
72
|
+
--nuraly-timepicker-local-input-border-color: var(--nuraly-color-timepicker-input-border, #d9d9d9);
|
|
73
|
+
--nuraly-timepicker-local-input-focus-border-color: var(--nuraly-color-timepicker-input-focus-border, #1890ff);
|
|
74
|
+
--nuraly-timepicker-local-input-text-color: var(--nuraly-color-timepicker-input-text, rgba(0, 0, 0, 0.88));
|
|
75
|
+
--nuraly-timepicker-local-input-placeholder-color: var(--nuraly-color-timepicker-input-placeholder, rgba(0, 0, 0, 0.25));
|
|
76
|
+
|
|
77
|
+
/* Dropdown and clock colors - theme-aware */
|
|
78
|
+
--nuraly-timepicker-local-dropdown-background: var(--nuraly-color-timepicker-dropdown-background, #ffffff);
|
|
79
|
+
--nuraly-timepicker-local-clock-background: var(--nuraly-color-timepicker-clock-background, #ffffff);
|
|
80
|
+
--nuraly-timepicker-local-clock-text-color: var(--nuraly-color-timepicker-clock-text, rgba(0, 0, 0, 0.88));
|
|
81
|
+
--nuraly-timepicker-local-clock-face-color: var(--nuraly-color-timepicker-clock-face, rgba(0, 0, 0, 0.45));
|
|
82
|
+
--nuraly-timepicker-local-clock-border-color: var(--nuraly-color-timepicker-clock-border, #f0f0f0);
|
|
83
|
+
|
|
84
|
+
/* Item selection colors - theme-aware */
|
|
85
|
+
--nuraly-timepicker-local-item-hover-color: var(--nuraly-color-timepicker-item-hover, #f5f5f5);
|
|
86
|
+
--nuraly-timepicker-local-item-active-color: var(--nuraly-color-timepicker-item-active, #e6f7ff);
|
|
87
|
+
--nuraly-timepicker-local-item-selected-color: var(--nuraly-color-timepicker-item-selected, #1890ff);
|
|
88
|
+
--nuraly-timepicker-local-item-selected-text-color: var(--nuraly-color-timepicker-item-selected-text, #ffffff);
|
|
89
|
+
|
|
90
|
+
/* Error/warning/success colors - theme-aware */
|
|
91
|
+
--nuraly-timepicker-local-error-color: var(--nuraly-color-timepicker-error, #ff4d4f);
|
|
92
|
+
--nuraly-timepicker-local-warning-color: var(--nuraly-color-timepicker-warning, #faad14);
|
|
93
|
+
--nuraly-timepicker-local-success-color: var(--nuraly-color-timepicker-success, #52c41a);
|
|
94
|
+
|
|
95
|
+
/* Layout and sizing - theme-aware */
|
|
96
|
+
--nuraly-timepicker-local-width: var(--nuraly-size-timepicker-width, 120px);
|
|
97
|
+
--nuraly-timepicker-local-height: var(--nuraly-size-timepicker-height, 32px);
|
|
98
|
+
--nuraly-timepicker-local-dropdown-width: var(--nuraly-size-timepicker-dropdown-width, 180px);
|
|
99
|
+
--nuraly-timepicker-local-clock-size: var(--nuraly-size-timepicker-clock, 200px);
|
|
100
|
+
|
|
101
|
+
/* Typography - theme-aware */
|
|
102
|
+
--nuraly-timepicker-local-font-weight: var(--nuraly-font-weight-timepicker, 400);
|
|
103
|
+
--nuraly-timepicker-local-line-height: var(--nuraly-line-height-timepicker, 1.5715);
|
|
104
|
+
--nuraly-timepicker-local-clock-font-size: var(--nuraly-font-size-timepicker-clock, 14px);
|
|
105
|
+
|
|
106
|
+
/* Spacing - theme-aware */
|
|
107
|
+
--nuraly-timepicker-local-gap: var(--nuraly-spacing-timepicker-gap, 4px);
|
|
108
|
+
--nuraly-timepicker-local-dropdown-padding: var(--nuraly-spacing-timepicker-dropdown-padding, 8px);
|
|
109
|
+
--nuraly-timepicker-local-input-padding: var(--nuraly-spacing-timepicker-input-padding, 4px 11px);
|
|
110
|
+
--nuraly-timepicker-local-padding: var(--nuraly-spacing-timepicker-padding, 4px 11px);
|
|
111
|
+
|
|
112
|
+
/* Borders - theme-aware */
|
|
113
|
+
--nuraly-timepicker-local-input-border-width: var(--nuraly-border-width-timepicker-input, 1px);
|
|
114
|
+
--nuraly-timepicker-local-focus-border-width: var(--nuraly-border-width-timepicker-focus, 2px);
|
|
115
|
+
|
|
116
|
+
/* Shadows - theme-aware */
|
|
117
|
+
--nuraly-timepicker-local-shadow-color: var(--nuraly-color-timepicker-shadow, rgba(0, 0, 0, 0.15));
|
|
118
|
+
--nuraly-timepicker-local-box-shadow: var(--nuraly-shadow-timepicker-box, 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05));
|
|
119
|
+
--nuraly-timepicker-local-input-focus-shadow: var(--nuraly-shadow-timepicker-input-focus, 0 0 0 2px rgba(24, 144, 255, 0.2));
|
|
120
|
+
|
|
121
|
+
/* States - theme-aware */
|
|
122
|
+
--nuraly-timepicker-local-hover-opacity: var(--nuraly-opacity-timepicker-hover, 1);
|
|
123
|
+
|
|
124
|
+
/* Animation and transitions - theme-aware */
|
|
125
|
+
--nuraly-timepicker-local-transition-duration: var(--nuraly-transition-duration-timepicker, 0.2s);
|
|
126
|
+
--nuraly-timepicker-local-transition-timing: var(--nuraly-transition-timing-timepicker, ease-in-out);
|
|
127
|
+
|
|
128
|
+
/* Z-index - theme-aware */
|
|
129
|
+
--nuraly-timepicker-local-dropdown-z-index: var(--nuraly-z-index-timepicker-dropdown, 1050);
|
|
130
|
+
|
|
131
|
+
/* Icon sizes - theme-aware */
|
|
132
|
+
--nuraly-timepicker-local-icon-size: var(--nuraly-size-timepicker-icon, 14px);
|
|
133
|
+
|
|
134
|
+
/* Size variants - theme-aware */
|
|
135
|
+
--nuraly-timepicker-local-small-font-size: var(--nuraly-font-size-timepicker-small, 12px);
|
|
136
|
+
--nuraly-timepicker-local-small-padding: var(--nuraly-spacing-timepicker-small-padding, 0px 7px);
|
|
137
|
+
--nuraly-timepicker-local-small-height: var(--nuraly-size-timepicker-small-height, 24px);
|
|
138
|
+
|
|
139
|
+
--nuraly-timepicker-local-medium-font-size: var(--nuraly-font-size-timepicker-medium, 14px);
|
|
140
|
+
--nuraly-timepicker-local-medium-padding: var(--nuraly-spacing-timepicker-medium-padding, 4px 11px);
|
|
141
|
+
--nuraly-timepicker-local-medium-height: var(--nuraly-size-timepicker-medium-height, 32px);
|
|
142
|
+
|
|
143
|
+
--nuraly-timepicker-local-large-font-size: var(--nuraly-font-size-timepicker-large, 16px);
|
|
144
|
+
--nuraly-timepicker-local-large-padding: var(--nuraly-spacing-timepicker-large-padding, 6px 11px);
|
|
145
|
+
--nuraly-timepicker-local-large-height: var(--nuraly-size-timepicker-large-height, 40px);
|
|
146
|
+
}
|
|
147
|
+
`
|
|
148
|
+
/**
|
|
149
|
+
* @license
|
|
150
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
151
|
+
* SPDX-License-Identifier: MIT
|
|
152
|
+
*/}
|
|
153
|
+
:host {
|
|
154
|
+
display: block;
|
|
155
|
+
font-family: var(--nuraly-timepicker-local-font-family);
|
|
156
|
+
font-size: var(--nuraly-timepicker-local-font-size);
|
|
157
|
+
font-weight: var(--nuraly-timepicker-local-font-weight);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Host attribute selectors for configuration */
|
|
161
|
+
:host([disabled]) {
|
|
162
|
+
opacity: var(--nuraly-timepicker-local-disabled-opacity);
|
|
163
|
+
pointer-events: none;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.time-picker {
|
|
167
|
+
position: relative;
|
|
168
|
+
display: inline-block;
|
|
169
|
+
width: 100%;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Input wrapper hover and focus states matching select component */
|
|
173
|
+
.time-picker__input-wrapper:hover:not(.time-picker--disabled) nr-input {
|
|
174
|
+
--nuraly-input-border-color: var(--nuraly-timepicker-local-border-color-hover);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.time-picker__input-wrapper:focus-within nr-input,
|
|
178
|
+
.time-picker--open .time-picker__input-wrapper nr-input,
|
|
179
|
+
.time-picker__input-wrapper nr-input:focus {
|
|
180
|
+
--nuraly-input-border-color: var(--nuraly-timepicker-local-focus-color);
|
|
181
|
+
--nuraly-input-box-shadow: 0 0 0 2px var(--nuraly-timepicker-local-focus-color)33;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Disabled state styling */
|
|
185
|
+
.time-picker--disabled .time-picker__input-wrapper nr-input {
|
|
186
|
+
--nuraly-input-background-color: var(--nuraly-timepicker-local-disabled-bg);
|
|
187
|
+
--nuraly-input-border-color: var(--nuraly-timepicker-local-border-color);
|
|
188
|
+
--nuraly-input-text-color: var(--nuraly-timepicker-local-text-color-disabled);
|
|
189
|
+
cursor: not-allowed;
|
|
190
|
+
opacity: 0.6;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.time-picker__input-wrapper {
|
|
194
|
+
position: relative;
|
|
195
|
+
width: 100%;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* Style the nr-input component */
|
|
199
|
+
.time-picker__input-wrapper nr-input {
|
|
200
|
+
width: 100%;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* Style the trigger button inside nr-input */
|
|
204
|
+
.time-picker__trigger {
|
|
205
|
+
padding: 4px !important;
|
|
206
|
+
min-width: auto !important;
|
|
207
|
+
width: 24px !important;
|
|
208
|
+
height: 24px !important;
|
|
209
|
+
border-radius: var(--nuraly-timepicker-local-border-radius-sm) !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.time-picker__trigger svg {
|
|
213
|
+
width: 16px;
|
|
214
|
+
height: 16px;
|
|
215
|
+
color: var(--nuraly-timepicker-local-text-color-secondary);
|
|
216
|
+
transition: color 0.2s ease;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.time-picker__trigger:hover svg {
|
|
220
|
+
color: var(--nuraly-timepicker-local-primary-color);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.time-picker__trigger:hover {
|
|
224
|
+
color: var(--nuraly-timepicker-local-primary-color);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.time-picker__trigger:disabled {
|
|
228
|
+
color: var(--nuraly-timepicker-local-text-color-disabled);
|
|
229
|
+
cursor: not-allowed;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.time-picker__trigger svg {
|
|
233
|
+
width: 14px;
|
|
234
|
+
height: 14px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.time-picker__dropdown {
|
|
238
|
+
position: absolute;
|
|
239
|
+
z-index: 1000;
|
|
240
|
+
background-color: var(--nuraly-timepicker-local-background-color);
|
|
241
|
+
backdrop-filter: blur(12px);
|
|
242
|
+
-webkit-backdrop-filter: blur(12px);
|
|
243
|
+
border: 1px solid var(--nuraly-timepicker-local-border-color);
|
|
244
|
+
border-radius: var(--nuraly-timepicker-local-border-radius);
|
|
245
|
+
box-shadow: var(--nuraly-timepicker-local-box-shadow);
|
|
246
|
+
width: 100%;
|
|
247
|
+
min-width: 180px;
|
|
248
|
+
/* Animation and positioning - simplified to match select */
|
|
249
|
+
opacity: 1;
|
|
250
|
+
visibility: visible;
|
|
251
|
+
transform: translateY(0);
|
|
252
|
+
transition: all 0.2s ease-in-out;
|
|
253
|
+
/* Create new stacking context to prevent layering issues */
|
|
254
|
+
isolation: isolate;
|
|
255
|
+
/* Ensure solid background to prevent visual bleed-through */
|
|
256
|
+
backdrop-filter: blur(12px);
|
|
257
|
+
-webkit-backdrop-filter: blur(12px);
|
|
258
|
+
/* Force above other elements */
|
|
259
|
+
transform: translateZ(0);
|
|
260
|
+
animation: dropdown-enter 0.15s ease-out;
|
|
261
|
+
overflow: hidden;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.time-picker__dropdown.placement-top {
|
|
265
|
+
animation: dropdown-enter-top 0.15s ease-out;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@keyframes dropdown-enter {
|
|
269
|
+
from {
|
|
270
|
+
opacity: 0;
|
|
271
|
+
transform: translateY(-8px);
|
|
272
|
+
}
|
|
273
|
+
to {
|
|
274
|
+
opacity: 1;
|
|
275
|
+
transform: translateY(0);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@keyframes dropdown-enter-top {
|
|
280
|
+
from {
|
|
281
|
+
opacity: 0;
|
|
282
|
+
transform: translateY(8px);
|
|
283
|
+
}
|
|
284
|
+
to {
|
|
285
|
+
opacity: 1;
|
|
286
|
+
transform: translateY(0);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.time-picker__columns {
|
|
291
|
+
display: flex;
|
|
292
|
+
max-height: 216px;
|
|
293
|
+
overflow: hidden;
|
|
294
|
+
border-radius: var(--nuraly-timepicker-local-border-radius);
|
|
295
|
+
background: var(--nuraly-timepicker-local-background-color);
|
|
296
|
+
padding: 4px 0;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.time-picker__column {
|
|
300
|
+
flex: 1;
|
|
301
|
+
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
302
|
+
background: transparent;
|
|
303
|
+
overflow: hidden;
|
|
304
|
+
position: relative;
|
|
305
|
+
min-width: 60px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.time-picker__column:last-child {
|
|
309
|
+
border-right: none;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.time-picker__column-list {
|
|
313
|
+
max-height: 216px;
|
|
314
|
+
overflow-y: scroll;
|
|
315
|
+
overflow-x: hidden;
|
|
316
|
+
scrollbar-width: thin;
|
|
317
|
+
scrollbar-color: rgba(0, 0, 0, 0.06) transparent;
|
|
318
|
+
/* Custom scrollbar styling to match modern design */
|
|
319
|
+
padding: 4px 2px;
|
|
320
|
+
scroll-behavior: smooth;
|
|
321
|
+
/* Force scrollbar to always be visible */
|
|
322
|
+
-webkit-overflow-scrolling: touch;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.time-picker__column-list::-webkit-scrollbar {
|
|
326
|
+
width: 6px;
|
|
327
|
+
/* Always show scrollbar */
|
|
328
|
+
-webkit-appearance: none;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.time-picker__column-list::-webkit-scrollbar-track {
|
|
332
|
+
background: rgba(0, 0, 0, 0.04);
|
|
333
|
+
margin: 8px 0;
|
|
334
|
+
border-radius: var(--nuraly-timepicker-local-border-radius-sm);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.time-picker__column-list::-webkit-scrollbar-thumb {
|
|
338
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
339
|
+
border-radius: var(--nuraly-timepicker-local-border-radius-sm);
|
|
340
|
+
transition: background-color 0.2s ease;
|
|
341
|
+
/* Ensure thumb is always visible */
|
|
342
|
+
min-height: 20px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.time-picker__column-list::-webkit-scrollbar-thumb:hover {
|
|
346
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.time-picker__column-list {
|
|
350
|
+
scrollbar-width: thin;
|
|
351
|
+
scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.04);
|
|
352
|
+
scroll-behavior: smooth;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.time-picker__column-item {
|
|
356
|
+
display: flex;
|
|
357
|
+
align-items: center;
|
|
358
|
+
justify-content: center;
|
|
359
|
+
padding: 4px 8px;
|
|
360
|
+
color: var(--nuraly-timepicker-local-text-color);
|
|
361
|
+
font-size: var(--nuraly-timepicker-local-font-size);
|
|
362
|
+
font-weight: var(--nuraly-timepicker-local-font-weight);
|
|
363
|
+
cursor: pointer;
|
|
364
|
+
transition: all 0.2s ease-in-out;
|
|
365
|
+
border-radius: var(--nuraly-timepicker-local-border-radius);
|
|
366
|
+
position: relative;
|
|
367
|
+
user-select: none;
|
|
368
|
+
line-height: var(--nuraly-timepicker-local-line-height);
|
|
369
|
+
min-height: 28px;
|
|
370
|
+
margin: 1px 2px;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.time-picker__column-item:hover {
|
|
374
|
+
background-color: var(--nuraly-timepicker-local-control-item-bg-hover);
|
|
375
|
+
color: var(--nuraly-timepicker-local-primary-color);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.time-picker__column-item:active {
|
|
379
|
+
background-color: var(--nuraly-timepicker-local-control-item-bg-active);
|
|
380
|
+
color: var(--nuraly-timepicker-local-primary-color);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.time-picker__column-item--selected {
|
|
384
|
+
background-color: var(--nuraly-timepicker-local-control-item-bg-active);
|
|
385
|
+
color: var(--nuraly-timepicker-local-primary-color);
|
|
386
|
+
font-weight: 600;
|
|
387
|
+
border-radius: var(--nuraly-timepicker-local-border-radius);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.time-picker__column-item--selected:hover {
|
|
391
|
+
background-color: var(--nuraly-timepicker-local-control-item-bg-active);
|
|
392
|
+
color: var(--nuraly-timepicker-local-primary-color);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.time-picker__column-item--focused {
|
|
396
|
+
background-color: var(--nuraly-timepicker-local-control-item-bg-hover);
|
|
397
|
+
outline: 2px solid var(--nuraly-timepicker-local-focus-color);
|
|
398
|
+
outline-offset: -2px;
|
|
399
|
+
border-radius: var(--nuraly-timepicker-local-border-radius);
|
|
400
|
+
color: var(--nuraly-timepicker-local-primary-color);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.time-picker__column-item--disabled {
|
|
404
|
+
opacity: 0.4;
|
|
405
|
+
cursor: not-allowed;
|
|
406
|
+
color: var(--timepicker-text-color-disabled);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.time-picker__column-item--disabled:hover {
|
|
410
|
+
background-color: transparent;
|
|
411
|
+
color: var(--timepicker-text-color-disabled);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.time-picker__dropdown--top {
|
|
415
|
+
top: auto;
|
|
416
|
+
bottom: 100%;
|
|
417
|
+
margin-top: 0;
|
|
418
|
+
margin-bottom: 4px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.time-picker__clock-container {
|
|
422
|
+
padding: 12px;
|
|
423
|
+
display: flex;
|
|
424
|
+
flex-direction: column;
|
|
425
|
+
gap: 12px;
|
|
426
|
+
background: var(--timepicker-background-color);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.time-picker__digital-inputs {
|
|
430
|
+
display: flex;
|
|
431
|
+
align-items: center;
|
|
432
|
+
gap: 8px;
|
|
433
|
+
justify-content: center;
|
|
434
|
+
padding: 8px 12px;
|
|
435
|
+
border-bottom: 1px solid var(--timepicker-border-color);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.time-picker__time-input {
|
|
439
|
+
width: 56px;
|
|
440
|
+
height: 32px;
|
|
441
|
+
text-align: center;
|
|
442
|
+
padding: 4px 8px;
|
|
443
|
+
border: 1px solid var(--timepicker-border-color);
|
|
444
|
+
border-radius: var(--timepicker-border-radius);
|
|
445
|
+
font-size: 14px;
|
|
446
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
447
|
+
color: var(--timepicker-text-color);
|
|
448
|
+
background-color: var(--timepicker-background-color);
|
|
449
|
+
transition: all 0.3s;
|
|
450
|
+
outline: none;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.time-picker__time-input:hover {
|
|
454
|
+
border-color: var(--timepicker-primary-color-hover);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.time-picker__time-input:focus {
|
|
458
|
+
border-color: var(--timepicker-primary-color);
|
|
459
|
+
box-shadow: 0 0 0 2px var(--timepicker-primary-color-active);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.time-picker__separator {
|
|
463
|
+
font-weight: 600;
|
|
464
|
+
color: var(--timepicker-text-color);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.time-picker__period-toggle {
|
|
468
|
+
display: flex;
|
|
469
|
+
flex-direction: column;
|
|
470
|
+
border: 1px solid var(--timepicker-border-color);
|
|
471
|
+
border-radius: var(--timepicker-border-radius);
|
|
472
|
+
overflow: hidden;
|
|
473
|
+
margin-left: 8px;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.time-picker__period-button {
|
|
477
|
+
background: var(--timepicker-background-color);
|
|
478
|
+
border: none;
|
|
479
|
+
padding: 6px 12px;
|
|
480
|
+
font-size: 12px;
|
|
481
|
+
color: var(--timepicker-text-color);
|
|
482
|
+
cursor: pointer;
|
|
483
|
+
transition: all 0.3s;
|
|
484
|
+
min-width: 44px;
|
|
485
|
+
height: 24px;
|
|
486
|
+
display: flex;
|
|
487
|
+
align-items: center;
|
|
488
|
+
justify-content: center;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.time-picker__period-button:hover {
|
|
492
|
+
background-color: var(--timepicker-item-hover-bg);
|
|
493
|
+
color: var(--timepicker-text-color);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.time-picker__period-button--active {
|
|
497
|
+
background-color: var(--timepicker-primary-color);
|
|
498
|
+
color: #fff;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.time-picker__period-button + .time-picker__period-button {
|
|
502
|
+
border-top: 1px solid var(--timepicker-border-color);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.time-picker__clock {
|
|
506
|
+
width: var(--timepicker-clock-size);
|
|
507
|
+
height: var(--timepicker-clock-size);
|
|
508
|
+
border: 1px solid var(--timepicker-border-color);
|
|
509
|
+
border-radius: 50%;
|
|
510
|
+
background-color: var(--timepicker-background-color);
|
|
511
|
+
position: relative;
|
|
512
|
+
margin: 0 auto;
|
|
513
|
+
user-select: none;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.time-picker__clock-face {
|
|
517
|
+
width: 100%;
|
|
518
|
+
height: 100%;
|
|
519
|
+
position: relative;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.time-picker__clock-number {
|
|
523
|
+
position: absolute;
|
|
524
|
+
color: var(--timepicker-text-color);
|
|
525
|
+
font-size: 14px;
|
|
526
|
+
font-weight: 400;
|
|
527
|
+
width: 24px;
|
|
528
|
+
height: 24px;
|
|
529
|
+
display: flex;
|
|
530
|
+
align-items: center;
|
|
531
|
+
justify-content: center;
|
|
532
|
+
cursor: pointer;
|
|
533
|
+
border-radius: 50%;
|
|
534
|
+
transition: all 0.3s;
|
|
535
|
+
transform: translate(-50%, -50%);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.time-picker__clock-number:hover {
|
|
539
|
+
background-color: var(--timepicker-item-hover-bg);
|
|
540
|
+
color: var(--timepicker-text-color);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.time-picker__clock-number--selected {
|
|
544
|
+
background-color: var(--timepicker-primary-color);
|
|
545
|
+
color: #fff;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.time-picker__clock-hand {
|
|
549
|
+
position: absolute;
|
|
550
|
+
background-color: var(--timepicker-primary-color);
|
|
551
|
+
transform-origin: bottom center;
|
|
552
|
+
border-radius: 2px 2px 0 0;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.time-picker__clock-center {
|
|
556
|
+
position: absolute;
|
|
557
|
+
top: 50%;
|
|
558
|
+
left: 50%;
|
|
559
|
+
transform: translate(-50%, -50%);
|
|
560
|
+
width: 6px;
|
|
561
|
+
height: 6px;
|
|
562
|
+
background-color: var(--timepicker-primary-color);
|
|
563
|
+
border-radius: 50%;
|
|
564
|
+
z-index: 10;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.time-picker__mode-buttons {
|
|
568
|
+
display: flex;
|
|
569
|
+
gap: 8px;
|
|
570
|
+
justify-content: center;
|
|
571
|
+
margin-bottom: 8px;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.time-picker__mode-button {
|
|
575
|
+
padding: 6px 16px;
|
|
576
|
+
border: 1px solid var(--timepicker-border-color);
|
|
577
|
+
background: var(--timepicker-background-color);
|
|
578
|
+
color: var(--timepicker-text-color);
|
|
579
|
+
border-radius: var(--timepicker-border-radius);
|
|
580
|
+
cursor: pointer;
|
|
581
|
+
font-size: 14px;
|
|
582
|
+
transition: all 0.3s;
|
|
583
|
+
outline: none;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.time-picker__mode-button:hover {
|
|
587
|
+
background-color: var(--timepicker-item-hover-bg);
|
|
588
|
+
border-color: var(--timepicker-primary-color-hover);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.time-picker__mode-button--active {
|
|
592
|
+
background-color: var(--timepicker-primary-color);
|
|
593
|
+
color: #fff;
|
|
594
|
+
border-color: var(--timepicker-primary-color);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.time-picker__actions {
|
|
598
|
+
display: flex;
|
|
599
|
+
gap: 8px;
|
|
600
|
+
justify-content: flex-end;
|
|
601
|
+
padding: 8px 12px;
|
|
602
|
+
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
603
|
+
background: var(--timepicker-background-color);
|
|
604
|
+
border-bottom-left-radius: 8px;
|
|
605
|
+
border-bottom-right-radius: 8px;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/* Style nr-button components in actions */
|
|
609
|
+
.time-picker__actions nr-button {
|
|
610
|
+
border-radius: var(--nuraly-timepicker-local-border-radius);
|
|
611
|
+
font-weight: 400;
|
|
612
|
+
font-size: 14px;
|
|
613
|
+
height: 28px;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
.time-picker__label {
|
|
619
|
+
display: block;
|
|
620
|
+
margin-bottom: 8px;
|
|
621
|
+
font-weight: 400;
|
|
622
|
+
color: var(--timepicker-text-color);
|
|
623
|
+
font-size: 14px;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.time-picker__helper-text {
|
|
627
|
+
font-size: 14px;
|
|
628
|
+
margin-top: 4px;
|
|
629
|
+
color: var(--timepicker-text-color-secondary);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.time-picker__helper-text--error {
|
|
633
|
+
color: var(--timepicker-error-color);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/* Size variants */
|
|
637
|
+
:host([size="small"]) {
|
|
638
|
+
--timepicker-height: 32px;
|
|
639
|
+
--timepicker-font-size: 12px;
|
|
640
|
+
--timepicker-padding: 4px 8px;
|
|
641
|
+
--timepicker-clock-size: 240px;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
:host([size="large"]) {
|
|
645
|
+
--timepicker-height: 48px;
|
|
646
|
+
--timepicker-font-size: 16px;
|
|
647
|
+
--timepicker-padding: 12px 16px;
|
|
648
|
+
--timepicker-clock-size: 320px;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/* Variant styles */
|
|
652
|
+
:host([variant="outlined"]) .time-picker__input {
|
|
653
|
+
background-color: transparent;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
:host([variant="filled"]) .time-picker__input {
|
|
657
|
+
border: none;
|
|
658
|
+
background-color: var(--timepicker-border-color)33;
|
|
659
|
+
border-bottom: 2px solid var(--timepicker-border-color);
|
|
660
|
+
border-radius: var(--timepicker-border-radius) var(--timepicker-border-radius) 0 0;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
:host([variant="filled"]) .time-picker__input:focus {
|
|
664
|
+
border-bottom-color: var(--timepicker-focus-color);
|
|
665
|
+
box-shadow: none;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/* Disabled state */
|
|
669
|
+
:host([disabled]) .time-picker {
|
|
670
|
+
pointer-events: none;
|
|
671
|
+
opacity: 0.6;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/* Animation classes */
|
|
675
|
+
.time-picker__dropdown {
|
|
676
|
+
opacity: 0;
|
|
677
|
+
transform: translateY(-8px);
|
|
678
|
+
transition: opacity 0.2s, transform 0.2s;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.time-picker__dropdown--open {
|
|
682
|
+
opacity: 1;
|
|
683
|
+
transform: translateY(0);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/* Hide scrollbars on time inputs */
|
|
687
|
+
.time-picker__time-input::-webkit-outer-spin-button,
|
|
688
|
+
.time-picker__time-input::-webkit-inner-spin-button {
|
|
689
|
+
-webkit-appearance: none;
|
|
690
|
+
margin: 0;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.time-picker__time-input[type="number"] {
|
|
694
|
+
-moz-appearance: textfield;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/* Responsive adjustments */
|
|
698
|
+
@media (max-width: 480px) {
|
|
699
|
+
.time-picker__clock {
|
|
700
|
+
--timepicker-clock-size: 240px;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.time-picker__dropdown {
|
|
704
|
+
left: 50%;
|
|
705
|
+
transform: translateX(-50%);
|
|
706
|
+
width: 90vw;
|
|
707
|
+
max-width: 320px;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
`;var F=function(e,i,r,t){for(var o,a=arguments.length,c=a<3?i:null===t?t=Object.getOwnPropertyDescriptor(i,r):t,l=e.length-1;l>=0;l--)(o=e[l])&&(c=(a<3?o(c):a>3?o(i,r,c):o(i,r))||c);return a>3&&c&&Object.defineProperty(i,r,c),c};let P=class extends(n(i)){constructor(){super(),this.value="",this.name="",this.placeholder="Select time",this.format=m.TwentyFourHour,this.showSeconds=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.helperText="",this.label="",this.size="medium",this.variant="outlined",this.placement=b.Bottom,this.scrollBehavior="instant",this.inputValue="",this.state=k.Default,this.validationMessage="",this.dropdownController=new p(this),this.selectionController=new j(this),this.validationController=new U(this),this.formattingController=new R(this)}connectedCallback(){super.connectedCallback(),this.updateConstraints(),this.value&&this.setTimeFromValue(this.value),this.addEventListener("click",this.handleComponentClick.bind(this)),document.addEventListener("click",this.handleDocumentClick.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleDocumentClick.bind(this))}updated(e){super.updated(e),e.has("value")&&this.value!==this.inputValue&&(this.setTimeFromValue(this.value),this.dropdownController.isOpen&&setTimeout(()=>{this.scrollToSelectedTime()},50)),this.shouldUpdateConstraints(e)&&this.updateConstraints(),this.setupDropdownElements()}setupDropdownElements(){var e,i;const r=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".time-picker__dropdown"),t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".time-picker__input-wrapper");r&&t&&this.dropdownController.setElements(r,t)}render(){const e={"time-picker":!0,"time-picker--open":this.dropdownController.isOpen,"time-picker--disabled":this.disabled,"time-picker--readonly":this.readonly,"time-picker--error":this.state===k.Error};return r`
|
|
711
|
+
<div class="${l(e)}" data-theme="${this.currentTheme}" part="wrapper">
|
|
712
|
+
${this.renderLabel()}
|
|
713
|
+
${this.renderInput()}
|
|
714
|
+
${this.renderDropdown()}
|
|
715
|
+
${this.renderHelperText()}
|
|
716
|
+
</div>
|
|
717
|
+
`}open(){this.dropdownController.open(),setTimeout(()=>{this.scrollToSelectedTime()},50)}close(){this.dropdownController.close()}clear(){this.value="",this.inputValue="",this.selectionController.clearSelection()}setToNow(){const e=D.getCurrentTime();this.selectionController.selectTime(e),this.updateInputValue(),this.dropdownController.isOpen&&setTimeout(()=>{this.scrollToSelectedTime()},10)}validate(){const e=this.selectionController.getSelectedTime();return!e||this.validationController.validateConstraints(e)}validateTime(e){return this.validationController.validateConstraints(e)}isHourValid(e,i){const r=Object.assign(Object.assign({},i),{hours:e});return this.validateTime(r)}isMinuteValid(e,i){const r=Object.assign(Object.assign({},i),{minutes:e});return this.validateTime(r)}isSecondValid(e,i){const r=Object.assign(Object.assign({},i),{seconds:e});return this.validateTime(r)}renderLabel(){return s(this.label,this.required,{cssClass:"time-picker__label",part:"label",forId:"time-input",requiredClass:"time-picker__required"})}renderInput(){const e=this.getFormatPlaceholder();return r`
|
|
718
|
+
<div class="time-picker__input-wrapper" part="input-wrapper">
|
|
719
|
+
<nr-input
|
|
720
|
+
id="time-input"
|
|
721
|
+
part="input"
|
|
722
|
+
type="calendar"
|
|
723
|
+
.value="${this.inputValue}"
|
|
724
|
+
placeholder="${this.placeholder||e}"
|
|
725
|
+
?disabled="${this.disabled}"
|
|
726
|
+
?readonly="${!1}"
|
|
727
|
+
?required="${this.required}"
|
|
728
|
+
.state="${this.state===k.Error?"error":"default"}"
|
|
729
|
+
@click="${this.handleInputClick}"
|
|
730
|
+
@nr-input="${this.handleInputChange}"
|
|
731
|
+
@nr-blur="${this.handleInputBlur}"
|
|
732
|
+
>
|
|
733
|
+
</nr-input>
|
|
734
|
+
</div>
|
|
735
|
+
`}renderDropdown(){return this.dropdownController.isOpen?r`
|
|
736
|
+
<div
|
|
737
|
+
class="time-picker__dropdown time-picker__dropdown--open"
|
|
738
|
+
part="dropdown"
|
|
739
|
+
@click="${this.handleDropdownClick}"
|
|
740
|
+
>
|
|
741
|
+
${this.renderColumnPicker()}
|
|
742
|
+
${this.renderActions()}
|
|
743
|
+
</div>
|
|
744
|
+
`:t}renderColumnPicker(){const e=this.selectionController.getSelectedTime(),i=this.getConfig();return r`
|
|
745
|
+
<div class="time-picker__columns" part="columns">
|
|
746
|
+
${this.renderHourColumn(e,i)}
|
|
747
|
+
${this.renderMinuteColumn(e)}
|
|
748
|
+
${this.showSeconds?this.renderSecondColumn(e):t}
|
|
749
|
+
</div>
|
|
750
|
+
`}renderHourColumn(e,i){const t=i.format===m.TwelveHour?Array.from({length:12},(e,i)=>0===i?12:i):Array.from({length:24},(e,i)=>i),o=e&&i.format===m.TwelveHour?this.formattingController.formatHours(e.hours):null==e?void 0:e.hours;return r`
|
|
751
|
+
<div class="time-picker__column" part="hour-column">
|
|
752
|
+
<div class="time-picker__column-list">
|
|
753
|
+
${t.map(t=>{let a=t;if(i.format===m.TwelveHour&&e){const i=this.formattingController.getPeriod(e.hours);a=12===t?i===y.AM?0:12:i===y.AM?t:t+12}const c=e||w,l=this.isHourValid(a,c);return r`
|
|
754
|
+
<div
|
|
755
|
+
class="time-picker__column-item ${!!e&&t===o?"time-picker__column-item--selected":""} ${l?"":"time-picker__column-item--disabled"}"
|
|
756
|
+
@click="${l?()=>this.handleHourSelect(t,i.format):null}"
|
|
757
|
+
>
|
|
758
|
+
${t.toString().padStart(2,"0")}
|
|
759
|
+
</div>
|
|
760
|
+
`})}
|
|
761
|
+
</div>
|
|
762
|
+
</div>
|
|
763
|
+
`}renderMinuteColumn(e){const i=Array.from({length:60},(e,i)=>i);return r`
|
|
764
|
+
<div class="time-picker__column" part="minute-column">
|
|
765
|
+
<div class="time-picker__column-list">
|
|
766
|
+
${i.map(i=>{const t=e||w,o=this.isMinuteValid(i,t),a=!!e&&i===e.minutes;return r`
|
|
767
|
+
<div
|
|
768
|
+
class="time-picker__column-item ${a?"time-picker__column-item--selected":""} ${o?"":"time-picker__column-item--disabled"}"
|
|
769
|
+
@click="${o?()=>this.handleMinuteSelect(i):null}"
|
|
770
|
+
>
|
|
771
|
+
${i.toString().padStart(2,"0")}
|
|
772
|
+
</div>
|
|
773
|
+
`})}
|
|
774
|
+
</div>
|
|
775
|
+
</div>
|
|
776
|
+
`}renderSecondColumn(e){const i=Array.from({length:60},(e,i)=>i);return r`
|
|
777
|
+
<div class="time-picker__column" part="second-column">
|
|
778
|
+
<div class="time-picker__column-list">
|
|
779
|
+
${i.map(i=>{const t=e||w,o=this.isSecondValid(i,t),a=!!e&&i===e.seconds;return r`
|
|
780
|
+
<div
|
|
781
|
+
class="time-picker__column-item ${a?"time-picker__column-item--selected":""} ${o?"":"time-picker__column-item--disabled"}"
|
|
782
|
+
@click="${o?()=>this.handleSecondSelect(i):null}"
|
|
783
|
+
>
|
|
784
|
+
${i.toString().padStart(2,"0")}
|
|
785
|
+
</div>
|
|
786
|
+
`})}
|
|
787
|
+
</div>
|
|
788
|
+
</div>
|
|
789
|
+
`}renderActions(){return r`
|
|
790
|
+
<div class="time-picker__actions">
|
|
791
|
+
<nr-button
|
|
792
|
+
type="ghost"
|
|
793
|
+
size="small"
|
|
794
|
+
@click="${()=>this.setToNow()}"
|
|
795
|
+
>
|
|
796
|
+
Now
|
|
797
|
+
</nr-button>
|
|
798
|
+
<nr-button
|
|
799
|
+
type="primary"
|
|
800
|
+
size="small"
|
|
801
|
+
@click="${this.handleOkClick}"
|
|
802
|
+
>
|
|
803
|
+
OK
|
|
804
|
+
</nr-button>
|
|
805
|
+
</div>
|
|
806
|
+
`}renderHelperText(){const e=this.validationMessage||this.helperText;if(!e)return t;const i=this.state===k.Error||!!this.validationMessage;return r`
|
|
807
|
+
<div class="time-picker__helper-text ${i?"time-picker__helper-text--error":""}" part="helper-text">
|
|
808
|
+
${e}
|
|
809
|
+
</div>
|
|
810
|
+
`}scrollToSelectedTime(){try{const e=this.selectionController.getSelectedTime();if(!e)return;this.scrollToSelectedHour(e),this.scrollToSelectedMinute(e),this.showSeconds&&this.scrollToSelectedSecond(e)}catch(e){console.warn("Failed to scroll to selected time:",e)}}scrollToSelectedHour(e){var i;const r=this.getConfig(),t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".time-picker__column:first-child .time-picker__column-list");if(!t)return;let o;o=r.format===m.TwelveHour?0===e.hours||12===e.hours?12:e.hours>12?e.hours-12:e.hours:e.hours;const a=t.querySelector(`.time-picker__column-item:nth-child(${this.getHourIndex(o,r.format)+1})`);a&&a.scrollIntoView({behavior:this.scrollBehavior,block:"center",inline:"nearest"})}scrollToSelectedMinute(e){var i;const r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".time-picker__column:nth-child(2) .time-picker__column-list");if(!r)return;const t=r.querySelector(`.time-picker__column-item:nth-child(${e.minutes+1})`);t&&t.scrollIntoView({behavior:this.scrollBehavior,block:"center",inline:"nearest"})}scrollToSelectedSecond(e){var i;const r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".time-picker__column:nth-child(3) .time-picker__column-list");if(!r)return;const t=r.querySelector(`.time-picker__column-item:nth-child(${e.seconds+1})`);t&&t.scrollIntoView({behavior:this.scrollBehavior,block:"center",inline:"nearest"})}getHourIndex(e,i){return i===m.TwelveHour&&12===e?0:e}handleComponentClick(e){e.stopPropagation()}handleDocumentClick(e){var i;if(this.dropdownController.isOpen){const r=e.target;this.contains(r)||(null===(i=this.shadowRoot)||void 0===i?void 0:i.contains(r))||(this.dropdownController.close(),this.dispatchEvent(new CustomEvent(x.BLUR,{bubbles:!0,composed:!0})))}}handleDropdownClick(e){e.stopPropagation()}handleOkClick(){this.dropdownController.close();const e=this.selectionController.getSelectedTime();e&&this.dispatchEvent(new CustomEvent(x.TIME_CHANGE,{bubbles:!0,composed:!0,detail:{value:this.value,time:e}})),this.dispatchEvent(new CustomEvent(x.BLUR,{bubbles:!0,composed:!0}))}handleInputBlur(){setTimeout(()=>{var e;const i=document.activeElement;this.contains(i)||(null===(e=this.shadowRoot)||void 0===e?void 0:e.contains(i))||this.dispatchEvent(new CustomEvent(x.BLUR,{bubbles:!0,composed:!0}))},150)}handleInputClick(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.dropdownController.isOpen||(this.dropdownController.open(),setTimeout(()=>{this.scrollToSelectedTime()},50),this.dispatchEvent(new CustomEvent(x.FOCUS,{bubbles:!0,composed:!0})))}handleInputChange(e){var i;if(this.disabled)return;const r=(null===(i=e.detail)||void 0===i?void 0:i.value)||"";this.inputValue=r;const t=this.formattingController.parseInputValue(r);t?this.validateTime(t)?(this.selectionController.selectTime(t),this.value=this.formattingController.formatForInput(t),this.state=k.Default,this.dropdownController.isOpen&&setTimeout(()=>{this.scrollToSelectedTime()},10),this.dispatchEvent(new CustomEvent(x.TIME_CHANGE,{bubbles:!0,composed:!0,detail:{value:this.value,time:t}}))):this.state=k.Error:""===r?(this.selectionController.clearSelection(),this.value="",this.state=k.Default,this.dispatchEvent(new CustomEvent(x.TIME_CHANGE,{bubbles:!0,composed:!0,detail:{value:"",time:null}}))):this.state=k.Error,this.requestUpdate()}handleHourSelect(e,i){const r=this.selectionController.getSelectedTime()||D.getCurrentTime();let t=e;if(i===m.TwelveHour){const i=this.formattingController.getPeriod(r.hours);t=12===e?i===y.AM?0:12:i===y.AM?e:e+12}const o=Object.assign(Object.assign({},r),{hours:t});this.validateTime(o)&&(this.selectionController.selectTime(o),this.updateInputValue())}handleMinuteSelect(e){const i=this.selectionController.getSelectedTime()||D.getCurrentTime(),r=Object.assign(Object.assign({},i),{minutes:e});this.validateTime(r)&&(this.selectionController.selectTime(r),this.updateInputValue())}handleSecondSelect(e){const i=this.selectionController.getSelectedTime()||D.getCurrentTime(),r=Object.assign(Object.assign({},i),{seconds:e});this.validateTime(r)&&(this.selectionController.selectTime(r),this.updateInputValue())}shouldUpdateConstraints(e){return e.has("minTime")||e.has("maxTime")||e.has("disabledTimes")||e.has("enabledTimes")}updateConstraints(){const e={minTime:this.minTime,maxTime:this.maxTime,disabledTimes:this.disabledTimes||[],enabledTimes:this.enabledTimes};this.validationController.setConstraints(e)}setTimeFromValue(e){this.selectionController.setTimeFromString(e)&&(this.inputValue=e,this.requestUpdate(),this.dropdownController.isOpen&&setTimeout(()=>{this.scrollToSelectedTime()},50))}updateInputValue(){const e=this.selectionController.getSelectedTime();if(e){const i=this.formattingController.formatForDisplay(e);this.inputValue=i,this.value=i,this.dispatchEvent(new CustomEvent(x.TIME_CHANGE,{detail:{value:i,time:e},bubbles:!0,composed:!0}))}}getConfig(){return{format:this.format,showSeconds:this.showSeconds,step:{hours:v.One,minutes:v.One,seconds:v.One},use12HourClock:this.format===m.TwelveHour,minuteInterval:1,secondInterval:1}}getCurrentTime(){return this.selectionController.getSelectedTime()||w}setTime(e){this.selectionController.selectTime(e),this.updateInputValue(),this.dropdownController.isOpen&&setTimeout(()=>{this.scrollToSelectedTime()},10)}formatTime(e){return this.formattingController.formatForDisplay(e)}getFormatPlaceholder(){return this.format===m.TwelveHour?this.showSeconds?"HH:MM:SS AM/PM":"HH:MM AM/PM":this.showSeconds?"HH:MM:SS":"HH:MM"}parseTime(e){return this.formattingController.parseInputValue(e)}};P.styles=[V],F([o({type:String})],P.prototype,"value",void 0),F([o({type:String})],P.prototype,"name",void 0),F([o({type:String})],P.prototype,"placeholder",void 0),F([o({type:String})],P.prototype,"format",void 0),F([o({type:Boolean,attribute:"show-seconds"})],P.prototype,"showSeconds",void 0),F([o({type:Boolean})],P.prototype,"disabled",void 0),F([o({type:Boolean})],P.prototype,"readonly",void 0),F([o({type:Boolean})],P.prototype,"required",void 0),F([o({type:String,attribute:"min-time"})],P.prototype,"minTime",void 0),F([o({type:String,attribute:"max-time"})],P.prototype,"maxTime",void 0),F([o({type:Array,attribute:"disabled-times"})],P.prototype,"disabledTimes",void 0),F([o({type:Array,attribute:"enabled-times"})],P.prototype,"enabledTimes",void 0),F([o({type:String,attribute:"helper-text"})],P.prototype,"helperText",void 0),F([o({type:String})],P.prototype,"label",void 0),F([o({type:String})],P.prototype,"size",void 0),F([o({type:String})],P.prototype,"variant",void 0),F([o({type:String})],P.prototype,"placement",void 0),F([o({type:String,attribute:"scroll-behavior"})],P.prototype,"scrollBehavior",void 0),F([a()],P.prototype,"inputValue",void 0),F([a()],P.prototype,"state",void 0),F([a()],P.prototype,"validationMessage",void 0),P=F([c("nr-timepicker")],P);export{O as CLOCK_CONTAINER_CLASS,I as CLOCK_FACE,C as DEFAULT_12H_TIME_FORMAT,M as DEFAULT_12H_TIME_FORMAT_WITH_SECONDS,N as DEFAULT_STEPS,T as DEFAULT_TIME_CONFIG,S as DEFAULT_TIME_FORMAT,f as DEFAULT_TIME_FORMATS,g as DEFAULT_TIME_FORMATS_WITH_SECONDS,$ as DEFAULT_TIME_FORMAT_WITH_SECONDS,w as EMPTY_TIME_VALUE,P as NrTimePickerElement,z as TIME_BOUNDARIES,E as TIME_INPUT_FIELD_ID,A as TIME_PICKER_CLASSES,_ as TIME_PICKER_CONSTANTS,x as TIME_PICKER_EVENTS,H as TIME_VALIDATION_PATTERNS,m as TimeFormat,y as TimePeriod,R as TimePickerFormattingController,u as TimePickerMode,b as TimePickerPlacement,j as TimePickerSelectionController,d as TimePickerSize,k as TimePickerState,U as TimePickerValidationController,h as TimePickerVariant,v as TimeStep,D as TimeUtils};
|