@cling-se/widget 0.9.31 → 0.9.33

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.
Files changed (119) hide show
  1. package/dist/{AddClientCallout-24d768b3.js → AddClientCallout-5d2a5eaa.js} +5 -5
  2. package/dist/{AnswerModal-dfc7f833.js → AnswerModal-39f81c0e.js} +47 -47
  3. package/dist/{AttachmentItem-488b86dd.js → AttachmentItem-5d900d83.js} +3 -3
  4. package/dist/{BaseDatePicker-e6ccad3a.js → BaseDatePicker-92562106.js} +2 -2
  5. package/dist/{BaseInput-6e56b8d1.js → BaseInput-1c9d9daf.js} +1 -1
  6. package/dist/{BaseUpload-71f1b275.js → BaseUpload-078e4666.js} +2 -2
  7. package/dist/{BlockMedia-c79a4337.js → BlockMedia-4155dbd6.js} +1 -1
  8. package/dist/{CCallout-e3750faa.js → CCallout-46b3d405.js} +2 -2
  9. package/dist/{CDropdownItem-88323f71.js → CDropdownItem-9b1ca709.js} +1 -1
  10. package/dist/{CField-f9bba928.js → CField-d7edf10c.js} +1 -1
  11. package/dist/{CPhoneFormat-cde6dc0e.js → CPhoneFormat-40bd6283.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-7a85b50d.js → CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js} +1 -1
  13. package/dist/{ClientAutocomplete-d2795bd2.js → ClientAutocomplete-a6bb0940.js} +2 -2
  14. package/dist/{ClientModal-d0ea3ce2.js → ClientModal-e5f7b4b8.js} +5 -5
  15. package/dist/{ColorPicker-5d5a1857.js → ColorPicker-c1b32ad5.js} +1 -1
  16. package/dist/{CompanyModal-6c34c20c.js → CompanyModal-977515ec.js} +3 -3
  17. package/dist/{ContentWrapper-2aed29d3.js → ContentWrapper-62f4579f.js} +13 -13
  18. package/dist/{CoverBlockSettings-dcc286e4.js → CoverBlockSettings-7226a5b6.js} +9 -9
  19. package/dist/{DocAnswer-2369f748.js → DocAnswer-245629ec.js} +4 -4
  20. package/dist/{DocDetails-c4a9f60a.js → DocDetails-8172e555.js} +4 -4
  21. package/dist/{DocForm-e363f56b.js → DocForm-3d4d126b.js} +694 -826
  22. package/dist/{DocFormSend-ebae7df3.js → DocFormSend-237ec151.js} +17 -17
  23. package/dist/{DocLinks-0a40f844.js → DocLinks-c807e0dc.js} +2 -2
  24. package/dist/{DocModalBase-19651230.js → DocModalBase-f3267f66.js} +1 -1
  25. package/dist/{DocPrint-3a163086.js → DocPrint-2925c8e3.js} +1 -1
  26. package/dist/{DocReceipt-68653527.js → DocReceipt-ac09c964.js} +1 -1
  27. package/dist/{DocSendReminder-86f5237b.js → DocSendReminder-e1999f4e.js} +1 -1
  28. package/dist/{DocTextEditor-81792d61.js → DocTextEditor-25220c68.js} +8 -8
  29. package/dist/{DocTimeline-6e34b841.js → DocTimeline-5eb73448.js} +1 -1
  30. package/dist/{DocumentClient-12d31ace.js → DocumentClient-321f7941.js} +7 -7
  31. package/dist/{DocumentLayout-b17e31c9.js → DocumentLayout-a798e912.js} +340 -331
  32. package/dist/{DocumentLogotype-4cc9a9ef.js → DocumentLogotype-b87b1b6d.js} +3 -3
  33. package/dist/{DocumentVoided-406c0ad1.js → DocumentVoided-f0601bd6.js} +1 -1
  34. package/dist/{EmbedInput-a0c0c0c4.js → EmbedInput-39a03d94.js} +2 -2
  35. package/dist/{EmbedSettings-615e0b87.js → EmbedSettings-554aac05.js} +3 -3
  36. package/dist/{ErrorCallout-706a3f77.js → ErrorCallout-21273503.js} +1 -1
  37. package/dist/{FilePreviewModal-ecab34c8.js → FilePreviewModal-29a98271.js} +5 -5
  38. package/dist/{Flag-9f5eb788.js → Flag-6e070aa2.js} +1 -1
  39. package/dist/{HeaderSettings-73c0961b.js → HeaderSettings-61efccf5.js} +21 -21
  40. package/dist/{ImageSelectModal-93764b6f.js → ImageSelectModal-fd5cd1d6.js} +8 -8
  41. package/dist/{ImageUploadWrapper-fe99eb8b.js → ImageUploadWrapper-f7f6033b.js} +2 -2
  42. package/dist/{Index-96277fb2.js → Index-2beebe64.js} +6 -6
  43. package/dist/{Index-3a123b4e.js → Index-2ecd6c6a.js} +3 -3
  44. package/dist/{Index-a029c07f.js → Index-30e39d25.js} +4 -4
  45. package/dist/{Index-a2cf77ea.js → Index-3323e160.js} +2 -2
  46. package/dist/{Index-e1897561.js → Index-46f2a6e0.js} +4 -4
  47. package/dist/{Index-acda7892.js → Index-4835bdde.js} +2 -2
  48. package/dist/{Index-672923c9.js → Index-4d3fa8b8.js} +4 -4
  49. package/dist/{Index-44e89aa9.js → Index-524cea65.js} +50 -23
  50. package/dist/{Index-66295846.js → Index-59e57f26.js} +6 -6
  51. package/dist/{Index-3052ab4d.js → Index-617c91c3.js} +1 -1
  52. package/dist/{Index-d42a13b8.js → Index-6a5ee34c.js} +9 -9
  53. package/dist/{Index-825f3a1f.js → Index-727c0770.js} +23 -23
  54. package/dist/{Index-bf0de2df.js → Index-729cd253.js} +14 -14
  55. package/dist/{Index-b1df203d.js → Index-74f5784f.js} +5 -5
  56. package/dist/{Index-50c7ee58.js → Index-7f1f80fa.js} +17 -17
  57. package/dist/{Index-7d7f7e31.js → Index-808af4fd.js} +4 -4
  58. package/dist/{Index-aff3d93a.js → Index-875247ac.js} +5 -5
  59. package/dist/{Index-fda4f71a.js → Index-8920bf5c.js} +4 -4
  60. package/dist/{Index-539987a6.js → Index-8ce025b4.js} +7 -7
  61. package/dist/{Index-08b136bb.js → Index-9311fb23.js} +4 -4
  62. package/dist/{Index-c181220a.js → Index-952af56e.js} +6 -6
  63. package/dist/{Index-88a20cfb.js → Index-afe7a567.js} +2 -2
  64. package/dist/{Index-96d8aa1c.js → Index-b0cddd8a.js} +4 -4
  65. package/dist/{Index-c5c60100.js → Index-c01113d6.js} +2 -2
  66. package/dist/{Index-448c8cfc.js → Index-c1ef9eae.js} +10 -10
  67. package/dist/{Index-6c74f06d.js → Index-c3193bbe.js} +6 -6
  68. package/dist/{Index-da669865.js → Index-cc59098f.js} +2 -2
  69. package/dist/{Index-cc9aec2b.js → Index-d1732510.js} +2 -2
  70. package/dist/{Index-fe25c28e.js → Index-d8d40597.js} +2 -2
  71. package/dist/{Index-efc1cdd2.js → Index-e29b7205.js} +4 -4
  72. package/dist/{Index-ca6bf576.js → Index-e876c053.js} +9 -9
  73. package/dist/{Index-295a1424.js → Index-e903660c.js} +2 -2
  74. package/dist/{Index-d077ee95.js → Index-f1c8a1fd.js} +41 -26
  75. package/dist/{Index-8c09fd91.js → Index-fdbed274.js} +1 -1
  76. package/dist/{InputToggleRow-9bf217c1.js → InputToggleRow-e9ccb4db.js} +1 -1
  77. package/dist/{IsPremiumPreStep-4d92f1ad.js → IsPremiumPreStep-086fdca0.js} +15 -15
  78. package/dist/{ManualPopover-ae1487dd.js → ManualPopover-01700f5a.js} +1 -1
  79. package/dist/{MediaWrapper-2f250f98.js → MediaWrapper-32ca2c1d.js} +3 -3
  80. package/dist/{NotBindingText-9137c52d.js → NotBindingText-fb273710.js} +2 -2
  81. package/dist/{PackageGroup-333b552e.js → PackageGroup-856c8037.js} +12 -12
  82. package/dist/{PdfTerms-1e7aaca6.js → PdfTerms-ec7f5bf0.js} +15 -14
  83. package/dist/PdfViewer-876f73eb.js +251 -0
  84. package/dist/{PlainHtml-c68e93f5.js → PlainHtml-eaf23e90.js} +1 -1
  85. package/dist/{PriceHeader-a2fac138.js → PriceHeader-08162c74.js} +13 -13
  86. package/dist/{SearchApi-006cecf3.js → SearchApi-4e81ff12.js} +2 -2
  87. package/dist/{Setup-2ead963e.js → Setup-d5c66f4b.js} +1 -1
  88. package/dist/{TermsSettings-d9a9fa85.js → TermsSettings-5c9b40f9.js} +7 -7
  89. package/dist/{ThemeColorRow-7b4f4b4a.js → ThemeColorRow-37d6548d.js} +3 -3
  90. package/dist/{ToggleBinding-28de38c5.js → ToggleBinding-cfa1fef2.js} +3 -3
  91. package/dist/{UploadModal-c94c1bf9.js → UploadModal-e1269a45.js} +3 -3
  92. package/dist/{VideoPlayerInput-6ca13120.js → VideoPlayerInput-675640a9.js} +3 -3
  93. package/dist/{VideoPlayerSettings-694de911.js → VideoPlayerSettings-0d68de0a.js} +4 -4
  94. package/dist/{VideoSelectModal-43179837.js → VideoSelectModal-29619ddc.js} +8 -8
  95. package/dist/{answerDocumentMixin-258ef50d.js → answerDocumentMixin-7c88a039.js} +3 -3
  96. package/dist/{debounce-6e758807.js → debounce-a8a2e7ca.js} +8 -8
  97. package/dist/{focusDrawerMixin-c7716b11.js → focusDrawerMixin-903d1bdd.js} +1 -1
  98. package/dist/{formComponentsInstall-d835efd9.js → formComponentsInstall-286a0acd.js} +12 -12
  99. package/dist/{formDrawerState-66d10543.js → formDrawerState-e034a6ab.js} +1 -1
  100. package/dist/{formValidationMixin-c174cfae.js → formValidationMixin-76dd5928.js} +1 -1
  101. package/dist/{index-8ffa8672.js → index-01421a50.js} +5 -5
  102. package/dist/{index-cb1bc377.js → index-4a052f26.js} +1 -1
  103. package/dist/{index-91f074e6.js → index-5363165d.js} +13 -13
  104. package/dist/{index-a6f6eb93.js → index-563cfa1e.js} +1 -1
  105. package/dist/{index-bae2f40c.js → index-5827c622.js} +1 -1
  106. package/dist/{index-34dbf888.js → index-61ba0ac0.js} +3 -3
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +149 -157
  109. package/dist/{main-4b1b8c72.js → main-d803b876.js} +10708 -10908
  110. package/dist/{mapFormMixin-448a5950.js → mapFormMixin-0583565b.js} +1 -1
  111. package/dist/{publicSenderState-62b7a4e1.js → publicSenderState-b62d76e3.js} +1 -1
  112. package/dist/style.css +2 -2
  113. package/dist/{throttle-635ffdd0.js → throttle-a8b2f0e5.js} +2 -2
  114. package/dist/{tinycolor-e4cbccbe.js → tinycolor-dffe2bfd.js} +1 -1
  115. package/dist/{tippy.esm-c08ce12b.js → tippy.esm-7bfd5b54.js} +5 -5
  116. package/dist/{utils-c123fce7.js → utils-9a1bdd7a.js} +1 -1
  117. package/dist/{vuedraggable.umd-258fba93.js → vuedraggable.umd-a5100bc8.js} +1 -1
  118. package/package.json +4 -4
  119. package/dist/PdfViewer-ff32350f.js +0 -245
@@ -1,5 +1,5 @@
1
- import { j as n, k as l } from "./main-4b1b8c72.js";
2
- import { a as o } from "./debounce-6e758807.js";
1
+ import { j as n, k as l } from "./main-d803b876.js";
2
+ import { a as o } from "./debounce-a8a2e7ca.js";
3
3
  var g = o, c = l, f = "Expected a function";
4
4
  function u(a, i, t) {
5
5
  var r = !0, e = !0;
@@ -1,4 +1,4 @@
1
- import { j as he } from "./main-4b1b8c72.js";
1
+ import { j as he } from "./main-d803b876.js";
2
2
  var N = { exports: {} };
3
3
  (function(R) {
4
4
  (function(c) {
@@ -1,8 +1,8 @@
1
- import { C as mr } from "./ColorPicker-5d5a1857.js";
2
- import { F as hr } from "./DocumentLayout-b17e31c9.js";
3
- import { C as gr, a as yr } from "./CDropdownItem-88323f71.js";
4
- import { n as Wt, s as br, a$ as Ct } from "./main-4b1b8c72.js";
5
- import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-7a85b50d.js";
1
+ import { C as mr } from "./ColorPicker-c1b32ad5.js";
2
+ import { F as hr } from "./DocumentLayout-a798e912.js";
3
+ import { C as gr, a as yr } from "./CDropdownItem-9b1ca709.js";
4
+ import { n as Wt, t as br, a$ as Ct } from "./main-d803b876.js";
5
+ import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js";
6
6
  const xr = {
7
7
  AED: "United Arab Emirates Dirham",
8
8
  AFN: "Afghan Afghani",
@@ -1,4 +1,4 @@
1
- import { l as d, c as m } from "./main-4b1b8c72.js";
1
+ import { o as d, c as m } from "./main-d803b876.js";
2
2
  const s = {
3
3
  youtube: {
4
4
  reg: /^(?:https?:\/\/)?(?:(?:www|m)\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((?:\w|-){11})(?:\S+)?$/,
@@ -1,4 +1,4 @@
1
- import { $ as rn, a0 as on, j as We, a1 as an, a2 as sn, a3 as ln, a4 as un, a5 as fn, a6 as cn, a7 as dn, Z as hn } from "./main-4b1b8c72.js";
1
+ import { $ as rn, a0 as on, j as We, a1 as an, a2 as sn, a3 as ln, a4 as un, a5 as fn, a6 as cn, a7 as dn, Z as hn } from "./main-d803b876.js";
2
2
  var pn = rn;
3
3
  function gn(o) {
4
4
  return pn(o) ? void 0 : o;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cling-se/widget",
3
- "version": "0.9.31",
3
+ "version": "0.9.33",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
@@ -17,15 +17,15 @@
17
17
  "dependencies": {
18
18
  "@cling-se/v-tooltip-root-node": "^0.1.3",
19
19
  "@tiptap/core": "^2.0.0-beta.199",
20
- "axios": "1.4.0",
20
+ "axios": "1.6.2",
21
21
  "date-fns": "2.14.0",
22
22
  "deepmerge": "4.2.2",
23
23
  "dinero.js": "1.9.1",
24
24
  "i18next": "19.4.4",
25
25
  "i18next-browser-languagedetector": "4.2.0",
26
26
  "json-logic-js": "2.0.2",
27
- "liquidjs": "9.41.0",
28
- "lodash": "4.17.14",
27
+ "liquidjs": "10.9.4",
28
+ "lodash": "4.17.21",
29
29
  "normalizr": "3.6.2",
30
30
  "portal-vue": "^2.1.7",
31
31
  "simplebar": "5.2.0",
@@ -1,245 +0,0 @@
1
- import { n as u, Q as g } from "./main-4b1b8c72.js";
2
- import { e as d } from "./dom-962579a6.js";
3
- import { W as m } from "./DocumentLayout-b17e31c9.js";
4
- let o, l, f, c, p;
5
- function w(e) {
6
- return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
7
- }
8
- const _ = {
9
- name: "PdfPage",
10
- props: {
11
- src: {
12
- type: [String, Object, Promise],
13
- default: ""
14
- },
15
- page: {
16
- type: Number,
17
- default: 1
18
- },
19
- rotate: {
20
- type: Number,
21
- default: 0
22
- },
23
- scale: {
24
- type: [Number, String],
25
- default: "page-width"
26
- },
27
- resize: {
28
- type: Boolean,
29
- default: !0
30
- },
31
- text: {
32
- type: Boolean,
33
- default: !0
34
- },
35
- pdfLoadingTask: {
36
- type: Promise,
37
- required: !0
38
- },
39
- containerClass: {
40
- type: [Array, String],
41
- default: ""
42
- }
43
- },
44
- components: {
45
- WithDimensions: m
46
- },
47
- data() {
48
- return {
49
- internalSrc: this.src,
50
- pdf: null,
51
- pdfViewer: null,
52
- loading: !0
53
- };
54
- },
55
- watch: {
56
- pdf(e) {
57
- const t = e.pdfInfo || e._pdfInfo;
58
- this.$emit("numpages", t.numPages);
59
- },
60
- page(e) {
61
- this.pdf.getPage(e).then((t) => {
62
- this.pdfViewer.setPdfPage(t), this.pdfViewer.draw();
63
- });
64
- },
65
- scale(e) {
66
- this.drawScaled(e);
67
- },
68
- rotate(e) {
69
- this.pdfViewer && (this.pdfViewer.update({ scale: this.scale, rotation: e }), this.pdfViewer.draw());
70
- }
71
- },
72
- mounted() {
73
- o = window.pdfjsViewer.DefaultTextLayerFactory, l = window.pdfjsViewer.PDFFindController, f = window.pdfjsViewer.PDFLinkService, c = window.pdfjsViewer.PDFPageView, p = window.pdfjsViewer.EventBus, this.init();
74
- },
75
- beforeDestroy() {
76
- this.pdfViewer && (this.pdfViewer.destroy(), this.pdfViewer = null);
77
- },
78
- methods: {
79
- init() {
80
- w(this.internalSrc) || (this.internalSrc = this.pdfLoadingTask, this.$emit("loading", !0));
81
- const e = this.$refs.container, t = new p();
82
- t.on("pagerendered", (i) => {
83
- this.$emit("pagerendered", i);
84
- }), this.pdfLinkService = new f({
85
- eventBus: t,
86
- externalLinkTarget: 2
87
- }), this.pdfFindController = new l({
88
- eventBus: t,
89
- linkService: this.pdfLinkService
90
- });
91
- let s;
92
- this.text && (s = new o()), this.internalSrc.then((i) => (this.pdf = i, i.getPage(this.page))).then((i) => {
93
- this.pdfViewer = new c({
94
- container: e,
95
- id: this.page,
96
- scale: 1,
97
- defaultViewport: i.getViewport({
98
- scale: 1
99
- }),
100
- eventBus: t,
101
- textLayerFactory: s
102
- }), this.pdfViewer.setPdfPage(i);
103
- const r = {
104
- scrollPageIntoView: (h) => {
105
- this.$emit("link-clicked", h);
106
- }
107
- };
108
- return this.pdfLinkService.setDocument(this.pdf), this.pdfLinkService.setViewer(r), this.pdfFindController.setDocument(this.pdf), this.drawScaled(this.scale);
109
- }).catch((i) => {
110
- this.$emit("error", i), this.loading = !1, this.$emit("loading", !1);
111
- });
112
- },
113
- calculateScale(e = -1, t = -1) {
114
- return this.pdfViewer.update({ scale: 1, rotation: this.rotate }), e === -1 && t === -1 && (e = this.$refs.container.offsetWidth), e / this.pdfViewer.viewport.width;
115
- },
116
- calculateScaleHeight() {
117
- this.pdfViewer.update({ scale: 1, rotation: this.rotate });
118
- var e = this.$refs.container.offsetHeight, t = this.$refs.container.parentElement.parentElement;
119
- return t.offsetHeight / e;
120
- },
121
- async drawScaled(e) {
122
- this.pdfViewer && (e === "page-width" ? (e = this.calculateScale(), this.$emit("update:scale", e)) : e === "page-height" && (e = this.calculateScaleHeight(), this.$emit("update:scale", e)), this.pdfViewer.update({ scale: e, rotation: this.rotate }), await this.pdfViewer.draw(), this.text && (this.pdfViewer.textLayer.findController = this.pdfFindController), this.loading = !1, this.$emit("loading", !1));
123
- },
124
- resizeScale() {
125
- this.resize && this.drawScaled("page-width");
126
- }
127
- }
128
- };
129
- var P = function() {
130
- var t = this, s = t._self._c;
131
- return s("div", [t.loading ? t._t("loading") : t._e(), s("WithDimensions", { on: { resize: t.resizeScale } }, [s("div", { ref: "container", staticClass: "pdfViewer", class: t.containerClass })])], 2);
132
- }, v = [], y = /* @__PURE__ */ u(
133
- _,
134
- P,
135
- v,
136
- !1,
137
- null,
138
- null,
139
- null,
140
- null
141
- );
142
- const V = y.exports, a = new g();
143
- function k(e, t) {
144
- let s;
145
- if (typeof e == "string")
146
- s = {
147
- url: e
148
- };
149
- else if (typeof e == "object" && e !== null)
150
- s = { ...e };
151
- else
152
- throw new TypeError("invalid src type");
153
- const i = window.pdfjsLib.getDocument(s).promise;
154
- return i.__PDFDocumentLoadingTask = !0, t && t.onPassword && (i.onPassword = t.onPassword), t && t.onProgress && (i.onProgress = t.onProgress), i;
155
- }
156
- const n = {
157
- add(e) {
158
- a.trigger("add", e);
159
- },
160
- remove(e) {
161
- a.trigger("remove", e);
162
- },
163
- onAdd(e) {
164
- a.on("add", e);
165
- },
166
- onRemove(e) {
167
- a.on("remove", e);
168
- }
169
- }, L = {
170
- props: {
171
- src: {
172
- type: String,
173
- default: null
174
- }
175
- },
176
- components: {
177
- VuePdf: V
178
- },
179
- inject: {
180
- isPdf: {
181
- default: !1
182
- }
183
- },
184
- data() {
185
- return {
186
- numPages: void 0,
187
- pdfLoadingTask: null,
188
- hasLoadedScripts: !1,
189
- loading: !1,
190
- pdfRenderBus: n
191
- };
192
- },
193
- created() {
194
- n.add(this._uid);
195
- },
196
- watch: {
197
- src: {
198
- immediate: !0,
199
- async handler(e) {
200
- this.hasLoadedScripts || (await d(
201
- "https://unpkg.com/pdfjs-dist@3.0.279/build/pdf.min.js"
202
- ), await d(
203
- "https://unpkg.com/pdfjs-dist@3.0.279/web/pdf_viewer.js"
204
- ), window.pdfjsLib.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@3.0.279/build/pdf.worker.min.js", this.hasLoadedScripts = !0), this.setPdf(e);
205
- }
206
- }
207
- },
208
- methods: {
209
- createLoadingTask: k,
210
- async setPdf(e) {
211
- e && (this.loading = !0, this.pdfLoadingTask = this.createLoadingTask(e), this.$nextTick(() => {
212
- this.pdfLoadingTask.then((t) => {
213
- this.loading = !1, this.numPages = t.numPages, this.$emit("numPages", t.numPages), this.$emit("rendered"), n.remove(this._uid);
214
- });
215
- }));
216
- }
217
- }
218
- };
219
- var $ = function() {
220
- var t = this, s = t._self._c;
221
- return s("div", { key: t.src }, [t.loading ? s("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center" }, [s("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : t._e(), t._l(t.numPages, function(i) {
222
- return s("VuePdf", t._b({ key: i, ref: "vuePdf", refInFor: !0, attrs: { page: i, "container-class": t.isPdf ? "" : "mb-4 shadow-[0_2px_4px_hsla(0,0%,0%,0.25)]" }, on: { "hook:created": function(r) {
223
- return t.pdfRenderBus.add(`${t._uid}-${i}`);
224
- }, loading: (r) => r ? null : t.pdfRenderBus.remove(`${t._uid}-${i}`) } }, "VuePdf", {
225
- ...t.$attrs,
226
- ...t.$props,
227
- pdfLoadingTask: t.pdfLoadingTask
228
- }, !1), [t._t("loading", function() {
229
- return [s("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center", attrs: { slot: "loading" }, slot: "loading" }, [s("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
230
- })], 2);
231
- })], 2);
232
- }, S = [], b = /* @__PURE__ */ u(
233
- L,
234
- $,
235
- S,
236
- !1,
237
- null,
238
- null,
239
- null,
240
- null
241
- );
242
- const T = b.exports;
243
- export {
244
- T as V
245
- };