x-block-lib 0.10.12 → 0.10.13

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 +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@
10
10
  pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.hljs{color:#444;background:#f3f3f3}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.ghost[data-v-a710550b]{opacity:.4;pointer-events:none}.blocklyToolbox{width:56px;overflow-x:hidden}.blocklyMainBackground{stroke-width:0}.blocklyToolboxCategory{margin-bottom:12px!important}.blocklyToolboxCategoryIcon{display:none!important}.blocklyTreeRowContentContainer{place-items:center;height:28px;display:flex;overflow:hidden}.blocklyFlyout{z-index:21}
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.fv51g55i.js";
12
12
  import { globalState as S } from "x-state-lib";
13
- import { addIndent as Ae, finalProperties as C, getElement as w, getImplementMethodName as je, getTag as Me, makeEventId as T, makeEventKeyOfCustomSlot as Ne, makeEventKeyOfElementSlot as Pe, makeMethodId as Fe, makeMethodKeyOfCustomSlot as Ie, makeMethodKeyOfElementSlot as Le, makePropertyId as Re, makePropertyKeyOfCustomSlot as ze, makePropertyKeyOfElementSlot as Be, makeTriggerId as Ve, parsePercentStr as He, parsePixelStr as Ue, pkgs as We, toEventName as Ge, toMethodName as Ke, toPropertyName as qe, unwrapEventId as Je, unwrapEventKeyOfCustomSlot as Ye, unwrapEventKeyOfElementSlot as Xe, unwrapMethodId as Ze, unwrapMethodKeyOfCustomSlot as Qe, unwrapMethodKeyOfElementSlot as $e, unwrapPropertyId as et, unwrapPropertyKeyOfCustomSlot as tt, unwrapPropertyKeyOfElementSlot as nt, unwrapSlotId as rt } from "x-runtime-lib";
13
+ import { addIndent as Ae, finalProperties as C, getElement as w, getImplementMethodName as je, getTag as Me, makeEventId as T, makeEventKeyOfCustomSlot as Ne, makeEventKeyOfElementSlot as Pe, makeMethodId as Fe, makeMethodKeyOfCustomSlot as Ie, makeMethodKeyOfElementSlot as Le, makePropertyId as Re, makePropertyKeyOfCustomSlot as ze, makePropertyKeyOfElementSlot as Be, makeTriggerId as Ve, parsePercent as He, parsePixel as Ue, pkgs as We, toEventName as Ge, toMethodName as Ke, toPropertyName as qe, unwrapEventId as Je, unwrapEventKeyOfCustomSlot as Ye, unwrapEventKeyOfElementSlot as Xe, unwrapMethodId as Ze, unwrapMethodKeyOfCustomSlot as Qe, unwrapMethodKeyOfElementSlot as $e, unwrapPropertyId as et, unwrapPropertyKeyOfCustomSlot as tt, unwrapPropertyKeyOfElementSlot as nt, unwrapSlotId as rt } from "x-runtime-lib";
14
14
  import { eventBus as it, globalObjects as at, messageWarning as ot, openConfirmDlg as st, openPromptDlg as ct, useColor as lt, useSystem as ut, useViewStack as dt } from "x-essential-lib";
15
15
  import { Fragment as ft, computed as E, createBlock as pt, createCommentVNode as mt, createElementBlock as D, createElementVNode as O, createVNode as k, defineComponent as ht, inject as gt, isRef as _t, mergeModels as vt, mergeProps as yt, nextTick as bt, normalizeStyle as A, onBeforeUnmount as xt, onMounted as St, onUnmounted as Ct, openBlock as j, provide as wt, ref as Tt, renderList as Et, renderSlot as Dt, resolveComponent as M, resolveDirective as Ot, toDisplayString as kt, unref as N, useId as At, useModel as jt, useTemplateRef as Mt, watch as Nt, withCtx as Pt, withDirectives as Ft, withKeys as It, withModifiers as Lt } from "vue";
16
16
  import { useDisplay as Rt } from "vuetify";
@@ -338,9 +338,9 @@ var Sn = (e, t) => {
338
338
  if (!i) return;
339
339
  e.removeField("VALUE", !0), e.removeField("SUFFIX", !0);
340
340
  let a, o;
341
- i.ui === "pixelInput" ? (a = new r(Ue(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
341
+ i.value === "pixel" ? (a = new r(Ue(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
342
342
  this.value = e + "px";
343
- }), o = "px") : i.ui === "percentInput" && (a = new r(He(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
343
+ }), o = "px") : i.value === "percent" && (a = new r(He(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
344
344
  this.value = e + "%";
345
345
  }), o = "%"), a && e.appendField(a, "VALUE"), o && e.appendField(o, "SUFFIX");
346
346
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.10.12",
4
+ "version": "0.10.13",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "peerDependencies": {
43
43
  "x-error-lib": "^0.5.16",
44
44
  "x-essential-lib": "^0.9.29",
45
- "x-runtime-lib": "^0.8.224",
45
+ "x-runtime-lib": "^0.9.0",
46
46
  "x-state-lib": "^0.3.42"
47
47
  },
48
48
  "devDependencies": {