@cling-se/widget 0.9.23 → 0.9.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-49655a64.js → AddClientCallout-b8390699.js} +5 -5
- package/dist/{AnswerModal-6f4004e1.js → AnswerModal-87be4c0b.js} +84 -27
- package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-24ad77d3.js} +7 -5
- package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-5a89a264.js} +1 -1
- package/dist/{BaseInput-e14e8b12.js → BaseInput-f180db14.js} +6 -2
- package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-529d21bb.js} +28 -11
- package/dist/{BlockMedia-b49a63f3.js → BlockMedia-93ee8699.js} +5 -3
- package/dist/{CCallout-baeb732f.js → CCallout-1c3a4b40.js} +6 -9
- package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-109be2e2.js} +3 -3
- package/dist/{CField-c10f5951.js → CField-d2390b15.js} +18 -4
- package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-570a91d9.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-49fcd521.js} +4 -2
- package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-ee0b54d5.js} +3 -3
- package/dist/{ClientModal-b94206f4.js → ClientModal-dc178083.js} +34 -19
- package/dist/{ColorPicker-b5a7f700.js → ColorPicker-94e3b1d4.js} +2 -2
- package/dist/{CompanyModal-c47e7c55.js → CompanyModal-6ef7dcdc.js} +8 -5
- package/dist/{ContentWrapper-8293109f.js → ContentWrapper-95159ca6.js} +40 -27
- package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-647e6b18.js} +49 -34
- package/dist/{DocAnswer-75f53dd5.js → DocAnswer-299edc71.js} +4 -4
- package/dist/{DocDetails-1bdecff4.js → DocDetails-c740d0a6.js} +71 -46
- package/dist/{DocForm-263bac20.js → DocForm-42c0c67c.js} +515 -291
- package/dist/{DocFormSend-5b098ca6.js → DocFormSend-1f9c446f.js} +18 -18
- package/dist/{DocLinks-500b61b0.js → DocLinks-2c63c0dc.js} +2 -2
- package/dist/{DocModalBase-b64e792b.js → DocModalBase-62c42e04.js} +4 -4
- package/dist/{DocPrint-555475c6.js → DocPrint-cea9de40.js} +2 -2
- package/dist/{DocReceipt-5a393f79.js → DocReceipt-61b17b52.js} +33 -10
- package/dist/{DocSendReminder-8d875174.js → DocSendReminder-d69f4a3f.js} +30 -5
- package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-e6008feb.js} +86 -37
- package/dist/{DocTimeline-0273acd1.js → DocTimeline-480b7adf.js} +11 -2
- package/dist/{DocumentClient-342454c2.js → DocumentClient-6e36a622.js} +7 -7
- package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-81ae175c.js} +31 -11
- package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-dea21bad.js} +8 -8
- package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-1b3a2ab5.js} +1 -1
- package/dist/{EmbedInput-19362c0b.js → EmbedInput-fbbf12f1.js} +2 -2
- package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-1063c1e4.js} +7 -7
- package/dist/ErrorCallout-82e50910.js +30 -0
- package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-dc188de1.js} +6 -6
- package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-663e5b4f.js} +65 -63
- package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-a76f7e4b.js} +27 -27
- package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-1c6f0ae4.js} +11 -5
- package/dist/{Index-468190f0.js → Index-0078c287.js} +15 -15
- package/dist/{Index-5093d646.js → Index-0428c10a.js} +2 -2
- package/dist/{Index-29147f73.js → Index-0a6802ca.js} +51 -43
- package/dist/{Index-4c78a308.js → Index-12f4ded1.js} +24 -17
- package/dist/{Index-a79cd9b6.js → Index-18c5bc6b.js} +6 -6
- package/dist/{Index-bf2ed6a3.js → Index-1914be9d.js} +3 -3
- package/dist/{Index-8ef32146.js → Index-2c3b5b59.js} +20 -16
- package/dist/{Index-d6635896.js → Index-3f3c03a0.js} +20 -16
- package/dist/{Index-0eb9d45b.js → Index-4b1074d0.js} +13 -9
- package/dist/{Index-7fe05fe5.js → Index-58ee00b1.js} +3 -3
- package/dist/{Index-d60eb16f.js → Index-5a61849b.js} +32 -20
- package/dist/{Index-4df3c1d2.js → Index-5fc2d521.js} +300 -147
- package/dist/{Index-b66d1e1a.js → Index-6fe85402.js} +4 -4
- package/dist/Index-7c14fd96.js +28 -0
- package/dist/{Index-64236029.js → Index-81c49dd8.js} +6 -9
- package/dist/{Index-96725e56.js → Index-90cc1544.js} +7 -7
- package/dist/{Index-843f81bd.js → Index-98237ab3.js} +17 -12
- package/dist/{Index-f640eb29.js → Index-a7e8812e.js} +2 -2
- package/dist/{Index-630c21f5.js → Index-ad36c47b.js} +13 -11
- package/dist/{Index-e813c8cd.js → Index-aea14240.js} +2 -2
- package/dist/{Index-0f2bf3b1.js → Index-b1f07b87.js} +13 -13
- package/dist/{Index-c89d17d9.js → Index-b457cd00.js} +17 -17
- package/dist/{Index-12a6485f.js → Index-c0dd3309.js} +3 -3
- package/dist/{Index-aad34e7e.js → Index-c1b546ad.js} +13 -15
- package/dist/{Index-7c60cb32.js → Index-c1b73537.js} +56 -31
- package/dist/{Index-dbeaf863.js → Index-c2ded827.js} +9 -10
- package/dist/{Index-a3ee21e6.js → Index-ca9d1747.js} +4 -4
- package/dist/{Index-a36c3418.js → Index-cb5b055d.js} +2 -2
- package/dist/{Index-9afa091c.js → Index-cea034a9.js} +13 -11
- package/dist/{Index-7dec77f5.js → Index-e63f7ce8.js} +21 -18
- package/dist/{Index-bb62e92d.js → Index-f05733c2.js} +22 -27
- package/dist/{Index-16155aba.js → Index-f62acccc.js} +7 -7
- package/dist/{Index-bf0e9351.js → Index-f9bbee77.js} +2 -2
- package/dist/{Index-0b1a9238.js → Index-ffedf35a.js} +4 -4
- package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-176f3685.js} +4 -4
- package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f3040c7a.js} +81 -36
- package/dist/{ManualPopover-58c3f059.js → ManualPopover-b7c65a0c.js} +5 -2
- package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-d1f91245.js} +3 -3
- package/dist/{NotBindingText-38e6e74c.js → NotBindingText-00d1b175.js} +2 -2
- package/dist/{PackageGroup-6e6dd719.js → PackageGroup-89033998.js} +184 -69
- package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-0e214875.js} +8 -8
- package/dist/{PdfViewer-991eb731.js → PdfViewer-00d4de8d.js} +2 -2
- package/dist/{PlainHtml-4aaf6438.js → PlainHtml-00ce6fd0.js} +1 -1
- package/dist/{PriceHeader-f3e7b525.js → PriceHeader-553f4ff0.js} +48 -32
- package/dist/{SearchApi-2523a5fb.js → SearchApi-e5cde5cf.js} +40 -20
- package/dist/{Setup-2849b519.js → Setup-7f309cf0.js} +1 -1
- package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-74d7c2d9.js} +11 -11
- package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-0b7ad102.js} +4 -4
- package/dist/{ToggleBinding-7c726915.js → ToggleBinding-33b62557.js} +3 -3
- package/dist/{UploadModal-814fc3af.js → UploadModal-6f43c373.js} +16 -14
- package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-81e64059.js} +3 -3
- package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-f3445401.js} +5 -5
- package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-736176ac.js} +32 -36
- package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-0b94b90e.js} +3 -3
- package/dist/{debounce-0451fa9d.js → debounce-9410d5d6.js} +1 -1
- package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-14a97cd3.js} +1 -1
- package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-6a61db21.js} +210 -168
- package/dist/{formDrawerState-6c57d51e.js → formDrawerState-b23639bd.js} +1 -1
- package/dist/{formValidationMixin-7603171e.js → formValidationMixin-047668c3.js} +1 -1
- package/dist/{image-58c45661.js → image-cd324ded.js} +1 -1
- package/dist/{index-47e427b4.js → index-22c9f370.js} +8 -6
- package/dist/{index-b20167b3.js → index-3003bff6.js} +4 -4
- package/dist/{index-cf014fd4.js → index-569793de.js} +2 -2
- package/dist/{index-0c493549.js → index-a62beb97.js} +17 -9
- package/dist/{index-4afc771b.js → index-ad0c2be7.js} +1 -1
- package/dist/{index-c0b45aa7.js → index-b937c6d2.js} +12 -12
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +96 -67
- package/dist/{main-8d566a02.js → main-4f27b552.js} +137 -80
- package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-9f326a09.js} +1 -1
- package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-ec8a9ad6.js} +1 -1
- package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-c555666e.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-e04cc32f.js → template-70f4518f.js} +7 -7
- package/dist/{throttle-b0a5ba09.js → throttle-a0a6c1c7.js} +2 -2
- package/dist/{tinycolor-c6f29f33.js → tinycolor-2fdfb0b3.js} +1 -1
- package/dist/{tippy.esm-2cb937d0.js → tippy.esm-e8cf7685.js} +8 -8
- package/dist/{utils-36338df7.js → utils-805171cf.js} +1 -1
- package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-79e4b33e.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-4ce34a95.js +0 -30
- package/dist/Index-66295ea9.js +0 -28
|
@@ -7126,6 +7126,7 @@ const Gp = ["start", "base", "pro"], cr = {
|
|
|
7126
7126
|
},
|
|
7127
7127
|
notifications: {
|
|
7128
7128
|
viewed: "Få notifikation och e-post när kund öppnat offert / avtal",
|
|
7129
|
+
acceptedSendEmail: "Få e-post när kund godkänt ett dokument",
|
|
7129
7130
|
acceptedSendSms: "Få SMS när kund godkänt ett dokument",
|
|
7130
7131
|
getCopyAll: "Få kopia på alla användarens notifikationer",
|
|
7131
7132
|
semiSigned: "Få notifikation och e-post när ett dokument blir delsignerat",
|
|
@@ -9983,6 +9984,7 @@ För att underlätta din ansökan om avdrag så behöver {{company.name}} din fa
|
|
|
9983
9984
|
},
|
|
9984
9985
|
notifications: {
|
|
9985
9986
|
viewed: "Receive notification and email when client opens a document",
|
|
9987
|
+
acceptedSendEmail: "Receive email when a client accepts a document",
|
|
9986
9988
|
acceptedSendSms: "Receive a text message when a client accepts a document",
|
|
9987
9989
|
getCopyAll: "Receive a copy of all my teammates notifications",
|
|
9988
9990
|
semiSigned: "Receive notification and email when a document is partially accepted",
|
|
@@ -27562,7 +27564,7 @@ const HQ = [
|
|
|
27562
27564
|
{
|
|
27563
27565
|
name: "form",
|
|
27564
27566
|
path: "/form",
|
|
27565
|
-
component: () => import("./DocForm-
|
|
27567
|
+
component: () => import("./DocForm-42c0c67c.js"),
|
|
27566
27568
|
props: !0,
|
|
27567
27569
|
meta: {
|
|
27568
27570
|
mode: "modal",
|
|
@@ -27574,7 +27576,7 @@ const HQ = [
|
|
|
27574
27576
|
{
|
|
27575
27577
|
name: "document",
|
|
27576
27578
|
path: "/document",
|
|
27577
|
-
component: () => import("./DocumentLayout-
|
|
27579
|
+
component: () => import("./DocumentLayout-81ae175c.js").then((e) => e.c),
|
|
27578
27580
|
props: !0,
|
|
27579
27581
|
meta: {
|
|
27580
27582
|
mode: "modal",
|
|
@@ -27587,7 +27589,7 @@ const HQ = [
|
|
|
27587
27589
|
{
|
|
27588
27590
|
name: "send",
|
|
27589
27591
|
path: "/send",
|
|
27590
|
-
component: () => import("./DocFormSend-
|
|
27592
|
+
component: () => import("./DocFormSend-1f9c446f.js"),
|
|
27591
27593
|
props: !0,
|
|
27592
27594
|
meta: {
|
|
27593
27595
|
mode: "drawer",
|
|
@@ -27599,7 +27601,7 @@ const HQ = [
|
|
|
27599
27601
|
{
|
|
27600
27602
|
name: "print",
|
|
27601
27603
|
path: "/print",
|
|
27602
|
-
component: () => import("./DocPrint-
|
|
27604
|
+
component: () => import("./DocPrint-cea9de40.js"),
|
|
27603
27605
|
props: !0,
|
|
27604
27606
|
meta: {
|
|
27605
27607
|
mode: "modal",
|
|
@@ -27610,7 +27612,7 @@ const HQ = [
|
|
|
27610
27612
|
{
|
|
27611
27613
|
name: "sendReminder",
|
|
27612
27614
|
path: "/sendReminder",
|
|
27613
|
-
component: () => import("./DocSendReminder-
|
|
27615
|
+
component: () => import("./DocSendReminder-d69f4a3f.js"),
|
|
27614
27616
|
props: !0,
|
|
27615
27617
|
meta: {
|
|
27616
27618
|
mode: "modal",
|
|
@@ -27621,7 +27623,7 @@ const HQ = [
|
|
|
27621
27623
|
{
|
|
27622
27624
|
name: "timeline",
|
|
27623
27625
|
path: "/timeline",
|
|
27624
|
-
component: () => import("./DocTimeline-
|
|
27626
|
+
component: () => import("./DocTimeline-480b7adf.js"),
|
|
27625
27627
|
props: !0,
|
|
27626
27628
|
meta: {
|
|
27627
27629
|
mode: "modal",
|
|
@@ -27631,7 +27633,7 @@ const HQ = [
|
|
|
27631
27633
|
{
|
|
27632
27634
|
name: "receipt",
|
|
27633
27635
|
path: "/receipt",
|
|
27634
|
-
component: () => import("./DocReceipt-
|
|
27636
|
+
component: () => import("./DocReceipt-61b17b52.js"),
|
|
27635
27637
|
props: !0,
|
|
27636
27638
|
meta: {
|
|
27637
27639
|
mode: "modal",
|
|
@@ -27641,7 +27643,7 @@ const HQ = [
|
|
|
27641
27643
|
{
|
|
27642
27644
|
name: "clientLinks",
|
|
27643
27645
|
path: "/clientLinks",
|
|
27644
|
-
component: () => import("./DocLinks-
|
|
27646
|
+
component: () => import("./DocLinks-2c63c0dc.js"),
|
|
27645
27647
|
props: !0,
|
|
27646
27648
|
meta: {
|
|
27647
27649
|
mode: "modal",
|
|
@@ -27651,7 +27653,7 @@ const HQ = [
|
|
|
27651
27653
|
{
|
|
27652
27654
|
name: "documentClient",
|
|
27653
27655
|
path: "/documentClient",
|
|
27654
|
-
component: () => import("./DocumentClient-
|
|
27656
|
+
component: () => import("./DocumentClient-6e36a622.js"),
|
|
27655
27657
|
props: !0,
|
|
27656
27658
|
meta: {
|
|
27657
27659
|
mode: "modal",
|
|
@@ -27663,7 +27665,7 @@ const HQ = [
|
|
|
27663
27665
|
{
|
|
27664
27666
|
name: "setup",
|
|
27665
27667
|
path: "/setup",
|
|
27666
|
-
component: () => import("./Setup-
|
|
27668
|
+
component: () => import("./Setup-7f309cf0.js"),
|
|
27667
27669
|
props: !0,
|
|
27668
27670
|
meta: {
|
|
27669
27671
|
mode: "modal",
|
|
@@ -27675,7 +27677,7 @@ const HQ = [
|
|
|
27675
27677
|
{
|
|
27676
27678
|
name: "docAnswer",
|
|
27677
27679
|
path: "/docAnswer",
|
|
27678
|
-
component: () => import("./DocAnswer-
|
|
27680
|
+
component: () => import("./DocAnswer-299edc71.js"),
|
|
27679
27681
|
props: !0,
|
|
27680
27682
|
meta: {
|
|
27681
27683
|
mode: "modal",
|
|
@@ -27686,7 +27688,7 @@ const HQ = [
|
|
|
27686
27688
|
{
|
|
27687
27689
|
name: "docDetails",
|
|
27688
27690
|
path: "/docDetails",
|
|
27689
|
-
component: () => import("./DocDetails-
|
|
27691
|
+
component: () => import("./DocDetails-c740d0a6.js"),
|
|
27690
27692
|
props: !0,
|
|
27691
27693
|
meta: {
|
|
27692
27694
|
mode: "drawer",
|
|
@@ -27742,13 +27744,12 @@ const _n = new vt({
|
|
|
27742
27744
|
this._openViews.push(i), Vt.trigger("ui:open", { key: e, view: t, mode: r });
|
|
27743
27745
|
},
|
|
27744
27746
|
removeView({ key: e, view: t, mode: r }) {
|
|
27745
|
-
var i;
|
|
27746
27747
|
const n = this._openViews.findIndex(
|
|
27747
|
-
(
|
|
27748
|
+
(i) => i.key === e && i.mode === r && i.view === t
|
|
27748
27749
|
);
|
|
27749
27750
|
if (r === "mount") {
|
|
27750
|
-
const
|
|
27751
|
-
|
|
27751
|
+
const i = document.getElementById(`${e}-${r}-${t}`);
|
|
27752
|
+
i && (i.textContent = "");
|
|
27752
27753
|
}
|
|
27753
27754
|
n > -1 && this._openViews.splice(n, 1), ["modal", "drawer"].includes(r) && _n.push("/"), Vt.trigger("ui:close", { key: e, mode: r, view: t });
|
|
27754
27755
|
},
|
|
@@ -28228,7 +28229,7 @@ const Gte = (e, { renewToken: t }) => {
|
|
|
28228
28229
|
// allow API to store cookie
|
|
28229
28230
|
paramsSerializer: (d) => Hte(d)
|
|
28230
28231
|
});
|
|
28231
|
-
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.
|
|
28232
|
+
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.25";
|
|
28232
28233
|
const i = async (d, p, h = null, f = {}) => {
|
|
28233
28234
|
const m = p.startsWith("/public/"), g = Ce.getItem("token");
|
|
28234
28235
|
switch (g && !m && (n.defaults.headers["X-TOKEN"] = g), d) {
|
|
@@ -30683,7 +30684,7 @@ const a$ = Te.rollbar.clientToken, iy = new ine({
|
|
|
30683
30684
|
client: {
|
|
30684
30685
|
javascript: {
|
|
30685
30686
|
// eslint-disable-next-line
|
|
30686
|
-
code_version: "0.9.
|
|
30687
|
+
code_version: "0.9.25",
|
|
30687
30688
|
// Git SHA of the deployed code (from webpack plugin)
|
|
30688
30689
|
source_map_enabled: !0,
|
|
30689
30690
|
guess_uncaught_frames: !0
|
|
@@ -30920,7 +30921,7 @@ var vne = function(t, r) {
|
|
|
30920
30921
|
yne,
|
|
30921
30922
|
!0,
|
|
30922
30923
|
null,
|
|
30923
|
-
"
|
|
30924
|
+
"c4dd8c6e",
|
|
30924
30925
|
null,
|
|
30925
30926
|
null
|
|
30926
30927
|
);
|
|
@@ -31003,7 +31004,9 @@ var Ene = function() {
|
|
|
31003
31004
|
"bg-green-600": t.notification.type === "success",
|
|
31004
31005
|
"bg-red-500": t.notification.type === "error",
|
|
31005
31006
|
"bg-orange-600": t.notification.type === "warning",
|
|
31006
|
-
"bg-primary-500": !["success", "error", "warning"].includes(
|
|
31007
|
+
"bg-primary-500": !["success", "error", "warning"].includes(
|
|
31008
|
+
t.notification.type
|
|
31009
|
+
)
|
|
31007
31010
|
}
|
|
31008
31011
|
], staticStyle: { "max-width": "calc(100% - calc(2 * var(--rem)))" }, on: { "mouse-over": t.onMouseOver, "mouse-leave": t.onMouseOut } }, [r("div", { staticClass: "block mt-px mr-3 font-semibold" }, [t.notification.type === "success" ? r("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [r("path", { attrs: { d: "M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3" } })]) : t.notification.type === "error" ? r("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [r("polygon", { attrs: { points: "7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2" } }), r("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "12" } }), r("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "16" } })]) : t.notification.type === "warning" ? r("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [r("path", { attrs: { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" } }), r("line", { attrs: { x1: "12", y1: "9", x2: "12", y2: "13" } }), r("line", { attrs: { x1: "12", y1: "17", x2: "12", y2: "17" } })]) : ["spinner", "countdown"].includes(t.notification.type) ? r("Spinner", { attrs: { size: "18px", color: "white", "stroke-width": 8 } }) : r("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [r("path", { attrs: { d: "M22 17H2a3 3 0 0 0 3-3V9a7 7 0 0 1 14 0v5a3 3 0 0 0 3 3zm-8.27 4a2 2 0 0 1-3.46 0" } })])], 1), r("div", { staticClass: "flex-auto text-sm" }, [t._v(" " + t._s(t.notification.message) + " ")]), t.notification.type === "countdown" ? r("div", { staticClass: "ml-5 font-medium countdown-text" }, [t._v(" " + t._s(t.$t("time.secondsLeft", { time: t.displayTimer })) + " ")]) : t._e(), Object.keys(t.notification.actions || {}).length ? r("div", { staticClass: "w-4" }) : t._e(), t.notification.actions && t.notification.actions.submit ? r("div", { staticClass: "px-3 py-2 ml-1 font-semibold leading-none text-white transition-all rounded-md cursor-pointer font-sm bg-white/20 hover:bg-white/30 active:scale-95", on: { click: function(n) {
|
|
31009
31012
|
return n.preventDefault(), t.onActionClick("submit");
|
|
@@ -34881,7 +34884,7 @@ const hge = fge.exports, mge = {
|
|
|
34881
34884
|
var gge = function() {
|
|
34882
34885
|
var t = this, r = t._self._c;
|
|
34883
34886
|
return r("div", t._l(t.mountingContainers, function(n) {
|
|
34884
|
-
return r("MountingPortal", { key: n.key
|
|
34887
|
+
return r("MountingPortal", { key: `${n.key}-${n.mode}-${n.view}`, attrs: { "mount-to": n.viewOpts.targetElement, name: n.viewOpts.name, append: !0 } }, [r("ShadowComponent", { attrs: { "slot-class": "Cling-shadow-component", id: `${n.key}-${n.mode}-${n.view}`, "style-vars": t.styleVars } }, [r("ShadowStyle"), t.isProduction ? t._e() : r("link", { tag: "component", attrs: { rel: "stylesheet", href: "/dist/style.css" } }), r(n.viewOpts.component, t._b({ tag: "component", attrs: { "view-type": "mount" } }, "component", n.viewOpts.props, !1))], 1)], 1);
|
|
34885
34888
|
}), 1);
|
|
34886
34889
|
}, vge = [], yge = /* @__PURE__ */ Kt(
|
|
34887
34890
|
mge,
|
|
@@ -52586,12 +52589,7 @@ const POe = {
|
|
|
52586
52589
|
}
|
|
52587
52590
|
},
|
|
52588
52591
|
render(e) {
|
|
52589
|
-
const {
|
|
52590
|
-
animation: t,
|
|
52591
|
-
animationSpeed: r,
|
|
52592
|
-
size: n,
|
|
52593
|
-
type: i
|
|
52594
|
-
} = this, a = new ROe(i, y2[i]);
|
|
52592
|
+
const { animation: t, animationSpeed: r, size: n, type: i } = this, a = new ROe(i, y2[i]);
|
|
52595
52593
|
return e(
|
|
52596
52594
|
this.tag,
|
|
52597
52595
|
{
|
|
@@ -52609,28 +52607,25 @@ const POe = {
|
|
|
52609
52607
|
on: this.$listeners
|
|
52610
52608
|
},
|
|
52611
52609
|
[
|
|
52612
|
-
a ? e(
|
|
52613
|
-
|
|
52614
|
-
|
|
52615
|
-
|
|
52616
|
-
|
|
52617
|
-
|
|
52618
|
-
|
|
52619
|
-
|
|
52620
|
-
|
|
52621
|
-
|
|
52622
|
-
|
|
52623
|
-
|
|
52624
|
-
}
|
|
52625
|
-
|
|
52626
|
-
|
|
52627
|
-
|
|
52628
|
-
|
|
52629
|
-
domProps: {
|
|
52630
|
-
innerHTML: a.contents
|
|
52631
|
-
}
|
|
52610
|
+
a ? e("svg", {
|
|
52611
|
+
attrs: {
|
|
52612
|
+
...a.attrs,
|
|
52613
|
+
fill: this.fill || "currentColor",
|
|
52614
|
+
height: n,
|
|
52615
|
+
stroke: this.stroke || "currentColor",
|
|
52616
|
+
"stroke-linecap": this.strokeLinecap,
|
|
52617
|
+
"stroke-linejoin": this.strokeLinejoin,
|
|
52618
|
+
"stroke-width": this.strokeWidth,
|
|
52619
|
+
width: n
|
|
52620
|
+
},
|
|
52621
|
+
style: {
|
|
52622
|
+
...n ? { width: `${n}px`, height: `${n}px` } : {}
|
|
52623
|
+
},
|
|
52624
|
+
class: [a.attrs ? a.attrs.class : "", "feather__content"],
|
|
52625
|
+
domProps: {
|
|
52626
|
+
innerHTML: a.contents
|
|
52632
52627
|
}
|
|
52633
|
-
) : ""
|
|
52628
|
+
}) : ""
|
|
52634
52629
|
]
|
|
52635
52630
|
);
|
|
52636
52631
|
}
|
|
@@ -52641,7 +52636,7 @@ var NOe = /* @__PURE__ */ Kt(
|
|
|
52641
52636
|
DOe,
|
|
52642
52637
|
!1,
|
|
52643
52638
|
null,
|
|
52644
|
-
"
|
|
52639
|
+
"39ce5b63",
|
|
52645
52640
|
null,
|
|
52646
52641
|
null
|
|
52647
52642
|
);
|
|
@@ -54752,7 +54747,16 @@ const E2 = {
|
|
|
54752
54747
|
type: {
|
|
54753
54748
|
type: String,
|
|
54754
54749
|
default: null,
|
|
54755
|
-
validator: (e) => [
|
|
54750
|
+
validator: (e) => [
|
|
54751
|
+
"primary",
|
|
54752
|
+
"secondary",
|
|
54753
|
+
"tertiary",
|
|
54754
|
+
"success",
|
|
54755
|
+
"warning",
|
|
54756
|
+
"danger",
|
|
54757
|
+
"text",
|
|
54758
|
+
"none"
|
|
54759
|
+
].indexOf(e) >= 0
|
|
54756
54760
|
},
|
|
54757
54761
|
size: {
|
|
54758
54762
|
type: String,
|
|
@@ -54784,11 +54788,7 @@ const E2 = {
|
|
|
54784
54788
|
nativeType: {
|
|
54785
54789
|
type: String,
|
|
54786
54790
|
default: "button",
|
|
54787
|
-
validator: (e) => [
|
|
54788
|
-
"button",
|
|
54789
|
-
"submit",
|
|
54790
|
-
"reset"
|
|
54791
|
-
].indexOf(e) >= 0
|
|
54791
|
+
validator: (e) => ["button", "submit", "reset"].indexOf(e) >= 0
|
|
54792
54792
|
},
|
|
54793
54793
|
tag: {
|
|
54794
54794
|
type: String,
|
|
@@ -54833,7 +54833,63 @@ const E2 = {
|
|
|
54833
54833
|
methods: {
|
|
54834
54834
|
tailwindClasses(...e) {
|
|
54835
54835
|
const t = [];
|
|
54836
|
-
return this.type === "secondary" ? (t.push("bg-primary-500 border-primary-500 text-white"), t.push(
|
|
54836
|
+
return this.type === "secondary" ? (t.push("bg-primary-500 border-primary-500 text-white"), t.push(
|
|
54837
|
+
"disabled:bg-primary-500 disabled:border-primary-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"
|
|
54838
|
+
), t.push(
|
|
54839
|
+
"hover:bg-primary-600 hover:border-primary-600 hover:text-white"
|
|
54840
|
+
), t.push(
|
|
54841
|
+
"focus:bg-primary-700 focus:border-primary-700 focus:text-white focus:!ring focus:ring-primary-500 focus:ring-opacity-20 [&.is-focused]:text-white"
|
|
54842
|
+
), this.pattern === "secondary" ? (t.push("bg-primary-100 border-primary-100 text-primary-600"), t.push(
|
|
54843
|
+
"disabled:bg-primary-100 disabled:border-primary-100 disabled:text-primary-600"
|
|
54844
|
+
), t.push(
|
|
54845
|
+
"hover:bg-primary-200 hover:border-primary-200 hover:text-primary-700"
|
|
54846
|
+
), t.push(
|
|
54847
|
+
"focus:bg-primary-300 focus:border-primary-300 focus:text-primary-700 [&.is-focused]:text-primary-700"
|
|
54848
|
+
)) : this.pattern === "tertiary" && (t.push("bg-transparent border-transparent text-primary-500"), t.push(
|
|
54849
|
+
"disabled:bg-transparent disabled:border-transparent disabled:text-primary-500"
|
|
54850
|
+
), t.push(
|
|
54851
|
+
"hover:bg-primary-50 hover:border-primary-50 hover:text-primary-500"
|
|
54852
|
+
), t.push(
|
|
54853
|
+
"focus:bg-primary-100 focus:border-primary-100 focus:text-primary-500 focus:bg-primary-100 [&.is-focused]:text-primary-500"
|
|
54854
|
+
)), this.outlined && (t.push("bg-transparent text-primary-500"), t.push("disabled:bg-transparent disabled:text-primary-500"))) : this.type === "text" ? (t.push("bg-gray-800 border-gray-800 text-white"), t.push(
|
|
54855
|
+
"disabled:bg-gray-800 disabled:border-gray-800 disabled:text-white disabled:opacity-50 disabled:shadow-none"
|
|
54856
|
+
), t.push("hover:bg-gray-700 hover:border-gray-700 hover:text-white"), t.push(
|
|
54857
|
+
"focus:bg-gray-900 focus:border-gray-900 focus:text-white focus:!ring focus:ring-gray-800 focus:ring-opacity-20 [&.is-focused]:text-white"
|
|
54858
|
+
), this.pattern === "secondary" ? (t.push("bg-gray-400 border-gray-400 text-white"), t.push(
|
|
54859
|
+
"disabled:bg-gray-400 disabled:border-gray-400 disabled:text-white"
|
|
54860
|
+
), t.push(
|
|
54861
|
+
"hover:bg-gray-500 hover:border-gray-500 hover:text-white"
|
|
54862
|
+
), t.push(
|
|
54863
|
+
"focus:bg-gray-310 focus:border-gray-310 focus:text-white [&.is-focused]:text-white"
|
|
54864
|
+
)) : this.pattern === "tertiary" && (t.push("bg-transparent border-transparent text-gray-800"), t.push(
|
|
54865
|
+
"disabled:bg-transparent disabled:border-transparent disabled:text-gray-800"
|
|
54866
|
+
), t.push(
|
|
54867
|
+
"hover:bg-gray-100 hover:border-gray-50 hover:text-gray-800"
|
|
54868
|
+
), t.push(
|
|
54869
|
+
"focus:bg-gray-100 focus:border-gray-100 focus:text-gray-800 focus:bg-gray-100 [&.is-focused]:text-gray-800"
|
|
54870
|
+
)), this.outlined && (t.push("bg-transparent text-gray-800"), t.push("disabled:bg-transparent disabled:text-gray-800"))) : this.type === "none" ? (t.push("bg-gray-500 border-gray-500 text-white"), t.push(
|
|
54871
|
+
"disabled:bg-gray-500 disabled:border-gray-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"
|
|
54872
|
+
), t.push("hover:bg-gray-600 hover:border-gray-600 hover:text-white"), t.push(
|
|
54873
|
+
"focus:bg-gray-700 focus:border-gray-700 focus:text-white focus:!ring focus:ring-gray-500 focus:ring-opacity-20 [&.is-focused]:text-white"
|
|
54874
|
+
), this.pattern === "secondary" ? (t.push("bg-gray-100 border-gray-100 text-gray-600"), t.push(
|
|
54875
|
+
"disabled:bg-gray-100 disabled:border-gray-100 disabled:text-gray-600"
|
|
54876
|
+
), t.push(
|
|
54877
|
+
"hover:bg-gray-200 hover:border-gray-200 hover:text-gray-700"
|
|
54878
|
+
), t.push(
|
|
54879
|
+
"focus:bg-gray-300 focus:border-gray-300 focus:text-gray-700 [&.is-focused]:text-gray-700"
|
|
54880
|
+
)) : this.pattern === "tertiary" && (t.push("bg-transparent border-transparent text-gray-500"), t.push(
|
|
54881
|
+
"disabled:bg-transparent disabled:border-transparent disabled:text-gray-500"
|
|
54882
|
+
), t.push(
|
|
54883
|
+
"hover:bg-gray-50 hover:border-gray-50 hover:text-gray-500"
|
|
54884
|
+
), t.push(
|
|
54885
|
+
"focus:bg-gray-100 focus:border-gray-100 focus:text-gray-500 focus:bg-gray-100 [&.is-focused]:text-gray-500"
|
|
54886
|
+
)), this.outlined && (t.push("bg-transparent text-gray-500"), t.push("disabled:bg-transparent disabled:text-gray-500"))) : this.type === null && (t.push("bg-white border-white text-gray-800"), t.push(
|
|
54887
|
+
"disabled:bg-white disabled:border-white disabled:text-gray-800 disabled:opacity-50 disabled:shadow-none"
|
|
54888
|
+
), t.push(
|
|
54889
|
+
"hover:bg-gray-100 hover:border-gray-100 hover:text-gray-800"
|
|
54890
|
+
), t.push(
|
|
54891
|
+
"focus:bg-white focus:border-white focus:text-gray-800 focus:!ring focus:ring-primary-500 focus:ring-opacity-20 [&.is-focused]:text-gray-800"
|
|
54892
|
+
)), oCe(...t, ...e);
|
|
54837
54893
|
}
|
|
54838
54894
|
}
|
|
54839
54895
|
};
|
|
@@ -55075,14 +55131,14 @@ const pCe = {
|
|
|
55075
55131
|
return this.passwordReveal ? "is-primary" : this.statusTypeIcon ? this.statusType : null;
|
|
55076
55132
|
},
|
|
55077
55133
|
/**
|
|
55078
|
-
|
|
55079
|
-
|
|
55134
|
+
* Position of the icon or if it's both sides.
|
|
55135
|
+
*/
|
|
55080
55136
|
iconPosition() {
|
|
55081
55137
|
return this.icon && this.hasIconRight ? "has-icons-left has-icons-right" : !this.icon && this.hasIconRight ? "has-icons-right" : this.icon ? "has-icons-left" : "";
|
|
55082
55138
|
},
|
|
55083
55139
|
/**
|
|
55084
|
-
|
|
55085
|
-
|
|
55140
|
+
* Icon name (MDI) based on the type.
|
|
55141
|
+
*/
|
|
55086
55142
|
statusTypeIcon() {
|
|
55087
55143
|
switch (this.statusType) {
|
|
55088
55144
|
case "is-success":
|
|
@@ -55112,52 +55168,55 @@ const pCe = {
|
|
|
55112
55168
|
}
|
|
55113
55169
|
},
|
|
55114
55170
|
/**
|
|
55115
|
-
|
|
55116
|
-
|
|
55171
|
+
* Check if have any message prop from parent if it's a Field.
|
|
55172
|
+
*/
|
|
55117
55173
|
hasMessage() {
|
|
55118
55174
|
return !!this.statusMessage;
|
|
55119
55175
|
},
|
|
55120
55176
|
/**
|
|
55121
|
-
|
|
55122
|
-
|
|
55177
|
+
* Current password-reveal icon name.
|
|
55178
|
+
*/
|
|
55123
55179
|
passwordVisibleIcon() {
|
|
55124
55180
|
return this.isPasswordVisible ? "eye-off" : "eye";
|
|
55125
55181
|
},
|
|
55126
55182
|
/**
|
|
55127
|
-
|
|
55128
|
-
|
|
55183
|
+
* Get value length
|
|
55184
|
+
*/
|
|
55129
55185
|
valueLength() {
|
|
55130
55186
|
return typeof this.computedValue == "string" ? this.computedValue.length : typeof this.computedValue == "number" ? this.computedValue.toString().length : 0;
|
|
55131
55187
|
}
|
|
55132
55188
|
},
|
|
55133
55189
|
watch: {
|
|
55134
55190
|
/**
|
|
55135
|
-
|
|
55136
|
-
|
|
55137
|
-
|
|
55191
|
+
* When v-model is changed:
|
|
55192
|
+
* 1. Set internal value.
|
|
55193
|
+
*/
|
|
55138
55194
|
value(e) {
|
|
55139
55195
|
this.newValue = e;
|
|
55140
55196
|
}
|
|
55141
55197
|
},
|
|
55142
55198
|
mounted() {
|
|
55143
55199
|
this.type === "textarea" && this.autoResize && this.$nextTick(() => {
|
|
55144
|
-
this.$refs.textarea.setAttribute(
|
|
55200
|
+
this.$refs.textarea.setAttribute(
|
|
55201
|
+
"style",
|
|
55202
|
+
`height: ${this.$refs.textarea.scrollHeight}px`
|
|
55203
|
+
);
|
|
55145
55204
|
}), this.$slots.suffix && (this.inputSuffixOffset = this.calcInputSuffixOffset());
|
|
55146
55205
|
},
|
|
55147
55206
|
methods: {
|
|
55148
55207
|
/**
|
|
55149
|
-
|
|
55150
|
-
|
|
55151
|
-
|
|
55208
|
+
* Toggle the visibility of a password-reveal input
|
|
55209
|
+
* by changing the type and focus the input right away.
|
|
55210
|
+
*/
|
|
55152
55211
|
togglePasswordVisibility() {
|
|
55153
55212
|
this.isPasswordVisible = !this.isPasswordVisible, this.newType = this.isPasswordVisible ? "text" : "password", this.$nextTick(() => {
|
|
55154
55213
|
this.$refs[this.$data._elementRef].focus();
|
|
55155
55214
|
});
|
|
55156
55215
|
},
|
|
55157
55216
|
/**
|
|
55158
|
-
|
|
55159
|
-
|
|
55160
|
-
|
|
55217
|
+
* Input's 'input' event listener, 'nextTick' is used to prevent event firing
|
|
55218
|
+
* before ui update, helps when using masks (Cleavejs and potentially others).
|
|
55219
|
+
*/
|
|
55161
55220
|
onInput(e) {
|
|
55162
55221
|
e.target && (this.computedValue = e.target.value), this.$nextTick(() => {
|
|
55163
55222
|
e.target && this.autoResize && this.type === "textarea" && this.resize(e);
|
|
@@ -55184,9 +55243,7 @@ const pCe = {
|
|
|
55184
55243
|
};
|
|
55185
55244
|
var fCe = function() {
|
|
55186
55245
|
var t = this, r = t._self._c;
|
|
55187
|
-
return r("div", { staticClass: "control", class: t.rootClasses }, [t.type !== "textarea" ? r("input", t._b({ ref: "input", staticClass: "input", class: [t.inputClasses, t.customClass], style: [
|
|
55188
|
-
t.inputSuffixOffset
|
|
55189
|
-
], attrs: { type: t.newType, autocomplete: t.newAutocomplete, maxlength: t.maxlength }, domProps: { value: t.computedValue }, on: { input: t.onInput, blur: t.onBlur, focus: t.onFocus, keyup: function(n) {
|
|
55246
|
+
return r("div", { staticClass: "control", class: t.rootClasses }, [t.type !== "textarea" ? r("input", t._b({ ref: "input", staticClass: "input", class: [t.inputClasses, t.customClass], style: [t.inputSuffixOffset], attrs: { type: t.newType, autocomplete: t.newAutocomplete, maxlength: t.maxlength }, domProps: { value: t.computedValue }, on: { input: t.onInput, blur: t.onBlur, focus: t.onFocus, keyup: function(n) {
|
|
55190
55247
|
if (!n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]))
|
|
55191
55248
|
return null;
|
|
55192
55249
|
t.isFocused;
|
|
@@ -55209,7 +55266,7 @@ var fCe = function() {
|
|
|
55209
55266
|
hCe,
|
|
55210
55267
|
!1,
|
|
55211
55268
|
null,
|
|
55212
|
-
"
|
|
55269
|
+
"28c8c573",
|
|
55213
55270
|
null,
|
|
55214
55271
|
null
|
|
55215
55272
|
);
|