@kubex/zinc 1.1.95 → 1.1.96

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.
@@ -14969,6 +14969,31 @@
14969
14969
  ],
14970
14970
  "description": "Canvas position for a node newly placed off a source node's output."
14971
14971
  },
14972
+ {
14973
+ "kind": "method",
14974
+ "name": "_refusesBranch",
14975
+ "privacy": "private",
14976
+ "return": {
14977
+ "type": {
14978
+ "text": "boolean"
14979
+ }
14980
+ },
14981
+ "parameters": [
14982
+ {
14983
+ "name": "node",
14984
+ "type": {
14985
+ "text": "FlowNodeInstance"
14986
+ }
14987
+ },
14988
+ {
14989
+ "name": "port",
14990
+ "type": {
14991
+ "text": "string"
14992
+ }
14993
+ }
14994
+ ],
14995
+ "description": "Whether a node refuses the branch being asked of it: a fixed-output type\nhas only the branches it declares, so the \"new branch\" sentinel has nowhere\nto go. Checked before the history push, so a refused gesture is a no-op\nrather than an empty undo step."
14996
+ },
14972
14997
  {
14973
14998
  "kind": "method",
14974
14999
  "name": "_ensureOutput",
@@ -25809,7 +25834,7 @@
25809
25834
  ],
25810
25835
  "slots": [
25811
25836
  {
25812
- "description": "`<template type=\"…\">` declarations; never displayed. Each template's attributes (type, label, icon, icon-library, color, category, description, container, columns, widths, grow, slots, accepts) declare a palette entry and its content declares the inspector form for that type. `container` makes the type a container whose editor-configurable layout starts from `columns` (seeds equal widths) or `widths` (explicit weights, wins over `columns`); `grow` seeds a growable instance. `accepts` is a comma-separated list of the type keys its cells allow — omitted on a `container` type, any type is allowed subject to the nesting cap. `slots` is",
25837
+ "description": "`<template type=\"…\">` declarations; never displayed. Each template's attributes (type, label, icon, icon-library, color, category, description, slots, accepts) declare a palette entry and its content declares the inspector form for that type. `slots` makes the section a container with that many child slots; `accepts` is a comma-separated list of the type keys its slots allow.",
25813
25838
  "name": "config"
25814
25839
  },
25815
25840
  {
@@ -25829,7 +25854,7 @@
25829
25854
  "text": "object"
25830
25855
  },
25831
25856
  "static": true,
25832
- "default": "{ 'zn-collapsible': ZnCollapsible, 'zn-icon': ZnIcon, 'zn-input': ZnInput, 'zn-page-palette-item': ZnPagePaletteItem, 'zn-page-section-card': ZnPageSectionCard, 'zn-toggle': ZnToggle, }"
25857
+ "default": "{ 'zn-collapsible': ZnCollapsible, 'zn-icon': ZnIcon, 'zn-input': ZnInput, 'zn-page-palette-item': ZnPagePaletteItem, 'zn-page-section-card': ZnPageSectionCard, }"
25833
25858
  },
25834
25859
  {
25835
25860
  "kind": "field",
@@ -25994,23 +26019,23 @@
25994
26019
  },
25995
26020
  {
25996
26021
  "kind": "field",
25997
- "name": "_cellDragOver",
26022
+ "name": "_slotDragOver",
25998
26023
  "type": {
25999
- "text": "{ containerId: string; cellIndex: number; insertIndex: number } | null"
26024
+ "text": "{ containerId: string; index: number } | null"
26000
26025
  },
26001
26026
  "privacy": "private",
26002
26027
  "default": "null",
26003
- "description": "The cell a drag is currently over, if any."
26028
+ "description": "The container slot a drag is currently over, if any."
26004
26029
  },
26005
26030
  {
26006
26031
  "kind": "field",
26007
- "name": "_cellPicker",
26032
+ "name": "_slotPicker",
26008
26033
  "type": {
26009
- "text": "{ containerId: string; cellIndex: number } | null"
26034
+ "text": "{ containerId: string; index: number } | null"
26010
26035
  },
26011
26036
  "privacy": "private",
26012
26037
  "default": "null",
26013
- "description": "The cell whose \"+\" type picker is open, if any."
26038
+ "description": "The container slot whose \"+\" type picker is open, if any."
26014
26039
  },
26015
26040
  {
26016
26041
  "kind": "field",
@@ -26404,6 +26429,69 @@
26404
26429
  ],
26405
26430
  "description": "Sections reordered so `required-first` leads the page: an existing section of that\ntype is hoisted to the front, otherwise an empty one is prepended. Returns the\nargument unchanged when there is nothing to do, so callers can compare by identity."
26406
26431
  },
26432
+ {
26433
+ "kind": "method",
26434
+ "name": "_findSection",
26435
+ "privacy": "private",
26436
+ "return": {
26437
+ "type": {
26438
+ "text": "PageSection | undefined"
26439
+ }
26440
+ },
26441
+ "parameters": [
26442
+ {
26443
+ "name": "id",
26444
+ "type": {
26445
+ "text": "string | null"
26446
+ }
26447
+ }
26448
+ ],
26449
+ "description": "Finds a section by id, searching top-level sections and slotted children."
26450
+ },
26451
+ {
26452
+ "kind": "method",
26453
+ "name": "_patchSection",
26454
+ "privacy": "private",
26455
+ "return": {
26456
+ "type": {
26457
+ "text": "PageSection[]"
26458
+ }
26459
+ },
26460
+ "parameters": [
26461
+ {
26462
+ "name": "id",
26463
+ "type": {
26464
+ "text": "string"
26465
+ }
26466
+ },
26467
+ {
26468
+ "name": "patch",
26469
+ "type": {
26470
+ "text": "(s: PageSection) => PageSection"
26471
+ }
26472
+ }
26473
+ ],
26474
+ "description": "New sections array with the section patched wherever it lives (top level or slot)."
26475
+ },
26476
+ {
26477
+ "kind": "method",
26478
+ "name": "_extract",
26479
+ "privacy": "private",
26480
+ "return": {
26481
+ "type": {
26482
+ "text": "[PageSection | undefined, PageSection[]]"
26483
+ }
26484
+ },
26485
+ "parameters": [
26486
+ {
26487
+ "name": "id",
26488
+ "type": {
26489
+ "text": "string"
26490
+ }
26491
+ }
26492
+ ],
26493
+ "description": "Detaches a section wherever it lives: removed from the top level, or its slot nulled."
26494
+ },
26407
26495
  {
26408
26496
  "kind": "method",
26409
26497
  "name": "_commit",
@@ -26416,7 +26504,7 @@
26416
26504
  }
26417
26505
  }
26418
26506
  ],
26419
- "description": "Installs a new state from a user edit and notifies listeners. Re-applies\ngrowth normalisation across the tree first, so a growable container never\ncarries a trailing empty row past this point — the read path (`containerCells`)\nalready hides it, but state/value/zn-page-change/auto-save must not diverge\nfrom what the canvas renders."
26507
+ "description": "Installs a new state from a user edit and notifies listeners."
26420
26508
  },
26421
26509
  {
26422
26510
  "kind": "method",
@@ -26456,11 +26544,10 @@
26456
26544
  },
26457
26545
  {
26458
26546
  "kind": "method",
26459
- "name": "_newSection",
26460
- "privacy": "private",
26547
+ "name": "addSection",
26461
26548
  "return": {
26462
26549
  "type": {
26463
- "text": "PageSection"
26550
+ "text": "PageSection | null"
26464
26551
  }
26465
26552
  },
26466
26553
  "parameters": [
@@ -26469,13 +26556,20 @@
26469
26556
  "type": {
26470
26557
  "text": "string"
26471
26558
  }
26559
+ },
26560
+ {
26561
+ "name": "index",
26562
+ "optional": true,
26563
+ "type": {
26564
+ "text": "number"
26565
+ }
26472
26566
  }
26473
26567
  ],
26474
- "description": "A fresh section of a registered type, seeded with layout/cells when it's a container."
26568
+ "description": "Adds a section of a registered type at `index` (default: end). Returns null for unknown types."
26475
26569
  },
26476
26570
  {
26477
26571
  "kind": "method",
26478
- "name": "addSection",
26572
+ "name": "addSectionToSlot",
26479
26573
  "return": {
26480
26574
  "type": {
26481
26575
  "text": "PageSection | null"
@@ -26489,14 +26583,19 @@
26489
26583
  }
26490
26584
  },
26491
26585
  {
26492
- "name": "index",
26493
- "optional": true,
26586
+ "name": "containerId",
26587
+ "type": {
26588
+ "text": "string"
26589
+ }
26590
+ },
26591
+ {
26592
+ "name": "slotIndex",
26494
26593
  "type": {
26495
26594
  "text": "number"
26496
26595
  }
26497
26596
  }
26498
26597
  ],
26499
- "description": "Adds a section of a registered type at `index` (default: end). Returns null for unknown types."
26598
+ "description": "Adds a new section of a registered type into a container's slot. Returns null if not allowed."
26500
26599
  },
26501
26600
  {
26502
26601
  "kind": "method",
@@ -26526,26 +26625,27 @@
26526
26625
  },
26527
26626
  {
26528
26627
  "kind": "method",
26529
- "name": "_findCellOwner",
26628
+ "name": "_moveSection",
26530
26629
  "privacy": "private",
26531
- "return": {
26532
- "type": {
26533
- "text": "CellOwner | undefined"
26534
- }
26535
- },
26536
26630
  "parameters": [
26537
26631
  {
26538
26632
  "name": "id",
26539
26633
  "type": {
26540
26634
  "text": "string"
26541
26635
  }
26636
+ },
26637
+ {
26638
+ "name": "index",
26639
+ "type": {
26640
+ "text": "number"
26641
+ }
26542
26642
  }
26543
26643
  ],
26544
- "description": "Locates a section living inside a container cell."
26644
+ "description": "Moves a section (top-level or slotted) to a top-level position."
26545
26645
  },
26546
26646
  {
26547
26647
  "kind": "method",
26548
- "name": "_moveSection",
26648
+ "name": "_moveToSlot",
26549
26649
  "privacy": "private",
26550
26650
  "parameters": [
26551
26651
  {
@@ -26555,23 +26655,19 @@
26555
26655
  }
26556
26656
  },
26557
26657
  {
26558
- "name": "index",
26658
+ "name": "containerId",
26659
+ "type": {
26660
+ "text": "string"
26661
+ }
26662
+ },
26663
+ {
26664
+ "name": "slotIndex",
26559
26665
  "type": {
26560
26666
  "text": "number"
26561
26667
  }
26562
26668
  }
26563
26669
  ],
26564
- "description": "Moves a section (top-level or inside a cell) to a top-level position."
26565
- },
26566
- {
26567
- "kind": "field",
26568
- "name": "_draggingId",
26569
- "type": {
26570
- "text": "string | null"
26571
- },
26572
- "privacy": "private",
26573
- "default": "null",
26574
- "description": "Id of the section currently being dragged — dataTransfer is unreadable during dragover."
26670
+ "description": "Moves a section into a container's slot. Dropping onto an occupied slot swaps\nthe two children (slot-to-slot reordering); top-level sections and containers\nonly enter empty slots / never enter slots respectively."
26575
26671
  },
26576
26672
  {
26577
26673
  "kind": "method",
@@ -26613,7 +26709,7 @@
26613
26709
  },
26614
26710
  {
26615
26711
  "kind": "method",
26616
- "name": "_onZoneDragOver",
26712
+ "name": "_onSlotDragOver",
26617
26713
  "privacy": "private",
26618
26714
  "parameters": [
26619
26715
  {
@@ -26623,22 +26719,9 @@
26623
26719
  }
26624
26720
  },
26625
26721
  {
26626
- "name": "index",
26627
- "type": {
26628
- "text": "number"
26629
- }
26630
- }
26631
- ]
26632
- },
26633
- {
26634
- "kind": "method",
26635
- "name": "_onZoneDrop",
26636
- "privacy": "private",
26637
- "parameters": [
26638
- {
26639
- "name": "e",
26722
+ "name": "containerId",
26640
26723
  "type": {
26641
- "text": "DragEvent"
26724
+ "text": "string"
26642
26725
  }
26643
26726
  },
26644
26727
  {
@@ -26649,94 +26732,9 @@
26649
26732
  }
26650
26733
  ]
26651
26734
  },
26652
- {
26653
- "kind": "field",
26654
- "name": "_onCanvasDragOver",
26655
- "privacy": "private"
26656
- },
26657
- {
26658
- "kind": "field",
26659
- "name": "_onCanvasDrop",
26660
- "privacy": "private"
26661
- },
26662
- {
26663
- "kind": "method",
26664
- "name": "_acceptsType",
26665
- "privacy": "private",
26666
- "return": {
26667
- "type": {
26668
- "text": "boolean"
26669
- }
26670
- },
26671
- "parameters": [
26672
- {
26673
- "name": "container",
26674
- "type": {
26675
- "text": "PageSection"
26676
- }
26677
- },
26678
- {
26679
- "name": "typeKey",
26680
- "type": {
26681
- "text": "string"
26682
- }
26683
- }
26684
- ],
26685
- "description": "Whether `typeKey`'s registered type is allowed into this container by its\n`accepts`/`slots=` rule — the nesting depth cap is a separate concern,\nchecked by each caller against its own notion of how tall the dropped\nsubtree is."
26686
- },
26687
- {
26688
- "kind": "method",
26689
- "name": "_acceptsInCell",
26690
- "privacy": "private",
26691
- "return": {
26692
- "type": {
26693
- "text": "boolean"
26694
- }
26695
- },
26696
- "parameters": [
26697
- {
26698
- "name": "container",
26699
- "type": {
26700
- "text": "PageSection"
26701
- }
26702
- },
26703
- {
26704
- "name": "typeKey",
26705
- "type": {
26706
- "text": "string"
26707
- }
26708
- }
26709
- ],
26710
- "description": "Whether `typeKey` may be dropped into this container's cells from the\npalette. A newly created section always has height 1, so the depth cap\nonly needs the target's own depth."
26711
- },
26712
- {
26713
- "kind": "method",
26714
- "name": "_canMoveIntoCell",
26715
- "privacy": "private",
26716
- "return": {
26717
- "type": {
26718
- "text": "boolean"
26719
- }
26720
- },
26721
- "parameters": [
26722
- {
26723
- "name": "container",
26724
- "type": {
26725
- "text": "PageSection"
26726
- }
26727
- },
26728
- {
26729
- "name": "sectionId",
26730
- "type": {
26731
- "text": "string"
26732
- }
26733
- }
26734
- ],
26735
- "description": "Whether a dragged, already-placed section may land in this container's\ncells. Unlike a palette drop, the moved subtree can already be several\ncontainers tall (it may itself hold a nested container), so the cap has to\naccount for that height, not just the target's depth: dropping `moved` at\na new depth of `containerDepth(container) + 1` puts its own deepest\ndescendant at `containerDepth(container) + containerHeight(moved)`."
26736
- },
26737
26735
  {
26738
26736
  "kind": "method",
26739
- "name": "_onCellDragOver",
26737
+ "name": "_onSlotDrop",
26740
26738
  "privacy": "private",
26741
26739
  "parameters": [
26742
26740
  {
@@ -26752,13 +26750,7 @@
26752
26750
  }
26753
26751
  },
26754
26752
  {
26755
- "name": "cellIndex",
26756
- "type": {
26757
- "text": "number"
26758
- }
26759
- },
26760
- {
26761
- "name": "insertIndex",
26753
+ "name": "index",
26762
26754
  "type": {
26763
26755
  "text": "number"
26764
26756
  }
@@ -26767,7 +26759,7 @@
26767
26759
  },
26768
26760
  {
26769
26761
  "kind": "method",
26770
- "name": "_onCellDrop",
26762
+ "name": "_onZoneDragOver",
26771
26763
  "privacy": "private",
26772
26764
  "parameters": [
26773
26765
  {
@@ -26777,19 +26769,7 @@
26777
26769
  }
26778
26770
  },
26779
26771
  {
26780
- "name": "containerId",
26781
- "type": {
26782
- "text": "string"
26783
- }
26784
- },
26785
- {
26786
- "name": "cellIndex",
26787
- "type": {
26788
- "text": "number"
26789
- }
26790
- },
26791
- {
26792
- "name": "insertIndex",
26772
+ "name": "index",
26793
26773
  "type": {
26794
26774
  "text": "number"
26795
26775
  }
@@ -26798,63 +26778,17 @@
26798
26778
  },
26799
26779
  {
26800
26780
  "kind": "method",
26801
- "name": "addSectionToCell",
26802
- "return": {
26803
- "type": {
26804
- "text": "PageSection | null"
26805
- }
26806
- },
26807
- "parameters": [
26808
- {
26809
- "name": "type",
26810
- "type": {
26811
- "text": "string"
26812
- }
26813
- },
26814
- {
26815
- "name": "containerId",
26816
- "type": {
26817
- "text": "string"
26818
- }
26819
- },
26820
- {
26821
- "name": "cellIndex",
26822
- "type": {
26823
- "text": "number"
26824
- }
26825
- },
26826
- {
26827
- "name": "insertIndex",
26828
- "default": "0"
26829
- }
26830
- ],
26831
- "description": "Adds a new section of a registered type into a container cell."
26832
- },
26833
- {
26834
- "kind": "method",
26835
- "name": "_moveToCell",
26781
+ "name": "_onZoneDrop",
26836
26782
  "privacy": "private",
26837
26783
  "parameters": [
26838
26784
  {
26839
- "name": "id",
26840
- "type": {
26841
- "text": "string"
26842
- }
26843
- },
26844
- {
26845
- "name": "containerId",
26846
- "type": {
26847
- "text": "string"
26848
- }
26849
- },
26850
- {
26851
- "name": "cellIndex",
26785
+ "name": "e",
26852
26786
  "type": {
26853
- "text": "number"
26787
+ "text": "DragEvent"
26854
26788
  }
26855
26789
  },
26856
26790
  {
26857
- "name": "insertIndex",
26791
+ "name": "index",
26858
26792
  "type": {
26859
26793
  "text": "number"
26860
26794
  }
@@ -26862,23 +26796,14 @@
26862
26796
  ]
26863
26797
  },
26864
26798
  {
26865
- "kind": "method",
26866
- "name": "_cellTypes",
26867
- "privacy": "private",
26868
- "return": {
26869
- "type": {
26870
- "text": "PageSectionType[]"
26871
- }
26872
- },
26873
- "parameters": [
26874
- {
26875
- "name": "container",
26876
- "type": {
26877
- "text": "PageSection"
26878
- }
26879
- }
26880
- ],
26881
- "description": "Types offerable in a container's cells."
26799
+ "kind": "field",
26800
+ "name": "_onCanvasDragOver",
26801
+ "privacy": "private"
26802
+ },
26803
+ {
26804
+ "kind": "field",
26805
+ "name": "_onCanvasDrop",
26806
+ "privacy": "private"
26882
26807
  },
26883
26808
  {
26884
26809
  "kind": "method",
@@ -26977,65 +26902,36 @@
26977
26902
  },
26978
26903
  {
26979
26904
  "kind": "method",
26980
- "name": "_renderNode",
26905
+ "name": "_renderSlot",
26981
26906
  "privacy": "private",
26982
- "return": {
26983
- "type": {
26984
- "text": "TemplateResult"
26985
- }
26986
- },
26987
26907
  "parameters": [
26988
26908
  {
26989
- "name": "section",
26909
+ "name": "container",
26990
26910
  "type": {
26991
26911
  "text": "PageSection"
26992
26912
  }
26993
26913
  },
26994
26914
  {
26995
- "name": "drop",
26996
- "type": {
26997
- "text": "{ over: (e: DragEvent) => void; drop: (e: DragEvent) => void }"
26998
- }
26999
- },
27000
- {
27001
- "name": "extraClass",
27002
- "default": "''"
27003
- }
27004
- ],
27005
- "description": "A card, or — for a container — its card plus its own cell grid. Shared by the\ntop-level section list and container-cell stacks, so nesting renders at every level."
27006
- },
27007
- {
27008
- "kind": "method",
27009
- "name": "_renderCells",
27010
- "privacy": "private",
27011
- "return": {
27012
- "type": {
27013
- "text": "TemplateResult"
27014
- }
27015
- },
27016
- "parameters": [
27017
- {
27018
- "name": "container",
26915
+ "name": "child",
27019
26916
  "type": {
27020
- "text": "PageSection"
26917
+ "text": "PageSection | null"
27021
26918
  }
27022
26919
  },
27023
26920
  {
27024
- "name": "type",
26921
+ "name": "index",
27025
26922
  "type": {
27026
- "text": "PageSectionType | undefined"
26923
+ "text": "number"
27027
26924
  }
27028
26925
  }
27029
- ],
27030
- "description": "A container's cell grid: one track per width, one stack per cell."
26926
+ ]
27031
26927
  },
27032
26928
  {
27033
26929
  "kind": "method",
27034
- "name": "_renderCell",
26930
+ "name": "_slotTypes",
27035
26931
  "privacy": "private",
27036
26932
  "return": {
27037
26933
  "type": {
27038
- "text": "TemplateResult"
26934
+ "text": "PageSectionType[]"
27039
26935
  }
27040
26936
  },
27041
26937
  "parameters": [
@@ -27044,46 +26940,9 @@
27044
26940
  "type": {
27045
26941
  "text": "PageSection"
27046
26942
  }
27047
- },
27048
- {
27049
- "name": "stack",
27050
- "type": {
27051
- "text": "PageSection[]"
27052
- }
27053
- },
27054
- {
27055
- "name": "cellIndex",
27056
- "type": {
27057
- "text": "number"
27058
- }
27059
- }
27060
- ]
27061
- },
27062
- {
27063
- "kind": "method",
27064
- "name": "_renderCellStrip",
27065
- "privacy": "private",
27066
- "parameters": [
27067
- {
27068
- "name": "container",
27069
- "type": {
27070
- "text": "PageSection"
27071
- }
27072
- },
27073
- {
27074
- "name": "cellIndex",
27075
- "type": {
27076
- "text": "number"
27077
- }
27078
- },
27079
- {
27080
- "name": "insertIndex",
27081
- "type": {
27082
- "text": "number"
27083
- }
27084
26943
  }
27085
26944
  ],
27086
- "description": "Thin insertion target between two cards in a stack."
26945
+ "description": "Types allowed in a container's slots: non-containers, filtered by its accepts list."
27087
26946
  },
27088
26947
  {
27089
26948
  "kind": "method",
@@ -27103,7 +26962,7 @@
27103
26962
  }
27104
26963
  }
27105
26964
  ],
27106
- "description": "The one type-picker template both drop zones and container cells render."
26965
+ "description": "The one type-picker template both drop zones and slot cells render."
27107
26966
  },
27108
26967
  {
27109
26968
  "kind": "method",
@@ -27192,128 +27051,6 @@
27192
27051
  }
27193
27052
  ]
27194
27053
  },
27195
- {
27196
- "kind": "method",
27197
- "name": "_setLayout",
27198
- "privacy": "private",
27199
- "parameters": [
27200
- {
27201
- "name": "id",
27202
- "type": {
27203
- "text": "string"
27204
- }
27205
- },
27206
- {
27207
- "name": "next",
27208
- "type": {
27209
- "text": "(current: { widths: number[]; grow: boolean; cells: PageSection[][] }) => {\n widths: number[];\n grow: boolean;\n cells: PageSection[][];\n }"
27210
- }
27211
- }
27212
- ],
27213
- "description": "Replaces a container's layout, keeping cells consistent with it."
27214
- },
27215
- {
27216
- "kind": "method",
27217
- "name": "_setColumns",
27218
- "privacy": "private",
27219
- "parameters": [
27220
- {
27221
- "name": "id",
27222
- "type": {
27223
- "text": "string"
27224
- }
27225
- },
27226
- {
27227
- "name": "columns",
27228
- "type": {
27229
- "text": "number"
27230
- }
27231
- }
27232
- ]
27233
- },
27234
- {
27235
- "kind": "method",
27236
- "name": "_setWidth",
27237
- "privacy": "private",
27238
- "parameters": [
27239
- {
27240
- "name": "id",
27241
- "type": {
27242
- "text": "string"
27243
- }
27244
- },
27245
- {
27246
- "name": "column",
27247
- "type": {
27248
- "text": "number"
27249
- }
27250
- },
27251
- {
27252
- "name": "width",
27253
- "type": {
27254
- "text": "number"
27255
- }
27256
- }
27257
- ]
27258
- },
27259
- {
27260
- "kind": "method",
27261
- "name": "_setGrow",
27262
- "privacy": "private",
27263
- "parameters": [
27264
- {
27265
- "name": "id",
27266
- "type": {
27267
- "text": "string"
27268
- }
27269
- },
27270
- {
27271
- "name": "grow",
27272
- "type": {
27273
- "text": "boolean"
27274
- }
27275
- }
27276
- ]
27277
- },
27278
- {
27279
- "kind": "method",
27280
- "name": "_setRows",
27281
- "privacy": "private",
27282
- "parameters": [
27283
- {
27284
- "name": "id",
27285
- "type": {
27286
- "text": "string"
27287
- }
27288
- },
27289
- {
27290
- "name": "rows",
27291
- "type": {
27292
- "text": "number"
27293
- }
27294
- }
27295
- ],
27296
- "description": "Pads with empty rows, or trims trailing empty rows down to the last occupied one."
27297
- },
27298
- {
27299
- "kind": "method",
27300
- "name": "_renderLayoutGroup",
27301
- "privacy": "private",
27302
- "parameters": [
27303
- {
27304
- "name": "section",
27305
- "type": {
27306
- "text": "PageSection"
27307
- }
27308
- },
27309
- {
27310
- "name": "type",
27311
- "type": {
27312
- "text": "PageSectionType | undefined"
27313
- }
27314
- }
27315
- ]
27316
- },
27317
27054
  {
27318
27055
  "kind": "method",
27319
27056
  "name": "_renderInspector",
@@ -27419,7 +27156,7 @@
27419
27156
  "tagNameWithoutPrefix": "page-builder",
27420
27157
  "tagName": "zn-page-builder",
27421
27158
  "customElement": true,
27422
- "jsDoc": "/**\n * @summary A config-driven page composer: a palette of predefined section types, a linear\n * canvas of section cards, and an inspector for editing each section's content.\n * @documentation https://zinc.style/components/page-builder\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-collapsible\n * @dependency zn-icon\n * @dependency zn-input\n * @dependency zn-page-palette-item\n * @dependency zn-page-section-card\n *\n * @event zn-page-change - Emitted whenever the page state changes. `event.detail.state` is the new PageState.\n * @event zn-page-selection-change - Emitted when the selected section changes. `event.detail.sectionId`.\n *\n * @slot config - `<template type=\"…\">` declarations; never displayed. Each template's attributes\n * (type, label, icon, icon-library, color, category, description, container, columns, widths,\n * grow, slots, accepts) declare a palette entry and its content declares the inspector form for\n * that type. `container` makes the type a container whose editor-configurable layout starts from\n * `columns` (seeds equal widths) or `widths` (explicit weights, wins over `columns`); `grow` seeds\n * a growable instance. `accepts` is a comma-separated list of the type keys its cells allow —\n * omitted on a `container` type, any type is allowed subject to the nesting cap. `slots` is\n * @deprecated: it declares a fixed-slot container of `DEFAULT_WIDTHS` columns pinned to that many\n * cells, and keeps the old any-non-container-type rule when `accepts` is omitted.\n * @slot header-left - Actions shown on the left of the header bar.\n * @slot header-right - Actions shown on the right of the header bar.\n *\n * @csspart base - The grid wrapper.\n * @csspart header - The full-width header action bar (only rendered when header slots are filled).\n * @csspart palette - The left palette panel.\n * @csspart canvas - The centre section-card canvas.\n * @csspart inspector - The right panel while a section is selected.\n * @csspart inspector-header - The inspector's fixed header (icon, section name, type, close).\n * @csspart inspector-body - The inspector's scrolling form area.\n */",
27159
+ "jsDoc": "/**\n * @summary A config-driven page composer: a palette of predefined section types, a linear\n * canvas of section cards, and an inspector for editing each section's content.\n * @documentation https://zinc.style/components/page-builder\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-collapsible\n * @dependency zn-icon\n * @dependency zn-input\n * @dependency zn-page-palette-item\n * @dependency zn-page-section-card\n *\n * @event zn-page-change - Emitted whenever the page state changes. `event.detail.state` is the new PageState.\n * @event zn-page-selection-change - Emitted when the selected section changes. `event.detail.sectionId`.\n *\n * @slot config - `<template type=\"…\">` declarations; never displayed. Each template's attributes\n * (type, label, icon, icon-library, color, category, description, slots, accepts) declare a\n * palette entry and its content declares the inspector form for that type. `slots` makes the\n * section a container with that many child slots; `accepts` is a comma-separated list of the\n * type keys its slots allow.\n * @slot header-left - Actions shown on the left of the header bar.\n * @slot header-right - Actions shown on the right of the header bar.\n *\n * @csspart base - The grid wrapper.\n * @csspart header - The full-width header action bar (only rendered when header slots are filled).\n * @csspart palette - The left palette panel.\n * @csspart canvas - The centre section-card canvas.\n * @csspart inspector - The right panel while a section is selected.\n * @csspart inspector-header - The inspector's fixed header (icon, section name, type, close).\n * @csspart inspector-body - The inspector's scrolling form area.\n */",
27423
27160
  "documentation": "https://zinc.style/components/page-builder",
27424
27161
  "status": "experimental",
27425
27162
  "since": "1.0",
@@ -33697,6 +33434,15 @@
33697
33434
  "privacy": "private",
33698
33435
  "default": "null"
33699
33436
  },
33437
+ {
33438
+ "kind": "field",
33439
+ "name": "includeLoadFailed",
33440
+ "type": {
33441
+ "text": "boolean"
33442
+ },
33443
+ "privacy": "private",
33444
+ "default": "false"
33445
+ },
33700
33446
  {
33701
33447
  "kind": "field",
33702
33448
  "name": "includePickerIndex",
@@ -34471,6 +34217,25 @@
34471
34217
  }
34472
34218
  ]
34473
34219
  },
34220
+ {
34221
+ "kind": "method",
34222
+ "name": "appPath",
34223
+ "privacy": "private",
34224
+ "return": {
34225
+ "type": {
34226
+ "text": "string"
34227
+ }
34228
+ },
34229
+ "parameters": [
34230
+ {
34231
+ "name": "path",
34232
+ "type": {
34233
+ "text": "string"
34234
+ }
34235
+ }
34236
+ ],
34237
+ "description": "Resolves an app-relative path the way the console's pagelet handler does:\nan app fragment's URLs sit under the app base, and the console puts the app's\n`gaid` on the host element. Links rendered here live in the shadow root,\nwhere a click retargets to the host, so that handler never sees them — the\nhref has to carry the base itself."
34238
+ },
34474
34239
  {
34475
34240
  "kind": "method",
34476
34241
  "name": "hasIncludeBlock",
@@ -48425,7 +48190,7 @@
48425
48190
  "package": {
48426
48191
  "name": "@kubex/zinc",
48427
48192
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
48428
- "version": "1.1.95",
48193
+ "version": "1.1.96",
48429
48194
  "author": "",
48430
48195
  "license": "MIT"
48431
48196
  }