@gmb/bitmark-parser-generator 3.26.0 → 3.28.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.
Files changed (225) hide show
  1. package/README.md +4 -4
  2. package/dist/browser/bitmark-parser-generator.min.js +1 -1
  3. package/dist/browser/bundle-report.html +2 -2
  4. package/dist/cjs/BitmarkParserGenerator.js +19 -16
  5. package/dist/cjs/BitmarkParserGenerator.js.map +1 -1
  6. package/dist/cjs/ast/BaseBuilder.js +8 -8
  7. package/dist/cjs/ast/BaseBuilder.js.map +1 -1
  8. package/dist/cjs/ast/Builder.js +52 -50
  9. package/dist/cjs/ast/Builder.js.map +1 -1
  10. package/dist/cjs/ast/ResourceBuilder.js +19 -18
  11. package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
  12. package/dist/cjs/breakscaping/Breakscape.js +59 -72
  13. package/dist/cjs/breakscaping/Breakscape.js.map +1 -1
  14. package/dist/cjs/config/Config.js +1 -1
  15. package/dist/cjs/config/Config.js.map +1 -1
  16. package/dist/cjs/config/raw/bits.js +26 -9
  17. package/dist/cjs/config/raw/bits.js.map +1 -1
  18. package/dist/cjs/config/raw/groups.js +5 -0
  19. package/dist/cjs/config/raw/groups.js.map +1 -1
  20. package/dist/cjs/config/raw/properties.js +145 -141
  21. package/dist/cjs/config/raw/properties.js.map +1 -1
  22. package/dist/cjs/generated/build-info.js +1 -1
  23. package/dist/cjs/generator/bitmark/BitmarkGenerator.js +116 -128
  24. package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
  25. package/dist/cjs/generator/json/JsonGenerator.js +10 -10
  26. package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
  27. package/dist/cjs/generator/text/TextGenerator.js +15 -15
  28. package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
  29. package/dist/cjs/index.js +3 -3
  30. package/dist/cjs/index.js.map +1 -1
  31. package/dist/cjs/model/ast/NodeType.js +2 -0
  32. package/dist/cjs/model/ast/NodeType.js.map +1 -1
  33. package/dist/cjs/model/config/enum/PropertyConfigKey.js +1 -0
  34. package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
  35. package/dist/cjs/model/enum/BitType.js +3 -0
  36. package/dist/cjs/model/enum/BitType.js.map +1 -1
  37. package/dist/cjs/model/enum/BodyTextFormat.js +14 -0
  38. package/dist/cjs/model/enum/BodyTextFormat.js.map +1 -0
  39. package/dist/cjs/model/enum/DeprecatedTextFormat.js +9 -0
  40. package/dist/cjs/model/enum/DeprecatedTextFormat.js.map +1 -0
  41. package/dist/cjs/model/enum/PropertyFormat.js +2 -4
  42. package/dist/cjs/model/enum/PropertyFormat.js.map +1 -1
  43. package/dist/cjs/model/enum/TextFormat.js +4 -15
  44. package/dist/cjs/model/enum/TextFormat.js.map +1 -1
  45. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js +2 -2
  46. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
  47. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +14 -10
  48. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
  49. package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +4 -4
  50. package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -1
  51. package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +1 -1
  52. package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
  53. package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +2 -2
  54. package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
  55. package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +8 -8
  56. package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
  57. package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +3 -3
  58. package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
  59. package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +4 -4
  60. package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -1
  61. package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +1 -1
  62. package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
  63. package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +2 -1
  64. package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
  65. package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +1 -1
  66. package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
  67. package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +1 -1
  68. package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
  69. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +10 -16
  70. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  71. package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +2 -1
  72. package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
  73. package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +2 -2
  74. package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
  75. package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +2 -2
  76. package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
  77. package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +1 -1
  78. package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
  79. package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +2 -1
  80. package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
  81. package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +1 -1
  82. package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
  83. package/dist/cjs/parser/json/JsonParser.js +4 -3
  84. package/dist/cjs/parser/json/JsonParser.js.map +1 -1
  85. package/dist/cjs/parser/text/TextParser.js +4 -4
  86. package/dist/cjs/parser/text/TextParser.js.map +1 -1
  87. package/dist/cjs/utils/BitUtils.js +2 -1
  88. package/dist/cjs/utils/BitUtils.js.map +1 -1
  89. package/dist/esm/BitmarkParserGenerator.js +19 -16
  90. package/dist/esm/BitmarkParserGenerator.js.map +1 -1
  91. package/dist/esm/ast/BaseBuilder.js +8 -8
  92. package/dist/esm/ast/BaseBuilder.js.map +1 -1
  93. package/dist/esm/ast/Builder.js +52 -50
  94. package/dist/esm/ast/Builder.js.map +1 -1
  95. package/dist/esm/ast/ResourceBuilder.js +19 -18
  96. package/dist/esm/ast/ResourceBuilder.js.map +1 -1
  97. package/dist/esm/breakscaping/Breakscape.js +59 -72
  98. package/dist/esm/breakscaping/Breakscape.js.map +1 -1
  99. package/dist/esm/config/Config.js +1 -1
  100. package/dist/esm/config/Config.js.map +1 -1
  101. package/dist/esm/config/raw/bits.js +26 -9
  102. package/dist/esm/config/raw/bits.js.map +1 -1
  103. package/dist/esm/config/raw/groups.js +5 -0
  104. package/dist/esm/config/raw/groups.js.map +1 -1
  105. package/dist/esm/config/raw/properties.js +145 -141
  106. package/dist/esm/config/raw/properties.js.map +1 -1
  107. package/dist/esm/generated/build-info.js +1 -1
  108. package/dist/esm/generator/bitmark/BitmarkGenerator.js +116 -128
  109. package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
  110. package/dist/esm/generator/json/JsonGenerator.js +10 -10
  111. package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
  112. package/dist/esm/generator/text/TextGenerator.js +15 -15
  113. package/dist/esm/generator/text/TextGenerator.js.map +1 -1
  114. package/dist/esm/index.js +1 -1
  115. package/dist/esm/index.js.map +1 -1
  116. package/dist/esm/model/ast/NodeType.js +2 -0
  117. package/dist/esm/model/ast/NodeType.js.map +1 -1
  118. package/dist/esm/model/config/enum/PropertyConfigKey.js +1 -0
  119. package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
  120. package/dist/esm/model/enum/BitType.js +3 -0
  121. package/dist/esm/model/enum/BitType.js.map +1 -1
  122. package/dist/esm/model/enum/BodyTextFormat.js +11 -0
  123. package/dist/esm/model/enum/BodyTextFormat.js.map +1 -0
  124. package/dist/esm/model/enum/DeprecatedTextFormat.js +6 -0
  125. package/dist/esm/model/enum/DeprecatedTextFormat.js.map +1 -0
  126. package/dist/esm/model/enum/PropertyFormat.js +2 -4
  127. package/dist/esm/model/enum/PropertyFormat.js.map +1 -1
  128. package/dist/esm/model/enum/TextFormat.js +4 -15
  129. package/dist/esm/model/enum/TextFormat.js.map +1 -1
  130. package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js +2 -2
  131. package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
  132. package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +14 -10
  133. package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
  134. package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +4 -4
  135. package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -1
  136. package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +1 -1
  137. package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
  138. package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +2 -2
  139. package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
  140. package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +8 -8
  141. package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
  142. package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +3 -3
  143. package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
  144. package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +4 -4
  145. package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -1
  146. package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +1 -1
  147. package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
  148. package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +2 -1
  149. package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
  150. package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +1 -1
  151. package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
  152. package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +1 -1
  153. package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
  154. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +10 -16
  155. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  156. package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +2 -1
  157. package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
  158. package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +2 -2
  159. package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
  160. package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +2 -2
  161. package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
  162. package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +1 -1
  163. package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
  164. package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +2 -1
  165. package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
  166. package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +1 -1
  167. package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
  168. package/dist/esm/parser/json/JsonParser.js +4 -3
  169. package/dist/esm/parser/json/JsonParser.js.map +1 -1
  170. package/dist/esm/parser/text/TextParser.js +4 -4
  171. package/dist/esm/parser/text/TextParser.js.map +1 -1
  172. package/dist/esm/utils/BitUtils.js +2 -1
  173. package/dist/esm/utils/BitUtils.js.map +1 -1
  174. package/dist/types/BitmarkParserGenerator.d.ts +12 -8
  175. package/dist/types/BitmarkParserGenerator.d.ts.map +1 -1
  176. package/dist/types/ast/BaseBuilder.d.ts +5 -3
  177. package/dist/types/ast/BaseBuilder.d.ts.map +1 -1
  178. package/dist/types/ast/Builder.d.ts +1 -0
  179. package/dist/types/ast/Builder.d.ts.map +1 -1
  180. package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
  181. package/dist/types/breakscaping/Breakscape.d.ts +2 -2
  182. package/dist/types/breakscaping/Breakscape.d.ts.map +1 -1
  183. package/dist/types/config/raw/bits.d.ts.map +1 -1
  184. package/dist/types/config/raw/groups.d.ts.map +1 -1
  185. package/dist/types/config/raw/properties.d.ts.map +1 -1
  186. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +0 -1
  187. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
  188. package/dist/types/generator/json/JsonGenerator.d.ts +2 -2
  189. package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
  190. package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
  191. package/dist/types/index.d.ts +2 -2
  192. package/dist/types/index.d.ts.map +1 -1
  193. package/dist/types/model/ast/NodeType.d.ts +4 -0
  194. package/dist/types/model/ast/NodeType.d.ts.map +1 -1
  195. package/dist/types/model/ast/Nodes.d.ts +1 -0
  196. package/dist/types/model/ast/Nodes.d.ts.map +1 -1
  197. package/dist/types/model/config/enum/ConfigKey.d.ts +2 -0
  198. package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
  199. package/dist/types/model/config/enum/PropertyConfigKey.d.ts +3 -0
  200. package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
  201. package/dist/types/model/enum/BitType.d.ts +6 -0
  202. package/dist/types/model/enum/BitType.d.ts.map +1 -1
  203. package/dist/types/model/enum/BodyTextFormat.d.ts +17 -0
  204. package/dist/types/model/enum/BodyTextFormat.d.ts.map +1 -0
  205. package/dist/types/model/enum/DeprecatedTextFormat.d.ts +7 -0
  206. package/dist/types/model/enum/DeprecatedTextFormat.d.ts.map +1 -0
  207. package/dist/types/model/enum/PropertyFormat.d.ts +4 -6
  208. package/dist/types/model/enum/PropertyFormat.d.ts.map +1 -1
  209. package/dist/types/model/enum/PropertyTag.d.ts +2 -0
  210. package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
  211. package/dist/types/model/enum/TextFormat.d.ts +4 -6
  212. package/dist/types/model/enum/TextFormat.d.ts.map +1 -1
  213. package/dist/types/model/json/BitJson.d.ts +1 -0
  214. package/dist/types/model/json/BitJson.d.ts.map +1 -1
  215. package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +1 -1
  216. package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -1
  217. package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts.map +1 -1
  218. package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -1
  219. package/dist/types/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.d.ts.map +1 -1
  220. package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts.map +1 -1
  221. package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
  222. package/dist/types/parser/text/TextParser.d.ts +2 -1
  223. package/dist/types/parser/text/TextParser.d.ts.map +1 -1
  224. package/dist/types/utils/BitUtils.d.ts.map +1 -1
  225. package/package.json +25 -21
@@ -5,39 +5,39 @@ import { PropertyTag } from '../../model/enum/PropertyTag';
5
5
  const PROPERTIES = {
6
6
  [PropertyConfigKey.id]: {
7
7
  tag: PropertyTag.id,
8
- format: PropertyFormat.trimmedString,
8
+ format: PropertyFormat.plainText,
9
9
  },
10
10
  [PropertyConfigKey.internalComment]: {
11
11
  tag: PropertyTag.internalComment,
12
- format: PropertyFormat.trimmedString,
12
+ format: PropertyFormat.plainText,
13
13
  },
14
14
  [PropertyConfigKey.customerId]: {
15
15
  tag: PropertyTag.customerId,
16
16
  single: true,
17
- format: PropertyFormat.trimmedString,
17
+ format: PropertyFormat.plainText,
18
18
  },
19
19
  [PropertyConfigKey.customerExternalId]: {
20
20
  tag: PropertyTag.customerExternalId,
21
21
  single: true,
22
- format: PropertyFormat.trimmedString,
22
+ format: PropertyFormat.plainText,
23
23
  },
24
24
  [PropertyConfigKey.externalId]: {
25
25
  tag: PropertyTag.externalId,
26
- format: PropertyFormat.trimmedString,
26
+ format: PropertyFormat.plainText,
27
27
  },
28
28
  [PropertyConfigKey.spaceId]: {
29
29
  tag: PropertyTag.spaceId,
30
- format: PropertyFormat.trimmedString,
30
+ format: PropertyFormat.plainText,
31
31
  },
32
32
  [PropertyConfigKey.padletId]: {
33
33
  tag: PropertyTag.padletId,
34
34
  single: true,
35
- format: PropertyFormat.trimmedString,
35
+ format: PropertyFormat.plainText,
36
36
  },
37
37
  [PropertyConfigKey.jupyterId]: {
38
38
  tag: PropertyTag.jupyterId,
39
39
  single: true,
40
- format: PropertyFormat.trimmedString,
40
+ format: PropertyFormat.plainText,
41
41
  },
42
42
  [PropertyConfigKey.jupyterExecutionCount]: {
43
43
  tag: PropertyTag.jupyterExecutionCount,
@@ -52,33 +52,33 @@ const PROPERTIES = {
52
52
  [PropertyConfigKey.machineTranslated]: {
53
53
  tag: PropertyTag.machineTranslated,
54
54
  single: true,
55
- format: PropertyFormat.trimmedString,
55
+ format: PropertyFormat.plainText,
56
56
  },
57
57
  [PropertyConfigKey.searchIndex]: {
58
58
  tag: PropertyTag.searchIndex,
59
- format: PropertyFormat.trimmedString,
59
+ format: PropertyFormat.plainText,
60
60
  },
61
61
  [PropertyConfigKey.analyticsTag]: {
62
62
  tag: PropertyTag.analyticsTag,
63
- format: PropertyFormat.trimmedString,
63
+ format: PropertyFormat.plainText,
64
64
  },
65
65
  [PropertyConfigKey.categoryTag]: {
66
66
  tag: PropertyTag.categoryTag,
67
- format: PropertyFormat.trimmedString,
67
+ format: PropertyFormat.plainText,
68
68
  },
69
69
  [PropertyConfigKey.topicTag]: {
70
70
  tag: PropertyTag.topicTag,
71
- format: PropertyFormat.trimmedString,
71
+ format: PropertyFormat.plainText,
72
72
  },
73
73
  [PropertyConfigKey.altLangTag]: {
74
74
  tag: PropertyTag.altLangTag,
75
75
  single: true,
76
- format: PropertyFormat.trimmedString,
76
+ format: PropertyFormat.plainText,
77
77
  },
78
78
  [PropertyConfigKey.feedbackEngine]: {
79
79
  tag: PropertyTag.feedbackEngine,
80
80
  single: true,
81
- format: PropertyFormat.trimmedString,
81
+ format: PropertyFormat.plainText,
82
82
  },
83
83
  [PropertyConfigKey.disableFeedback]: {
84
84
  tag: PropertyTag.disableFeedback,
@@ -88,22 +88,22 @@ const PROPERTIES = {
88
88
  [PropertyConfigKey.diffTo]: {
89
89
  tag: PropertyTag.diffTo,
90
90
  single: true,
91
- format: PropertyFormat.trimmedString,
91
+ format: PropertyFormat.plainText,
92
92
  },
93
93
  [PropertyConfigKey.diffOp]: {
94
94
  tag: PropertyTag.diffOp,
95
95
  single: true,
96
- format: PropertyFormat.trimmedString,
96
+ format: PropertyFormat.plainText,
97
97
  },
98
98
  [PropertyConfigKey.diffRef]: {
99
99
  tag: PropertyTag.diffRef,
100
100
  single: true,
101
- format: PropertyFormat.trimmedString,
101
+ format: PropertyFormat.plainText,
102
102
  },
103
103
  [PropertyConfigKey.diffContext]: {
104
104
  tag: PropertyTag.diffContext,
105
105
  single: true,
106
- format: PropertyFormat.trimmedString,
106
+ format: PropertyFormat.plainText,
107
107
  },
108
108
  [PropertyConfigKey.diffTime]: {
109
109
  tag: PropertyTag.diffTime,
@@ -113,22 +113,22 @@ const PROPERTIES = {
113
113
  [PropertyConfigKey.path]: {
114
114
  tag: PropertyTag.path,
115
115
  single: true,
116
- format: PropertyFormat.trimmedString,
116
+ format: PropertyFormat.plainText,
117
117
  },
118
118
  [PropertyConfigKey.releaseVersion]: {
119
119
  tag: PropertyTag.releaseVersion,
120
120
  single: true,
121
- format: PropertyFormat.trimmedString,
121
+ format: PropertyFormat.plainText,
122
122
  },
123
123
  [PropertyConfigKey.releaseKind]: {
124
124
  tag: PropertyTag.releaseKind,
125
125
  single: true,
126
- format: PropertyFormat.trimmedString,
126
+ format: PropertyFormat.plainText,
127
127
  },
128
128
  [PropertyConfigKey.releaseDate]: {
129
129
  tag: PropertyTag.releaseDate,
130
130
  single: true,
131
- format: PropertyFormat.trimmedString,
131
+ format: PropertyFormat.plainText,
132
132
  },
133
133
  [PropertyConfigKey.resolved]: {
134
134
  tag: PropertyTag.resolved,
@@ -138,198 +138,198 @@ const PROPERTIES = {
138
138
  [PropertyConfigKey.resolvedDate]: {
139
139
  tag: PropertyTag.resolvedDate,
140
140
  single: true,
141
- format: PropertyFormat.trimmedString,
141
+ format: PropertyFormat.plainText,
142
142
  },
143
143
  [PropertyConfigKey.resolvedBy]: {
144
144
  tag: PropertyTag.resolvedBy,
145
145
  single: true,
146
- format: PropertyFormat.trimmedString,
146
+ format: PropertyFormat.plainText,
147
147
  },
148
148
  [PropertyConfigKey.handInAcceptFileType]: {
149
149
  tag: PropertyTag.handInAcceptFileType,
150
- format: PropertyFormat.trimmedString,
150
+ format: PropertyFormat.plainText,
151
151
  },
152
152
  [PropertyConfigKey.handInRequirement]: {
153
153
  tag: PropertyTag.handInRequirement,
154
- format: PropertyFormat.trimmedString,
154
+ format: PropertyFormat.plainText,
155
155
  },
156
156
  [PropertyConfigKey.handInInstruction]: {
157
157
  tag: PropertyTag.handInInstruction,
158
158
  single: true,
159
- format: PropertyFormat.trimmedString,
159
+ format: PropertyFormat.plainText,
160
160
  },
161
161
  [PropertyConfigKey.ageRange]: {
162
162
  tag: PropertyTag.ageRange,
163
- format: PropertyFormat.trimmedString,
163
+ format: PropertyFormat.plainText,
164
164
  },
165
165
  [PropertyConfigKey.lang]: {
166
166
  tag: PropertyTag.lang,
167
167
  single: true,
168
- format: PropertyFormat.trimmedString,
168
+ format: PropertyFormat.plainText,
169
169
  },
170
170
  [PropertyConfigKey.language]: {
171
171
  tag: PropertyTag.language,
172
- format: PropertyFormat.trimmedString,
172
+ format: PropertyFormat.plainText,
173
173
  },
174
174
  [PropertyConfigKey.computerLanguage]: {
175
175
  tag: PropertyTag.computerLanguage,
176
176
  single: true,
177
- format: PropertyFormat.trimmedString,
177
+ format: PropertyFormat.plainText,
178
178
  },
179
179
  [PropertyConfigKey.target]: {
180
180
  tag: PropertyTag.target,
181
- format: PropertyFormat.trimmedString,
181
+ format: PropertyFormat.plainText,
182
182
  },
183
183
  [PropertyConfigKey.slug]: {
184
184
  tag: PropertyTag.slug,
185
185
  single: true,
186
- format: PropertyFormat.trimmedString,
186
+ format: PropertyFormat.plainText,
187
187
  },
188
188
  [PropertyConfigKey.tag]: {
189
189
  tag: PropertyTag.tag,
190
- format: PropertyFormat.trimmedString,
190
+ format: PropertyFormat.plainText,
191
191
  },
192
192
  [PropertyConfigKey.reductionTag]: {
193
193
  tag: PropertyTag.reductionTag,
194
- format: PropertyFormat.trimmedString,
194
+ format: PropertyFormat.plainText,
195
195
  },
196
196
  [PropertyConfigKey.bubbleTag]: {
197
197
  tag: PropertyTag.bubbleTag,
198
- format: PropertyFormat.trimmedString,
198
+ format: PropertyFormat.plainText,
199
199
  },
200
200
  [PropertyConfigKey.levelCEFRp]: {
201
201
  tag: PropertyTag.levelCEFRp,
202
202
  single: true,
203
- format: PropertyFormat.trimmedString,
203
+ format: PropertyFormat.plainText,
204
204
  },
205
205
  [PropertyConfigKey.levelCEFR]: {
206
206
  tag: PropertyTag.levelCEFR,
207
207
  single: true,
208
- format: PropertyFormat.trimmedString,
208
+ format: PropertyFormat.plainText,
209
209
  },
210
210
  [PropertyConfigKey.levelILR]: {
211
211
  tag: PropertyTag.levelILR,
212
212
  single: true,
213
- format: PropertyFormat.trimmedString,
213
+ format: PropertyFormat.plainText,
214
214
  },
215
215
  [PropertyConfigKey.levelACTFL]: {
216
216
  tag: PropertyTag.levelACTFL,
217
217
  single: true,
218
- format: PropertyFormat.trimmedString,
218
+ format: PropertyFormat.plainText,
219
219
  },
220
220
  [PropertyConfigKey.icon]: {
221
221
  tag: PropertyTag.icon,
222
222
  single: true,
223
- format: PropertyFormat.trimmedString,
223
+ format: PropertyFormat.plainText,
224
224
  },
225
225
  [PropertyConfigKey.iconTag]: {
226
226
  tag: PropertyTag.iconTag,
227
227
  single: true,
228
- format: PropertyFormat.trimmedString,
228
+ format: PropertyFormat.plainText,
229
229
  },
230
230
  [PropertyConfigKey.colorTag]: {
231
231
  tag: PropertyTag.colorTag,
232
- format: PropertyFormat.trimmedString,
232
+ format: PropertyFormat.plainText,
233
233
  },
234
234
  [PropertyConfigKey.flashcardSet]: {
235
235
  tag: PropertyTag.flashcardSet,
236
- format: PropertyFormat.trimmedString,
236
+ format: PropertyFormat.plainText,
237
237
  },
238
238
  [PropertyConfigKey.subtype]: {
239
239
  tag: PropertyTag.subtype,
240
240
  single: true,
241
- format: PropertyFormat.trimmedString,
241
+ format: PropertyFormat.plainText,
242
242
  },
243
243
  [PropertyConfigKey.bookAlias]: {
244
244
  tag: PropertyTag.bookAlias,
245
- format: PropertyFormat.trimmedString,
245
+ format: PropertyFormat.plainText,
246
246
  },
247
247
  [PropertyConfigKey.bookDiff]: {
248
248
  tag: PropertyTag.bookDiff,
249
249
  single: true,
250
- format: PropertyFormat.trimmedString,
250
+ format: PropertyFormat.plainText,
251
251
  },
252
252
  [PropertyConfigKey.refAuthor]: {
253
253
  tag: PropertyTag.refAuthor,
254
- format: PropertyFormat.trimmedString,
254
+ format: PropertyFormat.plainText,
255
255
  },
256
256
  [PropertyConfigKey.refBookTitle]: {
257
257
  tag: PropertyTag.refBookTitle,
258
258
  single: true,
259
- format: PropertyFormat.trimmedString,
259
+ format: PropertyFormat.plainText,
260
260
  },
261
261
  [PropertyConfigKey.refPublisher]: {
262
262
  tag: PropertyTag.refPublisher,
263
- format: PropertyFormat.trimmedString,
263
+ format: PropertyFormat.plainText,
264
264
  },
265
265
  [PropertyConfigKey.refPublicationYear]: {
266
266
  tag: PropertyTag.refPublicationYear,
267
267
  single: true,
268
- format: PropertyFormat.trimmedString,
268
+ format: PropertyFormat.plainText,
269
269
  },
270
270
  [PropertyConfigKey.citationStyle]: {
271
271
  tag: PropertyTag.citationStyle,
272
272
  single: true,
273
- format: PropertyFormat.trimmedString,
273
+ format: PropertyFormat.plainText,
274
274
  },
275
275
  [PropertyConfigKey.coverImage]: {
276
276
  tag: PropertyTag.coverImage,
277
- format: PropertyFormat.trimmedString,
277
+ format: PropertyFormat.plainText,
278
278
  },
279
279
  [PropertyConfigKey.coverColor]: {
280
280
  tag: PropertyTag.coverColor,
281
281
  single: true,
282
- format: PropertyFormat.trimmedString,
282
+ format: PropertyFormat.plainText,
283
283
  },
284
284
  [PropertyConfigKey.imagePlaceholder]: {
285
285
  tag: PropertyTag.imagePlaceholder,
286
286
  single: true,
287
- format: PropertyFormat.trimmedString,
287
+ format: PropertyFormat.plainText,
288
288
  },
289
289
  [PropertyConfigKey.publisher]: {
290
290
  tag: PropertyTag.publisher,
291
- format: PropertyFormat.trimmedString,
291
+ format: PropertyFormat.plainText,
292
292
  },
293
293
  [PropertyConfigKey.publisherName]: {
294
294
  tag: PropertyTag.publisherName,
295
295
  single: true,
296
- format: PropertyFormat.trimmedString,
296
+ format: PropertyFormat.plainText,
297
297
  },
298
298
  [PropertyConfigKey.publications]: {
299
299
  tag: PropertyTag.publications,
300
- format: PropertyFormat.trimmedString,
300
+ format: PropertyFormat.plainText,
301
301
  },
302
302
  [PropertyConfigKey.author]: {
303
303
  tag: PropertyTag.author,
304
- format: PropertyFormat.trimmedString,
304
+ format: PropertyFormat.plainText,
305
305
  },
306
306
  [PropertyConfigKey.subject]: {
307
307
  tag: PropertyTag.subject,
308
- format: PropertyFormat.trimmedString,
308
+ format: PropertyFormat.plainText,
309
309
  },
310
310
  [PropertyConfigKey.date]: {
311
311
  tag: PropertyTag.date,
312
312
  single: true,
313
- format: PropertyFormat.trimmedString,
313
+ format: PropertyFormat.plainText,
314
314
  },
315
315
  [PropertyConfigKey.dateEnd]: {
316
316
  tag: PropertyTag.dateEnd,
317
317
  single: true,
318
- format: PropertyFormat.trimmedString,
318
+ format: PropertyFormat.plainText,
319
319
  },
320
320
  [PropertyConfigKey.location]: {
321
321
  tag: PropertyTag.location,
322
322
  single: true,
323
- format: PropertyFormat.trimmedString,
323
+ format: PropertyFormat.plainText,
324
324
  },
325
325
  [PropertyConfigKey.theme]: {
326
326
  tag: PropertyTag.theme,
327
- format: PropertyFormat.trimmedString,
327
+ format: PropertyFormat.plainText,
328
328
  },
329
329
  [PropertyConfigKey.kind]: {
330
330
  tag: PropertyTag.kind,
331
331
  single: true,
332
- format: PropertyFormat.trimmedString,
332
+ format: PropertyFormat.plainText,
333
333
  },
334
334
  [PropertyConfigKey.hasMarkAsDone]: {
335
335
  tag: PropertyTag.hasMarkAsDone,
@@ -358,27 +358,27 @@ const PROPERTIES = {
358
358
  [PropertyConfigKey.chatWithBookBrainKey]: {
359
359
  tag: PropertyTag.chatWithBookBrainKey,
360
360
  single: true,
361
- format: PropertyFormat.trimmedString,
361
+ format: PropertyFormat.plainText,
362
362
  },
363
363
  [PropertyConfigKey.action]: {
364
364
  tag: PropertyTag.action,
365
365
  single: true,
366
- format: PropertyFormat.trimmedString,
366
+ format: PropertyFormat.plainText,
367
367
  },
368
368
  [PropertyConfigKey.thumbImage]: {
369
369
  tag: PropertyTag.thumbImage,
370
370
  single: true,
371
- format: PropertyFormat.trimmedString,
371
+ format: PropertyFormat.plainText,
372
372
  },
373
373
  [PropertyConfigKey.scormSource]: {
374
374
  tag: PropertyTag.scormSource,
375
375
  single: true,
376
- format: PropertyFormat.trimmedString,
376
+ format: PropertyFormat.plainText,
377
377
  },
378
378
  [PropertyConfigKey.posterImage]: {
379
379
  tag: PropertyTag.posterImage,
380
380
  single: true,
381
- format: PropertyFormat.trimmedString,
381
+ format: PropertyFormat.plainText,
382
382
  },
383
383
  [PropertyConfigKey.focusX]: {
384
384
  tag: PropertyTag.focusX,
@@ -392,69 +392,73 @@ const PROPERTIES = {
392
392
  },
393
393
  [PropertyConfigKey.deeplink]: {
394
394
  tag: PropertyTag.deeplink,
395
- format: PropertyFormat.trimmedString,
395
+ format: PropertyFormat.plainText,
396
396
  },
397
397
  [PropertyConfigKey.externalLink]: {
398
398
  tag: PropertyTag.externalLink,
399
399
  single: true,
400
- format: PropertyFormat.trimmedString,
400
+ format: PropertyFormat.plainText,
401
401
  },
402
402
  [PropertyConfigKey.externalLinkText]: {
403
403
  tag: PropertyTag.externalLinkText,
404
404
  single: true,
405
- format: PropertyFormat.trimmedString,
405
+ format: PropertyFormat.plainText,
406
406
  },
407
407
  [PropertyConfigKey.videoCallLink]: {
408
408
  tag: PropertyTag.videoCallLink,
409
409
  single: true,
410
- format: PropertyFormat.trimmedString,
410
+ format: PropertyFormat.plainText,
411
411
  },
412
412
  [PropertyConfigKey.vendorDashboardId]: {
413
413
  tag: PropertyTag.vendorDashboardId,
414
414
  single: true,
415
- format: PropertyFormat.trimmedString,
415
+ format: PropertyFormat.plainText,
416
416
  },
417
417
  [PropertyConfigKey.vendorSurveyId]: {
418
418
  tag: PropertyTag.vendorSurveyId,
419
419
  single: true,
420
- format: PropertyFormat.trimmedString,
420
+ format: PropertyFormat.plainText,
421
421
  },
422
422
  [PropertyConfigKey.vendorUrl]: {
423
423
  tag: PropertyTag.vendorUrl,
424
424
  single: true,
425
- format: PropertyFormat.trimmedString,
425
+ format: PropertyFormat.plainText,
426
426
  },
427
427
  [PropertyConfigKey.search]: {
428
428
  tag: PropertyTag.search,
429
429
  single: true,
430
- format: PropertyFormat.trimmedString,
430
+ format: PropertyFormat.plainText,
431
431
  },
432
432
  [PropertyConfigKey.bot]: {
433
433
  tag: PropertyTag.bot,
434
- format: PropertyFormat.trimmedString,
434
+ format: PropertyFormat.plainText,
435
435
  },
436
436
  [PropertyConfigKey.duration]: {
437
437
  tag: PropertyTag.duration,
438
438
  single: true,
439
- format: PropertyFormat.trimmedString,
439
+ format: PropertyFormat.plainText,
440
440
  },
441
441
  [PropertyConfigKey.property_reference]: {
442
442
  tag: PropertyTag.tag_reference,
443
- format: PropertyFormat.trimmedString,
443
+ format: PropertyFormat.plainText,
444
444
  astKey: PropertyAstKey.ast_referenceProperty,
445
445
  },
446
446
  [PropertyConfigKey.list]: {
447
447
  tag: PropertyTag.list,
448
- format: PropertyFormat.trimmedString,
448
+ format: PropertyFormat.plainText,
449
449
  },
450
450
  [PropertyConfigKey.layer]: {
451
451
  tag: PropertyTag.layer,
452
- format: PropertyFormat.trimmedString,
452
+ format: PropertyFormat.plainText,
453
+ },
454
+ [PropertyConfigKey.layerRole]: {
455
+ tag: PropertyTag.layerRole,
456
+ format: PropertyFormat.plainText,
453
457
  },
454
458
  [PropertyConfigKey.textReference]: {
455
459
  tag: PropertyTag.textReference,
456
460
  single: true,
457
- format: PropertyFormat.trimmedString,
461
+ format: PropertyFormat.plainText,
458
462
  },
459
463
  [PropertyConfigKey.isTracked]: {
460
464
  tag: PropertyTag.isTracked,
@@ -469,27 +473,27 @@ const PROPERTIES = {
469
473
  [PropertyConfigKey.labelTrue]: {
470
474
  tag: PropertyTag.labelTrue,
471
475
  single: true,
472
- format: PropertyFormat.trimmedString,
476
+ format: PropertyFormat.plainText,
473
477
  },
474
478
  [PropertyConfigKey.labelFalse]: {
475
479
  tag: PropertyTag.labelFalse,
476
480
  single: true,
477
- format: PropertyFormat.trimmedString,
481
+ format: PropertyFormat.plainText,
478
482
  },
479
483
  [PropertyConfigKey.content2Buy]: {
480
484
  tag: PropertyTag.content2Buy,
481
485
  single: true,
482
- format: PropertyFormat.trimmedString,
486
+ format: PropertyFormat.plainText,
483
487
  },
484
488
  [PropertyConfigKey.quotedPerson]: {
485
489
  tag: PropertyTag.quotedPerson,
486
490
  single: true,
487
- format: PropertyFormat.trimmedString,
491
+ format: PropertyFormat.plainText,
488
492
  },
489
493
  [PropertyConfigKey.partialAnswer]: {
490
494
  tag: PropertyTag.partialAnswer,
491
495
  single: true,
492
- format: PropertyFormat.trimmedString,
496
+ format: PropertyFormat.plainText,
493
497
  },
494
498
  [PropertyConfigKey.reasonableNumOfChars]: {
495
499
  tag: PropertyTag.reasonableNumOfChars,
@@ -514,7 +518,7 @@ const PROPERTIES = {
514
518
  [PropertyConfigKey.technicalTerm]: {
515
519
  tag: PropertyTag.technicalTerm,
516
520
  single: true,
517
- format: PropertyFormat.trimmedString,
521
+ format: PropertyFormat.plainText,
518
522
  },
519
523
  [PropertyConfigKey.servings]: {
520
524
  tag: PropertyTag.servings,
@@ -524,12 +528,12 @@ const PROPERTIES = {
524
528
  [PropertyConfigKey.unit]: {
525
529
  tag: PropertyTag.unit,
526
530
  single: true,
527
- format: PropertyFormat.trimmedString,
531
+ format: PropertyFormat.plainText,
528
532
  },
529
533
  [PropertyConfigKey.unitAbbr]: {
530
534
  tag: PropertyTag.unitAbbr,
531
535
  single: true,
532
- format: PropertyFormat.trimmedString,
536
+ format: PropertyFormat.plainText,
533
537
  },
534
538
  [PropertyConfigKey.decimalPlaces]: {
535
539
  tag: PropertyTag.decimalPlaces,
@@ -545,7 +549,7 @@ const PROPERTIES = {
545
549
  [PropertyConfigKey.example]: {
546
550
  tag: PropertyTag.example,
547
551
  single: true,
548
- format: PropertyFormat.trimmedString,
552
+ format: PropertyFormat.plainText,
549
553
  },
550
554
  [PropertyConfigKey.toc]: {
551
555
  tag: PropertyTag.toc,
@@ -556,39 +560,39 @@ const PROPERTIES = {
556
560
  [PropertyConfigKey.page]: {
557
561
  tag: PropertyTag.page,
558
562
  single: true,
559
- format: PropertyFormat.trimmedString,
563
+ format: PropertyFormat.plainText,
560
564
  },
561
565
  [PropertyConfigKey.product]: {
562
566
  tag: PropertyTag.product,
563
567
  single: true,
564
- format: PropertyFormat.trimmedString,
568
+ format: PropertyFormat.plainText,
565
569
  },
566
570
  [PropertyConfigKey.productId]: {
567
571
  tag: PropertyTag.productId,
568
572
  single: false, // and true
569
- format: PropertyFormat.trimmedString,
573
+ format: PropertyFormat.plainText,
570
574
  },
571
575
  [PropertyConfigKey.productList]: {
572
576
  tag: PropertyTag.product,
573
577
  single: false,
574
- format: PropertyFormat.trimmedString,
578
+ format: PropertyFormat.plainText,
575
579
  astKey: PropertyAstKey.ast_productList,
576
580
  },
577
581
  [PropertyConfigKey.productVideo]: {
578
582
  tag: PropertyTag.productVideo,
579
583
  single: true,
580
- format: PropertyFormat.trimmedString,
584
+ format: PropertyFormat.plainText,
581
585
  },
582
586
  [PropertyConfigKey.productVideoList]: {
583
587
  tag: PropertyTag.productVideo,
584
588
  single: false,
585
- format: PropertyFormat.trimmedString,
589
+ format: PropertyFormat.plainText,
586
590
  astKey: PropertyAstKey.ast_productVideoList,
587
591
  },
588
592
  [PropertyConfigKey.productFolder]: {
589
593
  tag: PropertyTag.productFolder,
590
594
  single: true,
591
- format: PropertyFormat.trimmedString,
595
+ format: PropertyFormat.plainText,
592
596
  },
593
597
  [PropertyConfigKey.progress]: {
594
598
  tag: PropertyTag.progress,
@@ -599,46 +603,46 @@ const PROPERTIES = {
599
603
  [PropertyConfigKey.book]: {
600
604
  tag: PropertyTag.book,
601
605
  single: true,
602
- format: PropertyFormat.trimmedString,
606
+ format: PropertyFormat.plainText,
603
607
  },
604
608
  [PropertyConfigKey.person]: {
605
609
  tag: PropertyTag.person,
606
610
  single: true,
607
- format: PropertyFormat.trimmedString,
611
+ format: PropertyFormat.plainText,
608
612
  },
609
613
  // Deprecated (replaced by person)
610
614
  [PropertyConfigKey.partner]: {
611
615
  tag: PropertyTag.partner,
612
616
  single: true,
613
- format: PropertyFormat.trimmedString,
617
+ format: PropertyFormat.plainText,
614
618
  },
615
619
  [PropertyConfigKey.property_sampleSolution]: {
616
620
  tag: PropertyTag.tag_sampleSolution,
617
621
  single: true,
618
- format: PropertyFormat.trimmedString,
622
+ format: PropertyFormat.plainText,
619
623
  },
620
624
  [PropertyConfigKey.additionalSolutions]: {
621
625
  tag: PropertyTag.additionalSolutions,
622
- format: PropertyFormat.trimmedString,
626
+ format: PropertyFormat.plainText,
623
627
  },
624
628
  [PropertyConfigKey.markConfig]: {
625
629
  tag: PropertyTag.tag_mark,
626
- format: PropertyFormat.trimmedString,
630
+ format: PropertyFormat.plainText,
627
631
  astKey: PropertyAstKey.ast_markConfig,
628
632
  },
629
633
  [PropertyConfigKey.property_mark]: {
630
634
  tag: PropertyTag.tag_mark,
631
- format: PropertyFormat.trimmedString,
635
+ format: PropertyFormat.plainText,
632
636
  },
633
637
  [PropertyConfigKey.color]: {
634
638
  tag: PropertyTag.color,
635
639
  single: true,
636
- format: PropertyFormat.trimmedString,
640
+ format: PropertyFormat.plainText,
637
641
  },
638
642
  [PropertyConfigKey.emphasis]: {
639
643
  tag: PropertyTag.emphasis,
640
644
  single: true,
641
- format: PropertyFormat.trimmedString,
645
+ format: PropertyFormat.plainText,
642
646
  },
643
647
  [PropertyConfigKey.isCaseSensitive]: {
644
648
  tag: PropertyTag.isCaseSensitive,
@@ -648,17 +652,17 @@ const PROPERTIES = {
648
652
  [PropertyConfigKey.reaction]: {
649
653
  tag: PropertyTag.reaction,
650
654
  single: true,
651
- format: PropertyFormat.trimmedString,
655
+ format: PropertyFormat.plainText,
652
656
  },
653
657
  [PropertyConfigKey.imageSource]: {
654
658
  tag: PropertyTag.imageSource,
655
659
  single: true,
656
- format: PropertyFormat.trimmedString,
660
+ format: PropertyFormat.plainText,
657
661
  },
658
662
  [PropertyConfigKey.mockupId]: {
659
663
  tag: PropertyTag.mockupId,
660
664
  single: true,
661
- format: PropertyFormat.trimmedString,
665
+ format: PropertyFormat.plainText,
662
666
  },
663
667
  [PropertyConfigKey.size]: {
664
668
  tag: PropertyTag.size,
@@ -668,12 +672,12 @@ const PROPERTIES = {
668
672
  [PropertyConfigKey.format]: {
669
673
  tag: PropertyTag.format,
670
674
  single: true,
671
- format: PropertyFormat.trimmedString,
675
+ format: PropertyFormat.plainText,
672
676
  },
673
677
  [PropertyConfigKey.property_title]: {
674
678
  tag: PropertyTag.tag_title,
675
679
  single: true,
676
- format: PropertyFormat.trimmedString,
680
+ format: PropertyFormat.plainText,
677
681
  },
678
682
  [PropertyConfigKey.trim]: {
679
683
  tag: PropertyTag.trim,
@@ -683,47 +687,47 @@ const PROPERTIES = {
683
687
  [PropertyConfigKey.width]: {
684
688
  tag: PropertyTag.width,
685
689
  single: true,
686
- format: PropertyFormat.trimmedString,
690
+ format: PropertyFormat.plainText,
687
691
  },
688
692
  [PropertyConfigKey.height]: {
689
693
  tag: PropertyTag.height,
690
694
  single: true,
691
- format: PropertyFormat.trimmedString,
695
+ format: PropertyFormat.plainText,
692
696
  },
693
697
  [PropertyConfigKey.license]: {
694
698
  tag: PropertyTag.license,
695
699
  single: true,
696
- format: PropertyFormat.trimmedString,
700
+ format: PropertyFormat.plainText,
697
701
  },
698
702
  [PropertyConfigKey.copyright]: {
699
703
  tag: PropertyTag.copyright,
700
704
  single: true,
701
- format: PropertyFormat.trimmedString,
705
+ format: PropertyFormat.plainText,
702
706
  },
703
707
  [PropertyConfigKey.mailingList]: {
704
708
  tag: PropertyTag.mailingList,
705
709
  single: true,
706
- format: PropertyFormat.trimmedString,
710
+ format: PropertyFormat.plainText,
707
711
  },
708
712
  [PropertyConfigKey.buttonCaption]: {
709
713
  tag: PropertyTag.buttonCaption,
710
714
  single: true,
711
- format: PropertyFormat.trimmedString,
715
+ format: PropertyFormat.plainText,
712
716
  },
713
717
  [PropertyConfigKey.callToActionUrl]: {
714
718
  tag: PropertyTag.callToActionUrl,
715
719
  single: true,
716
- format: PropertyFormat.trimmedString,
720
+ format: PropertyFormat.plainText,
717
721
  },
718
722
  [PropertyConfigKey.feedbackType]: {
719
723
  tag: PropertyTag.feedbackType,
720
724
  single: true,
721
- format: PropertyFormat.trimmedString,
725
+ format: PropertyFormat.plainText,
722
726
  },
723
727
  [PropertyConfigKey.caption]: {
724
728
  tag: PropertyTag.caption,
725
729
  single: true,
726
- format: PropertyFormat.bitmarkMinusMinus,
730
+ format: PropertyFormat.bitmarkText,
727
731
  },
728
732
  [PropertyConfigKey.showInIndex]: {
729
733
  tag: PropertyTag.showInIndex,
@@ -734,7 +738,7 @@ const PROPERTIES = {
734
738
  [PropertyConfigKey.alt]: {
735
739
  tag: PropertyTag.alt,
736
740
  single: true,
737
- format: PropertyFormat.trimmedString,
741
+ format: PropertyFormat.plainText,
738
742
  },
739
743
  [PropertyConfigKey.zoomDisabled]: {
740
744
  tag: PropertyTag.zoomDisabled,
@@ -744,22 +748,22 @@ const PROPERTIES = {
744
748
  [PropertyConfigKey.src1x]: {
745
749
  tag: PropertyTag.src1x,
746
750
  single: true,
747
- format: PropertyFormat.trimmedString,
751
+ format: PropertyFormat.plainText,
748
752
  },
749
753
  [PropertyConfigKey.src2x]: {
750
754
  tag: PropertyTag.src2x,
751
755
  single: true,
752
- format: PropertyFormat.trimmedString,
756
+ format: PropertyFormat.plainText,
753
757
  },
754
758
  [PropertyConfigKey.src3x]: {
755
759
  tag: PropertyTag.src3x,
756
760
  single: true,
757
- format: PropertyFormat.trimmedString,
761
+ format: PropertyFormat.plainText,
758
762
  },
759
763
  [PropertyConfigKey.src4x]: {
760
764
  tag: PropertyTag.src4x,
761
765
  single: true,
762
- format: PropertyFormat.trimmedString,
766
+ format: PropertyFormat.plainText,
763
767
  },
764
768
  [PropertyConfigKey.mute]: {
765
769
  tag: PropertyTag.mute,
@@ -784,17 +788,17 @@ const PROPERTIES = {
784
788
  [PropertyConfigKey.siteName]: {
785
789
  tag: PropertyTag.siteName,
786
790
  single: true,
787
- format: PropertyFormat.trimmedString,
791
+ format: PropertyFormat.plainText,
788
792
  },
789
793
  [PropertyConfigKey.pointerLeft]: {
790
794
  tag: PropertyTag.pointerLeft,
791
795
  single: true,
792
- format: PropertyFormat.trimmedString,
796
+ format: PropertyFormat.plainText,
793
797
  },
794
798
  [PropertyConfigKey.pointerTop]: {
795
799
  tag: PropertyTag.pointerTop,
796
800
  single: true,
797
- format: PropertyFormat.trimmedString,
801
+ format: PropertyFormat.plainText,
798
802
  },
799
803
  [PropertyConfigKey.listItemIndent]: {
800
804
  tag: PropertyTag.listItemIndent,
@@ -805,7 +809,7 @@ const PROPERTIES = {
805
809
  [PropertyConfigKey.backgroundWallpaper]: {
806
810
  tag: PropertyTag.backgroundWallpaper,
807
811
  single: true,
808
- format: PropertyFormat.trimmedString,
812
+ format: PropertyFormat.plainText,
809
813
  },
810
814
  [PropertyConfigKey.hasBookNavigation]: {
811
815
  tag: PropertyTag.hasBookNavigation,
@@ -816,7 +820,7 @@ const PROPERTIES = {
816
820
  [PropertyConfigKey.blockId]: {
817
821
  tag: PropertyTag.blockId,
818
822
  single: true,
819
- format: PropertyFormat.trimmedString,
823
+ format: PropertyFormat.plainText,
820
824
  },
821
825
  [PropertyConfigKey.pageNo]: {
822
826
  tag: PropertyTag.pageNo,
@@ -841,17 +845,17 @@ const PROPERTIES = {
841
845
  [PropertyConfigKey.classification]: {
842
846
  tag: PropertyTag.classification,
843
847
  single: true,
844
- format: PropertyFormat.trimmedString,
848
+ format: PropertyFormat.plainText,
845
849
  },
846
850
  [PropertyConfigKey.availableClassifications]: {
847
851
  tag: PropertyTag.availableClassifications,
848
852
  single: false,
849
- format: PropertyFormat.trimmedString,
853
+ format: PropertyFormat.plainText,
850
854
  },
851
855
  [PropertyConfigKey.allowedBit]: {
852
856
  tag: PropertyTag.allowedBit,
853
857
  single: false,
854
- format: PropertyFormat.trimmedString,
858
+ format: PropertyFormat.plainText,
855
859
  },
856
860
  [PropertyConfigKey.tableFixedHeader]: {
857
861
  tag: PropertyTag.tableFixedHeader,
@@ -930,12 +934,12 @@ const PROPERTIES = {
930
934
  [PropertyConfigKey.stripePricingTableId]: {
931
935
  tag: PropertyTag.stripePricingTableId,
932
936
  single: true,
933
- format: PropertyFormat.trimmedString,
937
+ format: PropertyFormat.plainText,
934
938
  },
935
939
  [PropertyConfigKey.stripePublishableKey]: {
936
940
  tag: PropertyTag.stripePublishableKey,
937
941
  single: true,
938
- format: PropertyFormat.trimmedString,
942
+ format: PropertyFormat.plainText,
939
943
  },
940
944
  [PropertyConfigKey.ratingLevelStart]: {
941
945
  tag: PropertyTag.ratingLevelStart,
@@ -955,7 +959,7 @@ const PROPERTIES = {
955
959
  [PropertyConfigKey.label]: {
956
960
  tag: PropertyTag.label,
957
961
  single: true,
958
- format: PropertyFormat.bitmarkMinusMinus,
962
+ format: PropertyFormat.bitmarkText,
959
963
  },
960
964
  [PropertyConfigKey.imageFirst]: {
961
965
  tag: PropertyTag.imageFirst,
@@ -966,7 +970,7 @@ const PROPERTIES = {
966
970
  [PropertyConfigKey.activityType]: {
967
971
  tag: PropertyTag.activityType,
968
972
  single: true,
969
- format: PropertyFormat.trimmedString,
973
+ format: PropertyFormat.plainText,
970
974
  },
971
975
  [PropertyConfigKey.revealSolutions]: {
972
976
  tag: PropertyTag.revealSolutions,