@ng-atomic/components 20.67.0 → 20.73.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-badge.mjs +4 -4
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +3 -3
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +6 -6
- package/fesm2022/ng-atomic-components-atoms-logo.mjs +9 -9
- package/fesm2022/ng-atomic-components-atoms-menu-button.mjs +13 -13
- package/fesm2022/ng-atomic-components-atoms-value-cell.mjs +17 -17
- package/fesm2022/ng-atomic-components-atoms.mjs +4 -4
- package/fesm2022/ng-atomic-components-extras-editor.mjs +14 -14
- package/fesm2022/ng-atomic-components-extras.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-app.mjs +30 -30
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-breadcrumb-navbar.mjs +17 -17
- package/fesm2022/ng-atomic-components-frames-card.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-columns.mjs +25 -25
- package/fesm2022/ng-atomic-components-frames-divider.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +15 -15
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +12 -12
- package/fesm2022/ng-atomic-components-frames-fab.mjs +14 -14
- package/fesm2022/ng-atomic-components-frames-horizontal-divider.mjs +7 -7
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +14 -14
- package/fesm2022/ng-atomic-components-frames-loading.mjs +9 -9
- package/fesm2022/ng-atomic-components-frames-overlay.mjs +9 -9
- package/fesm2022/ng-atomic-components-frames-progress-bar.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +13 -13
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-side-app.mjs +7 -7
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +15 -15
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-tabs.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-toggle.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames.mjs +4 -4
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +3 -3
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +10 -10
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +10 -10
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +11 -11
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +14 -14
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-header.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-list-item.mjs +12 -12
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +9 -9
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +11 -11
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +3 -3
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +15 -15
- package/fesm2022/ng-atomic-components-molecules-text-column.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +15 -15
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-thread-message.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-breadcrumb-navbar.mjs +17 -17
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +11 -11
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +12 -12
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-list.mjs +11 -11
- package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +11 -11
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +14 -14
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +24 -24
- package/fesm2022/ng-atomic-components-organisms-table.mjs +28 -28
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +16 -16
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-tree-list.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs +20 -20
- package/fesm2022/ng-atomic-components-pages-_index.mjs +38 -38
- package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
- package/fesm2022/ng-atomic-components-pages-columns.mjs +12 -12
- package/fesm2022/ng-atomic-components-pages-form.mjs +22 -22
- package/fesm2022/ng-atomic-components-pages-terms.mjs +11 -11
- package/fesm2022/ng-atomic-components-pages.mjs +4 -4
- package/fesm2022/ng-atomic-components-services-global-iframe.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-_index.mjs +38 -38
- package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +14 -14
- package/fesm2022/ng-atomic-components-templates-columns.mjs +14 -14
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +12 -12
- package/fesm2022/ng-atomic-components-templates-form.mjs +35 -35
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +11 -11
- package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-menu.mjs +11 -11
- package/fesm2022/ng-atomic-components-templates-selection.mjs +15 -15
- package/fesm2022/ng-atomic-components-templates-settings.mjs +7 -7
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-term.mjs +11 -11
- package/fesm2022/ng-atomic-components-templates-thread.mjs +14 -14
- package/fesm2022/ng-atomic-components-templates.mjs +4 -4
- package/package.json +3 -15
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +0 -114
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +0 -208
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs +0 -99
- package/types/ng-atomic-components-organisms-graphql-editor.d.ts +0 -31
- package/types/ng-atomic-components-organisms-tree-section.d.ts +0 -50
- package/types/ng-atomic-components-templates-file-tree.d.ts +0 -27
|
@@ -27,8 +27,8 @@ class SelectionListOrganism extends NgAtomicComponent {
|
|
|
27
27
|
payload: item,
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SelectionListOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: SelectionListOrganism, isStandalone: true, selector: "organisms-selection-list", inputs: { items: "items", itemActions: "itemActions", selection: "selection" }, viewQueries: [{ propertyName: "list", first: true, predicate: MatSelectionList, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
32
32
|
<mat-selection-list
|
|
33
33
|
[multiple]="false"
|
|
34
34
|
>
|
|
@@ -61,7 +61,7 @@ class SelectionListOrganism extends NgAtomicComponent {
|
|
|
61
61
|
</mat-selection-list>
|
|
62
62
|
`, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i1.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "directive", type: i1.MatListItemAvatar, selector: "[matListItemAvatar]" }, { kind: "directive", type: i1.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-menu-button, atoms-menu-button" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SelectionListOrganism, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{ selector: 'organisms-selection-list', imports: [
|
|
67
67
|
MatListModule,
|
|
@@ -11,12 +11,12 @@ import { makeConfig } from '@ng-atomic/common/services/ui';
|
|
|
11
11
|
let SliderInputSectionOrganismStore = class SliderInputSectionOrganismStore extends InjectableComponent {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments);
|
|
14
|
-
this.control = input(new FormControl(0), ...(ngDevMode ? [{ debugName: "control" }] : []));
|
|
15
|
-
this.min = input(0, ...(ngDevMode ? [{ debugName: "min" }] : []));
|
|
16
|
-
this.max = input(100, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
17
|
-
this.step = input(1, ...(ngDevMode ? [{ debugName: "step" }] : []));
|
|
18
|
-
this.thumbLabel = input(true, ...(ngDevMode ? [{ debugName: "thumbLabel" }] : []));
|
|
19
|
-
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
14
|
+
this.control = input(new FormControl(0), ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
15
|
+
this.min = input(0, ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
|
|
16
|
+
this.max = input(100, ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
|
|
17
|
+
this.step = input(1, ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
|
|
18
|
+
this.thumbLabel = input(true, ...(ngDevMode ? [{ debugName: "thumbLabel" }] : /* istanbul ignore next */ []));
|
|
19
|
+
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
20
20
|
}
|
|
21
21
|
static { this.Config = makeConfig(() => {
|
|
22
22
|
return () => ({
|
|
@@ -24,13 +24,13 @@ let SliderInputSectionOrganismStore = class SliderInputSectionOrganismStore exte
|
|
|
24
24
|
itemActions: [],
|
|
25
25
|
});
|
|
26
26
|
}, ['components', 'organisms', 'list']); }
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
28
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SliderInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
28
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: SliderInputSectionOrganismStore, isStandalone: true, selector: "organisms-slider-input-section", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, thumbLabel: { classPropertyName: "thumbLabel", publicName: "thumbLabel", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
29
29
|
};
|
|
30
30
|
SliderInputSectionOrganismStore = __decorate([
|
|
31
31
|
TokenizedType()
|
|
32
32
|
], SliderInputSectionOrganismStore);
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SliderInputSectionOrganismStore, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
standalone: true,
|
|
@@ -42,8 +42,8 @@ class SliderInputSectionOrganism extends NgAtomicComponent {
|
|
|
42
42
|
super(...arguments);
|
|
43
43
|
this.store = inject(SliderInputSectionOrganismStore);
|
|
44
44
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SliderInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: SliderInputSectionOrganism, isStandalone: true, selector: "organisms-slider-input-section", usesInheritance: true, hostDirectives: [{ directive: SliderInputSectionOrganismStore, inputs: ["control", "control", "min", "min", "max", "max", "step", "step", "thumbLabel", "thumbLabel", "label", "label"] }], ngImport: i0, template: `
|
|
47
47
|
<span>{{ store.label() }}</span>
|
|
48
48
|
<mat-slider
|
|
49
49
|
[min]="store.min()"
|
|
@@ -56,9 +56,9 @@ class SliderInputSectionOrganism extends NgAtomicComponent {
|
|
|
56
56
|
matSliderThumb
|
|
57
57
|
>
|
|
58
58
|
</mat-slider>
|
|
59
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-slider-input-section-
|
|
59
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-slider-input-section-ShmJ: var(--horizontal-padding);--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-slider-input-section-ShmJ: var(--mat-form-field-outlined-label-text-populated-size);--mat-form-field-outlined-label-text-color-SCOPED-IN-slider-input-section-ShmJ: var(--mat-form-field-outlined-label-text-color)}:host{display:flex;flex-direction:column;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-slider-input-section-ShmJ);box-sizing:border-box}:host .slider{width:100%}:host span{padding-left:20px;font-size:var(--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-slider-input-section-ShmJ);color:var(--mat-form-field-outlined-label-text-color-SCOPED-IN-slider-input-section-ShmJ);transform:scale(.75);transform-origin:top left}\n"], dependencies: [{ kind: "ngmodule", type: MatSliderModule }, { kind: "component", type: i1.MatSlider, selector: "mat-slider", inputs: ["disabled", "discrete", "showTickMarks", "min", "color", "disableRipple", "max", "step", "displayWith"], exportAs: ["matSlider"] }, { kind: "directive", type: i1.MatSliderThumb, selector: "input[matSliderThumb]", inputs: ["value"], outputs: ["valueChange", "dragStart", "dragEnd"], exportAs: ["matSliderThumb"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SliderInputSectionOrganism, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{ selector: 'organisms-slider-input-section', imports: [
|
|
64
64
|
MatSliderModule,
|
|
@@ -81,7 +81,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
81
81
|
directive: SliderInputSectionOrganismStore,
|
|
82
82
|
inputs: ['control', 'min', 'max', 'step', 'thumbLabel', 'label'],
|
|
83
83
|
}
|
|
84
|
-
], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-slider-input-section-
|
|
84
|
+
], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-slider-input-section-ShmJ: var(--horizontal-padding);--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-slider-input-section-ShmJ: var(--mat-form-field-outlined-label-text-populated-size);--mat-form-field-outlined-label-text-color-SCOPED-IN-slider-input-section-ShmJ: var(--mat-form-field-outlined-label-text-color)}:host{display:flex;flex-direction:column;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-slider-input-section-ShmJ);box-sizing:border-box}:host .slider{width:100%}:host span{padding-left:20px;font-size:var(--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-slider-input-section-ShmJ);color:var(--mat-form-field-outlined-label-text-color-SCOPED-IN-slider-input-section-ShmJ);transform:scale(.75);transform-origin:top left}\n"] }]
|
|
85
85
|
}] });
|
|
86
86
|
|
|
87
87
|
/**
|
|
@@ -8,15 +8,15 @@ class SocialLoginSectionOrganism {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
this.signInWithGoogleButtonClick = new EventEmitter();
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SocialLoginSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: SocialLoginSectionOrganism, isStandalone: true, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-mNT4: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-mNT4);box-sizing:border-box}:host button{width:100%;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SocialLoginSectionOrganism, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'organisms-social-login-section', standalone: true, imports: [
|
|
17
17
|
CommonModule,
|
|
18
18
|
MatButtonModule,
|
|
19
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
19
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-mNT4: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-mNT4);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
|
|
20
20
|
}], propDecorators: { signInWithGoogleButtonClick: [{
|
|
21
21
|
type: Output
|
|
22
22
|
}] } });
|
|
@@ -31,10 +31,10 @@ class StripeFormService {
|
|
|
31
31
|
paymentMethodType: ['', [Validators.required]],
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
35
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StripeFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
35
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StripeFormService, providedIn: 'root' }); }
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StripeFormService, decorators: [{
|
|
38
38
|
type: Injectable,
|
|
39
39
|
args: [{ providedIn: 'root' }]
|
|
40
40
|
}] });
|
|
@@ -42,21 +42,21 @@ let StripeInputSectionOrganismStore = class StripeInputSectionOrganismStore exte
|
|
|
42
42
|
constructor() {
|
|
43
43
|
super(...arguments);
|
|
44
44
|
this.config = StripeInputSectionOrganismStore_1.Config.inject();
|
|
45
|
-
this.form = input(_computed(() => this.config().form), ...(ngDevMode ? [{ debugName: "form" }] : []));
|
|
46
|
-
this.clientSecret = input(_computed(() => this.config()?.clientSecret), ...(ngDevMode ? [{ debugName: "clientSecret" }] : []));
|
|
47
|
-
this.ephemeralKey = input(...(ngDevMode ? [undefined, { debugName: "ephemeralKey" }] : []));
|
|
48
|
-
this.appearance = input(_computed(() => this.config().appearance), ...(ngDevMode ? [{ debugName: "appearance" }] : []));
|
|
49
|
-
this.linkOptions = input(_computed(() => this.config().linkOptions), ...(ngDevMode ? [{ debugName: "linkOptions" }] : []));
|
|
50
|
-
this.addressOptions = input(_computed(() => this.config().addressOptions), ...(ngDevMode ? [{ debugName: "addressOptions" }] : []));
|
|
51
|
-
this.paymentOptions = input(_computed(() => this.config().paymentOptions), ...(ngDevMode ? [{ debugName: "paymentOptions" }] : []));
|
|
52
|
-
this.elementsOptions = input(_computed(() => this.config().elementsOptions), ...(ngDevMode ? [{ debugName: "elementsOptions" }] : []));
|
|
53
|
-
this.stripeLinkOptions = computed(() => this.linkOptions(), { ...(ngDevMode ? { debugName: "stripeLinkOptions" } : {}), equal: isEqual });
|
|
54
|
-
this.stripeAddressOptions = computed(() => this.addressOptions(), { ...(ngDevMode ? { debugName: "stripeAddressOptions" } : {}), equal: isEqual });
|
|
55
|
-
this.stripePaymentOptions = computed(() => this.paymentOptions(), { ...(ngDevMode ? { debugName: "stripePaymentOptions" } : {}), equal: isEqual });
|
|
45
|
+
this.form = input(_computed(() => this.config().form), ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
46
|
+
this.clientSecret = input(_computed(() => this.config()?.clientSecret), ...(ngDevMode ? [{ debugName: "clientSecret" }] : /* istanbul ignore next */ []));
|
|
47
|
+
this.ephemeralKey = input(...(ngDevMode ? [undefined, { debugName: "ephemeralKey" }] : /* istanbul ignore next */ []));
|
|
48
|
+
this.appearance = input(_computed(() => this.config().appearance), ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
|
|
49
|
+
this.linkOptions = input(_computed(() => this.config().linkOptions), ...(ngDevMode ? [{ debugName: "linkOptions" }] : /* istanbul ignore next */ []));
|
|
50
|
+
this.addressOptions = input(_computed(() => this.config().addressOptions), ...(ngDevMode ? [{ debugName: "addressOptions" }] : /* istanbul ignore next */ []));
|
|
51
|
+
this.paymentOptions = input(_computed(() => this.config().paymentOptions), ...(ngDevMode ? [{ debugName: "paymentOptions" }] : /* istanbul ignore next */ []));
|
|
52
|
+
this.elementsOptions = input(_computed(() => this.config().elementsOptions), ...(ngDevMode ? [{ debugName: "elementsOptions" }] : /* istanbul ignore next */ []));
|
|
53
|
+
this.stripeLinkOptions = computed(() => this.linkOptions(), { ...(ngDevMode ? { debugName: "stripeLinkOptions" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
54
|
+
this.stripeAddressOptions = computed(() => this.addressOptions(), { ...(ngDevMode ? { debugName: "stripeAddressOptions" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
55
|
+
this.stripePaymentOptions = computed(() => this.paymentOptions(), { ...(ngDevMode ? { debugName: "stripePaymentOptions" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
56
56
|
this._elementsOptions = computed(() => ({
|
|
57
57
|
...this.elementsOptions(),
|
|
58
58
|
clientSecret: this.clientSecret(),
|
|
59
|
-
}), { ...(ngDevMode ? { debugName: "_elementsOptions" } : {}), equal: isEqual });
|
|
59
|
+
}), { ...(ngDevMode ? { debugName: "_elementsOptions" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
60
60
|
}
|
|
61
61
|
static { StripeInputSectionOrganismStore_1 = this; }
|
|
62
62
|
static { this.Config = makeConfig(() => {
|
|
@@ -101,13 +101,13 @@ let StripeInputSectionOrganismStore = class StripeInputSectionOrganismStore exte
|
|
|
101
101
|
},
|
|
102
102
|
});
|
|
103
103
|
}, ['components', 'organisms', 'organisms-stripe-input-section']); }
|
|
104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
105
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StripeInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
105
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: StripeInputSectionOrganismStore, isStandalone: true, selector: "organisms-stripe-input-section", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, clientSecret: { classPropertyName: "clientSecret", publicName: "clientSecret", isSignal: true, isRequired: false, transformFunction: null }, ephemeralKey: { classPropertyName: "ephemeralKey", publicName: "ephemeralKey", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, linkOptions: { classPropertyName: "linkOptions", publicName: "linkOptions", isSignal: true, isRequired: false, transformFunction: null }, addressOptions: { classPropertyName: "addressOptions", publicName: "addressOptions", isSignal: true, isRequired: false, transformFunction: null }, paymentOptions: { classPropertyName: "paymentOptions", publicName: "paymentOptions", isSignal: true, isRequired: false, transformFunction: null }, elementsOptions: { classPropertyName: "elementsOptions", publicName: "elementsOptions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
106
106
|
};
|
|
107
107
|
StripeInputSectionOrganismStore = StripeInputSectionOrganismStore_1 = __decorate([
|
|
108
108
|
TokenizedType()
|
|
109
109
|
], StripeInputSectionOrganismStore);
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StripeInputSectionOrganismStore, decorators: [{
|
|
111
111
|
type: Directive,
|
|
112
112
|
args: [{ standalone: true, selector: 'organisms-stripe-input-section' }]
|
|
113
113
|
}], propDecorators: { form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], clientSecret: [{ type: i0.Input, args: [{ isSignal: true, alias: "clientSecret", required: false }] }], ephemeralKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "ephemeralKey", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], linkOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "linkOptions", required: false }] }], addressOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "addressOptions", required: false }] }], paymentOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentOptions", required: false }] }], elementsOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "elementsOptions", required: false }] }] } });
|
|
@@ -116,9 +116,9 @@ class StripeInputSectionOrganism extends NgAtomicComponent {
|
|
|
116
116
|
super();
|
|
117
117
|
this.store = inject(StripeInputSectionOrganismStore);
|
|
118
118
|
this.stripe = injectStripe();
|
|
119
|
-
this.linkAuthElement = viewChild(StripeLinkAuthenticationComponent, ...(ngDevMode ? [{ debugName: "linkAuthElement" }] : []));
|
|
120
|
-
this.paymentElement = viewChild(StripePaymentElementComponent, ...(ngDevMode ? [{ debugName: "paymentElement" }] : []));
|
|
121
|
-
this.addressElement = viewChild(StripeAddressComponent, ...(ngDevMode ? [{ debugName: "addressElement" }] : []));
|
|
119
|
+
this.linkAuthElement = viewChild(StripeLinkAuthenticationComponent, ...(ngDevMode ? [{ debugName: "linkAuthElement" }] : /* istanbul ignore next */ []));
|
|
120
|
+
this.paymentElement = viewChild(StripePaymentElementComponent, ...(ngDevMode ? [{ debugName: "paymentElement" }] : /* istanbul ignore next */ []));
|
|
121
|
+
this.addressElement = viewChild(StripeAddressComponent, ...(ngDevMode ? [{ debugName: "addressElement" }] : /* istanbul ignore next */ []));
|
|
122
122
|
this.paymentElementLoaded = computedAsync(() => {
|
|
123
123
|
if (this.paymentElement()) {
|
|
124
124
|
return this.paymentElement()?.load.pipe(map(() => true));
|
|
@@ -151,8 +151,8 @@ class StripeInputSectionOrganism extends NgAtomicComponent {
|
|
|
151
151
|
onChangePayment(event) {
|
|
152
152
|
this.store.form().patchValue({ paymentMethodType: event.value.type });
|
|
153
153
|
}
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
155
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StripeInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: StripeInputSectionOrganism, isStandalone: true, selector: "organisms-stripe-input-section", viewQueries: [{ propertyName: "linkAuthElement", first: true, predicate: StripeLinkAuthenticationComponent, descendants: true, isSignal: true }, { propertyName: "paymentElement", first: true, predicate: StripePaymentElementComponent, descendants: true, isSignal: true }, { propertyName: "addressElement", first: true, predicate: StripeAddressComponent, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: StripeInputSectionOrganismStore, inputs: ["form", "form", "clientSecret", "clientSecret", "ephemeralKey", "ephemeralKey", "appearance", "appearance", "linkOptions", "linkOptions", "addressOptions", "addressOptions", "paymentOptions", "paymentOptions", "elementsOptions", "elementsOptions"] }], ngImport: i0, template: `
|
|
156
156
|
@if (store._elementsOptions()?.clientSecret) {
|
|
157
157
|
<ngx-stripe-elements
|
|
158
158
|
[stripe]="stripe"
|
|
@@ -177,7 +177,7 @@ class StripeInputSectionOrganism extends NgAtomicComponent {
|
|
|
177
177
|
} @else { <molecules-loading-box [loadingMessage]="'支払いフォームを初期化中'" injectable/> }
|
|
178
178
|
`, isInline: true, styles: [":host{display:block}:host{width:100%;padding:0 16px;box-sizing:border-box}:host ngx-stripe-elements{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: StripeElementsDirective, selector: "ngx-stripe-elements,[ngxStripeElements]", inputs: ["elementsOptions", "stripe"], outputs: ["elements"] }, { kind: "component", type: StripePaymentElementComponent, selector: "ngx-stripe-payment", inputs: ["containerClass", "options", "elementsOptions", "stripe", "appearance", "clientSecret", "doNotCreateUntilClientSecretIsSet"], outputs: ["load", "blur", "change", "focus", "ready", "escape", "loaderror"] }, { kind: "component", type: StripeLinkAuthenticationComponent, selector: "ngx-stripe-link-authentication", inputs: ["containerClass", "options", "elementsOptions", "stripe"], outputs: ["load", "blur", "change", "focus", "ready", "escape", "loaderror", "loaderstart"] }, { kind: "component", type: StripeAddressComponent, selector: "ngx-stripe-address", inputs: ["containerClass", "options", "elementsOptions", "stripe"], outputs: ["load", "blur", "change", "focus", "ready", "escape", "loaderror", "loaderstart"] }, { kind: "directive", type: LoadingBoxMoleculeStore, selector: "molecules-loading-box", inputs: ["loadingMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
179
179
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StripeInputSectionOrganism, decorators: [{
|
|
181
181
|
type: Component,
|
|
182
182
|
args: [{ selector: 'organisms-stripe-input-section', imports: [
|
|
183
183
|
StripeElementsDirective,
|
|
@@ -38,9 +38,9 @@ class CustomDataSource extends DataSource {
|
|
|
38
38
|
constructor(ss) {
|
|
39
39
|
super();
|
|
40
40
|
this.ss = ss;
|
|
41
|
-
this.dataSource = signal(null, ...(ngDevMode ? [{ debugName: "dataSource" }] : []));
|
|
42
|
-
this.columnNames = signal([], ...(ngDevMode ? [{ debugName: "columnNames" }] : []));
|
|
43
|
-
this.collectionViewer = signal(null, ...(ngDevMode ? [{ debugName: "collectionViewer" }] : []));
|
|
41
|
+
this.dataSource = signal(null, ...(ngDevMode ? [{ debugName: "dataSource" }] : /* istanbul ignore next */ []));
|
|
42
|
+
this.columnNames = signal([], ...(ngDevMode ? [{ debugName: "columnNames" }] : /* istanbul ignore next */ []));
|
|
43
|
+
this.collectionViewer = signal(null, ...(ngDevMode ? [{ debugName: "collectionViewer" }] : /* istanbul ignore next */ []));
|
|
44
44
|
this.columnNames$ = toObservable(this.columnNames);
|
|
45
45
|
this.data$ = combineLatest({
|
|
46
46
|
viewer: toObservable(this.collectionViewer),
|
|
@@ -129,19 +129,19 @@ let TableOrganismStore = class TableOrganismStore extends InjectableComponent {
|
|
|
129
129
|
constructor() {
|
|
130
130
|
super(...arguments);
|
|
131
131
|
this.config = TableOrganismStore_1.Config.inject();
|
|
132
|
-
this.draggable = input(_computed(() => this.config().draggable), ...(ngDevMode ? [{ debugName: "draggable" }] : []));
|
|
132
|
+
this.draggable = input(_computed(() => this.config().draggable), ...(ngDevMode ? [{ debugName: "draggable" }] : /* istanbul ignore next */ []));
|
|
133
133
|
this.dataAccessor = injectDataAccessor();
|
|
134
134
|
this.getChildren = computed(() => {
|
|
135
135
|
return (node) => this.dataAccessor(node, this.childrenKey() ?? 'children');
|
|
136
|
-
}, ...(ngDevMode ? [{ debugName: "getChildren" }] : []));
|
|
137
|
-
this.form = input(inject(IndexTemplateFormBuilder).build(), ...(ngDevMode ? [{ debugName: "form" }] : []));
|
|
138
|
-
this.columnFormFieldMap = input({}, ...(ngDevMode ? [{ debugName: "columnFormFieldMap" }] : []));
|
|
139
|
-
this.itemActions = input([], ...(ngDevMode ? [{ debugName: "itemActions" }] : []));
|
|
140
|
-
this.selection = input(new SelectionModel(true, []), ...(ngDevMode ? [{ debugName: "selection" }] : []));
|
|
141
|
-
this.highlight = input(new SelectionModel(true, []), ...(ngDevMode ? [{ debugName: "highlight" }] : []));
|
|
142
|
-
this.childrenKey = input(null, ...(ngDevMode ? [{ debugName: "childrenKey" }] : []));
|
|
143
|
-
this.items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
144
|
-
this.treeControl = input(new FlatTreeControl(n => n.level, n => n.isExpandable, { trackBy: (n) => n?.id ?? n }), ...(ngDevMode ? [{ debugName: "treeControl" }] : []));
|
|
136
|
+
}, ...(ngDevMode ? [{ debugName: "getChildren" }] : /* istanbul ignore next */ []));
|
|
137
|
+
this.form = input(inject(IndexTemplateFormBuilder).build(), ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
138
|
+
this.columnFormFieldMap = input({}, ...(ngDevMode ? [{ debugName: "columnFormFieldMap" }] : /* istanbul ignore next */ []));
|
|
139
|
+
this.itemActions = input([], ...(ngDevMode ? [{ debugName: "itemActions" }] : /* istanbul ignore next */ []));
|
|
140
|
+
this.selection = input(new SelectionModel(true, []), ...(ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []));
|
|
141
|
+
this.highlight = input(new SelectionModel(true, []), ...(ngDevMode ? [{ debugName: "highlight" }] : /* istanbul ignore next */ []));
|
|
142
|
+
this.childrenKey = input(null, ...(ngDevMode ? [{ debugName: "childrenKey" }] : /* istanbul ignore next */ []));
|
|
143
|
+
this.items = input([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
144
|
+
this.treeControl = input(new FlatTreeControl(n => n.level, n => n.isExpandable, { trackBy: (n) => n?.id ?? n }), ...(ngDevMode ? [{ debugName: "treeControl" }] : /* istanbul ignore next */ []));
|
|
145
145
|
this.dataSource = computed(() => {
|
|
146
146
|
const items = this.items();
|
|
147
147
|
const childrenKey = this.childrenKey();
|
|
@@ -151,13 +151,13 @@ let TableOrganismStore = class TableOrganismStore extends InjectableComponent {
|
|
|
151
151
|
return buildTreeFlatDataSource(control, items, getChildren);
|
|
152
152
|
}
|
|
153
153
|
return new MatTableDataSource(items);
|
|
154
|
-
}, ...(ngDevMode ? [{ debugName: "dataSource" }] : []));
|
|
155
|
-
this.isHidden = input(_computed(() => this.config().isHidden), ...(ngDevMode ? [{ debugName: "isHidden" }] : []));
|
|
156
|
-
this.getRowClass = input(_computed(() => () => ''), ...(ngDevMode ? [{ debugName: "getRowClass" }] : []));
|
|
154
|
+
}, ...(ngDevMode ? [{ debugName: "dataSource" }] : /* istanbul ignore next */ []));
|
|
155
|
+
this.isHidden = input(_computed(() => this.config().isHidden), ...(ngDevMode ? [{ debugName: "isHidden" }] : /* istanbul ignore next */ []));
|
|
156
|
+
this.getRowClass = input(_computed(() => () => ''), ...(ngDevMode ? [{ debugName: "getRowClass" }] : /* istanbul ignore next */ []));
|
|
157
157
|
this.formValue = computedRawValue(() => this.form());
|
|
158
|
-
this.sort = computed(() => this.formValue()?.sort ?? { key: '', order: 'asc' }, { ...(ngDevMode ? { debugName: "sort" } : {}), equal: (a, b) => JSON.stringify(a) === JSON.stringify(b) });
|
|
159
|
-
this.columns = computed(() => __buildColumns(this.formValue(), this.itemActions(), this.sort()), { ...(ngDevMode ? { debugName: "columns" } : {}), equal: isEqual });
|
|
160
|
-
this.columnNames = computed(() => this.columns().map(column => column.name), { ...(ngDevMode ? { debugName: "columnNames" } : {}), equal: isEqual });
|
|
158
|
+
this.sort = computed(() => this.formValue()?.sort ?? { key: '', order: 'asc' }, { ...(ngDevMode ? { debugName: "sort" } : /* istanbul ignore next */ {}), equal: (a, b) => JSON.stringify(a) === JSON.stringify(b) });
|
|
159
|
+
this.columns = computed(() => __buildColumns(this.formValue(), this.itemActions(), this.sort()), { ...(ngDevMode ? { debugName: "columns" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
160
|
+
this.columnNames = computed(() => this.columns().map(column => column.name), { ...(ngDevMode ? { debugName: "columnNames" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
161
161
|
this.isExpandedAll = derivedAsync(() => {
|
|
162
162
|
this.dataSource();
|
|
163
163
|
const control = this.treeControl();
|
|
@@ -172,13 +172,13 @@ let TableOrganismStore = class TableOrganismStore extends InjectableComponent {
|
|
|
172
172
|
isHidden: (item) => false,
|
|
173
173
|
});
|
|
174
174
|
}, ['components', 'organisms', 'table']); }
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
176
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
175
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TableOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
176
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: TableOrganismStore, isStandalone: true, selector: "organisms-table", inputs: { draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, columnFormFieldMap: { classPropertyName: "columnFormFieldMap", publicName: "columnFormFieldMap", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, highlight: { classPropertyName: "highlight", publicName: "highlight", isSignal: true, isRequired: false, transformFunction: null }, childrenKey: { classPropertyName: "childrenKey", publicName: "childrenKey", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, treeControl: { classPropertyName: "treeControl", publicName: "treeControl", isSignal: true, isRequired: false, transformFunction: null }, isHidden: { classPropertyName: "isHidden", publicName: "isHidden", isSignal: true, isRequired: false, transformFunction: null }, getRowClass: { classPropertyName: "getRowClass", publicName: "getRowClass", isSignal: true, isRequired: false, transformFunction: null } }, providers: [DomainPipe], usesInheritance: true, ngImport: i0 }); }
|
|
177
177
|
};
|
|
178
178
|
TableOrganismStore = TableOrganismStore_1 = __decorate([
|
|
179
179
|
TokenizedType()
|
|
180
180
|
], TableOrganismStore);
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TableOrganismStore, decorators: [{
|
|
182
182
|
type: Directive,
|
|
183
183
|
args: [{
|
|
184
184
|
standalone: true,
|
|
@@ -193,7 +193,7 @@ class TableOrganism extends NgAtomicComponent {
|
|
|
193
193
|
this.store = inject(TableOrganismStore);
|
|
194
194
|
this.ss = inject(SpreadSheetService);
|
|
195
195
|
this.trackByFunc = (index, item) => item;
|
|
196
|
-
this.viewport = viewChild(CdkVirtualScrollViewport, ...(ngDevMode ? [{ debugName: "viewport" }] : []));
|
|
196
|
+
this.viewport = viewChild(CdkVirtualScrollViewport, ...(ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []));
|
|
197
197
|
this.dataSource = new CustomDataSource(this.ss);
|
|
198
198
|
this.cd = inject(ChangeDetectorRef);
|
|
199
199
|
effect(() => { this.dataSource.columnNames.set(this.store.columnNames()); });
|
|
@@ -256,8 +256,8 @@ class TableOrganism extends NgAtomicComponent {
|
|
|
256
256
|
onAutofillComplete(payload) {
|
|
257
257
|
this.dispatch({ id: ActionId.AUTOFILL_COMPLETE, payload });
|
|
258
258
|
}
|
|
259
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
260
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TableOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
260
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: TableOrganism, isStandalone: true, selector: "organisms-table", host: { attributes: { "tabindex": "0" }, listeners: { "keydown": "ss.handleKeyDown($event)" }, classAttribute: "organism" }, providers: [
|
|
261
261
|
provideSpreadSheetService(),
|
|
262
262
|
{ provide: VIRTUAL_SCROLL_STRATEGY, useClass: CustomVirtualScrollStrategy },
|
|
263
263
|
], viewQueries: [{ propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: TableOrganismStore, inputs: ["columnFormFieldMap", "columnFormFieldMap", "draggable", "draggable", "form", "form", "itemActions", "itemActions", "selection", "selection", "items", "items", "childrenKey", "childrenKey", "highlight", "highlight", "treeControl", "treeControl", "isHidden", "isHidden", "getRowClass", "getRowClass"] }], ngImport: i0, template: `
|
|
@@ -335,7 +335,7 @@ class TableOrganism extends NgAtomicComponent {
|
|
|
335
335
|
</tbody>
|
|
336
336
|
</table>
|
|
337
337
|
</cdk-virtual-scroll-viewport>
|
|
338
|
-
`, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
338
|
+
`, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-4ILc: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-4ILc: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-4ILc: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-4ILc: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-4ILc: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-4ILc: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-4ILc: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:hidden}:host table{min-width:100%;min-height:100%;background-color:var(--surface-color-SCOPED-IN-smart-table-4ILc);color:var(--on-surface-color-SCOPED-IN-smart-table-4ILc);--mat-table-row-item-label-text-color: var(--on-surface-color);--mat-table-header-headline-color: var(--on-surface-color)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-4ILc);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-4ILc)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-4ILc)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}:host table{border-collapse:collapse;-webkit-user-select:none;user-select:none}:host cdk-virtual-scroll-viewport{width:100%;height:100%;display:block;overflow:auto;overflow-anchor:none}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-content-wrapper{min-height:100%;min-width:100%;width:auto}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-spacer{width:1px;transform:translateZ(0)}:host.autofill-active{-webkit-user-select:none;user-select:none}:host.autofill-active td{pointer-events:none}:host.autofill-active td.autofill-source{pointer-events:auto}:host ::ng-deep td.autofill-preview{background-color:#2196f31a!important;border:1px dashed #2196F3!important}:host ::ng-deep td.autofill-preview:after{content:\"\";position:absolute;inset:0;background-color:#2196f30d;pointer-events:none;z-index:1}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i1.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: ActionsColumnMolecule, selector: "molecules-actions-column" }, { kind: "component", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column" }, { kind: "component", type: TextColumnMolecule, selector: "molecules-text-column", inputs: ["formFieldMap"], outputs: ["headerClick"] }, { kind: "component", type: TreeColumnMolecule, selector: "molecules-tree-column", outputs: ["headerClick", "handleMouseDown"] }, { kind: "directive", type: 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: 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: "ngmodule", type: ScrollingModule }, { kind: "component", type: i2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: GridDataTableAutofill, selector: "[gridDataTableAutofill]", outputs: ["autofillComplete"] }, { kind: "pipe", type: StylePipe, name: "style" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
339
339
|
}
|
|
340
340
|
__decorate([
|
|
341
341
|
Effect(CheckboxColumnMolecule.ActionId.CHECKBOX_CLICK),
|
|
@@ -355,7 +355,7 @@ __decorate([
|
|
|
355
355
|
__metadata("design:paramtypes", [Object]),
|
|
356
356
|
__metadata("design:returntype", void 0)
|
|
357
357
|
], TableOrganism.prototype, "onChangeWidth", null);
|
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TableOrganism, decorators: [{
|
|
359
359
|
type: Component,
|
|
360
360
|
args: [{ selector: 'organisms-table', imports: [
|
|
361
361
|
NgClass,
|
|
@@ -473,7 +473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
473
473
|
}, providers: [
|
|
474
474
|
provideSpreadSheetService(),
|
|
475
475
|
{ provide: VIRTUAL_SCROLL_STRATEGY, useClass: CustomVirtualScrollStrategy },
|
|
476
|
-
], styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
476
|
+
], styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-4ILc: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-4ILc: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-4ILc: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-4ILc: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-4ILc: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-4ILc: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-4ILc: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:hidden}:host table{min-width:100%;min-height:100%;background-color:var(--surface-color-SCOPED-IN-smart-table-4ILc);color:var(--on-surface-color-SCOPED-IN-smart-table-4ILc);--mat-table-row-item-label-text-color: var(--on-surface-color);--mat-table-header-headline-color: var(--on-surface-color)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-4ILc);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-4ILc)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-4ILc)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}:host table{border-collapse:collapse;-webkit-user-select:none;user-select:none}:host cdk-virtual-scroll-viewport{width:100%;height:100%;display:block;overflow:auto;overflow-anchor:none}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-content-wrapper{min-height:100%;min-width:100%;width:auto}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-spacer{width:1px;transform:translateZ(0)}:host.autofill-active{-webkit-user-select:none;user-select:none}:host.autofill-active td{pointer-events:none}:host.autofill-active td.autofill-source{pointer-events:auto}:host ::ng-deep td.autofill-preview{background-color:#2196f31a!important;border:1px dashed #2196F3!important}:host ::ng-deep td.autofill-preview:after{content:\"\";position:absolute;inset:0;background-color:#2196f30d;pointer-events:none;z-index:1}\n"] }]
|
|
477
477
|
}], ctorParameters: () => [], propDecorators: { viewport: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }], onCheckboxClick: [], onHeaderCheckboxClick: [], onChangeWidth: [] } });
|
|
478
478
|
function getDisplayedNodes(nodes, control) {
|
|
479
479
|
const result = [];
|
|
@@ -9,12 +9,12 @@ class TerminalOrganism {
|
|
|
9
9
|
async ngAfterViewInit() {
|
|
10
10
|
this.xterm?.open(this.terminal.nativeElement);
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TerminalOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: TerminalOrganism, isStandalone: true, selector: "organisms-terminal", inputs: { xterm: "xterm" }, viewQueries: [{ propertyName: "terminal", first: true, predicate: ["terminal"], descendants: true }], ngImport: i0, template: `
|
|
14
14
|
<div #terminal></div>
|
|
15
15
|
`, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TerminalOrganism, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'organisms-terminal', standalone: true, imports: [CommonModule], template: `
|
|
20
20
|
<div #terminal></div>
|
|
@@ -9,21 +9,21 @@ import { InjectableComponent, TokenizedType, NgAtomicComponent } from '@ng-atomi
|
|
|
9
9
|
let TextInputSectionOrganismStore = class TextInputSectionOrganismStore extends InjectableComponent {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
12
|
-
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
13
|
-
this.placeholder = input('placeholder', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
14
|
-
this.type = input('text', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
15
|
-
this.hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : []));
|
|
16
|
-
this.control = input(new FormControl(''), ...(ngDevMode ? [{ debugName: "control" }] : []));
|
|
17
|
-
this.autoComplete = input([], ...(ngDevMode ? [{ debugName: "autoComplete" }] : []));
|
|
18
|
-
this.actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
12
|
+
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
13
|
+
this.placeholder = input('placeholder', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
14
|
+
this.type = input('text', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
15
|
+
this.hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
|
|
16
|
+
this.control = input(new FormControl(''), ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
17
|
+
this.autoComplete = input([], ...(ngDevMode ? [{ debugName: "autoComplete" }] : /* istanbul ignore next */ []));
|
|
18
|
+
this.actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: TextInputSectionOrganismStore, isStandalone: true, selector: "organisms-text-input-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
22
22
|
};
|
|
23
23
|
TextInputSectionOrganismStore = __decorate([
|
|
24
24
|
TokenizedType()
|
|
25
25
|
], TextInputSectionOrganismStore);
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextInputSectionOrganismStore, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{ standalone: true, selector: 'organisms-text-input-section' }]
|
|
29
29
|
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }], autoComplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoComplete", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }] } });
|
|
@@ -32,8 +32,8 @@ class TextInputSectionOrganism extends NgAtomicComponent {
|
|
|
32
32
|
super(...arguments);
|
|
33
33
|
this.store = inject(TextInputSectionOrganismStore);
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: TextInputSectionOrganism, isStandalone: true, selector: "organisms-text-input-section", host: { classAttribute: "organism input section" }, usesInheritance: true, hostDirectives: [{ directive: TextInputSectionOrganismStore, inputs: ["label", "label", "placeholder", "placeholder", "type", "type", "hint", "hint", "control", "control", "autoComplete", "autoComplete", "actions", "actions"] }], ngImport: i0, template: `
|
|
37
37
|
<molecules-text-input-field injectable
|
|
38
38
|
[type]="store.type()"
|
|
39
39
|
[control]="store.control()"
|
|
@@ -48,9 +48,9 @@ class TextInputSectionOrganism extends NgAtomicComponent {
|
|
|
48
48
|
(action)="dispatch($event)"
|
|
49
49
|
/>
|
|
50
50
|
}
|
|
51
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
51
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-dSUt: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-dSUt) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-dSUt)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"], dependencies: [{ kind: "directive", type: TextInputFieldMoleculeStore, selector: "molecules-text-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint", "pattern", "autoComplete"] }, { kind: "directive", type: SmartMenuButtonAtomStore, selector: "atoms-menu-button, atoms-smart-menu-button", inputs: ["actions", "type", "action"] }] }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{ selector: 'organisms-text-input-section', imports: [
|
|
56
56
|
TextInputFieldMoleculeStore,
|
|
@@ -75,7 +75,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
75
75
|
directive: TextInputSectionOrganismStore,
|
|
76
76
|
inputs: ['label', 'placeholder', 'type', 'hint', 'control', 'autoComplete', 'actions'],
|
|
77
77
|
}
|
|
78
|
-
], host: { 'class': 'organism input section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
78
|
+
], host: { 'class': 'organism input section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-dSUt: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-dSUt) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-dSUt)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"] }]
|
|
79
79
|
}] });
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -6,16 +6,16 @@ import { InjectableComponent, TokenizedType } from '@ng-atomic/core';
|
|
|
6
6
|
let TextPreviewSectionOrganismStore = class TextPreviewSectionOrganismStore extends InjectableComponent {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments);
|
|
9
|
-
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
10
|
-
this.value = input('value', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
9
|
+
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
10
|
+
this.value = input('value', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextPreviewSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: TextPreviewSectionOrganismStore, isStandalone: true, selector: "organisms-text-preview-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "section organism" }, usesInheritance: true, ngImport: i0 }); }
|
|
14
14
|
};
|
|
15
15
|
TextPreviewSectionOrganismStore = __decorate([
|
|
16
16
|
TokenizedType()
|
|
17
17
|
], TextPreviewSectionOrganismStore);
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextPreviewSectionOrganismStore, decorators: [{
|
|
19
19
|
type: Directive,
|
|
20
20
|
args: [{
|
|
21
21
|
standalone: true,
|
|
@@ -26,11 +26,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
26
26
|
class TextPreviewSectionOrganism {
|
|
27
27
|
constructor() {
|
|
28
28
|
this.store = inject(TextPreviewSectionOrganismStore);
|
|
29
|
-
this.labelTemp = contentChild('labelTemp', ...(ngDevMode ? [{ debugName: "labelTemp" }] : []));
|
|
30
|
-
this.valueTemp = contentChild('valueTemp', ...(ngDevMode ? [{ debugName: "valueTemp" }] : []));
|
|
29
|
+
this.labelTemp = contentChild('labelTemp', ...(ngDevMode ? [{ debugName: "labelTemp" }] : /* istanbul ignore next */ []));
|
|
30
|
+
this.valueTemp = contentChild('valueTemp', ...(ngDevMode ? [{ debugName: "valueTemp" }] : /* istanbul ignore next */ []));
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextPreviewSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: TextPreviewSectionOrganism, isStandalone: true, selector: "organisms-text-preview-section", queries: [{ propertyName: "labelTemp", first: true, predicate: ["labelTemp"], descendants: true, isSignal: true }, { propertyName: "valueTemp", first: true, predicate: ["valueTemp"], descendants: true, isSignal: true }], hostDirectives: [{ directive: TextPreviewSectionOrganismStore, inputs: ["label", "label", "value", "value"] }], ngImport: i0, template: `
|
|
34
34
|
<div class="item">
|
|
35
35
|
<div class="title">
|
|
36
36
|
@if (labelTemp()) {
|
|
@@ -48,7 +48,7 @@ class TextPreviewSectionOrganism {
|
|
|
48
48
|
</div>
|
|
49
49
|
</div>`, isInline: true, styles: [":host{display:block}:host .item{display:block;padding:0 16px;font-size:16px}:host .item .title{margin-bottom:4px;font-size:.8em}:host .item .description{font-size:1em}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextPreviewSectionOrganism, decorators: [{
|
|
52
52
|
type: Component,
|
|
53
53
|
args: [{ selector: 'organisms-text-preview-section', template: `
|
|
54
54
|
<div class="item">
|