@aiandralves/ai-ui 1.0.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/README.md +0 -0
- package/aiandralves-ai-ui.d.ts +5 -0
- package/aiandrameira-ai-ui.d.ts +5 -0
- package/esm2022/aiandralves-ai-ui.js +5 -0
- package/esm2022/aiandralves-ai-ui.js.map +1 -0
- package/esm2022/aiandrameira-ai-ui.js +5 -0
- package/esm2022/aiandrameira-ai-ui.js.map +1 -0
- package/esm2022/index.js +4 -0
- package/esm2022/index.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion.js +83 -0
- package/esm2022/lib/components/accordion/accordion.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion.service.js +29 -0
- package/esm2022/lib/components/accordion/accordion.service.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion.variants.js +32 -0
- package/esm2022/lib/components/accordion/accordion.variants.js.map +1 -0
- package/esm2022/lib/components/accordion/demo/accordion.js +16 -0
- package/esm2022/lib/components/accordion/demo/accordion.js.map +1 -0
- package/esm2022/lib/components/accordion/demo/default.js +63 -0
- package/esm2022/lib/components/accordion/demo/default.js.map +1 -0
- package/esm2022/lib/components/accordion/demo/single.js +63 -0
- package/esm2022/lib/components/accordion/demo/single.js.map +1 -0
- package/esm2022/lib/components/accordion/index.js +3 -0
- package/esm2022/lib/components/accordion/index.js.map +1 -0
- package/esm2022/lib/components/alert/alert.js +25 -0
- package/esm2022/lib/components/alert/alert.js.map +1 -0
- package/esm2022/lib/components/alert/alert.variants.js +23 -0
- package/esm2022/lib/components/alert/alert.variants.js.map +1 -0
- package/esm2022/lib/components/alert/demo/accent.js +29 -0
- package/esm2022/lib/components/alert/demo/accent.js.map +1 -0
- package/esm2022/lib/components/alert/demo/alert.js +42 -0
- package/esm2022/lib/components/alert/demo/alert.js.map +1 -0
- package/esm2022/lib/components/alert/demo/destructive.js +29 -0
- package/esm2022/lib/components/alert/demo/destructive.js.map +1 -0
- package/esm2022/lib/components/alert/demo/icon.js +29 -0
- package/esm2022/lib/components/alert/demo/icon.js.map +1 -0
- package/esm2022/lib/components/alert/demo/info.js +29 -0
- package/esm2022/lib/components/alert/demo/info.js.map +1 -0
- package/esm2022/lib/components/alert/demo/primary.js +38 -0
- package/esm2022/lib/components/alert/demo/primary.js.map +1 -0
- package/esm2022/lib/components/alert/demo/success.js +29 -0
- package/esm2022/lib/components/alert/demo/success.js.map +1 -0
- package/esm2022/lib/components/alert/demo/warning.js +29 -0
- package/esm2022/lib/components/alert/demo/warning.js.map +1 -0
- package/esm2022/lib/components/alert/index.js +3 -0
- package/esm2022/lib/components/alert/index.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.config.js +20 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.config.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.js +68 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.ref.js +93 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.ref.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.service.js +88 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.service.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.variants.js +3 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.variants.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/demo/alert-dialog.js +12 -0
- package/esm2022/lib/components/alert-dialog/demo/alert-dialog.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/demo/default.js +34 -0
- package/esm2022/lib/components/alert-dialog/demo/default.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/index.js +6 -0
- package/esm2022/lib/components/alert-dialog/index.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar-group.js +25 -0
- package/esm2022/lib/components/avatar/avatar-group.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar.js +52 -0
- package/esm2022/lib/components/avatar/avatar.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar.variants.js +44 -0
- package/esm2022/lib/components/avatar/avatar.variants.js.map +1 -0
- package/esm2022/lib/components/avatar/demo/avatar.js +27 -0
- package/esm2022/lib/components/avatar/demo/avatar.js.map +1 -0
- package/esm2022/lib/components/avatar/demo/default.js +38 -0
- package/esm2022/lib/components/avatar/demo/default.js.map +1 -0
- package/esm2022/lib/components/avatar/demo/shape.js +25 -0
- package/esm2022/lib/components/avatar/demo/shape.js.map +1 -0
- package/esm2022/lib/components/avatar/demo/size.js +33 -0
- package/esm2022/lib/components/avatar/demo/size.js.map +1 -0
- package/esm2022/lib/components/avatar/demo/status.js +29 -0
- package/esm2022/lib/components/avatar/demo/status.js.map +1 -0
- package/esm2022/lib/components/avatar/index.js +4 -0
- package/esm2022/lib/components/avatar/index.js.map +1 -0
- package/esm2022/lib/components/badge/badge.js +57 -0
- package/esm2022/lib/components/badge/badge.js.map +1 -0
- package/esm2022/lib/components/badge/badge.variants.js +117 -0
- package/esm2022/lib/components/badge/badge.variants.js.map +1 -0
- package/esm2022/lib/components/badge/demo/badge.js +37 -0
- package/esm2022/lib/components/badge/demo/badge.js.map +1 -0
- package/esm2022/lib/components/badge/demo/close.js +28 -0
- package/esm2022/lib/components/badge/demo/close.js.map +1 -0
- package/esm2022/lib/components/badge/demo/disabled.js +23 -0
- package/esm2022/lib/components/badge/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/badge/demo/fill.js +59 -0
- package/esm2022/lib/components/badge/demo/fill.js.map +1 -0
- package/esm2022/lib/components/badge/demo/icon.js +25 -0
- package/esm2022/lib/components/badge/demo/icon.js.map +1 -0
- package/esm2022/lib/components/badge/demo/shape.js +25 -0
- package/esm2022/lib/components/badge/demo/shape.js.map +1 -0
- package/esm2022/lib/components/badge/demo/variant.js +37 -0
- package/esm2022/lib/components/badge/demo/variant.js.map +1 -0
- package/esm2022/lib/components/badge/index.js +3 -0
- package/esm2022/lib/components/badge/index.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-content.js +30 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-content.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.js +31 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-link.js +33 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-link.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-list.js +31 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-list.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-page.js +30 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-page.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js +37 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.config.js +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.config.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.directive.js +21 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.directive.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.imports.js +8 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.imports.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.js +28 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.service.js +65 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.service.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.variants.js +88 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.variants.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/demo/breadcrumb.js +37 -0
- package/esm2022/lib/components/breadcrumb/demo/breadcrumb.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/demo/content.js +53 -0
- package/esm2022/lib/components/breadcrumb/demo/content.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/demo/custom-separator.js +62 -0
- package/esm2022/lib/components/breadcrumb/demo/custom-separator.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/demo/default.js +60 -0
- package/esm2022/lib/components/breadcrumb/demo/default.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/demo/directive.js +50 -0
- package/esm2022/lib/components/breadcrumb/demo/directive.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/demo/icon.js +72 -0
- package/esm2022/lib/components/breadcrumb/demo/icon.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/demo/router-link.js +53 -0
- package/esm2022/lib/components/breadcrumb/demo/router-link.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/index.js +5 -0
- package/esm2022/lib/components/breadcrumb/index.js.map +1 -0
- package/esm2022/lib/components/button/button.js +64 -0
- package/esm2022/lib/components/button/button.js.map +1 -0
- package/esm2022/lib/components/button/button.variants.js +102 -0
- package/esm2022/lib/components/button/button.variants.js.map +1 -0
- package/esm2022/lib/components/button/demo/button.js +47 -0
- package/esm2022/lib/components/button/demo/button.js.map +1 -0
- package/esm2022/lib/components/button/demo/disabled.js +23 -0
- package/esm2022/lib/components/button/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/button/demo/fill.js +47 -0
- package/esm2022/lib/components/button/demo/fill.js.map +1 -0
- package/esm2022/lib/components/button/demo/full.js +23 -0
- package/esm2022/lib/components/button/demo/full.js.map +1 -0
- package/esm2022/lib/components/button/demo/icon.js +23 -0
- package/esm2022/lib/components/button/demo/icon.js.map +1 -0
- package/esm2022/lib/components/button/demo/loading.js +23 -0
- package/esm2022/lib/components/button/demo/loading.js.map +1 -0
- package/esm2022/lib/components/button/demo/shape.js +25 -0
- package/esm2022/lib/components/button/demo/shape.js.map +1 -0
- package/esm2022/lib/components/button/demo/size.js +29 -0
- package/esm2022/lib/components/button/demo/size.js.map +1 -0
- package/esm2022/lib/components/button/demo/variant.js +35 -0
- package/esm2022/lib/components/button/demo/variant.js.map +1 -0
- package/esm2022/lib/components/button/index.js +3 -0
- package/esm2022/lib/components/button/index.js.map +1 -0
- package/esm2022/lib/components/button-toggle/button-toggle.js +102 -0
- package/esm2022/lib/components/button-toggle/button-toggle.js.map +1 -0
- package/esm2022/lib/components/button-toggle/button-toggle.variants.js +36 -0
- package/esm2022/lib/components/button-toggle/button-toggle.variants.js.map +1 -0
- package/esm2022/lib/components/button-toggle/demo/button-toggle.js +22 -0
- package/esm2022/lib/components/button-toggle/demo/button-toggle.js.map +1 -0
- package/esm2022/lib/components/button-toggle/demo/default.js +36 -0
- package/esm2022/lib/components/button-toggle/demo/default.js.map +1 -0
- package/esm2022/lib/components/button-toggle/demo/disabled.js +28 -0
- package/esm2022/lib/components/button-toggle/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/button-toggle/demo/size.js +50 -0
- package/esm2022/lib/components/button-toggle/demo/size.js.map +1 -0
- package/esm2022/lib/components/button-toggle/index.js +3 -0
- package/esm2022/lib/components/button-toggle/index.js.map +1 -0
- package/esm2022/lib/components/card/card.js +26 -0
- package/esm2022/lib/components/card/card.js.map +1 -0
- package/esm2022/lib/components/card/card.variants.js +15 -0
- package/esm2022/lib/components/card/card.variants.js.map +1 -0
- package/esm2022/lib/components/card/demo/card.js +17 -0
- package/esm2022/lib/components/card/demo/card.js.map +1 -0
- package/esm2022/lib/components/card/demo/default.js +30 -0
- package/esm2022/lib/components/card/demo/default.js.map +1 -0
- package/esm2022/lib/components/card/demo/disabled.js +23 -0
- package/esm2022/lib/components/card/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/card/index.js +3 -0
- package/esm2022/lib/components/card/index.js.map +1 -0
- package/esm2022/lib/components/carousel/carousel.js +98 -0
- package/esm2022/lib/components/carousel/carousel.js.map +1 -0
- package/esm2022/lib/components/carousel/carousel.service.js +137 -0
- package/esm2022/lib/components/carousel/carousel.service.js.map +1 -0
- package/esm2022/lib/components/carousel/carousel.variants.js +62 -0
- package/esm2022/lib/components/carousel/carousel.variants.js.map +1 -0
- package/esm2022/lib/components/carousel/demo/autoplay.js +44 -0
- package/esm2022/lib/components/carousel/demo/autoplay.js.map +1 -0
- package/esm2022/lib/components/carousel/demo/carousel.js +21 -0
- package/esm2022/lib/components/carousel/demo/carousel.js.map +1 -0
- package/esm2022/lib/components/carousel/demo/default.js +46 -0
- package/esm2022/lib/components/carousel/demo/default.js.map +1 -0
- package/esm2022/lib/components/carousel/demo/loop.js +44 -0
- package/esm2022/lib/components/carousel/demo/loop.js.map +1 -0
- package/esm2022/lib/components/carousel/index.js +3 -0
- package/esm2022/lib/components/carousel/index.js.map +1 -0
- package/esm2022/lib/components/command/command-empty.js +42 -0
- package/esm2022/lib/components/command/command-empty.js.map +1 -0
- package/esm2022/lib/components/command/command-input.js +137 -0
- package/esm2022/lib/components/command/command-input.js.map +1 -0
- package/esm2022/lib/components/command/command-item-group.js +72 -0
- package/esm2022/lib/components/command/command-item-group.js.map +1 -0
- package/esm2022/lib/components/command/command-item.js +122 -0
- package/esm2022/lib/components/command/command-item.js.map +1 -0
- package/esm2022/lib/components/command/command-list.js +29 -0
- package/esm2022/lib/components/command/command-list.js.map +1 -0
- package/esm2022/lib/components/command/command-separator.js +39 -0
- package/esm2022/lib/components/command/command-separator.js.map +1 -0
- package/esm2022/lib/components/command/command.config.js +3 -0
- package/esm2022/lib/components/command/command.config.js.map +1 -0
- package/esm2022/lib/components/command/command.imports.js +9 -0
- package/esm2022/lib/components/command/command.imports.js.map +1 -0
- package/esm2022/lib/components/command/command.js +184 -0
- package/esm2022/lib/components/command/command.js.map +1 -0
- package/esm2022/lib/components/command/command.variants.js +50 -0
- package/esm2022/lib/components/command/command.variants.js.map +1 -0
- package/esm2022/lib/components/command/demo/command.js +12 -0
- package/esm2022/lib/components/command/demo/command.js.map +1 -0
- package/esm2022/lib/components/command/demo/default.js +124 -0
- package/esm2022/lib/components/command/demo/default.js.map +1 -0
- package/esm2022/lib/components/command/index.js +10 -0
- package/esm2022/lib/components/command/index.js.map +1 -0
- package/esm2022/lib/components/date-picker/date-picker-overlay.service.js +63 -0
- package/esm2022/lib/components/date-picker/date-picker-overlay.service.js.map +1 -0
- package/esm2022/lib/components/date-picker/date-picker.js +113 -0
- package/esm2022/lib/components/date-picker/date-picker.js.map +1 -0
- package/esm2022/lib/components/date-picker/date-picker.util.js +71 -0
- package/esm2022/lib/components/date-picker/date-picker.util.js.map +1 -0
- package/esm2022/lib/components/date-picker/date-picker.variants.js +17 -0
- package/esm2022/lib/components/date-picker/date-picker.variants.js.map +1 -0
- package/esm2022/lib/components/date-picker/demo/date-picker.js +21 -0
- package/esm2022/lib/components/date-picker/demo/date-picker.js.map +1 -0
- package/esm2022/lib/components/date-picker/demo/default.js +30 -0
- package/esm2022/lib/components/date-picker/demo/default.js.map +1 -0
- package/esm2022/lib/components/date-picker/demo/disabled.js +23 -0
- package/esm2022/lib/components/date-picker/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/date-picker/demo/range.js +30 -0
- package/esm2022/lib/components/date-picker/demo/range.js.map +1 -0
- package/esm2022/lib/components/date-picker/index.js +3 -0
- package/esm2022/lib/components/date-picker/index.js.map +1 -0
- package/esm2022/lib/components/dialog/demo/default.js +108 -0
- package/esm2022/lib/components/dialog/demo/default.js.map +1 -0
- package/esm2022/lib/components/dialog/demo/dialog.js +12 -0
- package/esm2022/lib/components/dialog/demo/dialog.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-ref.js +85 -0
- package/esm2022/lib/components/dialog/dialog-ref.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog.config.js +22 -0
- package/esm2022/lib/components/dialog/dialog.config.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog.js +51 -0
- package/esm2022/lib/components/dialog/dialog.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog.module.js +20 -0
- package/esm2022/lib/components/dialog/dialog.module.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog.service.js +76 -0
- package/esm2022/lib/components/dialog/dialog.service.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog.variants.js +3 -0
- package/esm2022/lib/components/dialog/dialog.variants.js.map +1 -0
- package/esm2022/lib/components/dialog/index.js +6 -0
- package/esm2022/lib/components/dialog/index.js.map +1 -0
- package/esm2022/lib/components/empty/demo/advanced.js +63 -0
- package/esm2022/lib/components/empty/demo/advanced.js.map +1 -0
- package/esm2022/lib/components/empty/demo/custom-image.js +44 -0
- package/esm2022/lib/components/empty/demo/custom-image.js.map +1 -0
- package/esm2022/lib/components/empty/demo/default.js +61 -0
- package/esm2022/lib/components/empty/demo/default.js.map +1 -0
- package/esm2022/lib/components/empty/demo/empty.js +22 -0
- package/esm2022/lib/components/empty/demo/empty.js.map +1 -0
- package/esm2022/lib/components/empty/empty.js +30 -0
- package/esm2022/lib/components/empty/empty.js.map +1 -0
- package/esm2022/lib/components/empty/empty.variants.js +23 -0
- package/esm2022/lib/components/empty/empty.variants.js.map +1 -0
- package/esm2022/lib/components/empty/index.js +3 -0
- package/esm2022/lib/components/empty/index.js.map +1 -0
- package/esm2022/lib/components/float-button/demo/float-button.js +37 -0
- package/esm2022/lib/components/float-button/demo/float-button.js.map +1 -0
- package/esm2022/lib/components/float-button/demo/float-group.js +44 -0
- package/esm2022/lib/components/float-button/demo/float-group.js.map +1 -0
- package/esm2022/lib/components/float-button/demo/float-top.js +23 -0
- package/esm2022/lib/components/float-button/demo/float-top.js.map +1 -0
- package/esm2022/lib/components/float-button/demo/position.js +29 -0
- package/esm2022/lib/components/float-button/demo/position.js.map +1 -0
- package/esm2022/lib/components/float-button/demo/shape.js +25 -0
- package/esm2022/lib/components/float-button/demo/shape.js.map +1 -0
- package/esm2022/lib/components/float-button/demo/size.js +25 -0
- package/esm2022/lib/components/float-button/demo/size.js.map +1 -0
- package/esm2022/lib/components/float-button/demo/variant.js +27 -0
- package/esm2022/lib/components/float-button/demo/variant.js.map +1 -0
- package/esm2022/lib/components/float-button/float-button-group.js +99 -0
- package/esm2022/lib/components/float-button/float-button-group.js.map +1 -0
- package/esm2022/lib/components/float-button/float-button-top.js +70 -0
- package/esm2022/lib/components/float-button/float-button-top.js.map +1 -0
- package/esm2022/lib/components/float-button/float-button.js +59 -0
- package/esm2022/lib/components/float-button/float-button.js.map +1 -0
- package/esm2022/lib/components/float-button/float-button.variants.js +24 -0
- package/esm2022/lib/components/float-button/float-button.variants.js.map +1 -0
- package/esm2022/lib/components/float-button/index.js +5 -0
- package/esm2022/lib/components/float-button/index.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/autocomplete-config.js +36 -0
- package/esm2022/lib/components/form-field/autocomplete/autocomplete-config.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/autocomplete.js +234 -0
- package/esm2022/lib/components/form-field/autocomplete/autocomplete.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/autocomplete.variants.js +25 -0
- package/esm2022/lib/components/form-field/autocomplete/autocomplete.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/autocomplete.js +21 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/autocomplete.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/default.js +41 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/events.js +63 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/events.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/validation.js +84 -0
- package/esm2022/lib/components/form-field/autocomplete/demo/validation.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/index.js +4 -0
- package/esm2022/lib/components/form-field/autocomplete/index.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/services/autocomplete-overlay.service.js +65 -0
- package/esm2022/lib/components/form-field/autocomplete/services/autocomplete-overlay.service.js.map +1 -0
- package/esm2022/lib/components/form-field/autocomplete/services/index.js +2 -0
- package/esm2022/lib/components/form-field/autocomplete/services/index.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/checkbox.js +59 -0
- package/esm2022/lib/components/form-field/checkbox/checkbox.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/checkbox.variants.js +39 -0
- package/esm2022/lib/components/form-field/checkbox/checkbox.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/demo/checkbox.js +37 -0
- package/esm2022/lib/components/form-field/checkbox/demo/checkbox.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/demo/default.js +27 -0
- package/esm2022/lib/components/form-field/checkbox/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/demo/destructive.js +27 -0
- package/esm2022/lib/components/form-field/checkbox/demo/destructive.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/demo/disabled.js +28 -0
- package/esm2022/lib/components/form-field/checkbox/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/demo/shape.js +25 -0
- package/esm2022/lib/components/form-field/checkbox/demo/shape.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/demo/size.js +25 -0
- package/esm2022/lib/components/form-field/checkbox/demo/size.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/demo/validation.js +75 -0
- package/esm2022/lib/components/form-field/checkbox/demo/validation.js.map +1 -0
- package/esm2022/lib/components/form-field/checkbox/index.js +3 -0
- package/esm2022/lib/components/form-field/checkbox/index.js.map +1 -0
- package/esm2022/lib/components/form-field/datetime/datetime.js +59 -0
- package/esm2022/lib/components/form-field/datetime/datetime.js.map +1 -0
- package/esm2022/lib/components/form-field/datetime/datetime.variants.js +30 -0
- package/esm2022/lib/components/form-field/datetime/datetime.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/datetime/demo/datetime.js +21 -0
- package/esm2022/lib/components/form-field/datetime/demo/datetime.js.map +1 -0
- package/esm2022/lib/components/form-field/datetime/demo/default.js +37 -0
- package/esm2022/lib/components/form-field/datetime/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/datetime/demo/disabled.js +25 -0
- package/esm2022/lib/components/form-field/datetime/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/form-field/datetime/demo/validation.js +69 -0
- package/esm2022/lib/components/form-field/datetime/demo/validation.js.map +1 -0
- package/esm2022/lib/components/form-field/datetime/index.js +3 -0
- package/esm2022/lib/components/form-field/datetime/index.js.map +1 -0
- package/esm2022/lib/components/form-field/index.js +10 -0
- package/esm2022/lib/components/form-field/index.js.map +1 -0
- package/esm2022/lib/components/form-field/input/currency-mask.service.js +40 -0
- package/esm2022/lib/components/form-field/input/currency-mask.service.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/default.js +26 -0
- package/esm2022/lib/components/form-field/input/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/disabled.js +28 -0
- package/esm2022/lib/components/form-field/input/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/icon.js +29 -0
- package/esm2022/lib/components/form-field/input/demo/icon.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/input.js +47 -0
- package/esm2022/lib/components/form-field/input/demo/input.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/mask.js +48 -0
- package/esm2022/lib/components/form-field/input/demo/mask.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/normalize.js +69 -0
- package/esm2022/lib/components/form-field/input/demo/normalize.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/password.js +29 -0
- package/esm2022/lib/components/form-field/input/demo/password.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/validation.js +113 -0
- package/esm2022/lib/components/form-field/input/demo/validation.js.map +1 -0
- package/esm2022/lib/components/form-field/input/demo/variant.js +34 -0
- package/esm2022/lib/components/form-field/input/demo/variant.js.map +1 -0
- package/esm2022/lib/components/form-field/input/index.js +4 -0
- package/esm2022/lib/components/form-field/input/index.js.map +1 -0
- package/esm2022/lib/components/form-field/input/input.js +102 -0
- package/esm2022/lib/components/form-field/input/input.js.map +1 -0
- package/esm2022/lib/components/form-field/input/input.variants.js +38 -0
- package/esm2022/lib/components/form-field/input/input.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/input/interfaces/feedback.interface.js +26 -0
- package/esm2022/lib/components/form-field/input/interfaces/feedback.interface.js.map +1 -0
- package/esm2022/lib/components/form-field/input/interfaces/index.js +4 -0
- package/esm2022/lib/components/form-field/input/interfaces/index.js.map +1 -0
- package/esm2022/lib/components/form-field/input/interfaces/mask-config.interface.js +1 -0
- package/esm2022/lib/components/form-field/input/interfaces/mask-config.interface.js.map +1 -0
- package/esm2022/lib/components/form-field/input/interfaces/password-strength.js +39 -0
- package/esm2022/lib/components/form-field/input/interfaces/password-strength.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/demo/default.js +32 -0
- package/esm2022/lib/components/form-field/radio/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/demo/disabled.js +32 -0
- package/esm2022/lib/components/form-field/radio/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/demo/radio.js +26 -0
- package/esm2022/lib/components/form-field/radio/demo/radio.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/demo/size.js +30 -0
- package/esm2022/lib/components/form-field/radio/demo/size.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/demo/validation.js +90 -0
- package/esm2022/lib/components/form-field/radio/demo/validation.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/index.js +5 -0
- package/esm2022/lib/components/form-field/radio/index.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/radio-group.js +52 -0
- package/esm2022/lib/components/form-field/radio/radio-group.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/radio.imports.js +4 -0
- package/esm2022/lib/components/form-field/radio/radio.imports.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/radio.js +83 -0
- package/esm2022/lib/components/form-field/radio/radio.js.map +1 -0
- package/esm2022/lib/components/form-field/radio/radio.variants.js +30 -0
- package/esm2022/lib/components/form-field/radio/radio.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/demo/default.js +39 -0
- package/esm2022/lib/components/form-field/segmented/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/demo/disabled.js +49 -0
- package/esm2022/lib/components/form-field/segmented/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/demo/segmented.js +21 -0
- package/esm2022/lib/components/form-field/segmented/demo/segmented.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/demo/size.js +55 -0
- package/esm2022/lib/components/form-field/segmented/demo/size.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/index.js +4 -0
- package/esm2022/lib/components/form-field/segmented/index.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/segmented.interface.js +1 -0
- package/esm2022/lib/components/form-field/segmented/segmented.interface.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/segmented.js +56 -0
- package/esm2022/lib/components/form-field/segmented/segmented.js.map +1 -0
- package/esm2022/lib/components/form-field/segmented/segmented.variants.js +16 -0
- package/esm2022/lib/components/form-field/segmented/segmented.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/select/demo/default.js +47 -0
- package/esm2022/lib/components/form-field/select/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/select/demo/multiple.js +57 -0
- package/esm2022/lib/components/form-field/select/demo/multiple.js.map +1 -0
- package/esm2022/lib/components/form-field/select/demo/select.js +17 -0
- package/esm2022/lib/components/form-field/select/demo/select.js.map +1 -0
- package/esm2022/lib/components/form-field/select/index.js +5 -0
- package/esm2022/lib/components/form-field/select/index.js.map +1 -0
- package/esm2022/lib/components/form-field/select/select-item.js +78 -0
- package/esm2022/lib/components/form-field/select/select-item.js.map +1 -0
- package/esm2022/lib/components/form-field/select/select.facade.js +70 -0
- package/esm2022/lib/components/form-field/select/select.facade.js.map +1 -0
- package/esm2022/lib/components/form-field/select/select.imports.js +4 -0
- package/esm2022/lib/components/form-field/select/select.imports.js.map +1 -0
- package/esm2022/lib/components/form-field/select/select.js +315 -0
- package/esm2022/lib/components/form-field/select/select.js.map +1 -0
- package/esm2022/lib/components/form-field/select/select.variants.js +57 -0
- package/esm2022/lib/components/form-field/select/select.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/select/services/index.js +6 -0
- package/esm2022/lib/components/form-field/select/services/index.js.map +1 -0
- package/esm2022/lib/components/form-field/select/services/select-dom.service.js +43 -0
- package/esm2022/lib/components/form-field/select/services/select-dom.service.js.map +1 -0
- package/esm2022/lib/components/form-field/select/services/select-keyword.service.js +54 -0
- package/esm2022/lib/components/form-field/select/services/select-keyword.service.js.map +1 -0
- package/esm2022/lib/components/form-field/select/services/select-labels.service.js +43 -0
- package/esm2022/lib/components/form-field/select/services/select-labels.service.js.map +1 -0
- package/esm2022/lib/components/form-field/select/services/select-overlay.service.js +89 -0
- package/esm2022/lib/components/form-field/select/services/select-overlay.service.js.map +1 -0
- package/esm2022/lib/components/form-field/select/services/select.store.js +30 -0
- package/esm2022/lib/components/form-field/select/services/select.store.js.map +1 -0
- package/esm2022/lib/components/form-field/switch/demo/default.js +27 -0
- package/esm2022/lib/components/form-field/switch/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/switch/demo/disabled.js +25 -0
- package/esm2022/lib/components/form-field/switch/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/form-field/switch/demo/size.js +27 -0
- package/esm2022/lib/components/form-field/switch/demo/size.js.map +1 -0
- package/esm2022/lib/components/form-field/switch/demo/switch.js +21 -0
- package/esm2022/lib/components/form-field/switch/demo/switch.js.map +1 -0
- package/esm2022/lib/components/form-field/switch/index.js +3 -0
- package/esm2022/lib/components/form-field/switch/index.js.map +1 -0
- package/esm2022/lib/components/form-field/switch/switch.js +34 -0
- package/esm2022/lib/components/form-field/switch/switch.js.map +1 -0
- package/esm2022/lib/components/form-field/switch/switch.variants.js +44 -0
- package/esm2022/lib/components/form-field/switch/switch.variants.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/demo/default.js +26 -0
- package/esm2022/lib/components/form-field/textarea/demo/default.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/demo/disabled.js +28 -0
- package/esm2022/lib/components/form-field/textarea/demo/disabled.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/demo/resize.js +34 -0
- package/esm2022/lib/components/form-field/textarea/demo/resize.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/demo/textarea.js +32 -0
- package/esm2022/lib/components/form-field/textarea/demo/textarea.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/demo/validation.js +53 -0
- package/esm2022/lib/components/form-field/textarea/demo/validation.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/demo/variant.js +34 -0
- package/esm2022/lib/components/form-field/textarea/demo/variant.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/index.js +3 -0
- package/esm2022/lib/components/form-field/textarea/index.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/textarea.js +59 -0
- package/esm2022/lib/components/form-field/textarea/textarea.js.map +1 -0
- package/esm2022/lib/components/form-field/textarea/textarea.variants.js +45 -0
- package/esm2022/lib/components/form-field/textarea/textarea.variants.js.map +1 -0
- package/esm2022/lib/components/icon/demo/icon.js +22 -0
- package/esm2022/lib/components/icon/demo/icon.js.map +1 -0
- package/esm2022/lib/components/icon/demo/searchable.js +188 -0
- package/esm2022/lib/components/icon/demo/searchable.js.map +1 -0
- package/esm2022/lib/components/icon/demo/size.js +31 -0
- package/esm2022/lib/components/icon/demo/size.js.map +1 -0
- package/esm2022/lib/components/icon/demo/type.js +27 -0
- package/esm2022/lib/components/icon/demo/type.js.map +1 -0
- package/esm2022/lib/components/icon/icon-categories.js +745 -0
- package/esm2022/lib/components/icon/icon-categories.js.map +1 -0
- package/esm2022/lib/components/icon/icon.component.js +39 -0
- package/esm2022/lib/components/icon/icon.component.js.map +1 -0
- package/esm2022/lib/components/icon/icon.variants.js +21 -0
- package/esm2022/lib/components/icon/icon.variants.js.map +1 -0
- package/esm2022/lib/components/icon/icons.js +1310 -0
- package/esm2022/lib/components/icon/icons.js.map +1 -0
- package/esm2022/lib/components/icon/index.js +4 -0
- package/esm2022/lib/components/icon/index.js.map +1 -0
- package/esm2022/lib/components/index.js +31 -0
- package/esm2022/lib/components/index.js.map +1 -0
- package/esm2022/lib/components/loader/demo/loader.js +17 -0
- package/esm2022/lib/components/loader/demo/loader.js.map +1 -0
- package/esm2022/lib/components/loader/demo/size.js +45 -0
- package/esm2022/lib/components/loader/demo/size.js.map +1 -0
- package/esm2022/lib/components/loader/demo/type.js +69 -0
- package/esm2022/lib/components/loader/demo/type.js.map +1 -0
- package/esm2022/lib/components/loader/index.js +4 -0
- package/esm2022/lib/components/loader/index.js.map +1 -0
- package/esm2022/lib/components/loader/loader-progess.js +82 -0
- package/esm2022/lib/components/loader/loader-progess.js.map +1 -0
- package/esm2022/lib/components/loader/loader.js +30 -0
- package/esm2022/lib/components/loader/loader.js.map +1 -0
- package/esm2022/lib/components/loader/loader.service.js +24 -0
- package/esm2022/lib/components/loader/loader.service.js.map +1 -0
- package/esm2022/lib/components/loader/loader.variants.js +25 -0
- package/esm2022/lib/components/loader/loader.variants.js.map +1 -0
- package/esm2022/lib/components/markdown/demo/editor.js +35 -0
- package/esm2022/lib/components/markdown/demo/editor.js.map +1 -0
- package/esm2022/lib/components/markdown/demo/markdown.js +17 -0
- package/esm2022/lib/components/markdown/demo/markdown.js.map +1 -0
- package/esm2022/lib/components/markdown/demo/viewer.js +35 -0
- package/esm2022/lib/components/markdown/demo/viewer.js.map +1 -0
- package/esm2022/lib/components/markdown/icon.helper.js +245 -0
- package/esm2022/lib/components/markdown/icon.helper.js.map +1 -0
- package/esm2022/lib/components/markdown/index.js +3 -0
- package/esm2022/lib/components/markdown/index.js.map +1 -0
- package/esm2022/lib/components/markdown/language-icons.js +11 -0
- package/esm2022/lib/components/markdown/language-icons.js.map +1 -0
- package/esm2022/lib/components/markdown/markdown.js +210 -0
- package/esm2022/lib/components/markdown/markdown.js.map +1 -0
- package/esm2022/lib/components/markdown/markdown.service.js +121 -0
- package/esm2022/lib/components/markdown/markdown.service.js.map +1 -0
- package/esm2022/lib/components/pagination/demo/custom.js +93 -0
- package/esm2022/lib/components/pagination/demo/custom.js.map +1 -0
- package/esm2022/lib/components/pagination/demo/default.js +18 -0
- package/esm2022/lib/components/pagination/demo/default.js.map +1 -0
- package/esm2022/lib/components/pagination/demo/info.js +47 -0
- package/esm2022/lib/components/pagination/demo/info.js.map +1 -0
- package/esm2022/lib/components/pagination/demo/intl.js +49 -0
- package/esm2022/lib/components/pagination/demo/intl.js.map +1 -0
- package/esm2022/lib/components/pagination/demo/pagination.js +27 -0
- package/esm2022/lib/components/pagination/demo/pagination.js.map +1 -0
- package/esm2022/lib/components/pagination/index.js +5 -0
- package/esm2022/lib/components/pagination/index.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-button.js +35 -0
- package/esm2022/lib/components/pagination/pagination-button.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-content.js +25 -0
- package/esm2022/lib/components/pagination/pagination-content.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-ellipsis.js +27 -0
- package/esm2022/lib/components/pagination/pagination-ellipsis.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-intl.js +21 -0
- package/esm2022/lib/components/pagination/pagination-intl.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-item.js +20 -0
- package/esm2022/lib/components/pagination/pagination-item.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-next.js +40 -0
- package/esm2022/lib/components/pagination/pagination-next.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-prev.js +40 -0
- package/esm2022/lib/components/pagination/pagination-prev.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination.imports.js +9 -0
- package/esm2022/lib/components/pagination/pagination.imports.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination.js +210 -0
- package/esm2022/lib/components/pagination/pagination.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination.variants.js +7 -0
- package/esm2022/lib/components/pagination/pagination.variants.js.map +1 -0
- package/esm2022/lib/components/progress-bar/demo/indeterminate.js +25 -0
- package/esm2022/lib/components/progress-bar/demo/indeterminate.js.map +1 -0
- package/esm2022/lib/components/progress-bar/demo/progress-bar.js +15 -0
- package/esm2022/lib/components/progress-bar/demo/progress-bar.js.map +1 -0
- package/esm2022/lib/components/progress-bar/demo/shape.js +28 -0
- package/esm2022/lib/components/progress-bar/demo/shape.js.map +1 -0
- package/esm2022/lib/components/progress-bar/demo/size.js +28 -0
- package/esm2022/lib/components/progress-bar/demo/size.js.map +1 -0
- package/esm2022/lib/components/progress-bar/demo/variant.js +26 -0
- package/esm2022/lib/components/progress-bar/demo/variant.js.map +1 -0
- package/esm2022/lib/components/progress-bar/index.js +4 -0
- package/esm2022/lib/components/progress-bar/index.js.map +1 -0
- package/esm2022/lib/components/progress-bar/progress-bar.js +133 -0
- package/esm2022/lib/components/progress-bar/progress-bar.js.map +1 -0
- package/esm2022/lib/components/progress-bar/progress-bar.variants.js +42 -0
- package/esm2022/lib/components/progress-bar/progress-bar.variants.js.map +1 -0
- package/esm2022/lib/components/separator/demo/orientation.js +45 -0
- package/esm2022/lib/components/separator/demo/orientation.js.map +1 -0
- package/esm2022/lib/components/separator/demo/separator.js +12 -0
- package/esm2022/lib/components/separator/demo/separator.js.map +1 -0
- package/esm2022/lib/components/separator/index.js +3 -0
- package/esm2022/lib/components/separator/index.js.map +1 -0
- package/esm2022/lib/components/separator/separator.js +25 -0
- package/esm2022/lib/components/separator/separator.js.map +1 -0
- package/esm2022/lib/components/separator/separator.variants.js +13 -0
- package/esm2022/lib/components/separator/separator.variants.js.map +1 -0
- package/esm2022/lib/components/skeleton/demo/card.js +47 -0
- package/esm2022/lib/components/skeleton/demo/card.js.map +1 -0
- package/esm2022/lib/components/skeleton/demo/chart.js +42 -0
- package/esm2022/lib/components/skeleton/demo/chart.js.map +1 -0
- package/esm2022/lib/components/skeleton/demo/default.js +31 -0
- package/esm2022/lib/components/skeleton/demo/default.js.map +1 -0
- package/esm2022/lib/components/skeleton/demo/skeleton.js +12 -0
- package/esm2022/lib/components/skeleton/demo/skeleton.js.map +1 -0
- package/esm2022/lib/components/skeleton/index.js +3 -0
- package/esm2022/lib/components/skeleton/index.js.map +1 -0
- package/esm2022/lib/components/skeleton/skeleton.js +32 -0
- package/esm2022/lib/components/skeleton/skeleton.js.map +1 -0
- package/esm2022/lib/components/skeleton/skeleton.variants.js +6 -0
- package/esm2022/lib/components/skeleton/skeleton.variants.js.map +1 -0
- package/esm2022/lib/components/stepper/demo/default.js +86 -0
- package/esm2022/lib/components/stepper/demo/default.js.map +1 -0
- package/esm2022/lib/components/stepper/demo/orientation.js +86 -0
- package/esm2022/lib/components/stepper/demo/orientation.js.map +1 -0
- package/esm2022/lib/components/stepper/demo/stepper.js +21 -0
- package/esm2022/lib/components/stepper/demo/stepper.js.map +1 -0
- package/esm2022/lib/components/stepper/demo/validation.js +107 -0
- package/esm2022/lib/components/stepper/demo/validation.js.map +1 -0
- package/esm2022/lib/components/stepper/index.js +3 -0
- package/esm2022/lib/components/stepper/index.js.map +1 -0
- package/esm2022/lib/components/stepper/stepper.js +93 -0
- package/esm2022/lib/components/stepper/stepper.js.map +1 -0
- package/esm2022/lib/components/stepper/stepper.service.js +67 -0
- package/esm2022/lib/components/stepper/stepper.service.js.map +1 -0
- package/esm2022/lib/components/stepper/stepper.variants.js +64 -0
- package/esm2022/lib/components/stepper/stepper.variants.js.map +1 -0
- package/esm2022/lib/components/table/cell-template.directive.js +18 -0
- package/esm2022/lib/components/table/cell-template.directive.js.map +1 -0
- package/esm2022/lib/components/table/demo/border.js +30 -0
- package/esm2022/lib/components/table/demo/border.js.map +1 -0
- package/esm2022/lib/components/table/demo/default.js +48 -0
- package/esm2022/lib/components/table/demo/default.js.map +1 -0
- package/esm2022/lib/components/table/demo/pagination.js +69 -0
- package/esm2022/lib/components/table/demo/pagination.js.map +1 -0
- package/esm2022/lib/components/table/demo/selected.js +34 -0
- package/esm2022/lib/components/table/demo/selected.js.map +1 -0
- package/esm2022/lib/components/table/demo/size.js +55 -0
- package/esm2022/lib/components/table/demo/size.js.map +1 -0
- package/esm2022/lib/components/table/demo/sort.js +59 -0
- package/esm2022/lib/components/table/demo/sort.js.map +1 -0
- package/esm2022/lib/components/table/demo/table.js +37 -0
- package/esm2022/lib/components/table/demo/table.js.map +1 -0
- package/esm2022/lib/components/table/demo/user.js +25 -0
- package/esm2022/lib/components/table/demo/user.js.map +1 -0
- package/esm2022/lib/components/table/index.js +5 -0
- package/esm2022/lib/components/table/index.js.map +1 -0
- package/esm2022/lib/components/table/table.config.js +1 -0
- package/esm2022/lib/components/table/table.config.js.map +1 -0
- package/esm2022/lib/components/table/table.js +121 -0
- package/esm2022/lib/components/table/table.js.map +1 -0
- package/esm2022/lib/components/table/table.variants.js +86 -0
- package/esm2022/lib/components/table/table.variants.js.map +1 -0
- package/esm2022/lib/components/tabs/demo/align.js +55 -0
- package/esm2022/lib/components/tabs/demo/align.js.map +1 -0
- package/esm2022/lib/components/tabs/demo/arrows.js +45 -0
- package/esm2022/lib/components/tabs/demo/arrows.js.map +1 -0
- package/esm2022/lib/components/tabs/demo/default.js +27 -0
- package/esm2022/lib/components/tabs/demo/default.js.map +1 -0
- package/esm2022/lib/components/tabs/demo/position.js +65 -0
- package/esm2022/lib/components/tabs/demo/position.js.map +1 -0
- package/esm2022/lib/components/tabs/demo/tabs.js +15 -0
- package/esm2022/lib/components/tabs/demo/tabs.js.map +1 -0
- package/esm2022/lib/components/tabs/index.js +3 -0
- package/esm2022/lib/components/tabs/index.js.map +1 -0
- package/esm2022/lib/components/tabs/tabs.js +195 -0
- package/esm2022/lib/components/tabs/tabs.js.map +1 -0
- package/esm2022/lib/components/tabs/tabs.variants.js +58 -0
- package/esm2022/lib/components/tabs/tabs.variants.js.map +1 -0
- package/esm2022/lib/components/toast/demo/default.js +32 -0
- package/esm2022/lib/components/toast/demo/default.js.map +1 -0
- package/esm2022/lib/components/toast/demo/position.js +63 -0
- package/esm2022/lib/components/toast/demo/position.js.map +1 -0
- package/esm2022/lib/components/toast/demo/toast.js +22 -0
- package/esm2022/lib/components/toast/demo/toast.js.map +1 -0
- package/esm2022/lib/components/toast/demo/type.js +48 -0
- package/esm2022/lib/components/toast/demo/type.js.map +1 -0
- package/esm2022/lib/components/toast/index.js +4 -0
- package/esm2022/lib/components/toast/index.js.map +1 -0
- package/esm2022/lib/components/toast/toast-content.js +15 -0
- package/esm2022/lib/components/toast/toast-content.js.map +1 -0
- package/esm2022/lib/components/toast/toast.config.js +1 -0
- package/esm2022/lib/components/toast/toast.config.js.map +1 -0
- package/esm2022/lib/components/toast/toast.js +56 -0
- package/esm2022/lib/components/toast/toast.js.map +1 -0
- package/esm2022/lib/components/toast/toast.pipe.js +52 -0
- package/esm2022/lib/components/toast/toast.pipe.js.map +1 -0
- package/esm2022/lib/components/toast/toast.service.js +60 -0
- package/esm2022/lib/components/toast/toast.service.js.map +1 -0
- package/esm2022/lib/components/toast/toast.variants.js +17 -0
- package/esm2022/lib/components/toast/toast.variants.js.map +1 -0
- package/esm2022/lib/components/tooltip/demo/click.js +26 -0
- package/esm2022/lib/components/tooltip/demo/click.js.map +1 -0
- package/esm2022/lib/components/tooltip/demo/events.js +37 -0
- package/esm2022/lib/components/tooltip/demo/events.js.map +1 -0
- package/esm2022/lib/components/tooltip/demo/hover.js +26 -0
- package/esm2022/lib/components/tooltip/demo/hover.js.map +1 -0
- package/esm2022/lib/components/tooltip/demo/position.js +40 -0
- package/esm2022/lib/components/tooltip/demo/position.js.map +1 -0
- package/esm2022/lib/components/tooltip/demo/tooltip.js +27 -0
- package/esm2022/lib/components/tooltip/demo/tooltip.js.map +1 -0
- package/esm2022/lib/components/tooltip/index.js +5 -0
- package/esm2022/lib/components/tooltip/index.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip.config.js +40 -0
- package/esm2022/lib/components/tooltip/tooltip.config.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip.directive.js +163 -0
- package/esm2022/lib/components/tooltip/tooltip.directive.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip.imports.js +20 -0
- package/esm2022/lib/components/tooltip/tooltip.imports.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip.js +32 -0
- package/esm2022/lib/components/tooltip/tooltip.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip.variants.js +13 -0
- package/esm2022/lib/components/tooltip/tooltip.variants.js.map +1 -0
- package/esm2022/lib/components/tree/demo/default.js +52 -0
- package/esm2022/lib/components/tree/demo/default.js.map +1 -0
- package/esm2022/lib/components/tree/demo/selection.js +56 -0
- package/esm2022/lib/components/tree/demo/selection.js.map +1 -0
- package/esm2022/lib/components/tree/demo/tree.js +10 -0
- package/esm2022/lib/components/tree/demo/tree.js.map +1 -0
- package/esm2022/lib/components/tree/index.js +4 -0
- package/esm2022/lib/components/tree/index.js.map +1 -0
- package/esm2022/lib/components/tree/tree.interface.js +1 -0
- package/esm2022/lib/components/tree/tree.interface.js.map +1 -0
- package/esm2022/lib/components/tree/tree.js +138 -0
- package/esm2022/lib/components/tree/tree.js.map +1 -0
- package/esm2022/lib/components/tree/tree.variants.js +17 -0
- package/esm2022/lib/components/tree/tree.variants.js.map +1 -0
- package/esm2022/lib/components/upload/demo/default.js +42 -0
- package/esm2022/lib/components/upload/demo/default.js.map +1 -0
- package/esm2022/lib/components/upload/demo/dropzone.js +42 -0
- package/esm2022/lib/components/upload/demo/dropzone.js.map +1 -0
- package/esm2022/lib/components/upload/demo/multiple.js +42 -0
- package/esm2022/lib/components/upload/demo/multiple.js.map +1 -0
- package/esm2022/lib/components/upload/demo/selected.js +53 -0
- package/esm2022/lib/components/upload/demo/selected.js.map +1 -0
- package/esm2022/lib/components/upload/demo/upload.js +15 -0
- package/esm2022/lib/components/upload/demo/upload.js.map +1 -0
- package/esm2022/lib/components/upload/index.js +5 -0
- package/esm2022/lib/components/upload/index.js.map +1 -0
- package/esm2022/lib/components/upload/upload.interface.js +1 -0
- package/esm2022/lib/components/upload/upload.interface.js.map +1 -0
- package/esm2022/lib/components/upload/upload.js +227 -0
- package/esm2022/lib/components/upload/upload.js.map +1 -0
- package/esm2022/lib/components/upload/upload.service.js +36 -0
- package/esm2022/lib/components/upload/upload.service.js.map +1 -0
- package/esm2022/lib/components/upload/upload.variants.js +29 -0
- package/esm2022/lib/components/upload/upload.variants.js.map +1 -0
- package/esm2022/lib/core/directives/generate-id.directive.js +29 -0
- package/esm2022/lib/core/directives/generate-id.directive.js.map +1 -0
- package/esm2022/lib/core/directives/index.js +4 -0
- package/esm2022/lib/core/directives/index.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/index.js +4 -0
- package/esm2022/lib/core/directives/normalize/index.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/normalize.config.js +7 -0
- package/esm2022/lib/core/directives/normalize/normalize.config.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/normalize.directive.js +37 -0
- package/esm2022/lib/core/directives/normalize/normalize.directive.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/strategies/alfa.strategy.js +14 -0
- package/esm2022/lib/core/directives/normalize/strategies/alfa.strategy.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/strategies/alfanum.strategy.js +14 -0
- package/esm2022/lib/core/directives/normalize/strategies/alfanum.strategy.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/strategies/index.js +11 -0
- package/esm2022/lib/core/directives/normalize/strategies/index.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/strategies/normalize.strategy.js +1 -0
- package/esm2022/lib/core/directives/normalize/strategies/normalize.strategy.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/strategies/numeric.strategy.js +6 -0
- package/esm2022/lib/core/directives/normalize/strategies/numeric.strategy.js.map +1 -0
- package/esm2022/lib/core/directives/normalize/strategies/uppercase.strategy.js +6 -0
- package/esm2022/lib/core/directives/normalize/strategies/uppercase.strategy.js.map +1 -0
- package/esm2022/lib/core/directives/string-template-ref.directive.js +69 -0
- package/esm2022/lib/core/directives/string-template-ref.directive.js.map +1 -0
- package/esm2022/lib/core/helpers/index.js +2 -0
- package/esm2022/lib/core/helpers/index.js.map +1 -0
- package/esm2022/lib/core/helpers/merge.helper.js +10 -0
- package/esm2022/lib/core/helpers/merge.helper.js.map +1 -0
- package/esm2022/lib/core/index.js +6 -0
- package/esm2022/lib/core/index.js.map +1 -0
- package/esm2022/lib/core/interfaces/control-value.interface.js +1 -0
- package/esm2022/lib/core/interfaces/control-value.interface.js.map +1 -0
- package/esm2022/lib/core/interfaces/index.js +2 -0
- package/esm2022/lib/core/interfaces/index.js.map +1 -0
- package/esm2022/lib/core/template/index.js +2 -0
- package/esm2022/lib/core/template/index.js.map +1 -0
- package/esm2022/lib/core/template/print/print.js +25 -0
- package/esm2022/lib/core/template/print/print.js.map +1 -0
- package/esm2022/lib/core/template/print/print.pipe.js +18 -0
- package/esm2022/lib/core/template/print/print.pipe.js.map +1 -0
- package/esm2022/lib/core/utils/clipboard.util.js +66 -0
- package/esm2022/lib/core/utils/clipboard.util.js.map +1 -0
- package/esm2022/lib/core/utils/index.js +2 -0
- package/esm2022/lib/core/utils/index.js.map +1 -0
- package/esm2022/lib/infra/index.js +2 -0
- package/esm2022/lib/infra/index.js.map +1 -0
- package/esm2022/lib/infra/stores/index.js +2 -0
- package/esm2022/lib/infra/stores/index.js.map +1 -0
- package/esm2022/lib/infra/stores/theme.store.js +39 -0
- package/esm2022/lib/infra/stores/theme.store.js.map +1 -0
- package/index.d.ts +3 -0
- package/lib/components/accordion/accordion.d.ts +31 -0
- package/lib/components/accordion/accordion.service.d.ts +15 -0
- package/lib/components/accordion/accordion.variants.d.ts +10 -0
- package/lib/components/accordion/demo/accordion.d.ts +8 -0
- package/lib/components/accordion/demo/default.d.ts +5 -0
- package/lib/components/accordion/demo/single.d.ts +5 -0
- package/lib/components/accordion/index.d.ts +2 -0
- package/lib/components/alert/alert.d.ts +13 -0
- package/lib/components/alert/alert.variants.d.ts +6 -0
- package/lib/components/alert/demo/accent.d.ts +7 -0
- package/lib/components/alert/demo/alert.d.ts +9 -0
- package/lib/components/alert/demo/destructive.d.ts +7 -0
- package/lib/components/alert/demo/icon.d.ts +7 -0
- package/lib/components/alert/demo/info.d.ts +7 -0
- package/lib/components/alert/demo/primary.d.ts +7 -0
- package/lib/components/alert/demo/success.d.ts +7 -0
- package/lib/components/alert/demo/warning.d.ts +7 -0
- package/lib/components/alert/index.d.ts +2 -0
- package/lib/components/alert-dialog/alert-dialog.config.d.ts +27 -0
- package/lib/components/alert-dialog/alert-dialog.d.ts +26 -0
- package/lib/components/alert-dialog/alert-dialog.ref.d.ts +18 -0
- package/lib/components/alert-dialog/alert-dialog.service.d.ts +20 -0
- package/lib/components/alert-dialog/alert-dialog.variants.d.ts +3 -0
- package/lib/components/alert-dialog/demo/alert-dialog.d.ts +9 -0
- package/lib/components/alert-dialog/demo/default.d.ts +7 -0
- package/lib/components/alert-dialog/index.d.ts +5 -0
- package/lib/components/avatar/avatar-group.d.ts +9 -0
- package/lib/components/avatar/avatar.d.ts +23 -0
- package/lib/components/avatar/avatar.variants.d.ts +14 -0
- package/lib/components/avatar/demo/avatar.d.ts +9 -0
- package/lib/components/avatar/demo/default.d.ts +5 -0
- package/lib/components/avatar/demo/shape.d.ts +5 -0
- package/lib/components/avatar/demo/size.d.ts +5 -0
- package/lib/components/avatar/demo/status.d.ts +5 -0
- package/lib/components/avatar/index.d.ts +3 -0
- package/lib/components/badge/badge.d.ts +15 -0
- package/lib/components/badge/badge.variants.d.ts +8 -0
- package/lib/components/badge/demo/badge.d.ts +9 -0
- package/lib/components/badge/demo/close.d.ts +8 -0
- package/lib/components/badge/demo/disabled.d.ts +5 -0
- package/lib/components/badge/demo/fill.d.ts +5 -0
- package/lib/components/badge/demo/icon.d.ts +5 -0
- package/lib/components/badge/demo/shape.d.ts +5 -0
- package/lib/components/badge/demo/variant.d.ts +5 -0
- package/lib/components/badge/index.d.ts +2 -0
- package/lib/components/breadcrumb/breadcrumb-content.d.ts +8 -0
- package/lib/components/breadcrumb/breadcrumb-item.d.ts +9 -0
- package/lib/components/breadcrumb/breadcrumb-link.d.ts +9 -0
- package/lib/components/breadcrumb/breadcrumb-list.d.ts +9 -0
- package/lib/components/breadcrumb/breadcrumb-page.d.ts +8 -0
- package/lib/components/breadcrumb/breadcrumb-separator.d.ts +10 -0
- package/lib/components/breadcrumb/breadcrumb.config.d.ts +6 -0
- package/lib/components/breadcrumb/breadcrumb.d.ts +12 -0
- package/lib/components/breadcrumb/breadcrumb.directive.d.ts +9 -0
- package/lib/components/breadcrumb/breadcrumb.imports.d.ts +7 -0
- package/lib/components/breadcrumb/breadcrumb.service.d.ts +17 -0
- package/lib/components/breadcrumb/breadcrumb.variants.d.ts +27 -0
- package/lib/components/breadcrumb/demo/breadcrumb.d.ts +9 -0
- package/lib/components/breadcrumb/demo/content.d.ts +5 -0
- package/lib/components/breadcrumb/demo/custom-separator.d.ts +5 -0
- package/lib/components/breadcrumb/demo/default.d.ts +5 -0
- package/lib/components/breadcrumb/demo/directive.d.ts +5 -0
- package/lib/components/breadcrumb/demo/icon.d.ts +5 -0
- package/lib/components/breadcrumb/demo/router-link.d.ts +5 -0
- package/lib/components/breadcrumb/index.d.ts +4 -0
- package/lib/components/button/button.d.ts +17 -0
- package/lib/components/button/button.variants.d.ts +11 -0
- package/lib/components/button/demo/button.d.ts +9 -0
- package/lib/components/button/demo/disabled.d.ts +5 -0
- package/lib/components/button/demo/fill.d.ts +5 -0
- package/lib/components/button/demo/full.d.ts +5 -0
- package/lib/components/button/demo/icon.d.ts +5 -0
- package/lib/components/button/demo/loading.d.ts +5 -0
- package/lib/components/button/demo/shape.d.ts +5 -0
- package/lib/components/button/demo/size.d.ts +5 -0
- package/lib/components/button/demo/variant.d.ts +5 -0
- package/lib/components/button/index.d.ts +2 -0
- package/lib/components/button-toggle/button-toggle.d.ts +36 -0
- package/lib/components/button-toggle/button-toggle.variants.d.ts +11 -0
- package/lib/components/button-toggle/demo/button-toggle.d.ts +9 -0
- package/lib/components/button-toggle/demo/default.d.ts +9 -0
- package/lib/components/button-toggle/demo/disabled.d.ts +7 -0
- package/lib/components/button-toggle/demo/size.d.ts +7 -0
- package/lib/components/button-toggle/index.d.ts +2 -0
- package/lib/components/card/card.d.ts +17 -0
- package/lib/components/card/card.variants.d.ts +9 -0
- package/lib/components/card/demo/card.d.ts +9 -0
- package/lib/components/card/demo/default.d.ts +5 -0
- package/lib/components/card/demo/disabled.d.ts +5 -0
- package/lib/components/card/index.d.ts +2 -0
- package/lib/components/carousel/carousel.d.ts +41 -0
- package/lib/components/carousel/carousel.service.d.ts +29 -0
- package/lib/components/carousel/carousel.variants.d.ts +18 -0
- package/lib/components/carousel/demo/autoplay.d.ts +11 -0
- package/lib/components/carousel/demo/carousel.d.ts +8 -0
- package/lib/components/carousel/demo/default.d.ts +9 -0
- package/lib/components/carousel/demo/loop.d.ts +9 -0
- package/lib/components/carousel/index.d.ts +2 -0
- package/lib/components/command/command-empty.d.ts +12 -0
- package/lib/components/command/command-input.d.ts +28 -0
- package/lib/components/command/command-item-group.d.ts +20 -0
- package/lib/components/command/command-item.d.ts +29 -0
- package/lib/components/command/command-list.d.ts +8 -0
- package/lib/components/command/command-separator.d.ts +10 -0
- package/lib/components/command/command.config.d.ts +27 -0
- package/lib/components/command/command.d.ts +40 -0
- package/lib/components/command/command.imports.d.ts +8 -0
- package/lib/components/command/command.variants.d.ts +15 -0
- package/lib/components/command/demo/command.d.ts +9 -0
- package/lib/components/command/demo/default.d.ts +12 -0
- package/lib/components/command/index.d.ts +9 -0
- package/lib/components/date-picker/date-picker-overlay.service.d.ts +15 -0
- package/lib/components/date-picker/date-picker.d.ts +37 -0
- package/lib/components/date-picker/date-picker.util.d.ts +18 -0
- package/lib/components/date-picker/date-picker.variants.d.ts +7 -0
- package/lib/components/date-picker/demo/date-picker.d.ts +8 -0
- package/lib/components/date-picker/demo/default.d.ts +6 -0
- package/lib/components/date-picker/demo/disabled.d.ts +5 -0
- package/lib/components/date-picker/demo/range.d.ts +6 -0
- package/lib/components/date-picker/index.d.ts +2 -0
- package/lib/components/dialog/demo/default.d.ts +32 -0
- package/lib/components/dialog/demo/dialog.d.ts +9 -0
- package/lib/components/dialog/dialog-ref.d.ts +16 -0
- package/lib/components/dialog/dialog.config.d.ts +23 -0
- package/lib/components/dialog/dialog.d.ts +22 -0
- package/lib/components/dialog/dialog.module.d.ts +10 -0
- package/lib/components/dialog/dialog.service.d.ts +16 -0
- package/lib/components/dialog/dialog.variants.d.ts +3 -0
- package/lib/components/dialog/index.d.ts +4 -0
- package/lib/components/empty/demo/advanced.d.ts +5 -0
- package/lib/components/empty/demo/custom-image.d.ts +5 -0
- package/lib/components/empty/demo/default.d.ts +5 -0
- package/lib/components/empty/demo/empty.d.ts +9 -0
- package/lib/components/empty/empty.d.ts +19 -0
- package/lib/components/empty/empty.variants.d.ts +7 -0
- package/lib/components/empty/index.d.ts +2 -0
- package/lib/components/float-button/demo/float-button.d.ts +9 -0
- package/lib/components/float-button/demo/float-group.d.ts +5 -0
- package/lib/components/float-button/demo/float-top.d.ts +5 -0
- package/lib/components/float-button/demo/position.d.ts +5 -0
- package/lib/components/float-button/demo/shape.d.ts +5 -0
- package/lib/components/float-button/demo/size.d.ts +5 -0
- package/lib/components/float-button/demo/variant.d.ts +5 -0
- package/lib/components/float-button/float-button-group.d.ts +26 -0
- package/lib/components/float-button/float-button-top.d.ts +22 -0
- package/lib/components/float-button/float-button.d.ts +17 -0
- package/lib/components/float-button/float-button.variants.d.ts +7 -0
- package/lib/components/float-button/index.d.ts +4 -0
- package/lib/components/form-field/autocomplete/autocomplete-config.d.ts +19 -0
- package/lib/components/form-field/autocomplete/autocomplete.d.ts +54 -0
- package/lib/components/form-field/autocomplete/autocomplete.variants.d.ts +12 -0
- package/lib/components/form-field/autocomplete/demo/autocomplete.d.ts +8 -0
- package/lib/components/form-field/autocomplete/demo/default.d.ts +19 -0
- package/lib/components/form-field/autocomplete/demo/events.d.ts +21 -0
- package/lib/components/form-field/autocomplete/demo/validation.d.ts +21 -0
- package/lib/components/form-field/autocomplete/index.d.ts +3 -0
- package/lib/components/form-field/autocomplete/services/autocomplete-overlay.service.d.ts +15 -0
- package/lib/components/form-field/autocomplete/services/index.d.ts +1 -0
- package/lib/components/form-field/checkbox/checkbox.d.ts +32 -0
- package/lib/components/form-field/checkbox/checkbox.variants.d.ts +12 -0
- package/lib/components/form-field/checkbox/demo/checkbox.d.ts +9 -0
- package/lib/components/form-field/checkbox/demo/default.d.ts +6 -0
- package/lib/components/form-field/checkbox/demo/destructive.d.ts +6 -0
- package/lib/components/form-field/checkbox/demo/disabled.d.ts +7 -0
- package/lib/components/form-field/checkbox/demo/shape.d.ts +5 -0
- package/lib/components/form-field/checkbox/demo/size.d.ts +5 -0
- package/lib/components/form-field/checkbox/demo/validation.d.ts +14 -0
- package/lib/components/form-field/checkbox/index.d.ts +2 -0
- package/lib/components/form-field/datetime/datetime.d.ts +32 -0
- package/lib/components/form-field/datetime/datetime.variants.d.ts +10 -0
- package/lib/components/form-field/datetime/demo/datetime.d.ts +8 -0
- package/lib/components/form-field/datetime/demo/default.d.ts +17 -0
- package/lib/components/form-field/datetime/demo/disabled.d.ts +5 -0
- package/lib/components/form-field/datetime/demo/validation.d.ts +13 -0
- package/lib/components/form-field/datetime/index.d.ts +2 -0
- package/lib/components/form-field/index.d.ts +9 -0
- package/lib/components/form-field/input/currency-mask.service.d.ts +8 -0
- package/lib/components/form-field/input/demo/default.d.ts +11 -0
- package/lib/components/form-field/input/demo/disabled.d.ts +11 -0
- package/lib/components/form-field/input/demo/icon.d.ts +12 -0
- package/lib/components/form-field/input/demo/input.d.ts +29 -0
- package/lib/components/form-field/input/demo/mask.d.ts +19 -0
- package/lib/components/form-field/input/demo/normalize.d.ts +15 -0
- package/lib/components/form-field/input/demo/password.d.ts +11 -0
- package/lib/components/form-field/input/demo/validation.d.ts +18 -0
- package/lib/components/form-field/input/demo/variant.d.ts +15 -0
- package/lib/components/form-field/input/index.d.ts +3 -0
- package/lib/components/form-field/input/input.d.ts +56 -0
- package/lib/components/form-field/input/input.variants.d.ts +13 -0
- package/lib/components/form-field/input/interfaces/feedback.interface.d.ts +21 -0
- package/lib/components/form-field/input/interfaces/index.d.ts +3 -0
- package/lib/components/form-field/input/interfaces/mask-config.interface.d.ts +10 -0
- package/lib/components/form-field/input/interfaces/password-strength.d.ts +16 -0
- package/lib/components/form-field/radio/demo/default.d.ts +11 -0
- package/lib/components/form-field/radio/demo/disabled.d.ts +11 -0
- package/lib/components/form-field/radio/demo/radio.d.ts +12 -0
- package/lib/components/form-field/radio/demo/size.d.ts +11 -0
- package/lib/components/form-field/radio/demo/validation.d.ts +14 -0
- package/lib/components/form-field/radio/index.d.ts +4 -0
- package/lib/components/form-field/radio/radio-group.d.ts +21 -0
- package/lib/components/form-field/radio/radio.d.ts +20 -0
- package/lib/components/form-field/radio/radio.imports.d.ts +3 -0
- package/lib/components/form-field/radio/radio.variants.d.ts +9 -0
- package/lib/components/form-field/segmented/demo/default.d.ts +13 -0
- package/lib/components/form-field/segmented/demo/disabled.d.ts +8 -0
- package/lib/components/form-field/segmented/demo/segmented.d.ts +8 -0
- package/lib/components/form-field/segmented/demo/size.d.ts +7 -0
- package/lib/components/form-field/segmented/index.d.ts +3 -0
- package/lib/components/form-field/segmented/segmented.d.ts +27 -0
- package/lib/components/form-field/segmented/segmented.interface.d.ts +7 -0
- package/lib/components/form-field/segmented/segmented.variants.d.ts +6 -0
- package/lib/components/form-field/select/demo/default.d.ts +6 -0
- package/lib/components/form-field/select/demo/multiple.d.ts +6 -0
- package/lib/components/form-field/select/demo/select.d.ts +13 -0
- package/lib/components/form-field/select/index.d.ts +4 -0
- package/lib/components/form-field/select/select-item.d.ts +29 -0
- package/lib/components/form-field/select/select.d.ts +62 -0
- package/lib/components/form-field/select/select.facade.d.ts +25 -0
- package/lib/components/form-field/select/select.imports.d.ts +3 -0
- package/lib/components/form-field/select/select.variants.d.ts +16 -0
- package/lib/components/form-field/select/services/index.d.ts +5 -0
- package/lib/components/form-field/select/services/select-dom.service.d.ts +10 -0
- package/lib/components/form-field/select/services/select-keyword.service.d.ts +17 -0
- package/lib/components/form-field/select/services/select-labels.service.d.ts +17 -0
- package/lib/components/form-field/select/services/select-overlay.service.d.ts +19 -0
- package/lib/components/form-field/select/services/select.store.d.ts +14 -0
- package/lib/components/form-field/switch/demo/default.d.ts +5 -0
- package/lib/components/form-field/switch/demo/disabled.d.ts +5 -0
- package/lib/components/form-field/switch/demo/size.d.ts +5 -0
- package/lib/components/form-field/switch/demo/switch.d.ts +8 -0
- package/lib/components/form-field/switch/index.d.ts +2 -0
- package/lib/components/form-field/switch/switch.d.ts +21 -0
- package/lib/components/form-field/switch/switch.variants.d.ts +12 -0
- package/lib/components/form-field/textarea/demo/default.d.ts +11 -0
- package/lib/components/form-field/textarea/demo/disabled.d.ts +11 -0
- package/lib/components/form-field/textarea/demo/resize.d.ts +15 -0
- package/lib/components/form-field/textarea/demo/textarea.d.ts +21 -0
- package/lib/components/form-field/textarea/demo/validation.d.ts +13 -0
- package/lib/components/form-field/textarea/demo/variant.d.ts +15 -0
- package/lib/components/form-field/textarea/index.d.ts +2 -0
- package/lib/components/form-field/textarea/textarea.d.ts +37 -0
- package/lib/components/form-field/textarea/textarea.variants.d.ts +14 -0
- package/lib/components/icon/demo/icon.d.ts +9 -0
- package/lib/components/icon/demo/searchable.d.ts +18 -0
- package/lib/components/icon/demo/size.d.ts +5 -0
- package/lib/components/icon/demo/type.d.ts +5 -0
- package/lib/components/icon/icon-categories.d.ts +3 -0
- package/lib/components/icon/icon.component.d.ts +13 -0
- package/lib/components/icon/icon.variants.d.ts +6 -0
- package/lib/components/icon/icons.d.ts +1116 -0
- package/lib/components/icon/index.d.ts +3 -0
- package/lib/components/index.d.ts +30 -0
- package/lib/components/loader/demo/loader.d.ts +9 -0
- package/lib/components/loader/demo/size.d.ts +5 -0
- package/lib/components/loader/demo/type.d.ts +9 -0
- package/lib/components/loader/index.d.ts +3 -0
- package/lib/components/loader/loader-progess.d.ts +13 -0
- package/lib/components/loader/loader.d.ts +19 -0
- package/lib/components/loader/loader.service.d.ts +10 -0
- package/lib/components/loader/loader.variants.d.ts +7 -0
- package/lib/components/markdown/demo/editor.d.ts +8 -0
- package/lib/components/markdown/demo/markdown.d.ts +13 -0
- package/lib/components/markdown/demo/viewer.d.ts +8 -0
- package/lib/components/markdown/icon.helper.d.ts +79 -0
- package/lib/components/markdown/index.d.ts +2 -0
- package/lib/components/markdown/language-icons.d.ts +3 -0
- package/lib/components/markdown/markdown.d.ts +45 -0
- package/lib/components/markdown/markdown.service.d.ts +11 -0
- package/lib/components/pagination/demo/custom.d.ts +11 -0
- package/lib/components/pagination/demo/default.d.ts +6 -0
- package/lib/components/pagination/demo/info.d.ts +9 -0
- package/lib/components/pagination/demo/intl.d.ts +9 -0
- package/lib/components/pagination/demo/pagination.d.ts +21 -0
- package/lib/components/pagination/index.d.ts +4 -0
- package/lib/components/pagination/pagination-button.d.ts +11 -0
- package/lib/components/pagination/pagination-content.d.ts +8 -0
- package/lib/components/pagination/pagination-ellipsis.d.ts +8 -0
- package/lib/components/pagination/pagination-intl.d.ts +20 -0
- package/lib/components/pagination/pagination-item.d.ts +5 -0
- package/lib/components/pagination/pagination-next.d.ts +11 -0
- package/lib/components/pagination/pagination-prev.d.ts +11 -0
- package/lib/components/pagination/pagination.d.ts +30 -0
- package/lib/components/pagination/pagination.imports.d.ts +8 -0
- package/lib/components/pagination/pagination.variants.d.ts +11 -0
- package/lib/components/progress-bar/demo/indeterminate.d.ts +5 -0
- package/lib/components/progress-bar/demo/progress-bar.d.ts +12 -0
- package/lib/components/progress-bar/demo/shape.d.ts +6 -0
- package/lib/components/progress-bar/demo/size.d.ts +6 -0
- package/lib/components/progress-bar/demo/variant.d.ts +6 -0
- package/lib/components/progress-bar/index.d.ts +3 -0
- package/lib/components/progress-bar/progress-bar.d.ts +31 -0
- package/lib/components/progress-bar/progress-bar.variants.d.ts +17 -0
- package/lib/components/separator/demo/orientation.d.ts +5 -0
- package/lib/components/separator/demo/separator.d.ts +9 -0
- package/lib/components/separator/index.d.ts +2 -0
- package/lib/components/separator/separator.d.ts +9 -0
- package/lib/components/separator/separator.variants.d.ts +5 -0
- package/lib/components/skeleton/demo/card.d.ts +5 -0
- package/lib/components/skeleton/demo/chart.d.ts +5 -0
- package/lib/components/skeleton/demo/default.d.ts +5 -0
- package/lib/components/skeleton/demo/skeleton.d.ts +8 -0
- package/lib/components/skeleton/index.d.ts +2 -0
- package/lib/components/skeleton/skeleton.d.ts +8 -0
- package/lib/components/skeleton/skeleton.variants.d.ts +3 -0
- package/lib/components/stepper/demo/default.d.ts +5 -0
- package/lib/components/stepper/demo/orientation.d.ts +5 -0
- package/lib/components/stepper/demo/stepper.d.ts +8 -0
- package/lib/components/stepper/demo/validation.d.ts +12 -0
- package/lib/components/stepper/index.d.ts +2 -0
- package/lib/components/stepper/stepper.d.ts +39 -0
- package/lib/components/stepper/stepper.service.d.ts +22 -0
- package/lib/components/stepper/stepper.variants.d.ts +19 -0
- package/lib/components/table/cell-template.directive.d.ts +8 -0
- package/lib/components/table/demo/border.d.ts +10 -0
- package/lib/components/table/demo/default.d.ts +12 -0
- package/lib/components/table/demo/pagination.d.ts +16 -0
- package/lib/components/table/demo/selected.d.ts +12 -0
- package/lib/components/table/demo/size.d.ts +10 -0
- package/lib/components/table/demo/sort.d.ts +11 -0
- package/lib/components/table/demo/table.d.ts +17 -0
- package/lib/components/table/demo/user.d.ts +15 -0
- package/lib/components/table/index.d.ts +4 -0
- package/lib/components/table/table.config.d.ts +29 -0
- package/lib/components/table/table.d.ts +45 -0
- package/lib/components/table/table.variants.d.ts +21 -0
- package/lib/components/tabs/demo/align.d.ts +8 -0
- package/lib/components/tabs/demo/arrows.d.ts +10 -0
- package/lib/components/tabs/demo/default.d.ts +5 -0
- package/lib/components/tabs/demo/position.d.ts +9 -0
- package/lib/components/tabs/demo/tabs.d.ts +12 -0
- package/lib/components/tabs/index.d.ts +2 -0
- package/lib/components/tabs/tabs.d.ts +45 -0
- package/lib/components/tabs/tabs.variants.d.ts +18 -0
- package/lib/components/toast/demo/default.d.ts +7 -0
- package/lib/components/toast/demo/position.d.ts +12 -0
- package/lib/components/toast/demo/toast.d.ts +17 -0
- package/lib/components/toast/demo/type.d.ts +11 -0
- package/lib/components/toast/index.d.ts +3 -0
- package/lib/components/toast/toast-content.d.ts +8 -0
- package/lib/components/toast/toast.config.d.ts +12 -0
- package/lib/components/toast/toast.d.ts +11 -0
- package/lib/components/toast/toast.pipe.d.ts +16 -0
- package/lib/components/toast/toast.service.d.ts +17 -0
- package/lib/components/toast/toast.variants.d.ts +5 -0
- package/lib/components/tooltip/demo/click.d.ts +5 -0
- package/lib/components/tooltip/demo/events.d.ts +8 -0
- package/lib/components/tooltip/demo/hover.d.ts +5 -0
- package/lib/components/tooltip/demo/position.d.ts +5 -0
- package/lib/components/tooltip/demo/tooltip.d.ts +9 -0
- package/lib/components/tooltip/index.d.ts +4 -0
- package/lib/components/tooltip/tooltip.config.d.ts +12 -0
- package/lib/components/tooltip/tooltip.d.ts +16 -0
- package/lib/components/tooltip/tooltip.directive.d.ts +28 -0
- package/lib/components/tooltip/tooltip.imports.d.ts +13 -0
- package/lib/components/tooltip/tooltip.variants.d.ts +7 -0
- package/lib/components/tree/demo/default.d.ts +7 -0
- package/lib/components/tree/demo/selection.d.ts +9 -0
- package/lib/components/tree/demo/tree.d.ts +8 -0
- package/lib/components/tree/index.d.ts +3 -0
- package/lib/components/tree/tree.d.ts +29 -0
- package/lib/components/tree/tree.interface.d.ts +9 -0
- package/lib/components/tree/tree.variants.d.ts +7 -0
- package/lib/components/upload/demo/default.d.ts +11 -0
- package/lib/components/upload/demo/dropzone.d.ts +11 -0
- package/lib/components/upload/demo/multiple.d.ts +11 -0
- package/lib/components/upload/demo/selected.d.ts +12 -0
- package/lib/components/upload/demo/upload.d.ts +21 -0
- package/lib/components/upload/index.d.ts +4 -0
- package/lib/components/upload/upload.d.ts +32 -0
- package/lib/components/upload/upload.interface.d.ts +8 -0
- package/lib/components/upload/upload.service.d.ts +8 -0
- package/lib/components/upload/upload.variants.d.ts +10 -0
- package/lib/core/directives/generate-id.directive.d.ts +8 -0
- package/lib/core/directives/index.d.ts +3 -0
- package/lib/core/directives/normalize/index.d.ts +3 -0
- package/lib/core/directives/normalize/normalize.config.d.ts +7 -0
- package/lib/core/directives/normalize/normalize.directive.d.ts +13 -0
- package/lib/core/directives/normalize/strategies/alfa.strategy.d.ts +5 -0
- package/lib/core/directives/normalize/strategies/alfanum.strategy.d.ts +5 -0
- package/lib/core/directives/normalize/strategies/index.d.ts +11 -0
- package/lib/core/directives/normalize/strategies/normalize.strategy.d.ts +4 -0
- package/lib/core/directives/normalize/strategies/numeric.strategy.d.ts +4 -0
- package/lib/core/directives/normalize/strategies/uppercase.strategy.d.ts +4 -0
- package/lib/core/directives/string-template-ref.directive.d.ts +19 -0
- package/lib/core/helpers/index.d.ts +1 -0
- package/lib/core/helpers/merge.helper.d.ts +4 -0
- package/lib/core/index.d.ts +5 -0
- package/lib/core/interfaces/control-value.interface.d.ts +2 -0
- package/lib/core/interfaces/index.d.ts +1 -0
- package/lib/core/template/index.d.ts +1 -0
- package/lib/core/template/print/print.d.ts +6 -0
- package/lib/core/template/print/print.pipe.d.ts +7 -0
- package/lib/core/utils/clipboard.util.d.ts +14 -0
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/infra/index.d.ts +1 -0
- package/lib/infra/stores/index.d.ts +1 -0
- package/lib/infra/stores/theme.store.d.ts +12 -0
- package/package.json +58 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { __decorate, __metadata, __param } from "tslib";
|
|
2
|
+
import { OverlayRef } from "@angular/cdk/overlay";
|
|
3
|
+
import { isPlatformBrowser } from "@angular/common";
|
|
4
|
+
import { EventEmitter, Inject, PLATFORM_ID, signal } from "@angular/core";
|
|
5
|
+
import { filter, fromEvent, Subject, takeUntil } from "rxjs";
|
|
6
|
+
import { AiDialog } from "./dialog";
|
|
7
|
+
import { AiDialogConfig } from "./dialog.config";
|
|
8
|
+
let AiDialogRef = class AiDialogRef {
|
|
9
|
+
overlayRef;
|
|
10
|
+
config;
|
|
11
|
+
instance;
|
|
12
|
+
platformId;
|
|
13
|
+
#destroyed = new Subject();
|
|
14
|
+
#closed = signal(false, ...(ngDevMode ? [{ debugName: "#closed" }] : []));
|
|
15
|
+
result;
|
|
16
|
+
componentInstance = null;
|
|
17
|
+
#getContentComponent = () => this.componentInstance;
|
|
18
|
+
constructor(overlayRef, config, instance, platformId) {
|
|
19
|
+
this.overlayRef = overlayRef;
|
|
20
|
+
this.config = config;
|
|
21
|
+
this.instance = instance;
|
|
22
|
+
this.platformId = platformId;
|
|
23
|
+
this.instance.cancelTriggered.subscribe(() => this._trigger("cancel" /* triggerActionEnum.CANCEL */));
|
|
24
|
+
this.instance.confirmTriggered.subscribe(() => this._trigger("confirm" /* triggerActionEnum.CONFIRM */));
|
|
25
|
+
if ((this.config.maskClosable ?? true) && isPlatformBrowser(this.platformId)) {
|
|
26
|
+
this.overlayRef
|
|
27
|
+
.outsidePointerEvents()
|
|
28
|
+
.pipe(takeUntil(this.#destroyed))
|
|
29
|
+
.subscribe(() => this.close());
|
|
30
|
+
}
|
|
31
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
32
|
+
fromEvent(document, "keydown")
|
|
33
|
+
.pipe(filter(event => event.key === "Escape"), takeUntil(this.#destroyed))
|
|
34
|
+
.subscribe(() => this.close());
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
close(result) {
|
|
38
|
+
if (this.#closed())
|
|
39
|
+
return;
|
|
40
|
+
this.#closed.set(true);
|
|
41
|
+
this.result = result;
|
|
42
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
43
|
+
const element = this.instance.nativeElement();
|
|
44
|
+
element.classList.add("dialog-leave");
|
|
45
|
+
}
|
|
46
|
+
setTimeout(() => {
|
|
47
|
+
if (this.overlayRef) {
|
|
48
|
+
if (this.overlayRef.hasAttached()) {
|
|
49
|
+
this.overlayRef.detachBackdrop();
|
|
50
|
+
}
|
|
51
|
+
this.overlayRef.dispose();
|
|
52
|
+
}
|
|
53
|
+
if (!this.#destroyed.closed) {
|
|
54
|
+
this.#destroyed.next();
|
|
55
|
+
this.#destroyed.complete();
|
|
56
|
+
}
|
|
57
|
+
}, 150);
|
|
58
|
+
}
|
|
59
|
+
_trigger(action) {
|
|
60
|
+
const trigger = { confirm: this.config.onConfirm, cancel: this.config.onCancel }[action];
|
|
61
|
+
if (trigger instanceof EventEmitter) {
|
|
62
|
+
trigger.emit(this.#getContentComponent());
|
|
63
|
+
}
|
|
64
|
+
else if (typeof trigger === "function") {
|
|
65
|
+
const result = trigger(this.#getContentComponent());
|
|
66
|
+
this._closeWithResult(result);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
this.close();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
_closeWithResult(result) {
|
|
73
|
+
if (result !== false) {
|
|
74
|
+
this.close(result);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
AiDialogRef = __decorate([
|
|
79
|
+
__param(3, Inject(PLATFORM_ID)),
|
|
80
|
+
__metadata("design:paramtypes", [OverlayRef,
|
|
81
|
+
AiDialogConfig,
|
|
82
|
+
AiDialog, Object])
|
|
83
|
+
], AiDialogRef);
|
|
84
|
+
export { AiDialogRef };
|
|
85
|
+
//# sourceMappingURL=dialog-ref.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog-ref.js","sourceRoot":"","sources":["../../../../../../../libs/ai-ui/src/lib/components/dialog/dialog-ref.ts"],"names":[],"mappings":"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","sourcesContent":["import { OverlayRef } from \"@angular/cdk/overlay\";\r\nimport { isPlatformBrowser } from \"@angular/common\";\r\nimport { EventEmitter, Inject, PLATFORM_ID, signal } from \"@angular/core\";\r\nimport { filter, fromEvent, Subject, takeUntil } from \"rxjs\";\r\nimport { AiDialog } from \"./dialog\";\r\nimport { AiDialogConfig } from \"./dialog.config\";\r\n\r\nconst enum triggerActionEnum {\r\n CANCEL = \"cancel\",\r\n CONFIRM = \"confirm\",\r\n}\r\n\r\nexport class AiDialogRef<T = any, R = any, U = any> {\r\n #destroyed = new Subject<void>();\r\n #closed = signal<boolean>(false);\r\n\r\n protected result?: R;\r\n componentInstance?: T | null = null;\r\n\r\n #getContentComponent = (): T => this.componentInstance as T;\r\n\r\n constructor(\r\n private overlayRef: OverlayRef,\r\n private config: AiDialogConfig<T, U>,\r\n private instance: AiDialog<T, U>,\r\n @Inject(PLATFORM_ID) private platformId: object,\r\n ) {\r\n this.instance.cancelTriggered.subscribe(() => this._trigger(triggerActionEnum.CANCEL));\r\n this.instance.confirmTriggered.subscribe(() => this._trigger(triggerActionEnum.CONFIRM));\r\n\r\n if ((this.config.maskClosable ?? true) && isPlatformBrowser(this.platformId)) {\r\n this.overlayRef\r\n .outsidePointerEvents()\r\n .pipe(takeUntil(this.#destroyed))\r\n .subscribe(() => this.close());\r\n }\r\n\r\n if (isPlatformBrowser(this.platformId)) {\r\n fromEvent<KeyboardEvent>(document, \"keydown\")\r\n .pipe(\r\n filter(event => event.key === \"Escape\"),\r\n takeUntil(this.#destroyed),\r\n )\r\n .subscribe(() => this.close());\r\n }\r\n }\r\n\r\n close(result?: R) {\r\n if (this.#closed()) return;\r\n\r\n this.#closed.set(true);\r\n this.result = result;\r\n\r\n if (isPlatformBrowser(this.platformId)) {\r\n const element = this.instance.nativeElement();\r\n element.classList.add(\"dialog-leave\");\r\n }\r\n\r\n setTimeout(() => {\r\n if (this.overlayRef) {\r\n if (this.overlayRef.hasAttached()) {\r\n this.overlayRef.detachBackdrop();\r\n }\r\n this.overlayRef.dispose();\r\n }\r\n\r\n if (!this.#destroyed.closed) {\r\n this.#destroyed.next();\r\n this.#destroyed.complete();\r\n }\r\n }, 150);\r\n }\r\n\r\n private _trigger(action: triggerActionEnum) {\r\n const trigger = { confirm: this.config.onConfirm, cancel: this.config.onCancel }[action];\r\n\r\n if (trigger instanceof EventEmitter) {\r\n trigger.emit(this.#getContentComponent());\r\n } else if (typeof trigger === \"function\") {\r\n const result = trigger(this.#getContentComponent()) as R;\r\n this._closeWithResult(result);\r\n } else {\r\n this.close();\r\n }\r\n }\r\n\r\n private _closeWithResult(result: R): void {\r\n if (result !== false) {\r\n this.close(result);\r\n }\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { noopFn } from "../../core";
|
|
2
|
+
export class AiDialogConfig {
|
|
3
|
+
cancelIcon;
|
|
4
|
+
cancelText;
|
|
5
|
+
confirmIcon;
|
|
6
|
+
confirmText;
|
|
7
|
+
closable;
|
|
8
|
+
component;
|
|
9
|
+
customClasses;
|
|
10
|
+
data;
|
|
11
|
+
title;
|
|
12
|
+
description;
|
|
13
|
+
hideFooter;
|
|
14
|
+
maskClosable;
|
|
15
|
+
confirmDestructive;
|
|
16
|
+
confirmDisabled;
|
|
17
|
+
onCancel = noopFn;
|
|
18
|
+
onConfirm = noopFn;
|
|
19
|
+
viewContainerRef;
|
|
20
|
+
width;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=dialog.config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.config.js","sourceRoot":"","sources":["../../../../../../../libs/ai-ui/src/lib/components/dialog/dialog.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAKpC,MAAM,OAAO,cAAc;IACvB,UAAU,CAAc;IACxB,UAAU,CAAiB;IAC3B,WAAW,CAAc;IACzB,WAAW,CAAiB;IAC5B,QAAQ,CAAW;IACnB,SAAS,CAAqC;IAC9C,aAAa,CAAU;IACvB,IAAI,CAAK;IACT,KAAK,CAA2B;IAChC,WAAW,CAAU;IACrB,UAAU,CAAW;IACrB,YAAY,CAAW;IACvB,kBAAkB,CAAW;IAC7B,eAAe,CAAW;IAC1B,QAAQ,GAA0C,MAAM,CAAC;IACzD,SAAS,GAA0C,MAAM,CAAC;IAC1D,gBAAgB,CAAoB;IACpC,KAAK,CAAU;CAClB","sourcesContent":["import { EventEmitter, TemplateRef, Type, ViewContainerRef } from \"@angular/core\";\r\nimport { noopFn } from \"../../core\";\r\nimport { AiIconType } from \"../icon\";\r\n\r\nexport type onClickCallback<T> = (instance: T) => false | void | object;\r\n\r\nexport class AiDialogConfig<T, U> {\r\n cancelIcon?: AiIconType;\r\n cancelText?: string | null;\r\n confirmIcon?: AiIconType;\r\n confirmText?: string | null;\r\n closable?: boolean;\r\n component?: string | TemplateRef<T> | Type<T>;\r\n customClasses?: string;\r\n data?: U;\r\n title?: string | TemplateRef<T>;\r\n description?: string;\r\n hideFooter?: boolean;\r\n maskClosable?: boolean;\r\n confirmDestructive?: boolean;\r\n confirmDisabled?: boolean;\r\n onCancel?: EventEmitter<T> | onClickCallback<T> = noopFn;\r\n onConfirm?: EventEmitter<T> | onClickCallback<T> = noopFn;\r\n viewContainerRef?: ViewContainerRef;\r\n width?: string;\r\n}\r\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OverlayModule } from "@angular/cdk/overlay";
|
|
2
|
+
import { BasePortalOutlet, CdkPortalOutlet, PortalModule } from "@angular/cdk/portal";
|
|
3
|
+
import { ChangeDetectionStrategy, Component, computed, ElementRef, inject, output, viewChild, ViewEncapsulation } from "@angular/core";
|
|
4
|
+
import { mergeClasses } from "../../core";
|
|
5
|
+
import { AiButton } from "../button";
|
|
6
|
+
import { AiIcon } from "../icon/icon.component";
|
|
7
|
+
import { AiDialogConfig } from "./dialog.config";
|
|
8
|
+
import { dialogVariants } from "./dialog.variants";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@angular/cdk/portal";
|
|
11
|
+
export class AiDialog extends BasePortalOutlet {
|
|
12
|
+
#element = inject((ElementRef));
|
|
13
|
+
config = inject((AiDialogConfig));
|
|
14
|
+
classes = computed(() => mergeClasses(dialogVariants(), this.config.customClasses), ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
15
|
+
dialogRef;
|
|
16
|
+
hasStringContent = typeof this.config.component === "string";
|
|
17
|
+
portalOutlet = viewChild.required(CdkPortalOutlet);
|
|
18
|
+
confirmTriggered = output();
|
|
19
|
+
cancelTriggered = output();
|
|
20
|
+
nativeElement = () => this.#element.nativeElement;
|
|
21
|
+
attachComponentPortal(portal) {
|
|
22
|
+
if (this.portalOutlet()?.hasAttached()) {
|
|
23
|
+
throw new Error("Attempting to attach modal content after content is already attached");
|
|
24
|
+
}
|
|
25
|
+
return this.portalOutlet()?.attachComponentPortal(portal);
|
|
26
|
+
}
|
|
27
|
+
attachTemplatePortal(portal) {
|
|
28
|
+
if (this.portalOutlet()?.hasAttached()) {
|
|
29
|
+
throw new Error("Attempting to attach modal content after content is already attached");
|
|
30
|
+
}
|
|
31
|
+
return this.portalOutlet()?.attachTemplatePortal(portal);
|
|
32
|
+
}
|
|
33
|
+
onConfirm() {
|
|
34
|
+
this.confirmTriggered.emit();
|
|
35
|
+
}
|
|
36
|
+
onCancel() {
|
|
37
|
+
this.cancelTriggered.emit();
|
|
38
|
+
}
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialog, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.1", type: AiDialog, isStandalone: true, selector: "ai-dialog", outputs: { confirmTriggered: "confirmTriggered", cancelTriggered: "cancelTriggered" }, host: { attributes: { "animate.enter": "dialog-enter", "animate.leave": "dialog-leave" }, properties: { "class": "classes()", "style.width": "config.width ? config.width : null" } }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, isSignal: true }], exportAs: ["aiDialog"], usesInheritance: true, ngImport: i0, template: "@if (config.closable || config.closable === undefined) {\r\n<ai-button icon=\"close\"\r\n type=\"button\"\r\n variant=\"ghost\"\r\n size=\"xs\"\r\n class=\"absolute top-2 right-2\"\r\n (click)=\"onCancel()\" />\r\n}\r\n\r\n@if (config.title || config.description) {\r\n <header class=\"flex flex-col space-y-1.5 text-center sm:text-left\">\r\n @if (config.title) {\r\n <h4 class=\"text-lg leading-none font-semibold font-title tracking-tight\">{{ config.title }}</h4>\r\n\r\n @if (config.description) {\r\n <p class=\"text-muted-foreground font-text text-sm\">{{ config.description }}</p>\r\n }\r\n }\r\n </header>\r\n}\r\n\r\n<main class=\"flex flex-col space-y-4\">\r\n <ng-template cdkPortalOutlet />\r\n\r\n @if (hasStringContent) {\r\n <div [innerHTML]=\"config.component\"></div>\r\n }\r\n</main>\r\n\r\n@if (!config.hideFooter) {\r\n <footer class=\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:gap-0 sm:space-x-2\">\r\n @if (config.cancelText !== null) {\r\n <button ai-button type=\"button\" variant=\"default\" (click)=\"onCancel()\">\r\n @if (config.cancelIcon) {\r\n <ai-icon [icon]=\"config.cancelIcon\" />\r\n }\r\n\r\n {{ config.cancelText ?? \"Cancelar\" }}\r\n </button>\r\n }\r\n\r\n @if (config.confirmText !== null) {\r\n <button ai-button\r\n type=\"button\"\r\n [variant]=\"config.confirmDestructive ? 'destructive' : 'primary'\"\r\n [disabled]=\"config.confirmDisabled || false\"\r\n (click)=\"onConfirm()\">\r\n @if (config.confirmIcon) {\r\n <ai-icon [icon]=\"config.confirmIcon\" />\r\n }\r\n\r\n {{ config.confirmText ?? 'OK' }}\r\n </button>\r\n }\r\n </footer>\r\n}", styles: [":host{opacity:1;transform:scale(1);transition:opacity .15s ease-out,transform .15s ease-out}@starting-style{:host{opacity:0;transform:scale(.9)}}:host.dialog-leave{opacity:0;transform:scale(.9);transition:opacity .15s ease-in,transform .15s ease-in}\n"], dependencies: [{ kind: "ngmodule", type: OverlayModule }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: AiButton, selector: "ai-button, button[ai-button], a[ai-button]", inputs: ["variant", "size", "shape", "type", "fill", "class", "icon", "full", "loading", "disabled"], exportAs: ["aiButton"] }, { kind: "component", type: AiIcon, selector: "ai-icon, [ai-icon]", inputs: ["icon", "size", "type", "disabled", "class"], exportAs: ["aiIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialog, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ selector: "ai-dialog", exportAs: "aiDialog", imports: [OverlayModule, PortalModule, AiButton, AiIcon], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
45
|
+
"[class]": "classes()",
|
|
46
|
+
"[style.width]": "config.width ? config.width : null",
|
|
47
|
+
"animate.enter": "dialog-enter",
|
|
48
|
+
"animate.leave": "dialog-leave",
|
|
49
|
+
}, template: "@if (config.closable || config.closable === undefined) {\r\n<ai-button icon=\"close\"\r\n type=\"button\"\r\n variant=\"ghost\"\r\n size=\"xs\"\r\n class=\"absolute top-2 right-2\"\r\n (click)=\"onCancel()\" />\r\n}\r\n\r\n@if (config.title || config.description) {\r\n <header class=\"flex flex-col space-y-1.5 text-center sm:text-left\">\r\n @if (config.title) {\r\n <h4 class=\"text-lg leading-none font-semibold font-title tracking-tight\">{{ config.title }}</h4>\r\n\r\n @if (config.description) {\r\n <p class=\"text-muted-foreground font-text text-sm\">{{ config.description }}</p>\r\n }\r\n }\r\n </header>\r\n}\r\n\r\n<main class=\"flex flex-col space-y-4\">\r\n <ng-template cdkPortalOutlet />\r\n\r\n @if (hasStringContent) {\r\n <div [innerHTML]=\"config.component\"></div>\r\n }\r\n</main>\r\n\r\n@if (!config.hideFooter) {\r\n <footer class=\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:gap-0 sm:space-x-2\">\r\n @if (config.cancelText !== null) {\r\n <button ai-button type=\"button\" variant=\"default\" (click)=\"onCancel()\">\r\n @if (config.cancelIcon) {\r\n <ai-icon [icon]=\"config.cancelIcon\" />\r\n }\r\n\r\n {{ config.cancelText ?? \"Cancelar\" }}\r\n </button>\r\n }\r\n\r\n @if (config.confirmText !== null) {\r\n <button ai-button\r\n type=\"button\"\r\n [variant]=\"config.confirmDestructive ? 'destructive' : 'primary'\"\r\n [disabled]=\"config.confirmDisabled || false\"\r\n (click)=\"onConfirm()\">\r\n @if (config.confirmIcon) {\r\n <ai-icon [icon]=\"config.confirmIcon\" />\r\n }\r\n\r\n {{ config.confirmText ?? 'OK' }}\r\n </button>\r\n }\r\n </footer>\r\n}", styles: [":host{opacity:1;transform:scale(1);transition:opacity .15s ease-out,transform .15s ease-out}@starting-style{:host{opacity:0;transform:scale(.9)}}:host.dialog-leave{opacity:0;transform:scale(.9);transition:opacity .15s ease-in,transform .15s ease-in}\n"] }]
|
|
50
|
+
}], propDecorators: { portalOutlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkPortalOutlet), { isSignal: true }] }], confirmTriggered: [{ type: i0.Output, args: ["confirmTriggered"] }], cancelTriggered: [{ type: i0.Output, args: ["cancelTriggered"] }] } });
|
|
51
|
+
//# sourceMappingURL=dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.js","sourceRoot":"","sources":["../../../../../../../libs/ai-ui/src/lib/components/dialog/dialog.ts","../../../../../../../libs/ai-ui/src/lib/components/dialog/dialog.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAmB,YAAY,EAAkB,MAAM,qBAAqB,CAAC;AACvH,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAgB,QAAQ,EAAE,UAAU,EAAmB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEtK,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;;;AAiBnD,MAAM,OAAO,QAAe,SAAQ,gBAAgB;IAChD,QAAQ,GAAG,MAAM,CAAC,CAAA,UAAuB,CAAA,CAAC,CAAC;IACxB,MAAM,GAAG,MAAM,CAAC,CAAA,cAAoB,CAAA,CAAC,CAAC;IAE/C,OAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,cAAc,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,mDAAC,CAAC;IAE9F,SAAS,CAAkB;IAER,gBAAgB,GAAG,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,KAAK,QAAQ,CAAC;IACvE,YAAY,GAAG,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAE5D,gBAAgB,GAAG,MAAM,EAAQ,CAAC;IAClC,eAAe,GAAG,MAAM,EAAQ,CAAC;IAEjC,aAAa,GAAG,GAAgB,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;IAE/D,qBAAqB,CAAI,MAA0B;QAC/C,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,WAAW,EAAE,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CAAC,sEAAsE,CAAC,CAAC;QAC5F,CAAC;QACD,OAAO,IAAI,CAAC,YAAY,EAAE,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;IAC9D,CAAC;IAED,oBAAoB,CAAI,MAAyB;QAC7C,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,WAAW,EAAE,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CAAC,sEAAsE,CAAC,CAAC;QAC5F,CAAC;QACD,OAAO,IAAI,CAAC,YAAY,EAAE,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAC7D,CAAC;IAED,SAAS;QACL,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;IACjC,CAAC;IAED,QAAQ;QACJ,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC;uGApCQ,QAAQ;2FAAR,QAAQ,iYAS0B,eAAe,+GCnC9D,s7DAuDC,oTDzCa,aAAa,8BAAE,YAAY,kMAAE,QAAQ,qNAAE,MAAM;;2FAY9C,QAAQ;kBAfpB,SAAS;+BACI,WAAW,YACX,UAAU,WACX,CAAC,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,CAAC,iBACzC,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,QAGzC;wBACF,SAAS,EAAE,WAAW;wBACtB,eAAe,EAAE,oCAAoC;wBACrD,eAAe,EAAE,cAAc;wBAC/B,eAAe,EAAE,cAAc;qBAClC;8FAW0C,eAAe","sourcesContent":["import { OverlayModule } from \"@angular/cdk/overlay\";\r\nimport { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, PortalModule, TemplatePortal } from \"@angular/cdk/portal\";\r\nimport { ChangeDetectionStrategy, Component, ComponentRef, computed, ElementRef, EmbeddedViewRef, inject, output, viewChild, ViewEncapsulation } from \"@angular/core\";\r\n\r\nimport { mergeClasses } from \"../../core\";\r\nimport { AiButton } from \"../button\";\r\nimport { AiIcon } from \"../icon/icon.component\";\r\nimport { AiDialogRef } from \"./dialog-ref\";\r\nimport { AiDialogConfig } from \"./dialog.config\";\r\nimport { dialogVariants } from \"./dialog.variants\";\r\n\r\n@Component({\r\n selector: \"ai-dialog\",\r\n exportAs: \"aiDialog\",\r\n imports: [OverlayModule, PortalModule, AiButton, AiIcon],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n templateUrl: \"./dialog.html\",\r\n styleUrl: \"./dialog.scss\",\r\n host: {\r\n \"[class]\": \"classes()\",\r\n \"[style.width]\": \"config.width ? config.width : null\",\r\n \"animate.enter\": \"dialog-enter\",\r\n \"animate.leave\": \"dialog-leave\",\r\n },\r\n})\r\nexport class AiDialog<T, U> extends BasePortalOutlet {\r\n #element = inject(ElementRef<HTMLElement>);\r\n protected readonly config = inject(AiDialogConfig<T, U>);\r\n\r\n protected classes = computed(() => mergeClasses(dialogVariants(), this.config.customClasses));\r\n\r\n dialogRef?: AiDialogRef<T>;\r\n\r\n protected readonly hasStringContent = typeof this.config.component === \"string\";\r\n readonly portalOutlet = viewChild.required(CdkPortalOutlet);\r\n\r\n confirmTriggered = output<void>();\r\n cancelTriggered = output<void>();\r\n\r\n nativeElement = (): HTMLElement => this.#element.nativeElement;\r\n\r\n attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T> {\r\n if (this.portalOutlet()?.hasAttached()) {\r\n throw new Error(\"Attempting to attach modal content after content is already attached\");\r\n }\r\n return this.portalOutlet()?.attachComponentPortal(portal);\r\n }\r\n\r\n attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C> {\r\n if (this.portalOutlet()?.hasAttached()) {\r\n throw new Error(\"Attempting to attach modal content after content is already attached\");\r\n }\r\n return this.portalOutlet()?.attachTemplatePortal(portal);\r\n }\r\n\r\n onConfirm() {\r\n this.confirmTriggered.emit();\r\n }\r\n\r\n onCancel() {\r\n this.cancelTriggered.emit();\r\n }\r\n}\r\n","@if (config.closable || config.closable === undefined) {\r\n<ai-button icon=\"close\"\r\n type=\"button\"\r\n variant=\"ghost\"\r\n size=\"xs\"\r\n class=\"absolute top-2 right-2\"\r\n (click)=\"onCancel()\" />\r\n}\r\n\r\n@if (config.title || config.description) {\r\n <header class=\"flex flex-col space-y-1.5 text-center sm:text-left\">\r\n @if (config.title) {\r\n <h4 class=\"text-lg leading-none font-semibold font-title tracking-tight\">{{ config.title }}</h4>\r\n\r\n @if (config.description) {\r\n <p class=\"text-muted-foreground font-text text-sm\">{{ config.description }}</p>\r\n }\r\n }\r\n </header>\r\n}\r\n\r\n<main class=\"flex flex-col space-y-4\">\r\n <ng-template cdkPortalOutlet />\r\n\r\n @if (hasStringContent) {\r\n <div [innerHTML]=\"config.component\"></div>\r\n }\r\n</main>\r\n\r\n@if (!config.hideFooter) {\r\n <footer class=\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:gap-0 sm:space-x-2\">\r\n @if (config.cancelText !== null) {\r\n <button ai-button type=\"button\" variant=\"default\" (click)=\"onCancel()\">\r\n @if (config.cancelIcon) {\r\n <ai-icon [icon]=\"config.cancelIcon\" />\r\n }\r\n\r\n {{ config.cancelText ?? \"Cancelar\" }}\r\n </button>\r\n }\r\n\r\n @if (config.confirmText !== null) {\r\n <button ai-button\r\n type=\"button\"\r\n [variant]=\"config.confirmDestructive ? 'destructive' : 'primary'\"\r\n [disabled]=\"config.confirmDisabled || false\"\r\n (click)=\"onConfirm()\">\r\n @if (config.confirmIcon) {\r\n <ai-icon [icon]=\"config.confirmIcon\" />\r\n }\r\n\r\n {{ config.confirmText ?? 'OK' }}\r\n </button>\r\n }\r\n </footer>\r\n}"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OverlayModule } from "@angular/cdk/overlay";
|
|
2
|
+
import { PortalModule } from "@angular/cdk/portal";
|
|
3
|
+
import { NgModule } from "@angular/core";
|
|
4
|
+
import { AiButton } from "../button";
|
|
5
|
+
import { AiDialog } from "./dialog";
|
|
6
|
+
import { AiDialogService } from "./dialog.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class AiDialogModule {
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.1", ngImport: i0, type: AiDialogModule, imports: [AiButton, AiDialog, OverlayModule, PortalModule] });
|
|
11
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialogModule, providers: [AiDialogService], imports: [AiDialog, OverlayModule, PortalModule] });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialogModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [AiButton, AiDialog, OverlayModule, PortalModule],
|
|
17
|
+
providers: [AiDialogService],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=dialog.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.module.js","sourceRoot":"","sources":["../../../../../../../libs/ai-ui/src/lib/components/dialog/dialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;;AAMnD,MAAM,OAAO,cAAc;uGAAd,cAAc;wGAAd,cAAc,YAHb,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY;wGAGhD,cAAc,aAFZ,CAAC,eAAe,CAAC,YADR,QAAQ,EAAE,aAAa,EAAE,YAAY;;2FAGhD,cAAc;kBAJ1B,QAAQ;mBAAC;oBACN,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,CAAC;oBAC1D,SAAS,EAAE,CAAC,eAAe,CAAC;iBAC/B","sourcesContent":["import { OverlayModule } from \"@angular/cdk/overlay\";\r\nimport { PortalModule } from \"@angular/cdk/portal\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { AiButton } from \"../button\";\r\nimport { AiDialog } from \"./dialog\";\r\nimport { AiDialogService } from \"./dialog.service\";\r\n\r\n@NgModule({\r\n imports: [AiButton, AiDialog, OverlayModule, PortalModule],\r\n providers: [AiDialogService],\r\n})\r\nexport class AiDialogModule {}\r\n"]}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Overlay, OverlayConfig, OverlayRef } from "@angular/cdk/overlay";
|
|
2
|
+
import { ComponentPortal, TemplatePortal } from "@angular/cdk/portal";
|
|
3
|
+
import { isPlatformBrowser } from "@angular/common";
|
|
4
|
+
import { inject, Injectable, InjectionToken, Injector, PLATFORM_ID, TemplateRef } from "@angular/core";
|
|
5
|
+
import { AiDialog } from "./dialog";
|
|
6
|
+
import { AiDialogRef } from "./dialog-ref";
|
|
7
|
+
import { AiDialogConfig } from "./dialog.config";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export const AI_DIALOG_DATA = new InjectionToken("AI_DIALOG_DATA");
|
|
10
|
+
export class AiDialogService {
|
|
11
|
+
#overlay = inject(Overlay);
|
|
12
|
+
#injector = inject(Injector);
|
|
13
|
+
#platformId = inject(PLATFORM_ID);
|
|
14
|
+
create(config) {
|
|
15
|
+
return this._open(config.component, config);
|
|
16
|
+
}
|
|
17
|
+
_open(contentType, config) {
|
|
18
|
+
const overlayRef = this._createOverlay();
|
|
19
|
+
if (!overlayRef) {
|
|
20
|
+
return new AiDialogRef(undefined, config, undefined, this.#platformId);
|
|
21
|
+
}
|
|
22
|
+
const dialogContainer = this._attachDialogContainer(overlayRef, config);
|
|
23
|
+
const dialogRef = this._attachDialogContent(contentType, dialogContainer, overlayRef, config);
|
|
24
|
+
dialogContainer.dialogRef = dialogRef;
|
|
25
|
+
return dialogRef;
|
|
26
|
+
}
|
|
27
|
+
_createOverlay() {
|
|
28
|
+
if (isPlatformBrowser(this.#platformId)) {
|
|
29
|
+
const overlayConfig = new OverlayConfig({ hasBackdrop: true, positionStrategy: this.#overlay.position().global() });
|
|
30
|
+
return this.#overlay.create(overlayConfig);
|
|
31
|
+
}
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
_attachDialogContainer(overlayRef, config) {
|
|
35
|
+
const injector = Injector.create({
|
|
36
|
+
parent: this.#injector,
|
|
37
|
+
providers: [
|
|
38
|
+
{ provide: OverlayRef, useValue: overlayRef },
|
|
39
|
+
{ provide: AiDialogConfig, useValue: config },
|
|
40
|
+
],
|
|
41
|
+
});
|
|
42
|
+
const containerPortal = new ComponentPortal(AiDialog, config.viewContainerRef, injector);
|
|
43
|
+
const containerRef = overlayRef.attach(containerPortal);
|
|
44
|
+
return containerRef.instance;
|
|
45
|
+
}
|
|
46
|
+
_attachDialogContent(contentType, component, overlayRef, config) {
|
|
47
|
+
const dialogRef = new AiDialogRef(overlayRef, config, component, this.#platformId);
|
|
48
|
+
if (contentType instanceof TemplateRef) {
|
|
49
|
+
component.attachTemplatePortal(new TemplatePortal(contentType, null, { dialogRef }));
|
|
50
|
+
}
|
|
51
|
+
else if (typeof contentType !== "string") {
|
|
52
|
+
const injector = this._createInjector(dialogRef, config);
|
|
53
|
+
const contentRef = component.attachComponentPortal(new ComponentPortal(contentType, config.viewContainerRef, injector));
|
|
54
|
+
dialogRef.componentInstance = contentRef.instance;
|
|
55
|
+
}
|
|
56
|
+
return dialogRef;
|
|
57
|
+
}
|
|
58
|
+
_createInjector(dialogRef, config) {
|
|
59
|
+
return Injector.create({
|
|
60
|
+
parent: this.#injector,
|
|
61
|
+
providers: [
|
|
62
|
+
{ provide: AiDialogRef, useValue: dialogRef },
|
|
63
|
+
{ provide: AI_DIALOG_DATA, useValue: config.data },
|
|
64
|
+
],
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
68
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialogService, providedIn: "root" });
|
|
69
|
+
}
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: AiDialogService, decorators: [{
|
|
71
|
+
type: Injectable,
|
|
72
|
+
args: [{
|
|
73
|
+
providedIn: "root",
|
|
74
|
+
}]
|
|
75
|
+
}] });
|
|
76
|
+
//# sourceMappingURL=dialog.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.service.js","sourceRoot":"","sources":["../../../../../../../libs/ai-ui/src/lib/components/dialog/dialog.service.ts"],"names":[],"mappings":"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","sourcesContent":["import { ComponentType, Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\r\nimport { ComponentPortal, TemplatePortal } from \"@angular/cdk/portal\";\r\nimport { isPlatformBrowser } from \"@angular/common\";\r\nimport { inject, Injectable, InjectionToken, Injector, PLATFORM_ID, TemplateRef, ViewContainerRef } from \"@angular/core\";\r\nimport { AiDialog } from \"./dialog\";\r\nimport { AiDialogRef } from \"./dialog-ref\";\r\nimport { AiDialogConfig } from \"./dialog.config\";\r\n\r\ntype ContentType<T> = ComponentType<T> | TemplateRef<T> | string;\r\n\r\nexport const AI_DIALOG_DATA = new InjectionToken<unknown>(\"AI_DIALOG_DATA\");\r\n\r\n@Injectable({\r\n providedIn: \"root\",\r\n})\r\nexport class AiDialogService {\r\n #overlay = inject(Overlay);\r\n #injector = inject(Injector);\r\n #platformId = inject(PLATFORM_ID);\r\n\r\n create<T, U>(config: AiDialogConfig<T, U>): AiDialogRef<T> {\r\n return this._open<T, U>(config.component as ComponentType<T>, config);\r\n }\r\n\r\n private _open<T, U>(contentType: ContentType<T>, config: AiDialogConfig<T, U>) {\r\n const overlayRef = this._createOverlay();\r\n\r\n if (!overlayRef) {\r\n return new AiDialogRef(undefined as unknown as OverlayRef, config, undefined as unknown as AiDialog<T, U>, this.#platformId);\r\n }\r\n\r\n const dialogContainer = this._attachDialogContainer<T, U>(overlayRef, config);\r\n const dialogRef = this._attachDialogContent<T, U>(contentType, dialogContainer, overlayRef, config);\r\n\r\n dialogContainer.dialogRef = dialogRef;\r\n return dialogRef;\r\n }\r\n\r\n private _createOverlay(): OverlayRef | undefined {\r\n if (isPlatformBrowser(this.#platformId)) {\r\n const overlayConfig = new OverlayConfig({ hasBackdrop: true, positionStrategy: this.#overlay.position().global() });\r\n return this.#overlay.create(overlayConfig);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n private _attachDialogContainer<T, U>(overlayRef: OverlayRef, config: AiDialogConfig<T, U>) {\r\n const injector = Injector.create({\r\n parent: this.#injector,\r\n providers: [\r\n { provide: OverlayRef, useValue: overlayRef },\r\n { provide: AiDialogConfig, useValue: config },\r\n ],\r\n });\r\n\r\n const containerPortal = new ComponentPortal<AiDialog<T, U>>(AiDialog, config.viewContainerRef, injector);\r\n const containerRef = overlayRef.attach<AiDialog<T, U>>(containerPortal);\r\n return containerRef.instance;\r\n }\r\n\r\n private _attachDialogContent<T, U>(contentType: ContentType<T>, component: AiDialog<T, U>, overlayRef: OverlayRef, config: AiDialogConfig<T, U>) {\r\n const dialogRef = new AiDialogRef<T>(overlayRef, config, component, this.#platformId);\r\n\r\n if (contentType instanceof TemplateRef) {\r\n component.attachTemplatePortal(new TemplatePortal<T>(contentType, null as unknown as ViewContainerRef, { dialogRef } as T));\r\n } else if (typeof contentType !== \"string\") {\r\n const injector = this._createInjector<T, U>(dialogRef, config);\r\n const contentRef = component.attachComponentPortal<T>(new ComponentPortal(contentType, config.viewContainerRef, injector));\r\n dialogRef.componentInstance = contentRef.instance;\r\n }\r\n\r\n return dialogRef;\r\n }\r\n\r\n private _createInjector<T, U>(dialogRef: AiDialogRef<T>, config: AiDialogConfig<T, U>) {\r\n return Injector.create({\r\n parent: this.#injector,\r\n providers: [\r\n { provide: AiDialogRef, useValue: dialogRef },\r\n { provide: AI_DIALOG_DATA, useValue: config.data },\r\n ],\r\n });\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
export const dialogVariants = cva("fixed left-[50%] top-[50%] z-50 grid translate-x-[-50%] translate-y-[-50%] gap-4 border border-border bg-background p-6 shadow-lg rounded-lg max-w-[calc(100%-2rem)] sm:max-w-[425px] lg:max-w-[600px]");
|
|
3
|
+
//# sourceMappingURL=dialog.variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.variants.js","sourceRoot":"","sources":["../../../../../../../libs/ai-ui/src/lib/components/dialog/dialog.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAgB,MAAM,0BAA0B,CAAC;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC7B,wMAAwM,CAC3M,CAAC","sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\r\n\r\nexport const dialogVariants = cva(\r\n \"fixed left-[50%] top-[50%] z-50 grid translate-x-[-50%] translate-y-[-50%] gap-4 border border-border bg-background p-6 shadow-lg rounded-lg max-w-[calc(100%-2rem)] sm:max-w-[425px] lg:max-w-[600px]\",\r\n);\r\nexport type DialogVariants = VariantProps<typeof dialogVariants>;\r\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ai-ui/src/lib/components/dialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,mCAAmC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC","sourcesContent":["export * from \"./demo/dialog\";\r\nexport * from \"./dialog-ref\";\r\n// export * from \"./dialog.config\";\r\nexport * from \"./dialog.module\";\r\nexport * from \"./dialog.service\";\r\n"]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import { AiAvatar, AiAvatarGroup } from "../../avatar";
|
|
3
|
+
import { AiButton } from "../../button";
|
|
4
|
+
import { AiEmpty } from "../empty";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class DemoEmptyAdvancedComponent {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DemoEmptyAdvancedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: DemoEmptyAdvancedComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
9
|
+
<div class="flex flex-col gap-y-12">
|
|
10
|
+
<ai-empty [image]="customImage" [title]="customTitle" description="Invite your team to collaborate on this project." [actions]="[actionInvite]">
|
|
11
|
+
<ng-template #customImage>
|
|
12
|
+
<ai-avatar-group>
|
|
13
|
+
<ai-avatar image="https://raw.githubusercontent.com/aiandralves/smart-watch/refs/heads/main/assets/img/team/person2.jpg" size="md" class="grayscale" />
|
|
14
|
+
<ai-avatar image="https://raw.githubusercontent.com/aiandralves/smart-watch/refs/heads/main/assets/img/team/person4.jpg" size="md" class="grayscale" />
|
|
15
|
+
<ai-avatar image="https://avatars.githubusercontent.com/u/33138081?v=4" size="md" class="grayscale" />
|
|
16
|
+
</ai-avatar-group>
|
|
17
|
+
</ng-template>
|
|
18
|
+
|
|
19
|
+
<ng-template #customTitle>
|
|
20
|
+
<span>
|
|
21
|
+
No team
|
|
22
|
+
<strong>members</strong>
|
|
23
|
+
</span>
|
|
24
|
+
</ng-template>
|
|
25
|
+
|
|
26
|
+
<ng-template #actionInvite>
|
|
27
|
+
<ai-button size="sm" icon="user-add"> Invite Members </ai-button>
|
|
28
|
+
</ng-template>
|
|
29
|
+
</ai-empty>
|
|
30
|
+
</div>
|
|
31
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AiEmpty, selector: "ai-empty", inputs: ["actions", "icon", "image", "title", "description", "class"], exportAs: ["aiEmpty"] }, { kind: "component", type: AiAvatar, selector: "ai-avatar", inputs: ["alt", "fallback", "priority", "size", "shape", "image", "status", "class"], exportAs: ["aiAvatar"] }, { kind: "component", type: AiAvatarGroup, selector: "ai-avatar-group", inputs: ["orientation", "class"], exportAs: ["aiAvatarGroup"] }, { kind: "component", type: AiButton, selector: "ai-button, button[ai-button], a[ai-button]", inputs: ["variant", "size", "shape", "type", "fill", "class", "icon", "full", "loading", "disabled"], exportAs: ["aiButton"] }] });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DemoEmptyAdvancedComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{
|
|
36
|
+
imports: [AiEmpty, AiAvatar, AiAvatarGroup, AiButton],
|
|
37
|
+
template: `
|
|
38
|
+
<div class="flex flex-col gap-y-12">
|
|
39
|
+
<ai-empty [image]="customImage" [title]="customTitle" description="Invite your team to collaborate on this project." [actions]="[actionInvite]">
|
|
40
|
+
<ng-template #customImage>
|
|
41
|
+
<ai-avatar-group>
|
|
42
|
+
<ai-avatar image="https://raw.githubusercontent.com/aiandralves/smart-watch/refs/heads/main/assets/img/team/person2.jpg" size="md" class="grayscale" />
|
|
43
|
+
<ai-avatar image="https://raw.githubusercontent.com/aiandralves/smart-watch/refs/heads/main/assets/img/team/person4.jpg" size="md" class="grayscale" />
|
|
44
|
+
<ai-avatar image="https://avatars.githubusercontent.com/u/33138081?v=4" size="md" class="grayscale" />
|
|
45
|
+
</ai-avatar-group>
|
|
46
|
+
</ng-template>
|
|
47
|
+
|
|
48
|
+
<ng-template #customTitle>
|
|
49
|
+
<span>
|
|
50
|
+
No team
|
|
51
|
+
<strong>members</strong>
|
|
52
|
+
</span>
|
|
53
|
+
</ng-template>
|
|
54
|
+
|
|
55
|
+
<ng-template #actionInvite>
|
|
56
|
+
<ai-button size="sm" icon="user-add"> Invite Members </ai-button>
|
|
57
|
+
</ng-template>
|
|
58
|
+
</ai-empty>
|
|
59
|
+
</div>
|
|
60
|
+
`,
|
|
61
|
+
}]
|
|
62
|
+
}] });
|
|
63
|
+
//# sourceMappingURL=advanced.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advanced.js","sourceRoot":"","sources":["../../../../../../../../libs/ai-ui/src/lib/components/empty/demo/advanced.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;;AA6BnC,MAAM,OAAO,0BAA0B;uGAA1B,0BAA0B;2FAA1B,0BAA0B,wEAzBzB;;;;;;;;;;;;;;;;;;;;;;;KAuBT,4DAxBS,OAAO,mJAAE,QAAQ,oKAAE,aAAa,2HAAE,QAAQ;;2FA0B3C,0BAA0B;kBA3BtC,SAAS;mBAAC;oBACP,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,CAAC;oBACrD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;KAuBT;iBACJ","sourcesContent":["import { Component } from \"@angular/core\";\r\n\r\nimport { AiAvatar, AiAvatarGroup } from \"../../avatar\";\r\nimport { AiButton } from \"../../button\";\r\nimport { AiEmpty } from \"../empty\";\r\n\r\n@Component({\r\n imports: [AiEmpty, AiAvatar, AiAvatarGroup, AiButton],\r\n template: `\r\n <div class=\"flex flex-col gap-y-12\">\r\n <ai-empty [image]=\"customImage\" [title]=\"customTitle\" description=\"Invite your team to collaborate on this project.\" [actions]=\"[actionInvite]\">\r\n <ng-template #customImage>\r\n <ai-avatar-group>\r\n <ai-avatar image=\"https://raw.githubusercontent.com/aiandralves/smart-watch/refs/heads/main/assets/img/team/person2.jpg\" size=\"md\" class=\"grayscale\" />\r\n <ai-avatar image=\"https://raw.githubusercontent.com/aiandralves/smart-watch/refs/heads/main/assets/img/team/person4.jpg\" size=\"md\" class=\"grayscale\" />\r\n <ai-avatar image=\"https://avatars.githubusercontent.com/u/33138081?v=4\" size=\"md\" class=\"grayscale\" />\r\n </ai-avatar-group>\r\n </ng-template>\r\n\r\n <ng-template #customTitle>\r\n <span>\r\n No team\r\n <strong>members</strong>\r\n </span>\r\n </ng-template>\r\n\r\n <ng-template #actionInvite>\r\n <ai-button size=\"sm\" icon=\"user-add\"> Invite Members </ai-button>\r\n </ng-template>\r\n </ai-empty>\r\n </div>\r\n `,\r\n})\r\nexport class DemoEmptyAdvancedComponent {}\r\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import { AiButton } from "../../button";
|
|
3
|
+
import { AiEmpty } from "../empty";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class DemoEmptyCustomImageComponent {
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DemoEmptyCustomImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: DemoEmptyCustomImageComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
8
|
+
<div class="flex flex-col gap-y-4">
|
|
9
|
+
<ai-empty
|
|
10
|
+
image="./img/avatar.png"
|
|
11
|
+
title="User invisible"
|
|
12
|
+
description="This user is currently offline. You can leave a message to notify them or try again later."
|
|
13
|
+
[actions]="[actionPrimary]"
|
|
14
|
+
class="[&_img]:size-12 [&_img]:rounded-full [&_img]:grayscale"
|
|
15
|
+
>
|
|
16
|
+
<ng-template #actionPrimary>
|
|
17
|
+
<ai-button type="button" size="sm"> Leave Message </ai-button>
|
|
18
|
+
</ng-template>
|
|
19
|
+
</ai-empty>
|
|
20
|
+
</div>
|
|
21
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AiEmpty, selector: "ai-empty", inputs: ["actions", "icon", "image", "title", "description", "class"], exportAs: ["aiEmpty"] }, { kind: "component", type: AiButton, selector: "ai-button, button[ai-button], a[ai-button]", inputs: ["variant", "size", "shape", "type", "fill", "class", "icon", "full", "loading", "disabled"], exportAs: ["aiButton"] }] });
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DemoEmptyCustomImageComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{
|
|
26
|
+
imports: [AiEmpty, AiButton],
|
|
27
|
+
template: `
|
|
28
|
+
<div class="flex flex-col gap-y-4">
|
|
29
|
+
<ai-empty
|
|
30
|
+
image="./img/avatar.png"
|
|
31
|
+
title="User invisible"
|
|
32
|
+
description="This user is currently offline. You can leave a message to notify them or try again later."
|
|
33
|
+
[actions]="[actionPrimary]"
|
|
34
|
+
class="[&_img]:size-12 [&_img]:rounded-full [&_img]:grayscale"
|
|
35
|
+
>
|
|
36
|
+
<ng-template #actionPrimary>
|
|
37
|
+
<ai-button type="button" size="sm"> Leave Message </ai-button>
|
|
38
|
+
</ng-template>
|
|
39
|
+
</ai-empty>
|
|
40
|
+
</div>
|
|
41
|
+
`,
|
|
42
|
+
}]
|
|
43
|
+
}] });
|
|
44
|
+
//# sourceMappingURL=custom-image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-image.js","sourceRoot":"","sources":["../../../../../../../../libs/ai-ui/src/lib/components/empty/demo/custom-image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;;AAoBnC,MAAM,OAAO,6BAA6B;uGAA7B,6BAA6B;2FAA7B,6BAA6B,wEAhB5B;;;;;;;;;;;;;;KAcT,4DAfS,OAAO,mJAAE,QAAQ;;2FAiBlB,6BAA6B;kBAlBzC,SAAS;mBAAC;oBACP,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;oBAC5B,QAAQ,EAAE;;;;;;;;;;;;;;KAcT;iBACJ","sourcesContent":["import { Component } from \"@angular/core\";\r\n\r\nimport { AiButton } from \"../../button\";\r\nimport { AiEmpty } from \"../empty\";\r\n\r\n@Component({\r\n imports: [AiEmpty, AiButton],\r\n template: `\r\n <div class=\"flex flex-col gap-y-4\">\r\n <ai-empty\r\n image=\"./img/avatar.png\"\r\n title=\"User invisible\"\r\n description=\"This user is currently offline. You can leave a message to notify them or try again later.\"\r\n [actions]=\"[actionPrimary]\"\r\n class=\"[&_img]:size-12 [&_img]:rounded-full [&_img]:grayscale\"\r\n >\r\n <ng-template #actionPrimary>\r\n <ai-button type=\"button\" size=\"sm\"> Leave Message </ai-button>\r\n </ng-template>\r\n </ai-empty>\r\n </div>\r\n `,\r\n})\r\nexport class DemoEmptyCustomImageComponent {}\r\n"]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import { AiButton } from "../../button";
|
|
3
|
+
import { AiIcon } from "../../icon";
|
|
4
|
+
import { AiEmpty } from "../empty";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class DemoEmptyDefaultComponent {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DemoEmptyDefaultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: DemoEmptyDefaultComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
9
|
+
<div class="flex flex-col gap-y-4">
|
|
10
|
+
<ai-empty
|
|
11
|
+
icon="code-block"
|
|
12
|
+
title="No Projects Yet"
|
|
13
|
+
description="You haven't created any projects yet. Get started by creating your first project."
|
|
14
|
+
[actions]="[actionPrimary, actionDefault]"
|
|
15
|
+
>
|
|
16
|
+
<ng-template #actionPrimary>
|
|
17
|
+
<ai-button type="button" size="sm"> Create project </ai-button>
|
|
18
|
+
</ng-template>
|
|
19
|
+
|
|
20
|
+
<ng-template #actionDefault>
|
|
21
|
+
<ai-button type="button" size="sm" variant="default"> Import project </ai-button>
|
|
22
|
+
</ng-template>
|
|
23
|
+
|
|
24
|
+
<ai-button type="button" size="sm" variant="ghost">
|
|
25
|
+
Learn more
|
|
26
|
+
<ai-icon icon="arrow-right-up" size="sm" />
|
|
27
|
+
</ai-button>
|
|
28
|
+
</ai-empty>
|
|
29
|
+
</div>
|
|
30
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AiEmpty, selector: "ai-empty", inputs: ["actions", "icon", "image", "title", "description", "class"], exportAs: ["aiEmpty"] }, { kind: "component", type: AiButton, selector: "ai-button, button[ai-button], a[ai-button]", inputs: ["variant", "size", "shape", "type", "fill", "class", "icon", "full", "loading", "disabled"], exportAs: ["aiButton"] }, { kind: "component", type: AiIcon, selector: "ai-icon, [ai-icon]", inputs: ["icon", "size", "type", "disabled", "class"], exportAs: ["aiIcon"] }] });
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DemoEmptyDefaultComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{
|
|
35
|
+
imports: [AiEmpty, AiButton, AiIcon],
|
|
36
|
+
template: `
|
|
37
|
+
<div class="flex flex-col gap-y-4">
|
|
38
|
+
<ai-empty
|
|
39
|
+
icon="code-block"
|
|
40
|
+
title="No Projects Yet"
|
|
41
|
+
description="You haven't created any projects yet. Get started by creating your first project."
|
|
42
|
+
[actions]="[actionPrimary, actionDefault]"
|
|
43
|
+
>
|
|
44
|
+
<ng-template #actionPrimary>
|
|
45
|
+
<ai-button type="button" size="sm"> Create project </ai-button>
|
|
46
|
+
</ng-template>
|
|
47
|
+
|
|
48
|
+
<ng-template #actionDefault>
|
|
49
|
+
<ai-button type="button" size="sm" variant="default"> Import project </ai-button>
|
|
50
|
+
</ng-template>
|
|
51
|
+
|
|
52
|
+
<ai-button type="button" size="sm" variant="ghost">
|
|
53
|
+
Learn more
|
|
54
|
+
<ai-icon icon="arrow-right-up" size="sm" />
|
|
55
|
+
</ai-button>
|
|
56
|
+
</ai-empty>
|
|
57
|
+
</div>
|
|
58
|
+
`,
|
|
59
|
+
}]
|
|
60
|
+
}] });
|
|
61
|
+
//# sourceMappingURL=default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.js","sourceRoot":"","sources":["../../../../../../../../libs/ai-ui/src/lib/components/empty/demo/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;;AA4BnC,MAAM,OAAO,yBAAyB;uGAAzB,yBAAyB;2FAAzB,yBAAyB,wEAxBxB;;;;;;;;;;;;;;;;;;;;;;KAsBT,4DAvBS,OAAO,mJAAE,QAAQ,qNAAE,MAAM;;2FAyB1B,yBAAyB;kBA1BrC,SAAS;mBAAC;oBACP,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC;oBACpC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;KAsBT;iBACJ","sourcesContent":["import { Component } from \"@angular/core\";\r\nimport { AiButton } from \"../../button\";\r\nimport { AiIcon } from \"../../icon\";\r\nimport { AiEmpty } from \"../empty\";\r\n\r\n@Component({\r\n imports: [AiEmpty, AiButton, AiIcon],\r\n template: `\r\n <div class=\"flex flex-col gap-y-4\">\r\n <ai-empty\r\n icon=\"code-block\"\r\n title=\"No Projects Yet\"\r\n description=\"You haven't created any projects yet. Get started by creating your first project.\"\r\n [actions]=\"[actionPrimary, actionDefault]\"\r\n >\r\n <ng-template #actionPrimary>\r\n <ai-button type=\"button\" size=\"sm\"> Create project </ai-button>\r\n </ng-template>\r\n\r\n <ng-template #actionDefault>\r\n <ai-button type=\"button\" size=\"sm\" variant=\"default\"> Import project </ai-button>\r\n </ng-template>\r\n\r\n <ai-button type=\"button\" size=\"sm\" variant=\"ghost\">\r\n Learn more\r\n <ai-icon icon=\"arrow-right-up\" size=\"sm\" />\r\n </ai-button>\r\n </ai-empty>\r\n </div>\r\n `,\r\n})\r\nexport class DemoEmptyDefaultComponent {}\r\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DemoEmptyAdvancedComponent } from "./advanced";
|
|
2
|
+
import { DemoEmptyCustomImageComponent } from "./custom-image";
|
|
3
|
+
import { DemoEmptyDefaultComponent } from "./default";
|
|
4
|
+
export const EMPTY = {
|
|
5
|
+
componentName: "empty",
|
|
6
|
+
componentType: "empty",
|
|
7
|
+
examples: [
|
|
8
|
+
{
|
|
9
|
+
name: "default",
|
|
10
|
+
component: DemoEmptyDefaultComponent,
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: "advanced",
|
|
14
|
+
component: DemoEmptyAdvancedComponent,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: "custom-image",
|
|
18
|
+
component: DemoEmptyCustomImageComponent,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=empty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../../../../../../../libs/ai-ui/src/lib/components/empty/demo/empty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,CAAC,MAAM,KAAK,GAAG;IACjB,aAAa,EAAE,OAAO;IACtB,aAAa,EAAE,OAAO;IACtB,QAAQ,EAAE;QACN;YACI,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,yBAAyB;SACvC;QACD;YACI,IAAI,EAAE,UAAU;YAChB,SAAS,EAAE,0BAA0B;SACxC;QACD;YACI,IAAI,EAAE,cAAc;YACpB,SAAS,EAAE,6BAA6B;SAC3C;KACJ;CACJ,CAAC","sourcesContent":["import { DemoEmptyAdvancedComponent } from \"./advanced\";\r\nimport { DemoEmptyCustomImageComponent } from \"./custom-image\";\r\nimport { DemoEmptyDefaultComponent } from \"./default\";\r\n\r\nexport const EMPTY = {\r\n componentName: \"empty\",\r\n componentType: \"empty\",\r\n examples: [\r\n {\r\n name: \"default\",\r\n component: DemoEmptyDefaultComponent,\r\n },\r\n {\r\n name: \"advanced\",\r\n component: DemoEmptyAdvancedComponent,\r\n },\r\n {\r\n name: \"custom-image\",\r\n component: DemoEmptyCustomImageComponent,\r\n },\r\n ],\r\n};\r\n"]}
|