@ascentgl/ads-ui 0.0.12 → 0.0.14
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/esm2022/index.mjs +3 -13
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +3 -5
- package/esm2022/lib/components/breadcrumb/breadcrumb.type.mjs +1 -1
- package/esm2022/lib/components/card/card.component.mjs +20 -4
- package/esm2022/lib/components/drag-and-drop-list/drag-and-drop-list.component.mjs +2 -2
- package/esm2022/lib/components/error-page/error-page.component.mjs +2 -2
- package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +3 -3
- package/esm2022/lib/components/general/color-palette/colors.enums.mjs +2 -1
- package/esm2022/lib/components/header/header.component.mjs +2 -2
- package/esm2022/lib/components/logo/ascent-logo/ascent-logo.component.mjs +7 -5
- package/esm2022/lib/components/logo/primary-logo/abstract-logo-component.mjs +37 -0
- package/esm2022/lib/components/logo/primary-logo/primary-logo.component.mjs +7 -29
- package/esm2022/lib/components/nav-bar/nav-menu/nav-menu.component.mjs +3 -3
- package/esm2022/lib/components/{header/org-display-text → nav-bar/scms-side-nav-bar}/index.mjs +1 -1
- package/esm2022/lib/components/nav-bar/scms-side-nav-bar/public-api.mjs +3 -0
- package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-nav-item.types.mjs +2 -0
- package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.component.mjs +54 -0
- package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.module.mjs +62 -0
- package/esm2022/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.mjs +56 -0
- package/esm2022/lib/components/nav-bar/side-nav-bar/side-nav-bar.component.mjs +12 -52
- package/esm2022/lib/components/snackbars/snackbar/snackbar.component.mjs +14 -5
- package/esm2022/lib/components/steppers/numeric-stepper/numeric-step.type.mjs +2 -0
- package/esm2022/lib/components/steppers/numeric-stepper/numeric-stepper.component.mjs +3 -3
- package/esm2022/lib/components/steppers/numeric-stepper/public-api.mjs +2 -1
- package/esm2022/lib/components/{widgets/widget-title → steppers/stepper}/index.mjs +1 -1
- package/esm2022/lib/components/steppers/stepper/public-api.mjs +4 -0
- package/esm2022/lib/components/steppers/stepper/step.type.mjs +2 -0
- package/esm2022/lib/components/steppers/stepper/stepper.component.mjs +33 -0
- package/esm2022/lib/components/steppers/stepper/stepper.module.mjs +20 -0
- package/esm2022/lib/components/steppers/vertical-stepper/vertical-step.type.mjs +2 -8
- package/esm2022/lib/components/steppers/vertical-stepper/vertical-stepper.component.mjs +10 -4
- package/esm2022/lib/components/tags/create-tag/create-tag.component.mjs +75 -33
- package/esm2022/lib/components/tags/create-tag/create-tag.module.mjs +11 -3
- package/esm2022/lib/components/tags/tag/tag.component.mjs +3 -3
- package/esm2022/lib/components/tags/tag-container/tag-container.component.mjs +2 -2
- package/esm2022/src/lib/components/drag-and-drop-list/drag-and-drop-list.component.mjs +2 -2
- package/esm2022/src/lib/components/header/header.component.mjs +2 -2
- package/esm2022/src/lib/components/logo/primary-logo/abstract-logo-component.mjs +37 -0
- package/esm2022/src/lib/components/logo/primary-logo/primary-logo.component.mjs +7 -29
- package/esm2022/src/lib/components/tags/tag-container/tag-container.component.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +19 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui.mjs +509 -759
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +2 -12
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +1 -3
- package/lib/components/breadcrumb/breadcrumb.type.d.ts +0 -1
- package/lib/components/card/card.component.d.ts +12 -1
- package/lib/components/general/color-palette/colors.enums.d.ts +1 -0
- package/lib/components/logo/ascent-logo/ascent-logo.component.d.ts +2 -1
- package/lib/components/logo/primary-logo/abstract-logo-component.d.ts +22 -0
- package/lib/components/logo/primary-logo/primary-logo.component.d.ts +4 -18
- package/lib/components/nav-bar/scms-side-nav-bar/public-api.d.ts +2 -0
- package/lib/components/nav-bar/scms-side-nav-bar/scms-nav-item.types.d.ts +14 -0
- package/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.component.d.ts +28 -0
- package/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.module.d.ts +15 -0
- package/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.d.ts +38 -0
- package/lib/components/nav-bar/side-nav-bar/side-nav-bar.component.d.ts +9 -24
- package/lib/components/snackbars/snackbar/snackbar.component.d.ts +3 -0
- package/lib/components/steppers/numeric-stepper/numeric-step.type.d.ts +9 -0
- package/lib/components/steppers/numeric-stepper/numeric-stepper.component.d.ts +1 -9
- package/lib/components/steppers/numeric-stepper/public-api.d.ts +1 -0
- package/lib/components/steppers/stepper/public-api.d.ts +3 -0
- package/lib/components/steppers/stepper/step.type.d.ts +8 -0
- package/lib/components/steppers/stepper/stepper.component.d.ts +21 -0
- package/lib/components/steppers/stepper/stepper.module.d.ts +10 -0
- package/lib/components/steppers/vertical-stepper/vertical-step.type.d.ts +1 -6
- package/lib/components/steppers/vertical-stepper/vertical-stepper.component.d.ts +7 -1
- package/lib/components/tags/create-tag/create-tag.component.d.ts +18 -11
- package/lib/components/tags/create-tag/create-tag.module.d.ts +3 -1
- package/lib/components/tags/tag/tag.component.d.ts +1 -1
- package/package.json +18 -96
- package/src/assets/sass/ads-ui/abstracts/_variables.scss +2 -2
- package/src/lib/components/logo/primary-logo/abstract-logo-component.d.ts +22 -0
- package/src/lib/components/logo/primary-logo/primary-logo.component.d.ts +4 -18
- package/esm2022/lib/components/header/org-display-text/org-display-text.component.mjs +0 -22
- package/esm2022/lib/components/header/org-display-text/org-display-text.module.mjs +0 -18
- package/esm2022/lib/components/header/org-display-text/public-api.mjs +0 -3
- package/esm2022/lib/components/pagination/container/index.mjs +0 -2
- package/esm2022/lib/components/pagination/container/pagination-container.component.mjs +0 -11
- package/esm2022/lib/components/pagination/container/pagination-container.module.mjs +0 -16
- package/esm2022/lib/components/pagination/container/public-api.mjs +0 -3
- package/esm2022/lib/components/pagination/index.mjs +0 -2
- package/esm2022/lib/components/pagination/pagination.component.mjs +0 -85
- package/esm2022/lib/components/pagination/pagination.module.mjs +0 -19
- package/esm2022/lib/components/pagination/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-actions/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-actions/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-actions/widget-actions.component.mjs +0 -11
- package/esm2022/lib/components/widgets/widget-actions/widget-actions.module.mjs +0 -16
- package/esm2022/lib/components/widgets/widget-bar/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-bar/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-bar/widget-bar.component.mjs +0 -20
- package/esm2022/lib/components/widgets/widget-bar/widget-bar.module.mjs +0 -18
- package/esm2022/lib/components/widgets/widget-container/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-container/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-container/widget-container.component.mjs +0 -11
- package/esm2022/lib/components/widgets/widget-container/widget-container.module.mjs +0 -18
- package/esm2022/lib/components/widgets/widget-footer/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-footer/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-footer/widget-footer.component.mjs +0 -11
- package/esm2022/lib/components/widgets/widget-footer/widget-footer.module.mjs +0 -18
- package/esm2022/lib/components/widgets/widget-header/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-header/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-header/widget-header.component.mjs +0 -11
- package/esm2022/lib/components/widgets/widget-header/widget-header.module.mjs +0 -18
- package/esm2022/lib/components/widgets/widget-preview/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-preview/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-preview/widget-preview.component.mjs +0 -25
- package/esm2022/lib/components/widgets/widget-preview/widget-preview.module.mjs +0 -18
- package/esm2022/lib/components/widgets/widget-thumbnail/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-thumbnail/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-thumbnail/widget-thumbnail.component.mjs +0 -100
- package/esm2022/lib/components/widgets/widget-thumbnail/widget-thumbnail.module.mjs +0 -20
- package/esm2022/lib/components/widgets/widget-thumbnail-container/index.mjs +0 -2
- package/esm2022/lib/components/widgets/widget-thumbnail-container/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.component.mjs +0 -12
- package/esm2022/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.module.mjs +0 -18
- package/esm2022/lib/components/widgets/widget-title/public-api.mjs +0 -3
- package/esm2022/lib/components/widgets/widget-title/widget-title.component.mjs +0 -22
- package/esm2022/lib/components/widgets/widget-title/widget-title.module.mjs +0 -18
- package/esm2022/src/lib/components/card/ascentgl-ads-ui-src-lib-components-card.mjs +0 -5
- package/esm2022/src/lib/components/card/card.component.mjs +0 -11
- package/esm2022/src/lib/components/card/card.module.mjs +0 -18
- package/esm2022/src/lib/components/card/public-api.mjs +0 -3
- package/esm2022/src/lib/components/header/org-display-text/ascentgl-ads-ui-src-lib-components-header-org-display-text.mjs +0 -5
- package/esm2022/src/lib/components/header/org-display-text/org-display-text.component.mjs +0 -22
- package/esm2022/src/lib/components/header/org-display-text/org-display-text.module.mjs +0 -18
- package/esm2022/src/lib/components/header/org-display-text/public-api.mjs +0 -3
- package/esm2022/src/lib/components/pagination/ascentgl-ads-ui-src-lib-components-pagination.mjs +0 -5
- package/esm2022/src/lib/components/pagination/container/ascentgl-ads-ui-src-lib-components-pagination-container.mjs +0 -5
- package/esm2022/src/lib/components/pagination/container/pagination-container.component.mjs +0 -11
- package/esm2022/src/lib/components/pagination/container/pagination-container.module.mjs +0 -16
- package/esm2022/src/lib/components/pagination/container/public-api.mjs +0 -3
- package/esm2022/src/lib/components/pagination/pagination.component.mjs +0 -85
- package/esm2022/src/lib/components/pagination/pagination.module.mjs +0 -19
- package/esm2022/src/lib/components/pagination/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-actions/ascentgl-ads-ui-src-lib-components-widgets-widget-actions.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-actions/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-actions/widget-actions.component.mjs +0 -11
- package/esm2022/src/lib/components/widgets/widget-actions/widget-actions.module.mjs +0 -16
- package/esm2022/src/lib/components/widgets/widget-bar/ascentgl-ads-ui-src-lib-components-widgets-widget-bar.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-bar/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-bar/widget-bar.component.mjs +0 -20
- package/esm2022/src/lib/components/widgets/widget-bar/widget-bar.module.mjs +0 -18
- package/esm2022/src/lib/components/widgets/widget-container/ascentgl-ads-ui-src-lib-components-widgets-widget-container.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-container/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-container/widget-container.component.mjs +0 -11
- package/esm2022/src/lib/components/widgets/widget-container/widget-container.module.mjs +0 -18
- package/esm2022/src/lib/components/widgets/widget-footer/ascentgl-ads-ui-src-lib-components-widgets-widget-footer.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-footer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-footer/widget-footer.component.mjs +0 -11
- package/esm2022/src/lib/components/widgets/widget-footer/widget-footer.module.mjs +0 -18
- package/esm2022/src/lib/components/widgets/widget-header/ascentgl-ads-ui-src-lib-components-widgets-widget-header.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-header/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-header/widget-header.component.mjs +0 -11
- package/esm2022/src/lib/components/widgets/widget-header/widget-header.module.mjs +0 -18
- package/esm2022/src/lib/components/widgets/widget-preview/ascentgl-ads-ui-src-lib-components-widgets-widget-preview.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-preview/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-preview/widget-preview.component.mjs +0 -25
- package/esm2022/src/lib/components/widgets/widget-preview/widget-preview.module.mjs +0 -18
- package/esm2022/src/lib/components/widgets/widget-thumbnail/ascentgl-ads-ui-src-lib-components-widgets-widget-thumbnail.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-thumbnail/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-thumbnail/widget-thumbnail.component.mjs +0 -100
- package/esm2022/src/lib/components/widgets/widget-thumbnail/widget-thumbnail.module.mjs +0 -20
- package/esm2022/src/lib/components/widgets/widget-thumbnail-container/ascentgl-ads-ui-src-lib-components-widgets-widget-thumbnail-container.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-thumbnail-container/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.component.mjs +0 -12
- package/esm2022/src/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.module.mjs +0 -18
- package/esm2022/src/lib/components/widgets/widget-title/ascentgl-ads-ui-src-lib-components-widgets-widget-title.mjs +0 -5
- package/esm2022/src/lib/components/widgets/widget-title/public-api.mjs +0 -3
- package/esm2022/src/lib/components/widgets/widget-title/widget-title.component.mjs +0 -22
- package/esm2022/src/lib/components/widgets/widget-title/widget-title.module.mjs +0 -18
- package/fesm2022/ascentgl-ads-ui-src-lib-components-card.mjs +0 -33
- package/fesm2022/ascentgl-ads-ui-src-lib-components-card.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header-org-display-text.mjs +0 -44
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header-org-display-text.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-pagination-container.mjs +0 -31
- package/fesm2022/ascentgl-ads-ui-src-lib-components-pagination-container.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-pagination.mjs +0 -107
- package/fesm2022/ascentgl-ads-ui-src-lib-components-pagination.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-actions.mjs +0 -31
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-actions.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-bar.mjs +0 -42
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-bar.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-container.mjs +0 -33
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-container.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-footer.mjs +0 -33
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-footer.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-header.mjs +0 -33
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-header.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-preview.mjs +0 -47
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-preview.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-thumbnail-container.mjs +0 -34
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-thumbnail-container.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-thumbnail.mjs +0 -123
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-thumbnail.mjs.map +0 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-title.mjs +0 -44
- package/fesm2022/ascentgl-ads-ui-src-lib-components-widgets-widget-title.mjs.map +0 -1
- package/lib/components/header/org-display-text/org-display-text.component.d.ts +0 -13
- package/lib/components/header/org-display-text/org-display-text.module.d.ts +0 -8
- package/lib/components/header/org-display-text/public-api.d.ts +0 -2
- package/lib/components/pagination/container/pagination-container.component.d.ts +0 -5
- package/lib/components/pagination/container/pagination-container.module.d.ts +0 -7
- package/lib/components/pagination/container/public-api.d.ts +0 -2
- package/lib/components/pagination/index.d.ts +0 -1
- package/lib/components/pagination/pagination.component.d.ts +0 -41
- package/lib/components/pagination/pagination.module.d.ts +0 -9
- package/lib/components/pagination/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-actions/index.d.ts +0 -1
- package/lib/components/widgets/widget-actions/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-actions/widget-actions.component.d.ts +0 -5
- package/lib/components/widgets/widget-actions/widget-actions.module.d.ts +0 -7
- package/lib/components/widgets/widget-bar/index.d.ts +0 -1
- package/lib/components/widgets/widget-bar/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-bar/widget-bar.component.d.ts +0 -9
- package/lib/components/widgets/widget-bar/widget-bar.module.d.ts +0 -8
- package/lib/components/widgets/widget-container/index.d.ts +0 -1
- package/lib/components/widgets/widget-container/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-container/widget-container.component.d.ts +0 -5
- package/lib/components/widgets/widget-container/widget-container.module.d.ts +0 -8
- package/lib/components/widgets/widget-footer/index.d.ts +0 -1
- package/lib/components/widgets/widget-footer/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-footer/widget-footer.component.d.ts +0 -5
- package/lib/components/widgets/widget-footer/widget-footer.module.d.ts +0 -8
- package/lib/components/widgets/widget-header/index.d.ts +0 -1
- package/lib/components/widgets/widget-header/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-header/widget-header.component.d.ts +0 -5
- package/lib/components/widgets/widget-header/widget-header.module.d.ts +0 -8
- package/lib/components/widgets/widget-preview/index.d.ts +0 -1
- package/lib/components/widgets/widget-preview/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-preview/widget-preview.component.d.ts +0 -28
- package/lib/components/widgets/widget-preview/widget-preview.module.d.ts +0 -8
- package/lib/components/widgets/widget-thumbnail/index.d.ts +0 -1
- package/lib/components/widgets/widget-thumbnail/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-thumbnail/widget-thumbnail.component.d.ts +0 -68
- package/lib/components/widgets/widget-thumbnail/widget-thumbnail.module.d.ts +0 -10
- package/lib/components/widgets/widget-thumbnail-container/index.d.ts +0 -1
- package/lib/components/widgets/widget-thumbnail-container/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.component.d.ts +0 -5
- package/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.module.d.ts +0 -8
- package/lib/components/widgets/widget-title/index.d.ts +0 -1
- package/lib/components/widgets/widget-title/public-api.d.ts +0 -2
- package/lib/components/widgets/widget-title/widget-title.component.d.ts +0 -13
- package/lib/components/widgets/widget-title/widget-title.module.d.ts +0 -8
- package/src/lib/components/card/card.component.d.ts +0 -5
- package/src/lib/components/card/card.module.d.ts +0 -8
- package/src/lib/components/card/index.d.ts +0 -5
- package/src/lib/components/card/public-api.d.ts +0 -2
- package/src/lib/components/header/org-display-text/index.d.ts +0 -5
- package/src/lib/components/header/org-display-text/org-display-text.component.d.ts +0 -13
- package/src/lib/components/header/org-display-text/org-display-text.module.d.ts +0 -8
- package/src/lib/components/header/org-display-text/public-api.d.ts +0 -2
- package/src/lib/components/pagination/container/index.d.ts +0 -5
- package/src/lib/components/pagination/container/pagination-container.component.d.ts +0 -5
- package/src/lib/components/pagination/container/pagination-container.module.d.ts +0 -7
- package/src/lib/components/pagination/container/public-api.d.ts +0 -2
- package/src/lib/components/pagination/index.d.ts +0 -5
- package/src/lib/components/pagination/pagination.component.d.ts +0 -41
- package/src/lib/components/pagination/pagination.module.d.ts +0 -9
- package/src/lib/components/pagination/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-actions/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-actions/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-actions/widget-actions.component.d.ts +0 -5
- package/src/lib/components/widgets/widget-actions/widget-actions.module.d.ts +0 -7
- package/src/lib/components/widgets/widget-bar/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-bar/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-bar/widget-bar.component.d.ts +0 -9
- package/src/lib/components/widgets/widget-bar/widget-bar.module.d.ts +0 -8
- package/src/lib/components/widgets/widget-container/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-container/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-container/widget-container.component.d.ts +0 -5
- package/src/lib/components/widgets/widget-container/widget-container.module.d.ts +0 -8
- package/src/lib/components/widgets/widget-footer/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-footer/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-footer/widget-footer.component.d.ts +0 -5
- package/src/lib/components/widgets/widget-footer/widget-footer.module.d.ts +0 -8
- package/src/lib/components/widgets/widget-header/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-header/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-header/widget-header.component.d.ts +0 -5
- package/src/lib/components/widgets/widget-header/widget-header.module.d.ts +0 -8
- package/src/lib/components/widgets/widget-preview/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-preview/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-preview/widget-preview.component.d.ts +0 -28
- package/src/lib/components/widgets/widget-preview/widget-preview.module.d.ts +0 -8
- package/src/lib/components/widgets/widget-thumbnail/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-thumbnail/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-thumbnail/widget-thumbnail.component.d.ts +0 -68
- package/src/lib/components/widgets/widget-thumbnail/widget-thumbnail.module.d.ts +0 -10
- package/src/lib/components/widgets/widget-thumbnail-container/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-thumbnail-container/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.component.d.ts +0 -5
- package/src/lib/components/widgets/widget-thumbnail-container/widget-thumbnail-container.module.d.ts +0 -8
- package/src/lib/components/widgets/widget-title/index.d.ts +0 -5
- package/src/lib/components/widgets/widget-title/public-api.d.ts +0 -2
- package/src/lib/components/widgets/widget-title/widget-title.component.d.ts +0 -13
- package/src/lib/components/widgets/widget-title/widget-title.module.d.ts +0 -8
- /package/lib/components/{header/org-display-text → nav-bar/scms-side-nav-bar}/index.d.ts +0 -0
- /package/lib/components/{pagination/container → steppers/stepper}/index.d.ts +0 -0
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { AdsIconRegistry } from '@ascentgl/ads-icons';
|
|
3
|
-
import { adsIconDrag } from '@ascentgl/ads-icons/icons';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@ascentgl/ads-icons";
|
|
6
|
-
export class AdsWidgetThumbnailComponent {
|
|
7
|
-
constructor(registry) {
|
|
8
|
-
this.registry = registry;
|
|
9
|
-
/**
|
|
10
|
-
* Whether or not the widget is already on the dashboard
|
|
11
|
-
*/
|
|
12
|
-
this.active = false;
|
|
13
|
-
/**
|
|
14
|
-
* Whether or not the widget drag event should be disabled
|
|
15
|
-
*/
|
|
16
|
-
this.disabled = false;
|
|
17
|
-
/**
|
|
18
|
-
* Event emitted when widget is added via keyboard
|
|
19
|
-
*/
|
|
20
|
-
this.widgetAdd = new EventEmitter();
|
|
21
|
-
/**
|
|
22
|
-
* Event emitted when widget loses focus
|
|
23
|
-
*/
|
|
24
|
-
this.widgetBlur = new EventEmitter();
|
|
25
|
-
/**
|
|
26
|
-
* Event emitted when widget dragstart event occurs
|
|
27
|
-
*/
|
|
28
|
-
this.widgetDrag = new EventEmitter();
|
|
29
|
-
/**
|
|
30
|
-
* Event emitted when widget is focused via keyboard
|
|
31
|
-
*/
|
|
32
|
-
this.widgetFocus = new EventEmitter();
|
|
33
|
-
/**
|
|
34
|
-
* Event emitted when mouse enters widget
|
|
35
|
-
*/
|
|
36
|
-
this.widgetHover = new EventEmitter();
|
|
37
|
-
/**
|
|
38
|
-
* Event emitted when mouse leaves widget
|
|
39
|
-
*/
|
|
40
|
-
this.widgetLeave = new EventEmitter();
|
|
41
|
-
this.registry.register([adsIconDrag]);
|
|
42
|
-
}
|
|
43
|
-
/** @ignore */
|
|
44
|
-
onWidgetBlur() {
|
|
45
|
-
this.widgetBlur.emit();
|
|
46
|
-
}
|
|
47
|
-
/** @ignore */
|
|
48
|
-
onWidgetDrag(event) {
|
|
49
|
-
this.widgetDrag.emit(event);
|
|
50
|
-
}
|
|
51
|
-
/** @ignore */
|
|
52
|
-
onWidgetDragEnd(event) {
|
|
53
|
-
event.target.blur();
|
|
54
|
-
}
|
|
55
|
-
/** @ignore */
|
|
56
|
-
onWidgetEnter(event) {
|
|
57
|
-
this.widgetAdd.emit(event);
|
|
58
|
-
}
|
|
59
|
-
/** @ignore */
|
|
60
|
-
onWidgetFocus(event) {
|
|
61
|
-
this.widgetFocus.emit(event);
|
|
62
|
-
}
|
|
63
|
-
/** @ignore */
|
|
64
|
-
onWidgetHover(event) {
|
|
65
|
-
this.widgetHover.emit(event);
|
|
66
|
-
}
|
|
67
|
-
/** @ignore */
|
|
68
|
-
onWidgetLeave() {
|
|
69
|
-
this.widgetLeave.emit();
|
|
70
|
-
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailComponent, deps: [{ token: i1.AdsIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
72
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: AdsWidgetThumbnailComponent, selector: "ads-widget-thumbnail", inputs: { active: "active", disabled: "disabled", icon: "icon", id: "id", text: "text" }, outputs: { widgetAdd: "widgetAdd", widgetBlur: "widgetBlur", widgetDrag: "widgetDrag", widgetFocus: "widgetFocus", widgetHover: "widgetHover", widgetLeave: "widgetLeave" }, ngImport: i0, template: "<div\n tabindex=\"0\"\n class=\"widget-thumbnail\"\n [class.active]=\"active\"\n [class.disabled]=\"disabled\"\n [draggable]=\"!disabled\"\n [id]=\"id\"\n (dragstart)=\"onWidgetDrag($event)\"\n (dragend)=\"onWidgetDragEnd($event)\"\n (keyup.enter)=\"onWidgetEnter($event)\"\n (mouseenter)=\"onWidgetHover($event)\"\n (mouseleave)=\"onWidgetLeave()\"\n (focus)=\"onWidgetFocus($event)\"\n (blur)=\"onWidgetBlur()\"\n>\n <ads-icon class=\"widget-thumbnail-drag\" name=\"drag\" size=\"sm\" theme=\"primary\"></ads-icon>\n <div class=\"widget-thumbnail-text\">{{ text }}</div>\n <div class=\"widget-thumbnail-icons\">\n <div class=\"widget-active\"></div>\n <ads-icon [name]=\"icon\" theme=\"primary\" size=\"xs\"></ads-icon>\n </div>\n</div>\n", styles: [".widget-thumbnail{position:relative;display:inline-flex;width:192px;height:116px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:4px;margin:4px;background-color:var(--color-white);cursor:grab;outline:none;border-radius:10px;box-shadow:0 3px 6px #00498729}.widget-thumbnail-text{width:100px;color:var(--color-dark);font-size:13px;font-weight:700;line-height:20px;text-align:center;-webkit-user-select:none;user-select:none}.widget-thumbnail:hover,.widget-thumbnail:focus{width:192px;height:116px;padding-top:8px;margin-top:0;background-color:#dae0ee}.widget-thumbnail:hover .widget-thumbnail-text,.widget-thumbnail:focus .widget-thumbnail-text{color:var(--color-medium)}.widget-thumbnail-icons{display:flex;flex-direction:column;align-items:center;align-self:stretch;justify-content:space-between}.widget-active{position:relative;width:18px;height:18px;background-color:var(--color-primary);border-radius:50%}.widget-active:after{position:absolute;top:5px;left:4px;width:8px;height:3px;box-sizing:content-box;border-bottom:2px solid var(--color-white);border-left:2px solid var(--color-white);content:\"\";opacity:1;transform:rotate(-45deg)}.widget-thumbnail:not(.active) .widget-active{visibility:hidden}.widget-thumbnail.active{background-color:var(--color-#dae0ee)}.widget-thumbnail.active .widget-thumbnail-text{color:var(--color-dark)}.widget-thumbnail.active:hover{background-color:var(--color-#dae0ee)!important;cursor:default}.widget-thumbnail.disabled{cursor:default}::ng-deep .widget-active .ads-icon{width:10px;height:10px}::ng-deep .widget-thumbnail-icons .ads-icon{display:flex;align-items:center;justify-content:center}::ng-deep .widget-thumbnail.active .ads-icon,::ng-deep .widget-thumbnail:hover .ads-icon,::ng-deep .widget-thumbnail:focus .ads-icon{color:var(--color-#dae0ee)!important}\n"], dependencies: [{ kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }] }); }
|
|
73
|
-
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailComponent, decorators: [{
|
|
75
|
-
type: Component,
|
|
76
|
-
args: [{ selector: 'ads-widget-thumbnail', template: "<div\n tabindex=\"0\"\n class=\"widget-thumbnail\"\n [class.active]=\"active\"\n [class.disabled]=\"disabled\"\n [draggable]=\"!disabled\"\n [id]=\"id\"\n (dragstart)=\"onWidgetDrag($event)\"\n (dragend)=\"onWidgetDragEnd($event)\"\n (keyup.enter)=\"onWidgetEnter($event)\"\n (mouseenter)=\"onWidgetHover($event)\"\n (mouseleave)=\"onWidgetLeave()\"\n (focus)=\"onWidgetFocus($event)\"\n (blur)=\"onWidgetBlur()\"\n>\n <ads-icon class=\"widget-thumbnail-drag\" name=\"drag\" size=\"sm\" theme=\"primary\"></ads-icon>\n <div class=\"widget-thumbnail-text\">{{ text }}</div>\n <div class=\"widget-thumbnail-icons\">\n <div class=\"widget-active\"></div>\n <ads-icon [name]=\"icon\" theme=\"primary\" size=\"xs\"></ads-icon>\n </div>\n</div>\n", styles: [".widget-thumbnail{position:relative;display:inline-flex;width:192px;height:116px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:4px;margin:4px;background-color:var(--color-white);cursor:grab;outline:none;border-radius:10px;box-shadow:0 3px 6px #00498729}.widget-thumbnail-text{width:100px;color:var(--color-dark);font-size:13px;font-weight:700;line-height:20px;text-align:center;-webkit-user-select:none;user-select:none}.widget-thumbnail:hover,.widget-thumbnail:focus{width:192px;height:116px;padding-top:8px;margin-top:0;background-color:#dae0ee}.widget-thumbnail:hover .widget-thumbnail-text,.widget-thumbnail:focus .widget-thumbnail-text{color:var(--color-medium)}.widget-thumbnail-icons{display:flex;flex-direction:column;align-items:center;align-self:stretch;justify-content:space-between}.widget-active{position:relative;width:18px;height:18px;background-color:var(--color-primary);border-radius:50%}.widget-active:after{position:absolute;top:5px;left:4px;width:8px;height:3px;box-sizing:content-box;border-bottom:2px solid var(--color-white);border-left:2px solid var(--color-white);content:\"\";opacity:1;transform:rotate(-45deg)}.widget-thumbnail:not(.active) .widget-active{visibility:hidden}.widget-thumbnail.active{background-color:var(--color-#dae0ee)}.widget-thumbnail.active .widget-thumbnail-text{color:var(--color-dark)}.widget-thumbnail.active:hover{background-color:var(--color-#dae0ee)!important;cursor:default}.widget-thumbnail.disabled{cursor:default}::ng-deep .widget-active .ads-icon{width:10px;height:10px}::ng-deep .widget-thumbnail-icons .ads-icon{display:flex;align-items:center;justify-content:center}::ng-deep .widget-thumbnail.active .ads-icon,::ng-deep .widget-thumbnail:hover .ads-icon,::ng-deep .widget-thumbnail:focus .ads-icon{color:var(--color-#dae0ee)!important}\n"] }]
|
|
77
|
-
}], ctorParameters: () => [{ type: i1.AdsIconRegistry }], propDecorators: { active: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], disabled: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], icon: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], id: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], text: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}], widgetAdd: [{
|
|
88
|
-
type: Output
|
|
89
|
-
}], widgetBlur: [{
|
|
90
|
-
type: Output
|
|
91
|
-
}], widgetDrag: [{
|
|
92
|
-
type: Output
|
|
93
|
-
}], widgetFocus: [{
|
|
94
|
-
type: Output
|
|
95
|
-
}], widgetHover: [{
|
|
96
|
-
type: Output
|
|
97
|
-
}], widgetLeave: [{
|
|
98
|
-
type: Output
|
|
99
|
-
}] } });
|
|
100
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXRodW1ibmFpbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvd2lkZ2V0cy93aWRnZXQtdGh1bWJuYWlsL3dpZGdldC10aHVtYm5haWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL3dpZGdldHMvd2lkZ2V0LXRodW1ibmFpbC93aWRnZXQtdGh1bWJuYWlsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQ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CJpY29uXCIgdGhlbWU9XCJwcmltYXJ5XCIgc2l6ZT1cInhzXCI+PC9hZHMtaWNvbj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { AdsIconModule } from '@ascentgl/ads-icons';
|
|
3
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
4
|
-
import { AdsWidgetThumbnailComponent } from './widget-thumbnail.component';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class AdsWidgetThumbnailModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailModule, declarations: [AdsWidgetThumbnailComponent], imports: [CommonModule, AdsIconModule, OverlayModule], exports: [AdsWidgetThumbnailComponent] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailModule, imports: [CommonModule, AdsIconModule, OverlayModule] }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
imports: [CommonModule, AdsIconModule, OverlayModule],
|
|
16
|
-
exports: [AdsWidgetThumbnailComponent],
|
|
17
|
-
declarations: [AdsWidgetThumbnailComponent],
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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bXBvcnQgeyBBZHNJY29uTW9kdWxlIH0gZnJvbSAnQGFzY2VudGdsL2Fkcy1pY29ucyc7XG5pbXBvcnQgeyBPdmVybGF5TW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY2RrL292ZXJsYXknO1xuXG5pbXBvcnQgeyBBZHNXaWRnZXRUaHVtYm5haWxDb21wb25lbnQgfSBmcm9tICcuL3dpZGdldC10aHVtYm5haWwuY29tcG9uZW50JztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEFkc0ljb25Nb2R1bGUsIE92ZXJsYXlNb2R1bGVdLFxuICBleHBvcnRzOiBbQWRzV2lkZ2V0VGh1bWJuYWlsQ29tcG9uZW50XSxcbiAgZGVjbGFyYXRpb25zOiBbQWRzV2lkZ2V0VGh1bWJuYWlsQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQWRzV2lkZ2V0VGh1bWJuYWlsTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNjZW50Z2wtYWRzLXVpLXNyYy1saWItY29tcG9uZW50cy13aWRnZXRzLXdpZGdldC10aHVtYm5haWwtY29udGFpbmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL3dpZGdldHMvd2lkZ2V0LXRodW1ibmFpbC1jb250YWluZXIvYXNjZW50Z2wtYWRzLXVpLXNyYy1saWItY29tcG9uZW50cy13aWRnZXRzLXdpZGdldC10aHVtYm5haWwtY29udGFpbmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './widget-thumbnail-container.component';
|
|
2
|
-
export * from './widget-thumbnail-container.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy93aWRnZXRzL3dpZGdldC10aHVtYm5haWwtY29udGFpbmVyL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLHFDQUFxQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi93aWRnZXQtdGh1bWJuYWlsLWNvbnRhaW5lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi93aWRnZXQtdGh1bWJuYWlsLWNvbnRhaW5lci5tb2R1bGUnO1xuIl19
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/cdk/drag-drop";
|
|
4
|
-
export class AdsWidgetThumbnailContainerComponent {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: AdsWidgetThumbnailContainerComponent, selector: "ads-widget-thumbnail-container", ngImport: i0, template: "<div class=\"widget-thumbnail-container\" cdkDropList cdkDropListOrientation=\"horizontal\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{overflow:auto;max-width:calc(100% - 154px)}.widget-thumbnail-container{padding-top:10px;display:flex;margin-left:4px}\n"], dependencies: [{ kind: "directive", type: i1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }] }); }
|
|
7
|
-
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailContainerComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{ selector: 'ads-widget-thumbnail-container', template: "<div class=\"widget-thumbnail-container\" cdkDropList cdkDropListOrientation=\"horizontal\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{overflow:auto;max-width:calc(100% - 154px)}.widget-thumbnail-container{padding-top:10px;display:flex;margin-left:4px}\n"] }]
|
|
11
|
-
}] });
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXRodW1ibmFpbC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vL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lvbj1cImhvcml6b250YWxcIj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
3
|
-
import { AdsWidgetThumbnailContainerComponent } from './widget-thumbnail-container.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class AdsWidgetThumbnailContainerModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailContainerModule, declarations: [AdsWidgetThumbnailContainerComponent], imports: [DragDropModule], exports: [AdsWidgetThumbnailContainerComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailContainerModule, imports: [DragDropModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetThumbnailContainerModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
imports: [DragDropModule],
|
|
14
|
-
exports: [AdsWidgetThumbnailContainerComponent],
|
|
15
|
-
declarations: [AdsWidgetThumbnailContainerComponent],
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXRodW1ibmFpbC1jb250YWluZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiL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ZXhwb3J0czogW0Fkc1dpZGdldFRodW1ibmFpbENvbnRhaW5lckNvbXBvbmVudF0sXG4gIGRlY2xhcmF0aW9uczogW0Fkc1dpZGdldFRodW1ibmFpbENvbnRhaW5lckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEFkc1dpZGdldFRodW1ibmFpbENvbnRhaW5lck1vZHVsZSB7fVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNjZW50Z2wtYWRzLXVpLXNyYy1saWItY29tcG9uZW50cy13aWRnZXRzLXdpZGdldC10aXRsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy93aWRnZXRzL3dpZGdldC10aXRsZS9hc2NlbnRnbC1hZHMtdWktc3JjLWxpYi1jb21wb25lbnRzLXdpZGdldHMtd2lkZ2V0LXRpdGxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './widget-title.component';
|
|
2
|
-
export * from './widget-title.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy93aWRnZXRzL3dpZGdldC10aXRsZS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vd2lkZ2V0LXRpdGxlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3dpZGdldC10aXRsZS5tb2R1bGUnO1xuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class WidgetTitleComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
/**
|
|
7
|
-
* The color of the title text
|
|
8
|
-
*/
|
|
9
|
-
this.color = 'medium';
|
|
10
|
-
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: WidgetTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: WidgetTitleComponent, selector: "ads-widget-title", inputs: { title: "title", color: "color" }, ngImport: i0, template: "<div class=\"text-card-sub-title\" [ngClass]=\"color\">{{ title }}</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: WidgetTitleComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{ selector: 'ads-widget-title', template: "<div class=\"text-card-sub-title\" [ngClass]=\"color\">{{ title }}</div>\n" }]
|
|
17
|
-
}], propDecorators: { title: [{
|
|
18
|
-
type: Input
|
|
19
|
-
}], color: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}] } });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXRpdGxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy93aWRnZXRzL3dpZGdldC10aXRsZS93aWRnZXQtdGl0bGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL3dpZGdldHMvd2lkZ2V0LXRpdGxlL3dpZGdldC10aXRsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBTWpELE1BQU0sT0FBTyxvQkFBb0I7SUFKakM7UUFVRTs7V0FFRztRQUNNLFVBQUssR0FBdUMsUUFBUSxDQUFDO0tBQy9EOzhHQVZZLG9CQUFvQjtrR0FBcEIsb0JBQW9CLG9HQ05qQyw0RUFDQTs7MkZES2Esb0JBQW9CO2tCQUpoQyxTQUFTOytCQUNFLGtCQUFrQjs4QkFPbkIsS0FBSztzQkFBYixLQUFLO2dCQUtHLEtBQUs7c0JBQWIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYWRzLXdpZGdldC10aXRsZScsXG4gIHRlbXBsYXRlVXJsOiAnLi93aWRnZXQtdGl0bGUuY29tcG9uZW50Lmh0bWwnLFxufSlcbmV4cG9ydCBjbGFzcyBXaWRnZXRUaXRsZUNvbXBvbmVudCB7XG4gIC8qKlxuICAgKiBUaGUgdGl0bGUgdGV4dCB0byBkaXNwbGF5XG4gICAqL1xuICBASW5wdXQoKSB0aXRsZSE6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIGNvbG9yIG9mIHRoZSB0aXRsZSB0ZXh0XG4gICAqL1xuICBASW5wdXQoKSBjb2xvcjogJ21lZGl1bScgfCAncHJpbWFyeScgfCAnc2Vjb25kYXJ5JyA9ICdtZWRpdW0nO1xufVxuIiwiPGRpdiBjbGFzcz1cInRleHQtY2FyZC1zdWItdGl0bGVcIiBbbmdDbGFzc109XCJjb2xvclwiPnt7IHRpdGxlIH19PC9kaXY+XG4iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { WidgetTitleComponent } from './widget-title.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class AdsWidgetTitleModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetTitleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetTitleModule, declarations: [WidgetTitleComponent], imports: [CommonModule], exports: [WidgetTitleComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetTitleModule, imports: [CommonModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetTitleModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
imports: [CommonModule],
|
|
14
|
-
exports: [WidgetTitleComponent],
|
|
15
|
-
declarations: [WidgetTitleComponent],
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXRpdGxlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy93aWRnZXRzL3dpZGdldC10aXRsZS93aWRnZXQtdGl0bGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQU9oRSxNQUFNLE9BQU8sb0JBQW9COzhHQUFwQixvQkFBb0I7K0dBQXBCLG9CQUFvQixpQkFGaEIsb0JBQW9CLGFBRnpCLFlBQVksYUFDWixvQkFBb0I7K0dBR25CLG9CQUFvQixZQUpyQixZQUFZOzsyRkFJWCxvQkFBb0I7a0JBTGhDLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixPQUFPLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQztvQkFDL0IsWUFBWSxFQUFFLENBQUMsb0JBQW9CLENBQUM7aUJBQ3JDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IFdpZGdldFRpdGxlQ29tcG9uZW50IH0gZnJvbSAnLi93aWRnZXQtdGl0bGUuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtXaWRnZXRUaXRsZUNvbXBvbmVudF0sXG4gIGRlY2xhcmF0aW9uczogW1dpZGdldFRpdGxlQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQWRzV2lkZ2V0VGl0bGVNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, NgModule } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class AdsCardComponent {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: AdsCardComponent, selector: "ads-card", ngImport: i0, template: "<div class=\"card\"><ng-content></ng-content></div>\n<div class=\"drop-zone\"></div>\n", styles: [".card{padding:24px;border:1px solid var(--color-light);border-radius:10px;color:var(--color-dark)}\n"] }); }
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsCardComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'ads-card', template: "<div class=\"card\"><ng-content></ng-content></div>\n<div class=\"drop-zone\"></div>\n", styles: [".card{padding:24px;border:1px solid var(--color-light);border-radius:10px;color:var(--color-dark)}\n"] }]
|
|
12
|
-
}] });
|
|
13
|
-
|
|
14
|
-
class AdsCardModule {
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsCardModule, declarations: [AdsCardComponent], imports: [CommonModule], exports: [AdsCardComponent] }); }
|
|
17
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsCardModule, imports: [CommonModule] }); }
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsCardModule, decorators: [{
|
|
20
|
-
type: NgModule,
|
|
21
|
-
args: [{
|
|
22
|
-
imports: [CommonModule],
|
|
23
|
-
exports: [AdsCardComponent],
|
|
24
|
-
declarations: [AdsCardComponent],
|
|
25
|
-
}]
|
|
26
|
-
}] });
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Generated bundle index. Do not edit.
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
export { AdsCardComponent, AdsCardModule };
|
|
33
|
-
//# sourceMappingURL=ascentgl-ads-ui-src-lib-components-card.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ascentgl-ads-ui-src-lib-components-card.mjs","sources":["../../../../libs/ads-ui/src/lib/components/card/card.component.ts","../../../../libs/ads-ui/src/lib/components/card/card.component.html","../../../../libs/ads-ui/src/lib/components/card/card.module.ts","../../../../libs/ads-ui/src/lib/components/card/ascentgl-ads-ui-src-lib-components-card.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ads-card',\n styleUrls: ['card.component.scss'],\n templateUrl: 'card.component.html',\n})\nexport class AdsCardComponent {}\n","<div class=\"card\"><ng-content></ng-content></div>\n<div class=\"drop-zone\"></div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AdsCardComponent } from './card.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [AdsCardComponent],\n declarations: [AdsCardComponent],\n})\nexport class AdsCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,gDCP7B,wFAEA,EAAA,MAAA,EAAA,CAAA,sGAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDKa,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,SAAS;+BACE,UAAU,EAAA,QAAA,EAAA,wFAAA,EAAA,MAAA,EAAA,CAAA,sGAAA,CAAA,EAAA,CAAA;;;MEOT,aAAa,CAAA;8GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAFT,YAAA,EAAA,CAAA,gBAAgB,CAFrB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJd,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,gBAAgB,CAAC;oBAC3B,YAAY,EAAE,CAAC,gBAAgB,CAAC;AACjC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
|
|
6
|
-
class AdsOrgDisplayTextComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
/**
|
|
9
|
-
* Whether the viewport is mobile
|
|
10
|
-
*/
|
|
11
|
-
this.isMobile = false;
|
|
12
|
-
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsOrgDisplayTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: AdsOrgDisplayTextComponent, selector: "ads-org-display-text", inputs: { text: "text", isMobile: "isMobile" }, ngImport: i0, template: "<span *ngIf=\"!isMobile\" class=\"org-display-text\">{{ text }}</span>\n", styles: [".org-display-text{padding:0 24px;color:var(--color-primary);font-size:14px;font-weight:500;white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsOrgDisplayTextComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{ selector: 'ads-org-display-text', template: "<span *ngIf=\"!isMobile\" class=\"org-display-text\">{{ text }}</span>\n", styles: [".org-display-text{padding:0 24px;color:var(--color-primary);font-size:14px;font-weight:500;white-space:nowrap}\n"] }]
|
|
19
|
-
}], propDecorators: { text: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}], isMobile: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|
|
24
|
-
|
|
25
|
-
class AdsOrgDisplayTextModule {
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsOrgDisplayTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
27
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsOrgDisplayTextModule, declarations: [AdsOrgDisplayTextComponent], imports: [CommonModule], exports: [AdsOrgDisplayTextComponent] }); }
|
|
28
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsOrgDisplayTextModule, imports: [CommonModule] }); }
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsOrgDisplayTextModule, decorators: [{
|
|
31
|
-
type: NgModule,
|
|
32
|
-
args: [{
|
|
33
|
-
imports: [CommonModule],
|
|
34
|
-
exports: [AdsOrgDisplayTextComponent],
|
|
35
|
-
declarations: [AdsOrgDisplayTextComponent],
|
|
36
|
-
}]
|
|
37
|
-
}] });
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Generated bundle index. Do not edit.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
export { AdsOrgDisplayTextComponent, AdsOrgDisplayTextModule };
|
|
44
|
-
//# sourceMappingURL=ascentgl-ads-ui-src-lib-components-header-org-display-text.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ascentgl-ads-ui-src-lib-components-header-org-display-text.mjs","sources":["../../../../libs/ads-ui/src/lib/components/header/org-display-text/org-display-text.component.ts","../../../../libs/ads-ui/src/lib/components/header/org-display-text/org-display-text.component.html","../../../../libs/ads-ui/src/lib/components/header/org-display-text/org-display-text.module.ts","../../../../libs/ads-ui/src/lib/components/header/org-display-text/ascentgl-ads-ui-src-lib-components-header-org-display-text.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'ads-org-display-text',\n styleUrls: ['org-display-text.component.scss'],\n templateUrl: 'org-display-text.component.html',\n})\nexport class AdsOrgDisplayTextComponent {\n /**\n * Organization text to display\n */\n @Input() text!: string;\n\n /**\n * Whether the viewport is mobile\n */\n @Input() isMobile = false;\n}\n","<span *ngIf=\"!isMobile\" class=\"org-display-text\">{{ text }}</span>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AdsOrgDisplayTextComponent } from './org-display-text.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [AdsOrgDisplayTextComponent],\n declarations: [AdsOrgDisplayTextComponent],\n})\nexport class AdsOrgDisplayTextModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAOa,0BAA0B,CAAA;AALvC,IAAA,WAAA,GAAA;AAWE;;AAEG;QACM,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAC3B,KAAA;8GAVY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,E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EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,0BAA0B,CAAC;oBACrC,YAAY,EAAE,CAAC,0BAA0B,CAAC;AAC3C,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, NgModule } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class AdsPaginationContainerComponent {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: AdsPaginationContainerComponent, selector: "ads-pagination-container", ngImport: i0, template: "<div class=\"pagination-container\">\n <ng-content></ng-content>\n</div>\n", styles: [".pagination-container{display:flex;flex-direction:row-reverse;padding:24px 0}\n"] }); }
|
|
7
|
-
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationContainerComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{ selector: 'ads-pagination-container', template: "<div class=\"pagination-container\">\n <ng-content></ng-content>\n</div>\n", styles: [".pagination-container{display:flex;flex-direction:row-reverse;padding:24px 0}\n"] }]
|
|
11
|
-
}] });
|
|
12
|
-
|
|
13
|
-
class AdsPaginationContainerModule {
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationContainerModule, declarations: [AdsPaginationContainerComponent], exports: [AdsPaginationContainerComponent] }); }
|
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationContainerModule }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationContainerModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
declarations: [AdsPaginationContainerComponent],
|
|
22
|
-
exports: [AdsPaginationContainerComponent],
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Generated bundle index. Do not edit.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
export { AdsPaginationContainerComponent, AdsPaginationContainerModule };
|
|
31
|
-
//# sourceMappingURL=ascentgl-ads-ui-src-lib-components-pagination-container.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ascentgl-ads-ui-src-lib-components-pagination-container.mjs","sources":["../../../../libs/ads-ui/src/lib/components/pagination/container/pagination-container.component.ts","../../../../libs/ads-ui/src/lib/components/pagination/container/pagination-container.component.html","../../../../libs/ads-ui/src/lib/components/pagination/container/pagination-container.module.ts","../../../../libs/ads-ui/src/lib/components/pagination/container/ascentgl-ads-ui-src-lib-components-pagination-container.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ads-pagination-container',\n styleUrls: ['pagination-container.component.scss'],\n templateUrl: 'pagination-container.component.html',\n})\nexport class AdsPaginationContainerComponent {}\n","<div class=\"pagination-container\">\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\n\nimport { AdsPaginationContainerComponent } from './pagination-container.component';\n\n@NgModule({\n declarations: [AdsPaginationContainerComponent],\n exports: [AdsPaginationContainerComponent],\n})\nexport class AdsPaginationContainerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,+BAA+B,CAAA;8GAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,gECP5C,6EAGA,EAAA,MAAA,EAAA,CAAA,iFAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDIa,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,SAAS;+BACE,0BAA0B,EAAA,QAAA,EAAA,6EAAA,EAAA,MAAA,EAAA,CAAA,iFAAA,CAAA,EAAA,CAAA;;;MEKzB,4BAA4B,CAAA;8GAA5B,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAA5B,4BAA4B,EAAA,YAAA,EAAA,CAHxB,+BAA+B,CAAA,EAAA,OAAA,EAAA,CACpC,+BAA+B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAE9B,4BAA4B,EAAA,CAAA,CAAA,EAAA;;2FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAJxC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,+BAA+B,CAAC;oBAC/C,OAAO,EAAE,CAAC,+BAA+B,CAAC;AAC3C,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@ascentgl/ads-icons';
|
|
4
|
-
import { AdsIconModule } from '@ascentgl/ads-icons';
|
|
5
|
-
import { adsIconChevronLeft, adsIconChevronRight, adsIconMenuMoreInfo } from '@ascentgl/ads-icons/icons';
|
|
6
|
-
import * as i2 from '@angular/common';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
|
|
9
|
-
class AdsPaginationComponent {
|
|
10
|
-
constructor(registry) {
|
|
11
|
-
this.registry = registry;
|
|
12
|
-
/**
|
|
13
|
-
* Event emitted when a page button is clicked
|
|
14
|
-
*/
|
|
15
|
-
this.goToPage = new EventEmitter();
|
|
16
|
-
/**
|
|
17
|
-
* Event emitted when the next page button is clicked
|
|
18
|
-
*/
|
|
19
|
-
this.goToNextPage = new EventEmitter();
|
|
20
|
-
/**
|
|
21
|
-
* Event emitted when the previous page button is clicked
|
|
22
|
-
*/
|
|
23
|
-
this.goToPreviousPage = new EventEmitter();
|
|
24
|
-
/** @ignore */
|
|
25
|
-
this.pages = [];
|
|
26
|
-
this.registry.register([adsIconChevronLeft, adsIconChevronRight, adsIconMenuMoreInfo]);
|
|
27
|
-
}
|
|
28
|
-
/** @ignore */
|
|
29
|
-
ngOnChanges(changes) {
|
|
30
|
-
if ((changes.currentPage && changes.currentPage.currentValue) ||
|
|
31
|
-
(changes.totalPages && changes.totalPages.currentValue)) {
|
|
32
|
-
this.pages = this.getPagesToDisplay();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
/** @ignore */
|
|
36
|
-
onGoToPage(page) {
|
|
37
|
-
this.goToPage.emit(page);
|
|
38
|
-
}
|
|
39
|
-
/** @ignore */
|
|
40
|
-
onGoToNextPage() {
|
|
41
|
-
this.goToNextPage.emit();
|
|
42
|
-
}
|
|
43
|
-
/** @ignore */
|
|
44
|
-
onGoToPreviousPage() {
|
|
45
|
-
this.goToPreviousPage.emit();
|
|
46
|
-
}
|
|
47
|
-
/** @ignore */
|
|
48
|
-
getPagesToDisplay() {
|
|
49
|
-
if (this.totalPages <= 7) {
|
|
50
|
-
return [...Array(this.totalPages).keys()].map((x) => ++x);
|
|
51
|
-
}
|
|
52
|
-
if (this.currentPage > 5) {
|
|
53
|
-
if (this.currentPage >= this.totalPages - 4) {
|
|
54
|
-
return [
|
|
55
|
-
1,
|
|
56
|
-
-1,
|
|
57
|
-
this.totalPages - 4,
|
|
58
|
-
this.totalPages - 3,
|
|
59
|
-
this.totalPages - 2,
|
|
60
|
-
this.totalPages - 1,
|
|
61
|
-
this.totalPages,
|
|
62
|
-
];
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
return [1, -1, this.currentPage - 1, this.currentPage, this.currentPage + 1, -1, this.totalPages];
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return [1, 2, 3, 4, 5, -1, this.totalPages];
|
|
69
|
-
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationComponent, deps: [{ token: i1.AdsIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
71
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: AdsPaginationComponent, selector: "ads-pagination", inputs: { totalPages: "totalPages", currentPage: "currentPage" }, outputs: { goToPage: "goToPage", goToNextPage: "goToNextPage", goToPreviousPage: "goToPreviousPage" }, usesOnChanges: true, ngImport: i0, template: "<nav aria-label=\"Pagination\">\n <ul>\n <li>\n <button\n aria-label=\"Go To Previous Page\"\n [attr.aria-disabled]=\"currentPage === 1\"\n [disabled]=\"currentPage === 1\"\n id=\"paginationPrevious\"\n (click)=\"onGoToPreviousPage()\"\n >\n <ads-icon name=\"chevron_left\" size=\"xs\" theme=\"primary\"></ads-icon>\n </button>\n </li>\n <li *ngFor=\"let page of pages\">\n <a\n *ngIf=\"page !== -1; else more\"\n class=\"internal\"\n role=\"button\"\n [attr.aria-current]=\"page === currentPage\"\n [attr.aria-label]=\"page === currentPage ? 'Current Page, Page ' + page : 'Go to Page ' + page\"\n [class.current]=\"page === currentPage\"\n [id]=\"'paginationPage' + page\"\n tabindex=\"0\"\n (click)=\"onGoToPage(page)\"\n (keyup.enter)=\"onGoToPage(page)\"\n >{{ page }}</a\n >\n <ng-template #more>\n <a class=\"more\">\n <ads-icon name=\"menu_more_info\" size=\"xs\" theme=\"primary\"></ads-icon>\n </a>\n </ng-template>\n </li>\n <li>\n <button\n aria-label=\"Go To Next Page\"\n [attr.aria-disabled]=\"currentPage === totalPages\"\n [disabled]=\"currentPage === totalPages\"\n id=\"paginationNext\"\n (click)=\"onGoToNextPage()\"\n >\n <ads-icon name=\"chevron_right\" size=\"xs\" theme=\"primary\"></ads-icon>\n </button>\n </li>\n </ul>\n</nav>\n", styles: ["nav{display:flex;max-height:30px;align-items:center}ul{display:flex;max-height:30px;justify-content:flex-end;padding:0;margin:0;list-style:none}li{display:flex;min-width:30px;flex-direction:column;align-items:center;justify-content:center;margin:0 4px;-webkit-user-select:none;user-select:none}a{display:grid;width:100%;cursor:pointer;place-items:center}a.more{padding-top:4px}a.more .ads-icon{padding-left:4px;transform:rotate(90deg)}a.more:hover,a:focus,a.current{cursor:default;text-decoration:none}a.current,a:focus,a:not(.more):hover{background-color:var(--color-light-30);border-radius:5px;outline:none}button{display:grid;height:30px;border:none;background-color:transparent;cursor:pointer;place-items:center}button[disabled]{cursor:default}button[disabled] .ads-icon{color:var(--color-light)!important}button:not([disabled]):hover,button:not([disabled]):focus{background-color:var(--color-light-30);border-radius:5px;cursor:pointer;outline:none}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }] }); }
|
|
72
|
-
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationComponent, decorators: [{
|
|
74
|
-
type: Component,
|
|
75
|
-
args: [{ selector: 'ads-pagination', template: "<nav aria-label=\"Pagination\">\n <ul>\n <li>\n <button\n aria-label=\"Go To Previous Page\"\n [attr.aria-disabled]=\"currentPage === 1\"\n [disabled]=\"currentPage === 1\"\n id=\"paginationPrevious\"\n (click)=\"onGoToPreviousPage()\"\n >\n <ads-icon name=\"chevron_left\" size=\"xs\" theme=\"primary\"></ads-icon>\n </button>\n </li>\n <li *ngFor=\"let page of pages\">\n <a\n *ngIf=\"page !== -1; else more\"\n class=\"internal\"\n role=\"button\"\n [attr.aria-current]=\"page === currentPage\"\n [attr.aria-label]=\"page === currentPage ? 'Current Page, Page ' + page : 'Go to Page ' + page\"\n [class.current]=\"page === currentPage\"\n [id]=\"'paginationPage' + page\"\n tabindex=\"0\"\n (click)=\"onGoToPage(page)\"\n (keyup.enter)=\"onGoToPage(page)\"\n >{{ page }}</a\n >\n <ng-template #more>\n <a class=\"more\">\n <ads-icon name=\"menu_more_info\" size=\"xs\" theme=\"primary\"></ads-icon>\n </a>\n </ng-template>\n </li>\n <li>\n <button\n aria-label=\"Go To Next Page\"\n [attr.aria-disabled]=\"currentPage === totalPages\"\n [disabled]=\"currentPage === totalPages\"\n id=\"paginationNext\"\n (click)=\"onGoToNextPage()\"\n >\n <ads-icon name=\"chevron_right\" size=\"xs\" theme=\"primary\"></ads-icon>\n </button>\n </li>\n </ul>\n</nav>\n", styles: ["nav{display:flex;max-height:30px;align-items:center}ul{display:flex;max-height:30px;justify-content:flex-end;padding:0;margin:0;list-style:none}li{display:flex;min-width:30px;flex-direction:column;align-items:center;justify-content:center;margin:0 4px;-webkit-user-select:none;user-select:none}a{display:grid;width:100%;cursor:pointer;place-items:center}a.more{padding-top:4px}a.more .ads-icon{padding-left:4px;transform:rotate(90deg)}a.more:hover,a:focus,a.current{cursor:default;text-decoration:none}a.current,a:focus,a:not(.more):hover{background-color:var(--color-light-30);border-radius:5px;outline:none}button{display:grid;height:30px;border:none;background-color:transparent;cursor:pointer;place-items:center}button[disabled]{cursor:default}button[disabled] .ads-icon{color:var(--color-light)!important}button:not([disabled]):hover,button:not([disabled]):focus{background-color:var(--color-light-30);border-radius:5px;cursor:pointer;outline:none}\n"] }]
|
|
76
|
-
}], ctorParameters: () => [{ type: i1.AdsIconRegistry }], propDecorators: { totalPages: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], currentPage: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], goToPage: [{
|
|
81
|
-
type: Output
|
|
82
|
-
}], goToNextPage: [{
|
|
83
|
-
type: Output
|
|
84
|
-
}], goToPreviousPage: [{
|
|
85
|
-
type: Output
|
|
86
|
-
}] } });
|
|
87
|
-
|
|
88
|
-
class AdsPaginationModule {
|
|
89
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
90
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationModule, declarations: [AdsPaginationComponent], imports: [CommonModule, AdsIconModule], exports: [AdsPaginationComponent] }); }
|
|
91
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationModule, imports: [CommonModule, AdsIconModule] }); }
|
|
92
|
-
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPaginationModule, decorators: [{
|
|
94
|
-
type: NgModule,
|
|
95
|
-
args: [{
|
|
96
|
-
imports: [CommonModule, AdsIconModule],
|
|
97
|
-
declarations: [AdsPaginationComponent],
|
|
98
|
-
exports: [AdsPaginationComponent],
|
|
99
|
-
}]
|
|
100
|
-
}] });
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Generated bundle index. Do not edit.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
|
-
export { AdsPaginationComponent, AdsPaginationModule };
|
|
107
|
-
//# sourceMappingURL=ascentgl-ads-ui-src-lib-components-pagination.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ascentgl-ads-ui-src-lib-components-pagination.mjs","sources":["../../../../libs/ads-ui/src/lib/components/pagination/pagination.component.ts","../../../../libs/ads-ui/src/lib/components/pagination/pagination.component.html","../../../../libs/ads-ui/src/lib/components/pagination/pagination.module.ts","../../../../libs/ads-ui/src/lib/components/pagination/ascentgl-ads-ui-src-lib-components-pagination.ts"],"sourcesContent":["import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\nimport { AdsIconRegistry } from '@ascentgl/ads-icons';\nimport { adsIconChevronLeft, adsIconChevronRight, adsIconMenuMoreInfo } from '@ascentgl/ads-icons/icons';\n\n@Component({\n selector: 'ads-pagination',\n templateUrl: './pagination.component.html',\n styleUrls: ['./pagination.component.scss'],\n})\nexport class AdsPaginationComponent implements OnChanges {\n constructor(private registry: AdsIconRegistry) {\n this.registry.register([adsIconChevronLeft, adsIconChevronRight, adsIconMenuMoreInfo]);\n }\n\n /**\n * The total number of pages\n */\n @Input() totalPages!: number;\n\n /**\n * The current page\n */\n @Input() currentPage!: number;\n\n /**\n * Event emitted when a page button is clicked\n */\n @Output() goToPage: EventEmitter<number> = new EventEmitter<number>();\n\n /**\n * Event emitted when the next page button is clicked\n */\n @Output() goToNextPage: EventEmitter<null> = new EventEmitter<null>();\n\n /**\n * Event emitted when the previous page button is clicked\n */\n @Output() goToPreviousPage: EventEmitter<null> = new EventEmitter<null>();\n\n /** @ignore */\n public pages: number[] = [];\n\n /** @ignore */\n ngOnChanges(changes: SimpleChanges): void {\n if (\n (changes.currentPage && changes.currentPage.currentValue) ||\n (changes.totalPages && changes.totalPages.currentValue)\n ) {\n this.pages = this.getPagesToDisplay();\n }\n }\n\n /** @ignore */\n public onGoToPage(page: number): void {\n this.goToPage.emit(page);\n }\n\n /** @ignore */\n public onGoToNextPage(): void {\n this.goToNextPage.emit();\n }\n\n /** @ignore */\n public onGoToPreviousPage(): void {\n this.goToPreviousPage.emit();\n }\n\n /** @ignore */\n private getPagesToDisplay(): number[] {\n if (this.totalPages <= 7) {\n return [...Array(this.totalPages).keys()].map((x) => ++x);\n }\n\n if (this.currentPage > 5) {\n if (this.currentPage >= this.totalPages - 4) {\n return [\n 1,\n -1,\n this.totalPages - 4,\n this.totalPages - 3,\n this.totalPages - 2,\n this.totalPages - 1,\n this.totalPages,\n ];\n } else {\n return [1, -1, this.currentPage - 1, this.currentPage, this.currentPage + 1, -1, this.totalPages];\n }\n }\n\n return [1, 2, 3, 4, 5, -1, this.totalPages];\n }\n}\n","<nav aria-label=\"Pagination\">\n <ul>\n <li>\n <button\n aria-label=\"Go To Previous Page\"\n [attr.aria-disabled]=\"currentPage === 1\"\n [disabled]=\"currentPage === 1\"\n id=\"paginationPrevious\"\n (click)=\"onGoToPreviousPage()\"\n >\n <ads-icon name=\"chevron_left\" size=\"xs\" theme=\"primary\"></ads-icon>\n </button>\n </li>\n <li *ngFor=\"let page of pages\">\n <a\n *ngIf=\"page !== -1; else more\"\n class=\"internal\"\n role=\"button\"\n [attr.aria-current]=\"page === currentPage\"\n [attr.aria-label]=\"page === currentPage ? 'Current Page, Page ' + page : 'Go to Page ' + page\"\n [class.current]=\"page === currentPage\"\n [id]=\"'paginationPage' + page\"\n tabindex=\"0\"\n (click)=\"onGoToPage(page)\"\n (keyup.enter)=\"onGoToPage(page)\"\n >{{ page }}</a\n >\n <ng-template #more>\n <a class=\"more\">\n <ads-icon name=\"menu_more_info\" size=\"xs\" theme=\"primary\"></ads-icon>\n </a>\n </ng-template>\n </li>\n <li>\n <button\n aria-label=\"Go To Next Page\"\n [attr.aria-disabled]=\"currentPage === totalPages\"\n [disabled]=\"currentPage === totalPages\"\n id=\"paginationNext\"\n (click)=\"onGoToNextPage()\"\n >\n <ads-icon name=\"chevron_right\" size=\"xs\" theme=\"primary\"></ads-icon>\n </button>\n </li>\n </ul>\n</nav>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AdsPaginationComponent } from './pagination.component';\nimport { AdsIconModule } from '@ascentgl/ads-icons';\n\n@NgModule({\n imports: [CommonModule, AdsIconModule],\n declarations: [AdsPaginationComponent],\n exports: [AdsPaginationComponent],\n})\nexport class AdsPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MASa,sBAAsB,CAAA;AACjC,IAAA,WAAA,CAAoB,QAAyB,EAAA;QAAzB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAiB;AAc7C;;AAEG;AACO,QAAA,IAAA,CAAA,QAAQ,GAAyB,IAAI,YAAY,EAAU,CAAC;AAEtE;;AAEG;AACO,QAAA,IAAA,CAAA,YAAY,GAAuB,IAAI,YAAY,EAAQ,CAAC;AAEtE;;AAEG;AACO,QAAA,IAAA,CAAA,gBAAgB,GAAuB,IAAI,YAAY,EAAQ,CAAC;;QAGnE,IAAK,CAAA,KAAA,GAAa,EAAE,CAAC;AA7B1B,QAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,mBAAmB,CAAC,CAAC,CAAC;KACxF;;AA+BD,IAAA,WAAW,CAAC,OAAsB,EAAA;QAChC,IACE,CAAC,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,YAAY;aACvD,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,EACvD;AACA,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;SACvC;KACF;;AAGM,IAAA,UAAU,CAAC,IAAY,EAAA;AAC5B,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC1B;;IAGM,cAAc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AA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,iBAHf,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAD3B,YAAY,EAAE,aAAa,aAE3B,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAErB,mBAAmB,EAAA,OAAA,EAAA,CAJpB,YAAY,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAI1B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, NgModule } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class AdsWidgetActionsComponent {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: AdsWidgetActionsComponent, selector: "ads-widget-actions", ngImport: i0, template: "<div class=\"widget-actions\">\n <ng-content></ng-content>\n</div>\n", styles: [".widget-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 24px}\n"] }); }
|
|
7
|
-
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetActionsComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{ selector: 'ads-widget-actions', template: "<div class=\"widget-actions\">\n <ng-content></ng-content>\n</div>\n", styles: [".widget-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 24px}\n"] }]
|
|
11
|
-
}] });
|
|
12
|
-
|
|
13
|
-
class AdsWidgetActionsModule {
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetActionsModule, declarations: [AdsWidgetActionsComponent], exports: [AdsWidgetActionsComponent] }); }
|
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetActionsModule }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsWidgetActionsModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
exports: [AdsWidgetActionsComponent],
|
|
22
|
-
declarations: [AdsWidgetActionsComponent],
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Generated bundle index. Do not edit.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
export { AdsWidgetActionsComponent, AdsWidgetActionsModule };
|
|
31
|
-
//# sourceMappingURL=ascentgl-ads-ui-src-lib-components-widgets-widget-actions.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ascentgl-ads-ui-src-lib-components-widgets-widget-actions.mjs","sources":["../../../../libs/ads-ui/src/lib/components/widgets/widget-actions/widget-actions.component.ts","../../../../libs/ads-ui/src/lib/components/widgets/widget-actions/widget-actions.component.html","../../../../libs/ads-ui/src/lib/components/widgets/widget-actions/widget-actions.module.ts","../../../../libs/ads-ui/src/lib/components/widgets/widget-actions/ascentgl-ads-ui-src-lib-components-widgets-widget-actions.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ads-widget-actions',\n styleUrls: ['widget-actions.component.scss'],\n templateUrl: 'widget-actions.component.html',\n})\nexport class AdsWidgetActionsComponent {}\n","<div class=\"widget-actions\">\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\n\nimport { AdsWidgetActionsComponent } from './widget-actions.component';\n\n@NgModule({\n exports: [AdsWidgetActionsComponent],\n declarations: [AdsWidgetActionsComponent],\n})\nexport class AdsWidgetActionsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,yBAAyB,CAAA;8GAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,0DCPtC,uEAGA,EAAA,MAAA,EAAA,CAAA,gHAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDIa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBALrC,SAAS;+BACE,oBAAoB,EAAA,QAAA,EAAA,uEAAA,EAAA,MAAA,EAAA,CAAA,gHAAA,CAAA,EAAA,CAAA;;;MEKnB,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAtB,sBAAsB,EAAA,YAAA,EAAA,CAFlB,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAD9B,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAGxB,sBAAsB,EAAA,CAAA,CAAA,EAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,yBAAyB,CAAC;oBACpC,YAAY,EAAE,CAAC,yBAAyB,CAAC;AAC1C,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|