@stonecrop/desktop 0.2.48 → 0.2.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/desktop.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as X, ref as I, onMounted as Be, openBlock as C, createElementBlock as j, normalizeClass as Se, createElementVNode as B, Fragment as Ne, renderList as Ce, toDisplayString as ue, createCommentVNode as ye, withDirectives as Ze, vShow as on, computed as T, createBlock as xe, resolveDynamicComponent as rn, mergeProps as sn, effectScope as wo, markRaw as $e, inject as se, onBeforeMount as Nr, shallowRef as Cr, toRaw as et, unref as k, shallowReactive as Ir, watch as F, nextTick as Re, hasInjectionContext as Pr, getCurrentInstance as We, reactive as ke, h as _o, provide as ft, isRef as tt, isReactive as an, toRef as ht, watchEffect as Dr, getCurrentScope as xt, onScopeDispose as St, toRefs as In, useTemplateRef as Nt, normalizeStyle as ce, renderSlot as ve, createVNode as Et, withCtx as kt, createTextVNode as Eo, onBeforeUnmount as Ar, readonly as Tr, customRef as Rr, resolveComponent as Vr, withKeys as ct, vModelText as jr } from "vue";
1
+ import { defineComponent as X, ref as I, onMounted as Be, openBlock as C, createElementBlock as j, normalizeClass as Se, createElementVNode as B, Fragment as Ne, renderList as Ce, toDisplayString as ue, createCommentVNode as ye, withDirectives as Ze, vShow as on, computed as T, createBlock as xe, resolveDynamicComponent as rn, mergeProps as sn, effectScope as wo, markRaw as $e, inject as se, onBeforeMount as Nr, shallowRef as Cr, toRaw as et, unref as k, shallowReactive as Ir, watch as F, nextTick as Re, hasInjectionContext as Pr, getCurrentInstance as We, reactive as ke, h as _o, provide as ft, isRef as tt, isReactive as an, toRef as ht, watchEffect as Dr, getCurrentScope as xt, onScopeDispose as St, toRefs as In, useTemplateRef as Nt, normalizeStyle as ce, renderSlot as ve, createVNode as Et, withCtx as kt, readonly as Ar, customRef as Tr, createTextVNode as Eo, onBeforeUnmount as Rr, resolveComponent as Vr, withKeys as ct, vModelText as jr } from "vue";
2
2
  const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr = ["onClick"], Ur = { class: "dropdown-container" }, Hr = { class: "dropdown" }, Fr = ["onclick"], zr = ["href"], Gr = { class: "dropdown-item" }, qr = /* @__PURE__ */ X({
3
3
  __name: "ActionSet",
4
4
  props: {
@@ -157,7 +157,7 @@ const Zr = { class: "aform" }, es = /* @__PURE__ */ X({
157
157
  }, r(c)), null, 16, ["schema", "modelValue", "onUpdate:modelValue", "data", "readonly"]))), 128))
158
158
  ]));
159
159
  }
160
- }), ts = /* @__PURE__ */ Xr(es, [["__scopeId", "data-v-15ed36be"]]);
160
+ }), ts = /* @__PURE__ */ Xr(es, [["__scopeId", "data-v-f3a1a760"]]);
161
161
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
162
162
  var ns = Object.defineProperty, os = (e, t, n) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Q = (e, t, n) => os(e, typeof t != "symbol" ? t + "" : t, n);
163
163
  function Gt(e) {
@@ -4277,7 +4277,7 @@ function br(e) {
4277
4277
  s.push(f);
4278
4278
  }
4279
4279
  }
4280
- }), Ar(() => {
4280
+ }), Rr(() => {
4281
4281
  for (const i of s)
4282
4282
  i();
4283
4283
  });
@@ -4569,7 +4569,7 @@ function Kl(...e) {
4569
4569
  if (e.length !== 1)
4570
4570
  return ht(...e);
4571
4571
  const t = e[0];
4572
- return typeof t == "function" ? Tr(Rr(() => ({ get: t, set: Xe }))) : I(t);
4572
+ return typeof t == "function" ? Ar(Tr(() => ({ get: t, set: Xe }))) : I(t);
4573
4573
  }
4574
4574
  function Je(e) {
4575
4575
  var t;
@@ -4887,7 +4887,7 @@ const tc = {
4887
4887
  columns: k(s).columns,
4888
4888
  tableid: k(s).id
4889
4889
  }, null, 8, ["columns", "tableid"])
4890
- ]),
4890
+ ], !0),
4891
4891
  B("tbody", null, [
4892
4892
  ve(c.$slots, "body", { data: k(s) }, () => [
4893
4893
  (C(!0), j(Ne, null, Ce(k(s).rows, (u, d) => (C(), xe(zl, {
@@ -4915,9 +4915,9 @@ const tc = {
4915
4915
  ]),
4916
4916
  _: 2
4917
4917
  }, 1032, ["row", "rowIndex", "tableid"]))), 128))
4918
- ])
4918
+ ], !0)
4919
4919
  ]),
4920
- ve(c.$slots, "footer", { data: k(s) }),
4920
+ ve(c.$slots, "footer", { data: k(s) }, void 0, !0),
4921
4921
  ve(c.$slots, "modal", { data: k(s) }, () => [
4922
4922
  Ze(Et(rc, {
4923
4923
  colIndex: k(s).modal.colIndex,
@@ -4941,23 +4941,28 @@ const tc = {
4941
4941
  }, 8, ["colIndex", "rowIndex", "tableid", "style"]), [
4942
4942
  [on, k(s).modal.visible]
4943
4943
  ])
4944
- ])
4944
+ ], !0)
4945
4945
  ], 4)), [
4946
4946
  [k(Yl), a]
4947
4947
  ]);
4948
4948
  }
4949
- }), ac = /* @__PURE__ */ X({
4949
+ }), ac = (e, t) => {
4950
+ const n = e.__vccOpts || e;
4951
+ for (const [o, r] of t)
4952
+ n[o] = r;
4953
+ return n;
4954
+ }, ic = /* @__PURE__ */ ac(sc, [["__scopeId", "data-v-2896bed9"]]), lc = /* @__PURE__ */ X({
4950
4955
  __name: "Records",
4951
4956
  setup(e) {
4952
4957
  const { stonecrop: t, isReady: n } = jo(), o = { view: "list" };
4953
- return (r, s) => k(n) ? (C(), xe(k(sc), {
4958
+ return (r, s) => k(n) ? (C(), xe(k(ic), {
4954
4959
  key: 0,
4955
4960
  columns: k(t).schema.schema.toArray(),
4956
4961
  rows: k(t).store.records,
4957
4962
  config: o
4958
4963
  }, null, 8, ["columns", "rows"])) : ye("", !0);
4959
4964
  }
4960
- }), ic = { class: "tabs" }, lc = { tabindex: "0" }, cc = {
4965
+ }), cc = { class: "tabs" }, uc = { tabindex: "0" }, dc = {
4961
4966
  version: "1.1",
4962
4967
  id: "Capa_1",
4963
4968
  xmlns: "http://www.w3.org/2000/svg",
@@ -4967,7 +4972,7 @@ const tc = {
4967
4972
  viewBox: "0 0 424.098 424.098",
4968
4973
  style: { "enable-background": "new 0 0 424.098 424.098" },
4969
4974
  "xml:space": "preserve"
4970
- }, uc = { tabindex: "0" }, dc = { style: { width: "11pt" } }, pc = /* @__PURE__ */ X({
4975
+ }, pc = { tabindex: "0" }, fc = { style: { width: "11pt" } }, hc = /* @__PURE__ */ X({
4971
4976
  __name: "SheetNav",
4972
4977
  props: {
4973
4978
  breadcrumbs: { default: () => [] }
@@ -4988,13 +4993,13 @@ const tc = {
4988
4993
  return (d, p) => {
4989
4994
  const f = Vr("router-link");
4990
4995
  return C(), j("footer", null, [
4991
- B("ul", ic, [
4996
+ B("ul", cc, [
4992
4997
  B("li", {
4993
4998
  class: "hidebreadcrumbs",
4994
4999
  onClick: i,
4995
5000
  onKeydown: ct(i, ["enter"])
4996
5001
  }, [
4997
- B("a", lc, [
5002
+ B("a", uc, [
4998
5003
  B("div", {
4999
5004
  class: Se(s.value)
5000
5005
  }, "×", 2)
@@ -5011,7 +5016,7 @@ const tc = {
5011
5016
  tabindex: "0"
5012
5017
  }, {
5013
5018
  default: kt(() => [
5014
- (C(), j("svg", cc, p[5] || (p[5] = [
5019
+ (C(), j("svg", dc, p[5] || (p[5] = [
5015
5020
  B("g", null, [
5016
5021
  B("path", {
5017
5022
  style: { fill: "#010002" },
@@ -5037,11 +5042,11 @@ const tc = {
5037
5042
  onKeydown: ct(a, ["enter"]),
5038
5043
  style: ce({ display: t.value ? "block" : "none" })
5039
5044
  }, [
5040
- B("a", uc, [
5045
+ B("a", pc, [
5041
5046
  B("span", {
5042
5047
  style: ce({ display: n.value ? "none" : "block" })
5043
5048
  }, [
5044
- (C(), j("svg", dc, p[6] || (p[6] = [
5049
+ (C(), j("svg", fc, p[6] || (p[6] = [
5045
5050
  B("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
5046
5051
  B("path", {
5047
5052
  d: "M 93.148438,80.832031 C 109.5,57.742188 104.03125,25.769531 80.941406,9.421875 57.851562,-6.925781 25.878906,-1.460938 9.53125,21.632812 -6.816406,44.722656 -1.351562,76.691406 21.742188,93.039062 38.222656,104.70703 60.011719,105.60547 77.394531,95.339844 l 37.769529,37.542966 c 4.07813,4.29297 10.86328,4.46485 15.15625,0.38672 4.29297,-4.07422 4.46485,-10.85937 0.39063,-15.15234 -0.12891,-0.13672 -0.25391,-0.26172 -0.39063,-0.39063 z m -41.839844,3.5 C 33.0625,84.335938 18.269531,69.554688 18.257812,51.308594 18.253906,33.0625 33.035156,18.269531 51.285156,18.261719 c 18.222656,-0.0078 33.007813,14.75 33.042969,32.972656 0.03125,18.25 -14.742187,33.066406 -32.996094,33.097656 -0.0078,0 -0.01172,0 -0.02344,0 z m 0,0",
@@ -5083,17 +5088,17 @@ const tc = {
5083
5088
  ]);
5084
5089
  };
5085
5090
  }
5086
- }), fc = /* @__PURE__ */ ln(pc, [["__scopeId", "data-v-a650f215"]]), vc = {
5091
+ }), mc = /* @__PURE__ */ ln(hc, [["__scopeId", "data-v-a650f215"]]), yc = {
5087
5092
  install: (e) => {
5088
- e.component("ActionSet", Jr), e.component("CommandPalette", Qr), e.component("Doctype", ul), e.component("Records", ac), e.component("SheetNav", fc);
5093
+ e.component("ActionSet", Jr), e.component("CommandPalette", Qr), e.component("Doctype", ul), e.component("Records", lc), e.component("SheetNav", mc);
5089
5094
  }
5090
5095
  };
5091
5096
  export {
5092
5097
  Jr as ActionSet,
5093
5098
  Qr as CommandPalette,
5094
5099
  ul as Doctype,
5095
- ac as Records,
5096
- fc as SheetNav,
5097
- vc as StonecropDesktop
5100
+ lc as Records,
5101
+ mc as SheetNav,
5102
+ yc as StonecropDesktop
5098
5103
  };
5099
5104
  //# sourceMappingURL=desktop.js.map