@ng-atomic/components 3.3.0 → 3.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/smart-menu-button/smart-menu-button.atom.d.ts +4 -4
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts.map +1 -1
- package/esm2020/atoms/icon/icon.atom.mjs +2 -2
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +16 -15
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2020/frames/drawer/drawer.frame.mjs +2 -2
- package/esm2020/frames/line-up/line-up.animations.mjs +14 -17
- package/esm2020/frames/line-up/line-up.frame.mjs +76 -39
- package/esm2020/frames/line-up/line-up.module.mjs +1 -1
- package/esm2020/frames/line-up/resize-observer.mjs +7 -21
- package/esm2020/frames/overlay/overlay.animations.mjs +4 -4
- package/esm2020/frames/overlay/overlay.frame.mjs +16 -32
- package/esm2020/frames/scroll/scroll.frame.mjs +2 -2
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +9 -9
- package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -4
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
- package/esm2020/molecules/header/header.module.mjs +27 -0
- package/esm2020/molecules/header/header.molecule.mjs +32 -0
- package/esm2020/molecules/header/index.mjs +3 -0
- package/esm2020/molecules/header/ng-atomic-components-molecules-header.mjs +5 -0
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +10 -10
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +10 -10
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +2 -2
- package/esm2020/organisms/heading/heading.organism.mjs +2 -2
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +3 -3
- package/esm2020/organisms/navigator/navigator.organism.mjs +37 -42
- package/esm2020/organisms/paginator/paginator.organism.mjs +5 -5
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +11 -10
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +2 -2
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +10 -10
- package/esm2020/templates/entrance/entrance.template.mjs +5 -5
- package/esm2020/templates/menu/menu.template.mjs +3 -3
- package/esm2020/templates/smart-crud/smart-crud.module.mjs +13 -6
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +63 -51
- package/esm2020/templates/smart-index/smart-index.module.mjs +12 -5
- package/esm2020/templates/smart-index/smart-index.template.mjs +42 -26
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +15 -14
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +94 -74
- package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +17 -35
- package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +8 -8
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +6 -3
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-header.mjs +70 -0
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +41 -42
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +4 -4
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +10 -9
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +4 -4
- package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +75 -56
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +53 -30
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +15 -14
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +93 -74
- package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +17 -33
- package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +8 -8
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +6 -3
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-header.mjs +63 -0
- package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +37 -42
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +4 -4
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +10 -9
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +4 -4
- package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +75 -56
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +53 -30
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/frames/line-up/line-up.animations.d.ts.map +1 -1
- package/frames/line-up/line-up.frame.d.ts +30 -17
- package/frames/line-up/line-up.frame.d.ts.map +1 -1
- package/frames/line-up/resize-observer.d.ts +2 -15
- package/frames/line-up/resize-observer.d.ts.map +1 -1
- package/frames/overlay/overlay.animations.d.ts +1 -1
- package/frames/overlay/overlay.animations.d.ts.map +1 -1
- package/frames/overlay/overlay.frame.d.ts +2 -5
- package/frames/overlay/overlay.frame.d.ts.map +1 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +4 -4
- package/molecules/actions-column/actions-column.molecule.d.ts.map +1 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts.map +1 -1
- package/molecules/header/header.module.d.ts +9 -0
- package/molecules/header/header.module.d.ts.map +1 -0
- package/molecules/header/header.molecule.d.ts +8 -0
- package/molecules/header/header.molecule.d.ts.map +1 -0
- package/molecules/header/index.d.ts +3 -0
- package/molecules/header/index.d.ts.map +1 -0
- package/molecules/header/ng-atomic-components-molecules-header.d.ts +6 -0
- package/molecules/header/ng-atomic-components-molecules-header.d.ts.map +1 -0
- package/molecules/header/package.json +10 -0
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +5 -5
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts.map +1 -1
- package/organisms/back-navigator/back-navigator.organism.d.ts +4 -4
- package/organisms/back-navigator/back-navigator.organism.d.ts.map +1 -1
- package/organisms/navigation-list/navigation-list.organism.d.ts +1 -1
- package/organisms/navigation-list/navigation-list.organism.d.ts.map +1 -1
- package/organisms/navigator/navigator.organism.d.ts +5 -8
- package/organisms/navigator/navigator.organism.d.ts.map +1 -1
- package/organisms/smart-table/smart-table.organism.d.ts +5 -4
- package/organisms/smart-table/smart-table.organism.d.ts.map +1 -1
- package/organisms/top-navigator/top-navigator.organism.d.ts +3 -3
- package/organisms/top-navigator/top-navigator.organism.d.ts.map +1 -1
- package/package.json +13 -20
- package/templates/menu/menu.template.d.ts +1 -1
- package/templates/menu/menu.template.d.ts.map +1 -1
- package/templates/smart-crud/smart-crud.module.d.ts +3 -2
- package/templates/smart-crud/smart-crud.module.d.ts.map +1 -1
- package/templates/smart-crud/smart-crud.template.d.ts +16 -6
- package/templates/smart-crud/smart-crud.template.d.ts.map +1 -1
- package/templates/smart-index/smart-index.module.d.ts +3 -2
- package/templates/smart-index/smart-index.module.d.ts.map +1 -1
- package/templates/smart-index/smart-index.template.d.ts +13 -5
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
- package/esm2020/frames/line-up-v2/index.mjs +0 -3
- package/esm2020/frames/line-up-v2/line-up.animations.mjs +0 -64
- package/esm2020/frames/line-up-v2/line-up.frame.mjs +0 -110
- package/esm2020/frames/line-up-v2/line-up.module.mjs +0 -27
- package/esm2020/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.mjs +0 -5
- package/esm2020/frames/line-up-v2/resize-observer.mjs +0 -13
- package/esm2020/frames/overlay-v2/index.mjs +0 -3
- package/esm2020/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.mjs +0 -5
- package/esm2020/frames/overlay-v2/overlay.animations.mjs +0 -28
- package/esm2020/frames/overlay-v2/overlay.frame.mjs +0 -30
- package/esm2020/frames/overlay-v2/overlay.module.mjs +0 -29
- package/fesm2015/ng-atomic-components-frames-line-up-v2.mjs +0 -228
- package/fesm2015/ng-atomic-components-frames-line-up-v2.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-overlay-v2.mjs +0 -99
- package/fesm2015/ng-atomic-components-frames-overlay-v2.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-line-up-v2.mjs +0 -213
- package/fesm2020/ng-atomic-components-frames-line-up-v2.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-overlay-v2.mjs +0 -90
- package/fesm2020/ng-atomic-components-frames-overlay-v2.mjs.map +0 -1
- package/frames/line-up-v2/index.d.ts +0 -3
- package/frames/line-up-v2/index.d.ts.map +0 -1
- package/frames/line-up-v2/line-up.animations.d.ts +0 -2
- package/frames/line-up-v2/line-up.animations.d.ts.map +0 -1
- package/frames/line-up-v2/line-up.frame.d.ts +0 -36
- package/frames/line-up-v2/line-up.frame.d.ts.map +0 -1
- package/frames/line-up-v2/line-up.module.d.ts +0 -10
- package/frames/line-up-v2/line-up.module.d.ts.map +0 -1
- package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts +0 -6
- package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts.map +0 -1
- package/frames/line-up-v2/package.json +0 -10
- package/frames/line-up-v2/resize-observer.d.ts +0 -4
- package/frames/line-up-v2/resize-observer.d.ts.map +0 -1
- package/frames/overlay-v2/index.d.ts +0 -3
- package/frames/overlay-v2/index.d.ts.map +0 -1
- package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts +0 -6
- package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts.map +0 -1
- package/frames/overlay-v2/overlay.animations.d.ts +0 -2
- package/frames/overlay-v2/overlay.animations.d.ts.map +0 -1
- package/frames/overlay-v2/overlay.frame.d.ts +0 -7
- package/frames/overlay-v2/overlay.frame.d.ts.map +0 -1
- package/frames/overlay-v2/overlay.module.d.ts +0 -10
- package/frames/overlay-v2/overlay.module.d.ts.map +0 -1
- package/frames/overlay-v2/package.json +0 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [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 [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-smart-table',\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 @Input()\n columns: (keyof Item)[] = [];\n\n get displayedColumns(): (keyof Item | string)[] {\n return [...this.columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n patientsSize: number = 0;\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: 'asc' | 'desc';\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, Item]>();\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}\n","import { NgModule } 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 { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAEI,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,2BAAA,EAAA,CAAA,CAAA,CAAA;AADC,IAAA,EAAA,CAAA,UAAA,CAAA,eAAA,EAAA,SAAA,yHAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAiB,iCAA0B,CAAC,EAAA,CAAA,CAAA;IAC7C,EAA4B,CAAA,YAAA,EAAA,CAAA;;;IAF3B,EAA+B,CAAA,UAAA,CAAA,eAAA,EAAA,MAAA,CAAA,aAAA,CAAA,C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,aAAa;;QAEb,mBAAmB;QACnB,oBAAoB;AACpB,QAAA,iBAAiB,aAGjB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AClCtB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [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 [items]=\"menuItems\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-smart-table',\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 @Input()\n columns: (keyof Item)[] = [];\n\n get displayedColumns(): (keyof Item | string)[] {\n return [...this.columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n patientsSize: number = 0;\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n menuItems: ActionItem[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: 'asc' | 'desc';\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 trackByColumnName = (columnName: string) => columnName;\n}\n","import { NgModule } 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 { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAEI,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,2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E;oBACZ,kBAAkB;AACnB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,YAAY;;oBAEZ,cAAc;oBACd,iBAAiB;oBACjB,aAAa;oBACb,eAAe;oBACf,aAAa;;oBAEb,mBAAmB;oBACnB,oBAAoB;oBACpB,iBAAiB;AAClB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,kBAAkB;AACnB,iBAAA;AACF,aAAA,CAAA;;wFACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CArBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;QAEZ,YAAY;;QAEZ,cAAc;QACd,iBAAiB;QACjB,aAAa;QACb,eAAe;QACf,aAAa;;QAEb,mBAAmB;QACnB,oBAAoB;AACpB,QAAA,iBAAiB,aAGjB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AClCtB;;AAEG;;;;"}
|
|
@@ -15,10 +15,10 @@ SocialLoginSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
15
15
|
i0.ɵɵlistener("click", function SocialLoginSectionOrganism_Template_button_click_0_listener() { return ctx.signInWithGoogleButtonClick.emit(); });
|
|
16
16
|
i0.ɵɵtext(1, "Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3");
|
|
17
17
|
i0.ɵɵelementEnd();
|
|
18
|
-
} }, directives: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
18
|
+
} }, directives: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-GG63: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-GG63);box-sizing:border-box}[_nghost-%COMP%] button[_ngcontent-%COMP%]{width:100%;height:56px}"], changeDetection: 0 });
|
|
19
19
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SocialLoginSectionOrganism, [{
|
|
20
20
|
type: Component,
|
|
21
|
-
args: [{ selector: 'organisms-social-login-section', 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-
|
|
21
|
+
args: [{ selector: 'organisms-social-login-section', 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-GG63: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-GG63);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
|
|
22
22
|
}], null, { signInWithGoogleButtonClick: [{
|
|
23
23
|
type: Output
|
|
24
24
|
}] }); })();
|
|
@@ -18,10 +18,10 @@ TextInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Te
|
|
|
18
18
|
i0.ɵɵelement(0, "molecules-text-input-field", 0);
|
|
19
19
|
} if (rf & 2) {
|
|
20
20
|
i0.ɵɵproperty("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
21
|
-
} }, directives: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
21
|
+
} }, directives: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-AM8D: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-AM8D);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%], [_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"] });
|
|
22
22
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextInputSectionOrganism, [{
|
|
23
23
|
type: Component,
|
|
24
|
-
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n type=\"text\"\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-
|
|
24
|
+
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n type=\"text\"\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-AM8D: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-AM8D);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
25
25
|
}], null, { label: [{
|
|
26
26
|
type: Input
|
|
27
27
|
}], placeholder: [{
|
|
@@ -14,10 +14,10 @@ TextareaSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Tex
|
|
|
14
14
|
i0.ɵɵelement(0, "molecules-textarea-field", 0);
|
|
15
15
|
} if (rf & 2) {
|
|
16
16
|
i0.ɵɵproperty("label", ctx.label);
|
|
17
|
-
} }, directives: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
17
|
+
} }, directives: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-7hHm: var(--vertical-padding)}[_nghost-%COMP%]{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-7hHm);box-sizing:border-box}[_nghost-%COMP%] molecules-textarea-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
18
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaSectionOrganism, [{
|
|
19
19
|
type: Component,
|
|
20
|
-
args: [{ selector: 'organisms-textarea-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-textarea-field\n [label]=\"label\"\n></molecules-textarea-field>", styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
20
|
+
args: [{ selector: 'organisms-textarea-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-textarea-field\n [label]=\"label\"\n></molecules-textarea-field>", styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-7hHm: var(--vertical-padding)}:host{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-7hHm);box-sizing:border-box}:host molecules-textarea-field{width:100%}\n"] }]
|
|
21
21
|
}], null, { label: [{
|
|
22
22
|
type: Input
|
|
23
23
|
}] }); })();
|
|
@@ -9,33 +9,33 @@ import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-bu
|
|
|
9
9
|
|
|
10
10
|
class TopNavigatorOrganism {
|
|
11
11
|
constructor() {
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
12
|
+
this.items = [];
|
|
13
|
+
this.action = new EventEmitter();
|
|
14
14
|
this.id = (item) => item.id;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
TopNavigatorOrganism.ɵfac = function TopNavigatorOrganism_Factory(t) { return new (t || TopNavigatorOrganism)(); };
|
|
18
|
-
TopNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavigatorOrganism, selectors: [["organisms-top-navigator"]], inputs: { title: "title",
|
|
18
|
+
TopNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavigatorOrganism, selectors: [["organisms-top-navigator"]], inputs: { title: "title", items: "items" }, outputs: { action: "action" }, decls: 5, vars: 2, consts: [["color", "primary"], [1, "title-container"], [3, "items", "action"]], template: function TopNavigatorOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
19
19
|
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "div", 1);
|
|
20
20
|
i0.ɵɵtext(2);
|
|
21
21
|
i0.ɵɵelementEnd();
|
|
22
22
|
i0.ɵɵelementStart(3, "div")(4, "atoms-smart-menu-button", 2);
|
|
23
|
-
i0.ɵɵlistener("
|
|
23
|
+
i0.ɵɵlistener("action", function TopNavigatorOrganism_Template_atoms_smart_menu_button_action_4_listener($event) { return ctx.action.emit($event); });
|
|
24
24
|
i0.ɵɵelementEnd()()();
|
|
25
25
|
} if (rf & 2) {
|
|
26
26
|
i0.ɵɵadvance(2);
|
|
27
27
|
i0.ɵɵtextInterpolate1(" ", ctx.title || "", " ");
|
|
28
28
|
i0.ɵɵadvance(2);
|
|
29
|
-
i0.ɵɵproperty("
|
|
30
|
-
} }, directives: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-
|
|
29
|
+
i0.ɵɵproperty("items", ctx.items);
|
|
30
|
+
} }, directives: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-5UJb: var(--primary-500)}[_nghost-%COMP%]{width:100%;height:56px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:0 24px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{color:var(--primary-500-SCOPED-IN-top-navigator-5UJb);font-size:1.25rem;line-height:21px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] atoms-kurakatsu-logo[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] atoms-user-icon[_ngcontent-%COMP%]{width:32px;height:32px}"], changeDetection: 0 });
|
|
31
31
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopNavigatorOrganism, [{
|
|
32
32
|
type: Component,
|
|
33
|
-
args: [{ selector: 'organisms-top-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [
|
|
33
|
+
args: [{ selector: 'organisms-top-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--primary-500-SCOPED-IN-top-navigator-5UJb: var(--primary-500)}:host{width:100%;height:56px}:host mat-toolbar{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:0 24px}:host mat-toolbar .title-container{color:var(--primary-500-SCOPED-IN-top-navigator-5UJb);font-size:1.25rem;line-height:21px}:host mat-toolbar .title-container atoms-kurakatsu-logo{width:auto}:host mat-toolbar atoms-user-icon{width:32px;height:32px}\n"] }]
|
|
34
34
|
}], null, { title: [{
|
|
35
35
|
type: Input
|
|
36
|
-
}],
|
|
36
|
+
}], items: [{
|
|
37
37
|
type: Input
|
|
38
|
-
}],
|
|
38
|
+
}], action: [{
|
|
39
39
|
type: Output
|
|
40
40
|
}] }); })();
|
|
41
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-top-navigator.mjs","sources":["../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.ts","../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.html","../../../../libs/components/src/organisms/top-navigator/top-navigator.module.ts","../../../../libs/components/src/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-top-navigator',\n templateUrl: './top-navigator.organism.html',\n styleUrls: ['./top-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TopNavigatorOrganism {\n\n @Input()\n title?: string;\n\n @Input()\n
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-top-navigator.mjs","sources":["../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.ts","../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.html","../../../../libs/components/src/organisms/top-navigator/top-navigator.module.ts","../../../../libs/components/src/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-top-navigator',\n templateUrl: './top-navigator.organism.html',\n styleUrls: ['./top-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TopNavigatorOrganism {\n\n @Input()\n title?: string;\n\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<ActionItem>();\n \n id = (item: {id: string}) => item.id;\n\n}\n","<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { TopNavigatorOrganism } from './top-navigator.organism';\n\n\n@NgModule({\n declarations: [\n TopNavigatorOrganism\n ],\n imports: [\n CommonModule,\n // Material\n MatToolbarModule,\n MatMenuModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [\n TopNavigatorOrganism\n ]\n})\nexport class TopNavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,oBAAoB,CAAA;AANjC,IAAA,WAAA,GAAA;QAYE,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;AAGzB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAc,CAAC;QAExC,IAAE,CAAA,EAAA,GAAG,CAAC,IAAkB,KAAK,IAAI,CAAC,EAAE,CAAC;AAEtC,KAAA;;wFAbY,oBAAoB,GAAA,CAAA,EAAA,CAAA;uEAApB,oBAAoB,EAAA,SAAA,EAAA,CAAA,CAAA,yBAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,CAAA,CAAA,EAAA,iBAAA,CAAA,EAAA,CAAA,CAAA,EAAA,OAAA,EAAA,QAAA,CAAA,CAAA,EAAA,QAAA,EAAA,SAAA,6BAAA,CAAA,EAAA,EAAA,GAAA,EAAA,EAAA,IAAA,EAAA,GAAA,CAAA,EAAA;ACVjC,QAAA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,aAAA,EAAA,CAAA,CAA6B,CAAA,CAAA,EAAA,KAAA,EAAA,CAAA,CAAA,CAAA;QAEzB,EACF,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;QAAA,EAAM,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BACZ,oBAAoB;AACrB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,gBAAgB;oBAChB,aAAa;;oBAEb,qBAAqB;AACtB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,oBAAoB;AACrB,iBAAA;AACF,aAAA,CAAA;;wFACY,kBAAkB,EAAA,EAAA,YAAA,EAAA,CAd3B,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAGpB,YAAY;;QAEZ,gBAAgB;QAChB,aAAa;;AAEb,QAAA,qBAAqB,aAGrB,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACrBxB;;AAEG;;;;"}
|
|
@@ -42,7 +42,7 @@ class EntranceTemplate {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
EntranceTemplate.ɵfac = function EntranceTemplate_Factory(t) { return new (t || EntranceTemplate)(); };
|
|
45
|
-
EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTemplate, selectors: [["templates-entrance"]], hostAttrs: [1, "template"], inputs: { form: "form", isEmailSectionShown: "isEmailSectionShown", isPasswordSectionShown: "isPasswordSectionShown", actionItems: "actionItems" }, outputs: { submitButtonClick: "submitButtonClick", signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, decls: 8, vars: 3, consts: [["vertical", ""], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control", 4, "ngIf"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control", 4, "ngIf"], [3, "
|
|
45
|
+
EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTemplate, selectors: [["templates-entrance"]], hostAttrs: [1, "template"], inputs: { form: "form", isEmailSectionShown: "isEmailSectionShown", isPasswordSectionShown: "isPasswordSectionShown", actionItems: "actionItems" }, outputs: { submitButtonClick: "submitButtonClick", signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, decls: 8, vars: 3, consts: [["vertical", ""], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control", 4, "ngIf"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control", 4, "ngIf"], [3, "items"], [3, "signInWithGoogleButtonClick"], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control"]], template: function EntranceTemplate_Template(rf, ctx) { if (rf & 1) {
|
|
46
46
|
i0.ɵɵelementStart(0, "frames-card")(1, "frames-auto-layout", 0)(2, "organisms-heading");
|
|
47
47
|
i0.ɵɵtext(3, "\u30ED\u30B0\u30A4\u30F3");
|
|
48
48
|
i0.ɵɵelementEnd();
|
|
@@ -58,11 +58,11 @@ EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTe
|
|
|
58
58
|
i0.ɵɵadvance(1);
|
|
59
59
|
i0.ɵɵproperty("ngIf", ctx.isPasswordSectionShown);
|
|
60
60
|
i0.ɵɵadvance(1);
|
|
61
|
-
i0.ɵɵproperty("
|
|
62
|
-
} }, directives: [i1.CardFrame, i2.AutoLayoutFrame, i3.HeadingOrganism, i4.NgIf, i5.TextInputSectionOrganism, i6.ActionButtonsSectionOrganism, i7.SocialLoginSectionOrganism], styles: ["[_nghost-%COMP%]{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
61
|
+
i0.ɵɵproperty("items", ctx.actionItems);
|
|
62
|
+
} }, directives: [i1.CardFrame, i2.AutoLayoutFrame, i3.HeadingOrganism, i4.NgIf, i5.TextInputSectionOrganism, i6.ActionButtonsSectionOrganism, i7.SocialLoginSectionOrganism], styles: ["[_nghost-%COMP%]{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-o0cc: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-o0cc: var(--background-color)}[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-o0cc);width:100%;height:100%}[_nghost-%COMP%] frames-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}[_nghost-%COMP%] frames-card[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-o0cc)}"], changeDetection: 0 });
|
|
63
63
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntranceTemplate, [{
|
|
64
64
|
type: Component,
|
|
65
|
-
args: [{ selector: 'templates-entrance', host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>\u30ED\u30B0\u30A4\u30F3</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"\u30D1\u30B9\u30EF\u30FC\u30C9\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section
|
|
65
|
+
args: [{ selector: 'templates-entrance', host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>\u30ED\u30B0\u30A4\u30F3</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"\u30D1\u30B9\u30EF\u30FC\u30C9\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section [items]=\"actionItems\"></organisms-action-buttons-section>\n <organisms-social-login-section\n (signInWithGoogleButtonClick)=\"signInWithGoogleButtonClick.emit()\"\n ></organisms-social-login-section>\n </frames-auto-layout>\n</frames-card>\n", styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-o0cc: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-o0cc: var(--background-color)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-o0cc);width:100%;height:100%}:host frames-card{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}:host frames-card *{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-o0cc)}\n"] }]
|
|
66
66
|
}], null, { form: [{
|
|
67
67
|
type: Input
|
|
68
68
|
}], isEmailSectionShown: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-entrance.mjs","sources":["../../../../libs/components/src/templates/entrance/entrance.template.html","../../../../libs/components/src/templates/entrance/entrance.template.ts","../../../../libs/components/src/templates/entrance/entrance.module.ts","../../../../libs/components/src/templates/entrance/ng-atomic-components-templates-entrance.ts"],"sourcesContent":["<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>ログイン</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"メールアドレス\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"パスワード\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-entrance.mjs","sources":["../../../../libs/components/src/templates/entrance/entrance.template.html","../../../../libs/components/src/templates/entrance/entrance.template.ts","../../../../libs/components/src/templates/entrance/entrance.module.ts","../../../../libs/components/src/templates/entrance/ng-atomic-components-templates-entrance.ts"],"sourcesContent":["<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>ログイン</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"メールアドレス\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"パスワード\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section [items]=\"actionItems\"></organisms-action-buttons-section>\n <organisms-social-login-section\n (signInWithGoogleButtonClick)=\"signInWithGoogleButtonClick.emit()\"\n ></organisms-social-login-section>\n </frames-auto-layout>\n</frames-card>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { FormGroup, FormControl} from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'templates-entrance',\n templateUrl: './entrance.template.html',\n styleUrls: ['./entrance.template.scss'],\n host: {class: 'template'},\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EntranceTemplate {\n @Input()\n form = new FormGroup({\n email: new FormControl(''),\n password: new FormControl(''),\n });\n\n @Input()\n isEmailSectionShown = true;\n\n @Input()\n isPasswordSectionShown = true;\n\n @Input()\n actionItems = [];\n\n @Output()\n submitButtonClick = new EventEmitter<void>();\n\n @Output()\n signInWithGoogleButtonClick = new EventEmitter<void>();\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ActionButtonsSectionModule } from '@ng-atomic/components/organisms/action-buttons-section';\nimport { HeadingModule } from '@ng-atomic/components/organisms/heading';\nimport { TextInputSectionModule } from '@ng-atomic/components/organisms/text-input-section';\nimport { SocialLoginSectionModule } from '@ng-atomic/components/organisms/social-login-section';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { CardModule } from '@ng-atomic/components/frames/card';\nimport { EntranceTemplate } from './entrance.template';\n\n\n@NgModule({\n declarations: [\n EntranceTemplate\n ],\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n CardModule,\n // Organisms\n ActionButtonsSectionModule,\n HeadingModule,\n SocialLoginSectionModule,\n TextInputSectionModule,\n ],\n exports: [\n EntranceTemplate\n ],\n bootstrap: [\n EntranceTemplate,\n ]\n})\nexport class EntranceModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;IAGI,EAIgC,CAAA,SAAA,CAAA,CAAA,EAAA,8BAAA,EAAA,CAAA,CAAA,CAAA;;;IAD9B,EAA6B,CAAA,UAAA,CAAA,SAAA,EAAA,MAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,CAAA,CAAA;;;IAE/B,EAIgC,CAAA,SAAA,CAAA,CAAA,EAAA,8BAAA,EAAA,CAAA,CAAA,CAAA;;;IAD9B,EAAgC,CAAA,UAAA,CAAA,SAAA,EAAA,MAAA,CAAA,IAAA,CAAA,GAAA,CAAA,UAAA,CAAA,CAAA,CAAA;;MCDzB,gBAAgB,CAAA;AAP7B,IAAA,WAAA,GAAA;QASE,IAAI,CAAA,IAAA,GAAG,IAAI,SAAS,CAAC;AACnB,YAAA,KAAK,EAAE,IAAI,WAAW,CAAC,EAAE,CAAC;AAC1B,YAAA,QAAQ,EAAE,IAAI,WAAW,CAAC,EAAE,CAAC;AAC9B,SAAA,CAAC,CAAC;QAGH,IAAmB,CAAA,mBAAA,GAAG,IAAI,CAAC;QAG3B,IAAsB,CAAA,sBAAA,GAAG,IAAI,CAAC;QAG9B,IAAW,CAAA,WAAA,GAAG,EAAE,CAAC;AAGjB,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,YAAY,EAAQ,CAAC;AAG7C,QAAA,IAAA,CAAA,2BAA2B,GAAG,IAAI,YAAY,EAAQ,CAAC;AACxD,KAAA;;gFArBY,gBAAgB,GAAA,CAAA,EAAA,CAAA;mEAAhB,gBAAgB,EAAA,SAAA,EAAA,CAAA,CAAA,oBAAA,CAAA,CAAA,EAAA,SAAA,EAAA,CAAA,CAAA,EAAA,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AA,gBAAA,CAAA,EAAA,IAAA,EAAA,cAAc,cAHvB,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAfT,cAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA;YACP,YAAY;;YAEZ,gBAAgB;YAChB,UAAU;;YAEV,0BAA0B;YAC1B,aAAa;YACb,wBAAwB;YACxB,sBAAsB;AACvB,SAAA,CAAA,EAAA,CAAA,CAAA;uFAQU,cAAc,EAAA,CAAA;cAtB1B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE;oBACZ,gBAAgB;AACjB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,gBAAgB;oBAChB,UAAU;;oBAEV,0BAA0B;oBAC1B,aAAa;oBACb,wBAAwB;oBACxB,sBAAsB;AACvB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,gBAAgB;AACjB,iBAAA;AACD,gBAAA,SAAS,EAAE;oBACT,gBAAgB;AACjB,iBAAA;AACF,aAAA,CAAA;;wFACY,cAAc,EAAA,EAAA,YAAA,EAAA,CApBvB,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAGhB,YAAY;;QAEZ,gBAAgB;QAChB,UAAU;;QAEV,0BAA0B;QAC1B,aAAa;QACb,wBAAwB;AACxB,QAAA,sBAAsB,aAGtB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC3BpB;;AAEG;;;;"}
|
|
@@ -26,10 +26,10 @@ MenuTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuTemplate,
|
|
|
26
26
|
} if (rf & 2) {
|
|
27
27
|
i0.ɵɵadvance(2);
|
|
28
28
|
i0.ɵɵproperty("items", ctx.items);
|
|
29
|
-
} }, directives: [i1.NavigationListOrganism], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-
|
|
29
|
+
} }, directives: [i1.NavigationListOrganism], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-DMJQ: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-DMJQ: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-DMJQ: var(--width);--height: 100%;--height-SCOPED-IN-menu-DMJQ: var(--height)}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-DMJQ);height:var(--height-SCOPED-IN-menu-DMJQ);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-DMJQ)}[_nghost-%COMP%] organisms-navigation-list[_ngcontent-%COMP%]{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-DMJQ);--secondary-color: var(--secondary-color-SCOPED-IN-menu-DMJQ)}"], changeDetection: 0 });
|
|
30
30
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuTemplate, [{
|
|
31
31
|
type: Component,
|
|
32
|
-
args: [{ selector: 'templates-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-navigation-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-navigation-list>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-
|
|
32
|
+
args: [{ selector: 'templates-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-navigation-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-navigation-list>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-DMJQ: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-DMJQ: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-DMJQ: var(--width);--height: 100%;--height-SCOPED-IN-menu-DMJQ: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-DMJQ);height:var(--height-SCOPED-IN-menu-DMJQ);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-DMJQ)}:host organisms-navigation-list{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-DMJQ);--secondary-color: var(--secondary-color-SCOPED-IN-menu-DMJQ)}\n"] }]
|
|
33
33
|
}], null, { items: [{
|
|
34
34
|
type: Input
|
|
35
35
|
}], action: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-menu.mjs","sources":["../../../../libs/components/src/templates/menu/menu.template.ts","../../../../libs/components/src/templates/menu/menu.template.html","../../../../libs/components/src/templates/menu/menu.module.ts","../../../../libs/components/src/templates/menu/ng-atomic-components-templates-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'templates-menu',\n templateUrl: './menu.template.html',\n styleUrls: ['./menu.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuTemplate {\n\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<string>();\n\n}\n","<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-navigation-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-navigation-list>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NavigationListModule } from '@ng-atomic/components/organisms/navigation-list';\n\nimport { MenuTemplate } from './menu.template';\n\n\n@NgModule({\n declarations: [MenuTemplate],\n imports: [\n CommonModule,\n // Organisms\n NavigationListModule,\n ],\n exports: [MenuTemplate],\n bootstrap: [MenuTemplate],\n})\nexport class MenuModule { }\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,YAAY,CAAA;AANzB,IAAA,WAAA,GAAA;QASE,IAAK,CAAA,KAAA,
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-menu.mjs","sources":["../../../../libs/components/src/templates/menu/menu.template.ts","../../../../libs/components/src/templates/menu/menu.template.html","../../../../libs/components/src/templates/menu/menu.module.ts","../../../../libs/components/src/templates/menu/ng-atomic-components-templates-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'templates-menu',\n templateUrl: './menu.template.html',\n styleUrls: ['./menu.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuTemplate {\n\n @Input()\n items: ActionItem<string>[] = [];\n\n @Output()\n action = new EventEmitter<string>();\n\n}\n","<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-navigation-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-navigation-list>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NavigationListModule } from '@ng-atomic/components/organisms/navigation-list';\n\nimport { MenuTemplate } from './menu.template';\n\n\n@NgModule({\n declarations: [MenuTemplate],\n imports: [\n CommonModule,\n // Organisms\n NavigationListModule,\n ],\n exports: [MenuTemplate],\n bootstrap: [MenuTemplate],\n})\nexport class MenuModule { }\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,YAAY,CAAA;AANzB,IAAA,WAAA,GAAA;QASE,IAAK,CAAA,KAAA,GAAyB,EAAE,CAAC;AAGjC,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AAErC,KAAA;;wEARY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AA,EAGT,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mRAAA,EAAA,MAAA,EAAA,CAAA,krBAAA,CAAA,EAAA,CAAA;gBAK/C,KAAK,EAAA,CAAA;kBADJ,KAAK;YAIN,MAAM,EAAA,CAAA;kBADL,MAAM;;;MEGI,UAAU,CAAA;;oEAAV,UAAU,GAAA,CAAA,EAAA,CAAA;AAAV,UAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,IAAA,EAAA,UAAU,cAFT,YAAY,CAAA,EAAA,CAAA,CAAA;AANf,UAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA;YACP,YAAY;;YAEZ,oBAAoB;AACrB,SAAA,CAAA,EAAA,CAAA,CAAA;uFAIU,UAAU,EAAA,CAAA;cAVtB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;gBACR,YAAY,EAAE,CAAC,YAAY,CAAC;AAC5B,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,oBAAoB;AACrB,iBAAA;gBACD,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,SAAS,EAAE,CAAC,YAAY,CAAC;AAC1B,aAAA,CAAA;;wFACY,UAAU,EAAA,EAAA,YAAA,EAAA,CATN,YAAY,CAAA,EAAA,OAAA,EAAA,CAEzB,YAAY;;AAEZ,QAAA,oBAAoB,aAEZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACdxB;;AAEG;;;;"}
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i5 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
6
|
import * as i1 from '@ng-atomic/components/frames/scroll';
|
|
7
7
|
import { ScrollModule } from '@ng-atomic/components/frames/scroll';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i4 from '@ng-atomic/components/frames/auto-layout';
|
|
9
9
|
import { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i3 from '@ng-atomic/components/molecules/header';
|
|
11
|
+
import { HeaderModule } from '@ng-atomic/components/molecules/header';
|
|
12
|
+
import * as i9 from '@ng-atomic/components/organisms/action-buttons-section';
|
|
11
13
|
import { ActionButtonsSectionModule } from '@ng-atomic/components/organisms/action-buttons-section';
|
|
12
|
-
import * as i2 from '@ng-atomic/components/organisms/
|
|
13
|
-
import {
|
|
14
|
-
import * as
|
|
14
|
+
import * as i2 from '@ng-atomic/components/organisms/navigator';
|
|
15
|
+
import { NavigatorModule } from '@ng-atomic/components/organisms/navigator';
|
|
16
|
+
import * as i8 from '@ng-atomic/components/organisms/text-input-section';
|
|
15
17
|
import { TextInputSectionModule } from '@ng-atomic/components/organisms/text-input-section';
|
|
16
|
-
import * as
|
|
18
|
+
import * as i7 from '@ng-atomic/components/organisms/date-input-section';
|
|
17
19
|
import { DateInputSectionModule } from '@ng-atomic/components/organisms/date-input-section';
|
|
18
|
-
import * as
|
|
20
|
+
import * as i6 from '@ng-atomic/components/organisms/select-input-section';
|
|
19
21
|
import { SelectInputSectionModule } from '@ng-atomic/components/organisms/select-input-section';
|
|
20
|
-
import * as
|
|
22
|
+
import * as i10 from '@ng-atomic/common/pipes/smart-field';
|
|
21
23
|
import { SmartFieldModule } from '@ng-atomic/common/pipes/smart-field';
|
|
22
|
-
import * as
|
|
24
|
+
import * as i11 from '@ng-atomic/common/pipes/domain';
|
|
23
25
|
import { DomainModule } from '@ng-atomic/common/pipes/domain';
|
|
24
26
|
import '@ngneat/reactive-forms';
|
|
25
27
|
|
|
26
|
-
function
|
|
27
|
-
i0.ɵɵelement(0, "organisms-select-input-section",
|
|
28
|
+
function SmartCrudTemplate_ng_container_4_organisms_select_input_section_2_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelement(0, "organisms-select-input-section", 10);
|
|
28
30
|
i0.ɵɵpipe(1, "D");
|
|
29
31
|
i0.ɵɵpipe(2, "smartField");
|
|
30
32
|
} if (rf & 2) {
|
|
@@ -32,34 +34,34 @@ function SmartCrudTemplate_ng_container_3_organisms_select_input_section_2_Templ
|
|
|
32
34
|
let tmp_2_0;
|
|
33
35
|
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, entry_r1[0]))("control", entry_r1[1])("options", (tmp_2_0 = i0.ɵɵpipeBind1(2, 5, entry_r1[0])) == null ? null : tmp_2_0.options);
|
|
34
36
|
} }
|
|
35
|
-
function
|
|
36
|
-
i0.ɵɵelement(0, "organisms-date-input-section",
|
|
37
|
+
function SmartCrudTemplate_ng_container_4_organisms_date_input_section_3_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelement(0, "organisms-date-input-section", 11);
|
|
37
39
|
i0.ɵɵpipe(1, "D");
|
|
38
40
|
} if (rf & 2) {
|
|
39
41
|
const entry_r1 = i0.ɵɵnextContext().$implicit;
|
|
40
42
|
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, entry_r1[0]))("control", entry_r1[1]);
|
|
41
43
|
} }
|
|
42
|
-
function
|
|
43
|
-
i0.ɵɵelement(0, "organisms-text-input-section",
|
|
44
|
+
function SmartCrudTemplate_ng_container_4_organisms_text_input_section_4_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
i0.ɵɵelement(0, "organisms-text-input-section", 12);
|
|
44
46
|
i0.ɵɵpipe(1, "D");
|
|
45
47
|
} if (rf & 2) {
|
|
46
48
|
const entry_r1 = i0.ɵɵnextContext().$implicit;
|
|
47
49
|
i0.ɵɵproperty("type", "number")("label", i0.ɵɵpipeBind1(1, 3, entry_r1[0]))("control", entry_r1[1]);
|
|
48
50
|
} }
|
|
49
|
-
function
|
|
50
|
-
i0.ɵɵelement(0, "organisms-text-input-section",
|
|
51
|
+
function SmartCrudTemplate_ng_container_4_organisms_text_input_section_5_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelement(0, "organisms-text-input-section", 11);
|
|
51
53
|
i0.ɵɵpipe(1, "D");
|
|
52
54
|
} if (rf & 2) {
|
|
53
55
|
const entry_r1 = i0.ɵɵnextContext().$implicit;
|
|
54
56
|
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, entry_r1[0]))("control", entry_r1[1]);
|
|
55
57
|
} }
|
|
56
|
-
function
|
|
57
|
-
i0.ɵɵelementContainerStart(0,
|
|
58
|
+
function SmartCrudTemplate_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
+
i0.ɵɵelementContainerStart(0, 5);
|
|
58
60
|
i0.ɵɵpipe(1, "smartField");
|
|
59
|
-
i0.ɵɵtemplate(2,
|
|
60
|
-
i0.ɵɵtemplate(3,
|
|
61
|
-
i0.ɵɵtemplate(4,
|
|
62
|
-
i0.ɵɵtemplate(5,
|
|
61
|
+
i0.ɵɵtemplate(2, SmartCrudTemplate_ng_container_4_organisms_select_input_section_2_Template, 3, 7, "organisms-select-input-section", 6);
|
|
62
|
+
i0.ɵɵtemplate(3, SmartCrudTemplate_ng_container_4_organisms_date_input_section_3_Template, 2, 4, "organisms-date-input-section", 7);
|
|
63
|
+
i0.ɵɵtemplate(4, SmartCrudTemplate_ng_container_4_organisms_text_input_section_4_Template, 2, 5, "organisms-text-input-section", 8);
|
|
64
|
+
i0.ɵɵtemplate(5, SmartCrudTemplate_ng_container_4_organisms_text_input_section_5_Template, 2, 4, "organisms-text-input-section", 9);
|
|
63
65
|
i0.ɵɵelementContainerEnd();
|
|
64
66
|
} if (rf & 2) {
|
|
65
67
|
const entry_r1 = ctx.$implicit;
|
|
@@ -72,61 +74,70 @@ function SmartCrudTemplate_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
72
74
|
i0.ɵɵadvance(1);
|
|
73
75
|
i0.ɵɵproperty("ngSwitchCase", "number");
|
|
74
76
|
} }
|
|
77
|
+
const _c0 = function () { return []; };
|
|
78
|
+
var ActionId;
|
|
79
|
+
(function (ActionId) {
|
|
80
|
+
ActionId["BACK"] = "[@ng-atomic/components/templates/smart-crud] Back";
|
|
81
|
+
ActionId["CREATE"] = "[@ng-atomic/components/templates/smart-crud] Create";
|
|
82
|
+
ActionId["UPDATE"] = "[@ng-atomic/components/templates/smart-crud] Update";
|
|
83
|
+
ActionId["DELETE"] = "[@ng-atomic/components/templates/smart-crud] Delete";
|
|
84
|
+
})(ActionId || (ActionId = {}));
|
|
75
85
|
class SmartCrudTemplate {
|
|
76
86
|
constructor() {
|
|
77
87
|
this.canBack = false;
|
|
78
88
|
this.name = '';
|
|
79
89
|
this.mode = 'create';
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
90
|
+
this.navigatorMenuItems = [{ id: ActionId.DELETE, name: '削除' }];
|
|
91
|
+
this.title = 'title';
|
|
92
|
+
this.action = new EventEmitter();
|
|
82
93
|
this.backButtonClick = new EventEmitter();
|
|
83
94
|
this.createButtonClick = new EventEmitter();
|
|
84
95
|
this.updateButtonClick = new EventEmitter();
|
|
96
|
+
this.navigatorLeftItems = [{ id: ActionId.BACK, icon: 'arrow_back' }];
|
|
85
97
|
this.trackByIndex = (index) => index;
|
|
86
98
|
}
|
|
87
|
-
get title() {
|
|
88
|
-
switch (this.mode) {
|
|
89
|
-
case 'create': return `${this.name}の作成`;
|
|
90
|
-
case 'update': return `${this.name}の更新`;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
99
|
get actionItems() {
|
|
94
100
|
switch (this.mode) {
|
|
95
|
-
case 'create': return [{ id:
|
|
96
|
-
case 'update': return [{ id:
|
|
101
|
+
case 'create': return [{ id: ActionId.CREATE, name: '作成' }];
|
|
102
|
+
case 'update': return [{ id: ActionId.UPDATE, name: '更新' }];
|
|
97
103
|
}
|
|
98
104
|
}
|
|
99
105
|
get controls() {
|
|
100
106
|
return Object.entries(this.form.controls);
|
|
101
107
|
}
|
|
102
|
-
|
|
103
|
-
switch (id) {
|
|
104
|
-
case
|
|
105
|
-
case
|
|
108
|
+
onAction(action) {
|
|
109
|
+
switch (action.id) {
|
|
110
|
+
case ActionId.BACK: return this.backButtonClick.emit();
|
|
111
|
+
case ActionId.CREATE: return this.createButtonClick.emit();
|
|
112
|
+
case ActionId.UPDATE: return this.updateButtonClick.emit();
|
|
113
|
+
default: return this.action.emit(action);
|
|
106
114
|
}
|
|
107
115
|
}
|
|
108
116
|
}
|
|
109
117
|
SmartCrudTemplate.ɵfac = function SmartCrudTemplate_Factory(t) { return new (t || SmartCrudTemplate)(); };
|
|
110
|
-
SmartCrudTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartCrudTemplate, selectors: [["templates-smart-crud"]], hostAttrs: [1, "template"], inputs: { canBack: "canBack", name: "name", form: "form", mode: "mode",
|
|
111
|
-
i0.ɵɵelementStart(0, "frames-scroll")(1, "organisms-
|
|
112
|
-
i0.ɵɵlistener("
|
|
118
|
+
SmartCrudTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartCrudTemplate, selectors: [["templates-smart-crud"]], hostAttrs: [1, "template"], inputs: { canBack: "canBack", name: "name", form: "form", mode: "mode", navigatorMenuItems: "navigatorMenuItems", title: "title" }, outputs: { action: "action", backButtonClick: "backButtonClick", createButtonClick: "createButtonClick", updateButtonClick: "updateButtonClick" }, decls: 6, vars: 7, consts: [["navigator", "", 3, "leftItems", "rightItems", "action"], [3, "title"], ["vertical", "", "contents", ""], [3, "ngSwitch", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "items", "action"], [3, "ngSwitch"], [3, "label", "control", "options", 4, "ngSwitchCase"], [3, "label", "control", 4, "ngSwitchCase"], [3, "type", "label", "control", 4, "ngSwitchCase"], [3, "label", "control", 4, "ngSwitchDefault"], [3, "label", "control", "options"], [3, "label", "control"], [3, "type", "label", "control"]], template: function SmartCrudTemplate_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
+
i0.ɵɵelementStart(0, "frames-scroll")(1, "organisms-navigator", 0);
|
|
120
|
+
i0.ɵɵlistener("action", function SmartCrudTemplate_Template_organisms_navigator_action_1_listener($event) { return ctx.onAction($event); });
|
|
121
|
+
i0.ɵɵelement(2, "molecules-header", 1);
|
|
113
122
|
i0.ɵɵelementEnd();
|
|
114
|
-
i0.ɵɵelementStart(
|
|
115
|
-
i0.ɵɵtemplate(
|
|
116
|
-
i0.ɵɵelementStart(
|
|
117
|
-
i0.ɵɵlistener("
|
|
123
|
+
i0.ɵɵelementStart(3, "frames-auto-layout", 2);
|
|
124
|
+
i0.ɵɵtemplate(4, SmartCrudTemplate_ng_container_4_Template, 6, 6, "ng-container", 3);
|
|
125
|
+
i0.ɵɵelementStart(5, "organisms-action-buttons-section", 4);
|
|
126
|
+
i0.ɵɵlistener("action", function SmartCrudTemplate_Template_organisms_action_buttons_section_action_5_listener($event) { return ctx.onAction($event); });
|
|
118
127
|
i0.ɵɵelementEnd()()();
|
|
119
128
|
} if (rf & 2) {
|
|
120
129
|
i0.ɵɵadvance(1);
|
|
121
|
-
i0.ɵɵproperty("
|
|
130
|
+
i0.ɵɵproperty("leftItems", ctx.canBack ? ctx.navigatorLeftItems : i0.ɵɵpureFunction0(6, _c0))("rightItems", ctx.navigatorMenuItems);
|
|
131
|
+
i0.ɵɵadvance(1);
|
|
132
|
+
i0.ɵɵproperty("title", ctx.title);
|
|
122
133
|
i0.ɵɵadvance(2);
|
|
123
134
|
i0.ɵɵproperty("ngForOf", ctx.controls)("ngForTrackBy", ctx.trackByIndex);
|
|
124
135
|
i0.ɵɵadvance(1);
|
|
125
|
-
i0.ɵɵproperty("
|
|
126
|
-
} }, directives: [i1.ScrollFrame, i2.
|
|
136
|
+
i0.ɵɵproperty("items", ctx.actionItems);
|
|
137
|
+
} }, directives: [i1.ScrollFrame, i2.NavigatorOrganism, i3.HeaderMolecule, i4.AutoLayoutFrame, i5.NgForOf, i5.NgSwitch, i5.NgSwitchCase, i6.SelectInputSectionOrganism, i7.DateInputSectionOrganism, i8.TextInputSectionOrganism, i5.NgSwitchDefault, i9.ActionButtonsSectionOrganism], pipes: [i10.SmartFieldPipe, i11.DomainPipe], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-PveV: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-PveV: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-PveV: var(--gap)}[_nghost-%COMP%]{display:block;width:100%;height:100%;background:white}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-smart-crud-PveV);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-PveV)}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-PveV)}"], changeDetection: 0 });
|
|
127
138
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartCrudTemplate, [{
|
|
128
139
|
type: Component,
|
|
129
|
-
args: [{ selector: 'templates-smart-crud', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-
|
|
140
|
+
args: [{ selector: 'templates-smart-crud', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-navigator \n [leftItems]=\"canBack ? navigatorLeftItems : []\"\n [rightItems]=\"navigatorMenuItems\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngFor=\"let entry of controls; trackBy:trackByIndex\" [ngSwitch]=\"(entry[0] | smartField)?.type\">\n <organisms-select-input-section\n *ngSwitchCase=\"'select'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n [options]=\"(entry[0] | smartField)?.options\"\n ></organisms-select-input-section>\n <organisms-date-input-section\n *ngSwitchCase=\"'date'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-date-input-section>\n <organisms-text-input-section\n *ngSwitchCase=\"'number'\"\n [type]=\"'number'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngSwitchDefault\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-text-input-section>\n </ng-container>\n <organisms-action-buttons-section\n [items]=\"actionItems\"\n (action)=\"onAction($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-PveV: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-PveV: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-PveV: var(--gap)}:host{display:block;width:100%;height:100%;background:white}:host frames-auto-layout{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-smart-crud-PveV);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-PveV)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-PveV)}\n"] }]
|
|
130
141
|
}], null, { canBack: [{
|
|
131
142
|
type: Input
|
|
132
143
|
}], name: [{
|
|
@@ -135,9 +146,11 @@ SmartCrudTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartCrud
|
|
|
135
146
|
type: Input
|
|
136
147
|
}], mode: [{
|
|
137
148
|
type: Input
|
|
138
|
-
}],
|
|
149
|
+
}], navigatorMenuItems: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], title: [{
|
|
139
152
|
type: Input
|
|
140
|
-
}],
|
|
153
|
+
}], action: [{
|
|
141
154
|
type: Output
|
|
142
155
|
}], backButtonClick: [{
|
|
143
156
|
type: Output
|
|
@@ -162,10 +175,12 @@ SmartCrudModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imp
|
|
|
162
175
|
ScrollModule,
|
|
163
176
|
// Organisms
|
|
164
177
|
ActionButtonsSectionModule,
|
|
165
|
-
|
|
178
|
+
NavigatorModule,
|
|
166
179
|
DateInputSectionModule,
|
|
167
180
|
TextInputSectionModule,
|
|
168
181
|
SelectInputSectionModule,
|
|
182
|
+
// Molecules
|
|
183
|
+
HeaderModule,
|
|
169
184
|
]] });
|
|
170
185
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartCrudModule, [{
|
|
171
186
|
type: NgModule,
|
|
@@ -184,10 +199,12 @@ SmartCrudModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imp
|
|
|
184
199
|
ScrollModule,
|
|
185
200
|
// Organisms
|
|
186
201
|
ActionButtonsSectionModule,
|
|
187
|
-
|
|
202
|
+
NavigatorModule,
|
|
188
203
|
DateInputSectionModule,
|
|
189
204
|
TextInputSectionModule,
|
|
190
205
|
SelectInputSectionModule,
|
|
206
|
+
// Molecules
|
|
207
|
+
HeaderModule,
|
|
191
208
|
],
|
|
192
209
|
exports: [
|
|
193
210
|
SmartCrudTemplate
|
|
@@ -206,14 +223,16 @@ SmartCrudModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imp
|
|
|
206
223
|
ScrollModule,
|
|
207
224
|
// Organisms
|
|
208
225
|
ActionButtonsSectionModule,
|
|
209
|
-
|
|
226
|
+
NavigatorModule,
|
|
210
227
|
DateInputSectionModule,
|
|
211
228
|
TextInputSectionModule,
|
|
212
|
-
SelectInputSectionModule
|
|
229
|
+
SelectInputSectionModule,
|
|
230
|
+
// Molecules
|
|
231
|
+
HeaderModule], exports: [SmartCrudTemplate] }); })();
|
|
213
232
|
|
|
214
233
|
/**
|
|
215
234
|
* Generated bundle index. Do not edit.
|
|
216
235
|
*/
|
|
217
236
|
|
|
218
|
-
export { SmartCrudModule, SmartCrudTemplate };
|
|
237
|
+
export { ActionId, SmartCrudModule, SmartCrudTemplate };
|
|
219
238
|
//# sourceMappingURL=ng-atomic-components-templates-smart-crud.mjs.map
|