@feedmepos/mf-brand-app-builder 0.5.21-dev.0 → 0.5.22-dev.0
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/{App-CouqATvY.js → App-DSjCJtmn.js} +3 -3
- package/dist/{AssetsSettings-VrTm7fqj.js → AssetsSettings-e8FjbJ_2.js} +3 -3
- package/dist/{BrandkitView-BWayOWSf.js → BrandkitView-YRlmRZnS.js} +11 -7
- package/dist/{BuilderView-BfGBA-IQ.js → BuilderView-BLM7vEZA.js} +2743 -2190
- package/dist/{ImageUpload-CFXqs0JU.js → ImageUpload-CDR7v2YB.js} +2 -2
- package/dist/{LinkButton-DSq0KYll.js → LinkButton-DvF93Arq.js} +1 -1
- package/dist/{ListRepeater-Cob4tslX.js → ListRepeater-Dri1M_Xh.js} +1 -1
- package/dist/{ManagementSettings-Dvz3GmOR.js → ManagementSettings-CROYjeuM.js} +2 -2
- package/dist/{ProjectView-BQGLwc0w.js → ProjectView-Tb44Sm_z.js} +36 -36
- package/dist/{app-lMq3BVlx.js → app-OPl2Khtq.js} +439 -352
- package/dist/app.js +1 -1
- package/dist/{client/components → components}/src/components/Member/MemberCards.vue.d.ts +1 -0
- package/dist/{client/components → components}/src/components/MemberCard.vue.d.ts +6 -0
- package/dist/{client/components → components}/src/components/OrderHistoryCard.vue.d.ts +6 -1
- package/dist/{image-Dpri5FX2.js → image-HDqbMgOR.js} +1 -1
- package/dist/{index-CeGUgOHl.js → index-BodukiEf.js} +1 -1
- package/dist/{index-B9eW8FKP.js → index-CvbnxMT4.js} +181 -181
- package/dist/{index-BveesOeC.js → index-DbvZZQr6.js} +1 -1
- package/dist/{index-G68bUkCy.js → index-V999lx_3.js} +1 -1
- package/dist/{main-2c5dYrrl.js → main--RZvbXYz.js} +2890 -2808
- package/dist/{client/merchant → merchant}/src/api/business/index.d.ts +1 -1
- package/dist/{client/merchant → merchant}/src/app.d.ts +91 -4
- package/dist/merchant/src/components/modals/TemplateSelectionModal.vue.d.ts +18 -0
- package/dist/{client/merchant → merchant}/src/composables/useNode/index.d.ts +1 -0
- package/dist/merchant/src/config/defaultTemplateConfig.d.ts +18 -0
- package/dist/{client/merchant → merchant}/src/node-configs/member-card/mock-data.d.ts +1 -0
- package/dist/{client/merchant → merchant}/src/node-configs/member-card/props.d.ts +1 -0
- package/dist/{client/merchant → merchant}/src/stores/business/index.d.ts +25 -1
- package/dist/package.json +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/brand-core/src/entity.d.ts +0 -61
- /package/dist/{client/components → components}/src/components/BranchList.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/ButtonList.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/CountrySwitcher.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/Homepage.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/ImageCarousel.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/ImageDisplay.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/Member/MemberAchievements.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/Member/MemberSummary.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/Member/TransactionList.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/NavigationBar.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/OrderMethod.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/TextDisplay.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/atoms/Button.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/atoms/CircularProgress.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/atoms/Container.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/atoms/Divider.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/atoms/Icon.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/atoms/LinkSlot.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/components/atoms/OrderTypeChip.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/i18n.d.ts +0 -0
- /package/dist/{client/components → components}/src/main.d.ts +0 -0
- /package/dist/{client/components → components}/src/utils/date.d.ts +0 -0
- /package/dist/{client/components → components}/src/utils/image.d.ts +0 -0
- /package/dist/{client/components → components}/src/views/OrderDetails.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/views/_Credit.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/views/_MemberProfile.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/views/_Point.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/views/_Referral.vue.d.ts +0 -0
- /package/dist/{client/components → components}/src/views/_ReferralTutorial.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/App.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/Entry.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/api/image/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/api/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/api/template/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/atoms/BaButtonGroup.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/atoms/BaDivider.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/atoms/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/brandkit/ColorSelection.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/editor/Editor.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/editor/EditorFloatingToobar.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/editor/toolbar/EditorToolbar.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/editor/toolbar/PreviewQrCode.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/editor/toolbar/TemplatePicker.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/editor/toolbar/TemplateShareMenu.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/element-sidebar/ElementSidebar.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/element-sidebar/all-elements.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/ButtonGroup.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/ColorPicker.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/ImageUpload.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/LinkBrandkitColor.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/LinkButton.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/ListRepeater.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/Select.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/StepperField.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/Switch.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/TextAlign.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/TextDecorators.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/TextField.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/TextStyleList.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inputs/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inspector/Inspector.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inspector/atoms/ConfigSection.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inspector/atoms/ConfigTab.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/settings/AssetsSettings.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/settings/ManagementSettings.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/components/template/TemplatePreview.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/composables/useToast/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/helpers/businessUrl.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/main.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/branch-list/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/branch-list/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/button-list/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/button-list/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/carousel/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/carousel/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/container/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/container/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/display-image/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/display-image/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/display-text/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/display-text/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/homepage/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/homepage/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-achievements/mock-data.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-achievements/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-achievements/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-card/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-cards/mock-data.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-cards/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-cards/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-history/mock-data.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-history/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-history/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-profile/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-profile/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-referral/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-referral/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-referral-tutorial/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-referral-tutorial/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-summary/mock-data.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-summary/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/member-summary/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/mock-data.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/order-history-card/mock-data.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/order-history-card/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/order-history-card/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/order-method/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/order-method/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/props.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/node-configs/schema.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/plugin/formkit-i18n.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/plugin/formkit.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/plugin/i18n.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/router/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/router/shared.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/stores/editor/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/stores/template/index.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/utils/deep-to-raw.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/utils/image.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/utils/provider-keys.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/views/BrandkitView.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/views/BuilderView.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/views/ProjectView.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/views/SettingsView.vue.d.ts +0 -0
- /package/dist/{client/merchant → merchant}/src/views/views.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as b, resolveComponent as w, openBlock as r, createElementBlock as s, createVNode as c, Fragment as C, createElementVNode as i, unref as u, createCommentVNode as f } from "vue";
|
|
2
|
-
import { r as g, I as h } from "./image-
|
|
2
|
+
import { r as g, I as h } from "./image-HDqbMgOR.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
|
-
import "./main
|
|
4
|
+
import "./main--RZvbXYz.js";
|
|
5
5
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
|
|
6
6
|
import { C as k } from "./CircularProgress-h90pbjU3.js";
|
|
7
7
|
import { v as F } from "./v4-ANoOI1Qw.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as I, ref as f, computed as k, onBeforeMount as L, resolveComponent as c, openBlock as u, createBlock as v, withCtx as m, createElementBlock as x, createElementVNode as a, toDisplayString as P, createVNode as r, withModifiers as R, Fragment as M, renderList as F } from "vue";
|
|
2
2
|
import { B as y } from "./BaDivider-DWZv3fqi.js";
|
|
3
3
|
import { _ as W } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
|
|
4
|
-
import { u as $ } from "./index-
|
|
4
|
+
import { u as $ } from "./index-V999lx_3.js";
|
|
5
5
|
import "@feedmepos/mf-common";
|
|
6
6
|
const j = {
|
|
7
7
|
key: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, resolveComponent as y, openBlock as c, createBlock as s, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
|
|
2
|
-
import { F as f } from "./app-
|
|
2
|
+
import { F as f } from "./app-OPl2Khtq.js";
|
|
3
3
|
const h = { class: "flex justify-end gap-4 items-center w-full py-16 px-12 border-b" }, z = { class: "flex flex-col gap-4 w-full p-12" }, I = /* @__PURE__ */ b({
|
|
4
4
|
__name: "ListRepeater",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as C, ref as y, computed as S, watch as $, resolveComponent as d, openBlock as g, createElementBlock as k, createElementVNode as o, toDisplayString as _, unref as i, createVNode as u, createBlock as F, withCtx as U } from "vue";
|
|
2
2
|
import { useCoreStore as P, useI18n as V } from "@feedmepos/mf-common";
|
|
3
|
-
import { B as h } from "./index-
|
|
3
|
+
import { B as h } from "./index-DbvZZQr6.js";
|
|
4
4
|
import { K as q } from "./vue-sonner-PX6Req0V.js";
|
|
5
|
-
import { r as I, I as T } from "./image-
|
|
5
|
+
import { r as I, I as T } from "./image-HDqbMgOR.js";
|
|
6
6
|
import { useSnackbar as A } from "@feedmepos/ui-library";
|
|
7
7
|
const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
8
8
|
"brand",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as De, openBlock as R, createElementBlock as k, normalizeClass as he, createElementVNode as M, toDisplayString as N, ref as oe, computed as re, watch as Re, resolveComponent as V, unref as
|
|
2
|
-
import { u as ue } from "./index-
|
|
1
|
+
import { defineComponent as De, openBlock as R, createElementBlock as k, normalizeClass as he, createElementVNode as M, toDisplayString as N, ref as oe, computed as re, watch as Re, resolveComponent as V, unref as T, Fragment as Qe, renderList as ce, createVNode as Z, createCommentVNode as P, createBlock as q, withCtx as ie, h as je } from "vue";
|
|
2
|
+
import { u as ue } from "./index-V999lx_3.js";
|
|
3
3
|
import { useCoreStore as Te, useI18n as Ae } from "@feedmepos/mf-common";
|
|
4
4
|
import { p as Oe } from "./views-BDWw3w14.js";
|
|
5
5
|
import { useRouter as Me } from "vue-router";
|
|
@@ -101,15 +101,15 @@ var Ce = { exports: {} };
|
|
|
101
101
|
return n ? W : W.endOf(O);
|
|
102
102
|
}, H = function(L, B) {
|
|
103
103
|
return r.w(o.toDate()[L].apply(o.toDate("s"), (n ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(B)), o);
|
|
104
|
-
}, u = this.$W,
|
|
104
|
+
}, u = this.$W, A = this.$M, x = this.$D, X = "set" + (this.$u ? "UTC" : "");
|
|
105
105
|
switch (h) {
|
|
106
106
|
case I:
|
|
107
107
|
return n ? c(1, 0) : c(31, 11);
|
|
108
108
|
case C:
|
|
109
|
-
return n ? c(1,
|
|
109
|
+
return n ? c(1, A) : c(0, A + 1);
|
|
110
110
|
case l:
|
|
111
111
|
var K = this.$locale().weekStart || 0, $ = (u < K ? u + 7 : u) - K;
|
|
112
|
-
return c(n ? x - $ : x + (6 - $),
|
|
112
|
+
return c(n ? x - $ : x + (6 - $), A);
|
|
113
113
|
case O:
|
|
114
114
|
case Q:
|
|
115
115
|
return H(X + "Hours", 0);
|
|
@@ -138,9 +138,9 @@ var Ce = { exports: {} };
|
|
|
138
138
|
}, i.add = function(e, a) {
|
|
139
139
|
var o, n = this;
|
|
140
140
|
e = Number(e);
|
|
141
|
-
var h = r.p(a), c = function(
|
|
141
|
+
var h = r.p(a), c = function(A) {
|
|
142
142
|
var x = j(n);
|
|
143
|
-
return r.w(x.date(x.date() + Math.round(
|
|
143
|
+
return r.w(x.date(x.date() + Math.round(A * e)), n);
|
|
144
144
|
};
|
|
145
145
|
if (h === C) return this.set(C, this.$M + e);
|
|
146
146
|
if (h === I) return this.set(I, this.$y + e);
|
|
@@ -153,7 +153,7 @@ var Ce = { exports: {} };
|
|
|
153
153
|
}, i.format = function(e) {
|
|
154
154
|
var a = this, o = this.$locale();
|
|
155
155
|
if (!this.isValid()) return o.invalidDate || w;
|
|
156
|
-
var n = e || "YYYY-MM-DDTHH:mm:ssZ", h = r.z(this), c = this.$H, H = this.$m, u = this.$M,
|
|
156
|
+
var n = e || "YYYY-MM-DDTHH:mm:ssZ", h = r.z(this), c = this.$H, H = this.$m, u = this.$M, A = o.weekdays, x = o.months, X = o.meridiem, K = function(B, W, ee, te) {
|
|
157
157
|
return B && (B[W] || B(a, n)) || ee[W].slice(0, te);
|
|
158
158
|
}, $ = function(B) {
|
|
159
159
|
return r.s(c % 12 || 12, B, "0");
|
|
@@ -183,11 +183,11 @@ var Ce = { exports: {} };
|
|
|
183
183
|
case "d":
|
|
184
184
|
return String(a.$W);
|
|
185
185
|
case "dd":
|
|
186
|
-
return K(o.weekdaysMin, a.$W,
|
|
186
|
+
return K(o.weekdaysMin, a.$W, A, 2);
|
|
187
187
|
case "ddd":
|
|
188
|
-
return K(o.weekdaysShort, a.$W,
|
|
188
|
+
return K(o.weekdaysShort, a.$W, A, 3);
|
|
189
189
|
case "dddd":
|
|
190
|
-
return
|
|
190
|
+
return A[a.$W];
|
|
191
191
|
case "H":
|
|
192
192
|
return String(c);
|
|
193
193
|
case "HH":
|
|
@@ -219,7 +219,7 @@ var Ce = { exports: {} };
|
|
|
219
219
|
}, i.utcOffset = function() {
|
|
220
220
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
221
221
|
}, i.diff = function(e, a, o) {
|
|
222
|
-
var n, h = this, c = r.p(a), H = j(e), u = (H.utcOffset() - this.utcOffset()) * E,
|
|
222
|
+
var n, h = this, c = r.p(a), H = j(e), u = (H.utcOffset() - this.utcOffset()) * E, A = this - H, x = function() {
|
|
223
223
|
return r.m(h, H);
|
|
224
224
|
};
|
|
225
225
|
switch (c) {
|
|
@@ -233,22 +233,22 @@ var Ce = { exports: {} };
|
|
|
233
233
|
n = x() / 3;
|
|
234
234
|
break;
|
|
235
235
|
case l:
|
|
236
|
-
n = (
|
|
236
|
+
n = (A - u) / 6048e5;
|
|
237
237
|
break;
|
|
238
238
|
case O:
|
|
239
|
-
n = (
|
|
239
|
+
n = (A - u) / 864e5;
|
|
240
240
|
break;
|
|
241
241
|
case f:
|
|
242
|
-
n =
|
|
242
|
+
n = A / m;
|
|
243
243
|
break;
|
|
244
244
|
case G:
|
|
245
|
-
n =
|
|
245
|
+
n = A / E;
|
|
246
246
|
break;
|
|
247
247
|
case U:
|
|
248
|
-
n =
|
|
248
|
+
n = A / D;
|
|
249
249
|
break;
|
|
250
250
|
default:
|
|
251
|
-
n =
|
|
251
|
+
n = A;
|
|
252
252
|
}
|
|
253
253
|
return o ? n : r.a(n);
|
|
254
254
|
}, i.daysInMonth = function() {
|
|
@@ -581,7 +581,7 @@ const fe = /* @__PURE__ */ Ee(we), Ye = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
581
581
|
), (I, Q) => {
|
|
582
582
|
const w = V("FmTab"), F = V("FmChip"), Y = V("FmIcon"), v = V("FmMenuItem"), S = V("FmMenuDivider"), J = V("FmPopover");
|
|
583
583
|
return R(), k("div", ye, [
|
|
584
|
-
M("div", We, N(
|
|
584
|
+
M("div", We, N(T(s)("brand.project.title.myProjects")), 1),
|
|
585
585
|
M("div", Se, [
|
|
586
586
|
(R(), k(Qe, null, ce(U, (g) => Z(w, {
|
|
587
587
|
label: g.label,
|
|
@@ -591,7 +591,7 @@ const fe = /* @__PURE__ */ Ee(we), Ye = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
591
591
|
}, null, 8, ["label", "value", "model-value", "onUpdate:modelValue"])), 64))
|
|
592
592
|
]),
|
|
593
593
|
M("div", ze, [
|
|
594
|
-
f.value.every((g) => g.predefined) ? (R(), k("div", Ke, N(
|
|
594
|
+
f.value.every((g) => g.predefined) ? (R(), k("div", Ke, N(T(s)("brand.project.message.customizationLimited")), 1)) : P("", !0),
|
|
595
595
|
M("div", Le, [
|
|
596
596
|
(R(!0), k(Qe, null, ce(f.value, (g) => (R(), k("div", {
|
|
597
597
|
class: "flex-initial",
|
|
@@ -607,22 +607,22 @@ const fe = /* @__PURE__ */ Ee(we), Ye = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
607
607
|
group: g.group
|
|
608
608
|
}, null, 8, ["type", "group"])) : (R(), k("img", qe)),
|
|
609
609
|
M("div", be, [
|
|
610
|
-
g.templateId ==
|
|
610
|
+
g.templateId == T(D).state.activeTemplateId ? (R(), q(F, {
|
|
611
611
|
key: 0,
|
|
612
612
|
compact: !0,
|
|
613
|
-
label:
|
|
613
|
+
label: T(s)("brand.project.chip.landing"),
|
|
614
614
|
class: "text-fm-color-system-warning-300 bg-fm-color-system-warning-100"
|
|
615
615
|
}, null, 8, ["label"])) : P("", !0),
|
|
616
|
-
g.templateId ==
|
|
616
|
+
g.templateId == T(D).state.activeMemberTemplateId ? (R(), q(F, {
|
|
617
617
|
key: 1,
|
|
618
618
|
compact: !0,
|
|
619
|
-
label:
|
|
619
|
+
label: T(s)("brand.project.chip.memberLanding"),
|
|
620
620
|
class: "text-fm-color-system-warning-300 bg-fm-color-system-warning-100"
|
|
621
621
|
}, null, 8, ["label"])) : P("", !0),
|
|
622
622
|
g.isPublished && !g.predefined ? (R(), q(F, {
|
|
623
623
|
key: 2,
|
|
624
624
|
compact: !0,
|
|
625
|
-
label:
|
|
625
|
+
label: T(s)("brand.project.chip.published"),
|
|
626
626
|
class: "text-fm-color-system-success-400 bg-fm-color-system-success-100"
|
|
627
627
|
}, null, 8, ["label"])) : P("", !0),
|
|
628
628
|
!g.editable && g.predefined ? (R(), k("div", Xe, [
|
|
@@ -630,26 +630,26 @@ const fe = /* @__PURE__ */ Ee(we), Ye = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
630
630
|
name: "visibility",
|
|
631
631
|
size: "sm"
|
|
632
632
|
}),
|
|
633
|
-
M("span", null, N(
|
|
633
|
+
M("span", null, N(T(s)("brand.project.chip.viewOnly")), 1)
|
|
634
634
|
])) : P("", !0),
|
|
635
635
|
g.editable && g.predefined ? (R(), k("div", Ve, [
|
|
636
636
|
Z(Y, {
|
|
637
637
|
name: "edit",
|
|
638
638
|
size: "sm"
|
|
639
639
|
}),
|
|
640
|
-
M("span", null, N(
|
|
640
|
+
M("span", null, N(T(s)("brand.project.chip.limitedCustomization")), 1)
|
|
641
641
|
])) : P("", !0)
|
|
642
642
|
])
|
|
643
643
|
], 10, Ze),
|
|
644
644
|
M("div", _e, [
|
|
645
645
|
M("div", $e, [
|
|
646
646
|
M("p", eo, N(g.templateAlias), 1),
|
|
647
|
-
g.predefined ? P("", !0) : (R(), k("p", oo, N(
|
|
648
|
-
time:
|
|
647
|
+
g.predefined ? P("", !0) : (R(), k("p", oo, N(T(s)("brand.project.message.editedAgo", {
|
|
648
|
+
time: T(ne)(g.updatedAt).fromNow(!0)
|
|
649
649
|
})), 1)),
|
|
650
|
-
g.predefined ? (R(), k("p", io, N(
|
|
651
|
-
g.isPublished && !g.predefined ? (R(), k("p", ao, N(
|
|
652
|
-
date:
|
|
650
|
+
g.predefined ? (R(), k("p", io, N(T(s)("brand.project.message.nonEditablePage")), 1)) : P("", !0),
|
|
651
|
+
g.isPublished && !g.predefined ? (R(), k("p", ao, N(T(s)("brand.project.message.lastPublished", {
|
|
652
|
+
date: T(ne)(g.publishedAt).format("D/M/YYYY")
|
|
653
653
|
})), 1)) : P("", !0)
|
|
654
654
|
]),
|
|
655
655
|
g.predefined ? P("", !0) : (R(), q(J, { key: 0 }, {
|
|
@@ -659,15 +659,15 @@ const fe = /* @__PURE__ */ Ee(we), Ye = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
659
659
|
default: ie(() => [
|
|
660
660
|
M("div", go, [
|
|
661
661
|
Z(v, {
|
|
662
|
-
label: "
|
|
662
|
+
label: T(s)("brand.project.menu.rename"),
|
|
663
663
|
icon: "edit",
|
|
664
664
|
onClick: (d) => l(g)
|
|
665
|
-
}, null, 8, ["onClick"]),
|
|
665
|
+
}, null, 8, ["label", "onClick"]),
|
|
666
666
|
Z(v, {
|
|
667
667
|
onClick: (d) => C(g)
|
|
668
668
|
}, {
|
|
669
669
|
label: ie(() => [
|
|
670
|
-
M("span", to, N(
|
|
670
|
+
M("span", to, N(T(s)("brand.project.menu.delete")), 1)
|
|
671
671
|
]),
|
|
672
672
|
prepend: ie(() => [
|
|
673
673
|
Z(Y, {
|
|
@@ -684,7 +684,7 @@ const fe = /* @__PURE__ */ Ee(we), Ye = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
684
684
|
onClick: (d) => y(g)
|
|
685
685
|
}, {
|
|
686
686
|
label: ie(() => [
|
|
687
|
-
M("span", so, N(
|
|
687
|
+
M("span", so, N(T(s)("brand.project.menu.unpublish")), 1)
|
|
688
688
|
]),
|
|
689
689
|
_: 2
|
|
690
690
|
}, 1032, ["onClick"])) : P("", !0)
|