@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,15 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, Optional, Inject, Input, Output
|
|
3
|
-
import * as i5 from '@ng-atomic/common/pipes/data-accessor';
|
|
2
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, Optional, Inject, Input, Output } from '@angular/core';
|
|
4
3
|
import { defaultDataAccessor, DATA_ACCESSOR, DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';
|
|
5
4
|
import * as i1 from '@angular/common';
|
|
6
5
|
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i2 from '@angular/material/
|
|
8
|
-
import {
|
|
9
|
-
import * as i3 from '@angular/material/core';
|
|
10
|
-
import { MatRippleModule } from '@angular/material/core';
|
|
11
|
-
import * as i4 from '@angular/material/divider';
|
|
6
|
+
import * as i2 from '@angular/material/list';
|
|
7
|
+
import { MatListModule } from '@angular/material/list';
|
|
12
8
|
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
+
import * as i4 from '@angular/material/core';
|
|
10
|
+
import { MatRippleModule } from '@angular/material/core';
|
|
11
|
+
import * as i3 from '@angular/material/divider';
|
|
13
12
|
|
|
14
13
|
var ActionId;
|
|
15
14
|
(function (ActionId) {
|
|
@@ -18,7 +17,6 @@ var ActionId;
|
|
|
18
17
|
class SmartListOrganism {
|
|
19
18
|
constructor(dataAccessor) {
|
|
20
19
|
this.dataAccessor = dataAccessor;
|
|
21
|
-
this.statusAccessor = (data) => data['status'];
|
|
22
20
|
this.items = [];
|
|
23
21
|
this.action = new EventEmitter();
|
|
24
22
|
this.dataAccessor ?? (this.dataAccessor = defaultDataAccessor);
|
|
@@ -42,10 +40,44 @@ class SmartListOrganism {
|
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
SmartListOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListOrganism, deps: [{ token: DATA_ACCESSOR, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
-
SmartListOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartListOrganism, selector: "organisms-smart-list", inputs: { items: "items" }, outputs: { action: "action" }, ngImport: i0, template:
|
|
43
|
+
SmartListOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartListOrganism, isStandalone: true, selector: "organisms-smart-list", inputs: { items: "items" }, outputs: { action: "action" }, ngImport: i0, template: `
|
|
44
|
+
<mat-list>
|
|
45
|
+
<ng-container *ngFor="let status of statuses">
|
|
46
|
+
<div mat-subheader> {{ status }}</div>
|
|
47
|
+
<ng-container *ngFor="let item of statusMap[status]">
|
|
48
|
+
<mat-list-item lines="2" matRipple (click)="onItemClick(item)">
|
|
49
|
+
<span matListItemTitle>{{ item | dataAccessor:'title' }}</span>
|
|
50
|
+
<span matListItemLine>{{ item | dataAccessor:'description' }}</span>
|
|
51
|
+
</mat-list-item>
|
|
52
|
+
<mat-divider *ngIf="statuses.length === 1"></mat-divider>
|
|
53
|
+
</ng-container>
|
|
54
|
+
<mat-divider *ngIf="statuses.length > 1"></mat-divider>
|
|
55
|
+
</ng-container>
|
|
56
|
+
</mat-list>
|
|
57
|
+
`, isInline: true, styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListSubheaderCssMatStyler, selector: "[mat-subheader], [matSubheader]" }, { kind: "component", type: i3.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: i2.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
46
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListOrganism, decorators: [{
|
|
47
59
|
type: Component,
|
|
48
|
-
args: [{ selector: 'organisms-smart-list',
|
|
60
|
+
args: [{ selector: 'organisms-smart-list', standalone: true, imports: [
|
|
61
|
+
CommonModule,
|
|
62
|
+
MatListModule,
|
|
63
|
+
MatIconModule,
|
|
64
|
+
MatRippleModule,
|
|
65
|
+
DataAccessorPipe,
|
|
66
|
+
], template: `
|
|
67
|
+
<mat-list>
|
|
68
|
+
<ng-container *ngFor="let status of statuses">
|
|
69
|
+
<div mat-subheader> {{ status }}</div>
|
|
70
|
+
<ng-container *ngFor="let item of statusMap[status]">
|
|
71
|
+
<mat-list-item lines="2" matRipple (click)="onItemClick(item)">
|
|
72
|
+
<span matListItemTitle>{{ item | dataAccessor:'title' }}</span>
|
|
73
|
+
<span matListItemLine>{{ item | dataAccessor:'description' }}</span>
|
|
74
|
+
</mat-list-item>
|
|
75
|
+
<mat-divider *ngIf="statuses.length === 1"></mat-divider>
|
|
76
|
+
</ng-container>
|
|
77
|
+
<mat-divider *ngIf="statuses.length > 1"></mat-divider>
|
|
78
|
+
</ng-container>
|
|
79
|
+
</mat-list>
|
|
80
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}\n"] }]
|
|
49
81
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
50
82
|
type: Optional
|
|
51
83
|
}, {
|
|
@@ -57,40 +89,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
57
89
|
type: Output
|
|
58
90
|
}] } });
|
|
59
91
|
|
|
60
|
-
class SmartListModule {
|
|
61
|
-
}
|
|
62
|
-
SmartListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
63
|
-
SmartListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, declarations: [SmartListOrganism], imports: [CommonModule,
|
|
64
|
-
MatLegacyListModule,
|
|
65
|
-
MatIconModule,
|
|
66
|
-
MatRippleModule,
|
|
67
|
-
DataAccessorPipe], exports: [SmartListOrganism] });
|
|
68
|
-
SmartListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, imports: [CommonModule,
|
|
69
|
-
MatLegacyListModule,
|
|
70
|
-
MatIconModule,
|
|
71
|
-
MatRippleModule] });
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, decorators: [{
|
|
73
|
-
type: NgModule,
|
|
74
|
-
args: [{
|
|
75
|
-
declarations: [
|
|
76
|
-
SmartListOrganism,
|
|
77
|
-
],
|
|
78
|
-
imports: [
|
|
79
|
-
CommonModule,
|
|
80
|
-
MatLegacyListModule,
|
|
81
|
-
MatIconModule,
|
|
82
|
-
MatRippleModule,
|
|
83
|
-
DataAccessorPipe,
|
|
84
|
-
],
|
|
85
|
-
exports: [
|
|
86
|
-
SmartListOrganism
|
|
87
|
-
]
|
|
88
|
-
}]
|
|
89
|
-
}] });
|
|
90
|
-
|
|
91
92
|
/**
|
|
92
93
|
* Generated bundle index. Do not edit.
|
|
93
94
|
*/
|
|
94
95
|
|
|
95
|
-
export { ActionId,
|
|
96
|
+
export { ActionId, SmartListOrganism };
|
|
96
97
|
//# sourceMappingURL=ng-atomic-components-organisms-smart-list.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { DataAccessor, DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n}\n\n@Component({\n selector: 'organisms-smart-list',\n standalone: true,\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatRippleModule,\n DataAccessorPipe,\n ],\n template: `\n <mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span matListItemTitle>{{ item | dataAccessor:'title' }}</span>\n <span matListItemLine>{{ item | dataAccessor:'description' }}</span>\n </mat-list-item>\n <mat-divider *ngIf=\"statuses.length === 1\"></mat-divider>\n </ng-container>\n <mat-divider *ngIf=\"statuses.length > 1\"></mat-divider>\n </ng-container>\n </mat-list>\n `,\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SmartListOrganism<T> {\n\n constructor(\n @Optional() @Inject(DATA_ACCESSOR) private dataAccessor: DataAccessor<T>\n ) {\n this.dataAccessor ??= defaultDataAccessor;\n }\n\n @Input()\n items: T[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n get statusMap() {\n return (this.items ?? []).reduce((acc, item) => {\n const key = this.dataAccessor(item, '__status');\n acc[key] ??= [],\n acc[key].push(item);\n return acc;\n }, {} as { [id: string]: any[] });\n }\n\n get statuses() {\n return Object.keys(this.statusMap);\n }\n\n protected onItemClick(item: T) {\n this.action.emit({\n id: ActionId.CLICK_ITEM,\n payload: item,\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;IASY,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,yDAAsE,CAAA;AACxE,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MA8BY,iBAAiB,CAAA;AAE5B,IAAA,WAAA,CAC6C,YAA6B,EAAA;QAA7B,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAiB;QAM1E,IAAK,CAAA,KAAA,GAAQ,EAAE,CAAC;AAGhB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;QAPlC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAA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AA,EAAA,CAAA,CAAA;2FAoBP,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBA5B7B,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,eAAe;wBACf,gBAAgB;qBACjB,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;GAcT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,+HAAA,CAAA,EAAA,CAAA;;0BAK5C,QAAQ;;0BAAI,MAAM;2BAAC,aAAa,CAAA;4CAMnC,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;ACpDT;;AAEG;;;;"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output
|
|
2
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import * as i3 from '@angular/material/table';
|
|
6
|
+
import { MatTableModule } from '@angular/material/table';
|
|
7
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
8
|
+
import { MatMenuModule } from '@angular/material/menu';
|
|
9
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i2 from '@ng-atomic/common/pipes/domain';
|
|
12
12
|
import { DomainModule } from '@ng-atomic/common/pipes/domain';
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
13
|
+
import { ActionsColumnMolecule } from '@ng-atomic/components/molecules/actions-column';
|
|
14
|
+
import { CheckboxColumnMolecule } from '@ng-atomic/components/molecules/checkbox-column';
|
|
15
|
+
import { SmartColumnMolecule } from '@ng-atomic/components/molecules/smart-column';
|
|
16
|
+
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
17
|
+
import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree';
|
|
18
|
+
import { TreeColumnMolecule } from '@ng-atomic/components/molecules/tree-column';
|
|
19
19
|
|
|
20
20
|
class SmartTableOrganism {
|
|
21
21
|
constructor() {
|
|
22
22
|
this._columns = [];
|
|
23
|
-
this.
|
|
23
|
+
this.childrenKey = 'children';
|
|
24
24
|
this.itemActions = () => [];
|
|
25
25
|
this.pageSize = 0;
|
|
26
26
|
this.selectedIdSet = new Set();
|
|
@@ -31,19 +31,45 @@ class SmartTableOrganism {
|
|
|
31
31
|
this.pageChange = new EventEmitter();
|
|
32
32
|
this.itemCheck = new EventEmitter();
|
|
33
33
|
this.trackByColumnName = (columnName) => columnName;
|
|
34
|
+
this.treeControl = new FlatTreeControl((node) => node.level, (node) => node.isExpandable);
|
|
34
35
|
}
|
|
35
36
|
get columns() {
|
|
36
37
|
return [...this._columns];
|
|
37
38
|
}
|
|
39
|
+
set items(items) {
|
|
40
|
+
this.dataSource = this.buildTreeFlatDatasource(items, this.childrenKey);
|
|
41
|
+
}
|
|
42
|
+
buildTreeFlatDatasource(data, key = 'children') {
|
|
43
|
+
const treeFlattener = new MatTreeFlattener((node, level) => ({
|
|
44
|
+
...node,
|
|
45
|
+
isExpandable: (node[key] ?? []).length > 0,
|
|
46
|
+
level,
|
|
47
|
+
}), (node) => node.level, (node) => node.isExpandable, (node) => node[key]);
|
|
48
|
+
return new MatTreeFlatDataSource(this.treeControl, treeFlattener, data);
|
|
49
|
+
}
|
|
38
50
|
}
|
|
39
51
|
SmartTableOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
SmartTableOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartTableOrganism, selector: "organisms-smart-table", inputs: { _columns: ["columns", "_columns"], items: "items", itemActions: "itemActions", pageSize: "pageSize", selectedIdSet: "selectedIdSet", sort: "sort" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, host: { classAttribute: "organism" }, ngImport: i0, template: "<table mat-table [dataSource]=\"
|
|
52
|
+
SmartTableOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartTableOrganism, isStandalone: true, selector: "organisms-smart-table", inputs: { _columns: ["columns", "_columns"], childrenKey: "childrenKey", items: "items", itemActions: "itemActions", pageSize: "pageSize", selectedIdSet: "selectedIdSet", sort: "sort" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, host: { classAttribute: "organism" }, ngImport: i0, template: "<table mat-table [dataSource]=\"dataSource\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <ng-container *ngSwitchDefault>\n <molecules-tree-column\n *ngIf=\"name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n [treeControl]=\"treeControl\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-tree-column>\n <molecules-smart-column\n *ngIf=\"!name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n</table>\n", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-iRWc: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-iRWc: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-iRWc: var(--column-vertical-padding)}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-iRWc)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-iRWc) - var(--cell-SCOPED-IN-smart-table-iRWc) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-iRWc) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-iRWc) * 2)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: DomainModule }, { kind: "pipe", type: i2.DomainPipe, name: "D" }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i3.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: ["name", "itemActions"], outputs: ["action"] }, { kind: "component", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: ["name", "selectedIdSet"], outputs: ["checkboxClick"] }, { kind: "component", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: ["sort"], outputs: ["headerClick"] }, { kind: "component", type: TreeColumnMolecule, selector: "molecules-tree-column", inputs: ["sort", "treeControl"], outputs: ["headerClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableOrganism, decorators: [{
|
|
42
54
|
type: Component,
|
|
43
|
-
args: [{ selector: 'organisms-smart-table',
|
|
55
|
+
args: [{ selector: 'organisms-smart-table', standalone: true, imports: [
|
|
56
|
+
CommonModule,
|
|
57
|
+
DomainModule,
|
|
58
|
+
MatTableModule,
|
|
59
|
+
MatCheckboxModule,
|
|
60
|
+
MatMenuModule,
|
|
61
|
+
MatButtonModule,
|
|
62
|
+
MatIconModule,
|
|
63
|
+
ActionsColumnMolecule,
|
|
64
|
+
CheckboxColumnMolecule,
|
|
65
|
+
SmartColumnMolecule,
|
|
66
|
+
TreeColumnMolecule,
|
|
67
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"dataSource\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <ng-container *ngSwitchDefault>\n <molecules-tree-column\n *ngIf=\"name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n [treeControl]=\"treeControl\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-tree-column>\n <molecules-smart-column\n *ngIf=\"!name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n</table>\n", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-iRWc: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-iRWc: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-iRWc: var(--column-vertical-padding)}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-iRWc)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-iRWc) - var(--cell-SCOPED-IN-smart-table-iRWc) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-iRWc) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-iRWc) * 2)}\n"] }]
|
|
44
68
|
}], propDecorators: { _columns: [{
|
|
45
69
|
type: Input,
|
|
46
70
|
args: ['columns']
|
|
71
|
+
}], childrenKey: [{
|
|
72
|
+
type: Input
|
|
47
73
|
}], items: [{
|
|
48
74
|
type: Input
|
|
49
75
|
}], itemActions: [{
|
|
@@ -66,65 +92,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
66
92
|
type: Output
|
|
67
93
|
}] } });
|
|
68
94
|
|
|
69
|
-
class SmartTableModule {
|
|
70
|
-
}
|
|
71
|
-
SmartTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
72
|
-
SmartTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, declarations: [SmartTableOrganism], imports: [CommonModule,
|
|
73
|
-
// Pipes
|
|
74
|
-
DomainModule,
|
|
75
|
-
// Material
|
|
76
|
-
MatLegacyTableModule,
|
|
77
|
-
MatLegacyCheckboxModule,
|
|
78
|
-
MatLegacyMenuModule,
|
|
79
|
-
MatLegacyButtonModule,
|
|
80
|
-
MatIconModule,
|
|
81
|
-
// Molecules
|
|
82
|
-
ActionsColumnModule,
|
|
83
|
-
CheckboxColumnModule,
|
|
84
|
-
SmartColumnModule], exports: [SmartTableOrganism] });
|
|
85
|
-
SmartTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, imports: [CommonModule,
|
|
86
|
-
// Pipes
|
|
87
|
-
DomainModule,
|
|
88
|
-
// Material
|
|
89
|
-
MatLegacyTableModule,
|
|
90
|
-
MatLegacyCheckboxModule,
|
|
91
|
-
MatLegacyMenuModule,
|
|
92
|
-
MatLegacyButtonModule,
|
|
93
|
-
MatIconModule,
|
|
94
|
-
// Molecules
|
|
95
|
-
ActionsColumnModule,
|
|
96
|
-
CheckboxColumnModule,
|
|
97
|
-
SmartColumnModule] });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, decorators: [{
|
|
99
|
-
type: NgModule,
|
|
100
|
-
args: [{
|
|
101
|
-
declarations: [
|
|
102
|
-
SmartTableOrganism,
|
|
103
|
-
],
|
|
104
|
-
imports: [
|
|
105
|
-
CommonModule,
|
|
106
|
-
// Pipes
|
|
107
|
-
DomainModule,
|
|
108
|
-
// Material
|
|
109
|
-
MatLegacyTableModule,
|
|
110
|
-
MatLegacyCheckboxModule,
|
|
111
|
-
MatLegacyMenuModule,
|
|
112
|
-
MatLegacyButtonModule,
|
|
113
|
-
MatIconModule,
|
|
114
|
-
// Molecules
|
|
115
|
-
ActionsColumnModule,
|
|
116
|
-
CheckboxColumnModule,
|
|
117
|
-
SmartColumnModule,
|
|
118
|
-
],
|
|
119
|
-
exports: [
|
|
120
|
-
SmartTableOrganism
|
|
121
|
-
]
|
|
122
|
-
}]
|
|
123
|
-
}] });
|
|
124
|
-
|
|
125
95
|
/**
|
|
126
96
|
* Generated bundle index. Do not edit.
|
|
127
97
|
*/
|
|
128
98
|
|
|
129
|
-
export {
|
|
99
|
+
export { SmartTableOrganism };
|
|
130
100
|
//# sourceMappingURL=ng-atomic-components-organisms-smart-table.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnMolecule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnMolecule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnMolecule } from '@ng-atomic/components/molecules/smart-column';\nimport { Actions, Action } from '@ng-atomic/common/models';\n\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport {\n MatTreeFlatDataSource,\n MatTreeFlattener,\n} from '@angular/material/tree';\nimport { DataSource } from '@angular/cdk/collections';\nimport { TreeColumnMolecule } from '@ng-atomic/components/molecules/tree-column';\n\ninterface Sort {\n key?: string;\n order?: 'desc' | 'asc';\n}\n\n@Component({\n selector: 'organisms-smart-table',\n standalone: true,\n imports: [\n CommonModule,\n DomainModule,\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n ActionsColumnMolecule,\n CheckboxColumnMolecule,\n SmartColumnMolecule,\n TreeColumnMolecule,\n ],\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n protected dataSource: DataSource<Item>;\n\n @Input('columns')\n _columns: (keyof Item)[] = [];\n\n get columns(): (keyof Item | string)[] {\n return [...this._columns];\n }\n\n @Input()\n childrenKey = 'children';\n\n @Input()\n // items: Item[] = [];\n set items(items: Item[]) {\n this.dataSource = this.buildTreeFlatDatasource(items, this.childrenKey);\n }\n\n @Input()\n itemActions: Actions = () => [];\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sort: Sort = {};\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n protected trackByColumnName = (columnName: string) => columnName;\n\n protected treeControl = new FlatTreeControl<any>(\n (node) => node.level,\n (node) => node.isExpandable\n );\n\n buildTreeFlatDatasource<T = any>(data: T[], key = 'children') {\n const treeFlattener = new MatTreeFlattener(\n (node: any, level: number) => ({\n ...node,\n isExpandable: (node[key] ?? []).length > 0,\n level,\n }),\n (node) => node.level,\n (node) => node.isExpandable,\n (node) => node[key]\n );\n \n return new MatTreeFlatDataSource(this.treeControl, treeFlattener, data);\n }\n}\n","<table mat-table [dataSource]=\"dataSource\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <ng-container *ngSwitchDefault>\n <molecules-tree-column\n *ngIf=\"name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n [treeControl]=\"treeControl\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-tree-column>\n <molecules-smart-column\n *ngIf=\"!name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n</table>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MA+Ca,kBAAkB,CAAA;AArB/B,IAAA,WAAA,GAAA;QA0BE,IAAQ,CAAA,QAAA,GAAmB,EAAE,CAAC;QAO9B,IAAW,CAAA,WAAA,GAAG,UAAU,CAAC;AASzB,QAAA,IAAA,CAAA,WAAW,GAAY,MAAM,EAAE,CAAC;QAGhC,IAAQ,CAAA,QAAA,GAAW,CAAC,CAAC;AAGrB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;QAGlC,IAAI,CAAA,IAAA,GAAS,EAAE,CAAC;AAGhB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AAGpC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAU,CAAC;AAGzC,QAAA,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AA,EAAA,CAAA,CAAA;2FAOT,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBArB9B,SAAS;+BACE,uBAAuB,EAAA,UAAA,EACrB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,cAAc;wBACd,iBAAiB;wBACjB,aAAa;wBACb,eAAe;wBACf,aAAa;wBACb,qBAAqB;wBACrB,sBAAsB;wBACtB,mBAAmB;wBACnB,kBAAkB;qBACnB,EAGgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC,EAAC,KAAK,EAAE,UAAU,EAAC,EAAA,QAAA,EAAA,0+CAAA,EAAA,MAAA,EAAA,CAAA,65BAAA,CAAA,EAAA,CAAA;8BAOzB,QAAQ,EAAA,CAAA;sBADP,KAAK;uBAAC,SAAS,CAAA;gBAQhB,WAAW,EAAA,CAAA;sBADV,KAAK;gBAKF,KAAK,EAAA,CAAA;sBAFR,KAAK;gBAON,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,QAAQ,EAAA,CAAA;sBADP,KAAK;gBAIN,aAAa,EAAA,CAAA;sBADZ,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;gBAIP,WAAW,EAAA,CAAA;sBADV,MAAM;gBAIP,aAAa,EAAA,CAAA;sBADZ,MAAM;gBAIP,UAAU,EAAA,CAAA;sBADT,MAAM;gBAIP,SAAS,EAAA,CAAA;sBADR,MAAM;;;AE3FT;;AAEG;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, Output, NgModule } from '@angular/core';
|
|
3
1
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, Output } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/material/button';
|
|
5
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
6
6
|
|
|
7
7
|
class SocialLoginSectionOrganism {
|
|
8
8
|
constructor() {
|
|
@@ -10,43 +10,20 @@ class SocialLoginSectionOrganism {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
SocialLoginSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
SocialLoginSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SocialLoginSectionOrganism, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
13
|
+
SocialLoginSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SocialLoginSectionOrganism, isStandalone: true, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-qt7N: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-qt7N);box-sizing:border-box}:host button{width:100%;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionOrganism, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
|
-
args: [{ selector: 'organisms-social-login-section',
|
|
16
|
+
args: [{ selector: 'organisms-social-login-section', standalone: true, imports: [
|
|
17
|
+
CommonModule,
|
|
18
|
+
MatButtonModule,
|
|
19
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-qt7N: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-qt7N);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
|
|
17
20
|
}], propDecorators: { signInWithGoogleButtonClick: [{
|
|
18
21
|
type: Output
|
|
19
22
|
}] } });
|
|
20
23
|
|
|
21
|
-
class SocialLoginSectionModule {
|
|
22
|
-
}
|
|
23
|
-
SocialLoginSectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
|
-
SocialLoginSectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, declarations: [SocialLoginSectionOrganism], imports: [CommonModule,
|
|
25
|
-
// Material
|
|
26
|
-
MatLegacyButtonModule], exports: [SocialLoginSectionOrganism] });
|
|
27
|
-
SocialLoginSectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, imports: [CommonModule,
|
|
28
|
-
// Material
|
|
29
|
-
MatLegacyButtonModule] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, decorators: [{
|
|
31
|
-
type: NgModule,
|
|
32
|
-
args: [{
|
|
33
|
-
declarations: [
|
|
34
|
-
SocialLoginSectionOrganism
|
|
35
|
-
],
|
|
36
|
-
imports: [
|
|
37
|
-
CommonModule,
|
|
38
|
-
// Material
|
|
39
|
-
MatLegacyButtonModule,
|
|
40
|
-
],
|
|
41
|
-
exports: [
|
|
42
|
-
SocialLoginSectionOrganism
|
|
43
|
-
]
|
|
44
|
-
}]
|
|
45
|
-
}] });
|
|
46
|
-
|
|
47
24
|
/**
|
|
48
25
|
* Generated bundle index. Do not edit.
|
|
49
26
|
*/
|
|
50
27
|
|
|
51
|
-
export {
|
|
28
|
+
export { SocialLoginSectionOrganism };
|
|
52
29
|
//# sourceMappingURL=ng-atomic-components-organisms-social-login-section.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-social-login-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-social-login-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'organisms-social-login-section',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonModule,\n ],\n templateUrl: './social-login-section.organism.html',\n styleUrls: ['./social-login-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SocialLoginSectionOrganism {\n\n @Output()\n signInWithGoogleButtonClick = new EventEmitter<void>();\n \n}\n","<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Googleアカウントでログイン</button>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,0BAA0B,CAAA;AAXvC,IAAA,WAAA,GAAA;AAcE,QAAA,IAAA,CAAA,2BAA2B,GAAG,IAAI,YAAY,EAAQ,CAAC;AAExD,KAAA;;uHALY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,ECfvC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,OAAA,EAAA,EAAA,2BAAA,EAAA,6BAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,sLAI0B,EDItB,MAAA,EAAA,CAAA,gQAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,8BACZ,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,QAAA,EAAA,6GAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,eAAA,EAAA,OAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FAMN,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAXtC,SAAS;+BACE,gCAAgC,EAAA,UAAA,EAC9B,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,eAAe;qBAChB,EAGgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sLAAA,EAAA,MAAA,EAAA,CAAA,gQAAA,CAAA,EAAA,CAAA;8BAK/C,2BAA2B,EAAA,CAAA;sBAD1B,MAAM;;;AEjBT;;AAEG;;;;"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input
|
|
3
|
+
import { Component, Input } from '@angular/core';
|
|
3
4
|
import { FormControl } from '@angular/forms';
|
|
4
|
-
import
|
|
5
|
-
import { TextInputFieldModule } from '@ng-atomic/components/molecules/text-input-field';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { TextInputFieldMolecule } from '@ng-atomic/components/molecules/text-input-field';
|
|
7
6
|
|
|
8
7
|
class TextInputSectionOrganism {
|
|
9
8
|
constructor() {
|
|
@@ -14,10 +13,13 @@ class TextInputSectionOrganism {
|
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
TextInputSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
TextInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextInputSectionOrganism, selector: "organisms-text-input-section", inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, ngImport: i0, template: "<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
16
|
+
TextInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextInputSectionOrganism, isStandalone: true, selector: "organisms-text-input-section", inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, ngImport: i0, template: "<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-RdPG: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-RdPG);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint"] }] });
|
|
18
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
|
|
19
18
|
type: Component,
|
|
20
|
-
args: [{ selector: 'organisms-text-input-section',
|
|
19
|
+
args: [{ selector: 'organisms-text-input-section', standalone: true, imports: [
|
|
20
|
+
CommonModule,
|
|
21
|
+
TextInputFieldMolecule,
|
|
22
|
+
], template: "<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-RdPG: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-RdPG);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
21
23
|
}], propDecorators: { label: [{
|
|
22
24
|
type: Input
|
|
23
25
|
}], placeholder: [{
|
|
@@ -30,35 +32,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
30
32
|
type: Input
|
|
31
33
|
}] } });
|
|
32
34
|
|
|
33
|
-
class TextInputSectionModule {
|
|
34
|
-
}
|
|
35
|
-
TextInputSectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
-
TextInputSectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, declarations: [TextInputSectionOrganism], imports: [CommonModule,
|
|
37
|
-
// Molecules
|
|
38
|
-
TextInputFieldModule], exports: [TextInputSectionOrganism] });
|
|
39
|
-
TextInputSectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, imports: [CommonModule,
|
|
40
|
-
// Molecules
|
|
41
|
-
TextInputFieldModule] });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, decorators: [{
|
|
43
|
-
type: NgModule,
|
|
44
|
-
args: [{
|
|
45
|
-
declarations: [
|
|
46
|
-
TextInputSectionOrganism
|
|
47
|
-
],
|
|
48
|
-
imports: [
|
|
49
|
-
CommonModule,
|
|
50
|
-
// Molecules
|
|
51
|
-
TextInputFieldModule,
|
|
52
|
-
],
|
|
53
|
-
exports: [
|
|
54
|
-
TextInputSectionOrganism
|
|
55
|
-
]
|
|
56
|
-
}]
|
|
57
|
-
}] });
|
|
58
|
-
|
|
59
35
|
/**
|
|
60
36
|
* Generated bundle index. Do not edit.
|
|
61
37
|
*/
|
|
62
38
|
|
|
63
|
-
export {
|
|
39
|
+
export { TextInputSectionOrganism };
|
|
64
40
|
//# sourceMappingURL=ng-atomic-components-organisms-text-input-section.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-text-input-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-text-input-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { TextInputFieldMolecule } from '@ng-atomic/components/molecules/text-input-field';\n\n@Component({\n selector: 'organisms-text-input-section',\n standalone: true,\n imports: [\n CommonModule,\n TextInputFieldMolecule,\n ],\n templateUrl: './text-input-section.organism.html',\n styleUrls: ['./text-input-section.organism.scss']\n})\nexport class TextInputSectionOrganism {\n \n @Input()\n label = 'label';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n hint?: string;\n\n @Input()\n control = new FormControl('');\n\n}\n","<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,wBAAwB,CAAA;AAVrC,IAAA,WAAA,GAAA;QAaE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAGhB,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;QAG5B,IAAI,CAAA,IAAA,GA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