@ng-atomic/components 19.34.0 → 19.36.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/fesm2022/ng-atomic-components-atoms-chips-input.mjs +2 -2
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2022/ng-atomic-components-atoms-value-cell.mjs +4 -4
- package/fesm2022/ng-atomic-components-atoms-value-cell.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-extras-editor.mjs +3 -2
- package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-app.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-breadcrumb-navbar.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-card.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-divider.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-fab.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-fab.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-horizontal-divider.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-horizontal-divider.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-loading.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-thread-message.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-breadcrumb-navbar.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +1 -1
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +3 -2
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-table.mjs +6 -5
- package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs +1 -2
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-tree-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-_index.mjs +6 -4
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-pages-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-form.mjs +2 -2
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-services-global-iframe.mjs +2 -1
- package/fesm2022/ng-atomic-components-services-global-iframe.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-_index.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-background.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-form.mjs +5 -5
- package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-selection.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-settings.mjs +2 -2
- package/package.json +3 -3
- package/types/ng-atomic-components-atoms-chips-input.d.ts +1 -1
- package/types/ng-atomic-components-atoms-icon.d.ts +1 -1
- package/types/ng-atomic-components-atoms-menu-button.d.ts +2 -2
- package/types/ng-atomic-components-atoms-value-cell.d.ts +5 -5
- package/types/ng-atomic-components-extras-editor.d.ts +1 -1
- package/types/ng-atomic-components-extras.d.ts +1 -1
- package/types/ng-atomic-components-frames-app.d.ts +20 -20
- package/types/ng-atomic-components-frames-breadcrumb-navbar.d.ts +1 -1
- package/types/ng-atomic-components-frames-columns.d.ts +4 -4
- package/types/ng-atomic-components-frames-entrance.d.ts +2 -2
- package/types/ng-atomic-components-frames-fab.d.ts +3 -3
- package/types/ng-atomic-components-frames-fab.d.ts.map +1 -1
- package/types/ng-atomic-components-frames-line-up.d.ts +3 -3
- package/types/ng-atomic-components-frames-router-outlet.d.ts +5 -5
- package/types/ng-atomic-components-frames-side-app.d.ts +1 -1
- package/types/ng-atomic-components-frames-side-nav.d.ts +9 -9
- package/types/ng-atomic-components-molecules-action-input-field.d.ts +1 -1
- package/types/ng-atomic-components-molecules-actions-column.d.ts +2 -2
- package/types/ng-atomic-components-molecules-checkbox-column.d.ts +2 -2
- package/types/ng-atomic-components-molecules-chips-input-field.d.ts +5 -5
- package/types/ng-atomic-components-molecules-date-input-field.d.ts +3 -3
- package/types/ng-atomic-components-molecules-date-range-input-field.d.ts +2 -2
- package/types/ng-atomic-components-molecules-file-input-field.d.ts +5 -5
- package/types/ng-atomic-components-molecules-grid-item.d.ts +1 -1
- package/types/ng-atomic-components-molecules-list-item.d.ts +3 -3
- package/types/ng-atomic-components-molecules-loading-box.d.ts +1 -1
- package/types/ng-atomic-components-molecules-nested-menu.d.ts +1 -1
- package/types/ng-atomic-components-molecules-nested-menu.d.ts.map +1 -1
- package/types/ng-atomic-components-molecules-select-input-field.d.ts +3 -3
- package/types/ng-atomic-components-molecules-text-column.d.ts +2 -2
- package/types/ng-atomic-components-molecules-text-input-field.d.ts +4 -4
- package/types/ng-atomic-components-molecules-textarea-field.d.ts +2 -2
- package/types/ng-atomic-components-molecules-textarea-field.d.ts.map +1 -1
- package/types/ng-atomic-components-molecules-thread-message.d.ts +3 -3
- package/types/ng-atomic-components-molecules-tree-column.d.ts +3 -3
- package/types/ng-atomic-components-organisms-action-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-agreement-input-section.d.ts +1 -1
- package/types/ng-atomic-components-organisms-breadcrumb-navbar.d.ts +1 -1
- package/types/ng-atomic-components-organisms-card-input-section.d.ts +1 -1
- package/types/ng-atomic-components-organisms-chips-input-section.d.ts +1 -1
- package/types/ng-atomic-components-organisms-date-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-date-range-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-file-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-filters-section.d.ts +3 -3
- package/types/ng-atomic-components-organisms-graphql-editor.d.ts +1 -1
- package/types/ng-atomic-components-organisms-grid-toolbar.d.ts +1 -1
- package/types/ng-atomic-components-organisms-image-preview-section.d.ts +1 -1
- package/types/ng-atomic-components-organisms-list.d.ts +3 -3
- package/types/ng-atomic-components-organisms-menu-header.d.ts +1 -1
- package/types/ng-atomic-components-organisms-mermaid-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-message-input-section.d.ts +1 -1
- package/types/ng-atomic-components-organisms-navigator.d.ts +2 -2
- package/types/ng-atomic-components-organisms-navigator.d.ts.map +1 -1
- package/types/ng-atomic-components-organisms-number-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-paginator.d.ts +4 -4
- package/types/ng-atomic-components-organisms-password-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-select-input-section.d.ts +4 -4
- package/types/ng-atomic-components-organisms-slider-input-section.d.ts +6 -6
- package/types/ng-atomic-components-organisms-stripe-input-section.d.ts +55 -55
- package/types/ng-atomic-components-organisms-table.d.ts +39 -19
- package/types/ng-atomic-components-organisms-table.d.ts.map +1 -1
- package/types/ng-atomic-components-organisms-text-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-textarea-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-time-range-input-section.d.ts +2 -2
- package/types/ng-atomic-components-organisms-toolbar.d.ts +1 -1
- package/types/ng-atomic-components-organisms-tree-section.d.ts +1 -1
- package/types/ng-atomic-components-organisms-video-section.d.ts +4 -4
- package/types/ng-atomic-components-pages-_index.d.ts +29 -29
- package/types/ng-atomic-components-pages-_index.d.ts.map +1 -1
- package/types/ng-atomic-components-pages-columns.d.ts +1 -1
- package/types/ng-atomic-components-pages-columns.d.ts.map +1 -1
- package/types/ng-atomic-components-pages-form.d.ts +13 -12
- package/types/ng-atomic-components-pages-form.d.ts.map +1 -1
- package/types/ng-atomic-components-pages-terms.d.ts +9 -9
- package/types/ng-atomic-components-services-global-iframe.d.ts +1 -1
- package/types/ng-atomic-components-services-global-iframe.d.ts.map +1 -1
- package/types/ng-atomic-components-templates-_index.d.ts +52 -50
- package/types/ng-atomic-components-templates-_index.d.ts.map +1 -1
- package/types/ng-atomic-components-templates-code-editor.d.ts +1 -1
- package/types/ng-atomic-components-templates-columns.d.ts +17 -17
- package/types/ng-atomic-components-templates-entrance.d.ts +2 -2
- package/types/ng-atomic-components-templates-form.d.ts +7 -7
- package/types/ng-atomic-components-templates-menu.d.ts +1 -1
- package/types/ng-atomic-components-templates-term.d.ts +1 -1
- package/types/ng-atomic-components-templates-thread.d.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-_index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/_index/index.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/_index/ng-atomic-components-templates-_index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, PLATFORM_ID, inject, input, viewChild, viewChildren } from '@angular/core';\nimport { isPlatformServer, JsonPipe, NgTemplateOutlet } from '@angular/common';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { TableOrganism, TableOrganismStore, injectIndexForm } from '@ng-atomic/components/organisms/table';\nimport { ListOrganism } from '@ng-atomic/components/organisms/list';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorOrganismStore } from '@ng-atomic/components/organisms/paginator';\nimport { Action, Actions, InjectableComponent, TokenizedType, _computed, computeFake } from '@ng-atomic/core';\nimport { GridToolbarOrganismStore } from '@ng-atomic/components/organisms/grid-toolbar';\nimport { DividerFrame } from '@ng-atomic/components/frames/divider';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { Effect, NgAtomicComponent } from '@ng-atomic/core';\nimport { QueryResolverService } from '@ng-atomic/common/services/query-resolver';\nimport { NavActionId, UIContext, call, injectNavStartActions, makeConfig } from '@ng-atomic/common/services/ui';\nimport { IndexPipe } from '@ng-atomic/common/pipes/index';\nimport { IndexLengthPipe } from '@ng-atomic/common/pipes/index-length';\nimport { GridCardsSectionOrganism } from '@ng-atomic/components/organisms/grid-cards-section';\nimport { injectModelName } from '@ng-atomic/common/pipes/domain';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport { computedRawValue } from '@ng-atomic/common/utils';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { ChipsInputSectionOrganism } from '@ng-atomic/components/organisms/chips-input-section';\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport { TreeListOrganism, TreeListOrganismStore } from '@ng-atomic/components/organisms/tree-list';\nimport { TabsFrame } from '@ng-atomic/components/frames/tabs';\nimport { TextInputFieldMolecule } from '@ng-atomic/components/molecules/text-input-field';\nimport { VerticalHideFrame } from '@ng-atomic/components/frames/vertical-hide';\nimport { FormFieldMap } from '@ng-atomic/common/pipes/smart-field';\n\n// Virtual scroll item size constant\nconst ITEM_SIZE = 52;\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/index] Table Header Click',\n TABLE_HEADER_CHECKBOX_CLICK = '[@ng-atomic/components/templates/index] Table Header Checkbox Click',\n TABLE_CHECKBOX_CLICK = '[@ng-atomic/components/templates/index] Table Checkbox Click',\n TABLE_COLUMN_WIDTH_CHANGE = '[@ng-atomic/components/templates/index] Table Column Width Change',\n ITEM_CLICK = '[@ng-atomic/components/templates/index] Item Click',\n DETAIL = '[@ng-atomic/components/templates/index] Detail',\n LIST_ITEM_BUTTON_CLICKED = '[@ng-atomic/components/templates/index] List Item Button Clicked',\n TOGGLE_TYPE = '[@ng-atomic/components/templates/index] Toggle Type',\n}\n\nexport interface IndexTemplateConfig<T extends { id: string } = any> {\n form: FormGroup;\n gridToolbarActions: Action[];\n navStartActions: Actions;\n navEndActions: Actions;\n itemActions: Actions;\n title: string;\n description: string;\n items: T[]\n tableChildrenKey: keyof T;\n groupedBy: keyof T | null;\n groupKeys: string[];\n type: 'list' | 'table' | 'grid';\n toggleActions: Actions;\n pageSizeOptions: number[];\n width: string;\n selection: SelectionModel<string>;\n highlight: SelectionModel<string>;\n getRowClass: (item: T) => string;\n}\n\nexport function getType(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'list';\n case 'small': return 'table';\n case 'medium': return 'table';\n case 'large': return 'table';\n case 'xLarge': return 'table';\n default: return 'table';\n }\n}\n\nexport interface ItemsMap<T> {\n [key: string]: {\n items: T[];\n itemsLength: number;\n\n type?: 'list' | 'table' | 'grid';\n childrenKey?: string;\n treeControl?: FlatTreeControl<T>;\n groupedBy?: string;\n groupKeys?: string[];\n itemActions?: Actions;\n form?: FormGroup;\n selection?: SelectionModel<string>;\n highlight?: SelectionModel<string>;\n tableIsHidden?: (item: T) => boolean;\n pageSizeOptions?: number[];\n }\n}\n\nexport function convertToItemsMap<T>(items: T[], {\n mapper = (items: T[]) => items,\n}: {\n mapper?: (items: T[]) => T[];\n} = {}): ItemsMap<T> {\n return {\n 'default': {\n items: mapper(items),\n itemsLength: items?.length,\n }\n };\n}\n\n@TokenizedType()\n@Directive({\n standalone: true,\n selector: 'templates-index',\n providers: [\n IndexPipe,\n IndexLengthPipe,\n ],\n})\nexport class IndexTemplateStore<T extends { id: string }> extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n const modelName = injectModelName();\n function getWidth(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'var(--page-width-lv1)'\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge':\n default: return 'var(--page-width-lv2)';\n }\n }\n function getType(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'list';\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge':\n default: return 'table';\n }\n }\n const form = injectIndexForm();\n const navStartActions = injectNavStartActions();\n\n return (context) => ({\n form,\n toggleActions: [\n { id: ActionId.TOGGLE_TYPE, icon: 'grid_view', payload: 'grid' },\n { id: ActionId.TOGGLE_TYPE, icon: 'list', payload: 'list' },\n { id: ActionId.TOGGLE_TYPE, icon: 'table', payload: 'table' },\n ] as Action[],\n gridToolbarActions: [] as Action[],\n tableChildrenKey: null as string,\n tableIsHidden: (item: any) => false,\n tableTreeControl: new FlatTreeControl<any>(n => n.level, n => n.isExpandable, { trackBy: (n: any) => n?.id ?? n }),\n itemActions: (item) => [{ id: ActionId.DETAIL, icon: 'open_in_new', payload: item }],\n items: [],\n itemsLength: 0,\n title: `${modelName()}一覧`,\n titleControl: new FormControl(`${modelName()}一覧`),\n titleEditable: false,\n description: ``,\n navStartActions: navStartActions(),\n navEndActions: [],\n groupedBy: <string>null,\n groupKeys: <string[]>[],\n type: <'table' | 'list' | 'grid'>getType(context),\n pageSizeOptions: [10, 25, 50, 100],\n selection: new SelectionModel<string>(true, []),\n highlight: new SelectionModel<string>(true, []),\n queryLabel: 'フィルター',\n getRowClass: (item: any) => '',\n });\n }, ['components', 'templates', 'index']);\n static provideTypeConfig() {\n return IndexTemplateStore.Config.provide(() => {\n return (config, context) => ({\n ...config,\n type: getType(context),\n });\n });\n }\n\n readonly config = IndexTemplateStore.Config.inject();\n readonly isPlatformServer = isPlatformServer(inject(PLATFORM_ID));\n readonly form = input(_computed(() => this.config().form));\n readonly gridToolbarActions = input(_computed(() => this.config().gridToolbarActions));\n readonly toggleActions = input(_computed(() => this.config().toggleActions));\n readonly tableChildrenKey = input(_computed(() => this.config().tableChildrenKey));\n readonly tableIsHidden = input(_computed(() => this.config().tableIsHidden));\n readonly tableTreeControl = input(_computed(() => this.config().tableTreeControl));\n readonly tableColumnFormFieldMap = input<FormFieldMap>(_computed(() => ({})));\n readonly itemActions = input(_computed(() => this.config().itemActions));\n readonly title = input(_computed(() => this.config().title));\n readonly titleControl = input(_computed(() => this.config().titleControl));\n readonly titleEditable = input(_computed(() => this.config().titleEditable));\n readonly description = input(_computed(() => this.config().description));\n readonly items = input<T[]>(_computed(() => this.config().items));\n readonly itemsMap = input<ItemsMap<T>>(_computed(() => convertToItemsMap(this.items())));\n readonly itemsMapKeys = input(_computed(() => Object.keys(this.itemsMap() ?? {})));\n readonly itemsLength = input(_computed(() => this.config().itemsLength));\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly groupedBy = input(_computed(() => this.config().groupedBy));\n readonly groupKeys = input(_computed(() => this.config().groupKeys));\n readonly pageSizeOptions = input(_computed(() => this.config().pageSizeOptions));\n readonly type = input(_computed(() => this.config().type));\n readonly selection = input(_computed(() => this.config().selection));\n readonly highlight = input(_computed(() => this.config().highlight));\n readonly queryLabel = input(_computed(() => this.config().queryLabel));\n readonly getRowClass = input(_computed(() => this.config().getRowClass));\n readonly navMode = input(_computed(() => 'expanded'));\n readonly form$ = toObservable(computeFake(this.form));\n readonly formValue = computedRawValue(() => call(this.form()));\n readonly pipes = { index: inject(IndexPipe), indexLength: inject(IndexLengthPipe) };\n // readonly itemsSize = computed(() => this.pipes.indexLength.transform(this.items(), this.formValue() as any));\n}\n\n@Component({\n imports: [\n AutoLayoutFrame,\n ChipsInputSectionOrganism,\n ScrollFrame,\n DividerFrame,\n GridToolbarOrganismStore,\n PaginatorOrganismStore,\n ListOrganism,\n TabsFrame,\n // TableOrganism,\n TableOrganismStore,\n TreeListOrganism,\n GridCardsSectionOrganism,\n NavigatorOrganismStore,\n HeaderMoleculeStore,\n NgTemplateOutlet,\n TextInputFieldMolecule,\n VerticalHideFrame,\n JsonPipe\n ],\n selector: 'templates-index',\n template: `\n <frames-scroll>\n <frames-vertical-hide [mode]=\"store.navMode()\" top>\n <organisms-navigator\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n top\n injectable>\n @if (store.titleEditable()) {\n <molecules-text-input-field\n [label]=\"'title'\"\n [placeholder]=\"'title'\"\n [control]=\"store.titleControl()\"\n [appearance]=\"'fill'\"\n />\n } @else {\n <molecules-header injectable [title]=\"store.title()\" [description]=\"store.description()\"/>\n }\n </organisms-navigator>\n <div class=\"dashboard\">\n <ng-content first select=\"[navDashboard]\" />\n </div>\n </frames-vertical-hide>\n <frames-auto-layout [type]=\"'vertical'\" contents>\n @defer {\n <frames-divider>\n <ng-content first select=\"[dashboard]\" />\n <div style=\"display: flex; flex-direction: column; width: 100%; height: 100%;\" second>\n @if (store.gridToolbarActions() || true) {\n @defer {\n <organisms-grid-toolbar injectable\n [actions]=\"store.gridToolbarActions()\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @if (store.form().get(['query'])) {\n <organisms-chips-input-section\n [control]=\"store.form().get(['query'])\"\n [label]=\"store.queryLabel()\"\n />\n }\n @if (store.itemsMapKeys().length > 1) {\n @defer {\n <frames-tabs\n [labels]=\"store.itemsMapKeys()\"\n (selectedTabIndexChange)=\"onSelectedTabIndexChange($event)\"\n >\n @let map = store.itemsMap();\n @for (key of store.itemsMapKeys(); track key;) {\n <ng-template #tab>\n <ng-container *ngTemplateOutlet=\"items; context: {map, key}\"/>\n </ng-template>\n }\n </frames-tabs>\n }\n } @else if(store.itemsMapKeys().length === 1) {\n @let key = store.itemsMapKeys()[0];\n @let map = store.itemsMap();\n <ng-container *ngTemplateOutlet=\"items; context: {map, key}\"/>\n } @else { }\n </div>\n </frames-divider>\n }\n </frames-auto-layout>\n </frames-scroll>\n\n <ng-template #items let-map=\"map\" let-key=\"key\">\n @let data = map[key];\n @let type = data?.type ?? store.type();\n @let items = data?.items ?? [];\n @let itemActions = data?.itemActions ?? store.itemActions();\n @let childrenKey = data?.childrenKey ?? store.tableChildrenKey();\n @let highlight = data?.highlight ?? store.highlight();\n @let groupBy = data?.groupedBy ?? store.groupedBy();\n @let groupKeys = data?.groupKeys ?? store.groupKeys();\n @let selection = data?.selection ?? store.selection();\n @let tableTreeControl = data?.treeControl ?? store.tableTreeControl();\n @let pageSizeOptions = data?.pageSizeOptions ?? store.pageSizeOptions();\n @let isHidden = data?.tableIsHidden ?? store.tableIsHidden();\n @let form = data?.form ?? store.form();\n @let pageForm = data?.form?.get(['page']) ?? store.form().get(['page']);\n @let itemLength = store.itemsLength();\n @let tableFormFieldMap = store.tableColumnFormFieldMap();\n @switch(type) {\n @case('json') {\n <pre>{{ items | json }}</pre>\n }\n @case('list') {\n @if (data.childrenKey) {\n <organisms-tree-list\n [items]=\"items\"\n [childrenKey]=\"childrenKey\"\n [treeControl]=\"tableTreeControl\"\n (action)=\"dispatch($event)\"\n />\n } @else {\n <organisms-list\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [groupedBy]=\"groupBy\"\n [groupKeys]=\"groupKeys\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('grid') { @defer {\n <organisms-grid-cards-section\n [items]=\"items\"\n (action)=\"dispatch($event)\"\n contents\n />\n } }\n @default {\n <organisms-table injectable\n [columnFormFieldMap]=\"tableFormFieldMap\"\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [selection]=\"selection\"\n [form]=\"form\"\n [childrenKey]=\"childrenKey\"\n [highlight]=\"highlight\"\n [isHidden]=\"isHidden\"\n [treeControl]=\"tableTreeControl\"\n [getRowClass]=\"store.getRowClass()\"\n (action)=\"dispatch($event, undefined, key)\"\n />\n @if (pageForm) { @defer {\n <organisms-paginator injectable\n [form]=\"pageForm\"\n [itemLength]=\"itemLength\"\n [pageSizeOptions]=\"pageSizeOptions\"\n />\n } }\n }\n }\n </ng-template>\n `,\n styleUrls: ['./index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n hostDirectives: [\n {\n directive: IndexTemplateStore,\n inputs: [\n 'gridToolbarActions',\n 'tableChildrenKey',\n 'tableIsHidden',\n 'tableTreeControl',\n 'tableColumnFormFieldMap',\n 'form',\n 'title',\n 'titleControl',\n 'titleEditable',\n 'description',\n 'items',\n 'itemsMap',\n 'itemsLength',\n 'itemActions',\n 'navStartActions',\n 'navEndActions',\n 'navMode',\n 'groupedBy',\n 'groupKeys',\n 'selection',\n 'pageSizeOptions',\n 'type',\n 'highlight',\n 'queryLabel',\n 'getRowClass',\n ],\n outputs: [],\n }\n ],\n providers: [\n QueryResolverService,\n ]\n})\nexport class IndexTemplate<T> extends NgAtomicComponent {\n static ActionId = ActionId;\n protected ActionId = ActionId;\n protected store = inject(IndexTemplateStore);\n\n readonly dividerFrame = viewChild(DividerFrame);\n readonly tables = viewChildren<TableOrganismStore<TableOrganism<any>, any>>(TableOrganismStore);\n\n protected onSelectedTabIndexChange(i: number) {\n // タブ切り替え時にテーブルの仮想スクロールを完全にリセット\n setTimeout(() => {\n const tableStore = this.tables().at(i);\n if (!tableStore) return;\n\n const table = tableStore.injected;\n if (!table) return;\n\n // データソースを一時的に切断して再接続(ツリー展開と同じ効果)\n const currentDataSource = table.dataSource.dataSource();\n if (currentDataSource) {\n // 一度nullにしてから再設定することで完全なリセット\n table.dataSource.reconnect(null);\n\n requestAnimationFrame(() => {\n // データソースを再接続\n table.dataSource.reconnect(currentDataSource);\n\n // viewportのリセット\n const viewport = table.viewport();\n if (viewport) {\n // viewportを再設定\n table.dataSource.viewport.set(null);\n requestAnimationFrame(() => {\n table.dataSource.viewport.set(viewport);\n\n // サイズの再計算\n viewport.checkViewportSize();\n\n // スクロール位置をリセット\n viewport.scrollToIndex(0);\n });\n }\n });\n }\n }, 50); // タブアニメーションの完了を待つ\n }\n\n @Effect(TableOrganism.ActionId.HEADER_CLICK)\n protected onTableHeaderClick(column: string) {\n this.dispatch({ id: ActionId.TABLE_HEADER_CLICK, payload: column });\n }\n\n @Effect(TableOrganism.ActionId.CHECKBOX_CLICK)\n protected onCheckboxClickItem(item: T) {\n this.dispatch({ id: ActionId.TABLE_CHECKBOX_CLICK, payload: item });\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_CLICK)\n @Effect(ListOrganism.ActionId.CLICK_ITEM)\n @Effect(TreeListOrganismStore.ActionId.CLICK_ITEM)\n protected onItemClicked(item: T) {\n this.dispatch({ id: ActionId.ITEM_CLICK, payload: item });\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_MENU_CLICK)\n @Effect(ListOrganism.ActionId.ITEM_BUTTON_CLICK)\n protected onItemButtonClicked(item: T) {\n this.dispatch({ id: ActionId.LIST_ITEM_BUTTON_CLICKED, payload: item });\n }\n\n @Effect(TableOrganismStore.ActionId.HEADER_CHECKBOX_CLICK)\n protected onHeaderCheckboxClick() {\n this.dispatch({ id: ActionId.TABLE_HEADER_CHECKBOX_CLICK });\n }\n\n @Effect(TableOrganismStore.ActionId.COLUMN_WIDTH_CHANGE, { accessor: (action) => action })\n protected onColumnWidthChange(action: Action<{ columnName: string, width: number }>) {\n this.dispatch({\n id: ActionId.TABLE_COLUMN_WIDTH_CHANGE,\n payload: {\n key: action.meta.componentId,\n columnName: action.payload.columnName,\n width: action.payload.width\n },\n })\n }\n\n @Effect(NavActionId.BACK)\n protected back() {\n this.dispatch({ id: ActionId.BACK });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AACA,MAAM,SAAS,GAAG,EAAE;IAER;AAAZ,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,8CAAqD;AACrD,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,4DAAiF;AACjF,IAAA,QAAA,CAAA,6BAAA,CAAA,GAAA,qEAAmG;AACnG,IAAA,QAAA,CAAA,sBAAA,CAAA,GAAA,8DAAqF;AACrF,IAAA,QAAA,CAAA,2BAAA,CAAA,GAAA,mEAA+F;AAC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AA,SAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,YAAY,wFAC8B,kBAAkB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,aAAA,EAAA,EAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA;;AC3ahG;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-_index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/_index/index.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/_index/ng-atomic-components-templates-_index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, PLATFORM_ID, inject, input, viewChild, viewChildren } from '@angular/core';\nimport { isPlatformServer, JsonPipe, NgTemplateOutlet } from '@angular/common';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { TableOrganism, TableOrganismStore, injectIndexForm } from '@ng-atomic/components/organisms/table';\nimport { ListOrganism } from '@ng-atomic/components/organisms/list';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorOrganismStore } from '@ng-atomic/components/organisms/paginator';\nimport { Action, Actions, InjectableComponent, TokenizedType, _computed, computeFake } from '@ng-atomic/core';\nimport { GridToolbarOrganismStore } from '@ng-atomic/components/organisms/grid-toolbar';\nimport { DividerFrame } from '@ng-atomic/components/frames/divider';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { Effect, NgAtomicComponent } from '@ng-atomic/core';\nimport { QueryResolverService } from '@ng-atomic/common/services/query-resolver';\nimport { NavActionId, UIContext, call, injectNavStartActions, makeConfig } from '@ng-atomic/common/services/ui';\nimport { IndexPipe } from '@ng-atomic/common/pipes/index';\nimport { IndexLengthPipe } from '@ng-atomic/common/pipes/index-length';\nimport { GridCardsSectionOrganism } from '@ng-atomic/components/organisms/grid-cards-section';\nimport { injectModelName } from '@ng-atomic/common/pipes/domain';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport { computedRawValue } from '@ng-atomic/common/utils';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { ChipsInputSectionOrganism } from '@ng-atomic/components/organisms/chips-input-section';\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport { TreeListOrganism, TreeListOrganismStore } from '@ng-atomic/components/organisms/tree-list';\nimport { TabsFrame } from '@ng-atomic/components/frames/tabs';\nimport { TextInputFieldMolecule } from '@ng-atomic/components/molecules/text-input-field';\nimport { VerticalHideFrame } from '@ng-atomic/components/frames/vertical-hide';\nimport { FormFieldMap } from '@ng-atomic/common/pipes/smart-field';\n\n// Virtual scroll item size constant\nconst ITEM_SIZE = 52;\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/index] Table Header Click',\n TABLE_HEADER_CHECKBOX_CLICK = '[@ng-atomic/components/templates/index] Table Header Checkbox Click',\n TABLE_CHECKBOX_CLICK = '[@ng-atomic/components/templates/index] Table Checkbox Click',\n TABLE_COLUMN_WIDTH_CHANGE = '[@ng-atomic/components/templates/index] Table Column Width Change',\n ITEM_CLICK = '[@ng-atomic/components/templates/index] Item Click',\n DETAIL = '[@ng-atomic/components/templates/index] Detail',\n LIST_ITEM_BUTTON_CLICKED = '[@ng-atomic/components/templates/index] List Item Button Clicked',\n TOGGLE_TYPE = '[@ng-atomic/components/templates/index] Toggle Type',\n}\n\nexport interface IndexTemplateConfig<T extends { id: string } = any> {\n form: FormGroup;\n gridToolbarActions: Action[];\n navStartActions: Actions;\n navEndActions: Actions;\n itemActions: Actions;\n title: string;\n description: string;\n items: T[]\n tableChildrenKey: keyof T;\n groupedBy: keyof T | null;\n groupKeys: string[];\n type: 'list' | 'table' | 'grid';\n toggleActions: Actions;\n pageSizeOptions: number[];\n width: string;\n selection: SelectionModel<string>;\n highlight: SelectionModel<string>;\n getRowClass: (item: T) => string;\n}\n\nexport function getType(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'list';\n case 'small': return 'table';\n case 'medium': return 'table';\n case 'large': return 'table';\n case 'xLarge': return 'table';\n default: return 'table';\n }\n}\n\nexport interface ItemsMap<T> {\n [key: string]: {\n items: T[];\n itemsLength: number;\n\n type?: 'list' | 'table' | 'grid';\n childrenKey?: string;\n treeControl?: FlatTreeControl<T>;\n groupedBy?: string;\n groupKeys?: string[];\n itemActions?: Actions;\n form?: FormGroup;\n selection?: SelectionModel<string>;\n highlight?: SelectionModel<string>;\n tableIsHidden?: (item: T) => boolean;\n pageSizeOptions?: number[];\n }\n}\n\nexport function convertToItemsMap<T>(items: T[], {\n mapper = (items: T[]) => items,\n}: {\n mapper?: (items: T[]) => T[];\n} = {}): ItemsMap<T> {\n return {\n 'default': {\n items: mapper(items),\n itemsLength: items?.length,\n }\n };\n}\n\n@TokenizedType()\n@Directive({\n standalone: true,\n selector: 'templates-index',\n providers: [\n IndexPipe,\n IndexLengthPipe,\n ],\n})\nexport class IndexTemplateStore<T extends { id: string }> extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n const modelName = injectModelName();\n function getWidth(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'var(--page-width-lv1)'\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge':\n default: return 'var(--page-width-lv2)';\n }\n }\n function getType(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'list';\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge':\n default: return 'table';\n }\n }\n const form = injectIndexForm();\n const navStartActions = injectNavStartActions();\n\n return (context) => ({\n form,\n toggleActions: [\n { id: ActionId.TOGGLE_TYPE, icon: 'grid_view', payload: 'grid' },\n { id: ActionId.TOGGLE_TYPE, icon: 'list', payload: 'list' },\n { id: ActionId.TOGGLE_TYPE, icon: 'table', payload: 'table' },\n ] as Action[],\n gridToolbarActions: [] as Action[],\n tableChildrenKey: null as unknown as string,\n tableIsHidden: (item: any) => false,\n tableTreeControl: new FlatTreeControl<any>(n => n.level, n => n.isExpandable, { trackBy: (n: any) => n?.id ?? n }),\n itemActions: (item: any) => [{ id: ActionId.DETAIL, icon: 'open_in_new', payload: item }],\n items: [],\n itemsLength: 0,\n title: `${modelName()}一覧`,\n titleControl: new FormControl(`${modelName()}一覧`),\n titleEditable: false,\n description: ``,\n navStartActions: navStartActions(),\n navEndActions: [],\n groupedBy: null as unknown as string,\n groupKeys: [] as string[],\n type: <'table' | 'list' | 'grid'>getType(context),\n pageSizeOptions: [10, 25, 50, 100],\n selection: new SelectionModel<string>(true, []),\n highlight: new SelectionModel<string>(true, []),\n queryLabel: 'フィルター',\n getRowClass: (item: any) => '',\n });\n }, ['components', 'templates', 'index']);\n static provideTypeConfig() {\n return IndexTemplateStore.Config.provide(() => {\n return (config, context) => ({\n ...config,\n type: getType(context),\n });\n });\n }\n\n readonly config = IndexTemplateStore.Config.inject();\n readonly isPlatformServer = isPlatformServer(inject(PLATFORM_ID));\n readonly form = input(_computed(() => this.config().form));\n readonly gridToolbarActions = input(_computed(() => this.config().gridToolbarActions));\n readonly toggleActions = input(_computed(() => this.config().toggleActions));\n readonly tableChildrenKey = input(_computed(() => this.config().tableChildrenKey));\n readonly tableIsHidden = input(_computed(() => this.config().tableIsHidden));\n readonly tableTreeControl = input(_computed(() => this.config().tableTreeControl));\n readonly tableColumnFormFieldMap = input<FormFieldMap>(_computed(() => ({})));\n readonly itemActions = input(_computed(() => this.config().itemActions));\n readonly title = input(_computed(() => this.config().title));\n readonly titleControl = input(_computed(() => this.config().titleControl));\n readonly titleEditable = input(_computed(() => this.config().titleEditable));\n readonly description = input(_computed(() => this.config().description));\n readonly items = input<T[]>(_computed(() => this.config().items));\n readonly itemsMap = input<ItemsMap<T>>(_computed(() => convertToItemsMap(this.items())));\n readonly itemsMapKeys = input(_computed(() => Object.keys(this.itemsMap() ?? {})));\n readonly itemsLength = input(_computed(() => this.config().itemsLength));\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly groupedBy = input(_computed(() => this.config().groupedBy));\n readonly groupKeys = input(_computed(() => this.config().groupKeys));\n readonly pageSizeOptions = input(_computed(() => this.config().pageSizeOptions));\n readonly type = input(_computed(() => this.config().type));\n readonly selection = input(_computed(() => this.config().selection));\n readonly highlight = input(_computed(() => this.config().highlight));\n readonly queryLabel = input(_computed(() => this.config().queryLabel));\n readonly getRowClass = input(_computed(() => this.config().getRowClass));\n readonly navMode = input(_computed(() => 'expanded'));\n readonly form$ = toObservable(computeFake(this.form));\n readonly formValue = computedRawValue(() => call(this.form()));\n readonly pipes = { index: inject(IndexPipe), indexLength: inject(IndexLengthPipe) };\n // readonly itemsSize = computed(() => this.pipes.indexLength.transform(this.items(), this.formValue() as any));\n}\n\n@Component({\n imports: [\n AutoLayoutFrame,\n ChipsInputSectionOrganism,\n ScrollFrame,\n DividerFrame,\n GridToolbarOrganismStore,\n PaginatorOrganismStore,\n ListOrganism,\n TabsFrame,\n // TableOrganism,\n TableOrganismStore,\n TreeListOrganism,\n GridCardsSectionOrganism,\n NavigatorOrganismStore,\n HeaderMoleculeStore,\n NgTemplateOutlet,\n TextInputFieldMolecule,\n VerticalHideFrame,\n JsonPipe\n ],\n selector: 'templates-index',\n template: `\n <frames-scroll>\n <frames-vertical-hide [mode]=\"store.navMode()\" top>\n <organisms-navigator\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n top\n injectable>\n @if (store.titleEditable()) {\n <molecules-text-input-field\n [label]=\"'title'\"\n [placeholder]=\"'title'\"\n [control]=\"store.titleControl()\"\n [appearance]=\"'fill'\"\n />\n } @else {\n <molecules-header injectable [title]=\"store.title()\" [description]=\"store.description()\"/>\n }\n </organisms-navigator>\n <div class=\"dashboard\">\n <ng-content first select=\"[navDashboard]\" />\n </div>\n </frames-vertical-hide>\n <frames-auto-layout [type]=\"'vertical'\" contents>\n @defer {\n <frames-divider>\n <ng-content first select=\"[dashboard]\" />\n <div style=\"display: flex; flex-direction: column; width: 100%; height: 100%;\" second>\n @if (store.gridToolbarActions() || true) {\n @defer {\n <organisms-grid-toolbar injectable\n [actions]=\"store.gridToolbarActions()\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @if (store.form().get(['query'])) {\n <organisms-chips-input-section\n [control]=\"store.form().get(['query'])\"\n [label]=\"store.queryLabel()\"\n />\n }\n @if (store.itemsMapKeys().length > 1) {\n @defer {\n <frames-tabs\n [labels]=\"store.itemsMapKeys()\"\n (selectedTabIndexChange)=\"onSelectedTabIndexChange($event)\"\n >\n @let map = store.itemsMap();\n @for (key of store.itemsMapKeys(); track key;) {\n <ng-template #tab>\n <ng-container *ngTemplateOutlet=\"items; context: {map, key}\"/>\n </ng-template>\n }\n </frames-tabs>\n }\n } @else if(store.itemsMapKeys().length === 1) {\n @let key = store.itemsMapKeys()[0];\n @let map = store.itemsMap();\n <ng-container *ngTemplateOutlet=\"items; context: {map, key}\"/>\n } @else { }\n </div>\n </frames-divider>\n }\n </frames-auto-layout>\n </frames-scroll>\n\n <ng-template #items let-map=\"map\" let-key=\"key\">\n @let data = map[key];\n @let type = data?.type ?? store.type();\n @let items = data?.items ?? [];\n @let itemActions = data?.itemActions ?? store.itemActions();\n @let childrenKey = data?.childrenKey ?? store.tableChildrenKey();\n @let highlight = data?.highlight ?? store.highlight();\n @let groupBy = data?.groupedBy ?? store.groupedBy();\n @let groupKeys = data?.groupKeys ?? store.groupKeys();\n @let selection = data?.selection ?? store.selection();\n @let tableTreeControl = data?.treeControl ?? store.tableTreeControl();\n @let pageSizeOptions = data?.pageSizeOptions ?? store.pageSizeOptions();\n @let isHidden = data?.tableIsHidden ?? store.tableIsHidden();\n @let form = data?.form ?? store.form();\n @let pageForm = data?.form?.get(['page']) ?? store.form().get(['page']);\n @let itemLength = store.itemsLength();\n @let tableFormFieldMap = store.tableColumnFormFieldMap();\n @switch(type) {\n @case('json') {\n <pre>{{ items | json }}</pre>\n }\n @case('list') {\n @if (data.childrenKey) {\n <organisms-tree-list\n [items]=\"items\"\n [childrenKey]=\"childrenKey\"\n [treeControl]=\"tableTreeControl\"\n (action)=\"dispatch($event)\"\n />\n } @else {\n <organisms-list\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [groupedBy]=\"groupBy\"\n [groupKeys]=\"groupKeys\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('grid') { @defer {\n <organisms-grid-cards-section\n [items]=\"items\"\n (action)=\"dispatch($event)\"\n contents\n />\n } }\n @default {\n <organisms-table injectable\n [columnFormFieldMap]=\"tableFormFieldMap\"\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [selection]=\"selection\"\n [form]=\"form\"\n [childrenKey]=\"childrenKey\"\n [highlight]=\"highlight\"\n [isHidden]=\"isHidden\"\n [treeControl]=\"tableTreeControl\"\n [getRowClass]=\"store.getRowClass()\"\n (action)=\"dispatch($event, undefined, key)\"\n />\n @if (pageForm) { @defer {\n <organisms-paginator injectable\n [form]=\"pageForm\"\n [itemLength]=\"itemLength\"\n [pageSizeOptions]=\"pageSizeOptions\"\n />\n } }\n }\n }\n </ng-template>\n `,\n styleUrls: ['./index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n hostDirectives: [\n {\n directive: IndexTemplateStore,\n inputs: [\n 'gridToolbarActions',\n 'tableChildrenKey',\n 'tableIsHidden',\n 'tableTreeControl',\n 'tableColumnFormFieldMap',\n 'form',\n 'title',\n 'titleControl',\n 'titleEditable',\n 'description',\n 'items',\n 'itemsMap',\n 'itemsLength',\n 'itemActions',\n 'navStartActions',\n 'navEndActions',\n 'navMode',\n 'groupedBy',\n 'groupKeys',\n 'selection',\n 'pageSizeOptions',\n 'type',\n 'highlight',\n 'queryLabel',\n 'getRowClass',\n ],\n outputs: [],\n }\n ],\n providers: [\n QueryResolverService,\n ]\n})\nexport class IndexTemplate<T> extends NgAtomicComponent {\n static ActionId = ActionId;\n protected ActionId = ActionId;\n protected store = inject(IndexTemplateStore);\n\n readonly dividerFrame = viewChild(DividerFrame);\n readonly tables = viewChildren<TableOrganismStore<TableOrganism<any>, any>>(TableOrganismStore);\n\n protected onSelectedTabIndexChange(i: number) {\n // タブ切り替え時にテーブルの仮想スクロールを完全にリセット\n setTimeout(() => {\n const tableStore = this.tables().at(i);\n if (!tableStore) return;\n\n const table = tableStore.injected;\n if (!table) return;\n\n // データソースを一時的に切断して再接続(ツリー展開と同じ効果)\n const currentDataSource = table.dataSource.dataSource();\n if (currentDataSource) {\n // 一度nullにしてから再設定することで完全なリセット\n table.dataSource.reconnect(null as any);\n\n requestAnimationFrame(() => {\n // データソースを再接続\n table.dataSource.reconnect(currentDataSource);\n\n // viewportのリセット\n const viewport = table.viewport();\n if (viewport) {\n // viewportを再設定\n table.dataSource.viewport.set(null as any);\n requestAnimationFrame(() => {\n table.dataSource.viewport.set(viewport);\n\n // サイズの再計算\n viewport.checkViewportSize();\n\n // スクロール位置をリセット\n viewport.scrollToIndex(0);\n });\n }\n });\n }\n }, 50); // タブアニメーションの完了を待つ\n }\n\n @Effect(TableOrganism.ActionId.HEADER_CLICK)\n protected onTableHeaderClick(column: string) {\n this.dispatch({ id: ActionId.TABLE_HEADER_CLICK, payload: column });\n }\n\n @Effect(TableOrganism.ActionId.CHECKBOX_CLICK)\n protected onCheckboxClickItem(item: T) {\n this.dispatch({ id: ActionId.TABLE_CHECKBOX_CLICK, payload: item });\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_CLICK)\n @Effect(ListOrganism.ActionId.CLICK_ITEM)\n @Effect(TreeListOrganismStore.ActionId.CLICK_ITEM)\n protected onItemClicked(item: T) {\n this.dispatch({ id: ActionId.ITEM_CLICK, payload: item });\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_MENU_CLICK)\n @Effect(ListOrganism.ActionId.ITEM_BUTTON_CLICK)\n protected onItemButtonClicked(item: T) {\n this.dispatch({ id: ActionId.LIST_ITEM_BUTTON_CLICKED, payload: item });\n }\n\n @Effect(TableOrganismStore.ActionId.HEADER_CHECKBOX_CLICK)\n protected onHeaderCheckboxClick() {\n this.dispatch({ id: ActionId.TABLE_HEADER_CHECKBOX_CLICK });\n }\n\n @Effect(TableOrganismStore.ActionId.COLUMN_WIDTH_CHANGE, { accessor: (action) => action })\n protected onColumnWidthChange(action: Action<{ columnName: string, width: number }>) {\n this.dispatch({\n id: ActionId.TABLE_COLUMN_WIDTH_CHANGE,\n payload: {\n key: action.meta.componentId,\n columnName: action.payload!.columnName,\n width: action.payload!.width\n },\n })\n }\n\n @Effect(NavActionId.BACK)\n protected back() {\n this.dispatch({ id: ActionId.BACK });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AACA,MAAM,SAAS,GAAG,EAAE;IAER;AAAZ,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,8CAAqD;AACrD,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,4DAAiF;AACjF,IAAA,QAAA,CAAA,6BAAA,CAAA,GAAA,qEAAmG;AACnG,IAAA,QAAA,CAAA,sBAAA,CAAA,GAAA,8DAAqF;AACrF,IAAA,QAAA,CAAA,2BAAA,CAAA,GAAA,mEAA+F;AAC/F,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,oDAAiE;AACjE,IAAA,QAAA,CAAA,QAAA,CAAA,GAAA,gDAAyD;AACzD,IAAA,QAAA,CAAA,0BAAA,CAAA,GAAA,kEAA6F;AAC7F,IAAA,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AA,EAAA,EAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,aAAA,EAAA,EAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA;;AC3ahG;;AAEG;;;;"}
|
|
@@ -19,13 +19,13 @@ class BackgroundTemplate {
|
|
|
19
19
|
this.store = inject(BackgroundTemplateStore);
|
|
20
20
|
}
|
|
21
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: BackgroundTemplate, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.6", type: BackgroundTemplate, isStandalone: true, selector: "templates-background", hostDirectives: [{ directive: BackgroundTemplateStore }], ngImport: i0, template: ``, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #fff;--background-color-SCOPED-IN-background-
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.6", type: BackgroundTemplate, isStandalone: true, selector: "templates-background", hostDirectives: [{ directive: BackgroundTemplateStore }], ngImport: i0, template: ``, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #fff;--background-color-SCOPED-IN-background-xk7Z: var(--background-color);--on-background-color: hsl(0, 0%, 0%);--on-background-color-SCOPED-IN-background-xk7Z: var(--on-background-color)}:host{width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-background-xk7Z);color:var(--on-background-color-SCOPED-IN-background-xk7Z)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
23
|
}
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: BackgroundTemplate, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: 'templates-background', imports: [], template: ``, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
27
27
|
BackgroundTemplateStore,
|
|
28
|
-
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #fff;--background-color-SCOPED-IN-background-
|
|
28
|
+
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #fff;--background-color-SCOPED-IN-background-xk7Z: var(--background-color);--on-background-color: hsl(0, 0%, 0%);--on-background-color-SCOPED-IN-background-xk7Z: var(--on-background-color)}:host{width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-background-xk7Z);color:var(--on-background-color-SCOPED-IN-background-xk7Z)}\n"] }]
|
|
29
29
|
}] });
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -51,7 +51,7 @@ class CodeEditorTemplate extends NgAtomicComponent {
|
|
|
51
51
|
contents
|
|
52
52
|
/>
|
|
53
53
|
</frames-scroll>
|
|
54
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-code-editor-
|
|
54
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-code-editor-JBRo: var(--navigator-height);--primary-color: #404040;--primary-color-SCOPED-IN-code-editor-JBRo: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-code-editor-JBRo: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-code-editor-JBRo: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-code-editor-JBRo: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-code-editor-JBRo: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-code-editor-JBRo: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-code-editor-JBRo: var(--on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-code-editor-JBRo: var(--first-content-height);--navigator-background-color: var(--primary-color-SCOPED-IN-code-editor-JBRo);--navigator-background-color-SCOPED-IN-code-editor-JBRo: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-code-editor-JBRo);--navigator-on-background-color-SCOPED-IN-code-editor-JBRo: var(--navigator-on-background-color);--table-background-color: var(--background-color-SCOPED-IN-code-editor-JBRo);--table-background-color-SCOPED-IN-code-editor-JBRo: var(--table-background-color);--table-on-background-color: var(--on-background-color-SCOPED-IN-code-editor-JBRo);--table-on-background-color-SCOPED-IN-code-editor-JBRo: var(--table-on-background-color);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-code-editor-JBRo: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-code-editor-JBRo: var(--max-first-content-height)}:host{display:block;width:100%;height:100%}:host extras-editor{height:100%;max-height:100%;font-size:14px}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-code-editor-JBRo);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-code-editor-JBRo)}:host *{--primary-color: var(--primary-color-SCOPED-IN-code-editor-JBRo);--on-primary-color: var(--on-primary-color-SCOPED-IN-code-editor-JBRo);--surface-color: var(--surface-color-SCOPED-IN-code-editor-JBRo);--on-surface-color: var(--on-surface-color-SCOPED-IN-code-editor-JBRo);--background-color: var(--background-color-SCOPED-IN-code-editor-JBRo);--on-background-color: var(--on-background-color-SCOPED-IN-code-editor-JBRo)}\n"], dependencies: [{ kind: "component", type: EditorComponent, selector: "extras-editor" }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
55
55
|
}
|
|
56
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: CodeEditorTemplate, decorators: [{
|
|
57
57
|
type: Component,
|
|
@@ -89,7 +89,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
89
89
|
}
|
|
90
90
|
], host: {
|
|
91
91
|
class: 'template',
|
|
92
|
-
}, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-code-editor-
|
|
92
|
+
}, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-code-editor-JBRo: var(--navigator-height);--primary-color: #404040;--primary-color-SCOPED-IN-code-editor-JBRo: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-code-editor-JBRo: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-code-editor-JBRo: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-code-editor-JBRo: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-code-editor-JBRo: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-code-editor-JBRo: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-code-editor-JBRo: var(--on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-code-editor-JBRo: var(--first-content-height);--navigator-background-color: var(--primary-color-SCOPED-IN-code-editor-JBRo);--navigator-background-color-SCOPED-IN-code-editor-JBRo: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-code-editor-JBRo);--navigator-on-background-color-SCOPED-IN-code-editor-JBRo: var(--navigator-on-background-color);--table-background-color: var(--background-color-SCOPED-IN-code-editor-JBRo);--table-background-color-SCOPED-IN-code-editor-JBRo: var(--table-background-color);--table-on-background-color: var(--on-background-color-SCOPED-IN-code-editor-JBRo);--table-on-background-color-SCOPED-IN-code-editor-JBRo: var(--table-on-background-color);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-code-editor-JBRo: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-code-editor-JBRo: var(--max-first-content-height)}:host{display:block;width:100%;height:100%}:host extras-editor{height:100%;max-height:100%;font-size:14px}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-code-editor-JBRo);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-code-editor-JBRo)}:host *{--primary-color: var(--primary-color-SCOPED-IN-code-editor-JBRo);--on-primary-color: var(--on-primary-color-SCOPED-IN-code-editor-JBRo);--surface-color: var(--surface-color-SCOPED-IN-code-editor-JBRo);--on-surface-color: var(--on-surface-color-SCOPED-IN-code-editor-JBRo);--background-color: var(--background-color-SCOPED-IN-code-editor-JBRo);--on-background-color: var(--on-background-color-SCOPED-IN-code-editor-JBRo)}\n"] }]
|
|
93
93
|
}], propDecorators: { editor: [{ type: i0.ViewChild, args: [i0.forwardRef(() => EditorComponent), { isSignal: true }] }] } });
|
|
94
94
|
|
|
95
95
|
/**
|
|
@@ -98,7 +98,7 @@ class ColumnsTemplate extends NgAtomicComponent {
|
|
|
98
98
|
</mat-list>
|
|
99
99
|
</div>
|
|
100
100
|
</frames-scroll>
|
|
101
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-columns-
|
|
101
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-columns-q4Jg: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-columns-q4Jg: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-columns-q4Jg: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-columns-q4Jg: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-columns-q4Jg: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-columns-q4Jg: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-columns-q4Jg: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-columns-q4Jg: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-columns-q4Jg: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-columns-q4Jg: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-columns-q4Jg);--navigator-background-color-SCOPED-IN-columns-q4Jg: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-columns-q4Jg);--navigator-on-background-color-SCOPED-IN-columns-q4Jg: var(--navigator-on-background-color)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-columns-q4Jg);color:var(--on-background-color-SCOPED-IN-columns-q4Jg)}:host frames-auto-layout{height:fit-content;--gap: var(--gap-SCOPED-IN-columns-q4Jg);--vertical-padding: var(--vertical-padding-SCOPED-IN-columns-q4Jg)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-columns-q4Jg)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-columns-q4Jg);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-columns-q4Jg)}:host *{--primary-color: var(--primary-color-SCOPED-IN-columns-q4Jg);--on-primary-color: var(--on-primary-color-SCOPED-IN-columns-q4Jg);--surface-color: var(--surface-color-SCOPED-IN-columns-q4Jg);--on-surface-color: var(--on-surface-color-SCOPED-IN-columns-q4Jg);--background-color: var(--background-color-SCOPED-IN-columns-q4Jg);--on-background-color: var(--on-background-color-SCOPED-IN-columns-q4Jg)}\n"], dependencies: [{ kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }, { kind: "directive", type: HeaderMoleculeStore, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i2.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i2.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: DomainPipe, name: "domain" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
102
102
|
}
|
|
103
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: ColumnsTemplate, decorators: [{
|
|
104
104
|
type: Component,
|
|
@@ -154,7 +154,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
154
154
|
},
|
|
155
155
|
], host: {
|
|
156
156
|
class: 'template',
|
|
157
|
-
}, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-columns-
|
|
157
|
+
}, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-columns-q4Jg: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-columns-q4Jg: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-columns-q4Jg: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-columns-q4Jg: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-columns-q4Jg: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-columns-q4Jg: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-columns-q4Jg: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-columns-q4Jg: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-columns-q4Jg: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-columns-q4Jg: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-columns-q4Jg);--navigator-background-color-SCOPED-IN-columns-q4Jg: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-columns-q4Jg);--navigator-on-background-color-SCOPED-IN-columns-q4Jg: var(--navigator-on-background-color)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-columns-q4Jg);color:var(--on-background-color-SCOPED-IN-columns-q4Jg)}:host frames-auto-layout{height:fit-content;--gap: var(--gap-SCOPED-IN-columns-q4Jg);--vertical-padding: var(--vertical-padding-SCOPED-IN-columns-q4Jg)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-columns-q4Jg)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-columns-q4Jg);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-columns-q4Jg)}:host *{--primary-color: var(--primary-color-SCOPED-IN-columns-q4Jg);--on-primary-color: var(--on-primary-color-SCOPED-IN-columns-q4Jg);--surface-color: var(--surface-color-SCOPED-IN-columns-q4Jg);--on-surface-color: var(--on-surface-color-SCOPED-IN-columns-q4Jg);--background-color: var(--background-color-SCOPED-IN-columns-q4Jg);--on-background-color: var(--on-background-color-SCOPED-IN-columns-q4Jg)}\n"] }]
|
|
158
158
|
}] });
|
|
159
159
|
|
|
160
160
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-columns.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/columns/columns.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/columns/ng-atomic-components-templates-columns.ts"],"sourcesContent":["import { CdkDragDrop, DragDropModule, moveItemInArray } from '@angular/cdk/drag-drop';\nimport { JsonPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, effect, inject, input } from '@angular/core';\nimport { MatIcon } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatSlideToggle, MatSlideToggleChange } from '@angular/material/slide-toggle';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { _computed, InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';\nimport { injectColumnsForm } from '@ng-atomic/common/services/form/columns';\nimport { computedAsync } from 'ngxtension/computed-async';\nimport { map, startWith } from 'rxjs';\nimport { DomainPipe } from '@ng-atomic/common/pipes/domain';\n\n@Directive({standalone: true, selector: 'templates-columns'})\nexport class ColumnsTemplateStore extends InjectableComponent {\n static Config = makeConfig(() => {\n const form = injectColumnsForm();\n return () => ({\n navStartActions: [],\n navEndActions: [],\n title: '',\n form,\n formFlatExcludes: [],\n actions: [],\n fieldMap: {},\n });\n }, ['components', 'templates', 'columns']);\n\n static provideDefault() {\n return [\n ColumnsTemplateStore.Config.provide(),\n ];\n }\n readonly config = ColumnsTemplateStore.Config.inject();\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly title = input(_computed(() => this.config().title));\n readonly form = input(_computed(() => this.config().form));\n readonly actions = input(_computed(() => this.config().actions));\n readonly fieldMap = input(_computed(() => this.config().fieldMap));\n\n readonly columnIds = computedAsync(() => {\n return this.form().valueChanges.pipe(startWith(this.form().getRawValue()), map((value) => value.ids));\n });\n}\n\n@Component({\n selector: 'templates-columns',\n imports: [\n ScrollFrame,\n NavigatorOrganismStore,\n HeaderMoleculeStore,\n MatListModule,\n DragDropModule,\n MatSlideToggle,\n MatIcon,\n DomainPipe,\n ],\n template: `\n <frames-scroll>\n <organisms-navigator injectable\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n top\n >\n <molecules-header injectable [title]=\"store.title()\" [description]=\"''\"/>\n </organisms-navigator>\n <div cdkDropList (cdkDropListDropped)=\"onDrop($event)\">\n <mat-list>\n @for (id of store.columnIds(); track id) {\n @if (store.form().get(['map', id, 'visible'])) {\n <mat-list-item cdkDrag style=\"width: 100%;\">\n <span matListItemIcon cdkDragHandle style=\"cursor: move; margin-right: 16px;\">\n <mat-icon>drag_handle</mat-icon>\n </span>\n <span> {{ id | domain }}</span>\n <mat-slide-toggle\n [checked]=\"store.form().get(['map', id, 'visible']).value\"\n (change)=\"onToggle($event, id)\"\n matListItemMeta\n />\n </mat-list-item>\n }\n }\n </mat-list>\n </div>\n </frames-scroll>\n `,\n styleUrl: './columns.template.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: ColumnsTemplateStore,\n inputs: [\n 'navStartActions',\n 'navEndActions',\n 'title',\n 'form',\n 'actions',\n ],\n },\n ],\n host: {\n class: 'template',\n }\n})\nexport class ColumnsTemplate extends NgAtomicComponent {\n protected store = inject(ColumnsTemplateStore);\n\n protected onDrop(event: CdkDragDrop<string[]>) {\n const ids = this.store.form().get(['ids']).value;\n moveItemInArray(ids, event.previousIndex, event.currentIndex);\n this.store.form().get(['ids']).patchValue([...ids]);\n }\n\n protected onToggle(event: MatSlideToggleChange, id: string) {\n this.store.form().get(['map', id, 'visible']).patchValue(event.checked);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiBM,MAAO,oBAAqB,SAAQ,mBAAmB,CAAA;AAD7D,IAAA,WAAA,GAAA;;AAoBW,QAAA,IAAA,CAAA,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE;AAC7C,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,eAAe,CAAC,2DAAC;AACvE,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,aAAa,CAAC,yDAAC;AACnE,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,iDAAC;AACnD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,gDAAC;AACjD,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,mDAAC;AACvD,QAAA,IAAA,CAAA,QAA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;wBACtB,mBAAmB;wBACnB,aAAa;wBACb,cAAc;wBACd,cAAc;wBACd,OAAO;wBACP,UAAU;qBACX,EAAA,QAAA,EACS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BX,EAAA,eAAA,EAEkB,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/B;AACZ,wBAAA;AACI,4BAAA,SAAS,EAAE,oBAAoB;AAC/B,4BAAA,MAAM,EAAE;gCACJ,iBAAiB;gCACjB,eAAe;gCACf,OAAO;gCACP,MAAM;gCACN,SAAS;AACZ,6BAAA;AACJ,yBAAA;qBACJ,EAAA,IAAA,EACK;AACF,wBAAA,KAAK,EAAE,UAAU;AACpB,qBAAA,EAAA,MAAA,EAAA,CAAA,urEAAA,CAAA,EAAA;;;AC5GL;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-columns.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/columns/columns.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/columns/ng-atomic-components-templates-columns.ts"],"sourcesContent":["import { CdkDragDrop, DragDropModule, moveItemInArray } from '@angular/cdk/drag-drop';\nimport { JsonPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, effect, inject, input } from '@angular/core';\nimport { MatIcon } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatSlideToggle, MatSlideToggleChange } from '@angular/material/slide-toggle';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { _computed, InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';\nimport { injectColumnsForm } from '@ng-atomic/common/services/form/columns';\nimport { computedAsync } from 'ngxtension/computed-async';\nimport { map, startWith } from 'rxjs';\nimport { DomainPipe } from '@ng-atomic/common/pipes/domain';\n\n@Directive({standalone: true, selector: 'templates-columns'})\nexport class ColumnsTemplateStore extends InjectableComponent {\n static Config = makeConfig(() => {\n const form = injectColumnsForm();\n return () => ({\n navStartActions: [],\n navEndActions: [],\n title: '',\n form,\n formFlatExcludes: [],\n actions: [],\n fieldMap: {},\n });\n }, ['components', 'templates', 'columns']);\n\n static provideDefault() {\n return [\n ColumnsTemplateStore.Config.provide(),\n ];\n }\n readonly config = ColumnsTemplateStore.Config.inject();\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly title = input(_computed(() => this.config().title));\n readonly form = input(_computed(() => this.config().form));\n readonly actions = input(_computed(() => this.config().actions));\n readonly fieldMap = input(_computed(() => this.config().fieldMap));\n\n readonly columnIds = computedAsync(() => {\n return this.form().valueChanges.pipe(startWith(this.form().getRawValue()), map((value) => value.ids));\n });\n}\n\n@Component({\n selector: 'templates-columns',\n imports: [\n ScrollFrame,\n NavigatorOrganismStore,\n HeaderMoleculeStore,\n MatListModule,\n DragDropModule,\n MatSlideToggle,\n MatIcon,\n DomainPipe,\n ],\n template: `\n <frames-scroll>\n <organisms-navigator injectable\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n top\n >\n <molecules-header injectable [title]=\"store.title()\" [description]=\"''\"/>\n </organisms-navigator>\n <div cdkDropList (cdkDropListDropped)=\"onDrop($event)\">\n <mat-list>\n @for (id of store.columnIds(); track id) {\n @if (store.form().get(['map', id, 'visible'])) {\n <mat-list-item cdkDrag style=\"width: 100%;\">\n <span matListItemIcon cdkDragHandle style=\"cursor: move; margin-right: 16px;\">\n <mat-icon>drag_handle</mat-icon>\n </span>\n <span> {{ id | domain }}</span>\n <mat-slide-toggle\n [checked]=\"store.form().get(['map', id, 'visible']).value\"\n (change)=\"onToggle($event, id)\"\n matListItemMeta\n />\n </mat-list-item>\n }\n }\n </mat-list>\n </div>\n </frames-scroll>\n `,\n styleUrl: './columns.template.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: ColumnsTemplateStore,\n inputs: [\n 'navStartActions',\n 'navEndActions',\n 'title',\n 'form',\n 'actions',\n ],\n },\n ],\n host: {\n class: 'template',\n }\n})\nexport class ColumnsTemplate extends NgAtomicComponent {\n protected store = inject(ColumnsTemplateStore);\n\n protected onDrop(event: CdkDragDrop<string[]>) {\n const ids = this.store.form().get(['ids'])!.value;\n moveItemInArray(ids, event.previousIndex, event.currentIndex);\n this.store.form().get(['ids'])!.patchValue([...ids]);\n }\n\n protected onToggle(event: MatSlideToggleChange, id: string) {\n this.store.form().get(['map', id, 'visible'])!.patchValue(event.checked);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiBM,MAAO,oBAAqB,SAAQ,mBAAmB,CAAA;AAD7D,IAAA,WAAA,GAAA;;AAoBW,QAAA,IAAA,CAAA,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE;AAC7C,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,eAAe,CAAC,2DAAC;AACvE,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,aAAa,CAAC,yDAAC;AACnE,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,iDAAC;AACnD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,gDAAC;AACjD,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,C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AA,OAAA,EACpB;wBACP,WAAW;wBACX,sBAAsB;wBACtB,mBAAmB;wBACnB,aAAa;wBACb,cAAc;wBACd,cAAc;wBACd,OAAO;wBACP,UAAU;qBACX,EAAA,QAAA,EACS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BX,EAAA,eAAA,EAEkB,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/B;AACZ,wBAAA;AACI,4BAAA,SAAS,EAAE,oBAAoB;AAC/B,4BAAA,MAAM,EAAE;gCACJ,iBAAiB;gCACjB,eAAe;gCACf,OAAO;gCACP,MAAM;gCACN,SAAS;AACZ,6BAAA;AACJ,yBAAA;qBACJ,EAAA,IAAA,EACK;AACF,wBAAA,KAAK,EAAE,UAAU;AACpB,qBAAA,EAAA,MAAA,EAAA,CAAA,urEAAA,CAAA,EAAA;;;AC5GL;;AAEG;;;;"}
|
|
@@ -76,7 +76,7 @@ class EntranceTemplate extends NgAtomicComponent {
|
|
|
76
76
|
}
|
|
77
77
|
</frames-auto-layout>
|
|
78
78
|
</frames-card>
|
|
79
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
79
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-dTSf: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-dTSf: var(--background-color);--on-background-color: #333;--on-background-color-SCOPED-IN-entrance-dTSf: var(--on-background-color);--page-width-lv1-SCOPED-IN-entrance-dTSf: var(--page-width-lv1)}:host{display:flex;justify-content:center;align-items:center;background-color:transparent;color:var(--on-background-color-SCOPED-IN-entrance-dTSf);width:100%;height:100%}:host frames-card{display:flex;flex-direction:column;--background-color: rgba(255, 255, 255, .6);width:600px;max-width:calc(100% - 32px);height:fit-content}:host frames-card *{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-dTSf)}:host frames-card ng-atomic-form-section-builder{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-dTSf)}\n"], dependencies: [{ kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: CardFrame, selector: "frames-card" }, { kind: "component", type: HeadingOrganism, selector: "organisms-heading", inputs: ["level"] }, { kind: "component", type: NgAtomicFormSectionBuilder, selector: "ng-atomic-form-section-builder", inputs: ["form", "formFlatExcludes", "fieldMap", "fieldKeys"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [import('@ng-atomic/components/organisms/action-buttons-section').then(m => m.ActionButtonsSectionOrganism)]] }); }
|
|
80
80
|
}
|
|
81
81
|
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ngImport: i0, type: EntranceTemplate, resolveDeferredDeps: () => [import('@ng-atomic/components/organisms/action-buttons-section').then(m => m.ActionButtonsSectionOrganism)], resolveMetadata: ActionButtonsSectionOrganism => ({ decorators: [{
|
|
82
82
|
type: Component,
|
|
@@ -118,7 +118,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ng
|
|
|
118
118
|
'fieldMap',
|
|
119
119
|
],
|
|
120
120
|
},
|
|
121
|
-
], styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
121
|
+
], styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-dTSf: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-dTSf: var(--background-color);--on-background-color: #333;--on-background-color-SCOPED-IN-entrance-dTSf: var(--on-background-color);--page-width-lv1-SCOPED-IN-entrance-dTSf: var(--page-width-lv1)}:host{display:flex;justify-content:center;align-items:center;background-color:transparent;color:var(--on-background-color-SCOPED-IN-entrance-dTSf);width:100%;height:100%}:host frames-card{display:flex;flex-direction:column;--background-color: rgba(255, 255, 255, .6);width:600px;max-width:calc(100% - 32px);height:fit-content}:host frames-card *{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-dTSf)}:host frames-card ng-atomic-form-section-builder{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-dTSf)}\n"] }]
|
|
122
122
|
}], ctorParameters: null, propDecorators: null }) });
|
|
123
123
|
|
|
124
124
|
/**
|
|
@@ -409,7 +409,7 @@ class NgAtomicFormSectionBuilder extends NgAtomicComponent {
|
|
|
409
409
|
console.debug('[NgAtomicFormSectionBuilder] controls:', controls);
|
|
410
410
|
if (this.fieldKeys().length) {
|
|
411
411
|
return [
|
|
412
|
-
...this.fieldKeys().map((key) => controls.find((control) => control.name === key)).filter(
|
|
412
|
+
...this.fieldKeys().map((key) => controls.find((control) => control.name === key)).filter((c) => !!c),
|
|
413
413
|
...controls.filter((control) => !this.fieldKeys().includes(control.name)),
|
|
414
414
|
];
|
|
415
415
|
}
|
|
@@ -429,7 +429,7 @@ class NgAtomicFormSectionBuilder extends NgAtomicComponent {
|
|
|
429
429
|
(action)="dispatch($event)"
|
|
430
430
|
/>
|
|
431
431
|
}
|
|
432
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-builder-
|
|
432
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-builder-8JbI: var(--horizontal-padding);--vertical-padding: 0px;--vertical-padding-SCOPED-IN-form-builder-8JbI: var(--vertical-padding)}:host{display:contents}:host ng-atomic-form-section-switcher ::ng-deep>*{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-builder-8JbI);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-builder-8JbI)}\n"], dependencies: [{ kind: "component", type: NgAtomicFormSectionSwitcher, selector: "ng-atomic-form-section-switcher" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
433
433
|
}
|
|
434
434
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicFormSectionBuilder, decorators: [{
|
|
435
435
|
type: Component,
|
|
@@ -444,7 +444,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
444
444
|
(action)="dispatch($event)"
|
|
445
445
|
/>
|
|
446
446
|
}
|
|
447
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-builder-
|
|
447
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-builder-8JbI: var(--horizontal-padding);--vertical-padding: 0px;--vertical-padding-SCOPED-IN-form-builder-8JbI: var(--vertical-padding)}:host{display:contents}:host ng-atomic-form-section-switcher ::ng-deep>*{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-builder-8JbI);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-builder-8JbI)}\n"] }]
|
|
448
448
|
}], ctorParameters: () => [], propDecorators: { form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: true }] }], formFlatExcludes: [{ type: i0.Input, args: [{ isSignal: true, alias: "formFlatExcludes", required: false }] }], fieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldMap", required: true }] }], fieldKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldKeys", required: false }] }] } });
|
|
449
449
|
|
|
450
450
|
var ActionId;
|
|
@@ -544,7 +544,7 @@ class FormTemplate extends NgAtomicComponent {
|
|
|
544
544
|
</frames-auto-layout>
|
|
545
545
|
</frames-divider>
|
|
546
546
|
</frames-scroll>
|
|
547
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-
|
|
547
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-BG0L: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-form-BG0L: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-form-BG0L: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-form-BG0L: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-form-BG0L: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-form-BG0L: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-form-BG0L: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-form-BG0L: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-form-BG0L: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-form-BG0L: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-form-BG0L);--navigator-background-color-SCOPED-IN-form-BG0L: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-form-BG0L);--navigator-on-background-color-SCOPED-IN-form-BG0L: var(--navigator-on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-form-BG0L: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-form-BG0L: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-form-BG0L: var(--max-first-content-height)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-form-BG0L);color:var(--on-background-color-SCOPED-IN-form-BG0L)}:host frames-divider{--first-content-height: var(--first-content-height-SCOPED-IN-form-BG0L);--min-first-content-height: var(--min-first-content-height-SCOPED-IN-form-BG0L)}:host frames-auto-layout{display:flex;justify-content:flex-start;height:fit-content;--gap: var(--gap-SCOPED-IN-form-BG0L);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-BG0L);overflow:scroll}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-BG0L)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-form-BG0L);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-form-BG0L)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-BG0L);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-BG0L);--surface-color: var(--surface-color-SCOPED-IN-form-BG0L);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-BG0L);--background-color: var(--background-color-SCOPED-IN-form-BG0L);--on-background-color: var(--on-background-color-SCOPED-IN-form-BG0L)}\n"], dependencies: [{ kind: "component", type: NgAtomicFormSectionBuilder, selector: "ng-atomic-form-section-builder", inputs: ["form", "formFlatExcludes", "fieldMap", "fieldKeys"] }, { kind: "directive", type: HeaderMoleculeStore, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "directive", type: ActionButtonsSectionOrganismStore, selector: "organisms-action-buttons-section", inputs: ["actions", "type"] }, { kind: "component", type: DividerFrame, selector: "frames-divider" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
548
548
|
}
|
|
549
549
|
__decorate([
|
|
550
550
|
Effect(NavActionId.BACK),
|
|
@@ -610,7 +610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
610
610
|
'fieldKeys',
|
|
611
611
|
],
|
|
612
612
|
},
|
|
613
|
-
], host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-
|
|
613
|
+
], host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-BG0L: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-form-BG0L: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-form-BG0L: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-form-BG0L: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-form-BG0L: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-form-BG0L: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-form-BG0L: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-form-BG0L: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-form-BG0L: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-form-BG0L: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-form-BG0L);--navigator-background-color-SCOPED-IN-form-BG0L: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-form-BG0L);--navigator-on-background-color-SCOPED-IN-form-BG0L: var(--navigator-on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-form-BG0L: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-form-BG0L: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-form-BG0L: var(--max-first-content-height)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-form-BG0L);color:var(--on-background-color-SCOPED-IN-form-BG0L)}:host frames-divider{--first-content-height: var(--first-content-height-SCOPED-IN-form-BG0L);--min-first-content-height: var(--min-first-content-height-SCOPED-IN-form-BG0L)}:host frames-auto-layout{display:flex;justify-content:flex-start;height:fit-content;--gap: var(--gap-SCOPED-IN-form-BG0L);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-BG0L);overflow:scroll}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-BG0L)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-form-BG0L);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-form-BG0L)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-BG0L);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-BG0L);--surface-color: var(--surface-color-SCOPED-IN-form-BG0L);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-BG0L);--background-color: var(--background-color-SCOPED-IN-form-BG0L);--on-background-color: var(--on-background-color-SCOPED-IN-form-BG0L)}\n"] }]
|
|
614
614
|
}], propDecorators: { back: [], fileSelected: [] } });
|
|
615
615
|
|
|
616
616
|
/**
|