@opengis/cms 0.0.31 → 0.0.32

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
@@ -4601,16 +4601,16 @@ const Zd = { class: "flex items-center justify-between" }, Qd = { class: "flex i
4601
4601
  }, u = (f, h) => {
4602
4602
  switch (f) {
4603
4603
  case "edit":
4604
- r("cms.edit", h), a.onEdit && a.onEdit(h);
4604
+ r("edit", h), a.onEdit && a.onEdit(h);
4605
4605
  break;
4606
4606
  case "view":
4607
- r("cms.view", h), a.onView && a.onView(h);
4607
+ r("view", h), a.onView && a.onView(h);
4608
4608
  break;
4609
4609
  case "delete":
4610
- r("cms.delete", h);
4610
+ r("delete", h);
4611
4611
  break;
4612
4612
  case "more":
4613
- r("cms.more", h), a.onMore && a.onMore(h);
4613
+ r("more", h), a.onMore && a.onMore(h);
4614
4614
  break;
4615
4615
  }
4616
4616
  }, d = (f) => {
@@ -14744,13 +14744,13 @@ const Dk = /* @__PURE__ */ Ll(Ik, [["render", Nk]]), Fk = { class: "grid grid-co
14744
14744
  const l = e, a = t, r = (s, u) => {
14745
14745
  switch (s) {
14746
14746
  case "edit":
14747
- a("cms.edit", u), l.onEdit && l.onEdit(u);
14747
+ a("edit", u), l.onEdit && l.onEdit(u);
14748
14748
  break;
14749
14749
  case "view":
14750
- a("cms.view", u), l.onView && l.onView(u);
14750
+ a("view", u), l.onView && l.onView(u);
14751
14751
  break;
14752
14752
  case "delete":
14753
- a("cms.delete", u), l.onDelete && l.onDelete(u);
14753
+ a("delete", u), l.onDelete && l.onDelete(u);
14754
14754
  break;
14755
14755
  }
14756
14756
  }, n = (s) => {
@@ -15011,7 +15011,7 @@ async function g_() {
15011
15011
  return window.monaco;
15012
15012
  const e = "https://cdn.jsdelivr.net/npm/monaco-editor@0.45.0/min";
15013
15013
  return window.require || (window.require = { paths: { vs: `${e}/vs` } }, await new Promise((t, l) => {
15014
- const a = document.createElement("cms.script");
15014
+ const a = document.createElement("script");
15015
15015
  a.src = `${e}/vs/loader.min.js`, a.onload = () => t(), a.onerror = l, document.head.appendChild(a);
15016
15016
  })), new Promise((t) => {
15017
15017
  window.require(["vs/editor/editor.main"], () => t(window.monaco));
@@ -19531,7 +19531,7 @@ const GC = {
19531
19531
  (c == null ? void 0 : c.type) === "dir" ? (p(), m("div", {
19532
19532
  key: 0,
19533
19533
  class: "p-6 text-center rounded-xl h-[fit-content] relative text-card-foreground shadow-lg border-0 bg-white dark:bg-slate-800 backdrop-blur-sm hover:shadow-xl transition-all duration-200 transform hover:scale-105 cursor-pointer",
19534
- onClick: (h) => s.$emit("cms.file-click", c)
19534
+ onClick: (h) => s.$emit("file-click", c)
19535
19535
  }, [
19536
19536
  e.isDeleteButton ? (p(), m("div", {
19537
19537
  key: 0,
@@ -19550,7 +19550,7 @@ const GC = {
19550
19550
  class: G(["h-[fit-content] rounded-xl text-card-foreground shadow-lg border-0 bg-white dark:bg-slate-800 backdrop-blur-sm hover:shadow-xl transition-all duration-200 transform hover:scale-105 group cursor-pointer", {
19551
19551
  "bg-accent text-accent-foreground ring-2 ring-primary": ((f = e.selectedFile) == null ? void 0 : f.url) === (c == null ? void 0 : c.url) || e.selectedFiles && e.selectedFiles.some((h) => h.id === c.id)
19552
19552
  }]),
19553
- onClick: (h) => s.$emit("cms.file-click", c)
19553
+ onClick: (h) => s.$emit("file-click", c)
19554
19554
  }, [
19555
19555
  i("div", t3, [
19556
19556
  i("div", l3, [
@@ -19659,7 +19659,7 @@ const x3 = /* @__PURE__ */ Ll(g3, [["render", y3]]), w3 = {
19659
19659
  }
19660
19660
  });
19661
19661
  }, o = () => {
19662
- r("cms.delete-folder", a.value);
19662
+ r("delete-folder", a.value);
19663
19663
  };
19664
19664
  return (s, u) => {
19665
19665
  const d = pl("File");
@@ -20277,7 +20277,7 @@ const Ui = /* @__PURE__ */ Ll(LE, [["render", AE]]), TE = {
20277
20277
  this.inputValue = e;
20278
20278
  },
20279
20279
  inputValue(e) {
20280
- this.$emit("cms.update:modelValue", e);
20280
+ this.$emit("update:modelValue", e);
20281
20281
  }
20282
20282
  },
20283
20283
  methods: {
@@ -20286,7 +20286,7 @@ const Ui = /* @__PURE__ */ Ll(LE, [["render", AE]]), TE = {
20286
20286
  },
20287
20287
  handleBlur() {
20288
20288
  let e = parseFloat(this.inputValue);
20289
- this.$emit("cms.blur"), isNaN(e) ? e = this.min : e > this.max ? e = this.max : e < this.min && (e = this.min), this.inputValue = e, this.$emit("cms.update:modelValue", this.inputValue);
20289
+ this.$emit("blur"), isNaN(e) ? e = this.min : e > this.max ? e = this.max : e < this.min && (e = this.min), this.inputValue = e, this.$emit("update:modelValue", this.inputValue);
20290
20290
  }
20291
20291
  }
20292
20292
  }, SE = { class: "p-0" }, ME = ["step", "min", "max", "id", "placeholder", "disabled"];