x-block-lib 0.7.1 → 0.7.3

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.
@@ -1,5 +1,4 @@
1
1
  import { getCurrentScope as XT, onScopeDispose as YT, computed as $i, toValue as j_, watch as w$, shallowRef as KT, getCurrentInstance as ba, onMounted as X_, defineComponent as Y_, toRefs as JT, unref as _o, ref as K_, reactive as ZT, h as p$, nextTick as J_, onUnmounted as qT, isRef as qd } from "vue";
2
- var sS = "M19.36,2.72L20.78,4.14L15.06,9.85C16.13,11.39 16.28,13.24 15.38,14.44L9.06,8.12C10.26,7.22 12.11,7.37 13.65,8.44L19.36,2.72M5.93,17.57C3.92,15.56 2.69,13.16 2.35,10.92L7.23,8.83L14.67,16.27L12.58,21.15C10.34,20.81 7.94,19.58 5.93,17.57Z", iS = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", nS = "M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z", rS = "M21 11H3V9H21V11M21 13H3V15H21V13Z", lS = "M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z", cS = "M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z", aS = "M21 3L3 10.53V11.5L9.84 14.16L12.5 21H13.46L21 3Z";
3
2
  function QT(n) {
4
3
  return XT() ? (YT(n), !0) : !1;
5
4
  }
@@ -21,7 +20,7 @@ function sv(n) {
21
20
  const c = ov();
22
21
  return $i(() => (c.value, !!n()));
23
22
  }
24
- function uS(n, c, r = {}) {
23
+ function sS(n, c, r = {}) {
25
24
  const { window: u = tv, ...f } = r;
26
25
  let m;
27
26
  const T = sv(() => u && "ResizeObserver" in u), k = () => {
@@ -15473,166 +15472,166 @@ Blockly.YourGeneratorName.nameDB_.setVariableMap(workspace.getVariableMap());`),
15473
15472
  }
15474
15473
  var nv = Z_();
15475
15474
  const rv = /* @__PURE__ */ I$(nv), {
15476
- Block: hS,
15477
- BlockFlyoutInflater: dS,
15478
- BlockNavigationPolicy: $S,
15479
- BlockSvg: pS,
15480
- Blocks: gS,
15481
- ButtonFlyoutInflater: fS,
15482
- COLLAPSED_FIELD_NAME: mS,
15483
- COLLAPSED_INPUT_NAME: bS,
15484
- COLLAPSE_CHARS: _S,
15485
- CodeGenerator: ES,
15486
- CollapsibleToolboxCategory: TS,
15487
- ComponentManager: vS,
15488
- Connection: yS,
15489
- ConnectionChecker: CS,
15490
- ConnectionDB: wS,
15491
- ConnectionNavigationPolicy: IS,
15492
- ConnectionType: kS,
15493
- ContextMenu: SS,
15494
- ContextMenuItems: RS,
15495
- ContextMenuRegistry: NS,
15496
- Css: AS,
15497
- DELETE_VARIABLE_ID: OS,
15498
- DeleteArea: DS,
15499
- DragTarget: xS,
15500
- DropDownDiv: MS,
15501
- Events: LS,
15502
- Extensions: BS,
15503
- Field: PS,
15504
- FieldCheckbox: FS,
15505
- FieldDropdown: HS,
15506
- FieldImage: US,
15507
- FieldLabel: GS,
15508
- FieldLabelSerializable: VS,
15509
- FieldNavigationPolicy: WS,
15510
- FieldNumber: zS,
15511
- FieldTextInput: jS,
15512
- FieldVariable: XS,
15513
- Flyout: YS,
15514
- FlyoutButton: KS,
15515
- FlyoutButtonNavigationPolicy: JS,
15516
- FlyoutItem: ZS,
15517
- FlyoutMetricsManager: qS,
15518
- FlyoutNavigationPolicy: QS,
15519
- FlyoutNavigator: eR,
15520
- FlyoutSeparator: tR,
15521
- FlyoutSeparatorNavigationPolicy: oR,
15522
- FocusManager: sR,
15523
- FocusableTreeTraverser: iR,
15524
- Generator: nR,
15525
- Gesture: rR,
15526
- Grid: lR,
15527
- HorizontalFlyout: cR,
15528
- INPUT_VALUE: aR,
15529
- Input: uR,
15530
- InsertionMarkerPreviewer: hR,
15531
- KeyboardNavigationController: dR,
15532
- LabelFlyoutInflater: $R,
15533
- LineCursor: pR,
15534
- Marker: gR,
15535
- MarkerManager: fR,
15536
- Menu: mR,
15537
- MenuItem: bR,
15538
- MetricsManager: _R,
15539
- Msg: ER,
15540
- NEXT_STATEMENT: TR,
15541
- Names: vR,
15542
- Navigator: yR,
15543
- OPPOSITE_TYPE: CR,
15544
- OUTPUT_VALUE: wR,
15545
- Options: IR,
15546
- PREVIOUS_STATEMENT: kR,
15547
- PROCEDURE_CATEGORY_NAME: SR,
15548
- Procedures: RR,
15549
- RENAME_VARIABLE_ID: NR,
15550
- RenderedConnection: AR,
15551
- Scrollbar: OR,
15552
- ScrollbarPair: DR,
15553
- SeparatorFlyoutInflater: xR,
15554
- ShortcutItems: MR,
15555
- ShortcutRegistry: LR,
15556
- TOOLBOX_AT_BOTTOM: BR,
15557
- TOOLBOX_AT_LEFT: PR,
15558
- TOOLBOX_AT_RIGHT: FR,
15559
- TOOLBOX_AT_TOP: HR,
15560
- Theme: UR,
15561
- ThemeManager: GR,
15562
- Themes: VR,
15563
- Toast: WR,
15564
- Toolbox: zR,
15565
- ToolboxCategory: jR,
15566
- ToolboxItem: XR,
15567
- ToolboxSeparator: YR,
15568
- Tooltip: KR,
15569
- Touch: JR,
15570
- Trashcan: ZR,
15571
- UnattachedFieldError: qR,
15572
- VARIABLE_CATEGORY_NAME: QR,
15573
- VARIABLE_DYNAMIC_CATEGORY_NAME: eN,
15574
- VERSION: tN,
15575
- VariableMap: oN,
15576
- VariableModel: sN,
15577
- Variables: iN,
15578
- VariablesDynamic: nN,
15579
- VerticalFlyout: rN,
15580
- WidgetDiv: lN,
15581
- Workspace: cN,
15582
- WorkspaceAudio: aN,
15583
- WorkspaceDragger: uN,
15584
- WorkspaceNavigationPolicy: hN,
15585
- WorkspaceSvg: dN,
15586
- Xml: $N,
15587
- ZoomControls: pN,
15588
- blockAnimations: gN,
15589
- blockRendering: fN,
15590
- browserEvents: mN,
15591
- bubbles: bN,
15592
- bumpObjects: _N,
15593
- clipboard: EN,
15594
- comments: TN,
15595
- common: vN,
15596
- config: yN,
15597
- constants: CN,
15598
- defineBlocksWithJsonArray: wN,
15599
- dialog: IN,
15600
- dragging: kN,
15601
- fieldRegistry: SN,
15602
- geras: RN,
15603
- getFocusManager: NN,
15604
- getMainWorkspace: AN,
15605
- getSelected: ON,
15606
- hasBubble: DN,
15607
- hideChaff: xN,
15608
- icons: MN,
15609
- inject: LN,
15610
- inputs: BN,
15611
- isCopyable: PN,
15612
- isDeletable: FN,
15613
- isDraggable: HN,
15614
- isIcon: UN,
15615
- isObservable: GN,
15616
- isPaster: VN,
15617
- isRenderedElement: WN,
15618
- isSelectable: zN,
15619
- isSerializable: jN,
15620
- isVariableBackedParameterModel: XN,
15621
- keyboardNavigationController: YN,
15622
- layers: KN,
15623
- navigateBlock: JN,
15624
- navigateStacks: ZN,
15625
- procedures: qN,
15626
- registry: QN,
15627
- renderManagement: eA,
15628
- serialization: tA,
15629
- setLocale: oA,
15630
- setParentContainer: sA,
15631
- svgResize: iA,
15632
- thrasos: nA,
15633
- uiPosition: rA,
15634
- utils: lA,
15635
- zelos: cA
15475
+ Block: iS,
15476
+ BlockFlyoutInflater: nS,
15477
+ BlockNavigationPolicy: rS,
15478
+ BlockSvg: lS,
15479
+ Blocks: cS,
15480
+ ButtonFlyoutInflater: aS,
15481
+ COLLAPSED_FIELD_NAME: uS,
15482
+ COLLAPSED_INPUT_NAME: hS,
15483
+ COLLAPSE_CHARS: dS,
15484
+ CodeGenerator: $S,
15485
+ CollapsibleToolboxCategory: pS,
15486
+ ComponentManager: gS,
15487
+ Connection: fS,
15488
+ ConnectionChecker: mS,
15489
+ ConnectionDB: bS,
15490
+ ConnectionNavigationPolicy: _S,
15491
+ ConnectionType: ES,
15492
+ ContextMenu: TS,
15493
+ ContextMenuItems: vS,
15494
+ ContextMenuRegistry: yS,
15495
+ Css: CS,
15496
+ DELETE_VARIABLE_ID: wS,
15497
+ DeleteArea: IS,
15498
+ DragTarget: kS,
15499
+ DropDownDiv: SS,
15500
+ Events: RS,
15501
+ Extensions: NS,
15502
+ Field: AS,
15503
+ FieldCheckbox: OS,
15504
+ FieldDropdown: DS,
15505
+ FieldImage: xS,
15506
+ FieldLabel: MS,
15507
+ FieldLabelSerializable: LS,
15508
+ FieldNavigationPolicy: BS,
15509
+ FieldNumber: PS,
15510
+ FieldTextInput: FS,
15511
+ FieldVariable: HS,
15512
+ Flyout: US,
15513
+ FlyoutButton: GS,
15514
+ FlyoutButtonNavigationPolicy: VS,
15515
+ FlyoutItem: WS,
15516
+ FlyoutMetricsManager: zS,
15517
+ FlyoutNavigationPolicy: jS,
15518
+ FlyoutNavigator: XS,
15519
+ FlyoutSeparator: YS,
15520
+ FlyoutSeparatorNavigationPolicy: KS,
15521
+ FocusManager: JS,
15522
+ FocusableTreeTraverser: ZS,
15523
+ Generator: qS,
15524
+ Gesture: QS,
15525
+ Grid: eR,
15526
+ HorizontalFlyout: tR,
15527
+ INPUT_VALUE: oR,
15528
+ Input: sR,
15529
+ InsertionMarkerPreviewer: iR,
15530
+ KeyboardNavigationController: nR,
15531
+ LabelFlyoutInflater: rR,
15532
+ LineCursor: lR,
15533
+ Marker: cR,
15534
+ MarkerManager: aR,
15535
+ Menu: uR,
15536
+ MenuItem: hR,
15537
+ MetricsManager: dR,
15538
+ Msg: $R,
15539
+ NEXT_STATEMENT: pR,
15540
+ Names: gR,
15541
+ Navigator: fR,
15542
+ OPPOSITE_TYPE: mR,
15543
+ OUTPUT_VALUE: bR,
15544
+ Options: _R,
15545
+ PREVIOUS_STATEMENT: ER,
15546
+ PROCEDURE_CATEGORY_NAME: TR,
15547
+ Procedures: vR,
15548
+ RENAME_VARIABLE_ID: yR,
15549
+ RenderedConnection: CR,
15550
+ Scrollbar: wR,
15551
+ ScrollbarPair: IR,
15552
+ SeparatorFlyoutInflater: kR,
15553
+ ShortcutItems: SR,
15554
+ ShortcutRegistry: RR,
15555
+ TOOLBOX_AT_BOTTOM: NR,
15556
+ TOOLBOX_AT_LEFT: AR,
15557
+ TOOLBOX_AT_RIGHT: OR,
15558
+ TOOLBOX_AT_TOP: DR,
15559
+ Theme: xR,
15560
+ ThemeManager: MR,
15561
+ Themes: LR,
15562
+ Toast: BR,
15563
+ Toolbox: PR,
15564
+ ToolboxCategory: FR,
15565
+ ToolboxItem: HR,
15566
+ ToolboxSeparator: UR,
15567
+ Tooltip: GR,
15568
+ Touch: VR,
15569
+ Trashcan: WR,
15570
+ UnattachedFieldError: zR,
15571
+ VARIABLE_CATEGORY_NAME: jR,
15572
+ VARIABLE_DYNAMIC_CATEGORY_NAME: XR,
15573
+ VERSION: YR,
15574
+ VariableMap: KR,
15575
+ VariableModel: JR,
15576
+ Variables: ZR,
15577
+ VariablesDynamic: qR,
15578
+ VerticalFlyout: QR,
15579
+ WidgetDiv: eN,
15580
+ Workspace: tN,
15581
+ WorkspaceAudio: oN,
15582
+ WorkspaceDragger: sN,
15583
+ WorkspaceNavigationPolicy: iN,
15584
+ WorkspaceSvg: nN,
15585
+ Xml: rN,
15586
+ ZoomControls: lN,
15587
+ blockAnimations: cN,
15588
+ blockRendering: aN,
15589
+ browserEvents: uN,
15590
+ bubbles: hN,
15591
+ bumpObjects: dN,
15592
+ clipboard: $N,
15593
+ comments: pN,
15594
+ common: gN,
15595
+ config: fN,
15596
+ constants: mN,
15597
+ defineBlocksWithJsonArray: bN,
15598
+ dialog: _N,
15599
+ dragging: EN,
15600
+ fieldRegistry: TN,
15601
+ geras: vN,
15602
+ getFocusManager: yN,
15603
+ getMainWorkspace: CN,
15604
+ getSelected: wN,
15605
+ hasBubble: IN,
15606
+ hideChaff: kN,
15607
+ icons: SN,
15608
+ inject: RN,
15609
+ inputs: NN,
15610
+ isCopyable: AN,
15611
+ isDeletable: ON,
15612
+ isDraggable: DN,
15613
+ isIcon: xN,
15614
+ isObservable: MN,
15615
+ isPaster: LN,
15616
+ isRenderedElement: BN,
15617
+ isSelectable: PN,
15618
+ isSerializable: FN,
15619
+ isVariableBackedParameterModel: HN,
15620
+ keyboardNavigationController: UN,
15621
+ layers: GN,
15622
+ navigateBlock: VN,
15623
+ navigateStacks: WN,
15624
+ procedures: zN,
15625
+ registry: jN,
15626
+ renderManagement: XN,
15627
+ serialization: YN,
15628
+ setLocale: KN,
15629
+ setParentContainer: JN,
15630
+ svgResize: ZN,
15631
+ thrasos: qN,
15632
+ uiPosition: QN,
15633
+ utils: eA,
15634
+ zelos: tA
15636
15635
  } = rv;
15637
15636
  var oa = { exports: {} }, lv = oa.exports, Jb;
15638
15637
  function cv() {
@@ -16441,9 +16440,9 @@ function ${$.FUNCTION_NAME_PLACEHOLDER_}(haystack, needle, replacement) {
16441
16440
  }
16442
16441
  var av = cv();
16443
16442
  const uv = /* @__PURE__ */ I$(av), {
16444
- JavascriptGenerator: aA,
16445
- Order: uA,
16446
- javascriptGenerator: hA
16443
+ JavascriptGenerator: oA,
16444
+ Order: sA,
16445
+ javascriptGenerator: iA
16447
16446
  } = uv;
16448
16447
  var q_ = typeof global == "object" && global && global.Object === Object && global, hv = typeof self == "object" && self && self.Object === Object && self, zo = q_ || hv || Function("return this")(), ms = zo.Symbol, Q_ = Object.prototype, dv = Q_.hasOwnProperty, $v = Q_.toString, rl = ms ? ms.toStringTag : void 0;
16449
16448
  function pv(n) {
@@ -17210,7 +17209,7 @@ function sa(n, c, r, u, f, m) {
17210
17209
  }), T;
17211
17210
  }
17212
17211
  var CI = 1, wI = 4;
17213
- function dA(n) {
17212
+ function nA(n) {
17214
17213
  return sa(n, CI | wI);
17215
17214
  }
17216
17215
  var II = "__lodash_hash_undefined__";
@@ -17374,14 +17373,14 @@ function tk(n, c, r, u, f, m) {
17374
17373
  function kE(n, c, r, u, f) {
17375
17374
  return n === c ? !0 : n == null || c == null || !gi(n) && !gi(c) ? n !== n && c !== c : tk(n, c, r, u, kE, f);
17376
17375
  }
17377
- function $A(n, c) {
17376
+ function rA(n, c) {
17378
17377
  return kE(n, c);
17379
17378
  }
17380
17379
  var ok = /^\s+/, sk = zo.parseInt;
17381
- function pA(n, c, r) {
17380
+ function lA(n, c, r) {
17382
17381
  return c == null ? c = 0 : c && (c = +c), sk(R$(n).replace(ok, ""), c || 0);
17383
17382
  }
17384
- var gA = QC(function(n, c, r) {
17383
+ var cA = QC(function(n, c, r) {
17385
17384
  return n + (r ? "_" : "") + c.toLowerCase();
17386
17385
  }), ik = Object.defineProperty, da = Object.getOwnPropertySymbols, SE = Object.prototype.hasOwnProperty, RE = Object.prototype.propertyIsEnumerable, k_ = (n, c, r) => c in n ? ik(n, c, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[c] = r, Qn = (n, c) => {
17387
17386
  for (var r in c || (c = {}))
@@ -18944,7 +18943,7 @@ const C$ = [
18944
18943
  "target",
18945
18944
  "customUpdate",
18946
18945
  ...C$.map((n) => `on${n.replace(/^\S/, (c) => c.toUpperCase())}`)
18947
- ], fA = Y_({
18946
+ ], aA = Y_({
18948
18947
  name: "VueDraggable",
18949
18948
  model: {
18950
18949
  prop: "modelValue",
@@ -20181,7 +20180,7 @@ const $$ = /* @__PURE__ */ I$(Jk), z_ = "[A-Za-z$_][0-9A-Za-z$_]*", Zk = [
20181
20180
  YE,
20182
20181
  KE
20183
20182
  );
20184
- function mA(n) {
20183
+ function uA(n) {
20185
20184
  const c = n.regex, r = (He, { after: je }) => {
20186
20185
  const W = "</" + He[0].slice(1);
20187
20186
  return He.input.indexOf(W, je) !== -1;
@@ -20715,65 +20714,58 @@ var tS = Y_({ props: { code: { type: String, required: !0 }, language: { type: S
20715
20714
  }) };
20716
20715
  }, render: function() {
20717
20716
  return p$("pre", {}, [p$("code", { class: this.className, innerHTML: this.highlightedCode })]);
20718
- } }), bA = { component: tS };
20717
+ } }), hA = { component: tS };
20719
20718
  export {
20720
- uS as $,
20721
- PN as A,
20722
- gS as B,
20723
- SS as C,
20724
- EN as D,
20725
- LS as E,
20726
- HS as F,
20727
- rR as G,
20728
- pS as H,
20729
- UR as I,
20730
- sS as J,
20731
- lS as K,
20732
- cS as L,
20733
- ER as M,
20734
- vR as N,
20735
- uA as O,
20736
- RR as P,
20737
- rS as Q,
20738
- fA as R,
20739
- LR as S,
20740
- VR as T,
20741
- vN as U,
20742
- iN as V,
20743
- iS as W,
20744
- $N as X,
20745
- aS as Y,
20746
- LN as Z,
20747
- sA as _,
20748
- BN as a,
20749
- nS as a0,
20750
- iA as a1,
20751
- $$ as a2,
20752
- mA as a3,
20753
- bA as a4,
20754
- zS as b,
20755
- dA as c,
20756
- wN as d,
20757
- tA as e,
20758
- SN as f,
20759
- MN as g,
20760
- jS as h,
20761
- $A as i,
20762
- hA as j,
20763
- US as k,
20764
- GS as l,
20765
- BS as m,
20766
- FS as n,
20767
- AN as o,
20768
- pA as p,
20769
- IN as q,
20770
- QN as r,
20771
- gA as s,
20772
- oA as t,
20773
- lA as u,
20774
- MR as v,
20775
- NS as w,
20776
- ON as x,
20777
- FN as y,
20778
- HN as z
20719
+ AN as A,
20720
+ cS as B,
20721
+ TS as C,
20722
+ $N as D,
20723
+ RS as E,
20724
+ DS as F,
20725
+ QS as G,
20726
+ lS as H,
20727
+ xR as I,
20728
+ aA as J,
20729
+ gN as K,
20730
+ RN as L,
20731
+ $R as M,
20732
+ gR as N,
20733
+ sA as O,
20734
+ vR as P,
20735
+ JN as Q,
20736
+ sS as R,
20737
+ RR as S,
20738
+ LR as T,
20739
+ ZN as U,
20740
+ ZR as V,
20741
+ $$ as W,
20742
+ rN as X,
20743
+ uA as Y,
20744
+ hA as Z,
20745
+ NN as a,
20746
+ PS as b,
20747
+ nA as c,
20748
+ bN as d,
20749
+ YN as e,
20750
+ TN as f,
20751
+ SN as g,
20752
+ FS as h,
20753
+ rA as i,
20754
+ iA as j,
20755
+ xS as k,
20756
+ MS as l,
20757
+ NS as m,
20758
+ OS as n,
20759
+ CN as o,
20760
+ lA as p,
20761
+ _N as q,
20762
+ jN as r,
20763
+ cA as s,
20764
+ KN as t,
20765
+ eA as u,
20766
+ SR as v,
20767
+ yS as w,
20768
+ wN as x,
20769
+ ON as y,
20770
+ DN as z
20779
20771
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.7.1",
4
+ "version": "0.7.3",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -23,7 +23,6 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@highlightjs/vue-plugin": "^2.1.0",
26
- "@mdi/js": "^7.4.47",
27
26
  "axios": "^1.9.0",
28
27
  "blockly": "^12.1.0",
29
28
  "highlight.js": "^11.11.1",
@@ -33,8 +32,8 @@
33
32
  "vue-i18n": "^11.1.5",
34
33
  "vue-router": "^4.5.1",
35
34
  "vuetify": "^3.8.9",
36
- "x-essential-lib": "^0.8.14",
37
- "x-runtime-lib": "^0.7.3",
35
+ "x-essential-lib": "^0.8.15",
36
+ "x-runtime-lib": "^0.7.9",
38
37
  "x-state-lib": "^0.3.1"
39
38
  },
40
39
  "devDependencies": {