kritzel-angular 0.0.115 → 0.0.117

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.
@@ -63,235 +63,12 @@ function ProxyCmp(opts) {
63
63
  return decorator;
64
64
  }
65
65
 
66
- let KritzelBrushStyle = class KritzelBrushStyle {
67
- constructor(c, r, z) {
68
- this.z = z;
69
- c.detach();
70
- this.el = r.nativeElement;
71
- proxyOutputs(this, this.el, ['typeChange']);
72
- }
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelBrushStyle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
74
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelBrushStyle, isStandalone: true, selector: "kritzel-brush-style", inputs: { brushOptions: "brushOptions", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
75
- };
76
- KritzelBrushStyle = __decorate([
77
- ProxyCmp({
78
- inputs: ['brushOptions', 'type']
79
- })
80
- ], KritzelBrushStyle);
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelBrushStyle, decorators: [{
82
- type: Component,
83
- args: [{
84
- selector: 'kritzel-brush-style',
85
- changeDetection: ChangeDetectionStrategy.OnPush,
86
- template: '<ng-content></ng-content>',
87
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
88
- inputs: ['brushOptions', 'type'],
89
- }]
90
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
91
- let KritzelColor = class KritzelColor {
92
- constructor(c, r, z) {
93
- this.z = z;
94
- c.detach();
95
- this.el = r.nativeElement;
96
- }
97
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelColor, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
98
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelColor, isStandalone: true, selector: "kritzel-color", inputs: { size: "size", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
99
- };
100
- KritzelColor = __decorate([
101
- ProxyCmp({
102
- inputs: ['size', 'value']
103
- })
104
- ], KritzelColor);
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelColor, decorators: [{
106
- type: Component,
107
- args: [{
108
- selector: 'kritzel-color',
109
- changeDetection: ChangeDetectionStrategy.OnPush,
110
- template: '<ng-content></ng-content>',
111
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
112
- inputs: ['size', 'value'],
113
- }]
114
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
115
- let KritzelColorPalette = class KritzelColorPalette {
116
- constructor(c, r, z) {
117
- this.z = z;
118
- c.detach();
119
- this.el = r.nativeElement;
120
- proxyOutputs(this, this.el, ['colorChange']);
121
- }
122
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelColorPalette, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
123
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelColorPalette, isStandalone: true, selector: "kritzel-color-palette", inputs: { colors: "colors", isExpanded: "isExpanded", isOpaque: "isOpaque", selectedColor: "selectedColor" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
124
- };
125
- KritzelColorPalette = __decorate([
126
- ProxyCmp({
127
- inputs: ['colors', 'isExpanded', 'isOpaque', 'selectedColor']
128
- })
129
- ], KritzelColorPalette);
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelColorPalette, decorators: [{
131
- type: Component,
132
- args: [{
133
- selector: 'kritzel-color-palette',
134
- changeDetection: ChangeDetectionStrategy.OnPush,
135
- template: '<ng-content></ng-content>',
136
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
137
- inputs: ['colors', 'isExpanded', 'isOpaque', 'selectedColor'],
138
- }]
139
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
140
- let KritzelContextMenu = class KritzelContextMenu {
141
- constructor(c, r, z) {
142
- this.z = z;
143
- c.detach();
144
- this.el = r.nativeElement;
145
- proxyOutputs(this, this.el, ['actionSelected']);
146
- }
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelContextMenu, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelContextMenu, isStandalone: true, selector: "kritzel-context-menu", inputs: { items: "items" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
149
- };
150
- KritzelContextMenu = __decorate([
151
- ProxyCmp({
152
- inputs: ['items']
153
- })
154
- ], KritzelContextMenu);
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelContextMenu, decorators: [{
156
- type: Component,
157
- args: [{
158
- selector: 'kritzel-context-menu',
159
- changeDetection: ChangeDetectionStrategy.OnPush,
160
- template: '<ng-content></ng-content>',
161
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
162
- inputs: ['items'],
163
- }]
164
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
165
- let KritzelControlBrushConfig = class KritzelControlBrushConfig {
166
- constructor(c, r, z) {
167
- this.z = z;
168
- c.detach();
169
- this.el = r.nativeElement;
170
- proxyOutputs(this, this.el, ['toolChange']);
171
- }
172
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelControlBrushConfig, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
173
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelControlBrushConfig, isStandalone: true, selector: "kritzel-control-brush-config", inputs: { isExpanded: "isExpanded", tool: "tool" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
174
- };
175
- KritzelControlBrushConfig = __decorate([
176
- ProxyCmp({
177
- inputs: ['isExpanded', 'tool']
178
- })
179
- ], KritzelControlBrushConfig);
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelControlBrushConfig, decorators: [{
181
- type: Component,
182
- args: [{
183
- selector: 'kritzel-control-brush-config',
184
- changeDetection: ChangeDetectionStrategy.OnPush,
185
- template: '<ng-content></ng-content>',
186
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
187
- inputs: ['isExpanded', 'tool'],
188
- }]
189
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
190
- let KritzelControlTextConfig = class KritzelControlTextConfig {
191
- constructor(c, r, z) {
192
- this.z = z;
193
- c.detach();
194
- this.el = r.nativeElement;
195
- proxyOutputs(this, this.el, ['toolChange']);
196
- }
197
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelControlTextConfig, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
198
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelControlTextConfig, isStandalone: true, selector: "kritzel-control-text-config", inputs: { isExpanded: "isExpanded", tool: "tool" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
199
- };
200
- KritzelControlTextConfig = __decorate([
201
- ProxyCmp({
202
- inputs: ['isExpanded', 'tool']
203
- })
204
- ], KritzelControlTextConfig);
205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelControlTextConfig, decorators: [{
206
- type: Component,
207
- args: [{
208
- selector: 'kritzel-control-text-config',
209
- changeDetection: ChangeDetectionStrategy.OnPush,
210
- template: '<ng-content></ng-content>',
211
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
212
- inputs: ['isExpanded', 'tool'],
213
- }]
214
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
215
- let KritzelControls = class KritzelControls {
216
- constructor(c, r, z) {
217
- this.z = z;
218
- c.detach();
219
- this.el = r.nativeElement;
220
- proxyOutputs(this, this.el, ['controlsReady']);
221
- }
222
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelControls, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
223
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelControls, isStandalone: true, selector: "kritzel-controls", inputs: { activeControl: "activeControl", controls: "controls" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
224
- };
225
- KritzelControls = __decorate([
226
- ProxyCmp({
227
- inputs: ['activeControl', 'controls'],
228
- methods: ['closeTooltip']
229
- })
230
- ], KritzelControls);
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelControls, decorators: [{
232
- type: Component,
233
- args: [{
234
- selector: 'kritzel-controls',
235
- changeDetection: ChangeDetectionStrategy.OnPush,
236
- template: '<ng-content></ng-content>',
237
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
238
- inputs: ['activeControl', 'controls'],
239
- }]
240
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
241
- let KritzelCursorTrail = class KritzelCursorTrail {
242
- constructor(c, r, z) {
243
- this.z = z;
244
- c.detach();
245
- this.el = r.nativeElement;
246
- }
247
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelCursorTrail, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
248
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelCursorTrail, isStandalone: true, selector: "kritzel-cursor-trail", inputs: { store: "store" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
249
- };
250
- KritzelCursorTrail = __decorate([
251
- ProxyCmp({
252
- inputs: ['store']
253
- })
254
- ], KritzelCursorTrail);
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelCursorTrail, decorators: [{
256
- type: Component,
257
- args: [{
258
- selector: 'kritzel-cursor-trail',
259
- changeDetection: ChangeDetectionStrategy.OnPush,
260
- template: '<ng-content></ng-content>',
261
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
262
- inputs: ['store'],
263
- }]
264
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
265
- let KritzelDropdown = class KritzelDropdown {
266
- constructor(c, r, z) {
267
- this.z = z;
268
- c.detach();
269
- this.el = r.nativeElement;
270
- proxyOutputs(this, this.el, ['valueChanged']);
271
- }
272
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
273
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelDropdown, isStandalone: true, selector: "kritzel-dropdown", inputs: { options: "options", selectStyles: "selectStyles", value: "value", width: "width" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
274
- };
275
- KritzelDropdown = __decorate([
276
- ProxyCmp({
277
- inputs: ['options', 'selectStyles', 'value', 'width']
278
- })
279
- ], KritzelDropdown);
280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelDropdown, decorators: [{
281
- type: Component,
282
- args: [{
283
- selector: 'kritzel-dropdown',
284
- changeDetection: ChangeDetectionStrategy.OnPush,
285
- template: '<ng-content></ng-content>',
286
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
287
- inputs: ['options', 'selectStyles', 'value', 'width'],
288
- }]
289
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
290
66
  let KritzelEditor = class KritzelEditor {
291
67
  constructor(c, r, z) {
292
68
  this.z = z;
293
69
  c.detach();
294
70
  this.el = r.nativeElement;
71
+ proxyOutputs(this, this.el, ['isReady']);
295
72
  }
296
73
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelEditor, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
297
74
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelEditor, isStandalone: true, selector: "kritzel-editor", inputs: { controls: "controls", customSvgIcons: "customSvgIcons", hideControls: "hideControls" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -299,7 +76,7 @@ let KritzelEditor = class KritzelEditor {
299
76
  KritzelEditor = __decorate([
300
77
  ProxyCmp({
301
78
  inputs: ['controls', 'customSvgIcons', 'hideControls'],
302
- methods: ['getObjectById', 'addObject', 'updateObject', 'removeObject', 'selectObjects', 'selectAllObjectsInViewport', 'clearSelection']
79
+ methods: ['getObjectById', 'addObject', 'updateObject', 'removeObject', 'getSelectedObjects', 'selectObjects', 'selectAllObjectsInViewport', 'clearSelection', 'centerObjectInViewport']
303
80
  })
304
81
  ], KritzelEditor);
305
82
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelEditor, decorators: [{
@@ -312,222 +89,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
312
89
  inputs: ['controls', 'customSvgIcons', 'hideControls'],
313
90
  }]
314
91
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
315
- let KritzelEngine = class KritzelEngine {
316
- constructor(c, r, z) {
317
- this.z = z;
318
- c.detach();
319
- this.el = r.nativeElement;
320
- proxyOutputs(this, this.el, ['engineReady', 'activeToolChange']);
321
- }
322
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelEngine, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
323
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelEngine, isStandalone: true, selector: "kritzel-engine", inputs: { activeTool: "activeTool", globalContextMenuItems: "globalContextMenuItems", objectContextMenuItems: "objectContextMenuItems" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
324
- };
325
- KritzelEngine = __decorate([
326
- ProxyCmp({
327
- inputs: ['activeTool', 'globalContextMenuItems', 'objectContextMenuItems'],
328
- methods: ['registerTool', 'changeActiveTool', 'setFocus', 'disable', 'enable', 'delete', 'copy', 'paste', 'bringForward', 'sendBackward', 'moveToTop', 'moveToBottom', 'undo', 'redo', 'hideContextMenu', 'getObjectById', 'addObject', 'updateObject', 'removeObject', 'selectObjects', 'selectAllObjectsInViewport', 'clearSelection']
329
- })
330
- ], KritzelEngine);
331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelEngine, decorators: [{
332
- type: Component,
333
- args: [{
334
- selector: 'kritzel-engine',
335
- changeDetection: ChangeDetectionStrategy.OnPush,
336
- template: '<ng-content></ng-content>',
337
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
338
- inputs: ['activeTool', 'globalContextMenuItems', 'objectContextMenuItems'],
339
- }]
340
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
341
- let KritzelFont = class KritzelFont {
342
- constructor(c, r, z) {
343
- this.z = z;
344
- c.detach();
345
- this.el = r.nativeElement;
346
- }
347
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelFont, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
348
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelFont, isStandalone: true, selector: "kritzel-font", inputs: { color: "color", fontFamily: "fontFamily", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
349
- };
350
- KritzelFont = __decorate([
351
- ProxyCmp({
352
- inputs: ['color', 'fontFamily', 'size']
353
- })
354
- ], KritzelFont);
355
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelFont, decorators: [{
356
- type: Component,
357
- args: [{
358
- selector: 'kritzel-font',
359
- changeDetection: ChangeDetectionStrategy.OnPush,
360
- template: '<ng-content></ng-content>',
361
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
362
- inputs: ['color', 'fontFamily', 'size'],
363
- }]
364
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
365
- let KritzelFontFamily = class KritzelFontFamily {
366
- constructor(c, r, z) {
367
- this.z = z;
368
- c.detach();
369
- this.el = r.nativeElement;
370
- proxyOutputs(this, this.el, ['fontFamilyChange']);
371
- }
372
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelFontFamily, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
373
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelFontFamily, isStandalone: true, selector: "kritzel-font-family", inputs: { fontOptions: "fontOptions", selectedFontFamily: "selectedFontFamily" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
374
- };
375
- KritzelFontFamily = __decorate([
376
- ProxyCmp({
377
- inputs: ['fontOptions', 'selectedFontFamily']
378
- })
379
- ], KritzelFontFamily);
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelFontFamily, decorators: [{
381
- type: Component,
382
- args: [{
383
- selector: 'kritzel-font-family',
384
- changeDetection: ChangeDetectionStrategy.OnPush,
385
- template: '<ng-content></ng-content>',
386
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
387
- inputs: ['fontOptions', 'selectedFontFamily'],
388
- }]
389
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
390
- let KritzelFontSize = class KritzelFontSize {
391
- constructor(c, r, z) {
392
- this.z = z;
393
- c.detach();
394
- this.el = r.nativeElement;
395
- proxyOutputs(this, this.el, ['sizeChange']);
396
- }
397
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelFontSize, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
398
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelFontSize, isStandalone: true, selector: "kritzel-font-size", inputs: { fontFamily: "fontFamily", selectedSize: "selectedSize", sizes: "sizes" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
399
- };
400
- KritzelFontSize = __decorate([
401
- ProxyCmp({
402
- inputs: ['fontFamily', 'selectedSize', 'sizes']
403
- })
404
- ], KritzelFontSize);
405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelFontSize, decorators: [{
406
- type: Component,
407
- args: [{
408
- selector: 'kritzel-font-size',
409
- changeDetection: ChangeDetectionStrategy.OnPush,
410
- template: '<ng-content></ng-content>',
411
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
412
- inputs: ['fontFamily', 'selectedSize', 'sizes'],
413
- }]
414
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
415
- let KritzelIcon = class KritzelIcon {
416
- constructor(c, r, z) {
417
- this.z = z;
418
- c.detach();
419
- this.el = r.nativeElement;
420
- }
421
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
422
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelIcon, isStandalone: true, selector: "kritzel-icon", inputs: { label: "label", name: "name", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
423
- };
424
- KritzelIcon = __decorate([
425
- ProxyCmp({
426
- inputs: ['label', 'name', 'size']
427
- })
428
- ], KritzelIcon);
429
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelIcon, decorators: [{
430
- type: Component,
431
- args: [{
432
- selector: 'kritzel-icon',
433
- changeDetection: ChangeDetectionStrategy.OnPush,
434
- template: '<ng-content></ng-content>',
435
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
436
- inputs: ['label', 'name', 'size'],
437
- }]
438
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
439
- let KritzelStrokeSize = class KritzelStrokeSize {
440
- constructor(c, r, z) {
441
- this.z = z;
442
- c.detach();
443
- this.el = r.nativeElement;
444
- proxyOutputs(this, this.el, ['sizeChange']);
445
- }
446
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelStrokeSize, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
447
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelStrokeSize, isStandalone: true, selector: "kritzel-stroke-size", inputs: { selectedSize: "selectedSize", sizes: "sizes" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
448
- };
449
- KritzelStrokeSize = __decorate([
450
- ProxyCmp({
451
- inputs: ['selectedSize', 'sizes']
452
- })
453
- ], KritzelStrokeSize);
454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelStrokeSize, decorators: [{
455
- type: Component,
456
- args: [{
457
- selector: 'kritzel-stroke-size',
458
- changeDetection: ChangeDetectionStrategy.OnPush,
459
- template: '<ng-content></ng-content>',
460
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
461
- inputs: ['selectedSize', 'sizes'],
462
- }]
463
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
464
- let KritzelTooltip = class KritzelTooltip {
465
- constructor(c, r, z) {
466
- this.z = z;
467
- c.detach();
468
- this.el = r.nativeElement;
469
- }
470
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
471
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelTooltip, isStandalone: true, selector: "kritzel-tooltip", inputs: { anchorElement: "anchorElement", arrowSize: "arrowSize", isVisible: "isVisible", offsetY: "offsetY" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
472
- };
473
- KritzelTooltip = __decorate([
474
- ProxyCmp({
475
- inputs: ['anchorElement', 'arrowSize', 'isVisible', 'offsetY']
476
- })
477
- ], KritzelTooltip);
478
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelTooltip, decorators: [{
479
- type: Component,
480
- args: [{
481
- selector: 'kritzel-tooltip',
482
- changeDetection: ChangeDetectionStrategy.OnPush,
483
- template: '<ng-content></ng-content>',
484
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
485
- inputs: ['anchorElement', 'arrowSize', 'isVisible', 'offsetY'],
486
- }]
487
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
488
- let KritzelUtilityPanel = class KritzelUtilityPanel {
489
- constructor(c, r, z) {
490
- this.z = z;
491
- c.detach();
492
- this.el = r.nativeElement;
493
- proxyOutputs(this, this.el, ['undo', 'redo', 'delete']);
494
- }
495
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelUtilityPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
496
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: KritzelUtilityPanel, isStandalone: true, selector: "kritzel-utility-panel", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
497
- };
498
- KritzelUtilityPanel = __decorate([
499
- ProxyCmp({})
500
- ], KritzelUtilityPanel);
501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: KritzelUtilityPanel, decorators: [{
502
- type: Component,
503
- args: [{
504
- selector: 'kritzel-utility-panel',
505
- changeDetection: ChangeDetectionStrategy.OnPush,
506
- template: '<ng-content></ng-content>',
507
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
508
- inputs: [],
509
- }]
510
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
511
92
 
512
93
  const DIRECTIVES = [
513
- KritzelBrushStyle,
514
- KritzelColor,
515
- KritzelColorPalette,
516
- KritzelContextMenu,
517
- KritzelControlBrushConfig,
518
- KritzelControlTextConfig,
519
- KritzelControls,
520
- KritzelCursorTrail,
521
- KritzelDropdown,
522
- KritzelEditor,
523
- KritzelEngine,
524
- KritzelFont,
525
- KritzelFontFamily,
526
- KritzelFontSize,
527
- KritzelIcon,
528
- KritzelStrokeSize,
529
- KritzelTooltip,
530
- KritzelUtilityPanel
94
+ KritzelEditor
531
95
  ];
532
96
 
533
97
  function provideKritzel() {
@@ -543,5 +107,5 @@ function provideKritzel() {
543
107
  * Generated bundle index. Do not edit.
544
108
  */
545
109
 
546
- export { DIRECTIVES, KritzelBrushStyle, KritzelColor, KritzelColorPalette, KritzelContextMenu, KritzelControlBrushConfig, KritzelControlTextConfig, KritzelControls, KritzelCursorTrail, KritzelDropdown, KritzelEditor, KritzelEngine, KritzelFont, KritzelFontFamily, KritzelFontSize, KritzelIcon, KritzelStrokeSize, KritzelTooltip, KritzelUtilityPanel, provideKritzel };
110
+ export { DIRECTIVES, KritzelEditor, provideKritzel };
547
111
  //# sourceMappingURL=kritzel-angular.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"kritzel-angular.mjs","sources":["../../../projects/lib/src/lib/angular-component-lib/utils.ts","../../../projects/lib/src/lib/proxy.ts","../../../projects/lib/src/lib/index.ts","../../../projects/lib/src/lib/provide.function.ts","../../../projects/lib/src/kritzel-angular.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\nimport { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach((item) => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n },\n /**\n * In the event that proxyInputs is called\n * multiple times re-defining these inputs\n * will cause an error to be thrown. As a result\n * we set configurable: true to indicate these\n * properties can be changed.\n */\n configurable: true,\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach((methodName) => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {\n customElements.define(tagName, customElement);\n }\n};\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { defineCustomElementFn?: () => void; inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n const { defineCustomElementFn, inputs, methods } = opts;\n\n if (defineCustomElementFn !== undefined) {\n defineCustomElementFn();\n }\n\n if (inputs) {\n proxyInputs(cls, inputs);\n }\n if (methods) {\n proxyMethods(cls, methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, NgZone } from '@angular/core';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nimport { Components } from 'kritzel-stencil';\n\n\n@ProxyCmp({\n inputs: ['brushOptions', 'type']\n})\n@Component({\n selector: 'kritzel-brush-style',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['brushOptions', 'type'],\n})\nexport class KritzelBrushStyle {\n protected el: HTMLKritzelBrushStyleElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['typeChange']);\n }\n}\n\n\nexport declare interface KritzelBrushStyle extends Components.KritzelBrushStyle {\n\n typeChange: EventEmitter<CustomEvent<'pen' | 'highlighter'>>;\n}\n\n\n@ProxyCmp({\n inputs: ['size', 'value']\n})\n@Component({\n selector: 'kritzel-color',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['size', 'value'],\n})\nexport class KritzelColor {\n protected el: HTMLKritzelColorElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface KritzelColor extends Components.KritzelColor {}\n\n\n@ProxyCmp({\n inputs: ['colors', 'isExpanded', 'isOpaque', 'selectedColor']\n})\n@Component({\n selector: 'kritzel-color-palette',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['colors', 'isExpanded', 'isOpaque', 'selectedColor'],\n})\nexport class KritzelColorPalette {\n protected el: HTMLKritzelColorPaletteElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['colorChange']);\n }\n}\n\n\nexport declare interface KritzelColorPalette extends Components.KritzelColorPalette {\n\n colorChange: EventEmitter<CustomEvent<string>>;\n}\n\n\n@ProxyCmp({\n inputs: ['items']\n})\n@Component({\n selector: 'kritzel-context-menu',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['items'],\n})\nexport class KritzelContextMenu {\n protected el: HTMLKritzelContextMenuElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['actionSelected']);\n }\n}\n\n\nimport type { ContextMenuItem as IKritzelContextMenuContextMenuItem } from 'kritzel-stencil';\n\nexport declare interface KritzelContextMenu extends Components.KritzelContextMenu {\n\n actionSelected: EventEmitter<CustomEvent<IKritzelContextMenuContextMenuItem>>;\n}\n\n\n@ProxyCmp({\n inputs: ['isExpanded', 'tool']\n})\n@Component({\n selector: 'kritzel-control-brush-config',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['isExpanded', 'tool'],\n})\nexport class KritzelControlBrushConfig {\n protected el: HTMLKritzelControlBrushConfigElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['toolChange']);\n }\n}\n\n\nimport type { KritzelBrushTool as IKritzelControlBrushConfigKritzelBrushTool } from 'kritzel-stencil';\n\nexport declare interface KritzelControlBrushConfig extends Components.KritzelControlBrushConfig {\n\n toolChange: EventEmitter<CustomEvent<IKritzelControlBrushConfigKritzelBrushTool>>;\n}\n\n\n@ProxyCmp({\n inputs: ['isExpanded', 'tool']\n})\n@Component({\n selector: 'kritzel-control-text-config',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['isExpanded', 'tool'],\n})\nexport class KritzelControlTextConfig {\n protected el: HTMLKritzelControlTextConfigElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['toolChange']);\n }\n}\n\n\nimport type { KritzelTextTool as IKritzelControlTextConfigKritzelTextTool } from 'kritzel-stencil';\n\nexport declare interface KritzelControlTextConfig extends Components.KritzelControlTextConfig {\n\n toolChange: EventEmitter<CustomEvent<IKritzelControlTextConfigKritzelTextTool>>;\n}\n\n\n@ProxyCmp({\n inputs: ['activeControl', 'controls'],\n methods: ['closeTooltip']\n})\n@Component({\n selector: 'kritzel-controls',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['activeControl', 'controls'],\n})\nexport class KritzelControls {\n protected el: HTMLKritzelControlsElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['controlsReady']);\n }\n}\n\n\nexport declare interface KritzelControls extends Components.KritzelControls {\n\n controlsReady: EventEmitter<CustomEvent<void>>;\n}\n\n\n@ProxyCmp({\n inputs: ['store']\n})\n@Component({\n selector: 'kritzel-cursor-trail',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['store'],\n})\nexport class KritzelCursorTrail {\n protected el: HTMLKritzelCursorTrailElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface KritzelCursorTrail extends Components.KritzelCursorTrail {}\n\n\n@ProxyCmp({\n inputs: ['options', 'selectStyles', 'value', 'width']\n})\n@Component({\n selector: 'kritzel-dropdown',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['options', 'selectStyles', 'value', 'width'],\n})\nexport class KritzelDropdown {\n protected el: HTMLKritzelDropdownElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['valueChanged']);\n }\n}\n\n\nexport declare interface KritzelDropdown extends Components.KritzelDropdown {\n\n valueChanged: EventEmitter<CustomEvent<string>>;\n}\n\n\n@ProxyCmp({\n inputs: ['controls', 'customSvgIcons', 'hideControls'],\n methods: ['getObjectById', 'addObject', 'updateObject', 'removeObject', 'selectObjects', 'selectAllObjectsInViewport', 'clearSelection']\n})\n@Component({\n selector: 'kritzel-editor',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['controls', 'customSvgIcons', 'hideControls'],\n})\nexport class KritzelEditor {\n protected el: HTMLKritzelEditorElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface KritzelEditor extends Components.KritzelEditor {}\n\n\n@ProxyCmp({\n inputs: ['activeTool', 'globalContextMenuItems', 'objectContextMenuItems'],\n methods: ['registerTool', 'changeActiveTool', 'setFocus', 'disable', 'enable', 'delete', 'copy', 'paste', 'bringForward', 'sendBackward', 'moveToTop', 'moveToBottom', 'undo', 'redo', 'hideContextMenu', 'getObjectById', 'addObject', 'updateObject', 'removeObject', 'selectObjects', 'selectAllObjectsInViewport', 'clearSelection']\n})\n@Component({\n selector: 'kritzel-engine',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['activeTool', 'globalContextMenuItems', 'objectContextMenuItems'],\n})\nexport class KritzelEngine {\n protected el: HTMLKritzelEngineElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['engineReady', 'activeToolChange']);\n }\n}\n\n\nimport type { KritzelBaseTool as IKritzelEngineKritzelBaseTool } from 'kritzel-stencil';\n\nexport declare interface KritzelEngine extends Components.KritzelEngine {\n\n engineReady: EventEmitter<CustomEvent<void>>;\n\n activeToolChange: EventEmitter<CustomEvent<IKritzelEngineKritzelBaseTool>>;\n}\n\n\n@ProxyCmp({\n inputs: ['color', 'fontFamily', 'size']\n})\n@Component({\n selector: 'kritzel-font',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['color', 'fontFamily', 'size'],\n})\nexport class KritzelFont {\n protected el: HTMLKritzelFontElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface KritzelFont extends Components.KritzelFont {}\n\n\n@ProxyCmp({\n inputs: ['fontOptions', 'selectedFontFamily']\n})\n@Component({\n selector: 'kritzel-font-family',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['fontOptions', 'selectedFontFamily'],\n})\nexport class KritzelFontFamily {\n protected el: HTMLKritzelFontFamilyElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['fontFamilyChange']);\n }\n}\n\n\nexport declare interface KritzelFontFamily extends Components.KritzelFontFamily {\n\n fontFamilyChange: EventEmitter<CustomEvent<string>>;\n}\n\n\n@ProxyCmp({\n inputs: ['fontFamily', 'selectedSize', 'sizes']\n})\n@Component({\n selector: 'kritzel-font-size',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['fontFamily', 'selectedSize', 'sizes'],\n})\nexport class KritzelFontSize {\n protected el: HTMLKritzelFontSizeElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['sizeChange']);\n }\n}\n\n\nexport declare interface KritzelFontSize extends Components.KritzelFontSize {\n\n sizeChange: EventEmitter<CustomEvent<number>>;\n}\n\n\n@ProxyCmp({\n inputs: ['label', 'name', 'size']\n})\n@Component({\n selector: 'kritzel-icon',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['label', 'name', 'size'],\n})\nexport class KritzelIcon {\n protected el: HTMLKritzelIconElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface KritzelIcon extends Components.KritzelIcon {}\n\n\n@ProxyCmp({\n inputs: ['selectedSize', 'sizes']\n})\n@Component({\n selector: 'kritzel-stroke-size',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['selectedSize', 'sizes'],\n})\nexport class KritzelStrokeSize {\n protected el: HTMLKritzelStrokeSizeElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['sizeChange']);\n }\n}\n\n\nexport declare interface KritzelStrokeSize extends Components.KritzelStrokeSize {\n\n sizeChange: EventEmitter<CustomEvent<number>>;\n}\n\n\n@ProxyCmp({\n inputs: ['anchorElement', 'arrowSize', 'isVisible', 'offsetY']\n})\n@Component({\n selector: 'kritzel-tooltip',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['anchorElement', 'arrowSize', 'isVisible', 'offsetY'],\n})\nexport class KritzelTooltip {\n protected el: HTMLKritzelTooltipElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface KritzelTooltip extends Components.KritzelTooltip {}\n\n\n@ProxyCmp({\n})\n@Component({\n selector: 'kritzel-utility-panel',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: [],\n})\nexport class KritzelUtilityPanel {\n protected el: HTMLKritzelUtilityPanelElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['undo', 'redo', 'delete']);\n }\n}\n\n\nexport declare interface KritzelUtilityPanel extends Components.KritzelUtilityPanel {\n\n undo: EventEmitter<CustomEvent<void>>;\n\n redo: EventEmitter<CustomEvent<void>>;\n\n delete: EventEmitter<CustomEvent<void>>;\n}\n\n\n","\nimport * as d from './proxy';\n\nexport const DIRECTIVES = [\n d.KritzelBrushStyle,\n d.KritzelColor,\n d.KritzelColorPalette,\n d.KritzelContextMenu,\n d.KritzelControlBrushConfig,\n d.KritzelControlTextConfig,\n d.KritzelControls,\n d.KritzelCursorTrail,\n d.KritzelDropdown,\n d.KritzelEditor,\n d.KritzelEngine,\n d.KritzelFont,\n d.KritzelFontFamily,\n d.KritzelFontSize,\n d.KritzelIcon,\n d.KritzelStrokeSize,\n d.KritzelTooltip,\n d.KritzelUtilityPanel\n];\n","import {\r\n provideAppInitializer,\r\n EnvironmentProviders,\r\n makeEnvironmentProviders,\r\n} from '@angular/core';\r\nimport { defineCustomElements } from 'kritzel-stencil/loader';\r\n\r\nexport function provideKritzel(): EnvironmentProviders {\r\n return makeEnvironmentProviders([\r\n provideAppInitializer(() => {\r\n console.info('Initializing Kritzel custom elements');\r\n return defineCustomElements(window);\r\n }),\r\n ]);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["d.KritzelBrushStyle","d.KritzelColor","d.KritzelColorPalette","d.KritzelContextMenu","d.KritzelControlBrushConfig","d.KritzelControlTextConfig","d.KritzelControls","d.KritzelCursorTrail","d.KritzelDropdown","d.KritzelEditor","d.KritzelEng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MAAM,CAAC;AACrC,SAAC,CAAC;AACH,KAAA,CAAC;AACJ;;ACdA;;AAEG;;;;"}
1
+ {"version":3,"file":"kritzel-angular.mjs","sources":["../../../projects/lib/src/lib/angular-component-lib/utils.ts","../../../projects/lib/src/lib/proxy.ts","../../../projects/lib/src/lib/index.ts","../../../projects/lib/src/lib/provide.function.ts","../../../projects/lib/src/kritzel-angular.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\nimport { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach((item) => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n },\n /**\n * In the event that proxyInputs is called\n * multiple times re-defining these inputs\n * will cause an error to be thrown. As a result\n * we set configurable: true to indicate these\n * properties can be changed.\n */\n configurable: true,\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach((methodName) => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {\n customElements.define(tagName, customElement);\n }\n};\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { defineCustomElementFn?: () => void; inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n const { defineCustomElementFn, inputs, methods } = opts;\n\n if (defineCustomElementFn !== undefined) {\n defineCustomElementFn();\n }\n\n if (inputs) {\n proxyInputs(cls, inputs);\n }\n if (methods) {\n proxyMethods(cls, methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, NgZone } from '@angular/core';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nimport { Components } from 'kritzel-stencil';\n\n\n@ProxyCmp({\n inputs: ['controls', 'customSvgIcons', 'hideControls'],\n methods: ['getObjectById', 'addObject', 'updateObject', 'removeObject', 'getSelectedObjects', 'selectObjects', 'selectAllObjectsInViewport', 'clearSelection', 'centerObjectInViewport']\n})\n@Component({\n selector: 'kritzel-editor',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['controls', 'customSvgIcons', 'hideControls'],\n})\nexport class KritzelEditor {\n protected el: HTMLKritzelEditorElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['isReady']);\n }\n}\n\n\nexport declare interface KritzelEditor extends Components.KritzelEditor {\n\n isReady: EventEmitter<CustomEvent<HTMLElement>>;\n}\n\n\n","\nimport * as d from './proxy';\n\nexport const DIRECTIVES = [\n d.KritzelEditor\n];\n","import {\r\n provideAppInitializer,\r\n EnvironmentProviders,\r\n makeEnvironmentProviders,\r\n} from '@angular/core';\r\nimport { defineCustomElements } from 'kritzel-stencil/loader';\r\n\r\nexport function provideKritzel(): EnvironmentProviders {\r\n return makeEnvironmentProviders([\r\n provideAppInitializer(() => {\r\n console.info('Initializing Kritzel custom elements');\r\n return defineCustomElements(window);\r\n }),\r\n ]);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["d.KritzelEditor"],"mappings":";;;;;;;AAAA;AACA;AAGO,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,MAAgB,KAAI;AACxD,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS;AAC/B,IAAA,MAAM,CAAC,OAA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,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;AAI1B,aAAa,GAAA,UAAA,CAAA;AAXzB,IAAA,QAAQ,CAAC;AACR,QAAA,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,EAAE,cAAc,CAAC;AACtD,QAAA,OAAO,EAAE,CAAC,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,oBAAoB,EAAE,eAAe,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,wBAAwB;KACxL;AAQY,CAAA,EAAA,aAAa,CAOzB;4FAPY,aAAa,EAAA,UAAA,EAAA,CAAA;kBAPzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,QAAQ,EAAE,2BAA2B;;AAErC,oBAAA,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,EAAE,cAAc,CAAC;AACvD,iBAAA;;;AChBY,MAAA,UAAU,GAAG;AACxB,IAAAA;;;SCGc,cAAc,GAAA;AAC5B,IAAA,OAAO,wBAAwB,CAAC;QAC9B,qBAAqB,CAAC,MAAK;AACzB,YAAA,OAAO,CAAC,IAAI,CAAC,sCAAsC,CAAC;AACpD,YAAA,OAAO,oBAAoB,CAAC,MAAM,CAAC;AACrC,SAAC,CAAC;AACH,KAAA,CAAC;AACJ;;ACdA;;AAEG;;;;"}
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import * as d from './proxy';
2
- export declare const DIRECTIVES: (typeof d.KritzelBrushStyle | typeof d.KritzelColor | typeof d.KritzelColorPalette | typeof d.KritzelContextMenu | typeof d.KritzelControlBrushConfig | typeof d.KritzelControlTextConfig | typeof d.KritzelControls | typeof d.KritzelCursorTrail | typeof d.KritzelDropdown | typeof d.KritzelEditor | typeof d.KritzelEngine | typeof d.KritzelFont | typeof d.KritzelFontFamily | typeof d.KritzelFontSize | typeof d.KritzelIcon | typeof d.KritzelStrokeSize | typeof d.KritzelTooltip | typeof d.KritzelUtilityPanel)[];
2
+ export declare const DIRECTIVES: (typeof d.KritzelEditor)[];
package/lib/proxy.d.ts CHANGED
@@ -1,98 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
2
2
  import { Components } from 'kritzel-stencil';
3
- import type { ContextMenuItem as IKritzelContextMenuContextMenuItem } from 'kritzel-stencil';
4
- import type { KritzelBrushTool as IKritzelControlBrushConfigKritzelBrushTool } from 'kritzel-stencil';
5
- import type { KritzelTextTool as IKritzelControlTextConfigKritzelTextTool } from 'kritzel-stencil';
6
- import type { KritzelBaseTool as IKritzelEngineKritzelBaseTool } from 'kritzel-stencil';
7
3
  import * as i0 from "@angular/core";
8
- export declare class KritzelBrushStyle {
9
- protected z: NgZone;
10
- protected el: HTMLKritzelBrushStyleElement;
11
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
12
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelBrushStyle, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelBrushStyle, "kritzel-brush-style", never, { "brushOptions": { "alias": "brushOptions"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
14
- }
15
- export declare interface KritzelBrushStyle extends Components.KritzelBrushStyle {
16
- typeChange: EventEmitter<CustomEvent<'pen' | 'highlighter'>>;
17
- }
18
- export declare class KritzelColor {
19
- protected z: NgZone;
20
- protected el: HTMLKritzelColorElement;
21
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
22
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelColor, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelColor, "kritzel-color", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
24
- }
25
- export declare interface KritzelColor extends Components.KritzelColor {
26
- }
27
- export declare class KritzelColorPalette {
28
- protected z: NgZone;
29
- protected el: HTMLKritzelColorPaletteElement;
30
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
31
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelColorPalette, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelColorPalette, "kritzel-color-palette", never, { "colors": { "alias": "colors"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "isOpaque": { "alias": "isOpaque"; "required": false; }; "selectedColor": { "alias": "selectedColor"; "required": false; }; }, {}, never, ["*"], true, never>;
33
- }
34
- export declare interface KritzelColorPalette extends Components.KritzelColorPalette {
35
- colorChange: EventEmitter<CustomEvent<string>>;
36
- }
37
- export declare class KritzelContextMenu {
38
- protected z: NgZone;
39
- protected el: HTMLKritzelContextMenuElement;
40
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
41
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelContextMenu, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelContextMenu, "kritzel-context-menu", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
43
- }
44
- export declare interface KritzelContextMenu extends Components.KritzelContextMenu {
45
- actionSelected: EventEmitter<CustomEvent<IKritzelContextMenuContextMenuItem>>;
46
- }
47
- export declare class KritzelControlBrushConfig {
48
- protected z: NgZone;
49
- protected el: HTMLKritzelControlBrushConfigElement;
50
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
51
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelControlBrushConfig, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelControlBrushConfig, "kritzel-control-brush-config", never, { "isExpanded": { "alias": "isExpanded"; "required": false; }; "tool": { "alias": "tool"; "required": false; }; }, {}, never, ["*"], true, never>;
53
- }
54
- export declare interface KritzelControlBrushConfig extends Components.KritzelControlBrushConfig {
55
- toolChange: EventEmitter<CustomEvent<IKritzelControlBrushConfigKritzelBrushTool>>;
56
- }
57
- export declare class KritzelControlTextConfig {
58
- protected z: NgZone;
59
- protected el: HTMLKritzelControlTextConfigElement;
60
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
61
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelControlTextConfig, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelControlTextConfig, "kritzel-control-text-config", never, { "isExpanded": { "alias": "isExpanded"; "required": false; }; "tool": { "alias": "tool"; "required": false; }; }, {}, never, ["*"], true, never>;
63
- }
64
- export declare interface KritzelControlTextConfig extends Components.KritzelControlTextConfig {
65
- toolChange: EventEmitter<CustomEvent<IKritzelControlTextConfigKritzelTextTool>>;
66
- }
67
- export declare class KritzelControls {
68
- protected z: NgZone;
69
- protected el: HTMLKritzelControlsElement;
70
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
71
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelControls, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelControls, "kritzel-controls", never, { "activeControl": { "alias": "activeControl"; "required": false; }; "controls": { "alias": "controls"; "required": false; }; }, {}, never, ["*"], true, never>;
73
- }
74
- export declare interface KritzelControls extends Components.KritzelControls {
75
- controlsReady: EventEmitter<CustomEvent<void>>;
76
- }
77
- export declare class KritzelCursorTrail {
78
- protected z: NgZone;
79
- protected el: HTMLKritzelCursorTrailElement;
80
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
81
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelCursorTrail, never>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelCursorTrail, "kritzel-cursor-trail", never, { "store": { "alias": "store"; "required": false; }; }, {}, never, ["*"], true, never>;
83
- }
84
- export declare interface KritzelCursorTrail extends Components.KritzelCursorTrail {
85
- }
86
- export declare class KritzelDropdown {
87
- protected z: NgZone;
88
- protected el: HTMLKritzelDropdownElement;
89
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
90
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelDropdown, never>;
91
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelDropdown, "kritzel-dropdown", never, { "options": { "alias": "options"; "required": false; }; "selectStyles": { "alias": "selectStyles"; "required": false; }; "value": { "alias": "value"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, ["*"], true, never>;
92
- }
93
- export declare interface KritzelDropdown extends Components.KritzelDropdown {
94
- valueChanged: EventEmitter<CustomEvent<string>>;
95
- }
96
4
  export declare class KritzelEditor {
97
5
  protected z: NgZone;
98
6
  protected el: HTMLKritzelEditorElement;
@@ -101,84 +9,5 @@ export declare class KritzelEditor {
101
9
  static ɵcmp: i0.ɵɵComponentDeclaration<KritzelEditor, "kritzel-editor", never, { "controls": { "alias": "controls"; "required": false; }; "customSvgIcons": { "alias": "customSvgIcons"; "required": false; }; "hideControls": { "alias": "hideControls"; "required": false; }; }, {}, never, ["*"], true, never>;
102
10
  }
103
11
  export declare interface KritzelEditor extends Components.KritzelEditor {
104
- }
105
- export declare class KritzelEngine {
106
- protected z: NgZone;
107
- protected el: HTMLKritzelEngineElement;
108
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
109
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelEngine, never>;
110
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelEngine, "kritzel-engine", never, { "activeTool": { "alias": "activeTool"; "required": false; }; "globalContextMenuItems": { "alias": "globalContextMenuItems"; "required": false; }; "objectContextMenuItems": { "alias": "objectContextMenuItems"; "required": false; }; }, {}, never, ["*"], true, never>;
111
- }
112
- export declare interface KritzelEngine extends Components.KritzelEngine {
113
- engineReady: EventEmitter<CustomEvent<void>>;
114
- activeToolChange: EventEmitter<CustomEvent<IKritzelEngineKritzelBaseTool>>;
115
- }
116
- export declare class KritzelFont {
117
- protected z: NgZone;
118
- protected el: HTMLKritzelFontElement;
119
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
120
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelFont, never>;
121
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelFont, "kritzel-font", never, { "color": { "alias": "color"; "required": false; }; "fontFamily": { "alias": "fontFamily"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
122
- }
123
- export declare interface KritzelFont extends Components.KritzelFont {
124
- }
125
- export declare class KritzelFontFamily {
126
- protected z: NgZone;
127
- protected el: HTMLKritzelFontFamilyElement;
128
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
129
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelFontFamily, never>;
130
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelFontFamily, "kritzel-font-family", never, { "fontOptions": { "alias": "fontOptions"; "required": false; }; "selectedFontFamily": { "alias": "selectedFontFamily"; "required": false; }; }, {}, never, ["*"], true, never>;
131
- }
132
- export declare interface KritzelFontFamily extends Components.KritzelFontFamily {
133
- fontFamilyChange: EventEmitter<CustomEvent<string>>;
134
- }
135
- export declare class KritzelFontSize {
136
- protected z: NgZone;
137
- protected el: HTMLKritzelFontSizeElement;
138
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
139
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelFontSize, never>;
140
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelFontSize, "kritzel-font-size", never, { "fontFamily": { "alias": "fontFamily"; "required": false; }; "selectedSize": { "alias": "selectedSize"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; }, {}, never, ["*"], true, never>;
141
- }
142
- export declare interface KritzelFontSize extends Components.KritzelFontSize {
143
- sizeChange: EventEmitter<CustomEvent<number>>;
144
- }
145
- export declare class KritzelIcon {
146
- protected z: NgZone;
147
- protected el: HTMLKritzelIconElement;
148
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
149
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelIcon, never>;
150
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelIcon, "kritzel-icon", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
151
- }
152
- export declare interface KritzelIcon extends Components.KritzelIcon {
153
- }
154
- export declare class KritzelStrokeSize {
155
- protected z: NgZone;
156
- protected el: HTMLKritzelStrokeSizeElement;
157
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
158
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelStrokeSize, never>;
159
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelStrokeSize, "kritzel-stroke-size", never, { "selectedSize": { "alias": "selectedSize"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; }, {}, never, ["*"], true, never>;
160
- }
161
- export declare interface KritzelStrokeSize extends Components.KritzelStrokeSize {
162
- sizeChange: EventEmitter<CustomEvent<number>>;
163
- }
164
- export declare class KritzelTooltip {
165
- protected z: NgZone;
166
- protected el: HTMLKritzelTooltipElement;
167
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
168
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelTooltip, never>;
169
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelTooltip, "kritzel-tooltip", never, { "anchorElement": { "alias": "anchorElement"; "required": false; }; "arrowSize": { "alias": "arrowSize"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; }, {}, never, ["*"], true, never>;
170
- }
171
- export declare interface KritzelTooltip extends Components.KritzelTooltip {
172
- }
173
- export declare class KritzelUtilityPanel {
174
- protected z: NgZone;
175
- protected el: HTMLKritzelUtilityPanelElement;
176
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
177
- static ɵfac: i0.ɵɵFactoryDeclaration<KritzelUtilityPanel, never>;
178
- static ɵcmp: i0.ɵɵComponentDeclaration<KritzelUtilityPanel, "kritzel-utility-panel", never, {}, {}, never, ["*"], true, never>;
179
- }
180
- export declare interface KritzelUtilityPanel extends Components.KritzelUtilityPanel {
181
- undo: EventEmitter<CustomEvent<void>>;
182
- redo: EventEmitter<CustomEvent<void>>;
183
- delete: EventEmitter<CustomEvent<void>>;
12
+ isReady: EventEmitter<CustomEvent<HTMLElement>>;
184
13
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "kritzel-angular",
3
- "version": "0.0.115",
3
+ "version": "0.0.117",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.6",
6
6
  "@angular/core": "^19.2.6",
7
- "kritzel-stencil": "^0.0.115"
7
+ "kritzel-stencil": "^0.0.117"
8
8
  },
9
9
  "dependencies": {
10
10
  "tslib": "^2.3.0"