eco-vue-js 0.11.5 → 0.11.6

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.
Files changed (54) hide show
  1. package/dist/components/Button/WButtonDropdown.vue.d.ts +0 -2
  2. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButtonDropdown.vue.js +2 -6
  4. package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
  5. package/dist/components/Button/WButtonMore.vue.js +0 -2
  6. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  7. package/dist/components/Button/WButtonSelection.vue.js +0 -2
  8. package/dist/components/Button/types.d.ts +1 -1
  9. package/dist/components/Button/types.d.ts.map +1 -1
  10. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
  11. package/dist/components/Dropdown/WDropdown.vue.js +29 -47
  12. package/dist/components/Dropdown/types.d.ts +0 -7
  13. package/dist/components/Dropdown/types.d.ts.map +1 -1
  14. package/dist/components/Dropdown/utils/DropdownStyle.d.ts +35 -75
  15. package/dist/components/Dropdown/utils/DropdownStyle.d.ts.map +1 -1
  16. package/dist/components/Dropdown/utils/DropdownStyle.js +97 -164
  17. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +0 -4
  18. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  19. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +1 -5
  20. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +0 -2
  21. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +0 -2
  22. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +0 -2
  23. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +0 -2
  24. package/dist/components/Input/WInputDate.vue.d.ts +0 -2
  25. package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
  26. package/dist/components/Input/WInputDate.vue.js +0 -2
  27. package/dist/components/Input/WInputOptions.vue.js +0 -2
  28. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  29. package/dist/components/Input/WInputSuggest.vue.js +1 -5
  30. package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
  31. package/dist/components/List/components/HeaderSettings.vue.js +0 -2
  32. package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -1
  33. package/dist/components/List/components/HeaderSort.vue.js +0 -2
  34. package/dist/components/List/components/ListFilterSelect.vue.d.ts.map +1 -1
  35. package/dist/components/List/components/ListFilterSelect.vue.js +0 -2
  36. package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
  37. package/dist/components/Nav/WNavItemExpand.vue.js +0 -2
  38. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  39. package/dist/components/Select/WSelect.vue.js +75 -74
  40. package/dist/components/Select/WSelectAsync.vue.d.ts +2 -2
  41. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  42. package/dist/components/Select/WSelectAsync.vue.js +1 -2
  43. package/dist/components/Select/WSelectAsyncSingle.vue.js +0 -2
  44. package/dist/components/Select/WSelectSingle.vue.js +0 -2
  45. package/dist/components/Select/WSelectStringified.vue.js +0 -2
  46. package/dist/components/Select/components/SelectAsyncList.vue.js +1 -1
  47. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +0 -2
  48. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  49. package/dist/components/Tooltip/WTooltipContainer.vue.js +1 -3
  50. package/dist/utils/HorizontalAlign.d.ts +0 -1
  51. package/dist/utils/HorizontalAlign.d.ts.map +1 -1
  52. package/dist/utils/HorizontalAlign.js +0 -1
  53. package/package.json +1 -1
  54. package/tailwind-base/plugins/default.ts +14 -8
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, useTemplateRef, computed, toRef, watch, nextTick, createBlock, openBlock, mergeProps, unref, withModifiers, createSlots, withCtx, createCommentVNode, createElementBlock, renderSlot, resolveDynamicComponent, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass } from 'vue';
1
+ import { defineComponent, ref, useTemplateRef, computed, toRef, watch, nextTick, createBlock, openBlock, mergeProps, unref, withModifiers, createSlots, withCtx, createElementVNode, createCommentVNode, createElementBlock, renderSlot, resolveDynamicComponent, toDisplayString, Fragment, renderList, normalizeClass } from 'vue';
2
2
  import _sfc_main$1 from '../Input/WInputSuggest.vue.js';
3
3
  import { ApiError } from '../../utils/api.js';
4
4
  import { useIsMobile } from '../../utils/mobile.js';
@@ -7,15 +7,16 @@ import { debounce } from '../../utils/utils.js';
7
7
  import _sfc_main$2 from './components/SelectOption.vue.js';
8
8
  import _sfc_main$3 from './components/SelectOptionPrefix.vue.js';
9
9
 
10
- const _hoisted_1 = {
10
+ const _hoisted_1 = { class: "max-h-80" };
11
+ const _hoisted_2 = {
11
12
  key: 1,
12
13
  class: "text-description w-option flex items-center"
13
14
  };
14
- const _hoisted_2 = {
15
+ const _hoisted_3 = {
15
16
  key: 1,
16
17
  class: "w-select-option first:-pt--w-select-option-padding last:-pb--w-select-option-padding"
17
18
  };
18
- const _hoisted_3 = { class: "w-option flex cursor-default select-none items-center" };
19
+ const _hoisted_4 = { class: "w-option flex cursor-default select-none items-center" };
19
20
  const _sfc_main = /* @__PURE__ */ defineComponent({
20
21
  ...{ inheritAttrs: false },
21
22
  __name: "WSelect",
@@ -81,8 +82,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
82
  savedText: {},
82
83
  topText: { type: Boolean },
83
84
  parentElement: {},
84
- maxHeight: {},
85
- maxWidth: {},
86
85
  horizontalAlign: {},
87
86
  top: { type: Boolean },
88
87
  bottom: { type: Boolean },
@@ -321,82 +320,84 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
321
320
  }), 128)) : createCommentVNode("", true)
322
321
  ]),
323
322
  content: withCtx(() => [
324
- hasCreateOption.value ? (openBlock(), createBlock(_sfc_main$2, {
325
- key: 0,
326
- "is-selected": false,
327
- "is-cursor": cursor.value === optionsFiltered.value.length,
328
- loading: (loadingCreate.value || loadingOptionIndex.value === optionsFiltered.value.length) && _ctx.loading,
329
- scroll: isCursorLocked.value,
330
- "hide-option-icon": _ctx.hideOptionIcon,
331
- disabled: !search.value || isModelValueSearch.value,
332
- class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
333
- onSelect: _cache[0] || (_cache[0] = ($event) => create(search.value)),
334
- onMouseenter: _cache[1] || (_cache[1] = ($event) => setCursor(optionsFiltered.value.length))
335
- }, {
336
- prefix: withCtx(() => _cache[6] || (_cache[6] = [
337
- createElementVNode("div", { class: "w-option flex items-center pr-2" }, " Create: ", -1)
338
- ])),
339
- default: withCtx(() => [
340
- search.value && !isModelValueSearch.value ? renderSlot(_ctx.$slots, "option", {
341
- key: 0,
342
- option: void 0,
343
- search: search.value,
344
- selected: false,
345
- model: false,
346
- index: void 0,
347
- skeleton: false
348
- }, () => [
349
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps(_ctx.optionComponentProps, {
350
- option: null,
351
- search: search.value,
352
- selected: false,
353
- model: false
354
- }), null, 16, ["search"]))
355
- ]) : (openBlock(), createElementBlock("div", _hoisted_1, " Start typing.. "))
356
- ]),
357
- _: 3
358
- }, 8, ["is-cursor", "loading", "scroll", "hide-option-icon", "disabled"])) : createCommentVNode("", true),
359
- !optionsFiltered.value.length && !isModelValueSearch.value && (!_ctx.createOption || optionsWithCreated.value.length) ? (openBlock(), createElementBlock("div", _hoisted_2, [
360
- createElementVNode("div", _hoisted_3, toDisplayString(!search.value && _ctx.emptyStub ? _ctx.emptyStub : search.value ? "No match" : "Nothing to show"), 1)
361
- ])) : createCommentVNode("", true),
362
- (openBlock(true), createElementBlock(Fragment, null, renderList(optionsFiltered.value, (option, index) => {
363
- return openBlock(), createBlock(_sfc_main$2, {
364
- key: _ctx.valueGetter(option),
365
- "is-selected": _ctx.modelValue.includes(_ctx.valueGetter(option)),
366
- "is-cursor": index === cursor.value,
367
- loading: loadingOptionIndex.value === index && _ctx.loading,
323
+ createElementVNode("div", _hoisted_1, [
324
+ hasCreateOption.value ? (openBlock(), createBlock(_sfc_main$2, {
325
+ key: 0,
326
+ "is-selected": false,
327
+ "is-cursor": cursor.value === optionsFiltered.value.length,
328
+ loading: (loadingCreate.value || loadingOptionIndex.value === optionsFiltered.value.length) && _ctx.loading,
368
329
  scroll: isCursorLocked.value,
369
330
  "hide-option-icon": _ctx.hideOptionIcon,
331
+ disabled: !search.value || isModelValueSearch.value,
370
332
  class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
371
- onSelect: ($event) => {
372
- select(_ctx.valueGetter(option));
373
- setLoadingOptionIndex(index);
374
- },
375
- onUnselect: ($event) => {
376
- unselect(_ctx.valueGetter(option));
377
- setLoadingOptionIndex(index);
378
- },
379
- onMouseenter: ($event) => setCursor(index)
333
+ onSelect: _cache[0] || (_cache[0] = ($event) => create(search.value)),
334
+ onMouseenter: _cache[1] || (_cache[1] = ($event) => setCursor(optionsFiltered.value.length))
380
335
  }, {
381
- default: withCtx(({ selected }) => [
382
- renderSlot(_ctx.$slots, "option", {
383
- option,
384
- selected,
336
+ prefix: withCtx(() => _cache[6] || (_cache[6] = [
337
+ createElementVNode("div", { class: "w-option flex items-center pr-2" }, " Create: ", -1)
338
+ ])),
339
+ default: withCtx(() => [
340
+ search.value && !isModelValueSearch.value ? renderSlot(_ctx.$slots, "option", {
341
+ key: 0,
342
+ option: void 0,
343
+ search: search.value,
344
+ selected: false,
385
345
  model: false,
386
- index,
387
- skeleton: false,
388
- search: search.value
346
+ index: void 0,
347
+ skeleton: false
389
348
  }, () => [
390
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({ ref_for: true }, _ctx.optionComponentProps, {
391
- option,
392
- selected,
349
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps(_ctx.optionComponentProps, {
350
+ option: null,
351
+ search: search.value,
352
+ selected: false,
393
353
  model: false
394
- }), null, 16, ["option", "selected"]))
395
- ])
354
+ }), null, 16, ["search"]))
355
+ ]) : (openBlock(), createElementBlock("div", _hoisted_2, " Start typing.. "))
396
356
  ]),
397
- _: 2
398
- }, 1032, ["is-selected", "is-cursor", "loading", "scroll", "hide-option-icon", "onSelect", "onUnselect", "onMouseenter"]);
399
- }), 128))
357
+ _: 3
358
+ }, 8, ["is-cursor", "loading", "scroll", "hide-option-icon", "disabled"])) : createCommentVNode("", true),
359
+ !optionsFiltered.value.length && !isModelValueSearch.value && (!_ctx.createOption || optionsWithCreated.value.length) ? (openBlock(), createElementBlock("div", _hoisted_3, [
360
+ createElementVNode("div", _hoisted_4, toDisplayString(!search.value && _ctx.emptyStub ? _ctx.emptyStub : search.value ? "No match" : "Nothing to show"), 1)
361
+ ])) : createCommentVNode("", true),
362
+ (openBlock(true), createElementBlock(Fragment, null, renderList(optionsFiltered.value, (option, index) => {
363
+ return openBlock(), createBlock(_sfc_main$2, {
364
+ key: _ctx.valueGetter(option),
365
+ "is-selected": _ctx.modelValue.includes(_ctx.valueGetter(option)),
366
+ "is-cursor": index === cursor.value,
367
+ loading: loadingOptionIndex.value === index && _ctx.loading,
368
+ scroll: isCursorLocked.value,
369
+ "hide-option-icon": _ctx.hideOptionIcon,
370
+ class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
371
+ onSelect: ($event) => {
372
+ select(_ctx.valueGetter(option));
373
+ setLoadingOptionIndex(index);
374
+ },
375
+ onUnselect: ($event) => {
376
+ unselect(_ctx.valueGetter(option));
377
+ setLoadingOptionIndex(index);
378
+ },
379
+ onMouseenter: ($event) => setCursor(index)
380
+ }, {
381
+ default: withCtx(({ selected }) => [
382
+ renderSlot(_ctx.$slots, "option", {
383
+ option,
384
+ selected,
385
+ model: false,
386
+ index,
387
+ skeleton: false,
388
+ search: search.value
389
+ }, () => [
390
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({ ref_for: true }, _ctx.optionComponentProps, {
391
+ option,
392
+ selected,
393
+ model: false
394
+ }), null, 16, ["option", "selected"]))
395
+ ])
396
+ ]),
397
+ _: 2
398
+ }, 1032, ["is-selected", "is-cursor", "loading", "scroll", "hide-option-icon", "onSelect", "onUnselect", "onMouseenter"]);
399
+ }), 128))
400
+ ])
400
401
  ]),
401
402
  _: 2
402
403
  }, [
@@ -3,7 +3,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly onSelect?: ((item: Model) => any) | undefined;
5
5
  readonly onBlur?: ((value: FocusEvent) => any) | undefined;
6
- readonly onFocus?: ((value: FocusEvent) => any) | undefined;
6
+ readonly onFocus?: ((value: FocusEvent | undefined) => any) | undefined;
7
7
  readonly "onUpdate:model-value"?: ((value: Model[]) => any) | undefined;
8
8
  readonly onUnselect?: ((item: Model) => any) | undefined;
9
9
  readonly "onInit-model"?: (() => any) | undefined;
@@ -30,7 +30,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
30
30
  (e: "unselect", item: Model): void;
31
31
  (e: "update:model-value", value: Model[]): void;
32
32
  (e: "init-model"): void;
33
- (e: "focus", value: FocusEvent): void;
33
+ (e: "focus", value: FocusEvent | undefined): void;
34
34
  (e: "blur", value: FocusEvent): void;
35
35
  };
36
36
  }>) => import('vue').VNode & {
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"AA8HA;AAyTA,OAAO,KAAK,EAAC,gBAAgB,EAAE,qBAAqB,EAA8B,iBAAiB,EAAC,MAAM,SAAS,CAAA;yBAYlG,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EACzI,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CA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AAE,GAAG,IAAI;YAC3C,YAAY,GAAG,IAAI;YACnB,OAAO,SAAS,UAAU,GAAG,SAAS,GAAG,IAAI;YAC7C,MAAM,SAAS,UAAU,GAAG,IAAI;;EAsgBlC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjiBzE,wBAiiB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -74,8 +74,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
74
  savedText: {},
75
75
  topText: { type: Boolean },
76
76
  parentElement: {},
77
- maxHeight: {},
78
- maxWidth: {},
79
77
  horizontalAlign: {},
80
78
  top: { type: Boolean },
81
79
  bottom: { type: Boolean },
@@ -265,6 +263,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
265
263
  "value-getter": _ctx.valueGetter,
266
264
  "loading-create": loadingCreate.value,
267
265
  search: search.value,
266
+ class: "max-h-80",
268
267
  onSelect: select,
269
268
  onUnselect: unselect,
270
269
  "onCreate:option": _cache[1] || (_cache[1] = ($event) => create(search.value)),
@@ -71,8 +71,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
71
  savedText: {},
72
72
  topText: { type: Boolean },
73
73
  parentElement: {},
74
- maxHeight: {},
75
- maxWidth: {},
76
74
  horizontalAlign: {},
77
75
  top: { type: Boolean },
78
76
  bottom: { type: Boolean },
@@ -67,8 +67,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
67
67
  savedText: {},
68
68
  topText: { type: Boolean },
69
69
  parentElement: {},
70
- maxHeight: {},
71
- maxWidth: {},
72
70
  horizontalAlign: {},
73
71
  top: { type: Boolean },
74
72
  bottom: { type: Boolean },
@@ -67,8 +67,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
67
67
  savedText: {},
68
68
  topText: { type: Boolean },
69
69
  parentElement: {},
70
- maxHeight: {},
71
- maxWidth: {},
72
70
  horizontalAlign: {},
73
71
  top: { type: Boolean },
74
72
  bottom: { type: Boolean },
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  const firstItem = ref();
42
42
  const lastItem = ref();
43
43
  const count = ref(0);
44
- const isModelValueSearch = computed(() => props.search && props.modelValue.includes(props.search));
44
+ const isModelValueSearch = computed(() => !!props.search && props.modelValue.includes(props.search));
45
45
  const setLoadingOption = (value) => {
46
46
  loadingOption.value = value;
47
47
  };
@@ -4,8 +4,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
4
4
  $: import('vue').ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: {
7
- readonly maxHeight: number;
8
- readonly maxWidth: number;
9
7
  readonly horizontalAlign: HorizontalAlign;
10
8
  readonly top?: boolean | undefined;
11
9
  readonly bottom?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WTooltipContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/WTooltipContainer.vue"],"names":[],"mappings":"AAgDA;AAmFA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA2L6zf,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;AAT1+f,wBAOG"}
1
+ {"version":3,"file":"WTooltipContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/WTooltipContainer.vue"],"names":[],"mappings":"AA8CA;AAiFA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuL8sgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;AAT33gB,wBAOG"}
@@ -36,8 +36,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  key: dropdownKey.value,
37
37
  "parent-element": unref(tooltipMeta).parent,
38
38
  "horizontal-align": unref(tooltipMeta).left ? unref(HorizontalAlign).LEFT_CENTER : unref(tooltipMeta).right ? unref(HorizontalAlign).RIGHT_CENTER : unref(HorizontalAlign).CENTER,
39
- "max-height": unref(tooltipMeta)?.maxHeight ?? 120,
40
- "max-width": unref(tooltipMeta).left || unref(tooltipMeta).right ? 400 : 240,
41
39
  top: unref(tooltipMeta).top,
42
40
  bottom: unref(tooltipMeta).bottom,
43
41
  "emit-update": "",
@@ -62,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
60
  }, 1032, ["tooltip-meta", "is-top", "is-left", "is-right"])
63
61
  ]),
64
62
  _: 1
65
- }, 8, ["parent-element", "horizontal-align", "max-height", "max-width", "top", "bottom", "onUpdate:rect"])) : createCommentVNode("", true)
63
+ }, 8, ["parent-element", "horizontal-align", "top", "bottom", "onUpdate:rect"])) : createCommentVNode("", true)
66
64
  ]),
67
65
  _: 1
68
66
  });
@@ -3,7 +3,6 @@ export declare enum HorizontalAlign {
3
3
  LEFT_CENTER = "LEFT_CENTER",
4
4
  LEFT_INNER = "LEFT_INNER",
5
5
  FILL = "FILL",
6
- FILL_MIN = "FILL_MIN",
7
6
  CENTER = "CENTER",
8
7
  RIGHT_INNER = "RIGHT_INNER",
9
8
  RIGHT_CENTER = "RIGHT_CENTER",
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalAlign.d.ts","sourceRoot":"","sources":["../../../src/utils/HorizontalAlign.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;CAC5B"}
1
+ {"version":3,"file":"HorizontalAlign.d.ts","sourceRoot":"","sources":["../../../src/utils/HorizontalAlign.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;CAC5B"}
@@ -3,7 +3,6 @@ var HorizontalAlign = /* @__PURE__ */ ((HorizontalAlign2) => {
3
3
  HorizontalAlign2["LEFT_CENTER"] = "LEFT_CENTER";
4
4
  HorizontalAlign2["LEFT_INNER"] = "LEFT_INNER";
5
5
  HorizontalAlign2["FILL"] = "FILL";
6
- HorizontalAlign2["FILL_MIN"] = "FILL_MIN";
7
6
  HorizontalAlign2["CENTER"] = "CENTER";
8
7
  HorizontalAlign2["RIGHT_INNER"] = "RIGHT_INNER";
9
8
  HorizontalAlign2["RIGHT_CENTER"] = "RIGHT_CENTER";
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.11.5",
7
+ "version": "0.11.6",
8
8
  "dependencies": {
9
9
  "@stylistic/eslint-plugin": "5.2.3",
10
10
  "@tanstack/eslint-plugin-query": "5.83.1",
@@ -35,16 +35,22 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
35
35
 
36
36
  addBase({
37
37
  '*': {
38
- '--w-left-inner': 'calc(var(--nav-bar-width) + var(--inner-margin))',
39
- '--w-right-inner': 'calc(var(--actions-bar-width) + var(--inner-margin))',
40
- '--w-width-inner': 'calc(100vw - var(--actions-bar-width) - var(--nav-bar-width) - var(--inner-margin) - var(--inner-margin) - var(--scroll-bar-width))',
41
- '--w-height-inner': 'calc(100vh - var(--header-height) - var(--infinite-list-header-height, 0px) - var(--scroll-bar-width))',
38
+ '--w-left-inner': 'calc(var(--nav-bar-width, 0px) + var(--inner-margin, 0px))',
39
+ '--w-right-inner': 'calc(var(--actions-bar-width, 0px) + var(--inner-margin, 0px) + var(--scroll-bar-width, 0px))',
40
+ '--w-width-inner': 'calc(100vw - var(--w-left-inner, 0px) - var(--w-right-inner, 0px))',
41
+
42
+ '--w-top-inner': 'calc(var(--header-height, 0px) + var(--infinite-list-header-height, 0px))',
43
+ '--w-bottom-inner': 'var(--scroll-bar-width, 0px)',
44
+ '--w-height-inner': 'calc(100vh - var(--w-top-inner, 0px) - var(--w-bottom-inner, 0px))',
42
45
  },
43
46
  '.w-modal-wrapper *': {
44
- '--w-left-inner': 'var(--w-modal-wrapper-padding)',
45
- '--w-right-inner': 'var(--w-modal-wrapper-padding)',
46
- '--w-width-inner': 'calc(var(--w-modal-wrapper-width, 35rem) - var(--w-modal-wrapper-padding) - var(--w-modal-wrapper-padding) - var(--scroll-bar-width))',
47
- '--w-height-inner': 'calc(var(--w-modal-content-height) - var(--w-modal-header-height) - var(--w-modal-footer-height) - var(--infinite-list-header-height, 0px) - var(--scroll-bar-width))',
47
+ '--w-left-inner': 'var(--w-modal-wrapper-padding, 0px)',
48
+ '--w-right-inner': 'calc(var(--w-modal-wrapper-padding, 0px) + var(--scroll-bar-width, 0px)))',
49
+ '--w-width-inner': 'calc(var(--w-modal-wrapper-width, 35rem) - var(--w-left-inner, 0px) - var(--w-left-inner, 0px))',
50
+
51
+ '--w-top-inner': 'calc(var(--w-modal-header-height, 0px) + var(--infinite-list-header-height, 0px))',
52
+ '--w-bottom-inner': 'calc(var(--w-modal-footer-height, 0px) + var(--scroll-bar-width, 0px))',
53
+ '--w-height-inner': 'calc(var(--w-modal-content-height, 0px) - var(--w-top-inner, 0px) - var(--w-bottom-inner, 0px))',
48
54
  },
49
55
  })
50
56