@feedmepos/mf-settings 0.0.48-beta.0-ex → 0.0.49
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-358f23fc.js +53 -0
- package/dist/Business-618e5ec3.js +3888 -0
- package/dist/{CreateBusiness-e05859f6.js → CreateBusiness-8f569ca5.js} +17 -19
- package/dist/FoodCourt-b50a5495.js +47800 -0
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-664bb402.js +395 -0
- package/dist/app-050b47dd.js +34303 -0
- package/dist/app.js +5 -7
- package/dist/apps/mf-settings/src/app.d.ts +1 -1
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/index-3dd7fe2c.js +17754 -0
- package/package.json +3 -3
- package/dist/Business-c2cc9ee7.js +0 -4182
- package/dist/FoodCourt-b9e42611.js +0 -12454
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-65f62fbb.js +0 -101
- package/dist/app-29117ada.js +0 -17441
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { unref as n, defineComponent as A, openBlock as
|
|
1
|
+
import { unref as n, defineComponent as A, openBlock as g, createElementBlock as y, ref as f, watch as $, computed as j, watchEffect as G, onBeforeUnmount as P, resolveComponent as h, createVNode as v, withCtx as W, createElementVNode as s, toDisplayString as b, Fragment as z, renderList as R, normalizeClass as Z, createBlock as q, createCommentVNode as Q } from "vue";
|
|
2
2
|
import { useCoreStore as Y, useI18n as J, CountryOptions as K } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as X, r as ee } from "./rules-c9fa22f8.js";
|
|
4
|
-
import {
|
|
5
|
-
import "@feedmepos/core/entity";
|
|
4
|
+
import { s as te, v as w, F as se } from "./app-050b47dd.js";
|
|
6
5
|
import { useSnackbar as ne } from "@feedmepos/ui-library";
|
|
7
6
|
import { useRouter as oe } from "vue-router";
|
|
8
7
|
import "@feedmepos/mf-mdm";
|
|
9
8
|
import "@feedmepos/mf-e-invoice";
|
|
10
9
|
import "pinia";
|
|
11
10
|
import "@vue/devtools-api";
|
|
12
|
-
import "@feedmepos/core";
|
|
13
11
|
function L(r) {
|
|
14
12
|
return typeof r == "function" ? r() : n(r);
|
|
15
13
|
}
|
|
@@ -64,14 +62,14 @@ const re = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
|
|
|
64
62
|
`, ce = ["innerHTML"], ue = /* @__PURE__ */ A({
|
|
65
63
|
__name: "FeedmeLogo",
|
|
66
64
|
setup(r) {
|
|
67
|
-
return (e, o) => (
|
|
65
|
+
return (e, o) => (g(), y("div", {
|
|
68
66
|
class: "logo",
|
|
69
67
|
style: { width: "54px", height: "54px" },
|
|
70
68
|
innerHTML: n(re)
|
|
71
69
|
}, null, 8, ce));
|
|
72
70
|
}
|
|
73
71
|
});
|
|
74
|
-
const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" },
|
|
72
|
+
const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ve = { class: "space-y-8" }, ge = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, Ie = /* @__PURE__ */ A({
|
|
75
73
|
__name: "CreateBusiness",
|
|
76
74
|
setup(r) {
|
|
77
75
|
var V;
|
|
@@ -131,8 +129,8 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
131
129
|
e.hideSidebarToggle(!1);
|
|
132
130
|
}), (p, d) => {
|
|
133
131
|
const k = h("FmTextField"), N = h("FmSnackbar"), T = h("FmButton"), O = h("FmForm");
|
|
134
|
-
return
|
|
135
|
-
|
|
132
|
+
return g(), y("div", me, [
|
|
133
|
+
v(O, {
|
|
136
134
|
class: "w-[540px] xs:w-full xs:px-16 space-y-24",
|
|
137
135
|
"blame-form-child-on-validation-failed": "",
|
|
138
136
|
"on-validation-success": I
|
|
@@ -141,7 +139,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
141
139
|
var B, H, U;
|
|
142
140
|
return [
|
|
143
141
|
s("div", null, [
|
|
144
|
-
|
|
142
|
+
v(de)
|
|
145
143
|
]),
|
|
146
144
|
s("div", pe, [
|
|
147
145
|
s("div", _e, [
|
|
@@ -151,7 +149,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
151
149
|
s("div", null, b(n(l)("settings.create_business.subtitle")), 1)
|
|
152
150
|
]),
|
|
153
151
|
s("div", null, [
|
|
154
|
-
|
|
152
|
+
v(k, {
|
|
155
153
|
label: n(l)("settings.create_business.business_name.label"),
|
|
156
154
|
"label-mark": "required",
|
|
157
155
|
rules: [n(ee)],
|
|
@@ -160,7 +158,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
160
158
|
}, null, 8, ["label", "rules", "modelValue"])
|
|
161
159
|
]),
|
|
162
160
|
s("div", null, [
|
|
163
|
-
|
|
161
|
+
v(k, {
|
|
164
162
|
label: n(l)("settings.create_business.agent.label"),
|
|
165
163
|
modelValue: t.value,
|
|
166
164
|
"onUpdate:modelValue": [
|
|
@@ -170,12 +168,12 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
170
168
|
rules: [(a) => !a || u.value || n(l)("settings.create_business.agent.invalid")]
|
|
171
169
|
}, null, 8, ["label", "modelValue", "onUpdate:modelValue", "rules"])
|
|
172
170
|
]),
|
|
173
|
-
s("div",
|
|
174
|
-
s("div",
|
|
171
|
+
s("div", ve, [
|
|
172
|
+
s("div", ge, b(n(l)("settings.create_business.country.title")), 1),
|
|
175
173
|
s("div", he, [
|
|
176
|
-
(
|
|
174
|
+
(g(!0), y(z, null, R(n(K), (a) => (g(), y("div", {
|
|
177
175
|
key: a.code,
|
|
178
|
-
class:
|
|
176
|
+
class: Z(["flex-1 h-[124px] flex justify-center items-center border-2 fm-corner-radius-md cursor-pointer", [
|
|
179
177
|
i.value === a.code ? "border-fm-color-primary" : "border-fm-color-neutral-gray-200",
|
|
180
178
|
i.value === a.code ? "bg-fm-color-system-warning-100" : "bg-fm-color-neutral-white"
|
|
181
179
|
]]),
|
|
@@ -192,7 +190,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
192
190
|
], 10, be))), 128))
|
|
193
191
|
])
|
|
194
192
|
]),
|
|
195
|
-
m.value.length > 0 ? (
|
|
193
|
+
m.value.length > 0 ? (g(), q(N, {
|
|
196
194
|
key: 0,
|
|
197
195
|
variant: "info",
|
|
198
196
|
title: n(l)("settings.create_business.country.exists.title"),
|
|
@@ -200,7 +198,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
200
198
|
}, null, 8, ["title", "description"])) : Q("", !0),
|
|
201
199
|
s("div", Fe, [
|
|
202
200
|
s("div", null, [
|
|
203
|
-
|
|
201
|
+
v(T, {
|
|
204
202
|
label: n(l)("settings.create_business.submit"),
|
|
205
203
|
variant: "primary",
|
|
206
204
|
size: "lg",
|
|
@@ -210,7 +208,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
210
208
|
}, null, 8, ["label", "disabled"])
|
|
211
209
|
]),
|
|
212
210
|
s("div", null, [
|
|
213
|
-
|
|
211
|
+
v(T, {
|
|
214
212
|
label: n(l)("settings.create_business.logout"),
|
|
215
213
|
variant: "secondary",
|
|
216
214
|
size: "lg",
|
|
@@ -229,5 +227,5 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
229
227
|
}
|
|
230
228
|
});
|
|
231
229
|
export {
|
|
232
|
-
|
|
230
|
+
Ie as default
|
|
233
231
|
};
|