@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
|
@@ -10,24 +10,24 @@ var TextareaSectionOrganismStore_1;
|
|
|
10
10
|
let TextareaSectionOrganismStore = class TextareaSectionOrganismStore extends InjectableComponent {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments);
|
|
13
|
-
this.appearance = input('outline', ...(ngDevMode ? [{ debugName: "appearance" }] : []));
|
|
14
|
-
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
15
|
-
this.rows = input(10, ...(ngDevMode ? [{ debugName: "rows" }] : []));
|
|
16
|
-
this.placeholder = input('placeholder', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
17
|
-
this.floatLabel = input('auto', ...(ngDevMode ? [{ debugName: "floatLabel" }] : []));
|
|
18
|
-
this.hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : []));
|
|
19
|
-
this.control = input(new FormControl(''), ...(ngDevMode ? [{ debugName: "control" }] : []));
|
|
20
|
-
this.actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
13
|
+
this.appearance = input('outline', ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
|
|
14
|
+
this.label = input('label', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
15
|
+
this.rows = input(10, ...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
16
|
+
this.placeholder = input('placeholder', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
17
|
+
this.floatLabel = input('auto', ...(ngDevMode ? [{ debugName: "floatLabel" }] : /* istanbul ignore next */ []));
|
|
18
|
+
this.hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
|
|
19
|
+
this.control = input(new FormControl(''), ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
20
|
+
this.actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
21
21
|
}
|
|
22
22
|
static { TextareaSectionOrganismStore_1 = this; }
|
|
23
23
|
static { this.provideComponent = makeProvideComopnentConfigure(TextareaSectionOrganismStore_1); }
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
25
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextareaSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
25
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: TextareaSectionOrganismStore, isStandalone: true, selector: "organisms-textarea-section", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", 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 }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
26
26
|
};
|
|
27
27
|
TextareaSectionOrganismStore = TextareaSectionOrganismStore_1 = __decorate([
|
|
28
28
|
TokenizedType()
|
|
29
29
|
], TextareaSectionOrganismStore);
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextareaSectionOrganismStore, decorators: [{
|
|
31
31
|
type: Directive,
|
|
32
32
|
args: [{ selector: 'organisms-textarea-section' }]
|
|
33
33
|
}], propDecorators: { appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], floatLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabel", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }] } });
|
|
@@ -36,8 +36,8 @@ class TextareaSectionOrganism extends NgAtomicComponent {
|
|
|
36
36
|
super(...arguments);
|
|
37
37
|
this.store = inject(TextareaSectionOrganismStore);
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextareaSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: TextareaSectionOrganism, isStandalone: true, selector: "organisms-textarea-section", host: { classAttribute: "organism section" }, usesInheritance: true, hostDirectives: [{ directive: TextareaSectionOrganismStore, inputs: ["appearance", "appearance", "label", "label", "rows", "rows", "placeholder", "placeholder", "floatLabel", "floatLabel", "hint", "hint", "control", "control", "actions", "actions"] }], ngImport: i0, template: `
|
|
41
41
|
<molecules-textarea-field
|
|
42
42
|
[appearance]="store.appearance()"
|
|
43
43
|
[control]="store.control()"
|
|
@@ -54,9 +54,9 @@ class TextareaSectionOrganism extends NgAtomicComponent {
|
|
|
54
54
|
(action)="dispatch($event)"
|
|
55
55
|
/>
|
|
56
56
|
}
|
|
57
|
-
`, isInline: true, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
57
|
+
`, isInline: true, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-tiAU: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-textarea-section-tiAU: var(--horizontal-padding)}:host{display:block;position:relative;width:100%;padding:var(--vertical-padding-SCOPED-IN-textarea-section-tiAU) var(--horizontal-padding-SCOPED-IN-textarea-section-tiAU);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"], dependencies: [{ kind: "component", type: TextareaFieldMolecule, selector: "molecules-textarea-field" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-menu-button, atoms-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TextareaSectionOrganism, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{ selector: 'organisms-textarea-section', imports: [
|
|
62
62
|
TextareaFieldMolecule,
|
|
@@ -85,7 +85,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
85
85
|
}
|
|
86
86
|
], host: {
|
|
87
87
|
'class': 'organism section',
|
|
88
|
-
}, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
88
|
+
}, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-tiAU: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-textarea-section-tiAU: var(--horizontal-padding)}:host{display:block;position:relative;width:100%;padding:var(--vertical-padding-SCOPED-IN-textarea-section-tiAU) var(--horizontal-padding-SCOPED-IN-textarea-section-tiAU);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"] }]
|
|
89
89
|
}] });
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -11,21 +11,21 @@ var ThreadMessagesSectionOrganismStore_1;
|
|
|
11
11
|
let ThreadMessagesSectionOrganismStore = class ThreadMessagesSectionOrganismStore extends InjectableComponent {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments);
|
|
14
|
-
this.comments = input([], ...(ngDevMode ? [{ debugName: "comments" }] : []));
|
|
15
|
-
this.messages = input(_computed(() => this.comments()), ...(ngDevMode ? [{ debugName: "messages" }] : []));
|
|
16
|
-
this.noCommentMessage = input('まだコメントはありません。', ...(ngDevMode ? [{ debugName: "noCommentMessage" }] : []));
|
|
17
|
-
this.commentActions = input([], ...(ngDevMode ? [{ debugName: "commentActions" }] : []));
|
|
18
|
-
this.messageActions = input(() => [], ...(ngDevMode ? [{ debugName: "messageActions" }] : []));
|
|
14
|
+
this.comments = input([], ...(ngDevMode ? [{ debugName: "comments" }] : /* istanbul ignore next */ []));
|
|
15
|
+
this.messages = input(_computed(() => this.comments()), ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
|
|
16
|
+
this.noCommentMessage = input('まだコメントはありません。', ...(ngDevMode ? [{ debugName: "noCommentMessage" }] : /* istanbul ignore next */ []));
|
|
17
|
+
this.commentActions = input([], ...(ngDevMode ? [{ debugName: "commentActions" }] : /* istanbul ignore next */ []));
|
|
18
|
+
this.messageActions = input(() => [], ...(ngDevMode ? [{ debugName: "messageActions" }] : /* istanbul ignore next */ []));
|
|
19
19
|
}
|
|
20
20
|
static { ThreadMessagesSectionOrganismStore_1 = this; }
|
|
21
21
|
static { this.provideComponent = makeProvideComopnentConfigure(ThreadMessagesSectionOrganismStore_1); }
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadMessagesSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: ThreadMessagesSectionOrganismStore, isStandalone: true, selector: "organisms-thread-messages-section", inputs: { comments: { classPropertyName: "comments", publicName: "comments", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, noCommentMessage: { classPropertyName: "noCommentMessage", publicName: "noCommentMessage", isSignal: true, isRequired: false, transformFunction: null }, commentActions: { classPropertyName: "commentActions", publicName: "commentActions", isSignal: true, isRequired: false, transformFunction: null }, messageActions: { classPropertyName: "messageActions", publicName: "messageActions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
24
24
|
};
|
|
25
25
|
ThreadMessagesSectionOrganismStore = ThreadMessagesSectionOrganismStore_1 = __decorate([
|
|
26
26
|
TokenizedType()
|
|
27
27
|
], ThreadMessagesSectionOrganismStore);
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadMessagesSectionOrganismStore, decorators: [{
|
|
29
29
|
type: Directive,
|
|
30
30
|
args: [{ selector: 'organisms-thread-messages-section' }]
|
|
31
31
|
}], propDecorators: { comments: [{ type: i0.Input, args: [{ isSignal: true, alias: "comments", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], noCommentMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "noCommentMessage", required: false }] }], commentActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "commentActions", required: false }] }], messageActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "messageActions", required: false }] }] } });
|
|
@@ -34,8 +34,8 @@ class ThreadMessagesSectionOrganism extends NgAtomicComponent {
|
|
|
34
34
|
super(...arguments);
|
|
35
35
|
this.store = inject(ThreadMessagesSectionOrganismStore);
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadMessagesSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ThreadMessagesSectionOrganism, isStandalone: true, selector: "organisms-thread-section, organisms-thread-messages-section", usesInheritance: true, hostDirectives: [{ directive: ThreadMessagesSectionOrganismStore, inputs: ["comments", "comments", "noCommentMessage", "noCommentMessage", "commentActions", "commentActions", "messages", "messages", "messageActions", "messageActions"] }], ngImport: i0, template: `
|
|
39
39
|
@if (store.messages()?.length === 0) {
|
|
40
40
|
<div class="message">
|
|
41
41
|
<div class="content">
|
|
@@ -48,9 +48,9 @@ class ThreadMessagesSectionOrganism extends NgAtomicComponent {
|
|
|
48
48
|
<molecules-thread-message [message]="message" injectable/>
|
|
49
49
|
<mat-divider />
|
|
50
50
|
}
|
|
51
|
-
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-
|
|
51
|
+
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-g64L: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-thread-messages-section-g64L: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-thread-messages-section-g64L: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-thread-messages-section-g64L: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-thread-messages-section-g64L: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-thread-messages-section-g64L: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-thread-messages-section-g64L)}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: ThreadMessageMoleculeStore, selector: "molecules-thread-message", inputs: ["name", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
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: ThreadMessagesSectionOrganism, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{ selector: 'organisms-thread-section, organisms-thread-messages-section', imports: [
|
|
56
56
|
MatButtonModule,
|
|
@@ -80,7 +80,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
80
80
|
'messageActions',
|
|
81
81
|
]
|
|
82
82
|
}
|
|
83
|
-
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-
|
|
83
|
+
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-g64L: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-thread-messages-section-g64L: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-thread-messages-section-g64L: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-thread-messages-section-g64L: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-thread-messages-section-g64L: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-thread-messages-section-g64L: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-thread-messages-section-g64L)}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"] }]
|
|
84
84
|
}] });
|
|
85
85
|
|
|
86
86
|
/**
|
|
@@ -10,8 +10,8 @@ class TimeRangeInputSectionOrganism {
|
|
|
10
10
|
end: ['01:00'],
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TimeRangeInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: TimeRangeInputSectionOrganism, isStandalone: true, selector: "organisms-time-range-input-section", inputs: { control: "control" }, ngImport: i0, template: `
|
|
15
15
|
<molecules-text-input-field
|
|
16
16
|
[label]="'開始範囲時刻'"
|
|
17
17
|
[control]="control.get(['start'])"
|
|
@@ -22,7 +22,7 @@ class TimeRangeInputSectionOrganism {
|
|
|
22
22
|
/>
|
|
23
23
|
`, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;padding:0 16px;box-sizing:border-box;gap:8px}:host molecules-text-input-field{width:calc(50% - 4px)}\n"], dependencies: [{ kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TimeRangeInputSectionOrganism, decorators: [{
|
|
26
26
|
type: Component,
|
|
27
27
|
args: [{ selector: 'organisms-time-range-input-section', standalone: true, imports: [
|
|
28
28
|
TextInputFieldMolecule
|
|
@@ -23,8 +23,8 @@ class ToolbarOrganism extends NgAtomicComponent {
|
|
|
23
23
|
this.endActions = [];
|
|
24
24
|
}
|
|
25
25
|
static { this.ActionId = ActionId; }
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ToolbarOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: ToolbarOrganism, isStandalone: true, selector: "organisms-toolbar", inputs: { form: "form", actions: "actions", endActions: "endActions" }, usesInheritance: true, ngImport: i0, template: `
|
|
28
28
|
<div class="start">
|
|
29
29
|
<mat-slider min="360" max="1920" step="10">
|
|
30
30
|
<input [formControl]="form.get(['width'])" matSliderThumb>
|
|
@@ -53,7 +53,7 @@ class ToolbarOrganism extends NgAtomicComponent {
|
|
|
53
53
|
</div>
|
|
54
54
|
`, isInline: true, styles: [":host{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:0 8px;width:100%;height:56px;bottom:0;left:0;background:#fff}:host div.start,:host div.end{width:120px}:host .end{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatSliderModule }, { kind: "component", type: i2.MatSlider, selector: "mat-slider", inputs: ["disabled", "discrete", "showTickMarks", "min", "color", "disableRipple", "max", "step", "displayWith"], exportAs: ["matSlider"] }, { kind: "directive", type: i2.MatSliderThumb, selector: "input[matSliderThumb]", inputs: ["value"], outputs: ["valueChange", "dragStart", "dragEnd"], exportAs: ["matSliderThumb"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ToolbarOrganism, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{ selector: 'organisms-toolbar', imports: [
|
|
59
59
|
CommonModule,
|
|
@@ -23,20 +23,20 @@ var ActionId;
|
|
|
23
23
|
})(ActionId || (ActionId = {}));
|
|
24
24
|
class TreeListOrganismStore {
|
|
25
25
|
constructor() {
|
|
26
|
-
this.items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
27
|
-
this.itemActions = input([], ...(ngDevMode ? [{ debugName: "itemActions" }] : []));
|
|
28
|
-
this.treeControl = input(new FlatTreeControl(n => n.level, n => n.isExpandable), ...(ngDevMode ? [{ debugName: "treeControl" }] : []));
|
|
26
|
+
this.items = input([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
27
|
+
this.itemActions = input([], ...(ngDevMode ? [{ debugName: "itemActions" }] : /* istanbul ignore next */ []));
|
|
28
|
+
this.treeControl = input(new FlatTreeControl(n => n.level, n => n.isExpandable), ...(ngDevMode ? [{ debugName: "treeControl" }] : /* istanbul ignore next */ []));
|
|
29
29
|
this.dataAccessor = injectDataAccessor();
|
|
30
|
-
this.childrenKey = input(null, ...(ngDevMode ? [{ debugName: "childrenKey" }] : []));
|
|
30
|
+
this.childrenKey = input(null, ...(ngDevMode ? [{ debugName: "childrenKey" }] : /* istanbul ignore next */ []));
|
|
31
31
|
this.getChildren = computed(() => {
|
|
32
32
|
return (node) => this.dataAccessor(node, this.childrenKey() ?? 'children');
|
|
33
|
-
}, ...(ngDevMode ? [{ debugName: "getChildren" }] : []));
|
|
33
|
+
}, ...(ngDevMode ? [{ debugName: "getChildren" }] : /* istanbul ignore next */ []));
|
|
34
34
|
this.dataSource = computed(() => {
|
|
35
35
|
if (this.childrenKey()) {
|
|
36
36
|
return buildTreeFlatDataSource(this.treeControl(), this.items(), this.getChildren());
|
|
37
37
|
}
|
|
38
38
|
return new MatTableDataSource(this.items());
|
|
39
|
-
}, ...(ngDevMode ? [{ debugName: "dataSource" }] : []));
|
|
39
|
+
}, ...(ngDevMode ? [{ debugName: "dataSource" }] : /* istanbul ignore next */ []));
|
|
40
40
|
this.data = computedAsync(() => this.dataSource().connect(this), {
|
|
41
41
|
initialValue: [],
|
|
42
42
|
});
|
|
@@ -46,10 +46,10 @@ class TreeListOrganismStore {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
static { this.ActionId = ActionId; }
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
50
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TreeListOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
50
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: TreeListOrganismStore, isStandalone: true, inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, treeControl: { classPropertyName: "treeControl", publicName: "treeControl", isSignal: true, isRequired: false, transformFunction: null }, childrenKey: { classPropertyName: "childrenKey", publicName: "childrenKey", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TreeListOrganismStore, decorators: [{
|
|
53
53
|
type: Directive,
|
|
54
54
|
args: [{ standalone: true }]
|
|
55
55
|
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], itemActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemActions", required: false }] }], treeControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "treeControl", required: false }] }], childrenKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "childrenKey", required: false }] }] } });
|
|
@@ -62,7 +62,7 @@ class TreeListOrganism extends NgAtomicComponent {
|
|
|
62
62
|
const children = this.store.getChildren()(node);
|
|
63
63
|
return !!children && children.length > 0;
|
|
64
64
|
};
|
|
65
|
-
}, ...(ngDevMode ? [{ debugName: "hasChild" }] : []));
|
|
65
|
+
}, ...(ngDevMode ? [{ debugName: "hasChild" }] : /* istanbul ignore next */ []));
|
|
66
66
|
}
|
|
67
67
|
onItemClick(node) {
|
|
68
68
|
this.dispatch({
|
|
@@ -70,8 +70,8 @@ class TreeListOrganism extends NgAtomicComponent {
|
|
|
70
70
|
payload: node,
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
74
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TreeListOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
74
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: TreeListOrganism, isStandalone: true, selector: "organisms-tree-list", usesInheritance: true, hostDirectives: [{ directive: TreeListOrganismStore, inputs: ["items", "items", "childrenKey", "childrenKey", "treeControl", "treeControl"] }], ngImport: i0, template: `
|
|
75
75
|
<mat-list>
|
|
76
76
|
@for (node of store.data(); track node) {
|
|
77
77
|
<mat-list-item matRipple (click)="onItemClick(node)">
|
|
@@ -88,7 +88,7 @@ class TreeListOrganism extends NgAtomicComponent {
|
|
|
88
88
|
</mat-list>
|
|
89
89
|
`, isInline: true, styles: [":host{display:block}:host{width:100%;height:100%;overflow:scroll}\n"], dependencies: [{ 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.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i1.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
90
90
|
}
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TreeListOrganism, decorators: [{
|
|
92
92
|
type: Component,
|
|
93
93
|
args: [{ selector: 'organisms-tree-list', imports: [
|
|
94
94
|
MatListModule,
|
|
@@ -4,10 +4,10 @@ import * as i1 from '@angular/material/divider';
|
|
|
4
4
|
import { MatDividerModule } from '@angular/material/divider';
|
|
5
5
|
|
|
6
6
|
class VerticalDividerOrganism {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VerticalDividerOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: VerticalDividerOrganism, isStandalone: true, selector: "organisms-vertical-divider", ngImport: i0, template: `<mat-divider></mat-divider>`, isInline: true, styles: [":host{display:block}:host{display:block;width:100%;height:1px}:host mat-divider{width:100%;height:1px;margin:0}\n"], dependencies: [{ kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VerticalDividerOrganism, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{ selector: 'organisms-vertical-divider', imports: [
|
|
13
13
|
MatDividerModule
|
|
@@ -7,13 +7,13 @@ import { toObservable } from '@angular/core/rxjs-interop';
|
|
|
7
7
|
|
|
8
8
|
class VideoSectionOrganismStore {
|
|
9
9
|
constructor() {
|
|
10
|
-
this.src = input(...(ngDevMode ? [undefined, { debugName: "src" }] : []));
|
|
11
|
-
this.autoplay = input(true, ...(ngDevMode ? [{ debugName: "autoplay" }] : []));
|
|
10
|
+
this.src = input(...(ngDevMode ? [undefined, { debugName: "src" }] : /* istanbul ignore next */ []));
|
|
11
|
+
this.autoplay = input(true, ...(ngDevMode ? [{ debugName: "autoplay" }] : /* istanbul ignore next */ []));
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: VideoSectionOrganismStore, isStandalone: true, inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, autoplay: { classPropertyName: "autoplay", publicName: "autoplay", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoSectionOrganismStore, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{ standalone: true }]
|
|
19
19
|
}], propDecorators: { src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: false }] }], autoplay: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoplay", required: false }] }] } });
|
|
@@ -21,10 +21,10 @@ class VideoIdPipe {
|
|
|
21
21
|
transform(src) {
|
|
22
22
|
return new URL(src).searchParams.get('v') ?? '';
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
25
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoIdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
25
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: VideoIdPipe, isStandalone: true, name: "videoId" }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoIdPipe, decorators: [{
|
|
28
28
|
type: Pipe,
|
|
29
29
|
args: [{ standalone: true, name: 'videoId' }]
|
|
30
30
|
}] });
|
|
@@ -36,10 +36,10 @@ class VideoTypePipe {
|
|
|
36
36
|
return 'youtube';
|
|
37
37
|
return 'video';
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
40
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
40
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: VideoTypePipe, isStandalone: true, name: "videoType" }); }
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoTypePipe, decorators: [{
|
|
43
43
|
type: Pipe,
|
|
44
44
|
args: [{ standalone: true, name: 'videoType' }]
|
|
45
45
|
}] });
|
|
@@ -50,10 +50,10 @@ class StreamDirective {
|
|
|
50
50
|
set stream(stream) {
|
|
51
51
|
this.el.nativeElement.srcObject = stream;
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
54
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: StreamDirective, isStandalone: true, selector: "[stream]", inputs: { stream: "stream" }, ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: StreamDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{ standalone: true, selector: '[stream]' }]
|
|
59
59
|
}], propDecorators: { stream: [{
|
|
@@ -62,13 +62,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
62
62
|
class VideoSectionOrganism {
|
|
63
63
|
constructor() {
|
|
64
64
|
this.store = inject(VideoSectionOrganismStore);
|
|
65
|
-
this.width = signal(0, ...(ngDevMode ? [{ debugName: "width" }] : []));
|
|
65
|
+
this.width = signal(0, ...(ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []));
|
|
66
66
|
this.el = inject(ElementRef);
|
|
67
67
|
this.platformId = inject(PLATFORM_ID);
|
|
68
68
|
this.isPlatformBrowser = isPlatformBrowser(this.platformId);
|
|
69
|
-
this.youtubePlayer = viewChild(YouTubePlayer, ...(ngDevMode ? [{ debugName: "youtubePlayer" }] : []));
|
|
69
|
+
this.youtubePlayer = viewChild(YouTubePlayer, ...(ngDevMode ? [{ debugName: "youtubePlayer" }] : /* istanbul ignore next */ []));
|
|
70
70
|
this.youtubePlayer$ = toObservable(this.youtubePlayer);
|
|
71
|
-
this.video = viewChild('video', ...(ngDevMode ? [{ debugName: "video" }] : []));
|
|
71
|
+
this.video = viewChild('video', ...(ngDevMode ? [{ debugName: "video" }] : /* istanbul ignore next */ []));
|
|
72
72
|
this.interval$ = interval(100);
|
|
73
73
|
}
|
|
74
74
|
ngAfterViewInit() {
|
|
@@ -78,8 +78,8 @@ class VideoSectionOrganism {
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
82
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: VideoSectionOrganism, isStandalone: true, selector: "organisms-video-section", viewQueries: [{ propertyName: "youtubePlayer", first: true, predicate: YouTubePlayer, descendants: true, isSignal: true }, { propertyName: "video", first: true, predicate: ["video"], descendants: true, isSignal: true }], hostDirectives: [{ directive: VideoSectionOrganismStore, inputs: ["src", "src", "autoplay", "autoplay"] }], ngImport: i0, template: `
|
|
83
83
|
@if (store.src() && isPlatformBrowser) {
|
|
84
84
|
@switch (store.src() | videoType) {
|
|
85
85
|
@case ('youtube') {@defer {
|
|
@@ -97,7 +97,7 @@ class VideoSectionOrganism {
|
|
|
97
97
|
}
|
|
98
98
|
`, isInline: true, styles: ["@charset \"UTF-8\";:host{display:block}:host{display:block;width:100%;aspect-ratio:16/9;overflow:hidden}:host video{width:100%;height:100%;object-fit:contain;background-color:#000}:host youtube-player{display:block;width:100%;height:100%}:host youtube-player ::ng-deep youtube-player-placeholder{width:100%!important;height:100%!important}:host youtube-player ::ng-deep div[style]{width:100%;height:100%}:host youtube-player ::ng-deep div[style] iframe{width:100%;height:100%}\n"], dependencies: [{ kind: "pipe", type: VideoTypePipe, name: "videoType" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [YouTubePlayer, VideoIdPipe], () => [StreamDirective], null] }); }
|
|
99
99
|
}
|
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VideoSectionOrganism, decorators: [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{ selector: 'organisms-video-section', imports: [
|
|
103
103
|
VideoIdPipe,
|