@paged-media/introspect-wasm 0.71.11 → 0.71.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.
package/catalog.json CHANGED
@@ -1008,6 +1008,41 @@
1008
1008
  "kind": "author",
1009
1009
  "summary": "Make a character range a clickable link. Read the result with paged.collection(\"hyperlinks\") — paged.links() is the placed-asset list, not this."
1010
1010
  },
1011
+ {
1012
+ "name": "paged.deleteHyperlink",
1013
+ "params": "(hyperlinkId)",
1014
+ "returns": "bool",
1015
+ "kind": "author",
1016
+ "summary": "Delete a hyperlink (any origin) by its id from paged.collection(\"hyperlinks\"): its text stops linking, and its URL or page destination goes when nothing else uses it."
1017
+ },
1018
+ {
1019
+ "name": "paged.editHyperlink",
1020
+ "params": "(hyperlinkId, { name?, url?, pageId? })",
1021
+ "returns": "bool",
1022
+ "kind": "author",
1023
+ "summary": "Rename a hyperlink or send it to a new URL or page (pageId wins); an empty name clears it."
1024
+ },
1025
+ {
1026
+ "name": "paged.updateTableOfContents",
1027
+ "params": "(storyId)",
1028
+ "returns": "bool",
1029
+ "kind": "author",
1030
+ "summary": "Update Table of Contents: rewrite a TOC story (one bound to a TOC style) from its style over the current layout — the title, then one paragraph per heading with its page number. Until then it prints the text it holds."
1031
+ },
1032
+ {
1033
+ "name": "paged.insertFootnote",
1034
+ "params": "(storyId, offset, text)",
1035
+ "returns": "string|null",
1036
+ "kind": "author",
1037
+ "summary": "Insert a footnote at a story offset: its reference there, and the note (its number, the separator, then text). Returns the note's id; read the notes with paged.collection(\"footnotes\")."
1038
+ },
1039
+ {
1040
+ "name": "paged.deleteFootnote",
1041
+ "params": "(storyId, footnoteId)",
1042
+ "returns": "bool",
1043
+ "kind": "author",
1044
+ "summary": "Delete a footnote: its reference and its note. Undo puts both back as they were."
1045
+ },
1011
1046
  {
1012
1047
  "name": "paged.layerSetVisible",
1013
1048
  "params": "(layerId, visible)",
@@ -1481,6 +1516,7 @@
1481
1516
  "characterSkew",
1482
1517
  "characterUnderline",
1483
1518
  "characterStrikethru",
1519
+ "characterNoBreak",
1484
1520
  "characterLigatures",
1485
1521
  "characterOtfFeatures",
1486
1522
  "paragraphLeftIndent",
@@ -1511,10 +1547,16 @@
1511
1547
  "paragraphNumberingExpression",
1512
1548
  "paragraphNumberingStartAt",
1513
1549
  "paragraphNumberingContinue",
1550
+ "paragraphNumberingLevel",
1551
+ "paragraphNumberingApplyRestartPolicy",
1514
1552
  "paragraphBulletsCharacterStyle",
1515
1553
  "paragraphNumberingCharacterStyle",
1516
1554
  "itemName",
1517
- "paragraphComposer"
1555
+ "paragraphComposer",
1556
+ "paragraphAutoLeading",
1557
+ "paragraphSingleWordJustification",
1558
+ "paragraphLastLineIndent",
1559
+ "paragraphBalanceRaggedLines"
1518
1560
  ],
1519
1561
  "constraints": [
1520
1562
  "Scripts run in Boa (pure ECMAScript), NOT Node: no require/import, fetch, fs, setTimeout, or network. Use only paged.* and console.*.",
@@ -1532,6 +1574,11 @@
1532
1574
  "insertField",
1533
1575
  "insertAnchoredFrame",
1534
1576
  "insertHyperlink",
1577
+ "insertFootnote",
1578
+ "deleteFootnote",
1579
+ "deleteHyperlink",
1580
+ "editHyperlink",
1581
+ "updateTableOfContents",
1535
1582
  "setFieldValue",
1536
1583
  "placeImage",
1537
1584
  "replaceImageBytes",
@@ -7100,6 +7147,25 @@
7100
7147
  }
7101
7148
  ]
7102
7149
  },
7150
+ {
7151
+ "addressKind": "storyRange",
7152
+ "path": "characterNoBreak",
7153
+ "type": {
7154
+ "kind": "bool"
7155
+ },
7156
+ "wire": "bool",
7157
+ "nullable": false,
7158
+ "default": false,
7159
+ "access": "readWrite",
7160
+ "bindable": true,
7161
+ "idml": [
7162
+ {
7163
+ "element": "CharacterStyleRange",
7164
+ "attribute": "NoBreak",
7165
+ "kind": "attr"
7166
+ }
7167
+ ]
7168
+ },
7103
7169
  {
7104
7170
  "addressKind": "storyRange",
7105
7171
  "path": "characterLigatures",
@@ -7717,6 +7783,49 @@
7717
7783
  }
7718
7784
  ]
7719
7785
  },
7786
+ {
7787
+ "addressKind": "storyRange",
7788
+ "path": "paragraphNumberingLevel",
7789
+ "type": {
7790
+ "kind": "number",
7791
+ "unit": "count"
7792
+ },
7793
+ "wire": "length",
7794
+ "nullable": true,
7795
+ "range": {
7796
+ "min": 1.0,
7797
+ "max": 9.0
7798
+ },
7799
+ "default": 1.0,
7800
+ "access": "readWrite",
7801
+ "bindable": true,
7802
+ "idml": [
7803
+ {
7804
+ "element": "ParagraphStyleRange",
7805
+ "attribute": "NumberingLevel",
7806
+ "kind": "attr"
7807
+ }
7808
+ ]
7809
+ },
7810
+ {
7811
+ "addressKind": "storyRange",
7812
+ "path": "paragraphNumberingApplyRestartPolicy",
7813
+ "type": {
7814
+ "kind": "bool"
7815
+ },
7816
+ "wire": "bool",
7817
+ "nullable": true,
7818
+ "default": true,
7819
+ "access": "readWrite",
7820
+ "bindable": true,
7821
+ "idml": [
7822
+ {
7823
+ "element": "ParagraphStyleRange",
7824
+ "attribute": "NumberingApplyRestartPolicy",
7825
+ "kind": "attr"
7826
+ }
7827
+ ]
7828
+ },
7720
7829
  {
7721
7830
  "addressKind": "storyRange",
7722
7831
  "path": "paragraphBulletsCharacterStyle",
@@ -7823,6 +7932,100 @@
7823
7932
  }
7824
7933
  ]
7825
7934
  },
7935
+ {
7936
+ "addressKind": "storyRange",
7937
+ "path": "paragraphAutoLeading",
7938
+ "type": {
7939
+ "kind": "number",
7940
+ "unit": "percent"
7941
+ },
7942
+ "wire": "length",
7943
+ "nullable": true,
7944
+ "range": {
7945
+ "min": 0.0,
7946
+ "max": 500.0
7947
+ },
7948
+ "default": 120.0,
7949
+ "access": "readWrite",
7950
+ "bindable": true,
7951
+ "idml": [
7952
+ {
7953
+ "element": "ParagraphStyleRange",
7954
+ "attribute": "AutoLeading",
7955
+ "kind": "attr"
7956
+ }
7957
+ ]
7958
+ },
7959
+ {
7960
+ "addressKind": "storyRange",
7961
+ "path": "paragraphSingleWordJustification",
7962
+ "type": {
7963
+ "kind": "enum",
7964
+ "members": [
7965
+ "FullyJustified",
7966
+ "LeftAlign",
7967
+ "CenterAlign",
7968
+ "RightAlign"
7969
+ ]
7970
+ },
7971
+ "wire": "text",
7972
+ "nullable": true,
7973
+ "default": "FullyJustified",
7974
+ "access": "readWrite",
7975
+ "bindable": true,
7976
+ "idml": [
7977
+ {
7978
+ "element": "ParagraphStyleRange",
7979
+ "attribute": "SingleWordJustification",
7980
+ "kind": "attr"
7981
+ }
7982
+ ]
7983
+ },
7984
+ {
7985
+ "addressKind": "storyRange",
7986
+ "path": "paragraphLastLineIndent",
7987
+ "type": {
7988
+ "kind": "length",
7989
+ "unit": "pt"
7990
+ },
7991
+ "wire": "length",
7992
+ "nullable": true,
7993
+ "default": 0.0,
7994
+ "access": "readWrite",
7995
+ "bindable": true,
7996
+ "idml": [
7997
+ {
7998
+ "element": "ParagraphStyleRange",
7999
+ "attribute": "LastLineIndent",
8000
+ "kind": "attr"
8001
+ }
8002
+ ]
8003
+ },
8004
+ {
8005
+ "addressKind": "storyRange",
8006
+ "path": "paragraphBalanceRaggedLines",
8007
+ "type": {
8008
+ "kind": "enum",
8009
+ "members": [
8010
+ "NoBalancing",
8011
+ "FullyBalanced",
8012
+ "PyramidShape",
8013
+ "VeeShape"
8014
+ ]
8015
+ },
8016
+ "wire": "text",
8017
+ "nullable": true,
8018
+ "default": "NoBalancing",
8019
+ "access": "readWrite",
8020
+ "bindable": true,
8021
+ "idml": [
8022
+ {
8023
+ "element": "ParagraphStyleRange",
8024
+ "attribute": "BalanceRaggedLines",
8025
+ "kind": "properties-child"
8026
+ }
8027
+ ]
8028
+ },
7826
8029
  {
7827
8030
  "addressKind": "layer",
7828
8031
  "path": "layerVisible",
@@ -8373,13 +8576,30 @@
8373
8576
  ]
8374
8577
  },
8375
8578
  {
8376
- "addressKind": "textVariable",
8377
- "path": "textVariableName",
8579
+ "addressKind": "doc",
8580
+ "path": "documentFootnoteNumberingStyle",
8378
8581
  "type": {
8379
- "kind": "text"
8582
+ "kind": "enum",
8583
+ "members": [
8584
+ "Arabic",
8585
+ "UpperRoman",
8586
+ "LowerRoman",
8587
+ "UpperLetters",
8588
+ "LowerLetters",
8589
+ "Asterisks",
8590
+ "Kanji",
8591
+ "ArabicAlifBaTah",
8592
+ "ArabicAbjad",
8593
+ "HebrewBiblical",
8594
+ "HebrewNonStandard",
8595
+ "SingleLeadingZeros",
8596
+ "DoubleLeadingZeros",
8597
+ "TripleLeadingZeros"
8598
+ ]
8380
8599
  },
8381
8600
  "wire": "text",
8382
8601
  "nullable": true,
8602
+ "default": "Arabic",
8383
8603
  "access": "readWrite",
8384
8604
  "virtual": {
8385
8605
  "op": "setProperty",
@@ -8388,35 +8608,25 @@
8388
8608
  "bindable": true,
8389
8609
  "idml": [
8390
8610
  {
8391
- "element": "TextVariable",
8392
- "attribute": "Name",
8393
- "kind": "attr"
8611
+ "element": "FootnoteOption",
8612
+ "attribute": "FootnoteNumberingStyle",
8613
+ "kind": "properties-child"
8394
8614
  }
8395
8615
  ]
8396
8616
  },
8397
8617
  {
8398
- "addressKind": "textVariable",
8399
- "path": "textVariableType",
8618
+ "addressKind": "doc",
8619
+ "path": "documentFootnoteStartAt",
8400
8620
  "type": {
8401
- "kind": "enum",
8402
- "members": [
8403
- "CustomTextType",
8404
- "FileNameType",
8405
- "PageCountType",
8406
- "CreationDateType",
8407
- "ModificationDateType",
8408
- "OutputDateType",
8409
- "ChapterNumberType",
8410
- "MatchParagraphStyleType",
8411
- "MatchCharacterStyleType",
8412
- "LastPageNumberType",
8413
- "XrefPageNumberType",
8414
- "XrefChapterNumberType"
8415
- ],
8416
- "open": true
8621
+ "kind": "number",
8622
+ "unit": "count"
8417
8623
  },
8418
- "wire": "text",
8624
+ "wire": "length",
8419
8625
  "nullable": true,
8626
+ "range": {
8627
+ "min": 1.0
8628
+ },
8629
+ "default": 1.0,
8420
8630
  "access": "readWrite",
8421
8631
  "virtual": {
8422
8632
  "op": "setProperty",
@@ -8425,20 +8635,27 @@
8425
8635
  "bindable": true,
8426
8636
  "idml": [
8427
8637
  {
8428
- "element": "TextVariable",
8429
- "attribute": "VariableType",
8638
+ "element": "FootnoteOption",
8639
+ "attribute": "StartAt",
8430
8640
  "kind": "attr"
8431
8641
  }
8432
8642
  ]
8433
8643
  },
8434
8644
  {
8435
- "addressKind": "textVariable",
8436
- "path": "textVariableContents",
8645
+ "addressKind": "doc",
8646
+ "path": "documentFootnoteRestartNumbering",
8437
8647
  "type": {
8438
- "kind": "text"
8648
+ "kind": "enum",
8649
+ "members": [
8650
+ "DontRestart",
8651
+ "PageRestart",
8652
+ "SpreadRestart",
8653
+ "SectionRestart"
8654
+ ]
8439
8655
  },
8440
8656
  "wire": "text",
8441
8657
  "nullable": true,
8658
+ "default": "DontRestart",
8442
8659
  "access": "readWrite",
8443
8660
  "virtual": {
8444
8661
  "op": "setProperty",
@@ -8447,15 +8664,15 @@
8447
8664
  "bindable": true,
8448
8665
  "idml": [
8449
8666
  {
8450
- "element": "CustomTextVariablePreference",
8451
- "attribute": "Contents",
8667
+ "element": "FootnoteOption",
8668
+ "attribute": "RestartNumbering",
8452
8669
  "kind": "properties-child"
8453
8670
  }
8454
8671
  ]
8455
8672
  },
8456
8673
  {
8457
- "addressKind": "textVariable",
8458
- "path": "textVariableTextBefore",
8674
+ "addressKind": "doc",
8675
+ "path": "documentFootnotePrefix",
8459
8676
  "type": {
8460
8677
  "kind": "text"
8461
8678
  },
@@ -8469,45 +8686,15 @@
8469
8686
  "bindable": true,
8470
8687
  "idml": [
8471
8688
  {
8472
- "element": "MatchParagraphStylePreference",
8473
- "attribute": "TextBefore",
8474
- "kind": "attr"
8475
- },
8476
- {
8477
- "element": "MatchCharacterStylePreference",
8478
- "attribute": "TextBefore",
8479
- "kind": "attr"
8480
- },
8481
- {
8482
- "element": "PageNumberVariablePreference",
8483
- "attribute": "TextBefore",
8484
- "kind": "attr"
8485
- },
8486
- {
8487
- "element": "ChapterNumberVariablePreference",
8488
- "attribute": "TextBefore",
8489
- "kind": "attr"
8490
- },
8491
- {
8492
- "element": "FileNameVariablePreference",
8493
- "attribute": "TextBefore",
8494
- "kind": "attr"
8495
- },
8496
- {
8497
- "element": "DateVariablePreference",
8498
- "attribute": "TextBefore",
8499
- "kind": "attr"
8500
- },
8501
- {
8502
- "element": "CustomTextVariablePreference",
8503
- "attribute": "TextBefore",
8689
+ "element": "FootnoteOption",
8690
+ "attribute": "Prefix",
8504
8691
  "kind": "attr"
8505
8692
  }
8506
8693
  ]
8507
8694
  },
8508
8695
  {
8509
- "addressKind": "textVariable",
8510
- "path": "textVariableTextAfter",
8696
+ "addressKind": "doc",
8697
+ "path": "documentFootnoteSuffix",
8511
8698
  "type": {
8512
8699
  "kind": "text"
8513
8700
  },
@@ -8521,17 +8708,347 @@
8521
8708
  "bindable": true,
8522
8709
  "idml": [
8523
8710
  {
8524
- "element": "MatchParagraphStylePreference",
8525
- "attribute": "TextAfter",
8526
- "kind": "attr"
8527
- },
8528
- {
8529
- "element": "MatchCharacterStylePreference",
8530
- "attribute": "TextAfter",
8711
+ "element": "FootnoteOption",
8712
+ "attribute": "Suffix",
8531
8713
  "kind": "attr"
8532
- },
8533
- {
8534
- "element": "PageNumberVariablePreference",
8714
+ }
8715
+ ]
8716
+ },
8717
+ {
8718
+ "addressKind": "doc",
8719
+ "path": "documentFootnoteShowPrefixSuffix",
8720
+ "type": {
8721
+ "kind": "enum",
8722
+ "members": [
8723
+ "NoPrefixSuffix",
8724
+ "PrefixSuffixReference",
8725
+ "PrefixSuffixText",
8726
+ "PrefixSuffixBoth"
8727
+ ]
8728
+ },
8729
+ "wire": "text",
8730
+ "nullable": true,
8731
+ "default": "NoPrefixSuffix",
8732
+ "access": "readWrite",
8733
+ "virtual": {
8734
+ "op": "setProperty",
8735
+ "field": "value"
8736
+ },
8737
+ "bindable": true,
8738
+ "idml": [
8739
+ {
8740
+ "element": "FootnoteOption",
8741
+ "attribute": "ShowPrefixSuffix",
8742
+ "kind": "properties-child"
8743
+ }
8744
+ ]
8745
+ },
8746
+ {
8747
+ "addressKind": "doc",
8748
+ "path": "documentFootnoteEnableStraddling",
8749
+ "type": {
8750
+ "kind": "bool"
8751
+ },
8752
+ "wire": "bool",
8753
+ "nullable": false,
8754
+ "default": false,
8755
+ "access": "readWrite",
8756
+ "virtual": {
8757
+ "op": "setProperty",
8758
+ "field": "value"
8759
+ },
8760
+ "bindable": true,
8761
+ "idml": [
8762
+ {
8763
+ "element": "FootnoteOption",
8764
+ "attribute": "EnableStraddling",
8765
+ "kind": "attr"
8766
+ }
8767
+ ]
8768
+ },
8769
+ {
8770
+ "addressKind": "doc",
8771
+ "path": "documentFootnoteNoSplitting",
8772
+ "type": {
8773
+ "kind": "bool"
8774
+ },
8775
+ "wire": "bool",
8776
+ "nullable": false,
8777
+ "default": false,
8778
+ "access": "readWrite",
8779
+ "virtual": {
8780
+ "op": "setProperty",
8781
+ "field": "value"
8782
+ },
8783
+ "bindable": true,
8784
+ "idml": [
8785
+ {
8786
+ "element": "FootnoteOption",
8787
+ "attribute": "NoSplitting",
8788
+ "kind": "attr"
8789
+ }
8790
+ ]
8791
+ },
8792
+ {
8793
+ "addressKind": "doc",
8794
+ "path": "documentFootnoteSpaceBetween",
8795
+ "type": {
8796
+ "kind": "length",
8797
+ "unit": "pt"
8798
+ },
8799
+ "wire": "length",
8800
+ "nullable": true,
8801
+ "range": {
8802
+ "min": 0.0
8803
+ },
8804
+ "default": 0.0,
8805
+ "access": "readWrite",
8806
+ "virtual": {
8807
+ "op": "setProperty",
8808
+ "field": "value"
8809
+ },
8810
+ "bindable": true,
8811
+ "idml": [
8812
+ {
8813
+ "element": "FootnoteOption",
8814
+ "attribute": "SpaceBetween",
8815
+ "kind": "attr"
8816
+ }
8817
+ ]
8818
+ },
8819
+ {
8820
+ "addressKind": "doc",
8821
+ "path": "documentFootnoteSpacer",
8822
+ "type": {
8823
+ "kind": "length",
8824
+ "unit": "pt"
8825
+ },
8826
+ "wire": "length",
8827
+ "nullable": true,
8828
+ "range": {
8829
+ "min": 0.0
8830
+ },
8831
+ "default": 0.0,
8832
+ "access": "readWrite",
8833
+ "virtual": {
8834
+ "op": "setProperty",
8835
+ "field": "value"
8836
+ },
8837
+ "bindable": true,
8838
+ "idml": [
8839
+ {
8840
+ "element": "FootnoteOption",
8841
+ "attribute": "Spacer",
8842
+ "kind": "attr"
8843
+ }
8844
+ ]
8845
+ },
8846
+ {
8847
+ "addressKind": "doc",
8848
+ "path": "documentFootnoteRuleOn",
8849
+ "type": {
8850
+ "kind": "bool"
8851
+ },
8852
+ "wire": "bool",
8853
+ "nullable": false,
8854
+ "default": true,
8855
+ "access": "readWrite",
8856
+ "virtual": {
8857
+ "op": "setProperty",
8858
+ "field": "value"
8859
+ },
8860
+ "bindable": true,
8861
+ "idml": [
8862
+ {
8863
+ "element": "FootnoteOption",
8864
+ "attribute": "RuleOn",
8865
+ "kind": "attr"
8866
+ }
8867
+ ]
8868
+ },
8869
+ {
8870
+ "addressKind": "doc",
8871
+ "path": "documentFootnoteContinuingRuleOn",
8872
+ "type": {
8873
+ "kind": "bool"
8874
+ },
8875
+ "wire": "bool",
8876
+ "nullable": false,
8877
+ "default": true,
8878
+ "access": "readWrite",
8879
+ "virtual": {
8880
+ "op": "setProperty",
8881
+ "field": "value"
8882
+ },
8883
+ "bindable": true,
8884
+ "idml": [
8885
+ {
8886
+ "element": "FootnoteOption",
8887
+ "attribute": "ContinuingRuleOn",
8888
+ "kind": "attr"
8889
+ }
8890
+ ]
8891
+ },
8892
+ {
8893
+ "addressKind": "textVariable",
8894
+ "path": "textVariableName",
8895
+ "type": {
8896
+ "kind": "text"
8897
+ },
8898
+ "wire": "text",
8899
+ "nullable": true,
8900
+ "access": "readWrite",
8901
+ "virtual": {
8902
+ "op": "setProperty",
8903
+ "field": "value"
8904
+ },
8905
+ "bindable": true,
8906
+ "idml": [
8907
+ {
8908
+ "element": "TextVariable",
8909
+ "attribute": "Name",
8910
+ "kind": "attr"
8911
+ }
8912
+ ]
8913
+ },
8914
+ {
8915
+ "addressKind": "textVariable",
8916
+ "path": "textVariableType",
8917
+ "type": {
8918
+ "kind": "enum",
8919
+ "members": [
8920
+ "CustomTextType",
8921
+ "FileNameType",
8922
+ "PageCountType",
8923
+ "CreationDateType",
8924
+ "ModificationDateType",
8925
+ "OutputDateType",
8926
+ "ChapterNumberType",
8927
+ "MatchParagraphStyleType",
8928
+ "MatchCharacterStyleType",
8929
+ "LastPageNumberType",
8930
+ "XrefPageNumberType",
8931
+ "XrefChapterNumberType"
8932
+ ],
8933
+ "open": true
8934
+ },
8935
+ "wire": "text",
8936
+ "nullable": true,
8937
+ "access": "readWrite",
8938
+ "virtual": {
8939
+ "op": "setProperty",
8940
+ "field": "value"
8941
+ },
8942
+ "bindable": true,
8943
+ "idml": [
8944
+ {
8945
+ "element": "TextVariable",
8946
+ "attribute": "VariableType",
8947
+ "kind": "attr"
8948
+ }
8949
+ ]
8950
+ },
8951
+ {
8952
+ "addressKind": "textVariable",
8953
+ "path": "textVariableContents",
8954
+ "type": {
8955
+ "kind": "text"
8956
+ },
8957
+ "wire": "text",
8958
+ "nullable": true,
8959
+ "access": "readWrite",
8960
+ "virtual": {
8961
+ "op": "setProperty",
8962
+ "field": "value"
8963
+ },
8964
+ "bindable": true,
8965
+ "idml": [
8966
+ {
8967
+ "element": "CustomTextVariablePreference",
8968
+ "attribute": "Contents",
8969
+ "kind": "properties-child"
8970
+ }
8971
+ ]
8972
+ },
8973
+ {
8974
+ "addressKind": "textVariable",
8975
+ "path": "textVariableTextBefore",
8976
+ "type": {
8977
+ "kind": "text"
8978
+ },
8979
+ "wire": "text",
8980
+ "nullable": true,
8981
+ "access": "readWrite",
8982
+ "virtual": {
8983
+ "op": "setProperty",
8984
+ "field": "value"
8985
+ },
8986
+ "bindable": true,
8987
+ "idml": [
8988
+ {
8989
+ "element": "MatchParagraphStylePreference",
8990
+ "attribute": "TextBefore",
8991
+ "kind": "attr"
8992
+ },
8993
+ {
8994
+ "element": "MatchCharacterStylePreference",
8995
+ "attribute": "TextBefore",
8996
+ "kind": "attr"
8997
+ },
8998
+ {
8999
+ "element": "PageNumberVariablePreference",
9000
+ "attribute": "TextBefore",
9001
+ "kind": "attr"
9002
+ },
9003
+ {
9004
+ "element": "ChapterNumberVariablePreference",
9005
+ "attribute": "TextBefore",
9006
+ "kind": "attr"
9007
+ },
9008
+ {
9009
+ "element": "FileNameVariablePreference",
9010
+ "attribute": "TextBefore",
9011
+ "kind": "attr"
9012
+ },
9013
+ {
9014
+ "element": "DateVariablePreference",
9015
+ "attribute": "TextBefore",
9016
+ "kind": "attr"
9017
+ },
9018
+ {
9019
+ "element": "CustomTextVariablePreference",
9020
+ "attribute": "TextBefore",
9021
+ "kind": "attr"
9022
+ }
9023
+ ]
9024
+ },
9025
+ {
9026
+ "addressKind": "textVariable",
9027
+ "path": "textVariableTextAfter",
9028
+ "type": {
9029
+ "kind": "text"
9030
+ },
9031
+ "wire": "text",
9032
+ "nullable": true,
9033
+ "access": "readWrite",
9034
+ "virtual": {
9035
+ "op": "setProperty",
9036
+ "field": "value"
9037
+ },
9038
+ "bindable": true,
9039
+ "idml": [
9040
+ {
9041
+ "element": "MatchParagraphStylePreference",
9042
+ "attribute": "TextAfter",
9043
+ "kind": "attr"
9044
+ },
9045
+ {
9046
+ "element": "MatchCharacterStylePreference",
9047
+ "attribute": "TextAfter",
9048
+ "kind": "attr"
9049
+ },
9050
+ {
9051
+ "element": "PageNumberVariablePreference",
8535
9052
  "attribute": "TextAfter",
8536
9053
  "kind": "attr"
8537
9054
  },
@@ -9606,6 +10123,63 @@
9606
10123
  }
9607
10124
  ]
9608
10125
  },
10126
+ {
10127
+ "addressKind": "style",
10128
+ "appliesTo": [
10129
+ "paragraph"
10130
+ ],
10131
+ "path": "paragraphNumberingLevel",
10132
+ "type": {
10133
+ "kind": "number",
10134
+ "unit": "count"
10135
+ },
10136
+ "wire": "length",
10137
+ "nullable": true,
10138
+ "range": {
10139
+ "min": 1.0,
10140
+ "max": 9.0
10141
+ },
10142
+ "default": 1.0,
10143
+ "access": "readWrite",
10144
+ "virtual": {
10145
+ "op": "setStyleProperty",
10146
+ "field": "value"
10147
+ },
10148
+ "bindable": true,
10149
+ "idml": [
10150
+ {
10151
+ "element": "ParagraphStyle",
10152
+ "attribute": "NumberingLevel",
10153
+ "kind": "attr"
10154
+ }
10155
+ ]
10156
+ },
10157
+ {
10158
+ "addressKind": "style",
10159
+ "appliesTo": [
10160
+ "paragraph"
10161
+ ],
10162
+ "path": "paragraphNumberingApplyRestartPolicy",
10163
+ "type": {
10164
+ "kind": "bool"
10165
+ },
10166
+ "wire": "bool",
10167
+ "nullable": true,
10168
+ "default": true,
10169
+ "access": "readWrite",
10170
+ "virtual": {
10171
+ "op": "setStyleProperty",
10172
+ "field": "value"
10173
+ },
10174
+ "bindable": true,
10175
+ "idml": [
10176
+ {
10177
+ "element": "ParagraphStyle",
10178
+ "attribute": "NumberingApplyRestartPolicy",
10179
+ "kind": "attr"
10180
+ }
10181
+ ]
10182
+ },
9609
10183
  {
9610
10184
  "addressKind": "style",
9611
10185
  "appliesTo": [
@@ -9905,6 +10479,128 @@
9905
10479
  },
9906
10480
  "bindable": true
9907
10481
  },
10482
+ {
10483
+ "addressKind": "style",
10484
+ "appliesTo": [
10485
+ "paragraph"
10486
+ ],
10487
+ "path": "paragraphAutoLeading",
10488
+ "type": {
10489
+ "kind": "number",
10490
+ "unit": "percent"
10491
+ },
10492
+ "wire": "length",
10493
+ "nullable": true,
10494
+ "range": {
10495
+ "min": 0.0,
10496
+ "max": 500.0
10497
+ },
10498
+ "default": 120.0,
10499
+ "access": "readWrite",
10500
+ "virtual": {
10501
+ "op": "setStyleProperty",
10502
+ "field": "value"
10503
+ },
10504
+ "bindable": true,
10505
+ "idml": [
10506
+ {
10507
+ "element": "ParagraphStyle",
10508
+ "attribute": "AutoLeading",
10509
+ "kind": "attr"
10510
+ }
10511
+ ]
10512
+ },
10513
+ {
10514
+ "addressKind": "style",
10515
+ "appliesTo": [
10516
+ "paragraph"
10517
+ ],
10518
+ "path": "paragraphSingleWordJustification",
10519
+ "type": {
10520
+ "kind": "enum",
10521
+ "members": [
10522
+ "FullyJustified",
10523
+ "LeftAlign",
10524
+ "CenterAlign",
10525
+ "RightAlign"
10526
+ ]
10527
+ },
10528
+ "wire": "text",
10529
+ "nullable": true,
10530
+ "default": "FullyJustified",
10531
+ "access": "readWrite",
10532
+ "virtual": {
10533
+ "op": "setStyleProperty",
10534
+ "field": "value"
10535
+ },
10536
+ "bindable": true,
10537
+ "idml": [
10538
+ {
10539
+ "element": "ParagraphStyle",
10540
+ "attribute": "SingleWordJustification",
10541
+ "kind": "attr"
10542
+ }
10543
+ ]
10544
+ },
10545
+ {
10546
+ "addressKind": "style",
10547
+ "appliesTo": [
10548
+ "paragraph"
10549
+ ],
10550
+ "path": "paragraphLastLineIndent",
10551
+ "type": {
10552
+ "kind": "length",
10553
+ "unit": "pt"
10554
+ },
10555
+ "wire": "length",
10556
+ "nullable": true,
10557
+ "default": 0.0,
10558
+ "access": "readWrite",
10559
+ "virtual": {
10560
+ "op": "setStyleProperty",
10561
+ "field": "value"
10562
+ },
10563
+ "bindable": true,
10564
+ "idml": [
10565
+ {
10566
+ "element": "ParagraphStyle",
10567
+ "attribute": "LastLineIndent",
10568
+ "kind": "attr"
10569
+ }
10570
+ ]
10571
+ },
10572
+ {
10573
+ "addressKind": "style",
10574
+ "appliesTo": [
10575
+ "paragraph"
10576
+ ],
10577
+ "path": "paragraphBalanceRaggedLines",
10578
+ "type": {
10579
+ "kind": "enum",
10580
+ "members": [
10581
+ "NoBalancing",
10582
+ "FullyBalanced",
10583
+ "PyramidShape",
10584
+ "VeeShape"
10585
+ ]
10586
+ },
10587
+ "wire": "text",
10588
+ "nullable": true,
10589
+ "default": "NoBalancing",
10590
+ "access": "readWrite",
10591
+ "virtual": {
10592
+ "op": "setStyleProperty",
10593
+ "field": "value"
10594
+ },
10595
+ "bindable": true,
10596
+ "idml": [
10597
+ {
10598
+ "element": "ParagraphStyle",
10599
+ "attribute": "BalanceRaggedLines",
10600
+ "kind": "properties-child"
10601
+ }
10602
+ ]
10603
+ },
9908
10604
  {
9909
10605
  "addressKind": "style",
9910
10606
  "appliesTo": [
@@ -10288,6 +10984,32 @@
10288
10984
  }
10289
10985
  ]
10290
10986
  },
10987
+ {
10988
+ "addressKind": "style",
10989
+ "appliesTo": [
10990
+ "character"
10991
+ ],
10992
+ "path": "characterNoBreak",
10993
+ "type": {
10994
+ "kind": "bool"
10995
+ },
10996
+ "wire": "bool",
10997
+ "nullable": false,
10998
+ "default": false,
10999
+ "access": "readWrite",
11000
+ "virtual": {
11001
+ "op": "setStyleProperty",
11002
+ "field": "value"
11003
+ },
11004
+ "bindable": true,
11005
+ "idml": [
11006
+ {
11007
+ "element": "CharacterStyle",
11008
+ "attribute": "NoBreak",
11009
+ "kind": "attr"
11010
+ }
11011
+ ]
11012
+ },
10291
11013
  {
10292
11014
  "addressKind": "style",
10293
11015
  "appliesTo": [
@@ -12320,11 +13042,19 @@
12320
13042
  "type": {
12321
13043
  "kind": "enum",
12322
13044
  "members": [
12323
- "Arabic",
12324
13045
  "UpperRoman",
12325
13046
  "LowerRoman",
12326
13047
  "UpperLetters",
12327
- "LowerLetters"
13048
+ "LowerLetters",
13049
+ "Arabic",
13050
+ "Kanji",
13051
+ "ArabicAlifBaTah",
13052
+ "ArabicAbjad",
13053
+ "HebrewBiblical",
13054
+ "HebrewNonStandard",
13055
+ "SingleLeadingZeros",
13056
+ "DoubleLeadingZeros",
13057
+ "TripleLeadingZeros"
12328
13058
  ],
12329
13059
  "open": true
12330
13060
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paged-media/introspect-wasm",
3
- "version": "0.71.11",
3
+ "version": "0.71.13",
4
4
  "type": "module",
5
5
  "main": "paged_introspect_wasm.js",
6
6
  "types": "paged_introspect_wasm.d.ts",
@@ -35,7 +35,7 @@ export type SceneBlendMode = "multiply" | "screen" | "overlay" | "darken" | "lig
35
35
  * `paged-mutate`, and the read-only viewer SDK must not link that.
36
36
  * See the crate docs.
37
37
  */
38
- export type Mutation = { op: "insertText"; args: { storyId: string; offset: number; text: string; cell?: TextCellAddr | null } } | { op: "deleteRange"; args: { storyId: string; start: number; end: number; cell?: TextCellAddr | null } } | { op: "applyStyle"; args: { storyId: string; start: number; end: number; style: string; scope: StyleScope; cell?: TextCellAddr | null; paragraph?: number | null } } | { op: "insertField"; args: { storyId: string; offset: number; field: FieldKind; contentOffset?: number } } | { op: "insertAnchoredFrame"; args: { storyId: string; offset: number; width: number; height: number; imageUri?: string | null; paragraph?: number | null } } | { op: "insertHyperlink"; args: { storyId: string; start: number; end: number; url: string; page?: PageId | null } } | { op: "setFieldValue"; args: { storyId: string; offset: number; value?: string | null } } | { op: "placeImage"; args: { elementId: string; uri: string; fit?: string | null } } | { op: "replaceImageBytes"; args: { elementId: string; bytes?: number[] | null } } | { op: "moveFrame"; args: { frameId: string; transform: [number, number, number, number, number, number] } } | { op: "resizeFrame"; args: { frameId: string; bounds: [number, number, number, number] } } | { op: "linkFrames"; args: { from: string; to: string } } | { op: "unlinkFrames"; args: { frame: string } } | { op: "insertPage"; args: { afterPageId: PageId | null; masterId: string | null } } | { op: "deletePage"; args: { pageId: PageId } } | { op: "resizePage"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "insertFrame"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "insertTextFrame"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "deleteFrame"; args: { frameId: string } } | { op: "insertLine"; args: { pageId: PageId; start: [number, number]; end: [number, number] } } | { op: "insertPath"; args: { pageId: PageId; anchors: PathAnchorSpec[]; open: boolean; smooth?: boolean } } | { op: "setDocumentDefaults"; args: { fillColor: string | null; strokeColor: string | null; strokeWeight: number | null } } | { op: "setColorSettings"; args: { cmykProfileName: string | null; rgbPolicy: string | null; intent: string | null; bpc: boolean | null } } | { op: "setProofSetup"; args: { profileName: string | null; simulatePaperWhite?: boolean; intent: string | null } } | { op: "importSwatchLibrary"; args: { bytes: number[]; groupName?: string | null } } | { op: "setInkSetting"; args: { spotId: string; convertToProcess?: boolean; aliasTo?: string | null } } | { op: "setUseStandardLabForSpots"; args: { enabled: boolean } } | { op: "pathPointInsert"; args: { elementId: ElementId; index: number; anchor: PathAnchorSpec; prevSubpathStarts?: number[] | null } } | { op: "pathPointRemove"; args: { elementId: ElementId; index: number } } | { op: "pathOpenAt"; args: { elementId: ElementId; index: number } } | { op: "outlineStroke"; args: { elementId: ElementId; width: number; cap: string; join: string; miterLimit: number } } | { op: "offsetPath"; args: { elementId: ElementId; delta: number; join: string; miterLimit: number } } | { op: "simplifyPath"; args: { elementId: ElementId; tolerance: number } } | { op: "closePath"; args: { elementId: ElementId; subpath?: number | null } } | { op: "joinPaths"; args: { elementId: ElementId; otherId: ElementId } } | { op: "pasteInto"; args: { containerId: ElementId; childId: ElementId } } | { op: "releaseFrom"; args: { childId: ElementId } } | { op: "reorderElement"; args: { elementId: ElementId; to: ZOrderTarget } } | { op: "applyOpacityMask"; args: { targetId: ElementId; maskId: ElementId; maskType?: string | null; invert?: boolean | null } } | { op: "releaseOpacityMask"; args: { targetId: ElementId } } | { op: "attachTextToPath"; args: { elementId: ElementId; storyId: string; pathTypeAlignment?: string | null; flipPathEffect?: string | null; startBracket?: number | null; endBracket?: number | null } } | { op: "detachTextFromPath"; args: { elementId: ElementId } } | { op: "createGroup"; args: { memberIds: ElementId[] } } | { op: "dissolveGroup"; args: { groupId: string } } | { op: "duplicateElements"; args: { elementIds: ElementId[]; offset: [number, number] } } | { op: "setGroupTransform"; args: { groupId: string; transform?: [number, number, number, number, number, number] | null } } | { op: "setPluginMetadata"; args: { elementId: ElementId; key: string; value?: string | null; caller?: string | null } } | { op: "setPageMetadata"; args: { page: PageId; key: string; value?: string | null; caller?: string | null } } | { op: "setDocumentMetadata"; args: { key: string; value?: string | null; caller?: string | null } } | { op: "pathPointCurveType"; args: { elementId: ElementId; index: number; smooth: boolean } } | { op: "pathPointSet"; args: { elementId: ElementId; index: number; role: PathPointRole; position: [number, number] } } | { op: "batch"; args: { ops: Mutation[] } } | { op: "bindCreated"; args: { handle: string } } | { op: "layerSetVisible"; args: { layerId: string; visible: boolean } } | { op: "layerSetLocked"; args: { layerId: string; locked: boolean } } | { op: "layerSetPrintable"; args: { layerId: string; printable: boolean } } | { op: "layerSetName"; args: { layerId: string; name: string } } | { op: "layerMove"; args: { layerId: string; newIndex: number } } | { op: "layerInsert"; args: { position: number; name: string } } | { op: "layerRemove"; args: { layerId: string } } | { op: "setElementProperty"; args: { elementId: ElementId; path: PropertyPath; value: Value } } | { op: "set"; args: { address: string; path: string; value: Value } } | { op: "pathfinderBoolean"; args: { kept: ElementId; others: ElementId[]; kind: PathfinderKind } } | { op: "pathfinderDivide"; args: { elementIds: ElementId[] } } | { op: "pathfinderTrim"; args: { elementIds: ElementId[] } } | { op: "pathfinderMerge"; args: { elementIds: ElementId[] } } | { op: "pathfinderCrop"; args: { elementIds: ElementId[] } } | { op: "pathfinderOutline"; args: { elementIds: ElementId[] } } | { op: "pathfinderMinusBack"; args: { elementIds: ElementId[] } } | { op: "pathfinderFaces"; args: { elementIds: ElementId[]; faces: string[]; mode: FaceSelectMode } } | { op: "createSwatch"; args: { spec: SwatchSpec } } | { op: "editSwatch"; args: { swatchId: string; spec: SwatchSpec } } | { op: "deleteSwatch"; args: { swatchId: string } } | { op: "createGradient"; args: { spec: GradientSpec } } | { op: "editGradient"; args: { gradientId: string; spec: GradientSpec } } | { op: "deleteGradient"; args: { gradientId: string } } | { op: "createColorGroup"; args: { spec: ColorGroupSpec } } | { op: "editColorGroup"; args: { groupId: string; spec: ColorGroupSpec } } | { op: "deleteColorGroup"; args: { groupId: string } } | { op: "createNumberingList"; args: { spec: NumberingListSpec } } | { op: "editNumberingList"; args: { listId: string; spec: NumberingListSpec } } | { op: "deleteNumberingList"; args: { listId: string } } | { op: "createParagraphStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameParagraphStyle"; args: { styleId: string; name: string } } | { op: "deleteParagraphStyle"; args: { styleId: string } } | { op: "createCharacterStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameCharacterStyle"; args: { styleId: string; name: string } } | { op: "deleteCharacterStyle"; args: { styleId: string } } | { op: "createObjectStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameObjectStyle"; args: { styleId: string; name: string } } | { op: "deleteObjectStyle"; args: { styleId: string } } | { op: "createCellStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameCellStyle"; args: { styleId: string; name: string } } | { op: "deleteCellStyle"; args: { styleId: string } } | { op: "createTableStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameTableStyle"; args: { styleId: string; name: string } } | { op: "deleteTableStyle"; args: { styleId: string } } | { op: "setStyleProperty"; args: { collection: StyleCollection; styleId: string; path: PropertyPath; value: Value } } | { op: "insertOval"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "insertGuide"; args: { spreadId: string; orientation: GuideOrientationSpec; position: number; pageIndex?: number } } | { op: "moveGuide"; args: { guideId: string; position: number } } | { op: "deleteGuide"; args: { guideId: string } } | { op: "setConditionVisible"; args: { condition: string; visible: boolean } } | { op: "setFlowGrowRule"; args: { storyId: string; grow: boolean; maxPages?: number | null; copyFrameOptions?: boolean | null } } | { op: "createTextVariable"; args: { name: string; contents?: string | null; textBefore?: string | null; textAfter?: string | null } } | { op: "deleteTextVariable"; args: { variableId: string } } | { op: "activateConditionSet"; args: { set: string } } | { op: "applyMasterToPage"; args: { page: PageId; master?: string | null } } | { op: "duplicatePage"; args: { page: PageId } } | { op: "onMaster"; args: { master: string; mutation: Mutation } } | { op: "createMaster"; args: { master: string; name?: string | null; widthPt?: number; heightPt?: number; duplicateOf?: string | null } } | { op: "deleteMaster"; args: { master: string } } | { op: "renameMaster"; args: { master: string; name?: string | null } } | { op: "movePage"; args: { page: PageId; after?: PageId | null } } | { op: "insertSection"; args: { atPage: PageId; prefix?: string | null; numberingStyle?: string | null; startAt?: number | null } } | { op: "editSection"; args: { sectionId: string; prefix?: string | null | null; numberingStyle?: string | null; startAt?: number | null | null } } | { op: "deleteSection"; args: { sectionId: string } } | { op: "setRowHeight"; args: { storyId: string; tableId: string; row: number; height?: number | null } } | { op: "setColumnWidth"; args: { storyId: string; tableId: string; col: number; width?: number | null } } | { op: "insertTableRow"; args: { storyId: string; tableId: string; at: number } } | { op: "deleteTableRow"; args: { storyId: string; tableId: string; at: number } } | { op: "insertTableColumn"; args: { storyId: string; tableId: string; at: number } } | { op: "deleteTableColumn"; args: { storyId: string; tableId: string; at: number } } | { op: "insertHeaderRow"; args: { storyId: string; tableId: string } } | { op: "removeHeaderRow"; args: { storyId: string; tableId: string } } | { op: "insertFooterRow"; args: { storyId: string; tableId: string } } | { op: "removeFooterRow"; args: { storyId: string; tableId: string } } | { op: "setCellSpan"; args: { storyId: string; tableId: string; row: number; col: number; rowSpan: number; columnSpan: number } } | { op: "insertTable"; args: { storyId: string; rows: number; cols: number; headerRows?: number; footerRows?: number; columnWidths?: number[]; rowHeights?: number[] } } | { op: "deleteTable"; args: { storyId: string; tableId: string } };
38
+ export type Mutation = { op: "insertText"; args: { storyId: string; offset: number; text: string; cell?: TextCellAddr | null } } | { op: "deleteRange"; args: { storyId: string; start: number; end: number; cell?: TextCellAddr | null } } | { op: "applyStyle"; args: { storyId: string; start: number; end: number; style: string; scope: StyleScope; cell?: TextCellAddr | null; paragraph?: number | null } } | { op: "insertField"; args: { storyId: string; offset: number; field: FieldKind; contentOffset?: number } } | { op: "insertAnchoredFrame"; args: { storyId: string; offset: number; width: number; height: number; imageUri?: string | null; paragraph?: number | null } } | { op: "insertHyperlink"; args: { storyId: string; start: number; end: number; url: string; page?: PageId | null } } | { op: "insertFootnote"; args: { storyId: string; offset: number; paragraph?: number | null; text?: string } } | { op: "deleteFootnote"; args: { storyId: string; footnoteId: string } } | { op: "deleteHyperlink"; args: { hyperlinkId: string } } | { op: "editHyperlink"; args: { hyperlinkId: string; name?: string | null; url?: string | null; page?: PageId | null } } | { op: "updateTableOfContents"; args: { storyId: string } } | { op: "setFieldValue"; args: { storyId: string; offset: number; value?: string | null } } | { op: "placeImage"; args: { elementId: string; uri: string; fit?: string | null } } | { op: "replaceImageBytes"; args: { elementId: string; bytes?: number[] | null } } | { op: "moveFrame"; args: { frameId: string; transform: [number, number, number, number, number, number] } } | { op: "resizeFrame"; args: { frameId: string; bounds: [number, number, number, number] } } | { op: "linkFrames"; args: { from: string; to: string } } | { op: "unlinkFrames"; args: { frame: string } } | { op: "insertPage"; args: { afterPageId: PageId | null; masterId: string | null } } | { op: "deletePage"; args: { pageId: PageId } } | { op: "resizePage"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "insertFrame"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "insertTextFrame"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "deleteFrame"; args: { frameId: string } } | { op: "insertLine"; args: { pageId: PageId; start: [number, number]; end: [number, number] } } | { op: "insertPath"; args: { pageId: PageId; anchors: PathAnchorSpec[]; open: boolean; smooth?: boolean } } | { op: "setDocumentDefaults"; args: { fillColor: string | null; strokeColor: string | null; strokeWeight: number | null } } | { op: "setColorSettings"; args: { cmykProfileName: string | null; rgbPolicy: string | null; intent: string | null; bpc: boolean | null } } | { op: "setProofSetup"; args: { profileName: string | null; simulatePaperWhite?: boolean; intent: string | null } } | { op: "importSwatchLibrary"; args: { bytes: number[]; groupName?: string | null } } | { op: "setInkSetting"; args: { spotId: string; convertToProcess?: boolean; aliasTo?: string | null } } | { op: "setUseStandardLabForSpots"; args: { enabled: boolean } } | { op: "pathPointInsert"; args: { elementId: ElementId; index: number; anchor: PathAnchorSpec; prevSubpathStarts?: number[] | null } } | { op: "pathPointRemove"; args: { elementId: ElementId; index: number } } | { op: "pathOpenAt"; args: { elementId: ElementId; index: number } } | { op: "outlineStroke"; args: { elementId: ElementId; width: number; cap: string; join: string; miterLimit: number } } | { op: "offsetPath"; args: { elementId: ElementId; delta: number; join: string; miterLimit: number } } | { op: "simplifyPath"; args: { elementId: ElementId; tolerance: number } } | { op: "closePath"; args: { elementId: ElementId; subpath?: number | null } } | { op: "joinPaths"; args: { elementId: ElementId; otherId: ElementId } } | { op: "pasteInto"; args: { containerId: ElementId; childId: ElementId } } | { op: "releaseFrom"; args: { childId: ElementId } } | { op: "reorderElement"; args: { elementId: ElementId; to: ZOrderTarget } } | { op: "applyOpacityMask"; args: { targetId: ElementId; maskId: ElementId; maskType?: string | null; invert?: boolean | null } } | { op: "releaseOpacityMask"; args: { targetId: ElementId } } | { op: "attachTextToPath"; args: { elementId: ElementId; storyId: string; pathTypeAlignment?: string | null; flipPathEffect?: string | null; startBracket?: number | null; endBracket?: number | null } } | { op: "detachTextFromPath"; args: { elementId: ElementId } } | { op: "createGroup"; args: { memberIds: ElementId[] } } | { op: "dissolveGroup"; args: { groupId: string } } | { op: "duplicateElements"; args: { elementIds: ElementId[]; offset: [number, number] } } | { op: "setGroupTransform"; args: { groupId: string; transform?: [number, number, number, number, number, number] | null } } | { op: "setPluginMetadata"; args: { elementId: ElementId; key: string; value?: string | null; caller?: string | null } } | { op: "setPageMetadata"; args: { page: PageId; key: string; value?: string | null; caller?: string | null } } | { op: "setDocumentMetadata"; args: { key: string; value?: string | null; caller?: string | null } } | { op: "pathPointCurveType"; args: { elementId: ElementId; index: number; smooth: boolean } } | { op: "pathPointSet"; args: { elementId: ElementId; index: number; role: PathPointRole; position: [number, number] } } | { op: "batch"; args: { ops: Mutation[] } } | { op: "bindCreated"; args: { handle: string } } | { op: "layerSetVisible"; args: { layerId: string; visible: boolean } } | { op: "layerSetLocked"; args: { layerId: string; locked: boolean } } | { op: "layerSetPrintable"; args: { layerId: string; printable: boolean } } | { op: "layerSetName"; args: { layerId: string; name: string } } | { op: "layerMove"; args: { layerId: string; newIndex: number } } | { op: "layerInsert"; args: { position: number; name: string } } | { op: "layerRemove"; args: { layerId: string } } | { op: "setElementProperty"; args: { elementId: ElementId; path: PropertyPath; value: Value } } | { op: "set"; args: { address: string; path: string; value: Value } } | { op: "pathfinderBoolean"; args: { kept: ElementId; others: ElementId[]; kind: PathfinderKind } } | { op: "pathfinderDivide"; args: { elementIds: ElementId[] } } | { op: "pathfinderTrim"; args: { elementIds: ElementId[] } } | { op: "pathfinderMerge"; args: { elementIds: ElementId[] } } | { op: "pathfinderCrop"; args: { elementIds: ElementId[] } } | { op: "pathfinderOutline"; args: { elementIds: ElementId[] } } | { op: "pathfinderMinusBack"; args: { elementIds: ElementId[] } } | { op: "pathfinderFaces"; args: { elementIds: ElementId[]; faces: string[]; mode: FaceSelectMode } } | { op: "createSwatch"; args: { spec: SwatchSpec } } | { op: "editSwatch"; args: { swatchId: string; spec: SwatchSpec } } | { op: "deleteSwatch"; args: { swatchId: string } } | { op: "createGradient"; args: { spec: GradientSpec } } | { op: "editGradient"; args: { gradientId: string; spec: GradientSpec } } | { op: "deleteGradient"; args: { gradientId: string } } | { op: "createColorGroup"; args: { spec: ColorGroupSpec } } | { op: "editColorGroup"; args: { groupId: string; spec: ColorGroupSpec } } | { op: "deleteColorGroup"; args: { groupId: string } } | { op: "createNumberingList"; args: { spec: NumberingListSpec } } | { op: "editNumberingList"; args: { listId: string; spec: NumberingListSpec } } | { op: "deleteNumberingList"; args: { listId: string } } | { op: "createParagraphStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameParagraphStyle"; args: { styleId: string; name: string } } | { op: "deleteParagraphStyle"; args: { styleId: string } } | { op: "createCharacterStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameCharacterStyle"; args: { styleId: string; name: string } } | { op: "deleteCharacterStyle"; args: { styleId: string } } | { op: "createObjectStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameObjectStyle"; args: { styleId: string; name: string } } | { op: "deleteObjectStyle"; args: { styleId: string } } | { op: "createCellStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameCellStyle"; args: { styleId: string; name: string } } | { op: "deleteCellStyle"; args: { styleId: string } } | { op: "createTableStyle"; args: { selfId?: string | null; name?: string | null; basedOn?: string | null } } | { op: "renameTableStyle"; args: { styleId: string; name: string } } | { op: "deleteTableStyle"; args: { styleId: string } } | { op: "setStyleProperty"; args: { collection: StyleCollection; styleId: string; path: PropertyPath; value: Value } } | { op: "insertOval"; args: { pageId: PageId; bounds: [number, number, number, number] } } | { op: "insertGuide"; args: { spreadId: string; orientation: GuideOrientationSpec; position: number; pageIndex?: number } } | { op: "moveGuide"; args: { guideId: string; position: number } } | { op: "deleteGuide"; args: { guideId: string } } | { op: "setConditionVisible"; args: { condition: string; visible: boolean } } | { op: "setFlowGrowRule"; args: { storyId: string; grow: boolean; maxPages?: number | null; copyFrameOptions?: boolean | null } } | { op: "createTextVariable"; args: { name: string; contents?: string | null; textBefore?: string | null; textAfter?: string | null } } | { op: "deleteTextVariable"; args: { variableId: string } } | { op: "activateConditionSet"; args: { set: string } } | { op: "applyMasterToPage"; args: { page: PageId; master?: string | null } } | { op: "duplicatePage"; args: { page: PageId } } | { op: "onMaster"; args: { master: string; mutation: Mutation } } | { op: "createMaster"; args: { master: string; name?: string | null; widthPt?: number; heightPt?: number; duplicateOf?: string | null } } | { op: "deleteMaster"; args: { master: string } } | { op: "renameMaster"; args: { master: string; name?: string | null } } | { op: "movePage"; args: { page: PageId; after?: PageId | null } } | { op: "insertSection"; args: { atPage: PageId; prefix?: string | null; numberingStyle?: string | null; startAt?: number | null } } | { op: "editSection"; args: { sectionId: string; prefix?: string | null | null; numberingStyle?: string | null; startAt?: number | null | null } } | { op: "deleteSection"; args: { sectionId: string } } | { op: "setRowHeight"; args: { storyId: string; tableId: string; row: number; height?: number | null } } | { op: "setColumnWidth"; args: { storyId: string; tableId: string; col: number; width?: number | null } } | { op: "insertTableRow"; args: { storyId: string; tableId: string; at: number } } | { op: "deleteTableRow"; args: { storyId: string; tableId: string; at: number } } | { op: "insertTableColumn"; args: { storyId: string; tableId: string; at: number } } | { op: "deleteTableColumn"; args: { storyId: string; tableId: string; at: number } } | { op: "insertHeaderRow"; args: { storyId: string; tableId: string } } | { op: "removeHeaderRow"; args: { storyId: string; tableId: string } } | { op: "insertFooterRow"; args: { storyId: string; tableId: string } } | { op: "removeFooterRow"; args: { storyId: string; tableId: string } } | { op: "setCellSpan"; args: { storyId: string; tableId: string; row: number; col: number; rowSpan: number; columnSpan: number } } | { op: "insertTable"; args: { storyId: string; rows: number; cols: number; headerRows?: number; footerRows?: number; columnWidths?: number[]; rowHeights?: number[] } } | { op: "deleteTable"; args: { storyId: string; tableId: string } };
39
39
 
40
40
  /**
41
41
  * A malformed address or selector, with the byte offset the problem
@@ -481,7 +481,7 @@ export type NodeId = { kind: "TextFrame"; id: string } | { kind: "Rectangle"; id
481
481
  * document\'s `BTreeMap` palettes/stylesheets rather than the scene
482
482
  * tree, so they\'re top-level variants rather than `InsertNode`.
483
483
  */
484
- export type Operation = { kind: "SetProperty"; node: NodeId; path: PropertyPath; value: Value } | { kind: "InsertNode"; parent: NodeId; position: number; node: NodeSpec; z_slot?: number | null } | { kind: "RemoveNode"; node: NodeId } | { kind: "MoveNode"; node: NodeId; new_parent: NodeId; position: number } | { kind: "ReorderNode"; node: NodeId; target: ZOrderTarget } | { kind: "Batch"; ops: Operation[] } | { kind: "RemoveStory"; story_id: string } | { kind: "RestoreStory"; position: number; story_json: string } | { kind: "InsertPage"; after_page_id?: string | null; master_id?: string | null; spread_self_id?: string | null; page_self_id?: string | null; restore_spread_json?: string | null } | { kind: "RemovePage"; page_id: string } | { kind: "MoveLayer"; layer_id: string; new_index: number } | { kind: "InsertLayer"; position: number; name: string; self_id?: string | null } | { kind: "RemoveLayer"; layer_id: string } | { kind: "CreateSwatch"; spec: SwatchSpec } | { kind: "EditSwatch"; swatch_id: string; spec: SwatchSpec } | { kind: "DeleteSwatch"; swatch_id: string } | { kind: "CreateParagraphStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameParagraphStyle"; style_id: string; name: string } | { kind: "DeleteParagraphStyle"; style_id: string } | { kind: "CreateCharacterStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameCharacterStyle"; style_id: string; name: string } | { kind: "DeleteCharacterStyle"; style_id: string } | { kind: "CreateObjectStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameObjectStyle"; style_id: string; name: string } | { kind: "DeleteObjectStyle"; style_id: string } | { kind: "CreateCellStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameCellStyle"; style_id: string; name: string } | { kind: "DeleteCellStyle"; style_id: string } | { kind: "CreateTableStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameTableStyle"; style_id: string; name: string } | { kind: "DeleteTableStyle"; style_id: string } | { kind: "CreateGroup"; spec: GroupSpec } | { kind: "DissolveGroup"; group_id: string; restore_slots?: number[] | null } | { kind: "DuplicateNodes"; sources: NodeId[]; dx: number; dy: number; ids?: string[]; story_ids?: string[] } | { kind: "RemoveDuplicates"; sources: NodeId[]; dx: number; dy: number; ids?: string[]; story_ids?: string[] } | { kind: "SetGroupTransform"; group: string; transform?: [number, number, number, number, number, number] | null; prev?: [number, number, number, number, number, number] | null } | { kind: "CreateGradient"; spec: GradientSpec } | { kind: "EditGradient"; gradient_id: string; spec: GradientSpec } | { kind: "DeleteGradient"; gradient_id: string } | { kind: "CreateColorGroup"; spec: ColorGroupSpec } | { kind: "EditColorGroup"; group_id: string; spec: ColorGroupSpec } | { kind: "DeleteColorGroup"; group_id: string } | { kind: "CreateNumberingList"; spec: NumberingListSpec } | { kind: "EditNumberingList"; list_id: string; spec: NumberingListSpec } | { kind: "DeleteNumberingList"; list_id: string } | { kind: "SetStyleProperty"; collection: StyleCollection; style_id: string; path: PropertyPath; value: Value } | { kind: "PathfinderBoolean"; kept: NodeId; others: NodeId[]; opKind: PathfinderKind } | { kind: "PathfinderRegion"; elements: NodeId[]; verb: PathfinderRegionVerb } | { kind: "PathfinderFaces"; elements: NodeId[]; faces: string[]; mode: FaceSelectMode } | { kind: "JoinPaths"; kept: NodeId; other: NodeId } | { kind: "PasteInto"; container: NodeId; child: NodeId; child_index?: number | null } | { kind: "ReleaseFrom"; child: NodeId; restore_slot?: number | null } | { kind: "ApplyOpacityMask"; target: NodeId; mask: NodeId; mask_type?: OpacityMaskMode; invert?: boolean } | { kind: "ReleaseOpacityMask"; target: NodeId; restore_slot?: number | null } | { kind: "AttachTextToPath"; host: NodeId; story_id: string; spec?: TextPathSpec } | { kind: "DetachTextFromPath"; host: NodeId; index?: number | null; restore?: TextPathSpec | null } | { kind: "LinkFrames"; from: string; to: string } | { kind: "UnlinkFrames"; frame: string; prev_next?: string | null; restore_target?: [string, string | null, string | null] | null } | { kind: "ApplyStyle"; story_id: string; start: number; end: number; style: string; scope: StyleScope; cell?: CellAddr | null; paragraph?: number | null } | { kind: "InsertField"; story_id: string; offset: number; field: FieldKind; content_offset?: number } | { kind: "DeleteField"; story_id: string; offset: number; field: FieldKind } | { kind: "InsertAnchoredFrame"; story_id: string; offset: number; width: number; height: number; image_uri?: string | null; self_id: string; paragraph?: number | null } | { kind: "RemoveAnchoredFrame"; story_id: string; self_id: string } | { kind: "InsertHyperlink"; story_id: string; start: number; end: number; url: string; source_id: string; dest_id: string; hyperlink_id: string; page?: string | null } | { kind: "RemoveHyperlink"; story_id: string; start: number; end: number; url: string; source_id: string; dest_id: string; hyperlink_id: string; page?: string | null } | { kind: "SetFieldValue"; story_id: string; offset: number; value?: string | null } | { kind: "PlaceImage"; frame: NodeId; image_uri?: string | null; fit?: string | null } | { kind: "ReplaceImageBytes"; frame: NodeId; bytes?: number[] | null; prior_has_image_element?: boolean | null } | { kind: "InsertGuide"; spread_id: string; orientation: GuideOrientationSpec; position: number; page_index?: number; guide_id?: string | null } | { kind: "MoveGuide"; guide_id: string; position: number } | { kind: "DeleteGuide"; guide_id: string } | { kind: "SetConditionVisible"; condition: string; visible: boolean } | { kind: "SetFlowGrowRule"; story_id: string; rule: FlowGrowRule | null } | { kind: "ActivateConditionSet"; set: string } | { kind: "RestoreConditionVisibility"; states: [string, boolean][] } | { kind: "ApplyMasterToPage"; page: string; master?: string | null } | { kind: "CreateMaster"; master_id: string; name?: string | null; width_pt: number; height_pt: number; duplicate_of?: string | null; restore_json?: string | null } | { kind: "DeleteMaster"; master_id: string } | { kind: "RestoreMaster"; master_json: string } | { kind: "RenameMaster"; master_id: string; name?: string | null } | { kind: "OnMaster"; master_id: string; op: Operation } | { kind: "MovePage"; page_id: string; after_page_id?: string | null } | { kind: "SetSpreadOrder"; spreads: SpreadPlacement[] } | { kind: "DuplicatePage"; page: string; clone_spread_json?: string | null } | { kind: "RemovePageClone"; page: string; cloned_page: string; story_ids?: string[]; hyperlink_ids?: string[] } | { kind: "InsertSection"; at_page: string; prefix?: string | null; numbering_style?: string | null; start_at?: number | null; self_id?: string | null } | { kind: "EditSection"; section_id: string; prefix?: string | null | null; numbering_style?: string | null; start_at?: number | null | null } | { kind: "SetDocumentMetadata"; key: string; value?: string | null; caller?: string | null } | { kind: "CreateTextVariable"; self_id: string; name: string; variable_type?: string | null; contents?: string | null; text_before?: string | null; text_after?: string | null } | { kind: "DeleteTextVariable"; variable_id: string } | { kind: "DeleteSection"; section_id: string } | { kind: "SetRowHeight"; story_id: string; table_id: string; row: number; height?: number | null } | { kind: "SetColumnWidth"; story_id: string; table_id: string; col: number; width?: number | null } | { kind: "InsertTableRow"; story_id: string; table_id: string; at: number; restore?: TableLineRestoreJson | null } | { kind: "DeleteTableRow"; story_id: string; table_id: string; at: number } | { kind: "InsertTableColumn"; story_id: string; table_id: string; at: number; restore?: TableLineRestoreJson | null } | { kind: "DeleteTableColumn"; story_id: string; table_id: string; at: number } | { kind: "InsertHeaderRow"; story_id: string; table_id: string; restore?: TableLineRestoreJson | null } | { kind: "RemoveHeaderRow"; story_id: string; table_id: string } | { kind: "InsertFooterRow"; story_id: string; table_id: string; restore?: TableLineRestoreJson | null } | { kind: "RemoveFooterRow"; story_id: string; table_id: string } | { kind: "SetCellSpan"; story_id: string; table_id: string; row: number; col: number; row_span: number; column_span: number };
484
+ export type Operation = { kind: "SetProperty"; node: NodeId; path: PropertyPath; value: Value } | { kind: "InsertNode"; parent: NodeId; position: number; node: NodeSpec; z_slot?: number | null } | { kind: "RemoveNode"; node: NodeId } | { kind: "MoveNode"; node: NodeId; new_parent: NodeId; position: number } | { kind: "ReorderNode"; node: NodeId; target: ZOrderTarget } | { kind: "Batch"; ops: Operation[] } | { kind: "RemoveStory"; story_id: string } | { kind: "RestoreStory"; position: number; story_json: string } | { kind: "ReplaceStoryParagraphs"; story_id: string; paragraphs_json: string } | { kind: "InsertPage"; after_page_id?: string | null; master_id?: string | null; spread_self_id?: string | null; page_self_id?: string | null; restore_spread_json?: string | null } | { kind: "RemovePage"; page_id: string } | { kind: "MoveLayer"; layer_id: string; new_index: number } | { kind: "InsertLayer"; position: number; name: string; self_id?: string | null } | { kind: "RemoveLayer"; layer_id: string } | { kind: "CreateSwatch"; spec: SwatchSpec } | { kind: "EditSwatch"; swatch_id: string; spec: SwatchSpec } | { kind: "DeleteSwatch"; swatch_id: string } | { kind: "CreateParagraphStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameParagraphStyle"; style_id: string; name: string } | { kind: "DeleteParagraphStyle"; style_id: string } | { kind: "CreateCharacterStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameCharacterStyle"; style_id: string; name: string } | { kind: "DeleteCharacterStyle"; style_id: string } | { kind: "CreateObjectStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameObjectStyle"; style_id: string; name: string } | { kind: "DeleteObjectStyle"; style_id: string } | { kind: "CreateCellStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameCellStyle"; style_id: string; name: string } | { kind: "DeleteCellStyle"; style_id: string } | { kind: "CreateTableStyle"; self_id?: string | null; name?: string | null; based_on?: string | null; restore_json?: string | null } | { kind: "RenameTableStyle"; style_id: string; name: string } | { kind: "DeleteTableStyle"; style_id: string } | { kind: "CreateGroup"; spec: GroupSpec } | { kind: "DissolveGroup"; group_id: string; restore_slots?: number[] | null } | { kind: "DuplicateNodes"; sources: NodeId[]; dx: number; dy: number; ids?: string[]; story_ids?: string[] } | { kind: "RemoveDuplicates"; sources: NodeId[]; dx: number; dy: number; ids?: string[]; story_ids?: string[] } | { kind: "SetGroupTransform"; group: string; transform?: [number, number, number, number, number, number] | null; prev?: [number, number, number, number, number, number] | null } | { kind: "CreateGradient"; spec: GradientSpec } | { kind: "EditGradient"; gradient_id: string; spec: GradientSpec } | { kind: "DeleteGradient"; gradient_id: string } | { kind: "CreateColorGroup"; spec: ColorGroupSpec } | { kind: "EditColorGroup"; group_id: string; spec: ColorGroupSpec } | { kind: "DeleteColorGroup"; group_id: string } | { kind: "CreateNumberingList"; spec: NumberingListSpec } | { kind: "EditNumberingList"; list_id: string; spec: NumberingListSpec } | { kind: "DeleteNumberingList"; list_id: string } | { kind: "SetStyleProperty"; collection: StyleCollection; style_id: string; path: PropertyPath; value: Value } | { kind: "PathfinderBoolean"; kept: NodeId; others: NodeId[]; opKind: PathfinderKind } | { kind: "PathfinderRegion"; elements: NodeId[]; verb: PathfinderRegionVerb } | { kind: "PathfinderFaces"; elements: NodeId[]; faces: string[]; mode: FaceSelectMode } | { kind: "JoinPaths"; kept: NodeId; other: NodeId } | { kind: "PasteInto"; container: NodeId; child: NodeId; child_index?: number | null } | { kind: "ReleaseFrom"; child: NodeId; restore_slot?: number | null } | { kind: "ApplyOpacityMask"; target: NodeId; mask: NodeId; mask_type?: OpacityMaskMode; invert?: boolean } | { kind: "ReleaseOpacityMask"; target: NodeId; restore_slot?: number | null } | { kind: "AttachTextToPath"; host: NodeId; story_id: string; spec?: TextPathSpec } | { kind: "DetachTextFromPath"; host: NodeId; index?: number | null; restore?: TextPathSpec | null } | { kind: "LinkFrames"; from: string; to: string } | { kind: "UnlinkFrames"; frame: string; prev_next?: string | null; restore_target?: [string, string | null, string | null] | null } | { kind: "ApplyStyle"; story_id: string; start: number; end: number; style: string; scope: StyleScope; cell?: CellAddr | null; paragraph?: number | null } | { kind: "InsertField"; story_id: string; offset: number; field: FieldKind; content_offset?: number } | { kind: "DeleteField"; story_id: string; offset: number; field: FieldKind } | { kind: "InsertAnchoredFrame"; story_id: string; offset: number; width: number; height: number; image_uri?: string | null; self_id: string; paragraph?: number | null } | { kind: "RemoveAnchoredFrame"; story_id: string; self_id: string } | { kind: "InsertHyperlink"; story_id: string; start: number; end: number; url: string; source_id: string; dest_id: string; hyperlink_id: string; page?: string | null } | { kind: "InsertFootnote"; story_id: string; offset: number; paragraph?: number | null; footnote_id: string; text: string; restore?: string | null } | { kind: "RemoveFootnote"; story_id: string; footnote_id: string } | { kind: "RemoveHyperlink"; story_id: string; start: number; end: number; url: string; source_id: string; dest_id: string; hyperlink_id: string; page?: string | null } | { kind: "DeleteHyperlink"; hyperlink_id: string } | { kind: "EditHyperlink"; hyperlink_id: string; name?: string | null; url?: string | null; page?: string | null; dest_id: string } | { kind: "RestoreHyperlink"; state: string } | { kind: "SetFieldValue"; story_id: string; offset: number; value?: string | null } | { kind: "PlaceImage"; frame: NodeId; image_uri?: string | null; fit?: string | null } | { kind: "ReplaceImageBytes"; frame: NodeId; bytes?: number[] | null; prior_has_image_element?: boolean | null } | { kind: "InsertGuide"; spread_id: string; orientation: GuideOrientationSpec; position: number; page_index?: number; guide_id?: string | null } | { kind: "MoveGuide"; guide_id: string; position: number } | { kind: "DeleteGuide"; guide_id: string } | { kind: "SetConditionVisible"; condition: string; visible: boolean } | { kind: "SetFlowGrowRule"; story_id: string; rule: FlowGrowRule | null } | { kind: "ActivateConditionSet"; set: string } | { kind: "RestoreConditionVisibility"; states: [string, boolean][] } | { kind: "ApplyMasterToPage"; page: string; master?: string | null } | { kind: "CreateMaster"; master_id: string; name?: string | null; width_pt: number; height_pt: number; duplicate_of?: string | null; restore_json?: string | null } | { kind: "DeleteMaster"; master_id: string } | { kind: "RestoreMaster"; master_json: string } | { kind: "RenameMaster"; master_id: string; name?: string | null } | { kind: "OnMaster"; master_id: string; op: Operation } | { kind: "MovePage"; page_id: string; after_page_id?: string | null } | { kind: "SetSpreadOrder"; spreads: SpreadPlacement[] } | { kind: "DuplicatePage"; page: string; clone_spread_json?: string | null } | { kind: "RemovePageClone"; page: string; cloned_page: string; story_ids?: string[]; hyperlink_ids?: string[] } | { kind: "InsertSection"; at_page: string; prefix?: string | null; numbering_style?: string | null; start_at?: number | null; self_id?: string | null } | { kind: "EditSection"; section_id: string; prefix?: string | null | null; numbering_style?: string | null; start_at?: number | null | null } | { kind: "SetDocumentMetadata"; key: string; value?: string | null; caller?: string | null } | { kind: "CreateTextVariable"; self_id: string; name: string; variable_type?: string | null; contents?: string | null; text_before?: string | null; text_after?: string | null } | { kind: "DeleteTextVariable"; variable_id: string } | { kind: "DeleteSection"; section_id: string } | { kind: "SetRowHeight"; story_id: string; table_id: string; row: number; height?: number | null } | { kind: "SetColumnWidth"; story_id: string; table_id: string; col: number; width?: number | null } | { kind: "InsertTableRow"; story_id: string; table_id: string; at: number; restore?: TableLineRestoreJson | null } | { kind: "DeleteTableRow"; story_id: string; table_id: string; at: number } | { kind: "InsertTableColumn"; story_id: string; table_id: string; at: number; restore?: TableLineRestoreJson | null } | { kind: "DeleteTableColumn"; story_id: string; table_id: string; at: number } | { kind: "InsertHeaderRow"; story_id: string; table_id: string; restore?: TableLineRestoreJson | null } | { kind: "RemoveHeaderRow"; story_id: string; table_id: string } | { kind: "InsertFooterRow"; story_id: string; table_id: string; restore?: TableLineRestoreJson | null } | { kind: "RemoveFooterRow"; story_id: string; table_id: string } | { kind: "SetCellSpan"; story_id: string; table_id: string; row: number; col: number; row_span: number; column_span: number };
485
485
 
486
486
  /**
487
487
  * The kind of an [`Address`], without its payload — what a selector\'s
@@ -519,7 +519,7 @@ export type Value = { type: "bounds"; value: [number, number, number, number] }
519
519
  * (`\"fill.color\"`) — so JS callers don\'t need to learn the Rust
520
520
  * enum shape.
521
521
  */
522
- export type PropertyPath = "frameBounds" | "frameFillColor" | "frameStrokeColor" | "frameStrokeWeight" | "frameOpacity" | "frameTransform" | "imageContentTransform" | "framePathPoint" | "pathPointInsert" | "pathPointRemove" | "pathPointCurveType" | "layerVisible" | "layerLocked" | "layerPrintable" | "layerName" | "characterFontSize" | "characterLeading" | "characterTracking" | "characterFillColor" | "paragraphSpaceBefore" | "paragraphSpaceAfter" | "paragraphFirstLineIndent" | "appliedParagraphStyle" | "appliedCharacterStyle" | "appliedObjectStyle" | "itemLayer" | "appliedCellStyle" | "appliedTableStyle" | "framePath" | "frameNonprinting" | "frameFillTint" | "frameGradientFillAngle" | "frameGradientFillLength" | "frameGradientStrokeAngle" | "frameGradientStrokeLength" | "pathOpenAt" | "outlineStroke" | "outlineStrokeVariable" | "offsetPath" | "simplifyPath" | "closePath" | "frameGradientFeather" | "pageBounds" | "frameDropShadowMode" | "frameDropShadowXOffset" | "frameDropShadowYOffset" | "frameDropShadowSize" | "frameDropShadowOpacity" | "frameDropShadowColor" | "frameDropShadow" | "frameFittingCrops" | "frameFittingType" | "frameTextWrapMode" | "frameTextWrapOffsets" | "frameTextWrapContourType" | "frameTextWrapContourIncludeInside" | "paragraphJustification" | "paragraphStyleNextStyle" | "paragraphAppliedNumberingList" | "frameStrokeEndCap" | "frameInsetSpacing" | "appliedConditions" | "characterFontFamily" | "characterFontStyle" | "characterKerningMethod" | "characterCase" | "characterPosition" | "characterLanguage" | "characterBaselineShift" | "characterHorizontalScale" | "characterVerticalScale" | "characterSkew" | "characterUnderline" | "characterStrikethru" | "characterLigatures" | "characterOtfFeatures" | "paragraphLeftIndent" | "paragraphRightIndent" | "paragraphDropCapCharacters" | "paragraphDropCapLines" | "paragraphHyphenation" | "paragraphHyphenationZone" | "paragraphKeepLinesTogether" | "paragraphKeepWithNext" | "paragraphKeepAllLinesTogether" | "paragraphKeepFirstLines" | "paragraphKeepLastLines" | "paragraphStartParagraph" | "paragraphSpanColumnType" | "paragraphSpanSplitColumnCount" | "paragraphSpanColumnMinSpaceBefore" | "paragraphSpanColumnMinSpaceAfter" | "paragraphSplitColumnInsideGutter" | "paragraphSplitColumnOutsideGutter" | "paragraphRuleAbove" | "paragraphRuleBelow" | "paragraphTabStops" | "paragraphListType" | "paragraphBulletCharacter" | "paragraphNumberingFormat" | "paragraphBulletsTextAfter" | "paragraphNumberingExpression" | "paragraphNumberingStartAt" | "paragraphNumberingContinue" | "paragraphBulletsCharacterStyle" | "paragraphNumberingCharacterStyle" | "paragraphComposer" | "textFrameColumnCount" | "textFrameColumnGutter" | "textFrameColumnBalance" | "textFrameVerticalJustification" | "textFrameAutoSizing" | "textFrameFirstBaseline" | "textWrapInvert" | "frameFittingReferencePoint" | "frameAutoFit" | "frameStrokeType" | "frameStrokeJoin" | "frameStrokeMiterLimit" | "frameStrokeAlignment" | "frameStrokeGapColor" | "frameStrokeGapTint" | "frameStrokeDashArray" | "frameCornerOptionTopLeft" | "frameCornerOptionTopRight" | "frameCornerOptionBottomLeft" | "frameCornerOptionBottomRight" | "frameCornerRadiusTopLeft" | "frameCornerRadiusTopRight" | "frameCornerRadiusBottomLeft" | "frameCornerRadiusBottomRight" | "frameRotationAngle" | "frameScaleX" | "frameScaleY" | "frameFlipH" | "frameFlipV" | "frameOverprintFill" | "frameOverprintStroke" | "frameInnerShadowEnabled" | "frameInnerShadowBlendMode" | "frameInnerShadowColor" | "frameInnerShadowOpacity" | "frameInnerShadowAngle" | "frameInnerShadowDistance" | "frameInnerShadowSize" | "frameInnerShadowChoke" | "frameInnerShadowNoise" | "frameOuterGlowEnabled" | "frameOuterGlowBlendMode" | "frameOuterGlowColor" | "frameOuterGlowOpacity" | "frameOuterGlowSpread" | "frameOuterGlowSize" | "frameOuterGlowNoise" | "frameInnerGlowEnabled" | "frameInnerGlowBlendMode" | "frameInnerGlowColor" | "frameInnerGlowOpacity" | "frameInnerGlowChoke" | "frameInnerGlowSize" | "frameInnerGlowSource" | "frameInnerGlowNoise" | "frameBevelEnabled" | "frameBevelStyle" | "frameBevelTechnique" | "frameBevelDepth" | "frameBevelDirection" | "frameBevelSize" | "frameBevelSoften" | "frameBevelAngle" | "frameBevelAltitude" | "frameBevelHighlightColor" | "frameBevelShadowColor" | "frameBevelHighlightOpacity" | "frameBevelShadowOpacity" | "frameSatinEnabled" | "frameSatinBlendMode" | "frameSatinColor" | "frameSatinOpacity" | "frameSatinAngle" | "frameSatinDistance" | "frameSatinSize" | "frameSatinInvert" | "frameFeatherEnabled" | "frameFeatherWidth" | "frameFeatherCornerType" | "frameFeatherNoise" | "frameFeatherChoke" | "frameDirectionalFeatherEnabled" | "frameDirectionalFeatherLeftWidth" | "frameDirectionalFeatherRightWidth" | "frameDirectionalFeatherTopWidth" | "frameDirectionalFeatherBottomWidth" | "frameDirectionalFeatherAngle" | "frameDirectionalFeatherNoise" | "frameDirectionalFeatherChoke" | "frameBlendMode" | "nextTextFrame" | "previousTextFrame" | "cellFillColor" | "cellFillTint" | "cellInsetTop" | "cellInsetLeft" | "cellInsetBottom" | "cellInsetRight" | "cellVerticalJustification" | "cellTopEdgeStrokeColor" | "cellTopEdgeStrokeWeight" | "cellTopEdgeStrokeTint" | "cellBottomEdgeStrokeColor" | "cellBottomEdgeStrokeWeight" | "cellBottomEdgeStrokeTint" | "cellLeftEdgeStrokeColor" | "cellLeftEdgeStrokeWeight" | "cellLeftEdgeStrokeTint" | "cellRightEdgeStrokeColor" | "cellRightEdgeStrokeWeight" | "cellRightEdgeStrokeTint" | "tableRowCount" | "tableColumnCount" | "pluginMetadata" | "anchoredPosition" | "anchorPoint" | "anchoredXOffset" | "anchoredYOffset" | "anchoredHorizontalReference" | "anchoredVerticalReference" | "anchoredHorizontalAlignment" | "anchoredVerticalAlignment" | "anchoredSpineRelative" | "anchoredLockPosition" | "elementVisible" | "elementLocked" | "frameStrokeStartArrowhead" | "frameStrokeEndArrowhead" | "pageMarginTop" | "pageMarginBottom" | "pageMarginLeft" | "pageMarginRight" | "pageColumnCount" | "pageColumnGutter" | "documentBleedTop" | "documentBleedBottom" | "documentBleedInsideOrLeft" | "documentBleedOutsideOrRight" | "documentSlugTop" | "documentSlugBottom" | "documentSlugInsideOrLeft" | "documentSlugRightOrOutside" | "textVariableName" | "textVariableType" | "textVariableContents" | "textVariableTextBefore" | "textVariableTextAfter" | "textVariableDateFormat" | "objectStyleStrokeTint" | "objectStyleCornerRadius" | "objectStyleCornerOption" | "cellStyleRotationAngle" | "tableStyleHeaderRegionCellStyle" | "tableStyleBodyRegionCellStyle" | "tableStyleFooterRegionCellStyle" | "tableStyleLeftColumnRegionCellStyle" | "tableStyleRightColumnRegionCellStyle" | "tableStyleTopBorderStrokeColor" | "tableStyleTopBorderStrokeWeight" | "tableStyleBottomBorderStrokeColor" | "tableStyleBottomBorderStrokeWeight" | "tableStyleLeftBorderStrokeColor" | "tableStyleLeftBorderStrokeWeight" | "tableStyleRightBorderStrokeColor" | "tableStyleRightBorderStrokeWeight" | "tableStyleAlternatingFills" | "tableStyleStartRowFillColor" | "tableStyleStartRowFillCount" | "tableStyleStartRowFillTint" | "tableStyleEndRowFillColor" | "tableStyleEndRowFillCount" | "tableStyleEndRowFillTint" | "itemName" | "frameFillOpacity" | "frameFillBlendMode" | "frameStrokeOpacity" | "frameStrokeBlendMode" | "frameContentOpacity" | "frameContentBlendMode" | "groupIsolateBlending" | "groupKnockout" | "frameDropShadowBlendMode" | "frameDropShadowSpread" | "frameDropShadowNoise" | "frameDropShadowKnockedOut" | "frameDropShadowUseGlobalLight" | "documentGlobalLightAngle" | "documentGlobalLightAltitude";
522
+ export type PropertyPath = "frameBounds" | "frameFillColor" | "frameStrokeColor" | "frameStrokeWeight" | "frameOpacity" | "frameTransform" | "imageContentTransform" | "framePathPoint" | "pathPointInsert" | "pathPointRemove" | "pathPointCurveType" | "layerVisible" | "layerLocked" | "layerPrintable" | "layerName" | "characterFontSize" | "characterLeading" | "characterTracking" | "characterFillColor" | "paragraphSpaceBefore" | "paragraphSpaceAfter" | "paragraphFirstLineIndent" | "appliedParagraphStyle" | "appliedCharacterStyle" | "appliedObjectStyle" | "itemLayer" | "appliedCellStyle" | "appliedTableStyle" | "framePath" | "frameNonprinting" | "frameFillTint" | "frameGradientFillAngle" | "frameGradientFillLength" | "frameGradientStrokeAngle" | "frameGradientStrokeLength" | "pathOpenAt" | "outlineStroke" | "outlineStrokeVariable" | "offsetPath" | "simplifyPath" | "closePath" | "frameGradientFeather" | "pageBounds" | "frameDropShadowMode" | "frameDropShadowXOffset" | "frameDropShadowYOffset" | "frameDropShadowSize" | "frameDropShadowOpacity" | "frameDropShadowColor" | "frameDropShadow" | "frameFittingCrops" | "frameFittingType" | "frameTextWrapMode" | "frameTextWrapOffsets" | "frameTextWrapContourType" | "frameTextWrapContourIncludeInside" | "paragraphJustification" | "paragraphStyleNextStyle" | "paragraphAppliedNumberingList" | "frameStrokeEndCap" | "frameInsetSpacing" | "appliedConditions" | "characterFontFamily" | "characterFontStyle" | "characterKerningMethod" | "characterCase" | "characterPosition" | "characterLanguage" | "characterBaselineShift" | "characterHorizontalScale" | "characterVerticalScale" | "characterSkew" | "characterUnderline" | "characterStrikethru" | "characterNoBreak" | "characterLigatures" | "characterOtfFeatures" | "paragraphLeftIndent" | "paragraphRightIndent" | "paragraphDropCapCharacters" | "paragraphDropCapLines" | "paragraphHyphenation" | "paragraphHyphenationZone" | "paragraphKeepLinesTogether" | "paragraphKeepWithNext" | "paragraphKeepAllLinesTogether" | "paragraphKeepFirstLines" | "paragraphKeepLastLines" | "paragraphStartParagraph" | "paragraphSpanColumnType" | "paragraphSpanSplitColumnCount" | "paragraphSpanColumnMinSpaceBefore" | "paragraphSpanColumnMinSpaceAfter" | "paragraphSplitColumnInsideGutter" | "paragraphSplitColumnOutsideGutter" | "paragraphRuleAbove" | "paragraphRuleBelow" | "paragraphTabStops" | "paragraphListType" | "paragraphBulletCharacter" | "paragraphNumberingFormat" | "paragraphBulletsTextAfter" | "paragraphNumberingExpression" | "paragraphNumberingStartAt" | "paragraphNumberingContinue" | "paragraphNumberingLevel" | "paragraphNumberingApplyRestartPolicy" | "paragraphBulletsCharacterStyle" | "paragraphNumberingCharacterStyle" | "paragraphComposer" | "paragraphAutoLeading" | "paragraphSingleWordJustification" | "paragraphLastLineIndent" | "paragraphBalanceRaggedLines" | "textFrameColumnCount" | "textFrameColumnGutter" | "textFrameColumnBalance" | "textFrameVerticalJustification" | "textFrameAutoSizing" | "textFrameFirstBaseline" | "textWrapInvert" | "frameFittingReferencePoint" | "frameAutoFit" | "frameStrokeType" | "frameStrokeJoin" | "frameStrokeMiterLimit" | "frameStrokeAlignment" | "frameStrokeGapColor" | "frameStrokeGapTint" | "frameStrokeDashArray" | "frameCornerOptionTopLeft" | "frameCornerOptionTopRight" | "frameCornerOptionBottomLeft" | "frameCornerOptionBottomRight" | "frameCornerRadiusTopLeft" | "frameCornerRadiusTopRight" | "frameCornerRadiusBottomLeft" | "frameCornerRadiusBottomRight" | "frameRotationAngle" | "frameScaleX" | "frameScaleY" | "frameFlipH" | "frameFlipV" | "frameOverprintFill" | "frameOverprintStroke" | "frameInnerShadowEnabled" | "frameInnerShadowBlendMode" | "frameInnerShadowColor" | "frameInnerShadowOpacity" | "frameInnerShadowAngle" | "frameInnerShadowDistance" | "frameInnerShadowSize" | "frameInnerShadowChoke" | "frameInnerShadowNoise" | "frameOuterGlowEnabled" | "frameOuterGlowBlendMode" | "frameOuterGlowColor" | "frameOuterGlowOpacity" | "frameOuterGlowSpread" | "frameOuterGlowSize" | "frameOuterGlowNoise" | "frameInnerGlowEnabled" | "frameInnerGlowBlendMode" | "frameInnerGlowColor" | "frameInnerGlowOpacity" | "frameInnerGlowChoke" | "frameInnerGlowSize" | "frameInnerGlowSource" | "frameInnerGlowNoise" | "frameBevelEnabled" | "frameBevelStyle" | "frameBevelTechnique" | "frameBevelDepth" | "frameBevelDirection" | "frameBevelSize" | "frameBevelSoften" | "frameBevelAngle" | "frameBevelAltitude" | "frameBevelHighlightColor" | "frameBevelShadowColor" | "frameBevelHighlightOpacity" | "frameBevelShadowOpacity" | "frameSatinEnabled" | "frameSatinBlendMode" | "frameSatinColor" | "frameSatinOpacity" | "frameSatinAngle" | "frameSatinDistance" | "frameSatinSize" | "frameSatinInvert" | "frameFeatherEnabled" | "frameFeatherWidth" | "frameFeatherCornerType" | "frameFeatherNoise" | "frameFeatherChoke" | "frameDirectionalFeatherEnabled" | "frameDirectionalFeatherLeftWidth" | "frameDirectionalFeatherRightWidth" | "frameDirectionalFeatherTopWidth" | "frameDirectionalFeatherBottomWidth" | "frameDirectionalFeatherAngle" | "frameDirectionalFeatherNoise" | "frameDirectionalFeatherChoke" | "frameBlendMode" | "nextTextFrame" | "previousTextFrame" | "cellFillColor" | "cellFillTint" | "cellInsetTop" | "cellInsetLeft" | "cellInsetBottom" | "cellInsetRight" | "cellVerticalJustification" | "cellTopEdgeStrokeColor" | "cellTopEdgeStrokeWeight" | "cellTopEdgeStrokeTint" | "cellBottomEdgeStrokeColor" | "cellBottomEdgeStrokeWeight" | "cellBottomEdgeStrokeTint" | "cellLeftEdgeStrokeColor" | "cellLeftEdgeStrokeWeight" | "cellLeftEdgeStrokeTint" | "cellRightEdgeStrokeColor" | "cellRightEdgeStrokeWeight" | "cellRightEdgeStrokeTint" | "tableRowCount" | "tableColumnCount" | "tableHeaderRowCount" | "tableFooterRowCount" | "pluginMetadata" | "anchoredPosition" | "anchorPoint" | "anchoredXOffset" | "anchoredYOffset" | "anchoredHorizontalReference" | "anchoredVerticalReference" | "anchoredHorizontalAlignment" | "anchoredVerticalAlignment" | "anchoredSpineRelative" | "anchoredLockPosition" | "elementVisible" | "elementLocked" | "frameStrokeStartArrowhead" | "frameStrokeEndArrowhead" | "pageMarginTop" | "pageMarginBottom" | "pageMarginLeft" | "pageMarginRight" | "pageColumnCount" | "pageColumnGutter" | "documentBleedTop" | "documentBleedBottom" | "documentBleedInsideOrLeft" | "documentBleedOutsideOrRight" | "documentSlugTop" | "documentSlugBottom" | "documentSlugInsideOrLeft" | "documentSlugRightOrOutside" | "textVariableName" | "textVariableType" | "textVariableContents" | "textVariableTextBefore" | "textVariableTextAfter" | "textVariableDateFormat" | "objectStyleStrokeTint" | "objectStyleCornerRadius" | "objectStyleCornerOption" | "cellStyleRotationAngle" | "tableStyleHeaderRegionCellStyle" | "tableStyleBodyRegionCellStyle" | "tableStyleFooterRegionCellStyle" | "tableStyleLeftColumnRegionCellStyle" | "tableStyleRightColumnRegionCellStyle" | "tableStyleTopBorderStrokeColor" | "tableStyleTopBorderStrokeWeight" | "tableStyleBottomBorderStrokeColor" | "tableStyleBottomBorderStrokeWeight" | "tableStyleLeftBorderStrokeColor" | "tableStyleLeftBorderStrokeWeight" | "tableStyleRightBorderStrokeColor" | "tableStyleRightBorderStrokeWeight" | "tableStyleAlternatingFills" | "tableStyleStartRowFillColor" | "tableStyleStartRowFillCount" | "tableStyleStartRowFillTint" | "tableStyleEndRowFillColor" | "tableStyleEndRowFillCount" | "tableStyleEndRowFillTint" | "itemName" | "frameFillOpacity" | "frameFillBlendMode" | "frameStrokeOpacity" | "frameStrokeBlendMode" | "frameContentOpacity" | "frameContentBlendMode" | "groupIsolateBlending" | "groupKnockout" | "frameDropShadowBlendMode" | "frameDropShadowSpread" | "frameDropShadowNoise" | "frameDropShadowKnockedOut" | "frameDropShadowUseGlobalLight" | "documentGlobalLightAngle" | "documentGlobalLightAltitude" | "documentFootnoteNumberingStyle" | "documentFootnoteStartAt" | "documentFootnoteRestartNumbering" | "documentFootnotePrefix" | "documentFootnoteSuffix" | "documentFootnoteShowPrefixSuffix" | "documentFootnoteEnableStraddling" | "documentFootnoteNoSplitting" | "documentFootnoteSpaceBetween" | "documentFootnoteSpacer" | "documentFootnoteRuleOn" | "documentFootnoteContinuingRuleOn";
523
523
 
524
524
  /**
525
525
  * W0.2 — wire mirror of `paged_model::ParagraphRule` (the
Binary file