@opengis/cms 0.0.37 → 0.0.38

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/index.js CHANGED
@@ -21097,7 +21097,7 @@ const _u = /* @__PURE__ */ _l(E$, [["render", L$]]), Cu = {
21097
21097
  }, fL = /* @__PURE__ */ le({
21098
21098
  __name: "MenuPage",
21099
21099
  setup(e) {
21100
- const { t, locale: l } = Ke(), r = Xt(), a = $(""), n = $([]), o = $([]), s = $(""), u = $([
21100
+ const { t, locale: l } = Ke({ useScope: "global" }), r = Xt(), a = $(""), n = $([]), o = $([]), s = $(""), u = $([
21101
21101
  { name: "name", title: t("cms.menu.form.name"), type: "text" },
21102
21102
  { name: "description", title: t("cms.menu.form.description"), type: "text" },
21103
21103
  { name: "locale", title: t("cms.menu.form.language"), type: "select", data: [{ text: "uk", id: "uk" }, { text: "en", id: "en" }] }
@@ -21190,7 +21190,7 @@ const _u = /* @__PURE__ */ _l(E$, [["render", L$]]), Cu = {
21190
21190
  __name: "MenuAddPage",
21191
21191
  setup(e) {
21192
21192
  Xe["vs-input-monaco-editor"] = Ia;
21193
- const { t } = Ke(), l = Xt(), r = ql(), a = $([
21193
+ const { t } = Ke({ useScope: "global" }), l = Xt(), r = ql(), a = $([
21194
21194
  {
21195
21195
  key: "name",
21196
21196
  title: t("cms.menu.form.name"),
@@ -21393,7 +21393,7 @@ const P6 = /* @__PURE__ */ _l(D6, [["render", R6]]), j6 = {
21393
21393
  },
21394
21394
  emits: ["update:list", "delete:item"],
21395
21395
  setup(e, { emit: t }) {
21396
- const { t: l } = Ke(), r = e, a = t, n = $([]);
21396
+ const { t: l } = Ke({ useScope: "global" }), r = e, a = t, n = $([]);
21397
21397
  ie(
21398
21398
  () => r.list,
21399
21399
  (c) => {
@@ -21461,7 +21461,7 @@ const P6 = /* @__PURE__ */ _l(D6, [["render", R6]]), j6 = {
21461
21461
  },
21462
21462
  emits: /* @__PURE__ */ Re(["addNewItem"], ["update:isOpen"]),
21463
21463
  setup(e, { emit: t }) {
21464
- const { t: l } = Ke(), r = Ae(e, "isOpen"), a = $({}), n = t, o = $({}), s = {
21464
+ const { t: l } = Ke({ useScope: "global" }), r = Ae(e, "isOpen"), a = $({}), n = t, o = $({}), s = {
21465
21465
  title: {
21466
21466
  type: "text",
21467
21467
  label: l("cms.menu.form.name"),
@@ -21530,7 +21530,7 @@ const P6 = /* @__PURE__ */ _l(D6, [["render", R6]]), j6 = {
21530
21530
  emits: ["update:modelValue"],
21531
21531
  setup(e) {
21532
21532
  Xe["vs-input-monaco-editor"] = Ia;
21533
- const { t } = Ke(), l = $(!1), r = $(null), a = Ae(e, "modelValue"), n = $({}), o = async (v) => {
21533
+ const { t } = Ke({ useScope: "global" }), l = $(!1), r = $(null), a = Ae(e, "modelValue"), n = $({}), o = async (v) => {
21534
21534
  try {
21535
21535
  if (await n.value.validate()) {
21536
21536
  Ce({
@@ -22505,7 +22505,7 @@ const ZA = { class: "space-y-6 max-w-7xl mx-auto" }, QA = { class: "flex items-c
22505
22505
  __name: "MenuItemPage",
22506
22506
  setup(e) {
22507
22507
  Xe["vs-input-monaco-editor"] = Ia;
22508
- const { t, locale: l } = Ke(), r = Xt(), a = ql(), n = P(() => [
22508
+ const { t, locale: l } = Ke({ useScope: "global" }), r = Xt(), a = ql(), n = P(() => [
22509
22509
  {
22510
22510
  key: "name",
22511
22511
  title: t("cms.menu.form.name"),