@gmb/bitmark-parser-generator 5.36.0 → 5.38.0

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/dist/cli/main.js CHANGED
@@ -1180,6 +1180,7 @@ ${this.cardSet.toString(opts)}`;
1180
1180
  }
1181
1181
  };
1182
1182
  var groupKeys = {
1183
+ group_accessibilityDecorative: "group_accessibilityDecorative",
1183
1184
  group_standardAllBits: "group_standardAllBits",
1184
1185
  group_standardItemLead: "group_standardItemLead",
1185
1186
  group_standardItemLeadInstructionHint: "group_standardItemLeadInstructionHint",
@@ -1242,6 +1243,8 @@ var groupKeys = {
1242
1243
  group_previewVideos: "group_previewVideos"
1243
1244
  };
1244
1245
  var propertyKeys = {
1246
+ property_accessibilityGroupTag: "@accessibilityGroupTag",
1247
+ property_accessibilityTag: "@accessibilityTag",
1245
1248
  property_action: "@action",
1246
1249
  property_activityType: "@activityType",
1247
1250
  property_additionalSolutions: "@additionalSolutions",
@@ -1529,6 +1532,8 @@ var propertyKeys = {
1529
1532
  property_trim: "@trim",
1530
1533
  property_unit: "@unit",
1531
1534
  property_unitAbbr: "@unitAbbr",
1535
+ property_unitAbbrPlural: "@unitAbbrPlural",
1536
+ property_unitPlural: "@unitPlural",
1532
1537
  property_vendorDashboardId: "@vendorDashboardId",
1533
1538
  property_vendorSurveyId: "@vendorSurveyId",
1534
1539
  property_vendorUrl: "@vendorUrl",
@@ -4333,12 +4338,22 @@ var CARDSETS = {
4333
4338
  },
4334
4339
  {
4335
4340
  key: ConfigKey.property_unit,
4336
- description: "Unit of measurement for the ingredient.",
4341
+ description: "Unit of measurement for the ingredient (singular).",
4342
+ format: TagFormat.plainText
4343
+ },
4344
+ {
4345
+ key: ConfigKey.property_unitPlural,
4346
+ description: "Unit of measurement for the ingredient (plural).",
4337
4347
  format: TagFormat.plainText
4338
4348
  },
4339
4349
  {
4340
4350
  key: ConfigKey.property_unitAbbr,
4341
- description: "Abbreviation for the unit of measurement.",
4351
+ description: "Abbreviation for the unit of measurement (singular).",
4352
+ format: TagFormat.plainText
4353
+ },
4354
+ {
4355
+ key: ConfigKey.property_unitAbbrPlural,
4356
+ description: "Abbreviation for the unit of measurement (plural).",
4342
4357
  format: TagFormat.plainText
4343
4358
  },
4344
4359
  {
@@ -4411,6 +4426,7 @@ var CARDSETS = {
4411
4426
  };
4412
4427
 
4413
4428
  // src/config/raw/groups.ts
4429
+ var ACCESSIBILITY_TAG_VALUES = ["complex", "functional", "decorative", "standard"];
4414
4430
  var GROUPS = {
4415
4431
  [ConfigKey.group_standardAllBits]: {
4416
4432
  name: "Standard",
@@ -4514,6 +4530,12 @@ var GROUPS = {
4514
4530
  description: "Translation source reference",
4515
4531
  format: TagFormat.plainText
4516
4532
  },
4533
+ {
4534
+ key: ConfigKey.property_isCollapsible,
4535
+ description: "If true, the bit is collapsible",
4536
+ format: TagFormat.boolean,
4537
+ nullable: true
4538
+ },
4517
4539
  {
4518
4540
  key: ConfigKey.property_spansPageBreak,
4519
4541
  description: "If true, the bit spans a page break",
@@ -4677,6 +4699,36 @@ var GROUPS = {
4677
4699
  }
4678
4700
  ]
4679
4701
  },
4702
+ {
4703
+ key: ConfigKey.property_accessibilityTag,
4704
+ description: "The accessibility classification(s) for the bit",
4705
+ format: TagFormat.enumeration,
4706
+ values: ACCESSIBILITY_TAG_VALUES,
4707
+ nullable: true,
4708
+ maxCount: Count.infinity
4709
+ },
4710
+ {
4711
+ key: ConfigKey.property_accessibilityGroupTag,
4712
+ jsonKey: "accessibilityGroupTag.name",
4713
+ // Entity-merge semantics, as for `@groupTag`: repeated
4714
+ // `[@accessibilityGroupTag: name]` occurrences with the same value fold
4715
+ // into one entry; chained `@accessibilityTag` children's arrays merge as sets.
4716
+ exportJsonKey: { accessibilityGroupTag: [{ "@id": "name", name: "$" }] },
4717
+ description: "The accessibility group tag(s) for the bit",
4718
+ format: TagFormat.plainText,
4719
+ maxCount: Count.infinity,
4720
+ chain: [
4721
+ {
4722
+ key: ConfigKey.property_accessibilityTag,
4723
+ exportJsonKey: { tags: ["$"] },
4724
+ description: "The accessibility classification(s) for the group",
4725
+ format: TagFormat.enumeration,
4726
+ values: ACCESSIBILITY_TAG_VALUES,
4727
+ nullable: true,
4728
+ maxCount: Count.infinity
4729
+ }
4730
+ ]
4731
+ },
4680
4732
  {
4681
4733
  key: ConfigKey.property_reviewTag,
4682
4734
  description: "The review tag(s) for the bit",
@@ -4807,6 +4859,37 @@ var GROUPS = {
4807
4859
  }
4808
4860
  ]
4809
4861
  },
4862
+ [ConfigKey.group_accessibilityDecorative]: {
4863
+ name: "Accessibility (decorative)",
4864
+ description: "Accessibility tags defaulting to a decorative image, for bits that are decorative by definition",
4865
+ type: GroupConfigType.standard,
4866
+ // Re-declares `@accessibilityGroupTag` (in full — tag hydration is last-wins
4867
+ // per config key, it does not merge) with the decorative defaults. The
4868
+ // standalone `@accessibilityTag` is deliberately NOT re-declared: the default
4869
+ // belongs to the group structure only.
4870
+ tags: [
4871
+ {
4872
+ key: ConfigKey.property_accessibilityGroupTag,
4873
+ jsonKey: "accessibilityGroupTag.name",
4874
+ exportJsonKey: { accessibilityGroupTag: [{ "@id": "name", name: "$" }] },
4875
+ description: "The accessibility group tag(s) for the bit",
4876
+ format: TagFormat.plainText,
4877
+ defaultValue: "image",
4878
+ maxCount: Count.infinity,
4879
+ chain: [
4880
+ {
4881
+ key: ConfigKey.property_accessibilityTag,
4882
+ exportJsonKey: { tags: ["$"] },
4883
+ description: "The accessibility classification(s) for the group",
4884
+ format: TagFormat.enumeration,
4885
+ values: ACCESSIBILITY_TAG_VALUES,
4886
+ defaultValue: "decorative",
4887
+ maxCount: Count.infinity
4888
+ }
4889
+ ]
4890
+ }
4891
+ ]
4892
+ },
4810
4893
  [ConfigKey.group_standardItemLead]: {
4811
4894
  type: GroupConfigType.standard,
4812
4895
  description: "Standard group for item, lead, page number, and margin number tags",
@@ -7567,13 +7650,31 @@ var BITS = {
7567
7650
  },
7568
7651
  [BitType.smartStandardArticleNormativeCollapsible]: {
7569
7652
  since: "1.28.0",
7653
+ deprecated: "5.37.0",
7570
7654
  baseBitType: BitType.smartStandardArticleNormative,
7571
- description: "Smart standard normative article bit that is collapsible"
7655
+ description: "Smart standard normative article bit that is collapsible",
7656
+ tags: [
7657
+ {
7658
+ key: ConfigKey.property_isCollapsible,
7659
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
7660
+ format: TagFormat.boolean,
7661
+ defaultValue: "true"
7662
+ }
7663
+ ]
7572
7664
  },
7573
7665
  [BitType.smartStandardArticleNonNormativeCollapsible]: {
7574
7666
  since: "1.28.0",
7667
+ deprecated: "5.37.0",
7575
7668
  baseBitType: BitType.smartStandardArticleNonNormative,
7576
- description: "Smart standard non-normative article bit that is collapsible"
7669
+ description: "Smart standard non-normative article bit that is collapsible",
7670
+ tags: [
7671
+ {
7672
+ key: ConfigKey.property_isCollapsible,
7673
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
7674
+ format: TagFormat.boolean,
7675
+ defaultValue: "true"
7676
+ }
7677
+ ]
7577
7678
  },
7578
7679
  [BitType.statement]: {
7579
7680
  since: "1.3.0",
@@ -8695,7 +8796,7 @@ var BITS = {
8695
8796
  },
8696
8797
  {
8697
8798
  key: ConfigKey.property_isCollapsible,
8698
- description: "If true, the chapter is collapsible",
8799
+ description: "If true, the chapter is collapsible (always emitted; defaults false)",
8699
8800
  format: TagFormat.boolean,
8700
8801
  defaultValue: "false"
8701
8802
  }
@@ -9304,12 +9405,22 @@ var BITS = {
9304
9405
  chain: [
9305
9406
  {
9306
9407
  key: ConfigKey.property_unit,
9307
- description: "The unit of measurement for the ingredients",
9408
+ description: "The unit of measurement for the ingredients (singular)",
9409
+ format: TagFormat.plainText
9410
+ },
9411
+ {
9412
+ key: ConfigKey.property_unitPlural,
9413
+ description: "The unit of measurement for the ingredients (plural)",
9308
9414
  format: TagFormat.plainText
9309
9415
  },
9310
9416
  {
9311
9417
  key: ConfigKey.property_unitAbbr,
9312
- description: "The abbreviation for the unit of measurement",
9418
+ description: "The abbreviation for the unit of measurement (singular)",
9419
+ format: TagFormat.plainText
9420
+ },
9421
+ {
9422
+ key: ConfigKey.property_unitAbbrPlural,
9423
+ description: "The abbreviation for the unit of measurement (plural)",
9313
9424
  format: TagFormat.plainText
9314
9425
  },
9315
9426
  {
@@ -9588,13 +9699,31 @@ var BITS = {
9588
9699
  },
9589
9700
  [BitType.smartStandardExampleNormativeCollapsible]: {
9590
9701
  since: "1.28.0",
9702
+ deprecated: "5.37.0",
9591
9703
  baseBitType: BitType.smartStandardExampleNormative,
9592
- description: "Smart standard normative example collapsible bit, used to provide normative examples in smart standards that can be collapsed"
9704
+ description: "Smart standard normative example collapsible bit, used to provide normative examples in smart standards that can be collapsed",
9705
+ tags: [
9706
+ {
9707
+ key: ConfigKey.property_isCollapsible,
9708
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
9709
+ format: TagFormat.boolean,
9710
+ defaultValue: "true"
9711
+ }
9712
+ ]
9593
9713
  },
9594
9714
  [BitType.smartStandardExampleNonNormativeCollapsible]: {
9595
9715
  since: "1.28.0",
9716
+ deprecated: "5.37.0",
9596
9717
  baseBitType: BitType.smartStandardExampleNonNormative,
9597
- description: "Smart standard non-normative example collapsible bit, used to provide non-normative examples in smart standards that can be collapsed"
9718
+ description: "Smart standard non-normative example collapsible bit, used to provide non-normative examples in smart standards that can be collapsed",
9719
+ tags: [
9720
+ {
9721
+ key: ConfigKey.property_isCollapsible,
9722
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
9723
+ format: TagFormat.boolean,
9724
+ defaultValue: "true"
9725
+ }
9726
+ ]
9598
9727
  },
9599
9728
  [BitType.authorContentBitGenerator]: {
9600
9729
  since: "4.2.0",
@@ -9930,8 +10059,17 @@ var BITS = {
9930
10059
  },
9931
10060
  [BitType.smartStandardListCollapsible]: {
9932
10061
  since: "1.28.0",
10062
+ deprecated: "5.37.0",
9933
10063
  baseBitType: BitType.smartStandardList,
9934
- description: "Smart standard list collapsible bit, used to create collapsible smart standard lists in articles or books"
10064
+ description: "Smart standard list collapsible bit, used to create collapsible smart standard lists in articles or books",
10065
+ tags: [
10066
+ {
10067
+ key: ConfigKey.property_isCollapsible,
10068
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10069
+ format: TagFormat.boolean,
10070
+ defaultValue: "true"
10071
+ }
10072
+ ]
9935
10073
  },
9936
10074
  [BitType.message]: {
9937
10075
  since: "1.3.0",
@@ -9985,13 +10123,31 @@ var BITS = {
9985
10123
  },
9986
10124
  [BitType.smartStandardNoteNormativeCollapsible]: {
9987
10125
  since: "1.28.0",
10126
+ deprecated: "5.37.0",
9988
10127
  baseBitType: BitType.smartStandardNoteNormative,
9989
- description: "Smart standard normative note collapsible bit, used to provide normative notes in smart standards that can be collapsed"
10128
+ description: "Smart standard normative note collapsible bit, used to provide normative notes in smart standards that can be collapsed",
10129
+ tags: [
10130
+ {
10131
+ key: ConfigKey.property_isCollapsible,
10132
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10133
+ format: TagFormat.boolean,
10134
+ defaultValue: "true"
10135
+ }
10136
+ ]
9990
10137
  },
9991
10138
  [BitType.smartStandardNoteNonNormativeCollapsible]: {
9992
10139
  since: "1.28.0",
10140
+ deprecated: "5.37.0",
9993
10141
  baseBitType: BitType.smartStandardNoteNonNormative,
9994
- description: "Smart standard non-normative note collapsible bit, used to provide non-normative notes in smart standards that can be collapsed"
10142
+ description: "Smart standard non-normative note collapsible bit, used to provide non-normative notes in smart standards that can be collapsed",
10143
+ tags: [
10144
+ {
10145
+ key: ConfigKey.property_isCollapsible,
10146
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10147
+ format: TagFormat.boolean,
10148
+ defaultValue: "true"
10149
+ }
10150
+ ]
9995
10151
  },
9996
10152
  [BitType.noteAi]: {
9997
10153
  since: "1.3.0",
@@ -10052,7 +10208,9 @@ var BITS = {
10052
10208
  },
10053
10209
  [BitType.printPageBreak]: {
10054
10210
  since: "5.4.0",
10055
- baseBitType: BitType.separator,
10211
+ // Based on `article`, not `separator`: `separator` adds nothing over `article`,
10212
+ // and basing on it would inherit the decorative accessibility defaults.
10213
+ baseBitType: BitType.article,
10056
10214
  description: "Print page break bit, used to create page breaks for printing in articles or books"
10057
10215
  },
10058
10216
  [BitType.releaseNotesSummary]: {
@@ -10104,13 +10262,31 @@ var BITS = {
10104
10262
  },
10105
10263
  [BitType.smartStandardRemarkNormativeCollapsible]: {
10106
10264
  since: "1.28.0",
10265
+ deprecated: "5.37.0",
10107
10266
  baseBitType: BitType.smartStandardRemarkNormative,
10108
- description: "Smart standard normative remark collapsible bit, used to provide normative remarks in smart standards that can be collapsed"
10267
+ description: "Smart standard normative remark collapsible bit, used to provide normative remarks in smart standards that can be collapsed",
10268
+ tags: [
10269
+ {
10270
+ key: ConfigKey.property_isCollapsible,
10271
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10272
+ format: TagFormat.boolean,
10273
+ defaultValue: "true"
10274
+ }
10275
+ ]
10109
10276
  },
10110
10277
  [BitType.smartStandardRemarkNonNormativeCollapsible]: {
10111
10278
  since: "1.28.0",
10279
+ deprecated: "5.37.0",
10112
10280
  baseBitType: BitType.smartStandardRemarkNonNormative,
10113
- description: "Smart standard non-normative remark collapsible bit, used to provide non-normative remarks in smart standards that can be collapsed"
10281
+ description: "Smart standard non-normative remark collapsible bit, used to provide non-normative remarks in smart standards that can be collapsed",
10282
+ tags: [
10283
+ {
10284
+ key: ConfigKey.property_isCollapsible,
10285
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10286
+ format: TagFormat.boolean,
10287
+ defaultValue: "true"
10288
+ }
10289
+ ]
10114
10290
  },
10115
10291
  [BitType.selfAssessment]: {
10116
10292
  since: "1.3.0",
@@ -10120,12 +10296,24 @@ var BITS = {
10120
10296
  [BitType.separator]: {
10121
10297
  since: "1.4.15",
10122
10298
  baseBitType: BitType.article,
10123
- description: "Separator bit, used to create visual separators in articles or books"
10299
+ description: "Separator bit, used to create visual separators in articles or books",
10300
+ tags: [
10301
+ {
10302
+ key: ConfigKey.group_accessibilityDecorative,
10303
+ description: "Accessibility tags, defaulting to a decorative image"
10304
+ }
10305
+ ]
10124
10306
  },
10125
10307
  [BitType.separatorAlt]: {
10126
10308
  since: "1.16.0",
10127
10309
  baseBitType: BitType.separator,
10128
- description: "Alternative separator bit, used to create visual separators in articles or books with alternative styling"
10310
+ description: "Alternative separator bit, used to create visual separators in articles or books with alternative styling",
10311
+ tags: [
10312
+ {
10313
+ key: ConfigKey.group_accessibilityDecorative,
10314
+ description: "Accessibility tags, defaulting to a decorative image"
10315
+ }
10316
+ ]
10129
10317
  },
10130
10318
  [BitType.sticker]: {
10131
10319
  since: "1.5.28",
@@ -10181,53 +10369,143 @@ var BITS = {
10181
10369
  },
10182
10370
  [BitType.collapsible]: {
10183
10371
  since: "1.21.0",
10372
+ deprecated: "5.37.0",
10184
10373
  baseBitType: BitType.article,
10185
- description: "Collapsible bit, used to create collapsible sections in articles or books"
10374
+ description: "Collapsible bit, used to create collapsible sections in articles or books",
10375
+ tags: [
10376
+ {
10377
+ key: ConfigKey.property_isCollapsible,
10378
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10379
+ format: TagFormat.boolean,
10380
+ defaultValue: "true"
10381
+ }
10382
+ ]
10186
10383
  },
10187
10384
  [BitType.sideNoteCollapsible]: {
10188
10385
  since: "1.21.0",
10189
- baseBitType: BitType.article,
10190
- description: "Side note collapsible bit, used to create collapsible side notes in articles or books"
10386
+ deprecated: "5.37.0",
10387
+ baseBitType: BitType.sideNote,
10388
+ description: "Side note collapsible bit, used to create collapsible side notes in articles or books",
10389
+ tags: [
10390
+ {
10391
+ key: ConfigKey.property_isCollapsible,
10392
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10393
+ format: TagFormat.boolean,
10394
+ defaultValue: "true"
10395
+ }
10396
+ ]
10191
10397
  },
10192
10398
  [BitType.infoCollapsible]: {
10193
10399
  since: "1.21.0",
10194
- baseBitType: BitType.article,
10195
- description: "Info collapsible bit, used to create collapsible informational sections in articles or books"
10400
+ deprecated: "5.37.0",
10401
+ baseBitType: BitType.info,
10402
+ description: "Info collapsible bit, used to create collapsible informational sections in articles or books",
10403
+ tags: [
10404
+ {
10405
+ key: ConfigKey.property_isCollapsible,
10406
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10407
+ format: TagFormat.boolean,
10408
+ defaultValue: "true"
10409
+ }
10410
+ ]
10196
10411
  },
10197
10412
  [BitType.remarkCollapsible]: {
10198
10413
  since: "1.21.0",
10199
- baseBitType: BitType.article,
10200
- description: "Remark collapsible bit, used to create collapsible remarks in articles or books"
10414
+ deprecated: "5.37.0",
10415
+ baseBitType: BitType.remark,
10416
+ description: "Remark collapsible bit, used to create collapsible remarks in articles or books",
10417
+ tags: [
10418
+ {
10419
+ key: ConfigKey.property_isCollapsible,
10420
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10421
+ format: TagFormat.boolean,
10422
+ defaultValue: "true"
10423
+ }
10424
+ ]
10201
10425
  },
10202
10426
  [BitType.warningCollapsible]: {
10203
10427
  since: "1.21.0",
10204
- baseBitType: BitType.article,
10205
- description: "Warning collapsible bit, used to create collapsible warnings in articles or books"
10428
+ deprecated: "5.37.0",
10429
+ baseBitType: BitType.warning,
10430
+ description: "Warning collapsible bit, used to create collapsible warnings in articles or books",
10431
+ tags: [
10432
+ {
10433
+ key: ConfigKey.property_isCollapsible,
10434
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10435
+ format: TagFormat.boolean,
10436
+ defaultValue: "true"
10437
+ }
10438
+ ]
10206
10439
  },
10207
10440
  [BitType.dangerCollapsible]: {
10208
10441
  since: "1.21.0",
10209
- baseBitType: BitType.article,
10210
- description: "Danger collapsible bit, used to create collapsible danger sections in articles or books"
10442
+ deprecated: "5.37.0",
10443
+ baseBitType: BitType.danger,
10444
+ description: "Danger collapsible bit, used to create collapsible danger sections in articles or books",
10445
+ tags: [
10446
+ {
10447
+ key: ConfigKey.property_isCollapsible,
10448
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10449
+ format: TagFormat.boolean,
10450
+ defaultValue: "true"
10451
+ }
10452
+ ]
10211
10453
  },
10212
10454
  [BitType.noteCollapsible]: {
10213
10455
  since: "1.21.0",
10214
- baseBitType: BitType.article,
10215
- description: "Note collapsible bit, used to create collapsible notes in articles or books"
10456
+ deprecated: "5.37.0",
10457
+ baseBitType: BitType.note,
10458
+ description: "Note collapsible bit, used to create collapsible notes in articles or books",
10459
+ tags: [
10460
+ {
10461
+ key: ConfigKey.property_isCollapsible,
10462
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10463
+ format: TagFormat.boolean,
10464
+ defaultValue: "true"
10465
+ }
10466
+ ]
10216
10467
  },
10217
10468
  [BitType.exampleCollapsible]: {
10218
10469
  since: "1.21.0",
10219
- baseBitType: BitType.article,
10220
- description: "Example collapsible bit, used to create collapsible examples in articles or books"
10470
+ deprecated: "5.37.0",
10471
+ baseBitType: BitType.example,
10472
+ description: "Example collapsible bit, used to create collapsible examples in articles or books",
10473
+ tags: [
10474
+ {
10475
+ key: ConfigKey.property_isCollapsible,
10476
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10477
+ format: TagFormat.boolean,
10478
+ defaultValue: "true"
10479
+ }
10480
+ ]
10221
10481
  },
10222
10482
  [BitType.hintCollapsible]: {
10223
10483
  since: "1.21.0",
10224
- baseBitType: BitType.article,
10225
- description: "Hint collapsible bit, used to create collapsible hints in articles or books"
10484
+ deprecated: "5.37.0",
10485
+ baseBitType: BitType.hint,
10486
+ description: "Hint collapsible bit, used to create collapsible hints in articles or books",
10487
+ tags: [
10488
+ {
10489
+ key: ConfigKey.property_isCollapsible,
10490
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10491
+ format: TagFormat.boolean,
10492
+ defaultValue: "true"
10493
+ }
10494
+ ]
10226
10495
  },
10227
10496
  [BitType.bugCollapsible]: {
10228
10497
  since: "1.21.0",
10229
- baseBitType: BitType.article,
10230
- description: "Bug collapsible bit, used to create collapsible bug reports in articles or books"
10498
+ deprecated: "5.37.0",
10499
+ baseBitType: BitType.bug,
10500
+ description: "Bug collapsible bit, used to create collapsible bug reports in articles or books",
10501
+ tags: [
10502
+ {
10503
+ key: ConfigKey.property_isCollapsible,
10504
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10505
+ format: TagFormat.boolean,
10506
+ defaultValue: "true"
10507
+ }
10508
+ ]
10231
10509
  },
10232
10510
  [BitType.platformPath]: {
10233
10511
  since: "3.14.1",
@@ -10449,8 +10727,17 @@ var BITS = {
10449
10727
  },
10450
10728
  [BitType.extractorPageCollapsible]: {
10451
10729
  since: "1.30.0",
10730
+ deprecated: "5.37.0",
10452
10731
  baseBitType: BitType.extractorPage,
10453
- description: "Collapsible extractor page bit, used to extract pages from images with collapsible functionality"
10732
+ description: "Collapsible extractor page bit, used to extract pages from images with collapsible functionality",
10733
+ tags: [
10734
+ {
10735
+ key: ConfigKey.property_isCollapsible,
10736
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10737
+ format: TagFormat.boolean,
10738
+ defaultValue: "true"
10739
+ }
10740
+ ]
10454
10741
  },
10455
10742
  [BitType.extractorPageWithBlocks]: {
10456
10743
  since: "1.5.21",
@@ -10459,8 +10746,17 @@ var BITS = {
10459
10746
  },
10460
10747
  [BitType.extractorPageWithBlocksCollapsible]: {
10461
10748
  since: "1.30.0",
10749
+ deprecated: "5.37.0",
10462
10750
  baseBitType: BitType.extractorPageWithBlocks,
10463
- description: "Collapsible extractor page with blocks bit, used to extract pages with blocks from images with collapsible functionality"
10751
+ description: "Collapsible extractor page with blocks bit, used to extract pages with blocks from images with collapsible functionality",
10752
+ tags: [
10753
+ {
10754
+ key: ConfigKey.property_isCollapsible,
10755
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10756
+ format: TagFormat.boolean,
10757
+ defaultValue: "true"
10758
+ }
10759
+ ]
10464
10760
  },
10465
10761
  [BitType.extractorConfiguration]: {
10466
10762
  since: "1.7.1",
@@ -10500,8 +10796,17 @@ var BITS = {
10500
10796
  },
10501
10797
  [BitType.extractorImageCollapsible]: {
10502
10798
  since: "4.3.0",
10799
+ deprecated: "5.37.0",
10503
10800
  baseBitType: BitType.extractorImage,
10504
- description: "Collapsible extractor images bit, used for images extracted from PDFs"
10801
+ description: "Collapsible extractor images bit, used for images extracted from PDFs",
10802
+ tags: [
10803
+ {
10804
+ key: ConfigKey.property_isCollapsible,
10805
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10806
+ format: TagFormat.boolean,
10807
+ defaultValue: "true"
10808
+ }
10809
+ ]
10505
10810
  },
10506
10811
  [BitType.extractorBlueprint]: {
10507
10812
  since: "5.12.0",
@@ -10638,8 +10943,17 @@ var BITS = {
10638
10943
  },
10639
10944
  [BitType.extractorPageNumberCollapsible]: {
10640
10945
  since: "1.30.0",
10946
+ deprecated: "5.37.0",
10641
10947
  baseBitType: BitType.extractorPageNumber,
10642
- description: "Collapsible extractor page number bit, used to define page numbers in extractor pages with collapsible functionality"
10948
+ description: "Collapsible extractor page number bit, used to define page numbers in extractor pages with collapsible functionality",
10949
+ tags: [
10950
+ {
10951
+ key: ConfigKey.property_isCollapsible,
10952
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10953
+ format: TagFormat.boolean,
10954
+ defaultValue: "true"
10955
+ }
10956
+ ]
10643
10957
  },
10644
10958
  [BitType.extractorPageHeader]: {
10645
10959
  since: "1.5.21",
@@ -10648,8 +10962,17 @@ var BITS = {
10648
10962
  },
10649
10963
  [BitType.extractorPageHeaderCollapsible]: {
10650
10964
  since: "1.30.0",
10965
+ deprecated: "5.37.0",
10651
10966
  baseBitType: BitType.extractorPageHeader,
10652
- description: "Collapsible extractor page header bit, used to define headers in extractor pages with collapsible functionality"
10967
+ description: "Collapsible extractor page header bit, used to define headers in extractor pages with collapsible functionality",
10968
+ tags: [
10969
+ {
10970
+ key: ConfigKey.property_isCollapsible,
10971
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10972
+ format: TagFormat.boolean,
10973
+ defaultValue: "true"
10974
+ }
10975
+ ]
10653
10976
  },
10654
10977
  [BitType.extractorPageFooter]: {
10655
10978
  since: "1.5.21",
@@ -10658,8 +10981,17 @@ var BITS = {
10658
10981
  },
10659
10982
  [BitType.extractorPageFooterCollapsible]: {
10660
10983
  since: "1.30.0",
10984
+ deprecated: "5.37.0",
10661
10985
  baseBitType: BitType.extractorPageFooter,
10662
- description: "Collapsible extractor page footer bit, used to define footers in extractor pages with collapsible functionality"
10986
+ description: "Collapsible extractor page footer bit, used to define footers in extractor pages with collapsible functionality",
10987
+ tags: [
10988
+ {
10989
+ key: ConfigKey.property_isCollapsible,
10990
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
10991
+ format: TagFormat.boolean,
10992
+ defaultValue: "true"
10993
+ }
10994
+ ]
10663
10995
  },
10664
10996
  [BitType.pageOpenBook]: {
10665
10997
  since: "1.5.10",
@@ -10949,8 +11281,17 @@ var BITS = {
10949
11281
  },
10950
11282
  [BitType.definitionListCollapsible]: {
10951
11283
  since: "5.25.0",
11284
+ deprecated: "5.37.0",
10952
11285
  baseBitType: BitType.definitionList,
10953
- description: "Collapsible definition list bit, used to create collapsible lists of definitions in articles or books"
11286
+ description: "Collapsible definition list bit, used to create collapsible lists of definitions in articles or books",
11287
+ tags: [
11288
+ {
11289
+ key: ConfigKey.property_isCollapsible,
11290
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11291
+ format: TagFormat.boolean,
11292
+ defaultValue: "true"
11293
+ }
11294
+ ]
10954
11295
  },
10955
11296
  [BitType.standardDefinitionListNormative]: {
10956
11297
  since: "5.24.0",
@@ -11174,13 +11515,31 @@ var BITS = {
11174
11515
  },
11175
11516
  [BitType.smartStandardImageFigureNormativeCollapsible]: {
11176
11517
  since: "1.28.0",
11518
+ deprecated: "5.37.0",
11177
11519
  baseBitType: BitType.smartStandardImageFigureNormative,
11178
- description: "Collapsible smart standard normative image figure bit, used to create collapsible smart standard normative image figures in articles or books"
11520
+ description: "Collapsible smart standard normative image figure bit, used to create collapsible smart standard normative image figures in articles or books",
11521
+ tags: [
11522
+ {
11523
+ key: ConfigKey.property_isCollapsible,
11524
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11525
+ format: TagFormat.boolean,
11526
+ defaultValue: "true"
11527
+ }
11528
+ ]
11179
11529
  },
11180
11530
  [BitType.smartStandardImageFigureNonNormativeCollapsible]: {
11181
11531
  since: "1.28.0",
11532
+ deprecated: "5.37.0",
11182
11533
  baseBitType: BitType.smartStandardImageFigureNonNormative,
11183
- description: "Collapsible smart standard non-normative image figure bit, used to create collapsible smart standard non-normative image figures in articles or books"
11534
+ description: "Collapsible smart standard non-normative image figure bit, used to create collapsible smart standard non-normative image figures in articles or books",
11535
+ tags: [
11536
+ {
11537
+ key: ConfigKey.property_isCollapsible,
11538
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11539
+ format: TagFormat.boolean,
11540
+ defaultValue: "true"
11541
+ }
11542
+ ]
11184
11543
  },
11185
11544
  [BitType.imageLandscape]: {
11186
11545
  since: "1.3.0",
@@ -11190,7 +11549,13 @@ var BITS = {
11190
11549
  [BitType.imageMood]: {
11191
11550
  since: "1.3.0",
11192
11551
  baseBitType: BitType.image,
11193
- description: "Image mood bit, used to create mood images in articles or books"
11552
+ description: "Image mood bit, used to create mood images in articles or books",
11553
+ tags: [
11554
+ {
11555
+ key: ConfigKey.group_accessibilityDecorative,
11556
+ description: "Accessibility tags, defaulting to a decorative image"
11557
+ }
11558
+ ]
11194
11559
  },
11195
11560
  [BitType.imagePortrait]: {
11196
11561
  since: "1.3.0",
@@ -11210,6 +11575,10 @@ var BITS = {
11210
11575
  {
11211
11576
  key: ConfigKey.group_imageNoZoom,
11212
11577
  description: "Image no zoom tags for images, used to define whether images should have zoom functionality"
11578
+ },
11579
+ {
11580
+ key: ConfigKey.group_accessibilityDecorative,
11581
+ description: "Accessibility tags, defaulting to a decorative image"
11213
11582
  }
11214
11583
  ],
11215
11584
  resourceAttachmentAllowed: false
@@ -11217,7 +11586,13 @@ var BITS = {
11217
11586
  [BitType.imageSeparatorAlt]: {
11218
11587
  since: "1.16.0",
11219
11588
  baseBitType: BitType.imageSeparator,
11220
- description: "Alternative image separator bit, used to create alternative separators in articles or books"
11589
+ description: "Alternative image separator bit, used to create alternative separators in articles or books",
11590
+ tags: [
11591
+ {
11592
+ key: ConfigKey.group_accessibilityDecorative,
11593
+ description: "Accessibility tags, defaulting to a decorative image"
11594
+ }
11595
+ ]
11221
11596
  },
11222
11597
  [BitType.imageScreenshot]: {
11223
11598
  since: "1.3.0",
@@ -11392,43 +11767,115 @@ var BITS = {
11392
11767
  },
11393
11768
  [BitType.smartStandardTableImageNormativeCollapsible]: {
11394
11769
  since: "1.28.0",
11770
+ deprecated: "5.37.0",
11395
11771
  baseBitType: BitType.smartStandardTableImageNormative,
11396
- description: "Collapsible smart standard normative table image bit, used to create collapsible smart standard normative images in tables in articles or books"
11772
+ description: "Collapsible smart standard normative table image bit, used to create collapsible smart standard normative images in tables in articles or books",
11773
+ tags: [
11774
+ {
11775
+ key: ConfigKey.property_isCollapsible,
11776
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11777
+ format: TagFormat.boolean,
11778
+ defaultValue: "true"
11779
+ }
11780
+ ]
11397
11781
  },
11398
11782
  [BitType.smartStandardTableImageNonNormativeCollapsible]: {
11399
11783
  since: "1.28.0",
11784
+ deprecated: "5.37.0",
11400
11785
  baseBitType: BitType.smartStandardTableImageNonNormative,
11401
- description: "Collapsible smart standard non-normative table image bit, used to create collapsible smart standard non-normative images in tables in articles or books"
11786
+ description: "Collapsible smart standard non-normative table image bit, used to create collapsible smart standard non-normative images in tables in articles or books",
11787
+ tags: [
11788
+ {
11789
+ key: ConfigKey.property_isCollapsible,
11790
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11791
+ format: TagFormat.boolean,
11792
+ defaultValue: "true"
11793
+ }
11794
+ ]
11402
11795
  },
11403
11796
  [BitType.smartStandardRemarkTableImageNormativeCollapsible]: {
11404
11797
  since: "1.28.0",
11798
+ deprecated: "5.37.0",
11405
11799
  baseBitType: BitType.smartStandardRemarkTableImageNormative,
11406
- description: "Collapsible smart standard normative remark table image bit, used to create collapsible smart standard normative remark images in tables in articles or books"
11800
+ description: "Collapsible smart standard normative remark table image bit, used to create collapsible smart standard normative remark images in tables in articles or books",
11801
+ tags: [
11802
+ {
11803
+ key: ConfigKey.property_isCollapsible,
11804
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11805
+ format: TagFormat.boolean,
11806
+ defaultValue: "true"
11807
+ }
11808
+ ]
11407
11809
  },
11408
11810
  [BitType.smartStandardRemarkTableImageNonNormativeCollapsible]: {
11409
11811
  since: "1.28.0",
11812
+ deprecated: "5.37.0",
11410
11813
  baseBitType: BitType.smartStandardRemarkTableImageNonNormative,
11411
- description: "Collapsible smart standard non-normative remark table image bit, used to create collapsible smart standard non-normative remark images in tables in articles or books"
11814
+ description: "Collapsible smart standard non-normative remark table image bit, used to create collapsible smart standard non-normative remark images in tables in articles or books",
11815
+ tags: [
11816
+ {
11817
+ key: ConfigKey.property_isCollapsible,
11818
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11819
+ format: TagFormat.boolean,
11820
+ defaultValue: "true"
11821
+ }
11822
+ ]
11412
11823
  },
11413
11824
  [BitType.smartStandardTableExtendedImageNormativeCollapsible]: {
11414
11825
  since: "1.28.0",
11826
+ deprecated: "5.37.0",
11415
11827
  baseBitType: BitType.smartStandardTableExtendedImageNormative,
11416
- description: "Collapsible smart standard normative extended table image bit, used to create collapsible smart standard normative extended images in tables in articles or books"
11828
+ description: "Collapsible smart standard normative extended table image bit, used to create collapsible smart standard normative extended images in tables in articles or books",
11829
+ tags: [
11830
+ {
11831
+ key: ConfigKey.property_isCollapsible,
11832
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11833
+ format: TagFormat.boolean,
11834
+ defaultValue: "true"
11835
+ }
11836
+ ]
11417
11837
  },
11418
11838
  [BitType.smartStandardTableExtendedImageNonNormativeCollapsible]: {
11419
11839
  since: "1.28.0",
11840
+ deprecated: "5.37.0",
11420
11841
  baseBitType: BitType.smartStandardTableExtendedImageNonNormative,
11421
- description: "Collapsible smart standard non-normative extended table image bit, used to create collapsible smart standard non-normative extended images in tables in articles or books"
11842
+ description: "Collapsible smart standard non-normative extended table image bit, used to create collapsible smart standard non-normative extended images in tables in articles or books",
11843
+ tags: [
11844
+ {
11845
+ key: ConfigKey.property_isCollapsible,
11846
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11847
+ format: TagFormat.boolean,
11848
+ defaultValue: "true"
11849
+ }
11850
+ ]
11422
11851
  },
11423
11852
  [BitType.smartStandardRemarkTableExtendedImageNormativeCollapsible]: {
11424
11853
  since: "1.28.0",
11854
+ deprecated: "5.37.0",
11425
11855
  baseBitType: BitType.smartStandardRemarkTableExtendedImageNormative,
11426
- description: "Collapsible smart standard normative remark extended table image bit, used to create collapsible smart standard normative remark extended images in tables in articles or books"
11856
+ description: "Collapsible smart standard normative remark extended table image bit, used to create collapsible smart standard normative remark extended images in tables in articles or books",
11857
+ tags: [
11858
+ {
11859
+ key: ConfigKey.property_isCollapsible,
11860
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11861
+ format: TagFormat.boolean,
11862
+ defaultValue: "true"
11863
+ }
11864
+ ]
11427
11865
  },
11428
11866
  [BitType.smartStandardRemarkTableExtendedImageNonNormativeCollapsible]: {
11429
11867
  since: "1.28.0",
11868
+ deprecated: "5.37.0",
11430
11869
  baseBitType: BitType.smartStandardRemarkTableExtendedImageNonNormative,
11431
- description: "Collapsible smart standard non-normative remark extended table image bit, used to create collapsible smart standard non-normative remark extended images in tables in articles or books"
11870
+ description: "Collapsible smart standard non-normative remark extended table image bit, used to create collapsible smart standard non-normative remark extended images in tables in articles or books",
11871
+ tags: [
11872
+ {
11873
+ key: ConfigKey.property_isCollapsible,
11874
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
11875
+ format: TagFormat.boolean,
11876
+ defaultValue: "true"
11877
+ }
11878
+ ]
11432
11879
  },
11433
11880
  [BitType.imageLink]: {
11434
11881
  since: "1.3.0",
@@ -11909,8 +12356,17 @@ var BITS = {
11909
12356
  },
11910
12357
  [BitType.smartStandardListItemCollapsible]: {
11911
12358
  since: "1.28.0",
12359
+ deprecated: "5.37.0",
11912
12360
  baseBitType: BitType.smartStandardListItem,
11913
- description: "Collapsible smart standard list item bit, used to create collapsible smart standard list items in articles or books"
12361
+ description: "Collapsible smart standard list item bit, used to create collapsible smart standard list items in articles or books",
12362
+ tags: [
12363
+ {
12364
+ key: ConfigKey.property_isCollapsible,
12365
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
12366
+ format: TagFormat.boolean,
12367
+ defaultValue: "true"
12368
+ }
12369
+ ]
11914
12370
  },
11915
12371
  [BitType.mark]: {
11916
12372
  since: "1.3.0",
@@ -12243,8 +12699,17 @@ var BITS = {
12243
12699
  },
12244
12700
  [BitType.pageCollapsible]: {
12245
12701
  since: "1.30.0",
12702
+ deprecated: "5.37.0",
12246
12703
  baseBitType: BitType.page,
12247
- description: "Collapsible page bit, used to create collapsible sections in pages"
12704
+ description: "Collapsible page bit, used to create collapsible sections in pages",
12705
+ tags: [
12706
+ {
12707
+ key: ConfigKey.property_isCollapsible,
12708
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
12709
+ format: TagFormat.boolean,
12710
+ defaultValue: "true"
12711
+ }
12712
+ ]
12248
12713
  },
12249
12714
  [BitType.pageCoverImage]: {
12250
12715
  since: "1.22.0",
@@ -13219,43 +13684,115 @@ var BITS = {
13219
13684
  },
13220
13685
  [BitType.smartStandardTableNormativeCollapsible]: {
13221
13686
  since: "1.28.0",
13687
+ deprecated: "5.37.0",
13222
13688
  baseBitType: BitType.smartStandardTableNormative,
13223
- description: "Collapsible smart standard normative table bit, used to create collapsible smart standard normative tables in articles or books"
13689
+ description: "Collapsible smart standard normative table bit, used to create collapsible smart standard normative tables in articles or books",
13690
+ tags: [
13691
+ {
13692
+ key: ConfigKey.property_isCollapsible,
13693
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13694
+ format: TagFormat.boolean,
13695
+ defaultValue: "true"
13696
+ }
13697
+ ]
13224
13698
  },
13225
13699
  [BitType.smartStandardTableNonNormativeCollapsible]: {
13226
13700
  since: "1.28.0",
13701
+ deprecated: "5.37.0",
13227
13702
  baseBitType: BitType.smartStandardTableNonNormative,
13228
- description: "Collapsible smart standard non-normative table bit, used to create collapsible smart standard non-normative tables in articles or books"
13703
+ description: "Collapsible smart standard non-normative table bit, used to create collapsible smart standard non-normative tables in articles or books",
13704
+ tags: [
13705
+ {
13706
+ key: ConfigKey.property_isCollapsible,
13707
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13708
+ format: TagFormat.boolean,
13709
+ defaultValue: "true"
13710
+ }
13711
+ ]
13229
13712
  },
13230
13713
  [BitType.smartStandardRemarkTableNormativeCollapsible]: {
13231
13714
  since: "1.28.0",
13715
+ deprecated: "5.37.0",
13232
13716
  baseBitType: BitType.smartStandardRemarkTableNormative,
13233
- description: "Collapsible smart standard normative remark table bit, used to create collapsible smart standard normative remark tables in articles or books"
13717
+ description: "Collapsible smart standard normative remark table bit, used to create collapsible smart standard normative remark tables in articles or books",
13718
+ tags: [
13719
+ {
13720
+ key: ConfigKey.property_isCollapsible,
13721
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13722
+ format: TagFormat.boolean,
13723
+ defaultValue: "true"
13724
+ }
13725
+ ]
13234
13726
  },
13235
13727
  [BitType.smartStandardRemarkTableNonNormativeCollapsible]: {
13236
13728
  since: "1.28.0",
13729
+ deprecated: "5.37.0",
13237
13730
  baseBitType: BitType.smartStandardRemarkTableNonNormative,
13238
- description: "Collapsible smart standard non-normative remark table bit, used to create collapsible smart standard non-normative remark tables in articles or books"
13731
+ description: "Collapsible smart standard non-normative remark table bit, used to create collapsible smart standard non-normative remark tables in articles or books",
13732
+ tags: [
13733
+ {
13734
+ key: ConfigKey.property_isCollapsible,
13735
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13736
+ format: TagFormat.boolean,
13737
+ defaultValue: "true"
13738
+ }
13739
+ ]
13239
13740
  },
13240
13741
  [BitType.smartStandardTableExtendedNormativeCollapsible]: {
13241
13742
  since: "1.28.0",
13743
+ deprecated: "5.37.0",
13242
13744
  baseBitType: BitType.smartStandardTableExtendedNormative,
13243
- description: "Collapsible smart standard normative extended table bit, used to create collapsible smart standard normative extended tables in articles or books"
13745
+ description: "Collapsible smart standard normative extended table bit, used to create collapsible smart standard normative extended tables in articles or books",
13746
+ tags: [
13747
+ {
13748
+ key: ConfigKey.property_isCollapsible,
13749
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13750
+ format: TagFormat.boolean,
13751
+ defaultValue: "true"
13752
+ }
13753
+ ]
13244
13754
  },
13245
13755
  [BitType.smartStandardTableExtendedNonNormativeCollapsible]: {
13246
13756
  since: "1.28.0",
13757
+ deprecated: "5.37.0",
13247
13758
  baseBitType: BitType.smartStandardTableExtendedNonNormative,
13248
- description: "Collapsible smart standard non-normative extended table bit, used to create collapsible smart standard non-normative extended tables in articles or books"
13759
+ description: "Collapsible smart standard non-normative extended table bit, used to create collapsible smart standard non-normative extended tables in articles or books",
13760
+ tags: [
13761
+ {
13762
+ key: ConfigKey.property_isCollapsible,
13763
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13764
+ format: TagFormat.boolean,
13765
+ defaultValue: "true"
13766
+ }
13767
+ ]
13249
13768
  },
13250
13769
  [BitType.smartStandardRemarkTableExtendedNormativeCollapsible]: {
13251
13770
  since: "1.28.0",
13771
+ deprecated: "5.37.0",
13252
13772
  baseBitType: BitType.smartStandardRemarkTableExtendedNormative,
13253
- description: "Collapsible smart standard normative remark extended table bit, used to create collapsible smart standard normative remark extended tables in articles or books"
13773
+ description: "Collapsible smart standard normative remark extended table bit, used to create collapsible smart standard normative remark extended tables in articles or books",
13774
+ tags: [
13775
+ {
13776
+ key: ConfigKey.property_isCollapsible,
13777
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13778
+ format: TagFormat.boolean,
13779
+ defaultValue: "true"
13780
+ }
13781
+ ]
13254
13782
  },
13255
13783
  [BitType.smartStandardRemarkTableExtendedNonNormativeCollapsible]: {
13256
13784
  since: "1.28.0",
13785
+ deprecated: "5.37.0",
13257
13786
  baseBitType: BitType.smartStandardRemarkTableExtendedNonNormative,
13258
- description: "Collapsible smart standard non-normative remark extended table bit, used to create collapsible smart standard non-normative remark extended tables in articles or books"
13787
+ description: "Collapsible smart standard non-normative remark extended table bit, used to create collapsible smart standard non-normative remark extended tables in articles or books",
13788
+ tags: [
13789
+ {
13790
+ key: ConfigKey.property_isCollapsible,
13791
+ description: "If true, the bit is collapsible (defaults true for this deprecated bit type)",
13792
+ format: TagFormat.boolean,
13793
+ defaultValue: "true"
13794
+ }
13795
+ ]
13259
13796
  },
13260
13797
  [BitType.parameters]: {
13261
13798
  since: "1.18.0",
@@ -13967,10 +14504,12 @@ var BITS = {
13967
14504
  };
13968
14505
 
13969
14506
  // src/config/Config.ts
14507
+ var COLLAPSIBLE_BIT_TYPE_SUFFIX = "-collapsible";
13970
14508
  var Config = class {
13971
14509
  bitLevelMin = 1;
13972
14510
  bitLevelMax = 7;
13973
14511
  bitCache = /* @__PURE__ */ new Map();
14512
+ migratedBitCache = /* @__PURE__ */ new Map();
13974
14513
  allResourcesCache;
13975
14514
  comboResourcesCache = /* @__PURE__ */ new Map();
13976
14515
  constructor() {
@@ -13987,6 +14526,29 @@ var Config = class {
13987
14526
  if (bitType?.startsWith("|")) bitType = bitType.substring(1);
13988
14527
  return Enum(BitType).fromValue(bitType) ?? BitType._error;
13989
14528
  }
14529
+ /**
14530
+ * PLAN-017: Return the migration target for a deprecated `*-collapsible` bit type.
14531
+ *
14532
+ * Every `*-collapsible` bit type declares its non-collapsible cousin as its `baseBitType`, so the
14533
+ * target is read from the config rather than a hand-maintained table — a new `*-collapsible` bit
14534
+ * type is covered automatically.
14535
+ *
14536
+ * `BitType.collapsible` is the one exclusion: it has no non-collapsible cousin (its `baseBitType`
14537
+ * is `article`, which is not a migration target).
14538
+ *
14539
+ * @param bitType the bit type
14540
+ * @returns the bit type to migrate to, or undefined if the bit type does not migrate
14541
+ */
14542
+ getMigratedBitType(bitType) {
14543
+ const cached = this.migratedBitCache.get(bitType);
14544
+ if (cached !== void 0 || this.migratedBitCache.has(bitType)) return cached;
14545
+ let target;
14546
+ if (bitType !== BitType.collapsible && bitType.endsWith(COLLAPSIBLE_BIT_TYPE_SUFFIX)) {
14547
+ target = BITS[bitType]?.baseBitType;
14548
+ }
14549
+ this.migratedBitCache.set(bitType, target);
14550
+ return target;
14551
+ }
13990
14552
  /**
13991
14553
  * Check if a bit type is and instance of the given root bit type.
13992
14554
  *
@@ -14309,7 +14871,7 @@ var instance2 = new Config();
14309
14871
  // src/generated/package_info.ts
14310
14872
  var PACKAGE_INFO = {
14311
14873
  "name": "@gmb/bitmark-parser-generator",
14312
- "version": "5.36.0",
14874
+ "version": "5.38.0",
14313
14875
  "license": "ISC"};
14314
14876
  var Environment = {
14315
14877
  unknown: "",
@@ -14631,6 +15193,10 @@ var NodeType = {
14631
15193
  // unknown
14632
15194
  __isDefaultExample: "__isDefaultExample",
14633
15195
  __typeAlias: "__typeAlias",
15196
+ accessibilityGroupTag: "accessibilityGroupTag",
15197
+ accessibilityGroupTagValue: "accessibilityGroupTagValue",
15198
+ accessibilityTag: "accessibilityTag",
15199
+ accessibilityTagValue: "accessibilityTagValue",
14634
15200
  action: "action",
14635
15201
  actionValue: "actionValue",
14636
15202
  activityType: "activityType",
@@ -15336,6 +15902,8 @@ var NodeType = {
15336
15902
  type: "type",
15337
15903
  unit: "unit",
15338
15904
  unitAbbr: "unitAbbr",
15905
+ unitAbbrPlural: "unitAbbrPlural",
15906
+ unitPlural: "unitPlural",
15339
15907
  url: "url",
15340
15908
  validationDate: "validationDate",
15341
15909
  validationDateValue: "validationDateValue",
@@ -26775,6 +27343,12 @@ var BaseBuilder = class {
26775
27343
  case TagFormat.plainText:
26776
27344
  if (instance6.asNumber(v) != null) v = `${v}`;
26777
27345
  return stringUtils.isString(v) ? stringUtils.trimmedString(v) : void 0;
27346
+ case TagFormat.enumeration: {
27347
+ if (instance6.asNumber(v) != null) v = `${v}`;
27348
+ const enumValue = stringUtils.isString(v) ? stringUtils.trimmedString(v) : void 0;
27349
+ if (enumValue == null || enumValue === "") return propertyConfig?.defaultValue ?? "";
27350
+ return enumValue;
27351
+ }
26778
27352
  case TagFormat.number:
26779
27353
  return instance6.asNumber(v);
26780
27354
  case TagFormat.boolean:
@@ -28326,8 +28900,18 @@ var Builder = class extends BaseBuilder {
28326
28900
  */
28327
28901
  buildBit(data, options) {
28328
28902
  data = structuredClone(data);
28903
+ const migratedBitType = instance2.getMigratedBitType(data.bitType);
28904
+ if (migratedBitType) {
28905
+ data.bitType = migratedBitType;
28906
+ data.isCollapsible = data.isCollapsible ?? true;
28907
+ }
28329
28908
  const bitType = data.bitType;
28330
28909
  const bitConfig = instance2.getBitConfig(bitType);
28910
+ const isCollapsibleDefaultsTrue = bitConfig.tags[ConfigKey.property_isCollapsible]?.defaultValue === "true";
28911
+ const accessibilityGroupTag = this.resolveAccessibilityGroupTag(
28912
+ bitConfig,
28913
+ data.accessibilityGroupTag
28914
+ );
28331
28915
  const deprecatedTextFormat = Enum(DeprecatedTextFormat).fromValue(data.textFormat);
28332
28916
  let textFormat = Enum(TextFormat).fromValue(data.textFormat) ?? bitConfig.textFormatDefault;
28333
28917
  if (deprecatedTextFormat === DeprecatedTextFormat.bitmarkMinusMinus) {
@@ -28563,6 +29147,13 @@ var Builder = class extends BaseBuilder {
28563
29147
  slug: this.toAstProperty(bitType, ConfigKey.property_slug, data.slug, options),
28564
29148
  tag: this.toAstProperty(bitType, ConfigKey.property_tag, data.tag, options),
28565
29149
  groupTag: this.buildGroupTags(context, data.groupTag),
29150
+ accessibilityTag: this.toAstProperty(
29151
+ bitType,
29152
+ ConfigKey.property_accessibilityTag,
29153
+ data.accessibilityTag,
29154
+ options
29155
+ ),
29156
+ accessibilityGroupTag: this.buildGroupTags(context, accessibilityGroupTag),
28566
29157
  reviewTag: this.toAstProperty(bitType, ConfigKey.property_reviewTag, data.reviewTag, options),
28567
29158
  reviewerTag: this.toAstProperty(
28568
29159
  bitType,
@@ -29460,7 +30051,7 @@ var Builder = class extends BaseBuilder {
29460
30051
  isCollapsible: this.toAstProperty(
29461
30052
  bitType,
29462
30053
  ConfigKey.property_isCollapsible,
29463
- data.isCollapsible,
30054
+ data.isCollapsible ?? (isCollapsibleDefaultsTrue ? true : void 0),
29464
30055
  options
29465
30056
  ),
29466
30057
  anchor: data.anchor,
@@ -29615,6 +30206,26 @@ var Builder = class extends BaseBuilder {
29615
30206
  });
29616
30207
  return node;
29617
30208
  }
30209
+ /**
30210
+ * Resolve the accessibilityGroupTag data, materialising the bit type's default when absent.
30211
+ *
30212
+ * PLAN-019: `group_accessibilityDecorative` re-declares `@accessibilityGroupTag` with a
30213
+ * `defaultValue`, and its chained `@accessibilityTag` likewise. When the bit carries no
30214
+ * authored value, synthesize the default group so it reaches both generators. An authored
30215
+ * value always wins.
30216
+ *
30217
+ * @param bitConfig - the resolved config for the bit
30218
+ * @param data - authored data for the node, if any
30219
+ * @returns
30220
+ */
30221
+ resolveAccessibilityGroupTag(bitConfig, data) {
30222
+ if (data != null && (!Array.isArray(data) || data.length > 0)) return data;
30223
+ const groupConfig = bitConfig.tags[ConfigKey.property_accessibilityGroupTag];
30224
+ const name = groupConfig?.defaultValue;
30225
+ if (name == null) return data;
30226
+ const tag = groupConfig?.chain?.[ConfigKey.property_accessibilityTag]?.defaultValue;
30227
+ return [{ name, tags: tag != null ? [tag] : [] }];
30228
+ }
29618
30229
  /**
29619
30230
  * Build groupTag[] node
29620
30231
  *
@@ -30229,7 +30840,9 @@ var Builder = class extends BaseBuilder {
30229
30840
  ingredient: this.handleJsonText(context, TextLocation.tag, data.ingredient),
30230
30841
  quantity: data.quantity ?? 0,
30231
30842
  unit: data.unit ?? "",
30843
+ unitPlural: data.unitPlural ?? "",
30232
30844
  unitAbbr: data.unitAbbr ?? "",
30845
+ unitAbbrPlural: data.unitAbbrPlural ?? "",
30233
30846
  decimalPlaces: data.decimalPlaces ?? 1,
30234
30847
  disableCalculation: data.disableCalculation ?? false,
30235
30848
  item: this.handleJsonText(context, TextLocation.tag, data.item),
@@ -30824,11 +31437,22 @@ var Builder = class extends BaseBuilder {
30824
31437
  */
30825
31438
  buildServings(_context, data) {
30826
31439
  if (!data) return void 0;
30827
- const { servings, unit, unitAbbr, decimalPlaces, disableCalculation, hint } = data;
31440
+ const {
31441
+ servings,
31442
+ unit,
31443
+ unitPlural,
31444
+ unitAbbr,
31445
+ unitAbbrPlural,
31446
+ decimalPlaces,
31447
+ disableCalculation,
31448
+ hint
31449
+ } = data;
30828
31450
  const node = {
30829
31451
  servings: servings ?? 0,
30830
31452
  unit: unit ?? "",
31453
+ unitPlural: unitPlural ?? "",
30831
31454
  unitAbbr: unitAbbr ?? "",
31455
+ unitAbbrPlural: unitAbbrPlural ?? "",
30832
31456
  decimalPlaces: decimalPlaces ?? 1,
30833
31457
  disableCalculation: disableCalculation ?? false,
30834
31458
  hint: hint ?? ""
@@ -31671,6 +32295,29 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
31671
32295
  }
31672
32296
  return false;
31673
32297
  }
32298
+ // bitmarkAst -> bits -> bitsValue -> accessibilityGroupTag
32299
+ enter_accessibilityGroupTag(node, route) {
32300
+ const accessibilityGroupTag = node.value;
32301
+ const parent = this.getParentNode(route);
32302
+ if (parent?.key !== NodeType.bitsValue) return true;
32303
+ for (const gt of accessibilityGroupTag) {
32304
+ const { name, tags: tags2 } = gt;
32305
+ this.writeProperty("accessibilityGroupTag", name, route, {
32306
+ format: TagFormat.plainText,
32307
+ writeEmpty: true
32308
+ });
32309
+ if (tags2 && tags2.length > 0) {
32310
+ for (const t of tags2) {
32311
+ this.writeProperty("accessibilityTag", t, route, {
32312
+ format: TagFormat.plainText,
32313
+ writeEmpty: true,
32314
+ forceChain: true
32315
+ });
32316
+ }
32317
+ }
32318
+ }
32319
+ return false;
32320
+ }
31674
32321
  // bitmarkAst -> bits -> bitsValue -> labelTrue / labelFalse
31675
32322
  leaf_labelTrue(node, route) {
31676
32323
  const value = node.value;
@@ -31754,7 +32401,16 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
31754
32401
  const nodeValue = node.value;
31755
32402
  const parent = this.getParentNode(route);
31756
32403
  if (parent?.key !== NodeType.bitsValue) return true;
31757
- const { servings, unit, unitAbbr, decimalPlaces, disableCalculation, hint } = nodeValue;
32404
+ const {
32405
+ servings,
32406
+ unit,
32407
+ unitPlural,
32408
+ unitAbbr,
32409
+ unitAbbrPlural,
32410
+ decimalPlaces,
32411
+ disableCalculation,
32412
+ hint
32413
+ } = nodeValue;
31758
32414
  this.writeProperty("servings", servings, route, {
31759
32415
  format: TagFormat.plainText
31760
32416
  });
@@ -31764,12 +32420,24 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
31764
32420
  forceChain: true
31765
32421
  });
31766
32422
  }
32423
+ if (unitPlural != null) {
32424
+ this.writeProperty("unitPlural", unitPlural, route, {
32425
+ format: TagFormat.plainText,
32426
+ forceChain: true
32427
+ });
32428
+ }
31767
32429
  if (unitAbbr != null) {
31768
32430
  this.writeProperty("unitAbbr", unitAbbr, route, {
31769
32431
  format: TagFormat.plainText,
31770
32432
  forceChain: true
31771
32433
  });
31772
32434
  }
32435
+ if (unitAbbrPlural != null) {
32436
+ this.writeProperty("unitAbbrPlural", unitAbbrPlural, route, {
32437
+ format: TagFormat.plainText,
32438
+ forceChain: true
32439
+ });
32440
+ }
31773
32441
  if (decimalPlaces != null) {
31774
32442
  this.writeProperty("decimalPlaces", decimalPlaces, route, {
31775
32443
  format: TagFormat.plainText,
@@ -32613,10 +33281,18 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
32613
33281
  this.writeProperty("unit", ingredient.unit, route, {
32614
33282
  format: TagFormat.plainText
32615
33283
  });
33284
+ if (ingredient.unitPlural != null)
33285
+ this.writeProperty("unitPlural", ingredient.unitPlural, route, {
33286
+ format: TagFormat.plainText
33287
+ });
32616
33288
  if (ingredient.unitAbbr != null)
32617
33289
  this.writeProperty("unitAbbr", ingredient.unitAbbr, route, {
32618
33290
  format: TagFormat.plainText
32619
33291
  });
33292
+ if (ingredient.unitAbbrPlural != null)
33293
+ this.writeProperty("unitAbbrPlural", ingredient.unitAbbrPlural, route, {
33294
+ format: TagFormat.plainText
33295
+ });
32620
33296
  if (ingredient.decimalPlaces != null)
32621
33297
  this.writeProperty("decimalPlaces", ingredient.decimalPlaces, route, {
32622
33298
  format: TagFormat.plainText
@@ -34386,6 +35062,29 @@ var JsonGenerator = class extends AstWalkerGenerator {
34386
35062
  }
34387
35063
  return false;
34388
35064
  }
35065
+ // bitmarkAst -> bits -> bitsValue -> isCollapsible
35066
+ /**
35067
+ * `isCollapsible` is emitted only when explicitly set on the bit — an explicit
35068
+ * `true`/`false` in the source is emitted as-is, and an absent tag yields no
35069
+ * JSON key (the tag is nullable in the config: no default, unset when absent).
35070
+ *
35071
+ * Two exceptions always carry a value: chapter bits default to `false`
35072
+ * (`defaultValue: 'false'` in the bit config, applied in `cleanBitJson()`),
35073
+ * and the deprecated `*-collapsible` bit types default to `true` (materialised
35074
+ * into the AST by the Builder).
35075
+ *
35076
+ * Defining these handlers suppresses the generic property handlers that
35077
+ * `generatePropertyHandlers()` would otherwise install for this tag.
35078
+ */
35079
+ leaf_isCollapsible(node, route) {
35080
+ const parent = this.getParentNode(route);
35081
+ if (parent?.key !== NodeType.bitsValue) return false;
35082
+ if (node.value != null) this.bitJson.isCollapsible = node.value === true;
35083
+ return false;
35084
+ }
35085
+ enter_isCollapsible(node, route) {
35086
+ return this.leaf_isCollapsible(node, route);
35087
+ }
34389
35088
  // bitmarkAst -> bits -> bitsValue -> markConfig
34390
35089
  enter_markConfig(_node, _route) {
34391
35090
  return true;
@@ -38162,7 +38861,9 @@ function parseIngredients(_context, _bitType, cardSet) {
38162
38861
  title: titleArray,
38163
38862
  __instructionString,
38164
38863
  unit,
38864
+ unitPlural,
38165
38865
  unitAbbr,
38866
+ unitAbbrPlural,
38166
38867
  decimalPlaces,
38167
38868
  disableCalculation,
38168
38869
  cardBodyStr,
@@ -38192,7 +38893,9 @@ function parseIngredients(_context, _bitType, cardSet) {
38192
38893
  ingredient: cardBodyStr,
38193
38894
  quantity,
38194
38895
  unit: unit ?? instance3.EMPTY_STRING,
38896
+ unitPlural,
38195
38897
  unitAbbr: unitAbbr ?? instance3.EMPTY_STRING,
38898
+ unitAbbrPlural,
38196
38899
  decimalPlaces: decimalPlaces ?? 1,
38197
38900
  disableCalculation,
38198
38901
  ...tags2
@@ -38680,19 +39383,25 @@ function handleStandardStringExample(context, _content, example, target) {
38680
39383
  }
38681
39384
 
38682
39385
  // src/parser/bitmark/peg/contentProcessors/GroupTagChainContentProcessor.ts
38683
- function groupTagChainContentProcessor(context, _contentDepth, tagsConfig, content, target) {
39386
+ var GROUP_TAG = { groupKey: "groupTag", memberKey: "tag" };
39387
+ var ACCESSIBILITY_GROUP_TAG = {
39388
+ groupKey: "accessibilityGroupTag",
39389
+ memberKey: "accessibilityTag"
39390
+ };
39391
+ function groupTagChainContentProcessor(context, _contentDepth, tagsConfig, content, target, keys = GROUP_TAG) {
38684
39392
  const { value } = content;
38685
- if (context.DEBUG_CHAIN_CONTENT) context.debugPrint("groupTag content", content);
39393
+ const { groupKey, memberKey } = keys;
39394
+ if (context.DEBUG_CHAIN_CONTENT) context.debugPrint(`${groupKey} content`, content);
38686
39395
  const tags2 = context.bitContentProcessor(ContentDepth.Chain, tagsConfig, content.chain);
38687
- if (context.DEBUG_CHAIN_TAGS) context.debugPrint("groupTag TAGS", tags2);
38688
- const { tag } = tags2;
39396
+ if (context.DEBUG_CHAIN_TAGS) context.debugPrint(`${groupKey} TAGS`, tags2);
39397
+ const memberTags = tags2[memberKey];
38689
39398
  const name = stringUtils.trimmedString(value) ?? "";
38690
39399
  const node = {
38691
39400
  name,
38692
- tags: tag ?? []
39401
+ tags: memberTags ?? []
38693
39402
  };
38694
- if (!Array.isArray(target.groupTag)) target.groupTag = [];
38695
- target.groupTag.push(node);
39403
+ if (!Array.isArray(target[groupKey])) target[groupKey] = [];
39404
+ target[groupKey].push(node);
38696
39405
  }
38697
39406
  function imageSourceChainContentProcessor(context, contentDepth, tagsConfig, content, target) {
38698
39407
  if (contentDepth === ContentDepth.Chain) {
@@ -38842,12 +39551,22 @@ function servingsChainContentProcessor(context, _contentDepth, tagsConfig, conte
38842
39551
  if (context.DEBUG_CHAIN_CONTENT) context.debugPrint("servings content", content);
38843
39552
  const tags2 = context.bitContentProcessor(ContentDepth.Chain, tagsConfig, content.chain);
38844
39553
  if (context.DEBUG_CHAIN_TAGS) context.debugPrint("servings TAGS", tags2);
38845
- const { unit, unitAbbr, decimalPlaces, disableCalculation, __hintString } = tags2;
39554
+ const {
39555
+ unit,
39556
+ unitPlural,
39557
+ unitAbbr,
39558
+ unitAbbrPlural,
39559
+ decimalPlaces,
39560
+ disableCalculation,
39561
+ __hintString
39562
+ } = tags2;
38846
39563
  const servings = instance6.asNumber(content.value) ?? 1;
38847
39564
  const node = {
38848
39565
  servings,
38849
39566
  unit,
39567
+ unitPlural,
38850
39568
  unitAbbr,
39569
+ unitAbbrPlural,
38851
39570
  decimalPlaces: decimalPlaces ?? 1,
38852
39571
  disableCalculation,
38853
39572
  hint: __hintString
@@ -38895,6 +39614,16 @@ function propertyContentProcessor(context, contentDepth, tagsConfig, content, ta
38895
39614
  } else if (configKey === ConfigKey.property_groupTag) {
38896
39615
  groupTagChainContentProcessor(context, contentDepth, propertyConfig.chain, content, target);
38897
39616
  return;
39617
+ } else if (configKey === ConfigKey.property_accessibilityGroupTag) {
39618
+ groupTagChainContentProcessor(
39619
+ context,
39620
+ contentDepth,
39621
+ propertyConfig.chain,
39622
+ content,
39623
+ target,
39624
+ ACCESSIBILITY_GROUP_TAG
39625
+ );
39626
+ return;
38898
39627
  } else if (configKey === ConfigKey.property_ratingLevelStart || configKey === ConfigKey.property_ratingLevelEnd) {
38899
39628
  ratingLevelChainContentProcessor(
38900
39629
  context,
@@ -38947,6 +39676,23 @@ function propertyContentProcessor(context, contentDepth, tagsConfig, content, ta
38947
39676
  location: TextLocation.tag
38948
39677
  }
38949
39678
  );
39679
+ case TagFormat.enumeration: {
39680
+ const enumValue = instance3.unbreakscape(
39681
+ stringUtils.isString(v2) ? stringUtils.trimmedString(v2) : void 0,
39682
+ {
39683
+ format: TextFormat.plainText,
39684
+ location: TextLocation.tag
39685
+ }
39686
+ );
39687
+ if (enumValue == null || enumValue === "") return c.defaultValue ?? "";
39688
+ if (c.values && !c.values.includes(enumValue)) {
39689
+ context.addWarning(
39690
+ `Invalid value '${enumValue}' for property [@${tag}]. Valid values: ${c.values.join(" | ")}`,
39691
+ content
39692
+ );
39693
+ }
39694
+ return enumValue;
39695
+ }
38950
39696
  case TagFormat.number:
38951
39697
  return instance6.asNumber(
38952
39698
  instance3.unbreakscape(v2, {
@@ -44598,6 +45344,8 @@ var ConfigBuilder = class {
44598
45344
  format = "number";
44599
45345
  } else if (tag.format === TagFormat.coordinates) {
44600
45346
  format = "coordinates";
45347
+ } else if (tag.format === TagFormat.enumeration) {
45348
+ format = "enum";
44601
45349
  }
44602
45350
  } else if (tagType === BitTagConfigKeyType.resource) {
44603
45351
  format = "string";
@@ -44662,6 +45410,7 @@ var ConfigBuilder = class {
44662
45410
  { value: tag.htmlKey, present: hasHtml }
44663
45411
  ),
44664
45412
  ...format && format !== "string" ? { format } : {},
45413
+ ...tag.values != null ? { values: tag.values } : {},
44665
45414
  ...tag.defaultValue != null ? { default: tag.defaultValue } : {},
44666
45415
  ...tag.nullable ? { nullable: true } : {},
44667
45416
  ...tag.minCount != null && tag.minCount !== 0 ? { min: tag.minCount } : {},