x-block-lib 0.10.11 → 0.10.12

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,7 +3,6 @@ type __VLS_Props = {
3
3
  title: string;
4
4
  desc: string;
5
5
  select: boolean;
6
- first: boolean;
7
6
  };
8
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
8
  "x-click": (...args: any[]) => void;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  License: see project LICENSE
8
8
  Touched: 2021
9
9
  */
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-16e6f579]{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}
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
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";
@@ -8877,8 +8877,7 @@ var zi = /* @__PURE__ */ ht({
8877
8877
  id: {},
8878
8878
  title: {},
8879
8879
  desc: {},
8880
- select: { type: Boolean },
8881
- first: { type: Boolean }
8880
+ select: { type: Boolean }
8882
8881
  },
8883
8882
  emits: ["x-click"],
8884
8883
  setup(e, { emit: t }) {
@@ -8888,10 +8887,12 @@ var zi = /* @__PURE__ */ ht({
8888
8887
  background: o.value ? i.value : r.value,
8889
8888
  width: "100%",
8890
8889
  height: "48px",
8891
- marginBottom: "1px",
8890
+ marginTop: "1px",
8891
+ marginLeft: "1px",
8892
+ marginRight: "1px",
8892
8893
  userSelect: "none"
8893
8894
  };
8894
- return e.select ? (e.first && (t.marginTop = "1px"), t.outline = "1px solid " + n.value) : (t.marginTop = void 0, t.outline = void 0), t;
8895
+ return e.select ? t.outline = "1px solid " + n.value : t.outline = void 0, t;
8895
8896
  });
8896
8897
  return (t, n) => {
8897
8898
  let r = M("v-spacer"), i = M("v-icon"), c = Ot("ripple");
@@ -9006,25 +9007,23 @@ var zi = /* @__PURE__ */ ht({
9006
9007
  onMove: c,
9007
9008
  onStart: s
9008
9009
  }, {
9009
- default: Pt(() => [(j(!0), D(ft, null, Et(a.value, (e, t) => (j(), pt(Wi, {
9010
+ default: Pt(() => [(j(!0), D(ft, null, Et(a.value, (e) => (j(), pt(Wi, {
9010
9011
  id: e.id,
9011
9012
  key: e.id,
9012
9013
  desc: e.desc,
9013
- first: t === 0,
9014
9014
  select: e.select,
9015
9015
  title: e.name,
9016
9016
  onXClick: u
9017
9017
  }, null, 8, [
9018
9018
  "id",
9019
9019
  "desc",
9020
- "first",
9021
9020
  "select",
9022
9021
  "title"
9023
9022
  ]))), 128))]),
9024
9023
  _: 1
9025
9024
  }, 8, ["modelValue"])) : (j(), D("span", Gi, kt(N(n)("x-block-lib.noOption")), 1));
9026
9025
  }
9027
- }), [["__scopeId", "data-v-16e6f579"]]), qi = /* @__PURE__ */ ht({
9026
+ }), [["__scopeId", "data-v-a710550b"]]), qi = /* @__PURE__ */ ht({
9028
9027
  __name: "index",
9029
9028
  props: {
9030
9029
  modelValue: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.10.11",
4
+ "version": "0.10.12",
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.223",
45
+ "x-runtime-lib": "^0.8.224",
46
46
  "x-state-lib": "^0.3.42"
47
47
  },
48
48
  "devDependencies": {