@bagelink/vue 0.0.455 → 0.0.460

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.
@@ -3,6 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
3
3
  thin?: boolean | undefined;
4
4
  outline?: boolean | undefined;
5
5
  h100?: boolean | undefined;
6
+ to?: string | undefined;
6
7
  overflowX?: boolean | undefined;
7
8
  overflowY?: boolean | undefined;
8
9
  bg?: "info" | "light" | "warning" | "white" | "gray" | "primary" | "transparent" | "dark" | "secondary" | "success" | "danger" | undefined;
@@ -11,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
11
12
  thin?: boolean | undefined;
12
13
  outline?: boolean | undefined;
13
14
  h100?: boolean | undefined;
15
+ to?: string | undefined;
14
16
  overflowX?: boolean | undefined;
15
17
  overflowY?: boolean | undefined;
16
18
  bg?: "info" | "light" | "warning" | "white" | "gray" | "primary" | "transparent" | "dark" | "secondary" | "success" | "danger" | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../src/components/Card.vue"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;AA+IA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../src/components/Card.vue"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;;;;;;AAoJA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MapEmbed.vue.d.ts","sourceRoot":"","sources":["../../src/components/MapEmbed.vue"],"names":[],"mappings":"AAGA;AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAe,MAAM,SAAS,CAAC;AAC7D,OAAO,0BAA0B,CAAC;AAKlC,KAAK,QAAQ,GAAG;IACf,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;;AAiFF,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"MapEmbed.vue.d.ts","sourceRoot":"","sources":["../../src/components/MapEmbed.vue"],"names":[],"mappings":"AAIA;AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAe,MAAM,SAAS,CAAC;AAC7D,OAAO,0BAA0B,CAAC;AAKlC,KAAK,QAAQ,GAAG;IACf,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;;AAwFF,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
package/dist/index.cjs CHANGED
@@ -5123,7 +5123,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5123
5123
  };
5124
5124
  }
5125
5125
  });
5126
- const _hoisted_1$F = { class: "full-nav" };
5126
+ const _hoisted_1$G = { class: "full-nav" };
5127
5127
  const _hoisted_2$y = { class: "nav-scroll" };
5128
5128
  const _hoisted_3$n = { class: "nav-links-wrapper" };
5129
5129
  const _hoisted_4$g = { class: "tooltip" };
@@ -5158,7 +5158,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5158
5158
  class: "top-arrow"
5159
5159
  })
5160
5160
  ], 32),
5161
- vue.createElementVNode("div", _hoisted_1$F, [
5161
+ vue.createElementVNode("div", _hoisted_1$G, [
5162
5162
  vue.createElementVNode("div", _hoisted_2$y, [
5163
5163
  vue.createElementVNode("div", _hoisted_3$n, [
5164
5164
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
@@ -5217,7 +5217,7 @@ const _export_sfc = (sfc, props2) => {
5217
5217
  return target;
5218
5218
  };
5219
5219
  const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-4b0a42be"]]);
5220
- const _hoisted_1$E = {
5220
+ const _hoisted_1$F = {
5221
5221
  key: 0,
5222
5222
  class: "loading"
5223
5223
  };
@@ -5312,7 +5312,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5312
5312
  })
5313
5313
  }, {
5314
5314
  default: vue.withCtx(() => [
5315
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
5315
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
5316
5316
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), {
5317
5317
  key: 0,
5318
5318
  icon: _ctx.icon
@@ -5333,13 +5333,13 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5333
5333
  }
5334
5334
  });
5335
5335
  const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-d09a83c5"]]);
5336
- const _hoisted_1$D = {
5336
+ const _hoisted_1$E = {
5337
5337
  key: 0,
5338
5338
  class: "tool-bar"
5339
5339
  };
5340
5340
  const _hoisted_2$w = {
5341
5341
  key: 1,
5342
- class: "sticky h-10 bg-white z-index-999 -mt-1 -me-075 h-40px pt-025 round"
5342
+ class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
5343
5343
  };
5344
5344
  const _hoisted_3$m = {
5345
5345
  key: 2,
@@ -5409,7 +5409,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
5409
5409
  default: vue.withCtx(() => {
5410
5410
  var _a2;
5411
5411
  return [
5412
- vue.unref(slots)["toolbar"] || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$D, [
5412
+ vue.unref(slots)["toolbar"] || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$E, [
5413
5413
  vue.renderSlot(_ctx.$slots, "toolbar"),
5414
5414
  vue.createVNode(vue.unref(Btn), {
5415
5415
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -5567,7 +5567,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
5567
5567
  }
5568
5568
  });
5569
5569
  const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-619caeaa"]]);
5570
- const _hoisted_1$C = { class: "accordion-item" };
5570
+ const _hoisted_1$D = { class: "accordion-item" };
5571
5571
  const _hoisted_2$v = ["aria-expanded", "aria-controls"];
5572
5572
  const _hoisted_3$l = { class: "accordion-label" };
5573
5573
  const _hoisted_4$f = ["id", "aria-hidden"];
@@ -5612,7 +5612,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
5612
5612
  accordionState.openItem = null;
5613
5613
  }
5614
5614
  return (_ctx, _cache) => {
5615
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
5615
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
5616
5616
  vue.createElementVNode("button", {
5617
5617
  onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
5618
5618
  "aria-expanded": vue.unref(isOpen) ? "true" : "false",
@@ -5647,11 +5647,11 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
5647
5647
  });
5648
5648
  const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c1f34c59"]]);
5649
5649
  const _sfc_main$F = {};
5650
- const _hoisted_1$B = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 p-0" };
5650
+ const _hoisted_1$C = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 p-0" };
5651
5651
  const _hoisted_2$u = { class: "p-1" };
5652
5652
  const _hoisted_3$k = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
5653
5653
  function _sfc_render$2(_ctx, _cache) {
5654
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
5654
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
5655
5655
  vue.createElementVNode("div", _hoisted_2$u, [
5656
5656
  vue.renderSlot(_ctx.$slots, "header")
5657
5657
  ]),
@@ -5661,7 +5661,7 @@ function _sfc_render$2(_ctx, _cache) {
5661
5661
  ]);
5662
5662
  }
5663
5663
  const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$2]]);
5664
- const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
5664
+ const _hoisted_1$B = { class: "txt16 no-margin ellipsis" };
5665
5665
  const _hoisted_2$t = { class: "txt14 no-margin txt-gray ellipsis" };
5666
5666
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
5667
5667
  __name: "ListItem",
@@ -5687,7 +5687,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
5687
5687
  size: 40
5688
5688
  }, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
5689
5689
  vue.createElementVNode("div", null, [
5690
- vue.createElementVNode("p", _hoisted_1$A, [
5690
+ vue.createElementVNode("p", _hoisted_1$B, [
5691
5691
  vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
5692
5692
  vue.renderSlot(_ctx.$slots, "default")
5693
5693
  ]),
@@ -5702,7 +5702,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
5702
5702
  };
5703
5703
  }
5704
5704
  });
5705
- const _hoisted_1$z = { class: "page-top" };
5705
+ const _hoisted_1$A = { class: "page-top" };
5706
5706
  const _hoisted_2$s = { class: "top-title m-0" };
5707
5707
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
5708
5708
  __name: "PageTitle",
@@ -5714,7 +5714,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
5714
5714
  },
5715
5715
  setup(__props) {
5716
5716
  return (_ctx, _cache) => {
5717
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
5717
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
5718
5718
  vue.createElementVNode("h1", _hoisted_2$s, [
5719
5719
  vue.renderSlot(_ctx.$slots, "default"),
5720
5720
  vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
@@ -5723,7 +5723,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
5723
5723
  };
5724
5724
  }
5725
5725
  });
5726
- const _hoisted_1$y = { class: "table-list-wrap h-100" };
5726
+ const _hoisted_1$z = { class: "table-list-wrap h-100" };
5727
5727
  const _hoisted_2$r = { class: "infinite-wrapper" };
5728
5728
  const _hoisted_3$j = { class: "row first-row" };
5729
5729
  const _hoisted_4$e = ["onClick"];
@@ -5824,7 +5824,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
5824
5824
  return dta;
5825
5825
  });
5826
5826
  return (_ctx, _cache) => {
5827
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
5827
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
5828
5828
  vue.createElementVNode("table", _hoisted_2$r, [
5829
5829
  vue.createElementVNode("thead", _hoisted_3$j, [
5830
5830
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
@@ -5889,9 +5889,9 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
5889
5889
  });
5890
5890
  const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-56ba03fa"]]);
5891
5891
  const _sfc_main$B = {};
5892
- const _hoisted_1$x = { class: "flex space-between" };
5892
+ const _hoisted_1$y = { class: "flex space-between" };
5893
5893
  function _sfc_render$1(_ctx, _cache) {
5894
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
5894
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
5895
5895
  vue.renderSlot(_ctx.$slots, "default")
5896
5896
  ]);
5897
5897
  }
@@ -5919,7 +5919,7 @@ function _sfc_render(_ctx, _cache) {
5919
5919
  });
5920
5920
  }
5921
5921
  const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render]]);
5922
- const _hoisted_1$w = {
5922
+ const _hoisted_1$x = {
5923
5923
  key: 0,
5924
5924
  class: "data"
5925
5925
  };
@@ -5959,7 +5959,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
5959
5959
  });
5960
5960
  return (_ctx, _cache) => {
5961
5961
  var _a2;
5962
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
5962
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
5963
5963
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$w), {
5964
5964
  key: 0,
5965
5965
  label: _ctx.title
@@ -5997,7 +5997,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
5997
5997
  }
5998
5998
  });
5999
5999
  const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-c6978fee"]]);
6000
- const _hoisted_1$v = {
6000
+ const _hoisted_1$w = {
6001
6001
  key: 0,
6002
6002
  class: "card_label"
6003
6003
  };
@@ -6008,13 +6008,18 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
6008
6008
  thin: { type: Boolean },
6009
6009
  outline: { type: Boolean },
6010
6010
  h100: { type: Boolean },
6011
+ to: {},
6011
6012
  overflowX: { type: Boolean },
6012
6013
  overflowY: { type: Boolean },
6013
6014
  bg: {}
6014
6015
  },
6015
6016
  setup(__props) {
6017
+ const props2 = __props;
6018
+ vue.computed(() => props2.to ? "router-link" : "div");
6016
6019
  return (_ctx, _cache) => {
6017
- return vue.openBlock(), vue.createElementBlock("div", {
6020
+ const _component_component = vue.resolveComponent("component");
6021
+ return vue.openBlock(), vue.createBlock(_component_component, {
6022
+ to: _ctx.to,
6018
6023
  class: vue.normalizeClass(["bgl_card", {
6019
6024
  thin: _ctx.thin,
6020
6025
  "border": _ctx.outline,
@@ -6023,14 +6028,17 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
6023
6028
  "overflow-x": _ctx.overflowX,
6024
6029
  "overflow-y": _ctx.overflowY
6025
6030
  }])
6026
- }, [
6027
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$v, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
6028
- vue.renderSlot(_ctx.$slots, "default")
6029
- ], 2);
6031
+ }, {
6032
+ default: vue.withCtx(() => [
6033
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$w, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
6034
+ vue.renderSlot(_ctx.$slots, "default")
6035
+ ]),
6036
+ _: 3
6037
+ }, 8, ["to", "class"]);
6030
6038
  };
6031
6039
  }
6032
6040
  });
6033
- const _hoisted_1$u = ["src", "alt"];
6041
+ const _hoisted_1$v = ["src", "alt"];
6034
6042
  const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
6035
6043
  __name: "Avatar",
6036
6044
  props: {
@@ -6049,7 +6057,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
6049
6057
  key: 0,
6050
6058
  src: _ctx.src,
6051
6059
  alt: _ctx.name
6052
- }, null, 8, _hoisted_1$u)) : (vue.openBlock(), vue.createElementBlock("p", {
6060
+ }, null, 8, _hoisted_1$v)) : (vue.openBlock(), vue.createElementBlock("p", {
6053
6061
  key: 1,
6054
6062
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
6055
6063
  }, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
@@ -6100,7 +6108,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
6100
6108
  };
6101
6109
  }
6102
6110
  });
6103
- const _hoisted_1$t = ["dismissable"];
6111
+ const _hoisted_1$u = ["dismissable"];
6104
6112
  const _hoisted_2$p = { class: "m-0" };
6105
6113
  const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
6106
6114
  __name: "Alert",
@@ -6138,7 +6146,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
6138
6146
  class: "alert_close",
6139
6147
  icon: "close"
6140
6148
  })
6141
- ], 10, _hoisted_1$t)) : vue.createCommentVNode("", true);
6149
+ ], 10, _hoisted_1$u)) : vue.createCommentVNode("", true);
6142
6150
  };
6143
6151
  }
6144
6152
  });
@@ -6174,7 +6182,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
6174
6182
  }
6175
6183
  });
6176
6184
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-561f7a72"]]);
6177
- const _hoisted_1$s = ["src"];
6185
+ const _hoisted_1$t = ["src"];
6178
6186
  const _hoisted_2$o = ["src", "autoplay", "muted", "loop", "controls"];
6179
6187
  const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
6180
6188
  __name: "BglVideo",
@@ -6230,7 +6238,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
6230
6238
  frameborder: "0",
6231
6239
  allowfullscreen: "",
6232
6240
  title: "Video"
6233
- }, null, 12, _hoisted_1$s)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
6241
+ }, null, 12, _hoisted_1$t)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
6234
6242
  key: 1,
6235
6243
  src: _ctx.src,
6236
6244
  autoplay: _ctx.autoplay,
@@ -6245,7 +6253,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
6245
6253
  }
6246
6254
  });
6247
6255
  const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b1ad7c32"]]);
6248
- const _hoisted_1$r = {
6256
+ const _hoisted_1$s = {
6249
6257
  key: 0,
6250
6258
  class: "blocker"
6251
6259
  };
@@ -6409,7 +6417,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
6409
6417
  ref_key: "bglSlider",
6410
6418
  ref: bglSlider
6411
6419
  }, [
6412
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r)) : vue.createCommentVNode("", true),
6420
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s)) : vue.createCommentVNode("", true),
6413
6421
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
6414
6422
  ], 34),
6415
6423
  vue.createElementVNode("div", _hoisted_2$n, [
@@ -16028,7 +16036,8 @@ var leafletSrc = { exports: {} };
16028
16036
  })(leafletSrc, leafletSrc.exports);
16029
16037
  var leafletSrcExports = leafletSrc.exports;
16030
16038
  const L$1 = /* @__PURE__ */ getDefaultExportFromCjs(leafletSrcExports);
16031
- const markerSVG = '<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg"><g><path d="m12 0c-4.4183 0-8 3.5817-8 8 0 1.421.3816 2.75 1.0312 3.906.1079.192.221.381.3438.563l6.625 11.531 6.625-11.531c.102-.151.19-.311.281-.469l.063-.094c.649-1.156 1.031-2.485 1.031-3.906 0-4.4183-3.582-8-8-8zm0 4c2.209 0 4 1.7909 4 4 0 2.209-1.791 4-4 4-2.2091 0-4-1.791-4-4 0-2.2091 1.7909-4 4-4z" fill="#e74c3c"/><path d="m12 3c-2.7614 0-5 2.2386-5 5 0 2.761 2.2386 5 5 5 2.761 0 5-2.239 5-5 0-2.7614-2.239-5-5-5zm0 2c1.657 0 3 1.3431 3 3s-1.343 3-3 3-3-1.3431-3-3 1.343-3 3-3z" fill="#c0392b"/></g></svg>';
16039
+ const _hoisted_1$r = /* @__PURE__ */ vue.createElementVNode("div", { class: "map-test" }, null, -1);
16040
+ const markerSVG = '<svg width="199" height="284" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M29.859 29.266A99 99 0 0 1 198.862 99.27c0 74.25-99 183.857-99 183.857s-99-109.607-99-183.858A99 99 0 0 1 29.86 29.266Zm70.004 118.961c25.513 0 46.195-20.683 46.195-46.196 0-25.513-20.682-46.195-46.195-46.195S53.667 76.518 53.667 102.03s20.683 46.196 46.196 46.196Z" fill="#F04033"/></svg>';
16032
16041
  const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
16033
16042
  __name: "MapEmbed",
16034
16043
  props: {
@@ -16068,11 +16077,14 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
16068
16077
  geocodeAddress(address).catch(console.error);
16069
16078
  }, { immediate: true });
16070
16079
  return (_ctx, _cache) => {
16071
- return vue.openBlock(), vue.createElementBlock("div", {
16072
- class: "map",
16073
- id: "map",
16074
- style: vue.normalizeStyle({ height: `${_ctx.height || 400}px` })
16075
- }, null, 4);
16080
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
16081
+ _hoisted_1$r,
16082
+ vue.createElementVNode("div", {
16083
+ class: "map",
16084
+ id: "map",
16085
+ style: vue.normalizeStyle({ height: `${_ctx.height || 400}px` })
16086
+ }, null, 4)
16087
+ ], 64);
16076
16088
  };
16077
16089
  }
16078
16090
  });
package/dist/index.mjs CHANGED
@@ -5121,7 +5121,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5121
5121
  };
5122
5122
  }
5123
5123
  });
5124
- const _hoisted_1$F = { class: "full-nav" };
5124
+ const _hoisted_1$G = { class: "full-nav" };
5125
5125
  const _hoisted_2$y = { class: "nav-scroll" };
5126
5126
  const _hoisted_3$n = { class: "nav-links-wrapper" };
5127
5127
  const _hoisted_4$g = { class: "tooltip" };
@@ -5156,7 +5156,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5156
5156
  class: "top-arrow"
5157
5157
  })
5158
5158
  ], 32),
5159
- createElementVNode("div", _hoisted_1$F, [
5159
+ createElementVNode("div", _hoisted_1$G, [
5160
5160
  createElementVNode("div", _hoisted_2$y, [
5161
5161
  createElementVNode("div", _hoisted_3$n, [
5162
5162
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
@@ -5215,7 +5215,7 @@ const _export_sfc = (sfc, props2) => {
5215
5215
  return target;
5216
5216
  };
5217
5217
  const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-4b0a42be"]]);
5218
- const _hoisted_1$E = {
5218
+ const _hoisted_1$F = {
5219
5219
  key: 0,
5220
5220
  class: "loading"
5221
5221
  };
@@ -5310,7 +5310,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5310
5310
  })
5311
5311
  }, {
5312
5312
  default: withCtx(() => [
5313
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$E)) : (openBlock(), createElementBlock("div", _hoisted_2$x, [
5313
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$F)) : (openBlock(), createElementBlock("div", _hoisted_2$x, [
5314
5314
  _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$L), {
5315
5315
  key: 0,
5316
5316
  icon: _ctx.icon
@@ -5331,13 +5331,13 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5331
5331
  }
5332
5332
  });
5333
5333
  const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-d09a83c5"]]);
5334
- const _hoisted_1$D = {
5334
+ const _hoisted_1$E = {
5335
5335
  key: 0,
5336
5336
  class: "tool-bar"
5337
5337
  };
5338
5338
  const _hoisted_2$w = {
5339
5339
  key: 1,
5340
- class: "sticky h-10 bg-white z-index-999 -mt-1 -me-075 h-40px pt-025 round"
5340
+ class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
5341
5341
  };
5342
5342
  const _hoisted_3$m = {
5343
5343
  key: 2,
@@ -5407,7 +5407,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
5407
5407
  default: withCtx(() => {
5408
5408
  var _a2;
5409
5409
  return [
5410
- unref(slots)["toolbar"] || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$D, [
5410
+ unref(slots)["toolbar"] || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$E, [
5411
5411
  renderSlot(_ctx.$slots, "toolbar"),
5412
5412
  createVNode(unref(Btn), {
5413
5413
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -5565,7 +5565,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
5565
5565
  }
5566
5566
  });
5567
5567
  const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-619caeaa"]]);
5568
- const _hoisted_1$C = { class: "accordion-item" };
5568
+ const _hoisted_1$D = { class: "accordion-item" };
5569
5569
  const _hoisted_2$v = ["aria-expanded", "aria-controls"];
5570
5570
  const _hoisted_3$l = { class: "accordion-label" };
5571
5571
  const _hoisted_4$f = ["id", "aria-hidden"];
@@ -5610,7 +5610,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5610
5610
  accordionState.openItem = null;
5611
5611
  }
5612
5612
  return (_ctx, _cache) => {
5613
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
5613
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
5614
5614
  createElementVNode("button", {
5615
5615
  onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
5616
5616
  "aria-expanded": unref(isOpen) ? "true" : "false",
@@ -5645,11 +5645,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5645
5645
  });
5646
5646
  const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c1f34c59"]]);
5647
5647
  const _sfc_main$F = {};
5648
- const _hoisted_1$B = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 p-0" };
5648
+ const _hoisted_1$C = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 p-0" };
5649
5649
  const _hoisted_2$u = { class: "p-1" };
5650
5650
  const _hoisted_3$k = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
5651
5651
  function _sfc_render$2(_ctx, _cache) {
5652
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
5652
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
5653
5653
  createElementVNode("div", _hoisted_2$u, [
5654
5654
  renderSlot(_ctx.$slots, "header")
5655
5655
  ]),
@@ -5659,7 +5659,7 @@ function _sfc_render$2(_ctx, _cache) {
5659
5659
  ]);
5660
5660
  }
5661
5661
  const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$2]]);
5662
- const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
5662
+ const _hoisted_1$B = { class: "txt16 no-margin ellipsis" };
5663
5663
  const _hoisted_2$t = { class: "txt14 no-margin txt-gray ellipsis" };
5664
5664
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
5665
5665
  __name: "ListItem",
@@ -5685,7 +5685,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
5685
5685
  size: 40
5686
5686
  }, null, 8, ["name", "src"])) : createCommentVNode("", true),
5687
5687
  createElementVNode("div", null, [
5688
- createElementVNode("p", _hoisted_1$A, [
5688
+ createElementVNode("p", _hoisted_1$B, [
5689
5689
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
5690
5690
  renderSlot(_ctx.$slots, "default")
5691
5691
  ]),
@@ -5700,7 +5700,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
5700
5700
  };
5701
5701
  }
5702
5702
  });
5703
- const _hoisted_1$z = { class: "page-top" };
5703
+ const _hoisted_1$A = { class: "page-top" };
5704
5704
  const _hoisted_2$s = { class: "top-title m-0" };
5705
5705
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
5706
5706
  __name: "PageTitle",
@@ -5712,7 +5712,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
5712
5712
  },
5713
5713
  setup(__props) {
5714
5714
  return (_ctx, _cache) => {
5715
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
5715
+ return openBlock(), createElementBlock("div", _hoisted_1$A, [
5716
5716
  createElementVNode("h1", _hoisted_2$s, [
5717
5717
  renderSlot(_ctx.$slots, "default"),
5718
5718
  createTextVNode(" " + toDisplayString(__props.value), 1)
@@ -5721,7 +5721,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
5721
5721
  };
5722
5722
  }
5723
5723
  });
5724
- const _hoisted_1$y = { class: "table-list-wrap h-100" };
5724
+ const _hoisted_1$z = { class: "table-list-wrap h-100" };
5725
5725
  const _hoisted_2$r = { class: "infinite-wrapper" };
5726
5726
  const _hoisted_3$j = { class: "row first-row" };
5727
5727
  const _hoisted_4$e = ["onClick"];
@@ -5822,7 +5822,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5822
5822
  return dta;
5823
5823
  });
5824
5824
  return (_ctx, _cache) => {
5825
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
5825
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
5826
5826
  createElementVNode("table", _hoisted_2$r, [
5827
5827
  createElementVNode("thead", _hoisted_3$j, [
5828
5828
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field) => {
@@ -5887,9 +5887,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5887
5887
  });
5888
5888
  const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-56ba03fa"]]);
5889
5889
  const _sfc_main$B = {};
5890
- const _hoisted_1$x = { class: "flex space-between" };
5890
+ const _hoisted_1$y = { class: "flex space-between" };
5891
5891
  function _sfc_render$1(_ctx, _cache) {
5892
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
5892
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
5893
5893
  renderSlot(_ctx.$slots, "default")
5894
5894
  ]);
5895
5895
  }
@@ -5917,7 +5917,7 @@ function _sfc_render(_ctx, _cache) {
5917
5917
  });
5918
5918
  }
5919
5919
  const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render]]);
5920
- const _hoisted_1$w = {
5920
+ const _hoisted_1$x = {
5921
5921
  key: 0,
5922
5922
  class: "data"
5923
5923
  };
@@ -5957,7 +5957,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5957
5957
  });
5958
5958
  return (_ctx, _cache) => {
5959
5959
  var _a2;
5960
- return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
5960
+ return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$x, [
5961
5961
  _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$w), {
5962
5962
  key: 0,
5963
5963
  label: _ctx.title
@@ -5995,7 +5995,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5995
5995
  }
5996
5996
  });
5997
5997
  const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-c6978fee"]]);
5998
- const _hoisted_1$v = {
5998
+ const _hoisted_1$w = {
5999
5999
  key: 0,
6000
6000
  class: "card_label"
6001
6001
  };
@@ -6006,13 +6006,18 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
6006
6006
  thin: { type: Boolean },
6007
6007
  outline: { type: Boolean },
6008
6008
  h100: { type: Boolean },
6009
+ to: {},
6009
6010
  overflowX: { type: Boolean },
6010
6011
  overflowY: { type: Boolean },
6011
6012
  bg: {}
6012
6013
  },
6013
6014
  setup(__props) {
6015
+ const props2 = __props;
6016
+ computed(() => props2.to ? "router-link" : "div");
6014
6017
  return (_ctx, _cache) => {
6015
- return openBlock(), createElementBlock("div", {
6018
+ const _component_component = resolveComponent("component");
6019
+ return openBlock(), createBlock(_component_component, {
6020
+ to: _ctx.to,
6016
6021
  class: normalizeClass(["bgl_card", {
6017
6022
  thin: _ctx.thin,
6018
6023
  "border": _ctx.outline,
@@ -6021,14 +6026,17 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
6021
6026
  "overflow-x": _ctx.overflowX,
6022
6027
  "overflow-y": _ctx.overflowY
6023
6028
  }])
6024
- }, [
6025
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$v, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
6026
- renderSlot(_ctx.$slots, "default")
6027
- ], 2);
6029
+ }, {
6030
+ default: withCtx(() => [
6031
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$w, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
6032
+ renderSlot(_ctx.$slots, "default")
6033
+ ]),
6034
+ _: 3
6035
+ }, 8, ["to", "class"]);
6028
6036
  };
6029
6037
  }
6030
6038
  });
6031
- const _hoisted_1$u = ["src", "alt"];
6039
+ const _hoisted_1$v = ["src", "alt"];
6032
6040
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
6033
6041
  __name: "Avatar",
6034
6042
  props: {
@@ -6047,7 +6055,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
6047
6055
  key: 0,
6048
6056
  src: _ctx.src,
6049
6057
  alt: _ctx.name
6050
- }, null, 8, _hoisted_1$u)) : (openBlock(), createElementBlock("p", {
6058
+ }, null, 8, _hoisted_1$v)) : (openBlock(), createElementBlock("p", {
6051
6059
  key: 1,
6052
6060
  style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
6053
6061
  }, toDisplayString(_ctx.fallback || unref(initials)(_ctx.name || "")), 5))
@@ -6098,7 +6106,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
6098
6106
  };
6099
6107
  }
6100
6108
  });
6101
- const _hoisted_1$t = ["dismissable"];
6109
+ const _hoisted_1$u = ["dismissable"];
6102
6110
  const _hoisted_2$p = { class: "m-0" };
6103
6111
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
6104
6112
  __name: "Alert",
@@ -6136,7 +6144,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6136
6144
  class: "alert_close",
6137
6145
  icon: "close"
6138
6146
  })
6139
- ], 10, _hoisted_1$t)) : createCommentVNode("", true);
6147
+ ], 10, _hoisted_1$u)) : createCommentVNode("", true);
6140
6148
  };
6141
6149
  }
6142
6150
  });
@@ -6172,7 +6180,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
6172
6180
  }
6173
6181
  });
6174
6182
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-561f7a72"]]);
6175
- const _hoisted_1$s = ["src"];
6183
+ const _hoisted_1$t = ["src"];
6176
6184
  const _hoisted_2$o = ["src", "autoplay", "muted", "loop", "controls"];
6177
6185
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
6178
6186
  __name: "BglVideo",
@@ -6228,7 +6236,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
6228
6236
  frameborder: "0",
6229
6237
  allowfullscreen: "",
6230
6238
  title: "Video"
6231
- }, null, 12, _hoisted_1$s)) : _ctx.src ? (openBlock(), createElementBlock("video", {
6239
+ }, null, 12, _hoisted_1$t)) : _ctx.src ? (openBlock(), createElementBlock("video", {
6232
6240
  key: 1,
6233
6241
  src: _ctx.src,
6234
6242
  autoplay: _ctx.autoplay,
@@ -6243,7 +6251,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
6243
6251
  }
6244
6252
  });
6245
6253
  const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b1ad7c32"]]);
6246
- const _hoisted_1$r = {
6254
+ const _hoisted_1$s = {
6247
6255
  key: 0,
6248
6256
  class: "blocker"
6249
6257
  };
@@ -6407,7 +6415,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
6407
6415
  ref_key: "bglSlider",
6408
6416
  ref: bglSlider
6409
6417
  }, [
6410
- unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$r)) : createCommentVNode("", true),
6418
+ unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$s)) : createCommentVNode("", true),
6411
6419
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6412
6420
  ], 34),
6413
6421
  createElementVNode("div", _hoisted_2$n, [
@@ -16026,7 +16034,8 @@ var leafletSrc = { exports: {} };
16026
16034
  })(leafletSrc, leafletSrc.exports);
16027
16035
  var leafletSrcExports = leafletSrc.exports;
16028
16036
  const L$1 = /* @__PURE__ */ getDefaultExportFromCjs(leafletSrcExports);
16029
- const markerSVG = '<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg"><g><path d="m12 0c-4.4183 0-8 3.5817-8 8 0 1.421.3816 2.75 1.0312 3.906.1079.192.221.381.3438.563l6.625 11.531 6.625-11.531c.102-.151.19-.311.281-.469l.063-.094c.649-1.156 1.031-2.485 1.031-3.906 0-4.4183-3.582-8-8-8zm0 4c2.209 0 4 1.7909 4 4 0 2.209-1.791 4-4 4-2.2091 0-4-1.791-4-4 0-2.2091 1.7909-4 4-4z" fill="#e74c3c"/><path d="m12 3c-2.7614 0-5 2.2386-5 5 0 2.761 2.2386 5 5 5 2.761 0 5-2.239 5-5 0-2.7614-2.239-5-5-5zm0 2c1.657 0 3 1.3431 3 3s-1.343 3-3 3-3-1.3431-3-3 1.343-3 3-3z" fill="#c0392b"/></g></svg>';
16037
+ const _hoisted_1$r = /* @__PURE__ */ createElementVNode("div", { class: "map-test" }, null, -1);
16038
+ const markerSVG = '<svg width="199" height="284" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M29.859 29.266A99 99 0 0 1 198.862 99.27c0 74.25-99 183.857-99 183.857s-99-109.607-99-183.858A99 99 0 0 1 29.86 29.266Zm70.004 118.961c25.513 0 46.195-20.683 46.195-46.196 0-25.513-20.682-46.195-46.195-46.195S53.667 76.518 53.667 102.03s20.683 46.196 46.196 46.196Z" fill="#F04033"/></svg>';
16030
16039
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
16031
16040
  __name: "MapEmbed",
16032
16041
  props: {
@@ -16066,11 +16075,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
16066
16075
  geocodeAddress(address).catch(console.error);
16067
16076
  }, { immediate: true });
16068
16077
  return (_ctx, _cache) => {
16069
- return openBlock(), createElementBlock("div", {
16070
- class: "map",
16071
- id: "map",
16072
- style: normalizeStyle({ height: `${_ctx.height || 400}px` })
16073
- }, null, 4);
16078
+ return openBlock(), createElementBlock(Fragment$1, null, [
16079
+ _hoisted_1$r,
16080
+ createElementVNode("div", {
16081
+ class: "map",
16082
+ id: "map",
16083
+ style: normalizeStyle({ height: `${_ctx.height || 400}px` })
16084
+ }, null, 4)
16085
+ ], 64);
16074
16086
  };
16075
16087
  }
16076
16088
  });
package/dist/style.css CHANGED
@@ -417,15 +417,16 @@ a[data-v-d09a83c5] {
417
417
  }
418
418
 
419
419
  .tool-bar {
420
- margin: -2rem -1rem 1rem;
420
+ margin: -1rem -1rem 1rem;
421
421
  display: flex;
422
422
  justify-content: space-between;
423
423
  position: -webkit-sticky;
424
424
  position: sticky;
425
- padding-top: 1rem;
425
+ padding-top: 0rem;
426
426
  top: 0rem;
427
427
  z-index: 3;
428
428
  background: var(--bgl-white);
429
+ border-radius: var(--card-border-radius);
429
430
  }
430
431
 
431
432
  .modal-size {
@@ -525,6 +526,10 @@ a[data-v-d09a83c5] {
525
526
  align-items: center;
526
527
  gap: 0;
527
528
  }
529
+ .modal-no-title{
530
+ width: calc(100% + 2rem);
531
+ border-radius: var(--card-border-radius);
532
+ }
528
533
 
529
534
  .modal-title[data-v-619caeaa] {
530
535
  margin-top: 0.5rem;
@@ -1669,15 +1674,30 @@ svg.leaflet-image-layer.leaflet-interactive path {
1669
1674
 
1670
1675
  #map {
1671
1676
  height: 100%;
1677
+ border-radius: var(--input-border-radius);
1672
1678
  }
1673
- .map {
1679
+ .map .leaflet-pane .leaflet-tile-pane{
1674
1680
  filter: contrast(0.6) brightness(1.25) hue-rotate(12deg);
1675
- border-radius: var(--input-border-radius);
1676
1681
  }
1677
1682
  .leaflet-control-attribution{
1678
1683
  display: none;
1679
1684
  }
1680
-
1685
+ .leaflet-pane.leaflet-marker-pane img{
1686
+ filter: drop-shadow(0px 12px 3px rgba(0, 0, 0, 0.3));
1687
+ }
1688
+ /* .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
1689
+ font-size: var(--input-font-size);
1690
+ }
1691
+ .leaflet-touch .leaflet-bar a:first-child {
1692
+ border-top-left-radius: var(--input-border-radius) !important;
1693
+ border-top-right-radius: var(--input-border-radius) !important;
1694
+ }
1695
+ .leaflet-touch .leaflet-bar a {
1696
+ width: 30px;
1697
+ height: 30px;
1698
+ line-height: 30px;
1699
+ } */
1700
+
1681
1701
  .fi[data-v-8f23b7bc]{
1682
1702
  background-size:contain;
1683
1703
  background-position:50%;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.455",
4
+ "version": "0.0.460",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -57,16 +57,6 @@
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@bagelink/sdk": "*",
60
- "@vuepic/vue-datepicker": "^8.0.0",
61
- "@tiptap/pm": "^2.2.4",
62
- "@tiptap/starter-kit": "^2.2.4",
63
- "@tiptap/extension-image": "^2.2.4",
64
- "@tiptap/extension-youtube": "^2.2.4",
65
- "@tiptap/extension-table": "^2.2.4",
66
- "@tiptap/extension-table-row": "^2.2.4",
67
- "@tiptap/extension-table-header": "^2.2.4",
68
- "@tiptap/extension-table-cell": "^2.2.4",
69
- "@tiptap/vue-3": "^2.2.4",
70
60
  "vue": "*",
71
61
  "vue-draggable-next": "^2.2.1",
72
62
  "vue-router": "*",
@@ -114,6 +104,16 @@
114
104
  "access": "public"
115
105
  },
116
106
  "dependencies": {
107
+ "@vuepic/vue-datepicker": "^8.0.0",
108
+ "@tiptap/pm": "^2.2.4",
109
+ "@tiptap/starter-kit": "^2.2.4",
110
+ "@tiptap/extension-image": "^2.2.4",
111
+ "@tiptap/extension-youtube": "^2.2.4",
112
+ "@tiptap/extension-table": "^2.2.4",
113
+ "@tiptap/extension-table-row": "^2.2.4",
114
+ "@tiptap/extension-table-header": "^2.2.4",
115
+ "@tiptap/extension-table-cell": "^2.2.4",
116
+ "@tiptap/vue-3": "^2.2.4",
117
117
  "leaflet": "^1.9.4",
118
118
  "libphonenumber-js": "1.11.1",
119
119
  "floating-vue": "^5.2.2",
@@ -1,5 +1,7 @@
1
1
  <template>
2
- <div
2
+ <component
3
+ :is
4
+ :to
3
5
  class="bgl_card"
4
6
  :class="{
5
7
  thin,
@@ -14,15 +16,16 @@
14
16
  {{ label }}
15
17
  </span>
16
18
  <slot />
17
- </div>
19
+ </component>
18
20
  </template>
19
21
 
20
22
  <script setup lang="ts">
21
- defineProps<{
23
+ const props = defineProps<{
22
24
  label?: string;
23
25
  thin?: boolean;
24
26
  outline?: boolean;
25
27
  h100?: boolean;
28
+ to?: string;
26
29
  overflowX?: boolean;
27
30
  overflowY?: boolean;
28
31
  bg?:
@@ -38,6 +41,8 @@ defineProps<{
38
41
  | 'white'
39
42
  | 'transparent';
40
43
  }>();
44
+
45
+ const is = $computed(() => (props.to ? 'router-link' : 'div'));
41
46
  </script>
42
47
 
43
48
  <style>
@@ -1,4 +1,5 @@
1
1
  <template>
2
+ <div class="map-test"/>
2
3
  <div class="map" id="map" :style="{height: `${height || 400}px`}"/>
3
4
  </template>
4
5
 
@@ -29,8 +30,7 @@ function initializeMap() {
29
30
  }
30
31
 
31
32
  onMounted(initializeMap);
32
-
33
- const markerSVG = '<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg"><g><path d="m12 0c-4.4183 0-8 3.5817-8 8 0 1.421.3816 2.75 1.0312 3.906.1079.192.221.381.3438.563l6.625 11.531 6.625-11.531c.102-.151.19-.311.281-.469l.063-.094c.649-1.156 1.031-2.485 1.031-3.906 0-4.4183-3.582-8-8-8zm0 4c2.209 0 4 1.7909 4 4 0 2.209-1.791 4-4 4-2.2091 0-4-1.791-4-4 0-2.2091 1.7909-4 4-4z" fill="#e74c3c"/><path d="m12 3c-2.7614 0-5 2.2386-5 5 0 2.761 2.2386 5 5 5 2.761 0 5-2.239 5-5 0-2.7614-2.239-5-5-5zm0 2c1.657 0 3 1.3431 3 3s-1.343 3-3 3-3-1.3431-3-3 1.343-3 3-3z" fill="#c0392b"/></g></svg>';
33
+ const markerSVG = '<svg width="199" height="284" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M29.859 29.266A99 99 0 0 1 198.862 99.27c0 74.25-99 183.857-99 183.857s-99-109.607-99-183.858A99 99 0 0 1 29.86 29.266Zm70.004 118.961c25.513 0 46.195-20.683 46.195-46.196 0-25.513-20.682-46.195-46.195-46.195S53.667 76.518 53.667 102.03s20.683 46.196 46.196 46.196Z" fill="#F04033"/></svg>';
34
34
 
35
35
  function addMarker(latlng: LatLngExpression) {
36
36
  const customIcon = L.icon({
@@ -56,12 +56,29 @@ watch(() => props.address, (address) => {
56
56
  <style>
57
57
  #map {
58
58
  height: 100%;
59
+ border-radius: var(--input-border-radius);
59
60
  }
60
- .map {
61
+
62
+ .map .leaflet-pane .leaflet-tile-pane{
61
63
  filter: contrast(0.6) brightness(1.25) hue-rotate(12deg);
62
- border-radius: var(--input-border-radius);
64
+
63
65
  }
64
66
  .leaflet-control-attribution{
65
67
  display: none;
66
68
  }
67
- </style>
69
+ .leaflet-pane.leaflet-marker-pane img{
70
+ filter: drop-shadow(0px 12px 3px rgba(0, 0, 0, 0.3));
71
+ }
72
+ /* .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
73
+ font-size: var(--input-font-size);
74
+ }
75
+ .leaflet-touch .leaflet-bar a:first-child {
76
+ border-top-left-radius: var(--input-border-radius) !important;
77
+ border-top-right-radius: var(--input-border-radius) !important;
78
+ }
79
+ .leaflet-touch .leaflet-bar a {
80
+ width: 30px;
81
+ height: 30px;
82
+ line-height: 30px;
83
+ } */
84
+ </style>
@@ -17,7 +17,7 @@
17
17
  <Title class="modal-title" tag="h3" v-if="title" :label="title" />
18
18
  </header>
19
19
 
20
- <div v-else class="sticky h-10 bg-white z-index-999 -mt-1 -me-075 h-40px pt-025 round">
20
+ <div v-else class="sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title">
21
21
  <Btn
22
22
  class="color-black"
23
23
  :style="{ float: side ? 'left' : 'right' }"
@@ -136,4 +136,9 @@ onUnmounted(() => {
136
136
  align-items: center;
137
137
  gap: 0;
138
138
  }
139
+ .modal-no-title{
140
+ width: calc(100% + 2rem);
141
+ border-radius: var(--card-border-radius);
142
+
143
+ }
139
144
  </style>
@@ -40,15 +40,16 @@
40
40
  }
41
41
 
42
42
  .tool-bar {
43
- margin: -2rem -1rem 1rem;
43
+ margin: -1rem -1rem 1rem;
44
44
  display: flex;
45
45
  justify-content: space-between;
46
46
  position: -webkit-sticky;
47
47
  position: sticky;
48
- padding-top: 1rem;
48
+ padding-top: 0rem;
49
49
  top: 0rem;
50
50
  z-index: 3;
51
51
  background: var(--bgl-white);
52
+ border-radius: var(--card-border-radius);
52
53
  }
53
54
 
54
55
  .modal-size {