eco-vue-js 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"WFilterWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilterWrapper/WFilterWrapper.vue"],"names":[],"mappings":"AAkLA,iBAAS,cAAc;oBAiHK,GAAG;EAuB9B;AACD,QAAA,MAAM,eAAe;yBA1ME,MAAM,EAAE;;;;yBAAR,MAAM,EAAE;;;UAiN7B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"WFilterWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilterWrapper/WFilterWrapper.vue"],"names":[],"mappings":"AAwLA,iBAAS,cAAc;oBA2HK,GAAG;EAuB9B;AACD,QAAA,MAAM,eAAe;yBApNE,MAAM,EAAE;;;;yBAAR,MAAM,EAAE;;;UA2N7B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, watch, onUnmounted, openBlock, createElementBlock, Fragment, renderList, createBlock, resolveDynamicComponent, unref, createElementVNode, renderSlot, createVNode, withCtx, createTextVNode } from 'vue';
1
+ import { defineComponent, ref, computed, watch, onUnmounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createBlock, resolveDynamicComponent, unref, renderSlot, createVNode, withCtx, createTextVNode } from 'vue';
2
2
  import { useRoute, useRouter } from 'vue-router';
3
3
  import _sfc_main$1 from '../Button/WButton.vue.js';
4
4
  import { SemanticType } from '../../utils/SemanticType.js';
@@ -6,9 +6,10 @@ import IconFilterRemove from '../../assets/icons/sax/IconFilterRemove.svg.js';
6
6
  import { Modal } from '../../utils/Modal.js';
7
7
  import { throttle } from '../../utils/utils.js';
8
8
 
9
- const _hoisted_1 = { class: "grid grid-cols-1 content-start pb-16" };
10
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "h-0.5 bg-gray-400 rounded my-8" }, null, -1);
11
- const _hoisted_3 = { class: "grid grid-cols-2 gap-4" };
9
+ const _hoisted_1 = { class: "flex flex-col pb-16" };
10
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "text-accent text-2xl font-semibold -h--header-height -mx--inner-margin flex items-center" }, " Filters ", -1);
11
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "h-0.5 bg-gray-400 rounded my-8 -mx--inner-margin" }, null, -1);
12
+ const _hoisted_4 = { class: "grid grid-cols-2 gap-4 -px--inner-margin" };
12
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
14
  __name: "WFilterWrapper",
14
15
  props: {
@@ -56,16 +57,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
56
57
  });
57
58
  return (_ctx, _cache) => {
58
59
  return openBlock(), createElementBlock("div", _hoisted_1, [
59
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.$slots.default?.(), (slot, index) => {
60
- return openBlock(), createBlock(resolveDynamicComponent(slot), {
61
- key: index,
62
- "is-open": index === selectedIndex.value,
63
- onToggle: ($event) => unref(setSelectedIndex)(index),
64
- "onUpdate:hasChanges": ($event) => hasChangesMap.value[index.toString()] = $event
65
- }, null, 40, ["is-open", "onToggle", "onUpdate:hasChanges"]);
66
- }), 128)),
67
60
  _hoisted_2,
68
- createElementVNode("div", _hoisted_3, [
61
+ createElementVNode("div", null, [
62
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.$slots.default?.(), (slot, index) => {
63
+ return openBlock(), createBlock(resolveDynamicComponent(slot), {
64
+ key: index,
65
+ "is-open": index === selectedIndex.value,
66
+ onToggle: ($event) => unref(setSelectedIndex)(index),
67
+ "onUpdate:hasChanges": ($event) => hasChangesMap.value[index.toString()] = $event
68
+ }, null, 40, ["is-open", "onToggle", "onUpdate:hasChanges"]);
69
+ }), 128))
70
+ ]),
71
+ _hoisted_3,
72
+ createElementVNode("div", _hoisted_4, [
69
73
  renderSlot(_ctx.$slots, "bottom"),
70
74
  createVNode(_sfc_main$1, {
71
75
  "semantic-type": unref(SemanticType).SECONDARY,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.7.0",
7
+ "version": "0.7.1",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",