x-block-lib 0.10.31 → 0.10.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5p
11
11
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as ee, M as te, N as d, O as f, P as ne, Q as p, R as re, S as m, T as h, U as ie, V as ae, W as oe, X as se, Y as ce, Z as le, _ as g, a as ue, b as de, c as fe, d as pe, f as me, g as _, h as he, i as ge, j as _e, k as ve, l as ye, m as be, n as xe, o as Se, p as v, q as Ce, r as we, s as Te, t as Ee, u as De, v as y, w as b, x, y as Oe, z as ke } from "./vendor.kijv4sw8.js";
12
12
  import { eventBus as Ae, globalObjects as je, messageWarning as Me, openConfirmDlg as Ne, openPromptDlg as Pe, useColor as Fe, useSystem as Ie, useViewStack as Le } from "x-essential-lib";
13
13
  import { globalState as S } from "x-state-lib";
14
- import { addIndent as Re, finalProperties as C, getElement as w, getImplementMethodName as ze, getItems as Be, getTag as Ve, getTypes as He, makeEventId as T, makeEventKeyOfCustomSlot as Ue, makeEventKeyOfElementSlot as We, makeMethodId as Ge, makeMethodKeyOfCustomSlot as Ke, makeMethodKeyOfElementSlot as qe, makePropertyId as Je, makePropertyKeyOfCustomSlot as Ye, makePropertyKeyOfElementSlot as Xe, makeTriggerId as Ze, parsePixel as Qe, pkgs as $e, themeColors as et, toEventName as tt, toMethodName as nt, toPropertyName as rt, unwrapEventId as it, unwrapEventKeyOfCustomSlot as at, unwrapEventKeyOfElementSlot as ot, unwrapMethodId as st, unwrapMethodKeyOfCustomSlot as ct, unwrapMethodKeyOfElementSlot as lt, unwrapPropertyId as ut, unwrapPropertyKeyOfCustomSlot as dt, unwrapPropertyKeyOfElementSlot as ft, unwrapSlotId as pt } from "x-runtime-lib";
14
+ import { addIndent as Re, finalProperties as C, getElement as w, getImplementMethodName as ze, getItems as Be, getTag as Ve, getTypes as He, makeEventId as T, makeEventKeyOfCustomSlot as Ue, makeEventKeyOfElementSlot as We, makeMethodId as Ge, makeMethodKeyOfCustomSlot as Ke, makeMethodKeyOfElementSlot as qe, makePropertyId as Je, makePropertyKeyOfCustomSlot as Ye, makePropertyKeyOfElementSlot as Xe, makeTriggerId as Ze, parseNumberUnit as Qe, pkgs as $e, themeColors as et, toEventName as tt, toMethodName as nt, toPropertyName as rt, unwrapEventId as it, unwrapEventKeyOfCustomSlot as at, unwrapEventKeyOfElementSlot as ot, unwrapMethodId as st, unwrapMethodKeyOfCustomSlot as ct, unwrapMethodKeyOfElementSlot as lt, unwrapPropertyId as ut, unwrapPropertyKeyOfCustomSlot as dt, unwrapPropertyKeyOfElementSlot as ft, unwrapSlotId as pt } from "x-runtime-lib";
15
15
  import { Fragment as mt, computed as E, createBlock as ht, createCommentVNode as gt, createElementBlock as D, createElementVNode as O, createVNode as k, defineComponent as _t, inject as vt, isRef as yt, mergeModels as bt, mergeProps as xt, nextTick as St, normalizeStyle as A, onBeforeUnmount as Ct, onMounted as wt, onUnmounted as Tt, openBlock as j, provide as Et, ref as Dt, renderList as Ot, renderSlot as kt, resolveComponent as M, resolveDirective as At, toDisplayString as jt, unref as N, useId as Mt, useModel as Nt, useTemplateRef as Pt, watch as Ft, withCtx as P, withDirectives as It, withKeys as Lt, withModifiers as Rt } from "vue";
16
16
  import { useI18n as zt } from "vue-i18n";
17
17
  import { useDisplay as Bt } from "vuetify";
@@ -438,7 +438,7 @@ var Dn = ye(), On = (e, t) => {
438
438
  if (n.trait === "number") i = new r(this.value ?? 0, n.min, n.max, n.precision ? 1 / 10 ** n.precision : null, (e) => {
439
439
  this.value = e;
440
440
  });
441
- else if (n.trait === "numberUnit") i = new r(Qe(this.value) ?? 0, n.min, n.max, n.precision ? 1 / 10 ** n.precision : null, (e) => {
441
+ else if (n.trait === "numberUnit") i = new r(Qe(this.value, n.unit) ?? 0, n.min, n.max, n.precision ? 1 / 10 ** n.precision : null, (e) => {
442
442
  this.value = e + n.unit;
443
443
  }), a = n.unit;
444
444
  else if (n.trait === "hexColor") i = new Dn.FieldColour(this.value, (e) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.10.31",
4
+ "version": "0.10.32",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",