@wirekyt/angular 0.0.21 → 0.0.22
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/dist/fesm2022/wirekyt-angular-frame.mjs +196 -0
- package/dist/fesm2022/wirekyt-angular-frame.mjs.map +1 -0
- package/dist/package.json +5 -1
- package/dist/types/wirekyt-angular-color-picker.d.ts +1 -1
- package/dist/types/wirekyt-angular-combobox.d.ts +1 -1
- package/dist/types/wirekyt-angular-date-picker.d.ts +1 -1
- package/dist/types/wirekyt-angular-frame.d.ts +50 -0
- package/dist/types/wirekyt-angular-frame.d.ts.map +1 -0
- package/package.json +6 -2
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, viewChild, inject, ViewContainerRef, Injector, signal, computed, afterNextRender, effect, forwardRef, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { ENVIRONMENT_TOKEN } from '@wirekyt/angular';
|
|
4
|
+
|
|
5
|
+
const resetStyle = "<style>*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }</style>";
|
|
6
|
+
const initialFrameSrcdoc = `<html><head>${resetStyle}</head><body><div class="frame-root"></div></body></html>`;
|
|
7
|
+
let frameId = 0;
|
|
8
|
+
const createDefaultTitle = () => {
|
|
9
|
+
const randomId = globalThis.crypto?.randomUUID?.();
|
|
10
|
+
return `frame:${randomId ?? ++frameId}`;
|
|
11
|
+
};
|
|
12
|
+
class Frame {
|
|
13
|
+
srcdoc = input(initialFrameSrcdoc, /* @ts-ignore */
|
|
14
|
+
...(ngDevMode ? [{ debugName: "srcdoc" }] : /* istanbul ignore next */ []));
|
|
15
|
+
title = input(undefined, /* @ts-ignore */
|
|
16
|
+
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
17
|
+
name = input(undefined, /* @ts-ignore */
|
|
18
|
+
...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
19
|
+
head = input(null, /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "head" }] : /* istanbul ignore next */ []));
|
|
21
|
+
mount = output();
|
|
22
|
+
unmount = output();
|
|
23
|
+
frameElement = viewChild.required("frame", /* @ts-ignore */
|
|
24
|
+
...(ngDevMode ? [{ debugName: "frameElement" }] : /* istanbul ignore next */ []));
|
|
25
|
+
contentTpl = viewChild.required("content", /* @ts-ignore */
|
|
26
|
+
...(ngDevMode ? [{ debugName: "contentTpl" }] : /* istanbul ignore next */ []));
|
|
27
|
+
vcRef = inject(ViewContainerRef);
|
|
28
|
+
injector = inject(Injector);
|
|
29
|
+
defaultTitle = createDefaultTitle();
|
|
30
|
+
ready = signal(false, /* @ts-ignore */
|
|
31
|
+
...(ngDevMode ? [{ debugName: "ready" }] : /* istanbul ignore next */ []));
|
|
32
|
+
frameDocument = signal(undefined, /* @ts-ignore */
|
|
33
|
+
...(ngDevMode ? [{ debugName: "frameDocument" }] : /* istanbul ignore next */ []));
|
|
34
|
+
frameRevision = signal(0, /* @ts-ignore */
|
|
35
|
+
...(ngDevMode ? [{ debugName: "frameRevision" }] : /* istanbul ignore next */ []));
|
|
36
|
+
contentView;
|
|
37
|
+
headView;
|
|
38
|
+
resizeCleanup;
|
|
39
|
+
mounted = false;
|
|
40
|
+
environment = {
|
|
41
|
+
getRootNode: () => this.frameDocument(),
|
|
42
|
+
};
|
|
43
|
+
resolvedTitle = computed(() => this.title() ?? this.defaultTitle, /* @ts-ignore */
|
|
44
|
+
...(ngDevMode ? [{ debugName: "resolvedTitle" }] : /* istanbul ignore next */ []));
|
|
45
|
+
constructor() {
|
|
46
|
+
afterNextRender(() => {
|
|
47
|
+
this.ready.set(true);
|
|
48
|
+
});
|
|
49
|
+
effect(() => {
|
|
50
|
+
const srcdoc = this.srcdoc() ?? initialFrameSrcdoc;
|
|
51
|
+
if (!this.ready())
|
|
52
|
+
return;
|
|
53
|
+
this.mountFrame(srcdoc);
|
|
54
|
+
});
|
|
55
|
+
effect(() => {
|
|
56
|
+
const head = this.head();
|
|
57
|
+
const doc = this.frameDocument();
|
|
58
|
+
this.frameRevision();
|
|
59
|
+
if (!this.ready() || !doc)
|
|
60
|
+
return;
|
|
61
|
+
this.mountHead(head, doc);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
ngOnDestroy() {
|
|
65
|
+
this.destroyViews();
|
|
66
|
+
this.resizeCleanup?.();
|
|
67
|
+
if (this.mounted) {
|
|
68
|
+
this.mounted = false;
|
|
69
|
+
this.unmount.emit();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
mountFrame(srcdoc) {
|
|
73
|
+
const frame = this.frameElement().nativeElement;
|
|
74
|
+
const doc = frame.contentDocument ?? frame.contentWindow?.document;
|
|
75
|
+
if (!doc)
|
|
76
|
+
return;
|
|
77
|
+
this.resizeCleanup?.();
|
|
78
|
+
this.resizeCleanup = undefined;
|
|
79
|
+
if (this.mounted) {
|
|
80
|
+
this.mounted = false;
|
|
81
|
+
this.unmount.emit();
|
|
82
|
+
}
|
|
83
|
+
this.destroyViews();
|
|
84
|
+
doc.open();
|
|
85
|
+
doc.write(srcdoc);
|
|
86
|
+
doc.close();
|
|
87
|
+
this.frameDocument.set(doc);
|
|
88
|
+
this.frameRevision.update((revision) => revision + 1);
|
|
89
|
+
const mountNode = doc.body.querySelector(".frame-root") ?? doc.body;
|
|
90
|
+
const frameInjector = this.createFrameInjector(doc);
|
|
91
|
+
this.contentView = this.vcRef.createEmbeddedView(this.contentTpl(), undefined, {
|
|
92
|
+
injector: frameInjector,
|
|
93
|
+
});
|
|
94
|
+
this.contentView.detectChanges();
|
|
95
|
+
for (const node of this.contentView.rootNodes) {
|
|
96
|
+
mountNode.appendChild(node);
|
|
97
|
+
}
|
|
98
|
+
this.observeSize(frame, mountNode, doc);
|
|
99
|
+
this.mounted = true;
|
|
100
|
+
this.mount.emit();
|
|
101
|
+
}
|
|
102
|
+
mountHead(head, doc) {
|
|
103
|
+
this.destroyView(this.headView);
|
|
104
|
+
this.headView = undefined;
|
|
105
|
+
if (!head)
|
|
106
|
+
return;
|
|
107
|
+
this.headView = this.vcRef.createEmbeddedView(head, undefined, {
|
|
108
|
+
injector: this.createFrameInjector(doc),
|
|
109
|
+
});
|
|
110
|
+
this.headView.detectChanges();
|
|
111
|
+
for (const node of this.headView.rootNodes) {
|
|
112
|
+
doc.head.appendChild(node);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
destroyViews() {
|
|
116
|
+
for (const view of [this.contentView, this.headView]) {
|
|
117
|
+
this.destroyView(view);
|
|
118
|
+
}
|
|
119
|
+
this.contentView = undefined;
|
|
120
|
+
this.headView = undefined;
|
|
121
|
+
}
|
|
122
|
+
destroyView(view) {
|
|
123
|
+
if (!view)
|
|
124
|
+
return;
|
|
125
|
+
for (const node of view.rootNodes) {
|
|
126
|
+
node.parentNode?.removeChild(node);
|
|
127
|
+
}
|
|
128
|
+
view.destroy();
|
|
129
|
+
}
|
|
130
|
+
createFrameInjector(doc) {
|
|
131
|
+
return Injector.create({
|
|
132
|
+
providers: [
|
|
133
|
+
{
|
|
134
|
+
provide: ENVIRONMENT_TOKEN,
|
|
135
|
+
useValue: { getRootNode: () => doc },
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
parent: this.injector,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
observeSize(frame, mountNode, doc) {
|
|
142
|
+
this.resizeCleanup?.();
|
|
143
|
+
const win = doc.defaultView;
|
|
144
|
+
if (!win?.ResizeObserver)
|
|
145
|
+
return;
|
|
146
|
+
const updateSize = () => {
|
|
147
|
+
win.requestAnimationFrame(() => {
|
|
148
|
+
if (!frame.contentDocument?.documentElement)
|
|
149
|
+
return;
|
|
150
|
+
frame.style.setProperty("--width", `${mountNode.scrollWidth}px`);
|
|
151
|
+
frame.style.setProperty("--height", `${mountNode.scrollHeight}px`);
|
|
152
|
+
});
|
|
153
|
+
};
|
|
154
|
+
const observer = new win.ResizeObserver(updateSize);
|
|
155
|
+
observer.observe(mountNode);
|
|
156
|
+
updateSize();
|
|
157
|
+
this.resizeCleanup = () => observer.disconnect();
|
|
158
|
+
}
|
|
159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: Frame, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
160
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.3", type: Frame, isStandalone: true, selector: "frame", inputs: { srcdoc: { classPropertyName: "srcdoc", publicName: "srcdoc", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, head: { classPropertyName: "head", publicName: "head", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { mount: "mount", unmount: "unmount" }, host: { styleAttribute: "display: block;" }, providers: [
|
|
161
|
+
{
|
|
162
|
+
provide: ENVIRONMENT_TOKEN,
|
|
163
|
+
useFactory: (frame) => frame.environment,
|
|
164
|
+
deps: [forwardRef(() => Frame)],
|
|
165
|
+
},
|
|
166
|
+
], viewQueries: [{ propertyName: "frameElement", first: true, predicate: ["frame"], descendants: true, isSignal: true }, { propertyName: "contentTpl", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
167
|
+
<iframe #frame [attr.title]="resolvedTitle()" [attr.name]="name()"></iframe>
|
|
168
|
+
<ng-template #content>
|
|
169
|
+
<ng-content></ng-content>
|
|
170
|
+
</ng-template>
|
|
171
|
+
`, isInline: true, styles: ["iframe{border:0;display:block;height:100%;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
172
|
+
}
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: Frame, decorators: [{
|
|
174
|
+
type: Component,
|
|
175
|
+
args: [{ selector: "frame", standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
176
|
+
style: "display: block;",
|
|
177
|
+
}, providers: [
|
|
178
|
+
{
|
|
179
|
+
provide: ENVIRONMENT_TOKEN,
|
|
180
|
+
useFactory: (frame) => frame.environment,
|
|
181
|
+
deps: [forwardRef(() => Frame)],
|
|
182
|
+
},
|
|
183
|
+
], template: `
|
|
184
|
+
<iframe #frame [attr.title]="resolvedTitle()" [attr.name]="name()"></iframe>
|
|
185
|
+
<ng-template #content>
|
|
186
|
+
<ng-content></ng-content>
|
|
187
|
+
</ng-template>
|
|
188
|
+
`, styles: ["iframe{border:0;display:block;height:100%;width:100%}\n"] }]
|
|
189
|
+
}], ctorParameters: () => [], propDecorators: { srcdoc: [{ type: i0.Input, args: [{ isSignal: true, alias: "srcdoc", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], head: [{ type: i0.Input, args: [{ isSignal: true, alias: "head", required: false }] }], mount: [{ type: i0.Output, args: ["mount"] }], unmount: [{ type: i0.Output, args: ["unmount"] }], frameElement: [{ type: i0.ViewChild, args: ["frame", { isSignal: true }] }], contentTpl: [{ type: i0.ViewChild, args: ["content", { isSignal: true }] }] } });
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Generated bundle index. Do not edit.
|
|
193
|
+
*/
|
|
194
|
+
|
|
195
|
+
export { Frame };
|
|
196
|
+
//# sourceMappingURL=wirekyt-angular-frame.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wirekyt-angular-frame.mjs","sources":["../../src/components/frame/frame.ts","../../src/components/frame/wirekyt-angular-frame.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Injector,\n type ElementRef,\n type EmbeddedViewRef,\n type OnDestroy,\n type TemplateRef,\n ViewContainerRef,\n afterNextRender,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n output,\n signal,\n viewChild,\n} from \"@angular/core\";\nimport { ENVIRONMENT_TOKEN, type EnvironmentContext } from \"@wirekyt/angular\";\n\nexport interface FrameBaseProps {\n head?: TemplateRef<unknown> | null;\n onMount?: (() => void) | undefined;\n onUnmount?: (() => void) | undefined;\n}\n\nexport interface FrameProps extends FrameBaseProps {\n srcdoc?: string;\n title?: string;\n name?: string;\n}\n\nconst resetStyle =\n \"<style>*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }</style>\";\nconst initialFrameSrcdoc = `<html><head>${resetStyle}</head><body><div class=\"frame-root\"></div></body></html>`;\nlet frameId = 0;\n\nconst createDefaultTitle = (): string => {\n const randomId = globalThis.crypto?.randomUUID?.();\n return `frame:${randomId ?? ++frameId}`;\n};\n\n@Component({\n selector: \"frame\",\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n style: \"display: block;\",\n },\n providers: [\n {\n provide: ENVIRONMENT_TOKEN,\n useFactory: (frame: Frame) => frame.environment,\n deps: [forwardRef(() => Frame)],\n },\n ],\n template: `\n <iframe #frame [attr.title]=\"resolvedTitle()\" [attr.name]=\"name()\"></iframe>\n <ng-template #content>\n <ng-content></ng-content>\n </ng-template>\n `,\n styles: [\n `\n iframe {\n border: 0;\n display: block;\n height: 100%;\n width: 100%;\n }\n `,\n ],\n})\nexport class Frame implements OnDestroy {\n readonly srcdoc = input<string | undefined>(initialFrameSrcdoc);\n readonly title = input<string | undefined>(undefined);\n readonly name = input<string | undefined>(undefined);\n readonly head = input<TemplateRef<unknown> | null>(null);\n readonly mount = output<void>();\n readonly unmount = output<void>();\n readonly frameElement = viewChild.required<ElementRef<HTMLIFrameElement>>(\"frame\");\n\n private readonly contentTpl = viewChild.required<TemplateRef<unknown>>(\"content\");\n private readonly vcRef = inject(ViewContainerRef);\n private readonly injector = inject(Injector);\n private readonly defaultTitle = createDefaultTitle();\n private readonly ready = signal(false);\n private readonly frameDocument = signal<Document | undefined>(undefined);\n private readonly frameRevision = signal(0);\n private contentView: EmbeddedViewRef<unknown> | undefined;\n private headView: EmbeddedViewRef<unknown> | undefined;\n private resizeCleanup: (() => void) | undefined;\n private mounted = false;\n\n readonly environment: EnvironmentContext = {\n getRootNode: () => this.frameDocument(),\n };\n\n protected readonly resolvedTitle = computed(() => this.title() ?? this.defaultTitle);\n\n constructor() {\n afterNextRender(() => {\n this.ready.set(true);\n });\n\n effect(() => {\n const srcdoc = this.srcdoc() ?? initialFrameSrcdoc;\n if (!this.ready()) return;\n this.mountFrame(srcdoc);\n });\n\n effect(() => {\n const head = this.head();\n const doc = this.frameDocument();\n this.frameRevision();\n if (!this.ready() || !doc) return;\n this.mountHead(head, doc);\n });\n }\n\n ngOnDestroy(): void {\n this.destroyViews();\n this.resizeCleanup?.();\n if (this.mounted) {\n this.mounted = false;\n this.unmount.emit();\n }\n }\n\n private mountFrame(srcdoc: string): void {\n const frame = this.frameElement().nativeElement;\n const doc = frame.contentDocument ?? frame.contentWindow?.document;\n if (!doc) return;\n\n this.resizeCleanup?.();\n this.resizeCleanup = undefined;\n if (this.mounted) {\n this.mounted = false;\n this.unmount.emit();\n }\n this.destroyViews();\n\n doc.open();\n doc.write(srcdoc);\n doc.close();\n this.frameDocument.set(doc);\n this.frameRevision.update((revision) => revision + 1);\n\n const mountNode = doc.body.querySelector<HTMLElement>(\".frame-root\") ?? doc.body;\n const frameInjector = this.createFrameInjector(doc);\n\n this.contentView = this.vcRef.createEmbeddedView(this.contentTpl(), undefined, {\n injector: frameInjector,\n });\n this.contentView.detectChanges();\n for (const node of this.contentView.rootNodes as Node[]) {\n mountNode.appendChild(node);\n }\n\n this.observeSize(frame, mountNode, doc);\n this.mounted = true;\n this.mount.emit();\n }\n\n private mountHead(head: TemplateRef<unknown> | null, doc: Document): void {\n this.destroyView(this.headView);\n this.headView = undefined;\n if (!head) return;\n\n this.headView = this.vcRef.createEmbeddedView(head, undefined, {\n injector: this.createFrameInjector(doc),\n });\n this.headView.detectChanges();\n for (const node of this.headView.rootNodes as Node[]) {\n doc.head.appendChild(node);\n }\n }\n\n private destroyViews(): void {\n for (const view of [this.contentView, this.headView]) {\n this.destroyView(view);\n }\n this.contentView = undefined;\n this.headView = undefined;\n }\n\n private destroyView(view: EmbeddedViewRef<unknown> | undefined): void {\n if (!view) return;\n for (const node of view.rootNodes as Node[]) {\n node.parentNode?.removeChild(node);\n }\n view.destroy();\n }\n\n private createFrameInjector(doc: Document): Injector {\n return Injector.create({\n providers: [\n {\n provide: ENVIRONMENT_TOKEN,\n useValue: { getRootNode: () => doc } satisfies EnvironmentContext,\n },\n ],\n parent: this.injector,\n });\n }\n\n private observeSize(frame: HTMLIFrameElement, mountNode: HTMLElement, doc: Document): void {\n this.resizeCleanup?.();\n const win = doc.defaultView as (Window & typeof globalThis) | null;\n if (!win?.ResizeObserver) return;\n\n const updateSize = () => {\n win.requestAnimationFrame(() => {\n if (!frame.contentDocument?.documentElement) return;\n frame.style.setProperty(\"--width\", `${mountNode.scrollWidth}px`);\n frame.style.setProperty(\"--height\", `${mountNode.scrollHeight}px`);\n });\n };\n const observer = new win.ResizeObserver(updateSize);\n observer.observe(mountNode);\n updateSize();\n this.resizeCleanup = () => observer.disconnect();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAiCA,MAAM,UAAU,GACd,wFAAwF;AAC1F,MAAM,kBAAkB,GAAG,CAAA,YAAA,EAAe,UAAU,2DAA2D;AAC/G,IAAI,OAAO,GAAG,CAAC;AAEf,MAAM,kBAAkB,GAAG,MAAa;IACtC,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,EAAE,UAAU,IAAI;AAClD,IAAA,OAAO,SAAS,QAAQ,IAAI,EAAE,OAAO,EAAE;AACzC,CAAC;MAiCY,KAAK,CAAA;IACP,MAAM,GAAG,KAAK,CAAqB,kBAAkB;+EAAC;IACtD,KAAK,GAAG,KAAK,CAAqB,SAAS;8EAAC;IAC5C,IAAI,GA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AA;;ACnFlF;;AAEG;;;;"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirekyt/angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "Angular adapter for Wirekyt",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -99,6 +99,10 @@
|
|
|
99
99
|
"types": "./types/wirekyt-angular-format.d.ts",
|
|
100
100
|
"default": "./fesm2022/wirekyt-angular-format.mjs"
|
|
101
101
|
},
|
|
102
|
+
"./frame": {
|
|
103
|
+
"types": "./types/wirekyt-angular-frame.d.ts",
|
|
104
|
+
"default": "./fesm2022/wirekyt-angular-frame.mjs"
|
|
105
|
+
},
|
|
102
106
|
"./presence": {
|
|
103
107
|
"types": "./types/wirekyt-angular-presence.d.ts",
|
|
104
108
|
"default": "./fesm2022/wirekyt-angular-presence.mjs"
|
|
@@ -9,7 +9,7 @@ import { PresenceBase } from '@wirekyt/angular/presence';
|
|
|
9
9
|
import { ControlValueAccessor } from '@angular/forms';
|
|
10
10
|
import { ColorStringFormat } from '@wirekyt/dom/color-utils';
|
|
11
11
|
|
|
12
|
-
declare const colorPickerAnatomy: _wirekyt_dom_anatomy.Anatomy<"
|
|
12
|
+
declare const colorPickerAnatomy: _wirekyt_dom_anatomy.Anatomy<"root" | "label" | "control" | "content" | "area" | "trigger" | "positioner" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
13
13
|
|
|
14
14
|
declare class ColorPickerArea {
|
|
15
15
|
readonly xChannel: InputSignal<colorPicker.ColorChannel | undefined>;
|
|
@@ -13,7 +13,7 @@ import { PresenceBase } from '@wirekyt/angular/presence';
|
|
|
13
13
|
import { ControlValueAccessor } from '@angular/forms';
|
|
14
14
|
import * as _wirekyt_angular_combobox from '@wirekyt/angular/combobox';
|
|
15
15
|
|
|
16
|
-
declare const comboboxAnatomy: _wirekyt_dom_anatomy.AnatomyInstance<"
|
|
16
|
+
declare const comboboxAnatomy: _wirekyt_dom_anatomy.AnatomyInstance<"root" | "list" | "item" | "label" | "control" | "content" | "input" | "trigger" | "positioner" | "clearTrigger" | "itemIndicator" | "itemGroup" | "itemText" | "itemGroupLabel" | "empty">;
|
|
17
17
|
|
|
18
18
|
type ComboboxSchema<T extends CollectionItem = CollectionItem> = Machine<T> extends Machine$1<infer S> ? S : never;
|
|
19
19
|
|
|
@@ -9,7 +9,7 @@ import * as _wirekyt_angular_presence from '@wirekyt/angular/presence';
|
|
|
9
9
|
import { PresenceBase } from '@wirekyt/angular/presence';
|
|
10
10
|
import { ControlValueAccessor } from '@angular/forms';
|
|
11
11
|
|
|
12
|
-
declare const datePickerAnatomy: _wirekyt_dom_anatomy.AnatomyInstance<"
|
|
12
|
+
declare const datePickerAnatomy: _wirekyt_dom_anatomy.AnatomyInstance<"root" | "label" | "control" | "content" | "input" | "table" | "view" | "trigger" | "positioner" | "clearTrigger" | "prevTrigger" | "nextTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect" | "valueText">;
|
|
13
13
|
|
|
14
14
|
type OptionalId<T extends {
|
|
15
15
|
id?: string | undefined;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, TemplateRef, ElementRef } from '@angular/core';
|
|
3
|
+
import { EnvironmentContext } from '@wirekyt/angular';
|
|
4
|
+
|
|
5
|
+
interface FrameBaseProps {
|
|
6
|
+
head?: TemplateRef<unknown> | null;
|
|
7
|
+
onMount?: (() => void) | undefined;
|
|
8
|
+
onUnmount?: (() => void) | undefined;
|
|
9
|
+
}
|
|
10
|
+
interface FrameProps extends FrameBaseProps {
|
|
11
|
+
srcdoc?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
}
|
|
15
|
+
declare class Frame implements OnDestroy {
|
|
16
|
+
readonly srcdoc: _angular_core.InputSignal<string | undefined>;
|
|
17
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
18
|
+
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
19
|
+
readonly head: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
20
|
+
readonly mount: _angular_core.OutputEmitterRef<void>;
|
|
21
|
+
readonly unmount: _angular_core.OutputEmitterRef<void>;
|
|
22
|
+
readonly frameElement: _angular_core.Signal<ElementRef<HTMLIFrameElement>>;
|
|
23
|
+
private readonly contentTpl;
|
|
24
|
+
private readonly vcRef;
|
|
25
|
+
private readonly injector;
|
|
26
|
+
private readonly defaultTitle;
|
|
27
|
+
private readonly ready;
|
|
28
|
+
private readonly frameDocument;
|
|
29
|
+
private readonly frameRevision;
|
|
30
|
+
private contentView;
|
|
31
|
+
private headView;
|
|
32
|
+
private resizeCleanup;
|
|
33
|
+
private mounted;
|
|
34
|
+
readonly environment: EnvironmentContext;
|
|
35
|
+
protected readonly resolvedTitle: _angular_core.Signal<string>;
|
|
36
|
+
constructor();
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
private mountFrame;
|
|
39
|
+
private mountHead;
|
|
40
|
+
private destroyViews;
|
|
41
|
+
private destroyView;
|
|
42
|
+
private createFrameInjector;
|
|
43
|
+
private observeSize;
|
|
44
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Frame, never>;
|
|
45
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Frame, "frame", never, { "srcdoc": { "alias": "srcdoc"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "head": { "alias": "head"; "required": false; "isSignal": true; }; }, { "mount": "mount"; "unmount": "unmount"; }, never, ["*"], true, never>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { Frame };
|
|
49
|
+
export type { FrameBaseProps, FrameProps };
|
|
50
|
+
//# sourceMappingURL=wirekyt-angular-frame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wirekyt-angular-frame.d.ts","sources":["../../src/components/frame/frame.ts"],"mappings":";;;;UAqBiB,cAAc;WACtB,WAAW;;;AAGnB;AAEK,UAAW,UAAW,SAAQ,cAAc;;;;AAIjD;AAYD,cA+Ba,KAAM,YAAW,SAAS;qBACtB,aAAA,CAAA,WAAA;oBACD,aAAA,CAAA,WAAA;mBACD,aAAA,CAAA,WAAA;mBACA,aAAA,CAAA,WAAA,CAAA,WAAA;oBACC,aAAA,CAAA,gBAAA;sBACE,aAAA,CAAA,gBAAA;2BACK,aAAA,CAAA,MAAA,CAAA,UAAA,CAAA,iBAAA;AAErB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAMA,0BAAsB,kBAAkB;AAIxC,sCAAgC,aAAA,CAAA,MAAA;;AAsBhC;AASA;AAmCA;AAcA;AAQA;AAQA;AAYA;oDArIW,KAAK;sDAAL,KAAK;AAsJjB;;;;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirekyt/angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "Angular adapter for Wirekyt",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -99,6 +99,10 @@
|
|
|
99
99
|
"types": "./dist/types/wirekyt-angular-format.d.ts",
|
|
100
100
|
"default": "./dist/fesm2022/wirekyt-angular-format.mjs"
|
|
101
101
|
},
|
|
102
|
+
"./frame": {
|
|
103
|
+
"types": "./dist/types/wirekyt-angular-frame.d.ts",
|
|
104
|
+
"default": "./dist/fesm2022/wirekyt-angular-frame.mjs"
|
|
105
|
+
},
|
|
102
106
|
"./presence": {
|
|
103
107
|
"types": "./dist/types/wirekyt-angular-presence.d.ts",
|
|
104
108
|
"default": "./dist/fesm2022/wirekyt-angular-presence.mjs"
|
|
@@ -112,7 +116,7 @@
|
|
|
112
116
|
"dependencies": {
|
|
113
117
|
"@internationalized/date": "^3.12.3",
|
|
114
118
|
"@internationalized/number": "^3.6.7",
|
|
115
|
-
"@wirekyt/dom": "0.0.
|
|
119
|
+
"@wirekyt/dom": "0.0.22",
|
|
116
120
|
"tslib": "^2.8.1"
|
|
117
121
|
},
|
|
118
122
|
"peerDependencies": {
|