@cling-se/widget 0.9.23 → 0.9.24
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-4afb07ff.js} +5 -5
- package/dist/{AnswerModal-6f4004e1.js → AnswerModal-2b11381b.js} +84 -27
- package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-c666fb74.js} +7 -5
- package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-e1efcf48.js} +1 -1
- package/dist/{BaseInput-e14e8b12.js → BaseInput-44c3af54.js} +6 -2
- package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-740b1f88.js} +28 -11
- package/dist/{BlockMedia-b49a63f3.js → BlockMedia-f5086397.js} +5 -3
- package/dist/{CCallout-baeb732f.js → CCallout-1a1feea0.js} +6 -9
- package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-cc274799.js} +3 -3
- package/dist/{CField-c10f5951.js → CField-372bd9c7.js} +18 -4
- package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-b273a499.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
- package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-0f51c1cd.js} +3 -3
- package/dist/{ClientModal-b94206f4.js → ClientModal-1bec5a45.js} +34 -19
- package/dist/{ColorPicker-b5a7f700.js → ColorPicker-43c741fb.js} +2 -2
- package/dist/{CompanyModal-c47e7c55.js → CompanyModal-adec1d7e.js} +8 -5
- package/dist/{ContentWrapper-8293109f.js → ContentWrapper-48e69342.js} +40 -27
- package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-c0a57bee.js} +49 -34
- package/dist/{DocAnswer-75f53dd5.js → DocAnswer-f0f7d55d.js} +4 -4
- package/dist/{DocDetails-1bdecff4.js → DocDetails-0e25552f.js} +71 -46
- package/dist/{DocForm-263bac20.js → DocForm-2ab0c521.js} +515 -291
- package/dist/{DocFormSend-5b098ca6.js → DocFormSend-e60808ca.js} +18 -18
- package/dist/{DocLinks-500b61b0.js → DocLinks-20719644.js} +2 -2
- package/dist/{DocModalBase-b64e792b.js → DocModalBase-039f53c2.js} +4 -4
- package/dist/{DocPrint-555475c6.js → DocPrint-aafc72e2.js} +2 -2
- package/dist/{DocReceipt-5a393f79.js → DocReceipt-641b141c.js} +33 -10
- package/dist/{DocSendReminder-8d875174.js → DocSendReminder-aabc0994.js} +30 -5
- package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-3eb97671.js} +86 -37
- package/dist/{DocTimeline-0273acd1.js → DocTimeline-9d765ded.js} +11 -2
- package/dist/{DocumentClient-342454c2.js → DocumentClient-8d59d823.js} +7 -7
- package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-a659ce2a.js} +31 -11
- package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-393d1610.js} +8 -8
- package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-9294f5d4.js} +1 -1
- package/dist/{EmbedInput-19362c0b.js → EmbedInput-e6a9ee21.js} +2 -2
- package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-e31ccfdc.js} +7 -7
- package/dist/ErrorCallout-d6c77efa.js +30 -0
- package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-84d6ab65.js} +6 -6
- package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-51d44d2d.js} +65 -63
- package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-051e0929.js} +27 -27
- package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-dcceec48.js} +11 -5
- package/dist/{Index-dbeaf863.js → Index-06045b22.js} +9 -10
- package/dist/{Index-d60eb16f.js → Index-0932b744.js} +32 -20
- package/dist/{Index-468190f0.js → Index-20c0168b.js} +15 -15
- package/dist/{Index-e813c8cd.js → Index-3571dbbe.js} +2 -2
- package/dist/{Index-8ef32146.js → Index-36ba2c7c.js} +20 -16
- package/dist/{Index-c89d17d9.js → Index-39d0e781.js} +17 -17
- package/dist/{Index-7fe05fe5.js → Index-3bdfc806.js} +3 -3
- package/dist/{Index-a3ee21e6.js → Index-3cb4cf49.js} +4 -4
- package/dist/Index-42639492.js +28 -0
- package/dist/{Index-4df3c1d2.js → Index-494c3112.js} +300 -147
- package/dist/{Index-d6635896.js → Index-51ceb867.js} +20 -16
- package/dist/{Index-630c21f5.js → Index-54695ef1.js} +13 -11
- package/dist/{Index-9afa091c.js → Index-5b2c568a.js} +13 -11
- package/dist/{Index-843f81bd.js → Index-5def7508.js} +17 -12
- package/dist/{Index-5093d646.js → Index-5ead0dc5.js} +2 -2
- package/dist/{Index-a79cd9b6.js → Index-652a82d0.js} +6 -6
- package/dist/{Index-0f2bf3b1.js → Index-75922cfc.js} +13 -13
- package/dist/{Index-bf0e9351.js → Index-9a162ce6.js} +2 -2
- package/dist/{Index-7c60cb32.js → Index-a94f257f.js} +56 -31
- package/dist/{Index-7dec77f5.js → Index-a98c290d.js} +21 -18
- package/dist/{Index-0eb9d45b.js → Index-b33109a3.js} +13 -9
- package/dist/{Index-12a6485f.js → Index-c1aa1453.js} +3 -3
- package/dist/{Index-a36c3418.js → Index-c2008029.js} +2 -2
- package/dist/{Index-bb62e92d.js → Index-c4942c4e.js} +22 -27
- package/dist/{Index-aad34e7e.js → Index-c5983b2b.js} +13 -15
- package/dist/{Index-f640eb29.js → Index-c8ded03a.js} +2 -2
- package/dist/{Index-16155aba.js → Index-cc56dad6.js} +7 -7
- package/dist/{Index-29147f73.js → Index-d77ba606.js} +51 -43
- package/dist/{Index-4c78a308.js → Index-d7a7de69.js} +24 -17
- package/dist/{Index-0b1a9238.js → Index-e8a3b12b.js} +4 -4
- package/dist/{Index-bf2ed6a3.js → Index-e9da5a9c.js} +3 -3
- package/dist/{Index-b66d1e1a.js → Index-f36accd7.js} +4 -4
- package/dist/{Index-96725e56.js → Index-fd6da129.js} +7 -7
- package/dist/{Index-64236029.js → Index-fdb53118.js} +6 -9
- package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-79bbd6c6.js} +4 -4
- package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f0524e76.js} +81 -36
- package/dist/{ManualPopover-58c3f059.js → ManualPopover-8a1e53a5.js} +5 -2
- package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-b128c707.js} +3 -3
- package/dist/{NotBindingText-38e6e74c.js → NotBindingText-561df6d3.js} +2 -2
- package/dist/{PackageGroup-6e6dd719.js → PackageGroup-3eaff6a7.js} +184 -69
- package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-27d7ea41.js} +8 -8
- package/dist/{PdfViewer-991eb731.js → PdfViewer-5b2bcbb5.js} +2 -2
- package/dist/{PlainHtml-4aaf6438.js → PlainHtml-c743e90e.js} +1 -1
- package/dist/{PriceHeader-f3e7b525.js → PriceHeader-287b8219.js} +48 -32
- package/dist/{SearchApi-2523a5fb.js → SearchApi-1cd32dd3.js} +40 -20
- package/dist/{Setup-2849b519.js → Setup-647c8d19.js} +1 -1
- package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-28e00bdf.js} +11 -11
- package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-87aad7e1.js} +4 -4
- package/dist/{ToggleBinding-7c726915.js → ToggleBinding-86912659.js} +3 -3
- package/dist/{UploadModal-814fc3af.js → UploadModal-4065d410.js} +16 -14
- package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-1b402e91.js} +3 -3
- package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-4dcca863.js} +5 -5
- package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-4f9def15.js} +32 -36
- package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
- package/dist/{debounce-0451fa9d.js → debounce-97bb38ac.js} +1 -1
- package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-0d00dfeb.js} +1 -1
- package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-0e28cca8.js} +210 -168
- package/dist/{formDrawerState-6c57d51e.js → formDrawerState-68670778.js} +1 -1
- package/dist/{formValidationMixin-7603171e.js → formValidationMixin-cb6f10e2.js} +1 -1
- package/dist/{image-58c45661.js → image-456aa00c.js} +1 -1
- package/dist/{index-b20167b3.js → index-1f6e36c5.js} +4 -4
- package/dist/{index-cf014fd4.js → index-2710ab1c.js} +2 -2
- package/dist/{index-c0b45aa7.js → index-63ab2d14.js} +12 -12
- package/dist/{index-4afc771b.js → index-b8207e2a.js} +1 -1
- package/dist/{index-47e427b4.js → index-e4f936ec.js} +8 -6
- package/dist/{index-0c493549.js → index-ea1c7f84.js} +17 -9
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +95 -66
- package/dist/{main-8d566a02.js → main-b5eb6366.js} +134 -76
- package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-e0c45bbd.js} +1 -1
- package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-4163b1b6.js} +1 -1
- package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-147772cd.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-e04cc32f.js → template-6e93622c.js} +7 -7
- package/dist/{throttle-b0a5ba09.js → throttle-7a7a1299.js} +2 -2
- package/dist/{tinycolor-c6f29f33.js → tinycolor-bb8652ea.js} +1 -1
- package/dist/{tippy.esm-2cb937d0.js → tippy.esm-f533f77b.js} +8 -8
- package/dist/{utils-36338df7.js → utils-066c47a5.js} +1 -1
- package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-76911d11.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-2ab0c521.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-a659ce2a.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-e60808ca.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-aafc72e2.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-aabc0994.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-9d765ded.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-641b141c.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-20719644.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-8d59d823.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-647c8d19.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-f0f7d55d.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-0e25552f.js"),
|
|
27690
27692
|
props: !0,
|
|
27691
27693
|
meta: {
|
|
27692
27694
|
mode: "drawer",
|
|
@@ -27744,7 +27746,7 @@ const _n = new vt({
|
|
|
27744
27746
|
removeView({ key: e, view: t, mode: r }) {
|
|
27745
27747
|
var i;
|
|
27746
27748
|
const n = this._openViews.findIndex(
|
|
27747
|
-
(a) => a.key === e && a.mode === r
|
|
27749
|
+
(a) => a.key === e && a.mode === r && a.view === t
|
|
27748
27750
|
);
|
|
27749
27751
|
if (r === "mount") {
|
|
27750
27752
|
const a = this._openViews[n], o = document.getElementById((i = a == null ? void 0 : a.viewOpts) == null ? void 0 : i.key);
|
|
@@ -28228,7 +28230,7 @@ const Gte = (e, { renewToken: t }) => {
|
|
|
28228
28230
|
// allow API to store cookie
|
|
28229
28231
|
paramsSerializer: (d) => Hte(d)
|
|
28230
28232
|
});
|
|
28231
|
-
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.
|
|
28233
|
+
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.24";
|
|
28232
28234
|
const i = async (d, p, h = null, f = {}) => {
|
|
28233
28235
|
const m = p.startsWith("/public/"), g = Ce.getItem("token");
|
|
28234
28236
|
switch (g && !m && (n.defaults.headers["X-TOKEN"] = g), d) {
|
|
@@ -30683,7 +30685,7 @@ const a$ = Te.rollbar.clientToken, iy = new ine({
|
|
|
30683
30685
|
client: {
|
|
30684
30686
|
javascript: {
|
|
30685
30687
|
// eslint-disable-next-line
|
|
30686
|
-
code_version: "0.9.
|
|
30688
|
+
code_version: "0.9.24",
|
|
30687
30689
|
// Git SHA of the deployed code (from webpack plugin)
|
|
30688
30690
|
source_map_enabled: !0,
|
|
30689
30691
|
guess_uncaught_frames: !0
|
|
@@ -30920,7 +30922,7 @@ var vne = function(t, r) {
|
|
|
30920
30922
|
yne,
|
|
30921
30923
|
!0,
|
|
30922
30924
|
null,
|
|
30923
|
-
"
|
|
30925
|
+
"c4dd8c6e",
|
|
30924
30926
|
null,
|
|
30925
30927
|
null
|
|
30926
30928
|
);
|
|
@@ -31003,7 +31005,9 @@ var Ene = function() {
|
|
|
31003
31005
|
"bg-green-600": t.notification.type === "success",
|
|
31004
31006
|
"bg-red-500": t.notification.type === "error",
|
|
31005
31007
|
"bg-orange-600": t.notification.type === "warning",
|
|
31006
|
-
"bg-primary-500": !["success", "error", "warning"].includes(
|
|
31008
|
+
"bg-primary-500": !["success", "error", "warning"].includes(
|
|
31009
|
+
t.notification.type
|
|
31010
|
+
)
|
|
31007
31011
|
}
|
|
31008
31012
|
], 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
31013
|
return n.preventDefault(), t.onActionClick("submit");
|
|
@@ -52586,12 +52590,7 @@ const POe = {
|
|
|
52586
52590
|
}
|
|
52587
52591
|
},
|
|
52588
52592
|
render(e) {
|
|
52589
|
-
const {
|
|
52590
|
-
animation: t,
|
|
52591
|
-
animationSpeed: r,
|
|
52592
|
-
size: n,
|
|
52593
|
-
type: i
|
|
52594
|
-
} = this, a = new ROe(i, y2[i]);
|
|
52593
|
+
const { animation: t, animationSpeed: r, size: n, type: i } = this, a = new ROe(i, y2[i]);
|
|
52595
52594
|
return e(
|
|
52596
52595
|
this.tag,
|
|
52597
52596
|
{
|
|
@@ -52609,28 +52608,25 @@ const POe = {
|
|
|
52609
52608
|
on: this.$listeners
|
|
52610
52609
|
},
|
|
52611
52610
|
[
|
|
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
|
-
}
|
|
52611
|
+
a ? e("svg", {
|
|
52612
|
+
attrs: {
|
|
52613
|
+
...a.attrs,
|
|
52614
|
+
fill: this.fill || "currentColor",
|
|
52615
|
+
height: n,
|
|
52616
|
+
stroke: this.stroke || "currentColor",
|
|
52617
|
+
"stroke-linecap": this.strokeLinecap,
|
|
52618
|
+
"stroke-linejoin": this.strokeLinejoin,
|
|
52619
|
+
"stroke-width": this.strokeWidth,
|
|
52620
|
+
width: n
|
|
52621
|
+
},
|
|
52622
|
+
style: {
|
|
52623
|
+
...n ? { width: `${n}px`, height: `${n}px` } : {}
|
|
52624
|
+
},
|
|
52625
|
+
class: [a.attrs ? a.attrs.class : "", "feather__content"],
|
|
52626
|
+
domProps: {
|
|
52627
|
+
innerHTML: a.contents
|
|
52632
52628
|
}
|
|
52633
|
-
) : ""
|
|
52629
|
+
}) : ""
|
|
52634
52630
|
]
|
|
52635
52631
|
);
|
|
52636
52632
|
}
|
|
@@ -52641,7 +52637,7 @@ var NOe = /* @__PURE__ */ Kt(
|
|
|
52641
52637
|
DOe,
|
|
52642
52638
|
!1,
|
|
52643
52639
|
null,
|
|
52644
|
-
"
|
|
52640
|
+
"39ce5b63",
|
|
52645
52641
|
null,
|
|
52646
52642
|
null
|
|
52647
52643
|
);
|
|
@@ -54752,7 +54748,16 @@ const E2 = {
|
|
|
54752
54748
|
type: {
|
|
54753
54749
|
type: String,
|
|
54754
54750
|
default: null,
|
|
54755
|
-
validator: (e) => [
|
|
54751
|
+
validator: (e) => [
|
|
54752
|
+
"primary",
|
|
54753
|
+
"secondary",
|
|
54754
|
+
"tertiary",
|
|
54755
|
+
"success",
|
|
54756
|
+
"warning",
|
|
54757
|
+
"danger",
|
|
54758
|
+
"text",
|
|
54759
|
+
"none"
|
|
54760
|
+
].indexOf(e) >= 0
|
|
54756
54761
|
},
|
|
54757
54762
|
size: {
|
|
54758
54763
|
type: String,
|
|
@@ -54784,11 +54789,7 @@ const E2 = {
|
|
|
54784
54789
|
nativeType: {
|
|
54785
54790
|
type: String,
|
|
54786
54791
|
default: "button",
|
|
54787
|
-
validator: (e) => [
|
|
54788
|
-
"button",
|
|
54789
|
-
"submit",
|
|
54790
|
-
"reset"
|
|
54791
|
-
].indexOf(e) >= 0
|
|
54792
|
+
validator: (e) => ["button", "submit", "reset"].indexOf(e) >= 0
|
|
54792
54793
|
},
|
|
54793
54794
|
tag: {
|
|
54794
54795
|
type: String,
|
|
@@ -54833,7 +54834,63 @@ const E2 = {
|
|
|
54833
54834
|
methods: {
|
|
54834
54835
|
tailwindClasses(...e) {
|
|
54835
54836
|
const t = [];
|
|
54836
|
-
return this.type === "secondary" ? (t.push("bg-primary-500 border-primary-500 text-white"), t.push(
|
|
54837
|
+
return this.type === "secondary" ? (t.push("bg-primary-500 border-primary-500 text-white"), t.push(
|
|
54838
|
+
"disabled:bg-primary-500 disabled:border-primary-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"
|
|
54839
|
+
), t.push(
|
|
54840
|
+
"hover:bg-primary-600 hover:border-primary-600 hover:text-white"
|
|
54841
|
+
), t.push(
|
|
54842
|
+
"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"
|
|
54843
|
+
), this.pattern === "secondary" ? (t.push("bg-primary-100 border-primary-100 text-primary-600"), t.push(
|
|
54844
|
+
"disabled:bg-primary-100 disabled:border-primary-100 disabled:text-primary-600"
|
|
54845
|
+
), t.push(
|
|
54846
|
+
"hover:bg-primary-200 hover:border-primary-200 hover:text-primary-700"
|
|
54847
|
+
), t.push(
|
|
54848
|
+
"focus:bg-primary-300 focus:border-primary-300 focus:text-primary-700 [&.is-focused]:text-primary-700"
|
|
54849
|
+
)) : this.pattern === "tertiary" && (t.push("bg-transparent border-transparent text-primary-500"), t.push(
|
|
54850
|
+
"disabled:bg-transparent disabled:border-transparent disabled:text-primary-500"
|
|
54851
|
+
), t.push(
|
|
54852
|
+
"hover:bg-primary-50 hover:border-primary-50 hover:text-primary-500"
|
|
54853
|
+
), t.push(
|
|
54854
|
+
"focus:bg-primary-100 focus:border-primary-100 focus:text-primary-500 focus:bg-primary-100 [&.is-focused]:text-primary-500"
|
|
54855
|
+
)), 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(
|
|
54856
|
+
"disabled:bg-gray-800 disabled:border-gray-800 disabled:text-white disabled:opacity-50 disabled:shadow-none"
|
|
54857
|
+
), t.push("hover:bg-gray-700 hover:border-gray-700 hover:text-white"), t.push(
|
|
54858
|
+
"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"
|
|
54859
|
+
), this.pattern === "secondary" ? (t.push("bg-gray-400 border-gray-400 text-white"), t.push(
|
|
54860
|
+
"disabled:bg-gray-400 disabled:border-gray-400 disabled:text-white"
|
|
54861
|
+
), t.push(
|
|
54862
|
+
"hover:bg-gray-500 hover:border-gray-500 hover:text-white"
|
|
54863
|
+
), t.push(
|
|
54864
|
+
"focus:bg-gray-310 focus:border-gray-310 focus:text-white [&.is-focused]:text-white"
|
|
54865
|
+
)) : this.pattern === "tertiary" && (t.push("bg-transparent border-transparent text-gray-800"), t.push(
|
|
54866
|
+
"disabled:bg-transparent disabled:border-transparent disabled:text-gray-800"
|
|
54867
|
+
), t.push(
|
|
54868
|
+
"hover:bg-gray-100 hover:border-gray-50 hover:text-gray-800"
|
|
54869
|
+
), t.push(
|
|
54870
|
+
"focus:bg-gray-100 focus:border-gray-100 focus:text-gray-800 focus:bg-gray-100 [&.is-focused]:text-gray-800"
|
|
54871
|
+
)), 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(
|
|
54872
|
+
"disabled:bg-gray-500 disabled:border-gray-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"
|
|
54873
|
+
), t.push("hover:bg-gray-600 hover:border-gray-600 hover:text-white"), t.push(
|
|
54874
|
+
"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"
|
|
54875
|
+
), this.pattern === "secondary" ? (t.push("bg-gray-100 border-gray-100 text-gray-600"), t.push(
|
|
54876
|
+
"disabled:bg-gray-100 disabled:border-gray-100 disabled:text-gray-600"
|
|
54877
|
+
), t.push(
|
|
54878
|
+
"hover:bg-gray-200 hover:border-gray-200 hover:text-gray-700"
|
|
54879
|
+
), t.push(
|
|
54880
|
+
"focus:bg-gray-300 focus:border-gray-300 focus:text-gray-700 [&.is-focused]:text-gray-700"
|
|
54881
|
+
)) : this.pattern === "tertiary" && (t.push("bg-transparent border-transparent text-gray-500"), t.push(
|
|
54882
|
+
"disabled:bg-transparent disabled:border-transparent disabled:text-gray-500"
|
|
54883
|
+
), t.push(
|
|
54884
|
+
"hover:bg-gray-50 hover:border-gray-50 hover:text-gray-500"
|
|
54885
|
+
), t.push(
|
|
54886
|
+
"focus:bg-gray-100 focus:border-gray-100 focus:text-gray-500 focus:bg-gray-100 [&.is-focused]:text-gray-500"
|
|
54887
|
+
)), 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(
|
|
54888
|
+
"disabled:bg-white disabled:border-white disabled:text-gray-800 disabled:opacity-50 disabled:shadow-none"
|
|
54889
|
+
), t.push(
|
|
54890
|
+
"hover:bg-gray-100 hover:border-gray-100 hover:text-gray-800"
|
|
54891
|
+
), t.push(
|
|
54892
|
+
"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"
|
|
54893
|
+
)), oCe(...t, ...e);
|
|
54837
54894
|
}
|
|
54838
54895
|
}
|
|
54839
54896
|
};
|
|
@@ -55075,14 +55132,14 @@ const pCe = {
|
|
|
55075
55132
|
return this.passwordReveal ? "is-primary" : this.statusTypeIcon ? this.statusType : null;
|
|
55076
55133
|
},
|
|
55077
55134
|
/**
|
|
55078
|
-
|
|
55079
|
-
|
|
55135
|
+
* Position of the icon or if it's both sides.
|
|
55136
|
+
*/
|
|
55080
55137
|
iconPosition() {
|
|
55081
55138
|
return this.icon && this.hasIconRight ? "has-icons-left has-icons-right" : !this.icon && this.hasIconRight ? "has-icons-right" : this.icon ? "has-icons-left" : "";
|
|
55082
55139
|
},
|
|
55083
55140
|
/**
|
|
55084
|
-
|
|
55085
|
-
|
|
55141
|
+
* Icon name (MDI) based on the type.
|
|
55142
|
+
*/
|
|
55086
55143
|
statusTypeIcon() {
|
|
55087
55144
|
switch (this.statusType) {
|
|
55088
55145
|
case "is-success":
|
|
@@ -55112,52 +55169,55 @@ const pCe = {
|
|
|
55112
55169
|
}
|
|
55113
55170
|
},
|
|
55114
55171
|
/**
|
|
55115
|
-
|
|
55116
|
-
|
|
55172
|
+
* Check if have any message prop from parent if it's a Field.
|
|
55173
|
+
*/
|
|
55117
55174
|
hasMessage() {
|
|
55118
55175
|
return !!this.statusMessage;
|
|
55119
55176
|
},
|
|
55120
55177
|
/**
|
|
55121
|
-
|
|
55122
|
-
|
|
55178
|
+
* Current password-reveal icon name.
|
|
55179
|
+
*/
|
|
55123
55180
|
passwordVisibleIcon() {
|
|
55124
55181
|
return this.isPasswordVisible ? "eye-off" : "eye";
|
|
55125
55182
|
},
|
|
55126
55183
|
/**
|
|
55127
|
-
|
|
55128
|
-
|
|
55184
|
+
* Get value length
|
|
55185
|
+
*/
|
|
55129
55186
|
valueLength() {
|
|
55130
55187
|
return typeof this.computedValue == "string" ? this.computedValue.length : typeof this.computedValue == "number" ? this.computedValue.toString().length : 0;
|
|
55131
55188
|
}
|
|
55132
55189
|
},
|
|
55133
55190
|
watch: {
|
|
55134
55191
|
/**
|
|
55135
|
-
|
|
55136
|
-
|
|
55137
|
-
|
|
55192
|
+
* When v-model is changed:
|
|
55193
|
+
* 1. Set internal value.
|
|
55194
|
+
*/
|
|
55138
55195
|
value(e) {
|
|
55139
55196
|
this.newValue = e;
|
|
55140
55197
|
}
|
|
55141
55198
|
},
|
|
55142
55199
|
mounted() {
|
|
55143
55200
|
this.type === "textarea" && this.autoResize && this.$nextTick(() => {
|
|
55144
|
-
this.$refs.textarea.setAttribute(
|
|
55201
|
+
this.$refs.textarea.setAttribute(
|
|
55202
|
+
"style",
|
|
55203
|
+
`height: ${this.$refs.textarea.scrollHeight}px`
|
|
55204
|
+
);
|
|
55145
55205
|
}), this.$slots.suffix && (this.inputSuffixOffset = this.calcInputSuffixOffset());
|
|
55146
55206
|
},
|
|
55147
55207
|
methods: {
|
|
55148
55208
|
/**
|
|
55149
|
-
|
|
55150
|
-
|
|
55151
|
-
|
|
55209
|
+
* Toggle the visibility of a password-reveal input
|
|
55210
|
+
* by changing the type and focus the input right away.
|
|
55211
|
+
*/
|
|
55152
55212
|
togglePasswordVisibility() {
|
|
55153
55213
|
this.isPasswordVisible = !this.isPasswordVisible, this.newType = this.isPasswordVisible ? "text" : "password", this.$nextTick(() => {
|
|
55154
55214
|
this.$refs[this.$data._elementRef].focus();
|
|
55155
55215
|
});
|
|
55156
55216
|
},
|
|
55157
55217
|
/**
|
|
55158
|
-
|
|
55159
|
-
|
|
55160
|
-
|
|
55218
|
+
* Input's 'input' event listener, 'nextTick' is used to prevent event firing
|
|
55219
|
+
* before ui update, helps when using masks (Cleavejs and potentially others).
|
|
55220
|
+
*/
|
|
55161
55221
|
onInput(e) {
|
|
55162
55222
|
e.target && (this.computedValue = e.target.value), this.$nextTick(() => {
|
|
55163
55223
|
e.target && this.autoResize && this.type === "textarea" && this.resize(e);
|
|
@@ -55184,9 +55244,7 @@ const pCe = {
|
|
|
55184
55244
|
};
|
|
55185
55245
|
var fCe = function() {
|
|
55186
55246
|
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) {
|
|
55247
|
+
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
55248
|
if (!n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]))
|
|
55191
55249
|
return null;
|
|
55192
55250
|
t.isFocused;
|
|
@@ -55209,7 +55267,7 @@ var fCe = function() {
|
|
|
55209
55267
|
hCe,
|
|
55210
55268
|
!1,
|
|
55211
55269
|
null,
|
|
55212
|
-
"
|
|
55270
|
+
"28c8c573",
|
|
55213
55271
|
null,
|
|
55214
55272
|
null
|
|
55215
55273
|
);
|