@ng-atomic/components 5.4.2 → 5.6.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/atoms/chips-input/chips-input.atom.d.ts +2 -2
- package/atoms/chips-input/index.d.ts +1 -2
- package/atoms/icon/icon.atom.d.ts +1 -1
- package/atoms/icon/index.d.ts +1 -2
- package/atoms/smart-menu-button/index.d.ts +1 -2
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -1
- package/esm2020/atoms/chips-input/chips-input.atom.mjs +52 -6
- package/esm2020/atoms/chips-input/index.mjs +2 -3
- package/esm2020/atoms/icon/icon.atom.mjs +8 -4
- package/esm2020/atoms/icon/index.mjs +2 -3
- package/esm2020/atoms/smart-menu-button/index.mjs +2 -3
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +12 -3
- package/esm2020/extras/editor/editor.component.mjs +41 -0
- package/esm2020/extras/editor/index.mjs +2 -0
- package/esm2020/extras/editor/ng-atomic-components-extras-editor.mjs +5 -0
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +6 -3
- package/esm2020/frames/auto-layout/index.mjs +1 -2
- package/esm2020/frames/card/card.frame.mjs +9 -4
- package/esm2020/frames/card/index.mjs +1 -2
- package/esm2020/frames/drawer/drawer.frame.mjs +8 -4
- package/esm2020/frames/drawer/index.mjs +2 -3
- package/esm2020/frames/fab/fab.frame.mjs +56 -0
- package/esm2020/frames/fab/fab.service.mjs +26 -0
- package/esm2020/frames/fab/index.mjs +3 -0
- package/esm2020/frames/fab/ng-atomic-components-frames-fab.mjs +5 -0
- package/esm2020/frames/line-up/line-up.frame.mjs +17 -5
- package/esm2020/frames/loading/index.mjs +2 -0
- package/esm2020/frames/loading/loading.frame.mjs +29 -0
- package/esm2020/frames/loading/ng-atomic-components-frames-loading.mjs +5 -0
- package/esm2020/frames/overlay/index.mjs +1 -2
- package/esm2020/frames/overlay/overlay.frame.mjs +8 -3
- package/esm2020/frames/scroll/index.mjs +1 -2
- package/esm2020/frames/scroll/scroll.frame.mjs +8 -3
- package/esm2020/frames/smart-menu/index.mjs +1 -2
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +6 -3
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +16 -4
- package/esm2020/molecules/actions-column/index.mjs +1 -2
- package/esm2020/molecules/checkbox-column/checkbox-column.molecule.mjs +16 -5
- package/esm2020/molecules/checkbox-column/index.mjs +1 -2
- package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +22 -7
- package/esm2020/molecules/chips-input-field/index.mjs +1 -2
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +16 -6
- package/esm2020/molecules/date-input-field/index.mjs +2 -3
- package/esm2020/molecules/header/header.molecule.mjs +6 -3
- package/esm2020/molecules/header/index.mjs +2 -3
- package/esm2020/molecules/navigation-list-item/index.mjs +2 -3
- package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +32 -7
- package/esm2020/molecules/select-input-field/index.mjs +1 -2
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +13 -4
- package/esm2020/molecules/smart-column/index.mjs +1 -2
- package/esm2020/molecules/smart-column/smart-column.molecule.mjs +24 -9
- package/esm2020/molecules/text-input-field/index.mjs +2 -3
- package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +14 -5
- package/esm2020/molecules/textarea-field/index.mjs +1 -2
- package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +10 -4
- package/esm2020/molecules/tree-column/index.mjs +2 -0
- package/esm2020/molecules/tree-column/ng-atomic-components-molecules-tree-column.mjs +5 -0
- package/esm2020/molecules/tree-column/tree-column.molecule.mjs +128 -0
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +9 -4
- package/esm2020/organisms/action-buttons-section/index.mjs +1 -2
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +15 -5
- package/esm2020/organisms/back-navigator/index.mjs +1 -2
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +8 -4
- package/esm2020/organisms/card-input-section/index.mjs +2 -3
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +10 -5
- package/esm2020/organisms/cvc-and-exp-input-section/index.mjs +2 -3
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +8 -4
- package/esm2020/organisms/date-input-section/index.mjs +1 -2
- package/esm2020/organisms/filters-section/filters-section.organism.mjs +129 -0
- package/esm2020/organisms/filters-section/index.mjs +2 -0
- package/esm2020/organisms/filters-section/ng-atomic-components-organisms-filters-section.mjs +5 -0
- package/esm2020/organisms/graphql-editor/graphql-editor.organism.mjs +115 -0
- package/esm2020/organisms/graphql-editor/index.mjs +2 -0
- package/esm2020/organisms/graphql-editor/ng-atomic-components-organisms-graphql-editor.mjs +5 -0
- package/esm2020/organisms/grid-toolbar/grid-toolbar.organism.mjs +68 -0
- package/esm2020/organisms/grid-toolbar/index.mjs +2 -0
- package/esm2020/organisms/grid-toolbar/ng-atomic-components-organisms-grid-toolbar.mjs +5 -0
- package/esm2020/organisms/heading/heading.organism.mjs +6 -3
- package/esm2020/organisms/heading/index.mjs +1 -2
- package/esm2020/organisms/navigation-list/index.mjs +2 -3
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +11 -5
- package/esm2020/organisms/navigator/index.mjs +2 -3
- package/esm2020/organisms/navigator/navigator.organism.mjs +14 -4
- package/esm2020/organisms/paginator/index.mjs +1 -2
- package/esm2020/organisms/paginator/paginator.organism.mjs +40 -7
- package/esm2020/organisms/select-input-section/index.mjs +1 -2
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +8 -4
- package/esm2020/organisms/smart-list/index.mjs +1 -2
- package/esm2020/organisms/smart-list/smart-list.organism.mjs +45 -8
- package/esm2020/organisms/smart-table/index.mjs +1 -2
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +45 -9
- package/esm2020/organisms/social-login-section/index.mjs +1 -2
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +9 -4
- package/esm2020/organisms/text-input-section/index.mjs +2 -3
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +8 -4
- package/esm2020/organisms/textarea-section/index.mjs +2 -3
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +8 -4
- package/esm2020/organisms/top-navigator/index.mjs +1 -2
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +12 -4
- package/esm2020/templates/entrance/entrance.template.mjs +18 -8
- package/esm2020/templates/entrance/index.mjs +1 -2
- package/esm2020/templates/loading/index.mjs +1 -2
- package/esm2020/templates/loading/loading.template.mjs +9 -4
- package/esm2020/templates/menu/index.mjs +1 -2
- package/esm2020/templates/menu/menu.template.mjs +8 -4
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +21 -42
- package/esm2020/templates/smart-index/smart-index.template.mjs +36 -35
- package/extras/editor/editor.component.d.ts +12 -0
- package/extras/editor/index.d.ts +1 -0
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +50 -44
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +10 -33
- package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +10 -33
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-extras-editor.mjs +52 -0
- package/fesm2015/ng-atomic-components-extras-editor.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +7 -25
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-card.mjs +9 -32
- package/fesm2015/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +8 -24
- package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-fab.mjs +84 -0
- package/fesm2015/ng-atomic-components-frames-fab.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +16 -4
- package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-loading.mjs +36 -0
- package/fesm2015/ng-atomic-components-frames-loading.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +8 -26
- package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +6 -26
- package/fesm2015/ng-atomic-components-frames-scroll.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +7 -21
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +18 -52
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +18 -43
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +23 -60
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +17 -41
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-header.mjs +7 -25
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +32 -42
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +12 -31
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +20 -58
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +14 -36
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +10 -32
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-tree-column.mjs +135 -0
- package/fesm2015/ng-atomic-components-molecules-tree-column.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +10 -36
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +14 -47
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +9 -29
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +11 -34
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +9 -30
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-filters-section.mjs +136 -0
- package/fesm2015/ng-atomic-components-organisms-filters-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs +121 -0
- package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs +75 -0
- package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +7 -25
- package/fesm2015/ng-atomic-components-organisms-heading.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +12 -37
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +14 -43
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +40 -49
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +9 -33
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +43 -42
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +42 -73
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +10 -33
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +9 -33
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +9 -29
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +12 -43
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +19 -63
- package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-loading.mjs +9 -35
- package/fesm2015/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.mjs +9 -30
- package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +20 -41
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +35 -34
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs +50 -44
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +9 -32
- package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +10 -33
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-extras-editor.mjs +48 -0
- package/fesm2020/ng-atomic-components-extras-editor.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +7 -25
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-card.mjs +9 -32
- package/fesm2020/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +8 -24
- package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-fab.mjs +84 -0
- package/fesm2020/ng-atomic-components-frames-fab.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +16 -4
- package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-loading.mjs +36 -0
- package/fesm2020/ng-atomic-components-frames-loading.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +8 -26
- package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +6 -26
- package/fesm2020/ng-atomic-components-frames-scroll.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +7 -21
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +18 -52
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs +18 -43
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +23 -60
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +17 -41
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-header.mjs +7 -25
- package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +32 -42
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +12 -31
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +20 -58
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +14 -36
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +10 -32
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-tree-column.mjs +135 -0
- package/fesm2020/ng-atomic-components-molecules-tree-column.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +10 -36
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +14 -47
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +9 -29
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +11 -34
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +9 -30
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-filters-section.mjs +136 -0
- package/fesm2020/ng-atomic-components-organisms-filters-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs +120 -0
- package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs +75 -0
- package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +7 -25
- package/fesm2020/ng-atomic-components-organisms-heading.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +12 -37
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +14 -43
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +41 -49
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +9 -33
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +43 -42
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +43 -73
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +10 -33
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +9 -33
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +9 -29
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +12 -43
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +19 -63
- package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-loading.mjs +9 -35
- package/fesm2020/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-menu.mjs +9 -30
- package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +20 -41
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +35 -34
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/frames/auto-layout/auto-layout.frame.d.ts +1 -1
- package/frames/auto-layout/index.d.ts +0 -1
- package/frames/card/card.frame.d.ts +1 -1
- package/frames/card/index.d.ts +0 -1
- package/frames/drawer/drawer.frame.d.ts +1 -1
- package/frames/drawer/index.d.ts +1 -2
- package/frames/fab/fab.frame.d.ts +15 -0
- package/frames/fab/fab.service.d.ts +12 -0
- package/frames/fab/index.d.ts +2 -0
- package/frames/loading/index.d.ts +1 -0
- package/frames/loading/loading.frame.d.ts +6 -0
- package/frames/overlay/index.d.ts +0 -1
- package/frames/overlay/overlay.frame.d.ts +1 -1
- package/frames/scroll/index.d.ts +0 -1
- package/frames/scroll/scroll.frame.d.ts +1 -1
- package/frames/smart-menu/index.d.ts +0 -1
- package/frames/smart-menu/smart-menu.frame.d.ts +1 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +1 -1
- package/molecules/actions-column/index.d.ts +0 -1
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
- package/molecules/checkbox-column/index.d.ts +0 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +1 -1
- package/molecules/chips-input-field/index.d.ts +0 -1
- package/molecules/date-input-field/date-input-field.molecule.d.ts +1 -1
- package/molecules/date-input-field/index.d.ts +1 -2
- package/molecules/header/header.molecule.d.ts +1 -1
- package/molecules/header/index.d.ts +1 -2
- package/molecules/navigation-list-item/index.d.ts +1 -2
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +1 -1
- package/molecules/select-input-field/index.d.ts +0 -1
- package/molecules/select-input-field/select-input-field.molecule.d.ts +2 -1
- package/molecules/smart-column/index.d.ts +0 -1
- package/molecules/smart-column/smart-column.molecule.d.ts +2 -2
- package/molecules/text-input-field/index.d.ts +1 -2
- package/molecules/text-input-field/text-input-field.molecule.d.ts +2 -1
- package/molecules/textarea-field/index.d.ts +0 -1
- package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
- package/molecules/tree-column/index.d.ts +1 -0
- package/molecules/tree-column/tree-column.molecule.d.ts +14 -0
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -1
- package/organisms/action-buttons-section/index.d.ts +0 -1
- package/organisms/back-navigator/back-navigator.organism.d.ts +1 -1
- package/organisms/back-navigator/index.d.ts +0 -1
- package/organisms/card-input-section/card-input-section.organism.d.ts +1 -1
- package/organisms/card-input-section/index.d.ts +1 -2
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +1 -1
- package/organisms/cvc-and-exp-input-section/index.d.ts +1 -2
- package/organisms/date-input-section/date-input-section.organism.d.ts +1 -1
- package/organisms/date-input-section/index.d.ts +0 -1
- package/organisms/filters-section/filters-section.organism.d.ts +19 -0
- package/organisms/filters-section/index.d.ts +1 -0
- package/organisms/graphql-editor/graphql-editor.organism.d.ts +37 -0
- package/organisms/graphql-editor/index.d.ts +1 -0
- package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +18 -0
- package/organisms/grid-toolbar/index.d.ts +1 -0
- package/organisms/heading/heading.organism.d.ts +1 -1
- package/organisms/heading/index.d.ts +0 -1
- package/organisms/navigation-list/index.d.ts +1 -2
- package/organisms/navigation-list/navigation-list.organism.d.ts +1 -1
- package/organisms/navigator/index.d.ts +1 -2
- package/organisms/navigator/navigator.organism.d.ts +1 -1
- package/organisms/paginator/index.d.ts +0 -1
- package/organisms/paginator/paginator.organism.d.ts +8 -2
- package/organisms/select-input-section/index.d.ts +0 -1
- package/organisms/select-input-section/select-input-section.organism.d.ts +1 -1
- package/organisms/smart-list/index.d.ts +0 -1
- package/organisms/smart-list/smart-list.organism.d.ts +1 -2
- package/organisms/smart-table/index.d.ts +0 -1
- package/organisms/smart-table/smart-table.organism.d.ts +9 -2
- package/organisms/social-login-section/index.d.ts +0 -1
- package/organisms/social-login-section/social-login-section.organism.d.ts +1 -1
- package/organisms/text-input-section/index.d.ts +1 -2
- package/organisms/text-input-section/text-input-section.organism.d.ts +1 -1
- package/organisms/textarea-section/index.d.ts +1 -2
- package/organisms/textarea-section/textarea-section.organism.d.ts +1 -1
- package/organisms/top-navigator/index.d.ts +0 -1
- package/organisms/top-navigator/top-navigator.organism.d.ts +1 -1
- package/package.json +69 -5
- package/templates/entrance/entrance.template.d.ts +1 -1
- package/templates/entrance/index.d.ts +0 -1
- package/templates/loading/index.d.ts +0 -1
- package/templates/loading/loading.template.d.ts +1 -1
- package/templates/menu/index.d.ts +0 -1
- package/templates/menu/menu.template.d.ts +1 -1
- package/templates/smart-index/smart-index.template.d.ts +10 -3
- package/atoms/chips-input/chips-input.module.d.ts +0 -12
- package/atoms/icon/icon.module.d.ts +0 -9
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +0 -11
- package/esm2020/atoms/chips-input/chips-input.module.mjs +0 -44
- package/esm2020/atoms/icon/icon.module.mjs +0 -31
- package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +0 -35
- package/esm2020/frames/auto-layout/auto-layout.module.mjs +0 -24
- package/esm2020/frames/card/card.module.mjs +0 -31
- package/esm2020/frames/drawer/drawer.module.mjs +0 -24
- package/esm2020/frames/overlay/overlay.module.mjs +0 -26
- package/esm2020/frames/scroll/scroll.module.mjs +0 -28
- package/esm2020/frames/smart-menu/smart-menu.module.mjs +0 -20
- package/esm2020/molecules/actions-column/actions-column.module.mjs +0 -49
- package/esm2020/molecules/checkbox-column/checkbox-column.module.mjs +0 -39
- package/esm2020/molecules/chips-input-field/chips-input-field.module.mjs +0 -56
- package/esm2020/molecules/date-input-field/date-input-field.module.mjs +0 -38
- package/esm2020/molecules/header/header.module.mjs +0 -24
- package/esm2020/molecules/navigation-list-item/navigation-list-item.module.mjs +0 -38
- package/esm2020/molecules/select-input-field/select-input-field.module.mjs +0 -32
- package/esm2020/molecules/smart-column/smart-column.module.mjs +0 -56
- package/esm2020/molecules/text-input-field/text-input-field.module.mjs +0 -37
- package/esm2020/molecules/textarea-field/textarea-field.module.mjs +0 -32
- package/esm2020/organisms/action-buttons-section/action-buttons-section.module.mjs +0 -34
- package/esm2020/organisms/back-navigator/back-navigator.module.mjs +0 -46
- package/esm2020/organisms/card-input-section/card-input-section.module.mjs +0 -27
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.mjs +0 -31
- package/esm2020/organisms/date-input-section/date-input-section.module.mjs +0 -28
- package/esm2020/organisms/heading/heading.module.mjs +0 -24
- package/esm2020/organisms/navigation-list/navigation-list.module.mjs +0 -34
- package/esm2020/organisms/navigator/navigator.module.mjs +0 -42
- package/esm2020/organisms/paginator/paginator.module.mjs +0 -45
- package/esm2020/organisms/select-input-section/select-input-section.module.mjs +0 -31
- package/esm2020/organisms/smart-list/smart-list.module.mjs +0 -39
- package/esm2020/organisms/smart-table/smart-table.module.mjs +0 -69
- package/esm2020/organisms/social-login-section/social-login-section.module.mjs +0 -31
- package/esm2020/organisms/text-input-section/text-input-section.module.mjs +0 -31
- package/esm2020/organisms/textarea-section/textarea-section.module.mjs +0 -27
- package/esm2020/organisms/top-navigator/top-navigator.module.mjs +0 -42
- package/esm2020/templates/entrance/entrance.module.mjs +0 -57
- package/esm2020/templates/loading/loading.module.mjs +0 -34
- package/esm2020/templates/menu/menu.module.mjs +0 -28
- package/frames/auto-layout/auto-layout.module.d.ts +0 -8
- package/frames/card/card.module.d.ts +0 -9
- package/frames/drawer/drawer.module.d.ts +0 -9
- package/frames/overlay/overlay.module.d.ts +0 -9
- package/frames/scroll/scroll.module.d.ts +0 -9
- package/frames/smart-menu/smart-menu.module.d.ts +0 -8
- package/molecules/actions-column/actions-column.module.d.ts +0 -13
- package/molecules/checkbox-column/checkbox-column.module.d.ts +0 -10
- package/molecules/chips-input-field/chips-input-field.module.d.ts +0 -14
- package/molecules/date-input-field/date-input-field.module.d.ts +0 -12
- package/molecules/header/header.module.d.ts +0 -8
- package/molecules/navigation-list-item/navigation-list-item.module.d.ts +0 -10
- package/molecules/select-input-field/select-input-field.module.d.ts +0 -10
- package/molecules/smart-column/smart-column.module.d.ts +0 -15
- package/molecules/text-input-field/text-input-field.module.d.ts +0 -10
- package/molecules/textarea-field/textarea-field.module.d.ts +0 -10
- package/organisms/action-buttons-section/action-buttons-section.module.d.ts +0 -9
- package/organisms/back-navigator/back-navigator.module.d.ts +0 -12
- package/organisms/card-input-section/card-input-section.module.d.ts +0 -9
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +0 -10
- package/organisms/date-input-section/date-input-section.module.d.ts +0 -9
- package/organisms/heading/heading.module.d.ts +0 -8
- package/organisms/navigation-list/navigation-list.module.d.ts +0 -10
- package/organisms/navigator/navigator.module.d.ts +0 -12
- package/organisms/paginator/paginator.module.d.ts +0 -11
- package/organisms/select-input-section/select-input-section.module.d.ts +0 -9
- package/organisms/smart-list/smart-list.module.d.ts +0 -12
- package/organisms/smart-table/smart-table.module.d.ts +0 -17
- package/organisms/social-login-section/social-login-section.module.d.ts +0 -9
- package/organisms/text-input-section/text-input-section.module.d.ts +0 -9
- package/organisms/textarea-section/textarea-section.module.d.ts +0 -9
- package/organisms/top-navigator/top-navigator.module.d.ts +0 -11
- package/templates/entrance/entrance.module.d.ts +0 -14
- package/templates/loading/loading.module.d.ts +0 -9
- package/templates/menu/menu.module.d.ts +0 -9
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/material/core';
|
|
4
|
-
import * as i2 from '@angular/material/legacy-list';
|
|
5
|
-
import { MatLegacyListModule } from '@angular/material/legacy-list';
|
|
6
|
-
import * as i3 from '@ng-atomic/components/atoms/icon';
|
|
7
|
-
import { IconModule } from '@ng-atomic/components/atoms/icon';
|
|
8
1
|
import { CommonModule } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import * as i1 from '@angular/material/list';
|
|
6
|
+
import { MatListModule } from '@angular/material/list';
|
|
7
|
+
import { IconAtom } from '@ng-atomic/components/atoms/icon';
|
|
9
8
|
|
|
10
9
|
class NavigationListItemMolecule {
|
|
11
10
|
constructor() {
|
|
@@ -13,51 +12,42 @@ class NavigationListItemMolecule {
|
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
14
|
NavigationListItemMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
NavigationListItemMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NavigationListItemMolecule, selector: "molecules-navigation-list-item", inputs: { action: "action", selected: "selected" }, ngImport: i0, template:
|
|
15
|
+
NavigationListItemMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NavigationListItemMolecule, isStandalone: true, selector: "molecules-navigation-list-item", inputs: { action: "action", selected: "selected" }, ngImport: i0, template: `
|
|
16
|
+
<mat-list-item>
|
|
17
|
+
<atoms-icon
|
|
18
|
+
matListItemIcon
|
|
19
|
+
[name]="action?.icon"
|
|
20
|
+
[color]="action?.color"
|
|
21
|
+
></atoms-icon>
|
|
22
|
+
<div matListItemTitle>{{ action.name }}</div>
|
|
23
|
+
</mat-list-item>
|
|
24
|
+
`, isInline: true, styles: [":host{display:block}:host{--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-label-text-color: white}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "component", type: IconAtom, selector: "atoms-icon", inputs: ["name", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemMolecule, decorators: [{
|
|
18
26
|
type: Component,
|
|
19
|
-
args: [{ selector: 'molecules-navigation-list-item',
|
|
27
|
+
args: [{ selector: 'molecules-navigation-list-item', standalone: true, imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
MatIconModule,
|
|
30
|
+
MatListModule,
|
|
31
|
+
IconAtom,
|
|
32
|
+
], template: `
|
|
33
|
+
<mat-list-item>
|
|
34
|
+
<atoms-icon
|
|
35
|
+
matListItemIcon
|
|
36
|
+
[name]="action?.icon"
|
|
37
|
+
[color]="action?.color"
|
|
38
|
+
></atoms-icon>
|
|
39
|
+
<div matListItemTitle>{{ action.name }}</div>
|
|
40
|
+
</mat-list-item>
|
|
41
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}:host{--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-label-text-color: white}\n"] }]
|
|
20
42
|
}], propDecorators: { action: [{
|
|
21
43
|
type: Input
|
|
22
44
|
}], selected: [{
|
|
23
45
|
type: Input
|
|
24
46
|
}] } });
|
|
25
47
|
|
|
26
|
-
class NavigationListItemModule {
|
|
27
|
-
}
|
|
28
|
-
NavigationListItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
-
NavigationListItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, declarations: [NavigationListItemMolecule], imports: [CommonModule,
|
|
30
|
-
// Materials
|
|
31
|
-
MatLegacyListModule,
|
|
32
|
-
// Atoms
|
|
33
|
-
IconModule], exports: [NavigationListItemMolecule] });
|
|
34
|
-
NavigationListItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, imports: [CommonModule,
|
|
35
|
-
// Materials
|
|
36
|
-
MatLegacyListModule,
|
|
37
|
-
// Atoms
|
|
38
|
-
IconModule] });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, decorators: [{
|
|
40
|
-
type: NgModule,
|
|
41
|
-
args: [{
|
|
42
|
-
declarations: [
|
|
43
|
-
NavigationListItemMolecule
|
|
44
|
-
],
|
|
45
|
-
imports: [
|
|
46
|
-
CommonModule,
|
|
47
|
-
// Materials
|
|
48
|
-
MatLegacyListModule,
|
|
49
|
-
// Atoms
|
|
50
|
-
IconModule,
|
|
51
|
-
],
|
|
52
|
-
exports: [
|
|
53
|
-
NavigationListItemMolecule
|
|
54
|
-
]
|
|
55
|
-
}]
|
|
56
|
-
}] });
|
|
57
|
-
|
|
58
48
|
/**
|
|
59
49
|
* Generated bundle index. Do not edit.
|
|
60
50
|
*/
|
|
61
51
|
|
|
62
|
-
export {
|
|
52
|
+
export { NavigationListItemMolecule };
|
|
63
53
|
//# sourceMappingURL=ng-atomic-components-molecules-navigation-list-item.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-navigation-list-item.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-navigation-list-item.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { Action } from '@ng-atomic/common/models';\nimport { IconAtom } from '@ng-atomic/components/atoms/icon';\n\n@Component({\n selector: 'molecules-navigation-list-item',\n standalone: true,\n imports: [\n CommonModule,\n MatIconModule,\n MatListModule,\n IconAtom,\n ],\n template: `\n <mat-list-item>\n <atoms-icon\n matListItemIcon\n [name]=\"action?.icon\"\n [color]=\"action?.color\"\n ></atoms-icon>\n <div matListItemTitle>{{ action.name }}</div>\n </mat-list-item>\n `,\n styleUrls: ['./navigation-list-item.molecule.scss'],\n // encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigationListItemMolecule {\n\n @Input()\n action!: Action;\n\n @Input()\n selected = false;\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MA8Ba,0BAA0B,CAAA;AAvBvC,IAAA,WAAA,GAAA;QA6BE,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAElB,KAAA;;uHARY,0BAA0B,EAAA,IAAA,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1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
1
|
import * as i1 from '@angular/common';
|
|
4
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
5
5
|
import * as i2 from '@angular/forms';
|
|
6
6
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
7
7
|
import * as i4 from '@angular/material/select';
|
|
@@ -12,53 +12,34 @@ import * as i5 from '@angular/material/core';
|
|
|
12
12
|
class SelectInputFieldMolecule {
|
|
13
13
|
constructor() {
|
|
14
14
|
this.label = '';
|
|
15
|
+
this.appearance = 'outline';
|
|
15
16
|
this.control = new FormControl({});
|
|
16
17
|
this.options = [];
|
|
17
18
|
this.value = (item) => item?.value;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
SelectInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
SelectInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: { label: "label", control: "control", options: "options" }, host: { classAttribute: "molecule input-field field" }, ngImport: i0, template: "<mat-form-field appearance=\"
|
|
22
|
+
SelectInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SelectInputFieldMolecule, isStandalone: true, selector: "molecules-select-input-field", inputs: { label: "label", appearance: "appearance", control: "control", options: "options" }, host: { classAttribute: "molecule input-field field" }, ngImport: i0, template: "<mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-AYkY: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldMolecule, decorators: [{
|
|
23
24
|
type: Component,
|
|
24
|
-
args: [{ selector: 'molecules-select-input-field',
|
|
25
|
+
args: [{ selector: 'molecules-select-input-field', standalone: true, imports: [
|
|
26
|
+
CommonModule,
|
|
27
|
+
ReactiveFormsModule,
|
|
28
|
+
MatSelectModule,
|
|
29
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-AYkY: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
25
30
|
}], propDecorators: { label: [{
|
|
26
31
|
type: Input
|
|
32
|
+
}], appearance: [{
|
|
33
|
+
type: Input
|
|
27
34
|
}], control: [{
|
|
28
35
|
type: Input
|
|
29
36
|
}], options: [{
|
|
30
37
|
type: Input
|
|
31
38
|
}] } });
|
|
32
39
|
|
|
33
|
-
class SelectInputFieldModule {
|
|
34
|
-
}
|
|
35
|
-
SelectInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
-
SelectInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, bootstrap: [SelectInputFieldMolecule], declarations: [SelectInputFieldMolecule], imports: [CommonModule,
|
|
37
|
-
ReactiveFormsModule,
|
|
38
|
-
// Materials
|
|
39
|
-
MatSelectModule], exports: [SelectInputFieldMolecule] });
|
|
40
|
-
SelectInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, imports: [CommonModule,
|
|
41
|
-
ReactiveFormsModule,
|
|
42
|
-
// Materials
|
|
43
|
-
MatSelectModule] });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, decorators: [{
|
|
45
|
-
type: NgModule,
|
|
46
|
-
args: [{
|
|
47
|
-
declarations: [SelectInputFieldMolecule],
|
|
48
|
-
imports: [
|
|
49
|
-
CommonModule,
|
|
50
|
-
ReactiveFormsModule,
|
|
51
|
-
// Materials
|
|
52
|
-
MatSelectModule,
|
|
53
|
-
],
|
|
54
|
-
exports: [SelectInputFieldMolecule],
|
|
55
|
-
bootstrap: [SelectInputFieldMolecule],
|
|
56
|
-
}]
|
|
57
|
-
}] });
|
|
58
|
-
|
|
59
40
|
/**
|
|
60
41
|
* Generated bundle index. Do not edit.
|
|
61
42
|
*/
|
|
62
43
|
|
|
63
|
-
export {
|
|
44
|
+
export { SelectInputFieldMolecule };
|
|
64
45
|
//# sourceMappingURL=ng-atomic-components-molecules-select-input-field.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-select-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-select-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatSelectModule } from '@angular/material/select';\n\nexport interface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatSelectModule,\n ],\n templateUrl: './select-input-field.molecule.html',\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n appearance: 'outline' | 'fill' = 'outline';\n\n @Input()\n control = new FormControl<T>({} as T);\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","<mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAuBa,wBAAwB,CAAA;AAbrC,IAAA,WAAA,GAAA;QAgBE,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;QAGnB,IAAU,CAAA,UAAA,GAAuB,SAAS,CAAC;AAG3C,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAI,EAAO,CAAC,CAAC;QAGtC,IAAO,CAAA,OAAA,GAAgB,EAAE,CAAC;QAE1B,IAAK,CAAA,KAAA,GAAG,CAAC,IAAe,KAAK,IAAI,EAAE,KAAK,CAAC;AAE1C,KAAA;;qHAhBY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,8OCvBrC,0SAOiB,EAAA,MAAA,EAAA,CAAA,sLAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDOb,YAAY,EACZ,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,E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,EAAA,CAAA;sBADN,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;;;AElCR;;AAEG;;;;"}
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
1
|
import * as i2 from '@angular/cdk/clipboard';
|
|
6
2
|
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output } from '@angular/core';
|
|
7
7
|
import { MatButtonModule } from '@angular/material/button';
|
|
8
|
-
import * as i4 from '@angular/material/
|
|
9
|
-
import { MatTableModule } from '@angular/material/table';
|
|
10
|
-
import * as i3 from '@angular/material/icon';
|
|
8
|
+
import * as i4 from '@angular/material/icon';
|
|
11
9
|
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
-
import * as i5 from '@angular/material/
|
|
10
|
+
import * as i5 from '@angular/material/table';
|
|
11
|
+
import { MatTextColumn, MatTableModule } from '@angular/material/table';
|
|
12
|
+
import * as i6 from '@angular/material/tooltip';
|
|
13
13
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
14
|
-
import * as i6 from '@ng-atomic/common/pipes/smart-exp';
|
|
15
|
-
import { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';
|
|
16
|
-
import { MatLegacyTextColumn } from '@angular/material/legacy-table';
|
|
17
|
-
import * as i7 from '@ng-atomic/common/pipes/data-accessor';
|
|
18
14
|
import { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';
|
|
15
|
+
import * as i3 from '@ng-atomic/common/pipes/smart-exp';
|
|
16
|
+
import { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';
|
|
19
17
|
|
|
20
|
-
class SmartColumnMolecule extends
|
|
18
|
+
class SmartColumnMolecule extends MatTextColumn {
|
|
21
19
|
constructor() {
|
|
22
20
|
super(...arguments);
|
|
23
21
|
this.sort = 'none';
|
|
@@ -30,64 +28,28 @@ class SmartColumnMolecule extends MatLegacyTextColumn {
|
|
|
30
28
|
}
|
|
31
29
|
}
|
|
32
30
|
SmartColumnMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
SmartColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, usesInheritance: true, ngImport: i0, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name }}\n </p>\n </td>\n</ng-container>", styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{
|
|
31
|
+
SmartColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartColumnMolecule, isStandalone: true, selector: "molecules-smart-column", inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, usesInheritance: true, ngImport: i0, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name }}\n </p>\n </td>\n</ng-container>", styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i2.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i3.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i5.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i5.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
34
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnMolecule, decorators: [{
|
|
35
33
|
type: Component,
|
|
36
|
-
args: [{ selector: 'molecules-smart-column',
|
|
37
|
-
}], propDecorators: { sort: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}], headerClick: [{
|
|
40
|
-
type: Output
|
|
41
|
-
}] } });
|
|
42
|
-
|
|
43
|
-
class SmartColumnModule {
|
|
44
|
-
}
|
|
45
|
-
SmartColumnModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46
|
-
SmartColumnModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnModule, bootstrap: [SmartColumnMolecule], declarations: [SmartColumnMolecule], imports: [CommonModule,
|
|
47
|
-
ClipboardModule,
|
|
48
|
-
// Pipes
|
|
49
|
-
SmartExpModule,
|
|
50
|
-
DataAccessorPipe,
|
|
51
|
-
// Materials
|
|
52
|
-
MatButtonModule,
|
|
53
|
-
MatIconModule,
|
|
54
|
-
MatTableModule,
|
|
55
|
-
MatTooltipModule], exports: [SmartColumnMolecule] });
|
|
56
|
-
SmartColumnModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnModule, imports: [CommonModule,
|
|
57
|
-
ClipboardModule,
|
|
58
|
-
// Pipes
|
|
59
|
-
SmartExpModule,
|
|
60
|
-
// Materials
|
|
61
|
-
MatButtonModule,
|
|
62
|
-
MatIconModule,
|
|
63
|
-
MatTableModule,
|
|
64
|
-
MatTooltipModule] });
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnModule, decorators: [{
|
|
66
|
-
type: NgModule,
|
|
67
|
-
args: [{
|
|
68
|
-
declarations: [
|
|
69
|
-
SmartColumnMolecule,
|
|
70
|
-
],
|
|
71
|
-
imports: [
|
|
34
|
+
args: [{ selector: 'molecules-smart-column', standalone: true, imports: [
|
|
72
35
|
CommonModule,
|
|
73
36
|
ClipboardModule,
|
|
74
|
-
// Pipes
|
|
75
37
|
SmartExpModule,
|
|
76
38
|
DataAccessorPipe,
|
|
77
|
-
// Materials
|
|
78
39
|
MatButtonModule,
|
|
79
40
|
MatIconModule,
|
|
80
41
|
MatTableModule,
|
|
81
42
|
MatTooltipModule,
|
|
82
|
-
],
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
43
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name }}\n </p>\n </td>\n</ng-container>", styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
|
|
44
|
+
}], propDecorators: { sort: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], headerClick: [{
|
|
47
|
+
type: Output
|
|
48
|
+
}] } });
|
|
87
49
|
|
|
88
50
|
/**
|
|
89
51
|
* Generated bundle index. Do not edit.
|
|
90
52
|
*/
|
|
91
53
|
|
|
92
|
-
export {
|
|
54
|
+
export { SmartColumnMolecule };
|
|
93
55
|
//# sourceMappingURL=ng-atomic-components-molecules-smart-column.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-smart-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/smart-column/smart-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/smart-column/smart-column.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/smart-column/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-smart-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/smart-column/smart-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/smart-column/smart-column.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTableModule, MatTextColumn } from '@angular/material/table';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\n\n@Component({\n selector: 'molecules-smart-column',\n standalone: true,\n imports: [\n CommonModule,\n ClipboardModule,\n SmartExpModule,\n DataAccessorPipe,\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n\n @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\n\n @Output()\n headerClick = new EventEmitter<void>();\n\n text = 'copy';\n\n copied() {\n this.text = 'copied!';\n setTimeout(() => this.text = 'copy', 1000);\n }\n}\n","<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name }}\n </p>\n </td>\n</ng-container>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AA4BM,MAAO,mBAAuB,SAAQ,aAAgB,CAAA;AAlB5D,IAAA,WAAA,GAAA;;QAqBE,IAAI,CAAA,IAAA,GAA4B,MAAM,CAAC;AAGvC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;QAEvC,IAAI,CAAA,IAAA,GAAG,MAAM,CAAC;AAMf,KAAA;IAJC,MAAM,GAAA;AACJ,QAAA,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;AACtB,QAAA,UAAU,CAAC,MAAM,IAAI,CAAC,IAAI,GAAG,MAAM,EAAE,IAAI,CAAC,CAAC;KAC5C;;gHAbU,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,4KC5BhC,k3BAwBe,EAAA,MAAA,EAAA,CAAA,oQAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDVX,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,c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;wBACf,cAAc;wBACd,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,gBAAgB;AACjB,qBAAA,EAAA,aAAA,EAGc,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,OAAO,EAAA,QAAA,EAAA,k3BAAA,EAAA,MAAA,EAAA,CAAA,oQAAA,CAAA,EAAA,CAAA;8BAKhD,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,MAAM;;;AEjCT;;AAEG;;;;"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import * as i1 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
1
3
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input
|
|
4
|
+
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
3
5
|
import * as i2 from '@angular/forms';
|
|
4
6
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as i1 from '@angular/common';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
7
|
import * as i3 from '@angular/material/input';
|
|
8
8
|
import { MatInputModule } from '@angular/material/input';
|
|
9
9
|
import * as i4 from '@angular/material/form-field';
|
|
10
10
|
|
|
11
11
|
class TextInputFieldMolecule {
|
|
12
12
|
constructor() {
|
|
13
|
+
this.appearance = 'outline';
|
|
13
14
|
this.type = 'text';
|
|
14
15
|
this.label = 'label';
|
|
15
16
|
this.control = new FormControl('');
|
|
@@ -17,11 +18,17 @@ class TextInputFieldMolecule {
|
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
TextInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
TextInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextInputFieldMolecule, selector: "molecules-text-input-field", inputs: { type: "type", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n\n<mat-form-field appearance=\"
|
|
21
|
+
TextInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextInputFieldMolecule, isStandalone: true, selector: "molecules-text-input-field", inputs: { appearance: "appearance", type: "type", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n\n<mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>\n\n<!-- <ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'number'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"number\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'password'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"password\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n</ng-container> -->\n", styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputFieldMolecule, decorators: [{
|
|
22
23
|
type: Component,
|
|
23
|
-
args: [{ selector: 'molecules-text-input-field',
|
|
24
|
-
|
|
24
|
+
args: [{ selector: 'molecules-text-input-field', standalone: true, imports: [
|
|
25
|
+
CommonModule,
|
|
26
|
+
ReactiveFormsModule,
|
|
27
|
+
MatInputModule,
|
|
28
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n\n<mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>\n\n<!-- <ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'number'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"number\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'password'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"password\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n</ng-container> -->\n", styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
29
|
+
}], propDecorators: { appearance: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], type: [{
|
|
25
32
|
type: Input
|
|
26
33
|
}], name: [{
|
|
27
34
|
type: Input
|
|
@@ -35,38 +42,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
35
42
|
type: Input
|
|
36
43
|
}] } });
|
|
37
44
|
|
|
38
|
-
class TextInputFieldModule {
|
|
39
|
-
}
|
|
40
|
-
TextInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
41
|
-
TextInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TextInputFieldModule, bootstrap: [TextInputFieldMolecule], declarations: [TextInputFieldMolecule], imports: [CommonModule,
|
|
42
|
-
ReactiveFormsModule,
|
|
43
|
-
// Materials
|
|
44
|
-
// MatFormFieldModule,
|
|
45
|
-
MatInputModule], exports: [TextInputFieldMolecule] });
|
|
46
|
-
TextInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputFieldModule, imports: [CommonModule,
|
|
47
|
-
ReactiveFormsModule,
|
|
48
|
-
// Materials
|
|
49
|
-
// MatFormFieldModule,
|
|
50
|
-
MatInputModule] });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputFieldModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
declarations: [TextInputFieldMolecule],
|
|
55
|
-
imports: [
|
|
56
|
-
CommonModule,
|
|
57
|
-
ReactiveFormsModule,
|
|
58
|
-
// Materials
|
|
59
|
-
// MatFormFieldModule,
|
|
60
|
-
MatInputModule,
|
|
61
|
-
],
|
|
62
|
-
exports: [TextInputFieldMolecule],
|
|
63
|
-
bootstrap: [TextInputFieldMolecule],
|
|
64
|
-
}]
|
|
65
|
-
}] });
|
|
66
|
-
|
|
67
45
|
/**
|
|
68
46
|
* Generated bundle index. Do not edit.
|
|
69
47
|
*/
|
|
70
48
|
|
|
71
|
-
export {
|
|
49
|
+
export { TextInputFieldMolecule };
|
|
72
50
|
//# sourceMappingURL=ng-atomic-components-molecules-text-input-field.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-text-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-text-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\n\n@Component({\n selector: 'molecules-text-input-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n ],\n templateUrl: './text-input-field.molecule.html',\n styleUrls: ['./text-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class TextInputFieldMolecule {\n\n @Input()\n appearance: 'outline' | 'fill' = 'outline';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n name?: string;\n\n @Input()\n label = 'label';\n\n @Input()\n control = new FormControl<string | number>('');\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n hint?: string;\n\n}\n","<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n\n<mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>\n\n<!-- <ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'number'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"number\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'password'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"password\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n</ng-container> -->\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAkBa,sBAAsB,CAAA;AAbnC,IAAA,WAAA,GAAA;QAgBE,IAAU,CAAA,UAAA,GAAuB,SAAS,CAAC;QAG3C,IAAI,CAAA,IAAA,GAAmC,MAAM,CAAC;QAM9C,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAGhB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAkB,EAAE,CAAC,CAAC;QAG/C,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;AAK7B,KAAA;;mHAvBY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,kRClBnC,80CA0BA,EAAA,MAAA,EAAA,CAAA,mEAAA,CAAA,EAAA,YAAA,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