@posiwise/utils 0.0.145 → 0.0.147

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.
@@ -1,5 +1,3 @@
1
- import Quill from "quill";
2
- import * as ImageResize from "quill-resize-image";
3
1
  import "reflect-metadata";
4
2
  import * as i3 from "@angular/common";
5
3
  import { CommonModule } from "@angular/common";
@@ -24,356 +22,6 @@ import { TooltipModule } from "primeng/tooltip";
24
22
  import { AppBaseComponent } from "@posiwise/app-base-component";
25
23
  import { HelperService } from "@posiwise/helper-service";
26
24
  import * as i5 from "@jsverse/transloco";
27
- const DATA_URI_IMAGE = /^data:image\//i;
28
- const PASTED_IMAGE_MESSAGE = "That image was pasted, so it would be stored inside the article itself rather than on the image host — which makes the page much heavier for every reader. Upload the image somewhere first, then use the image button in the toolbar to add it by URL.";
29
- function clipboardHasImageFile(clipboardData) {
30
- if (!clipboardData) return false;
31
- if (Array.from(clipboardData.items ?? []).some((item) => item.kind === "file" && item.type?.startsWith("image/"))) return true;
32
- return Array.from(clipboardData.files ?? []).some((file) => file.type?.startsWith("image/"));
33
- }
34
- function isEmbeddedImageSrc(src) {
35
- return DATA_URI_IMAGE.test((src ?? "").trim());
36
- }
37
- var PasteGuard = class {
38
- constructor(quill, options) {
39
- this.notify = options?.onBlocked ?? ((message) => globalThis.alert?.(message));
40
- quill.root.addEventListener("paste", (event) => this.handlePaste(event), true);
41
- const Delta = Quill.import("delta");
42
- quill.clipboard.addMatcher("IMG", (node, delta) => {
43
- if (!isEmbeddedImageSrc(node instanceof Element ? node.getAttribute("src") : null)) return delta;
44
- this.notify(PASTED_IMAGE_MESSAGE);
45
- return new Delta();
46
- });
47
- }
48
- handlePaste(event) {
49
- if (!clipboardHasImageFile(event.clipboardData)) return;
50
- event.preventDefault();
51
- event.stopPropagation();
52
- this.notify(PASTED_IMAGE_MESSAGE);
53
- }
54
- };
55
- const BlockEmbed = Quill.import("formats/image");
56
- var NoDragImage = class extends BlockEmbed {
57
- static create(value) {
58
- const node = super.create();
59
- node.setAttribute("src", value.url);
60
- node.setAttribute("alt", value.alt || "");
61
- node.setAttribute("class", "no-drag-image");
62
- node.setAttribute("draggable", "false");
63
- node.style.width = value.width || "300px";
64
- node.style.height = value.height || "auto";
65
- if (value.align) switch (value.align) {
66
- case "left":
67
- node.style.float = "left";
68
- node.style.marginRight = "1em";
69
- break;
70
- case "right":
71
- node.style.float = "right";
72
- node.style.marginLeft = "1em";
73
- break;
74
- case "center":
75
- node.style.display = "block";
76
- node.style.marginLeft = "auto";
77
- node.style.marginRight = "auto";
78
- break;
79
- default: node.style.float = "none";
80
- }
81
- return node;
82
- }
83
- static value(node) {
84
- return {
85
- url: node.getAttribute("src"),
86
- alt: node.getAttribute("alt"),
87
- width: node.getAttribute("data-width") || node.style.width,
88
- height: node.getAttribute("data-height") || node.style.height,
89
- align: node.style.float || "center"
90
- };
91
- }
92
- };
93
- var NoDragDrop = class {
94
- constructor(quill, _options) {
95
- quill.root.addEventListener("drop", this.handleDrop.bind(this, quill));
96
- quill.root.addEventListener("dragover", this.preventDefault);
97
- }
98
- preventDefault(e) {
99
- e.preventDefault();
100
- e.stopPropagation();
101
- }
102
- handleDrop(quill, e) {
103
- this.preventDefault(e);
104
- const observer = new MutationObserver((mutations) => {
105
- this.removeInsertedImages(quill, mutations);
106
- });
107
- observer.observe(quill.root, {
108
- childList: true,
109
- subtree: true
110
- });
111
- setTimeout(() => {
112
- observer.disconnect();
113
- }, 1e3);
114
- }
115
- removeInsertedImages(quill, mutations) {
116
- mutations.forEach((mutation) => {
117
- mutation.addedNodes.forEach((node) => {
118
- if (node instanceof HTMLImageElement) node.remove();
119
- else if (node.nodeType === Node.ELEMENT_NODE) node.querySelectorAll("img").forEach((img) => img.remove());
120
- });
121
- });
122
- }
123
- };
124
- NoDragImage["blotName"] = "no-drag-image";
125
- NoDragImage["tagName"] = "img";
126
- Quill.register(NoDragImage);
127
- Quill.register("modules/noDragDrop", NoDragDrop);
128
- Quill.register("modules/imageResize", ImageResize.default || ImageResize);
129
- const BlockEmbedVideo = Quill.import("blots/block/embed");
130
- var NoDragVideo = class extends BlockEmbedVideo {
131
- static create(value) {
132
- const node = document.createElement("iframe");
133
- node.setAttribute("src", value.url);
134
- node.setAttribute("frameborder", "0");
135
- node.setAttribute("allowfullscreen", "true");
136
- node.setAttribute("width", value.width || "100%");
137
- node.setAttribute("height", value.height || "200px");
138
- node.setAttribute("class", "no-drag-media");
139
- node.setAttribute("contenteditable", "false");
140
- if (value.url && (value.url.includes("youtube.com") || value.url.includes("youtu.be"))) {
141
- node.setAttribute("allow", "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share");
142
- if (value.url && !value.url.includes("youtube-nocookie.com") && !value.url.includes("enablejsapi=1")) try {
143
- const url = new URL(value.url);
144
- url.searchParams.set("enablejsapi", "1");
145
- if (typeof window !== "undefined" && window.location) url.searchParams.set("origin", window.location.origin);
146
- node.setAttribute("src", url.toString());
147
- } catch {
148
- const separator = value.url.includes("?") ? "&" : "?";
149
- node.setAttribute("src", `${value.url}${separator}enablejsapi=1`);
150
- }
151
- } else if (value.url && value.url.includes("loom.com")) node.setAttribute("allow", "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture");
152
- else node.setAttribute("allow", "fullscreen");
153
- const container = document.createElement("div");
154
- container.setAttribute("class", "media-container");
155
- container.style.position = "relative";
156
- container.style.width = "100%";
157
- container.style.height = "auto";
158
- container.appendChild(node);
159
- if (!container.querySelector(".media-remove-button")) {
160
- const removeButton = this.createRemoveButton(container);
161
- removeButton.setAttribute("contenteditable", "false");
162
- container.appendChild(removeButton);
163
- }
164
- if (!container.querySelector(".media-align-buttons")) {
165
- const alignButtons = this.createAlignButtons(container);
166
- alignButtons.setAttribute("contenteditable", "false");
167
- container.appendChild(alignButtons);
168
- }
169
- if (!container.querySelector(".media-resize-buttons")) {
170
- const resizeButtons = this.createResizeButtons(container);
171
- resizeButtons.setAttribute("contenteditable", "false");
172
- container.appendChild(resizeButtons);
173
- }
174
- container.setAttribute("contenteditable", "false");
175
- return container;
176
- }
177
- static createAlignButtons(container) {
178
- const buttonContainer = document.createElement("div");
179
- buttonContainer.setAttribute("class", "media-align-buttons");
180
- buttonContainer.style.position = "absolute";
181
- buttonContainer.style.top = "0";
182
- buttonContainer.style.right = "0";
183
- buttonContainer.style.display = "flex";
184
- buttonContainer.setAttribute("contenteditable", "false");
185
- const leftButton = this.createButton("Left", () => {
186
- container.style.textAlign = "left";
187
- container.setAttribute("data-align", "left");
188
- });
189
- const centerButton = this.createButton("Center", () => {
190
- container.style.textAlign = "center";
191
- container.setAttribute("data-align", "center");
192
- });
193
- const rightButton = this.createButton("Right", () => {
194
- container.style.textAlign = "right";
195
- container.setAttribute("data-align", "right");
196
- });
197
- buttonContainer.appendChild(leftButton);
198
- buttonContainer.appendChild(centerButton);
199
- buttonContainer.appendChild(rightButton);
200
- return buttonContainer;
201
- }
202
- static createRemoveButton(container) {
203
- const wrapper = document.createElement("div");
204
- wrapper.setAttribute("class", "media-remove-button");
205
- wrapper.style.position = "absolute";
206
- wrapper.style.top = "0";
207
- wrapper.style.left = "0";
208
- wrapper.style.display = "flex";
209
- wrapper.setAttribute("contenteditable", "false");
210
- const removeButton = this.createButton("Remove", () => {
211
- const mediaContainer = container.classList.contains("media-container") ? container : container.closest(".media-container");
212
- if (mediaContainer) {
213
- const blot = Quill.find(mediaContainer);
214
- if (blot && "remove" in blot && typeof blot.remove === "function") blot.remove();
215
- else mediaContainer.remove();
216
- }
217
- });
218
- removeButton.style.background = "rgb(243, 67, 67)";
219
- removeButton.style.color = "white";
220
- removeButton.style.border = "none";
221
- removeButton.style.padding = "2px 8px";
222
- removeButton.style.marginTop = "2px";
223
- removeButton.style.borderRadius = "4px";
224
- removeButton.title = "Remove video";
225
- wrapper.appendChild(removeButton);
226
- return wrapper;
227
- }
228
- static createResizeButtons(container) {
229
- const buttonContainer = document.createElement("div");
230
- buttonContainer.setAttribute("class", "media-resize-buttons");
231
- buttonContainer.style.position = "absolute";
232
- buttonContainer.style.bottom = "5px";
233
- buttonContainer.style.right = "5px";
234
- buttonContainer.style.display = "flex";
235
- buttonContainer.setAttribute("contenteditable", "false");
236
- const updateWidthAndHeight = (mediaElement, width, height) => {
237
- mediaElement.style.width = width;
238
- mediaElement.style.height = height;
239
- container.setAttribute("data-width", width);
240
- container.setAttribute("data-height", height);
241
- };
242
- const increaseWidthButton = this.createButton("Increase Width", () => {
243
- const mediaElement = container.querySelector(".no-drag-media");
244
- const currentWidth = parseInt(mediaElement.style.width || "100%");
245
- updateWidthAndHeight(mediaElement, `${currentWidth + 20}px`, mediaElement.style.height);
246
- });
247
- const decreaseWidthButton = this.createButton("Decrease Width", () => {
248
- const mediaElement = container.querySelector(".no-drag-media");
249
- const currentWidth = parseInt(mediaElement.style.width || "100%");
250
- updateWidthAndHeight(mediaElement, `${Math.max(100, currentWidth - 20)}px`, mediaElement.style.height);
251
- });
252
- const increaseHeightButton = this.createButton("Increase Height", () => {
253
- const mediaElement = container.querySelector(".no-drag-media");
254
- const currentHeight = parseInt(mediaElement.style.height || "200px");
255
- updateWidthAndHeight(mediaElement, mediaElement.style.width, `${currentHeight + 20}px`);
256
- });
257
- const decreaseHeightButton = this.createButton("Decrease Height", () => {
258
- const mediaElement = container.querySelector(".no-drag-media");
259
- const currentHeight = parseInt(mediaElement.style.height || "200px");
260
- updateWidthAndHeight(mediaElement, mediaElement.style.width, `${Math.max(100, currentHeight - 20)}px`);
261
- });
262
- buttonContainer.appendChild(increaseWidthButton);
263
- buttonContainer.appendChild(decreaseWidthButton);
264
- buttonContainer.appendChild(increaseHeightButton);
265
- buttonContainer.appendChild(decreaseHeightButton);
266
- return buttonContainer;
267
- }
268
- static createButton(label, onClick) {
269
- const button = document.createElement("button");
270
- button.innerHTML = label;
271
- button.style.margin = "0 5px";
272
- button.style.cursor = "pointer";
273
- button.setAttribute("contenteditable", "false");
274
- button.style.pointerEvents = "auto";
275
- button.onclick = (event) => {
276
- event.preventDefault();
277
- event.stopPropagation();
278
- onClick();
279
- };
280
- return button;
281
- }
282
- static value(container) {
283
- const iframe = container.querySelector("iframe");
284
- return {
285
- url: iframe?.getAttribute("src"),
286
- width: container.getAttribute("data-width") || iframe?.getAttribute("width"),
287
- height: container.getAttribute("data-height") || iframe?.getAttribute("height"),
288
- align: container.getAttribute("data-align") || "center"
289
- };
290
- }
291
- };
292
- NoDragVideo["blotName"] = "no-drag-video";
293
- NoDragVideo["tagName"] = "div";
294
- Quill.register(NoDragVideo);
295
- var QuillHelper = class {
296
- static init() {
297
- if (!Quill.imports["formats/no-drag-image"]) Quill.register(NoDragImage);
298
- if (!Quill.imports["formats/no-drag-video"]) Quill.register(NoDragVideo);
299
- if (!Quill.imports["modules/imageResize"]) Quill.register("modules/imageResize", ImageResize.default || ImageResize);
300
- if (!Quill.imports["modules/noDragDrop"]) Quill.register("modules/noDragDrop", NoDragDrop);
301
- if (!Quill.imports["modules/pasteGuard"]) Quill.register("modules/pasteGuard", PasteGuard);
302
- }
303
- static getEditorConfig(additionalToolbarConfig = []) {
304
- return {
305
- toolbar: {
306
- container: [...[
307
- [
308
- "bold",
309
- "italic",
310
- "underline",
311
- "strike"
312
- ],
313
- ["blockquote", "code-block"],
314
- [{ header: 1 }, { header: 2 }],
315
- [{ list: "ordered" }, { list: "bullet" }],
316
- [{ script: "sub" }, { script: "super" }],
317
- [{ indent: "-1" }, { indent: "+1" }],
318
- [{ direction: "rtl" }],
319
- [{ header: [
320
- 1,
321
- 2,
322
- 3,
323
- 4,
324
- 5,
325
- 6,
326
- false
327
- ] }],
328
- [{ color: [] }, { background: [] }],
329
- [{ align: [] }],
330
- [
331
- "link",
332
- "image",
333
- "video"
334
- ],
335
- ["clean"],
336
- ["table"]
337
- ], ...additionalToolbarConfig],
338
- handlers: {
339
- image: function() {
340
- const range = this.quill.getSelection();
341
- const value = prompt("Enter image URL:");
342
- if (value) {
343
- this.quill.insertEmbed(range.index, "no-drag-image", { url: value });
344
- this.quill.insertText(range.index + 1, "\n", Quill.sources.USER);
345
- }
346
- },
347
- video: function() {
348
- const range = this.quill.getSelection();
349
- let value = prompt("Enter video URL:");
350
- if (value?.includes("youtube.com/watch?v=")) value = `https://www.youtube.com/embed/${value.split("v=")[1]}`;
351
- else if (value?.includes("youtu.be/")) value = `https://www.youtube.com/embed/${value.split(".be/")[1]}`;
352
- else if (value?.includes("loom.com/share/")) value = `https://www.loom.com/embed/${value.split("share/")[1]}`;
353
- else if (value?.includes("capture.dropbox.com/")) {
354
- const videoId = value.split("capture.dropbox.com/")[1];
355
- if (videoId.includes("embed")) value = `https://capture.dropbox.com/${videoId}`;
356
- else value = `https://capture.dropbox.com/embed/${videoId}`;
357
- }
358
- if (value) {
359
- const useIframe = value.includes("youtube.com") || value.includes("youtu.be") || value.includes("loom.com") || value.includes("drop");
360
- this.quill.insertEmbed(range.index, "no-drag-video", {
361
- url: value,
362
- isEdit: true,
363
- width: useIframe ? "560px" : "640px",
364
- height: useIframe ? "315px" : "360px"
365
- });
366
- this.quill.insertText(range.index + 1, "\n", Quill.sources.USER);
367
- }
368
- }
369
- }
370
- },
371
- imageResize: { displaySize: true },
372
- noDragDrop: true,
373
- pasteGuard: true
374
- };
375
- }
376
- };
377
25
  function checkFormValidation(form) {
378
26
  if (!form.valid) {
379
27
  form.markAllAsTouched();
@@ -484,7 +132,7 @@ var ProfileImageCropperComponent = class ProfileImageCropperComponent {
484
132
  static {
485
133
  this.ɵfac = i0.ɵɵngDeclareFactory({
486
134
  minVersion: "12.0.0",
487
- version: "22.2.0",
135
+ version: "22.2.3",
488
136
  ngImport: i0,
489
137
  type: ProfileImageCropperComponent,
490
138
  deps: [{ token: i0.ChangeDetectorRef }],
@@ -494,7 +142,7 @@ var ProfileImageCropperComponent = class ProfileImageCropperComponent {
494
142
  static {
495
143
  this.ɵcmp = i0.ɵɵngDeclareComponent({
496
144
  minVersion: "17.0.0",
497
- version: "22.2.0",
145
+ version: "22.2.3",
498
146
  type: ProfileImageCropperComponent,
499
147
  isStandalone: false,
500
148
  selector: "pw-image-cropper",
@@ -580,7 +228,7 @@ var ProfileImageCropperComponent = class ProfileImageCropperComponent {
580
228
  };
581
229
  i0.ɵɵngDeclareClassMetadata({
582
230
  minVersion: "12.0.0",
583
- version: "22.2.0",
231
+ version: "22.2.3",
584
232
  ngImport: i0,
585
233
  type: ProfileImageCropperComponent,
586
234
  decorators: [{
@@ -694,7 +342,7 @@ var CustomUploaderComponent = class CustomUploaderComponent extends AppBaseCompo
694
342
  static {
695
343
  this.ɵfac = i0.ɵɵngDeclareFactory({
696
344
  minVersion: "12.0.0",
697
- version: "22.2.0",
345
+ version: "22.2.3",
698
346
  ngImport: i0,
699
347
  type: CustomUploaderComponent,
700
348
  deps: [
@@ -708,7 +356,7 @@ var CustomUploaderComponent = class CustomUploaderComponent extends AppBaseCompo
708
356
  static {
709
357
  this.ɵcmp = i0.ɵɵngDeclareComponent({
710
358
  minVersion: "17.0.0",
711
- version: "22.2.0",
359
+ version: "22.2.3",
712
360
  type: CustomUploaderComponent,
713
361
  isStandalone: false,
714
362
  selector: "pw-custom-uploader",
@@ -779,7 +427,7 @@ var CustomUploaderComponent = class CustomUploaderComponent extends AppBaseCompo
779
427
  };
780
428
  i0.ɵɵngDeclareClassMetadata({
781
429
  minVersion: "12.0.0",
782
- version: "22.2.0",
430
+ version: "22.2.3",
783
431
  ngImport: i0,
784
432
  type: CustomUploaderComponent,
785
433
  decorators: [{
@@ -814,7 +462,7 @@ var ProfileImageCropperModule = class ProfileImageCropperModule {
814
462
  static {
815
463
  this.ɵfac = i0.ɵɵngDeclareFactory({
816
464
  minVersion: "12.0.0",
817
- version: "22.2.0",
465
+ version: "22.2.3",
818
466
  ngImport: i0,
819
467
  type: ProfileImageCropperModule,
820
468
  deps: [],
@@ -824,7 +472,7 @@ var ProfileImageCropperModule = class ProfileImageCropperModule {
824
472
  static {
825
473
  this.ɵmod = i0.ɵɵngDeclareNgModule({
826
474
  minVersion: "14.0.0",
827
- version: "22.2.0",
475
+ version: "22.2.3",
828
476
  ngImport: i0,
829
477
  type: ProfileImageCropperModule,
830
478
  declarations: [ProfileImageCropperComponent, CustomUploaderComponent],
@@ -842,7 +490,7 @@ var ProfileImageCropperModule = class ProfileImageCropperModule {
842
490
  static {
843
491
  this.ɵinj = i0.ɵɵngDeclareInjector({
844
492
  minVersion: "12.0.0",
845
- version: "22.2.0",
493
+ version: "22.2.3",
846
494
  ngImport: i0,
847
495
  type: ProfileImageCropperModule,
848
496
  imports: [
@@ -858,7 +506,7 @@ var ProfileImageCropperModule = class ProfileImageCropperModule {
858
506
  };
859
507
  i0.ɵɵngDeclareClassMetadata({
860
508
  minVersion: "12.0.0",
861
- version: "22.2.0",
509
+ version: "22.2.3",
862
510
  ngImport: i0,
863
511
  type: ProfileImageCropperModule,
864
512
  decorators: [{
@@ -986,7 +634,7 @@ var ResourceHeaderComponent = class ResourceHeaderComponent extends AppBaseCompo
986
634
  navbarConfig.items = navbarConfig.items ?? [];
987
635
  this.editingNavbar = JSON.parse(JSON.stringify(navbarConfig));
988
636
  try {
989
- const { EditNavbarModalComponent } = await import("./posiwise-utils-edit-navbar-modal.component-BD9hKcnO.mjs");
637
+ const { EditNavbarModalComponent } = await import("./posiwise-utils-edit-navbar-modal.component-BYy7dCnj.mjs");
990
638
  const modalRef = this.modalService.open(EditNavbarModalComponent, {
991
639
  size: "lg",
992
640
  centered: true,
@@ -1031,7 +679,7 @@ var ResourceHeaderComponent = class ResourceHeaderComponent extends AppBaseCompo
1031
679
  static {
1032
680
  this.ɵfac = i0.ɵɵngDeclareFactory({
1033
681
  minVersion: "12.0.0",
1034
- version: "22.2.0",
682
+ version: "22.2.3",
1035
683
  ngImport: i0,
1036
684
  type: ResourceHeaderComponent,
1037
685
  deps: [
@@ -1047,7 +695,7 @@ var ResourceHeaderComponent = class ResourceHeaderComponent extends AppBaseCompo
1047
695
  static {
1048
696
  this.ɵcmp = i0.ɵɵngDeclareComponent({
1049
697
  minVersion: "17.0.0",
1050
- version: "22.2.0",
698
+ version: "22.2.3",
1051
699
  type: ResourceHeaderComponent,
1052
700
  isStandalone: false,
1053
701
  selector: "pw-resource-header",
@@ -1124,7 +772,7 @@ var ResourceHeaderComponent = class ResourceHeaderComponent extends AppBaseCompo
1124
772
  };
1125
773
  i0.ɵɵngDeclareClassMetadata({
1126
774
  minVersion: "12.0.0",
1127
- version: "22.2.0",
775
+ version: "22.2.3",
1128
776
  ngImport: i0,
1129
777
  type: ResourceHeaderComponent,
1130
778
  decorators: [{
@@ -1174,7 +822,7 @@ var ResourceHeaderModule = class ResourceHeaderModule {
1174
822
  static {
1175
823
  this.ɵfac = i0.ɵɵngDeclareFactory({
1176
824
  minVersion: "12.0.0",
1177
- version: "22.2.0",
825
+ version: "22.2.3",
1178
826
  ngImport: i0,
1179
827
  type: ResourceHeaderModule,
1180
828
  deps: [],
@@ -1184,7 +832,7 @@ var ResourceHeaderModule = class ResourceHeaderModule {
1184
832
  static {
1185
833
  this.ɵmod = i0.ɵɵngDeclareNgModule({
1186
834
  minVersion: "14.0.0",
1187
- version: "22.2.0",
835
+ version: "22.2.3",
1188
836
  ngImport: i0,
1189
837
  type: ResourceHeaderModule,
1190
838
  declarations: [ResourceHeaderComponent],
@@ -1206,7 +854,7 @@ var ResourceHeaderModule = class ResourceHeaderModule {
1206
854
  static {
1207
855
  this.ɵinj = i0.ɵɵngDeclareInjector({
1208
856
  minVersion: "12.0.0",
1209
- version: "22.2.0",
857
+ version: "22.2.3",
1210
858
  ngImport: i0,
1211
859
  type: ResourceHeaderModule,
1212
860
  imports: [
@@ -1226,7 +874,7 @@ var ResourceHeaderModule = class ResourceHeaderModule {
1226
874
  };
1227
875
  i0.ɵɵngDeclareClassMetadata({
1228
876
  minVersion: "12.0.0",
1229
- version: "22.2.0",
877
+ version: "22.2.3",
1230
878
  ngImport: i0,
1231
879
  type: ResourceHeaderModule,
1232
880
  decorators: [{
@@ -1253,7 +901,7 @@ var FieldErrorDisplayComponent = class FieldErrorDisplayComponent {
1253
901
  static {
1254
902
  this.ɵfac = i0.ɵɵngDeclareFactory({
1255
903
  minVersion: "12.0.0",
1256
- version: "22.2.0",
904
+ version: "22.2.3",
1257
905
  ngImport: i0,
1258
906
  type: FieldErrorDisplayComponent,
1259
907
  deps: [],
@@ -1263,7 +911,7 @@ var FieldErrorDisplayComponent = class FieldErrorDisplayComponent {
1263
911
  static {
1264
912
  this.ɵcmp = i0.ɵɵngDeclareComponent({
1265
913
  minVersion: "17.0.0",
1266
- version: "22.2.0",
914
+ version: "22.2.3",
1267
915
  type: FieldErrorDisplayComponent,
1268
916
  isStandalone: false,
1269
917
  selector: "pw-field-error-display",
@@ -1278,7 +926,7 @@ var FieldErrorDisplayComponent = class FieldErrorDisplayComponent {
1278
926
  };
1279
927
  i0.ɵɵngDeclareClassMetadata({
1280
928
  minVersion: "12.0.0",
1281
- version: "22.2.0",
929
+ version: "22.2.3",
1282
930
  ngImport: i0,
1283
931
  type: FieldErrorDisplayComponent,
1284
932
  decorators: [{
@@ -1298,7 +946,7 @@ var FieldErrorDisplayModule = class FieldErrorDisplayModule {
1298
946
  static {
1299
947
  this.ɵfac = i0.ɵɵngDeclareFactory({
1300
948
  minVersion: "12.0.0",
1301
- version: "22.2.0",
949
+ version: "22.2.3",
1302
950
  ngImport: i0,
1303
951
  type: FieldErrorDisplayModule,
1304
952
  deps: [],
@@ -1308,7 +956,7 @@ var FieldErrorDisplayModule = class FieldErrorDisplayModule {
1308
956
  static {
1309
957
  this.ɵmod = i0.ɵɵngDeclareNgModule({
1310
958
  minVersion: "14.0.0",
1311
- version: "22.2.0",
959
+ version: "22.2.3",
1312
960
  ngImport: i0,
1313
961
  type: FieldErrorDisplayModule,
1314
962
  declarations: [FieldErrorDisplayComponent],
@@ -1319,7 +967,7 @@ var FieldErrorDisplayModule = class FieldErrorDisplayModule {
1319
967
  static {
1320
968
  this.ɵinj = i0.ɵɵngDeclareInjector({
1321
969
  minVersion: "12.0.0",
1322
- version: "22.2.0",
970
+ version: "22.2.3",
1323
971
  ngImport: i0,
1324
972
  type: FieldErrorDisplayModule,
1325
973
  imports: [CommonModule]
@@ -1328,7 +976,7 @@ var FieldErrorDisplayModule = class FieldErrorDisplayModule {
1328
976
  };
1329
977
  i0.ɵɵngDeclareClassMetadata({
1330
978
  minVersion: "12.0.0",
1331
- version: "22.2.0",
979
+ version: "22.2.3",
1332
980
  ngImport: i0,
1333
981
  type: FieldErrorDisplayModule,
1334
982
  decorators: [{
@@ -1340,6 +988,6 @@ i0.ɵɵngDeclareClassMetadata({
1340
988
  }]
1341
989
  }]
1342
990
  });
1343
- export { CustomUploaderComponent, FieldErrorDisplayComponent, FieldErrorDisplayModule, MatchPassword, PASTED_IMAGE_MESSAGE, PasteGuard, ProfileImageCropperComponent, ProfileImageCropperModule, QuillHelper, ResourceHeaderComponent, ResourceHeaderModule, ValidateForm, appendQueryParam, clearQueryParams, clipboardHasImageFile, handleDateRangeSelection, isEmbeddedImageSrc };
991
+ export { CustomUploaderComponent, FieldErrorDisplayComponent, FieldErrorDisplayModule, MatchPassword, ProfileImageCropperComponent, ProfileImageCropperModule, ResourceHeaderComponent, ResourceHeaderModule, ValidateForm, appendQueryParam, clearQueryParams, handleDateRangeSelection };
1344
992
 
1345
993
  //# sourceMappingURL=posiwise-utils.mjs.map