@k-int/stripes-kint-components 3.2.2 → 3.2.4

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 (318) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/es/index.js +78 -79
  3. package/es/lib/ActionList/ActionList.js +38 -51
  4. package/es/lib/ActionList/ActionListFieldArray.js +159 -194
  5. package/es/lib/ActionList/index.js +1 -1
  6. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +59 -83
  7. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +15 -19
  8. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +124 -177
  9. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +30 -73
  10. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +93 -106
  11. package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +83 -129
  12. package/es/lib/CustomProperties/Config/CustomPropertyView.js +42 -43
  13. package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +48 -153
  14. package/es/lib/CustomProperties/Config/index.js +4 -4
  15. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +20 -23
  16. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +11 -16
  17. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +33 -32
  18. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +11 -16
  19. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +88 -111
  20. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +26 -69
  21. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +134 -134
  22. package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +95 -192
  23. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +46 -48
  24. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +23 -27
  25. package/es/lib/CustomProperties/Edit/index.js +5 -5
  26. package/es/lib/CustomProperties/Edit/testResources.js +14 -39
  27. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +64 -91
  28. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +23 -63
  29. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +53 -77
  30. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +17 -16
  31. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +34 -31
  32. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +18 -49
  33. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +19 -22
  34. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +23 -56
  35. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +44 -49
  36. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +77 -257
  37. package/es/lib/CustomProperties/Filter/index.js +6 -6
  38. package/es/lib/CustomProperties/Filter/testResources.js +13 -37
  39. package/es/lib/CustomProperties/Filter/useOperators.js +18 -18
  40. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +18 -33
  41. package/es/lib/CustomProperties/Filter/useValueProps.js +23 -29
  42. package/es/lib/CustomProperties/View/CustomPropertiesView.js +20 -23
  43. package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +11 -16
  44. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +63 -80
  45. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +14 -23
  46. package/es/lib/CustomProperties/View/CustomPropertyCard.js +25 -31
  47. package/es/lib/CustomProperties/View/index.js +3 -3
  48. package/es/lib/CustomProperties/View/testResources.js +5 -9
  49. package/es/lib/CustomProperties/index.js +18 -18
  50. package/es/lib/CycleButton/CycleButton.js +19 -35
  51. package/es/lib/CycleButton/index.js +1 -1
  52. package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +105 -164
  53. package/es/lib/EditableRefdataCategoryList/index.js +1 -1
  54. package/es/lib/EditableRefdataList/EditableRefdataList.js +119 -181
  55. package/es/lib/EditableRefdataList/index.js +1 -1
  56. package/es/lib/EditableSettingsList/EditableSettingsList.js +15 -13
  57. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +19 -26
  58. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +61 -96
  59. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +27 -41
  60. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +99 -83
  61. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +25 -30
  62. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +187 -299
  63. package/es/lib/EditableSettingsList/SettingField/SettingField.js +76 -111
  64. package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +51 -172
  65. package/es/lib/EditableSettingsList/SettingField/index.js +3 -3
  66. package/es/lib/EditableSettingsList/index.js +3 -3
  67. package/es/lib/FormModal/FormModal.js +44 -48
  68. package/es/lib/FormModal/index.js +1 -1
  69. package/es/lib/FormattedKintMessage/FormattedKintMessage.js +27 -35
  70. package/es/lib/FormattedKintMessage/index.js +1 -1
  71. package/es/lib/IconSelect/IconSelect.js +52 -77
  72. package/es/lib/IconSelect/index.js +1 -1
  73. package/es/lib/NoResultsMessage/NoResultsMessage.js +23 -23
  74. package/es/lib/NoResultsMessage/index.js +1 -1
  75. package/es/lib/QueryTypedown/QueryTypedown.js +16 -35
  76. package/es/lib/QueryTypedown/index.js +1 -1
  77. package/es/lib/RefdataButtons/RefdataButtons.js +30 -34
  78. package/es/lib/RefdataButtons/index.js +1 -1
  79. package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +77 -95
  80. package/es/lib/ResponsiveButtonGroup/index.js +1 -1
  81. package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +24 -39
  82. package/es/lib/RichSelect/RichSelect.js +78 -100
  83. package/es/lib/RichSelect/index.js +2 -2
  84. package/es/lib/RichSelect/useSelectedOption.js +5 -16
  85. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +107 -139
  86. package/es/lib/SASQLookupComponent/TableBody/TableBody.js +43 -52
  87. package/es/lib/SASQLookupComponent/TableBody/index.js +1 -1
  88. package/es/lib/SASQLookupComponent/index.js +2 -2
  89. package/es/lib/SASQRoute/SASQRoute.js +34 -41
  90. package/es/lib/SASQRoute/index.js +1 -1
  91. package/es/lib/SASQViewComponent/SASQViewComponent.js +37 -49
  92. package/es/lib/SASQViewComponent/index.js +1 -1
  93. package/es/lib/SearchField/SearchField.js +11 -18
  94. package/es/lib/SearchField/index.js +1 -1
  95. package/es/lib/SettingPage/SettingPage.js +20 -19
  96. package/es/lib/SettingPage/SettingPagePane.js +11 -10
  97. package/es/lib/SettingPage/index.js +2 -2
  98. package/es/lib/Typedown/Typedown.js +73 -98
  99. package/es/lib/Typedown/index.js +1 -1
  100. package/es/lib/constants/customProperties.js +11 -22
  101. package/es/lib/constants/eventCodes.js +3 -6
  102. package/es/lib/contexts/SettingsContext.js +2 -3
  103. package/es/lib/contexts/index.js +1 -1
  104. package/es/lib/hooks/__mocks__/index.js +9 -29
  105. package/es/lib/hooks/index.js +20 -20
  106. package/es/lib/hooks/settingsHooks/index.js +3 -3
  107. package/es/lib/hooks/settingsHooks/useAppSettings.js +22 -34
  108. package/es/lib/hooks/settingsHooks/useSettingSection.js +17 -19
  109. package/es/lib/hooks/settingsHooks/useSettings.js +58 -72
  110. package/es/lib/hooks/typedownHooks/index.js +3 -3
  111. package/es/lib/hooks/typedownHooks/useTypedown.js +49 -50
  112. package/es/lib/hooks/typedownHooks/useTypedownData.js +12 -23
  113. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +13 -22
  114. package/es/lib/hooks/useActiveElement.js +10 -20
  115. package/es/lib/hooks/useCustomProperties.js +23 -32
  116. package/es/lib/hooks/useHelperApp.js +31 -51
  117. package/es/lib/hooks/useIntlKey.js +4 -7
  118. package/es/lib/hooks/useIntlKeyStore.js +42 -51
  119. package/es/lib/hooks/useInvalidateRefdata.js +4 -7
  120. package/es/lib/hooks/useKintIntl.js +31 -41
  121. package/es/lib/hooks/useKiwtFieldArray.js +35 -47
  122. package/es/lib/hooks/useKiwtSASQuery.js +40 -51
  123. package/es/lib/hooks/useLocalStorageState.js +7 -20
  124. package/es/lib/hooks/useMutateCustomProperties.js +23 -73
  125. package/es/lib/hooks/useMutateRefdataCategory.js +22 -68
  126. package/es/lib/hooks/useMutateRefdataValue.js +31 -73
  127. package/es/lib/hooks/useQIndex.js +17 -32
  128. package/es/lib/hooks/useRefdata.js +19 -22
  129. package/es/lib/hooks/useSASQQueryMeta.js +14 -22
  130. package/es/lib/hooks/useTemplates.js +16 -16
  131. package/es/lib/utils/buildUrl.js +6 -6
  132. package/es/lib/utils/generateKiwtQuery.js +4 -7
  133. package/es/lib/utils/generateKiwtQueryParams.js +77 -96
  134. package/es/lib/utils/groupCustomPropertiesByCtx.js +9 -21
  135. package/es/lib/utils/highlightString.js +17 -37
  136. package/es/lib/utils/index.js +21 -21
  137. package/es/lib/utils/matchString.js +5 -10
  138. package/es/lib/utils/parseErrorResponse.js +22 -67
  139. package/es/lib/utils/refdataOptions.js +2 -3
  140. package/es/lib/utils/refdataQueryKey.js +3 -4
  141. package/es/lib/utils/selectorSafe.js +2 -3
  142. package/es/lib/utils/sortByLabel.js +4 -6
  143. package/es/lib/utils/toCamelCase.js +8 -14
  144. package/es/lib/utils/typedownQueryKey.js +3 -4
  145. package/es/lib/utils/validators.js +25 -32
  146. package/package.json +12 -2
  147. package/src/lib/CustomProperties/View/CustomPropertyCard.js +3 -3
  148. package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -69
  149. package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -814
  150. package/es/artifacts/coverage-jest/lcov-report/sorter.js +0 -181
  151. package/junit.xml +0 -273
  152. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +0 -364
  153. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -1426
  154. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +0 -146
  155. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +0 -88
  156. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +0 -667
  157. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +0 -1162
  158. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +0 -1474
  159. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +0 -733
  160. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +0 -176
  161. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +0 -97
  162. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +0 -793
  163. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +0 -208
  164. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +0 -352
  165. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +0 -826
  166. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +0 -1297
  167. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +0 -454
  168. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +0 -206
  169. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +0 -100
  170. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +0 -271
  171. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +0 -499
  172. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +0 -568
  173. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +0 -415
  174. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +0 -340
  175. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +0 -502
  176. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +0 -251
  177. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +0 -103
  178. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +0 -223
  179. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +0 -271
  180. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +0 -199
  181. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +0 -253
  182. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +0 -211
  183. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +0 -445
  184. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +0 -619
  185. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +0 -176
  186. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +0 -94
  187. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +0 -571
  188. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +0 -116
  189. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +0 -175
  190. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +0 -217
  191. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +0 -131
  192. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +0 -88
  193. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +0 -664
  194. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +0 -131
  195. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +0 -88
  196. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +0 -730
  197. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +0 -131
  198. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +0 -88
  199. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +0 -271
  200. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -250
  201. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -412
  202. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -313
  203. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +0 -559
  204. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +0 -161
  205. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +0 -94
  206. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +0 -146
  207. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +0 -94
  208. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +0 -379
  209. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +0 -131
  210. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +0 -88
  211. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +0 -247
  212. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +0 -131
  213. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +0 -88
  214. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +0 -508
  215. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +0 -131
  216. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +0 -88
  217. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +0 -361
  218. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +0 -131
  219. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +0 -88
  220. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +0 -190
  221. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +0 -131
  222. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +0 -88
  223. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +0 -370
  224. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +0 -131
  225. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +0 -88
  226. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +0 -571
  227. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +0 -146
  228. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +0 -88
  229. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +0 -253
  230. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +0 -718
  231. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +0 -146
  232. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +0 -91
  233. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +0 -127
  234. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +0 -1069
  235. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +0 -400
  236. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +0 -131
  237. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +0 -88
  238. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +0 -131
  239. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +0 -91
  240. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +0 -346
  241. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +0 -131
  242. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +0 -88
  243. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +0 -307
  244. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +0 -131
  245. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +0 -88
  246. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +0 -214
  247. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +0 -131
  248. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +0 -88
  249. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +0 -208
  250. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +0 -208
  251. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +0 -146
  252. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +0 -91
  253. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +0 -901
  254. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +0 -131
  255. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +0 -88
  256. package/src/artifacts/coverage-jest/lcov-report/base.css +0 -224
  257. package/src/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -87
  258. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +0 -121
  259. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +0 -94
  260. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -131
  261. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +0 -97
  262. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +0 -131
  263. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +0 -91
  264. package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
  265. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +0 -371
  266. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -139
  267. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +0 -161
  268. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +0 -94
  269. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +0 -292
  270. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -214
  271. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +0 -463
  272. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +0 -161
  273. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +0 -94
  274. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +0 -520
  275. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +0 -181
  276. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +0 -163
  277. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +0 -157
  278. package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +0 -205
  279. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +0 -325
  280. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +0 -283
  281. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +0 -151
  282. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +0 -199
  283. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +0 -118
  284. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +0 -238
  285. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +0 -274
  286. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +0 -196
  287. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +0 -136
  288. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +0 -283
  289. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +0 -274
  290. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +0 -322
  291. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +0 -208
  292. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +0 -265
  293. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +0 -187
  294. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +0 -166
  295. package/src/artifacts/coverage-jest/lcov-report/index.html +0 -581
  296. package/src/artifacts/coverage-jest/lcov-report/prettify.css +0 -1
  297. package/src/artifacts/coverage-jest/lcov-report/prettify.js +0 -2
  298. package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
  299. package/src/artifacts/coverage-jest/lcov-report/sorter.js +0 -196
  300. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +0 -193
  301. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +0 -109
  302. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +0 -631
  303. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +0 -124
  304. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +0 -211
  305. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +0 -341
  306. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -193
  307. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +0 -127
  308. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +0 -142
  309. package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +0 -280
  310. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +0 -109
  311. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +0 -112
  312. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +0 -166
  313. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +0 -103
  314. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +0 -130
  315. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +0 -127
  316. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +0 -112
  317. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -370
  318. package/src/artifacts/coverage-jest/lcov.info +0 -4957
@@ -1,814 +0,0 @@
1
- "use strict";
2
-
3
- /* eslint-disable */
4
- window.PR_SHOULD_USE_CONTINUATION = true;
5
- (function () {
6
- var h = ["break,continue,do,else,for,if,return,while"];
7
- var u = [h, "auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];
8
- var p = [u, "catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];
9
- var l = [p, "alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];
10
- var x = [p, "abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];
11
- var R = [x, "as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];
12
- var r = "all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";
13
- var w = [p, "debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];
14
- var s = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";
15
- var I = [h, "and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];
16
- var f = [h, "alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];
17
- var H = [h, "case,done,elif,esac,eval,fi,function,in,local,set,then,until"];
18
- var A = [l, R, w, s + I, f, H];
19
- var e = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;
20
- var C = "str";
21
- var z = "kwd";
22
- var j = "com";
23
- var O = "typ";
24
- var G = "lit";
25
- var L = "pun";
26
- var F = "pln";
27
- var m = "tag";
28
- var E = "dec";
29
- var J = "src";
30
- var P = "atn";
31
- var n = "atv";
32
- var N = "nocode";
33
- var M = "(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";
34
- function k(Z) {
35
- var ad = 0;
36
- var S = false;
37
- var ac = false;
38
- for (var V = 0, U = Z.length; V < U; ++V) {
39
- var ae = Z[V];
40
- if (ae.ignoreCase) {
41
- ac = true;
42
- } else {
43
- if (/[a-z]/i.test(ae.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ""))) {
44
- S = true;
45
- ac = false;
46
- break;
47
- }
48
- }
49
- }
50
- var Y = {
51
- b: 8,
52
- t: 9,
53
- n: 10,
54
- v: 11,
55
- f: 12,
56
- r: 13
57
- };
58
- function ab(ah) {
59
- var ag = ah.charCodeAt(0);
60
- if (ag !== 92) {
61
- return ag;
62
- }
63
- var af = ah.charAt(1);
64
- ag = Y[af];
65
- if (ag) {
66
- return ag;
67
- } else {
68
- if ("0" <= af && af <= "7") {
69
- return parseInt(ah.substring(1), 8);
70
- } else {
71
- if (af === "u" || af === "x") {
72
- return parseInt(ah.substring(2), 16);
73
- } else {
74
- return ah.charCodeAt(1);
75
- }
76
- }
77
- }
78
- }
79
- function T(af) {
80
- if (af < 32) {
81
- return (af < 16 ? "\\x0" : "\\x") + af.toString(16);
82
- }
83
- var ag = String.fromCharCode(af);
84
- if (ag === "\\" || ag === "-" || ag === "[" || ag === "]") {
85
- ag = "\\" + ag;
86
- }
87
- return ag;
88
- }
89
- function X(am) {
90
- var aq = am.substring(1, am.length - 1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]", "g"));
91
- var ak = [];
92
- var af = [];
93
- var ao = aq[0] === "^";
94
- for (var ar = ao ? 1 : 0, aj = aq.length; ar < aj; ++ar) {
95
- var ah = aq[ar];
96
- if (/\\[bdsw]/i.test(ah)) {
97
- ak.push(ah);
98
- } else {
99
- var ag = ab(ah);
100
- var al;
101
- if (ar + 2 < aj && "-" === aq[ar + 1]) {
102
- al = ab(aq[ar + 2]);
103
- ar += 2;
104
- } else {
105
- al = ag;
106
- }
107
- af.push([ag, al]);
108
- if (!(al < 65 || ag > 122)) {
109
- if (!(al < 65 || ag > 90)) {
110
- af.push([Math.max(65, ag) | 32, Math.min(al, 90) | 32]);
111
- }
112
- if (!(al < 97 || ag > 122)) {
113
- af.push([Math.max(97, ag) & ~32, Math.min(al, 122) & ~32]);
114
- }
115
- }
116
- }
117
- }
118
- af.sort(function (av, au) {
119
- return av[0] - au[0] || au[1] - av[1];
120
- });
121
- var ai = [];
122
- var ap = [NaN, NaN];
123
- for (var ar = 0; ar < af.length; ++ar) {
124
- var at = af[ar];
125
- if (at[0] <= ap[1] + 1) {
126
- ap[1] = Math.max(ap[1], at[1]);
127
- } else {
128
- ai.push(ap = at);
129
- }
130
- }
131
- var an = ["["];
132
- if (ao) {
133
- an.push("^");
134
- }
135
- an.push.apply(an, ak);
136
- for (var ar = 0; ar < ai.length; ++ar) {
137
- var at = ai[ar];
138
- an.push(T(at[0]));
139
- if (at[1] > at[0]) {
140
- if (at[1] + 1 > at[0]) {
141
- an.push("-");
142
- }
143
- an.push(T(at[1]));
144
- }
145
- }
146
- an.push("]");
147
- return an.join("");
148
- }
149
- function W(al) {
150
- var aj = al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)", "g"));
151
- var ah = aj.length;
152
- var an = [];
153
- for (var ak = 0, am = 0; ak < ah; ++ak) {
154
- var ag = aj[ak];
155
- if (ag === "(") {
156
- ++am;
157
- } else {
158
- if ("\\" === ag.charAt(0)) {
159
- var af = +ag.substring(1);
160
- if (af && af <= am) {
161
- an[af] = -1;
162
- }
163
- }
164
- }
165
- }
166
- for (var ak = 1; ak < an.length; ++ak) {
167
- if (-1 === an[ak]) {
168
- an[ak] = ++ad;
169
- }
170
- }
171
- for (var ak = 0, am = 0; ak < ah; ++ak) {
172
- var ag = aj[ak];
173
- if (ag === "(") {
174
- ++am;
175
- if (an[am] === undefined) {
176
- aj[ak] = "(?:";
177
- }
178
- } else {
179
- if ("\\" === ag.charAt(0)) {
180
- var af = +ag.substring(1);
181
- if (af && af <= am) {
182
- aj[ak] = "\\" + an[am];
183
- }
184
- }
185
- }
186
- }
187
- for (var ak = 0, am = 0; ak < ah; ++ak) {
188
- if ("^" === aj[ak] && "^" !== aj[ak + 1]) {
189
- aj[ak] = "";
190
- }
191
- }
192
- if (al.ignoreCase && S) {
193
- for (var ak = 0; ak < ah; ++ak) {
194
- var ag = aj[ak];
195
- var ai = ag.charAt(0);
196
- if (ag.length >= 2 && ai === "[") {
197
- aj[ak] = X(ag);
198
- } else {
199
- if (ai !== "\\") {
200
- aj[ak] = ag.replace(/[a-zA-Z]/g, function (ao) {
201
- var ap = ao.charCodeAt(0);
202
- return "[" + String.fromCharCode(ap & ~32, ap | 32) + "]";
203
- });
204
- }
205
- }
206
- }
207
- }
208
- return aj.join("");
209
- }
210
- var aa = [];
211
- for (var V = 0, U = Z.length; V < U; ++V) {
212
- var ae = Z[V];
213
- if (ae.global || ae.multiline) {
214
- throw new Error("" + ae);
215
- }
216
- aa.push("(?:" + W(ae) + ")");
217
- }
218
- return new RegExp(aa.join("|"), ac ? "gi" : "g");
219
- }
220
- function a(V) {
221
- var U = /(?:^|\s)nocode(?:\s|$)/;
222
- var X = [];
223
- var T = 0;
224
- var Z = [];
225
- var W = 0;
226
- var S;
227
- if (V.currentStyle) {
228
- S = V.currentStyle.whiteSpace;
229
- } else {
230
- if (window.getComputedStyle) {
231
- S = document.defaultView.getComputedStyle(V, null).getPropertyValue("white-space");
232
- }
233
- }
234
- var Y = S && "pre" === S.substring(0, 3);
235
- function aa(ab) {
236
- switch (ab.nodeType) {
237
- case 1:
238
- if (U.test(ab.className)) {
239
- return;
240
- }
241
- for (var ae = ab.firstChild; ae; ae = ae.nextSibling) {
242
- aa(ae);
243
- }
244
- var ad = ab.nodeName;
245
- if ("BR" === ad || "LI" === ad) {
246
- X[W] = "\n";
247
- Z[W << 1] = T++;
248
- Z[W++ << 1 | 1] = ab;
249
- }
250
- break;
251
- case 3:
252
- case 4:
253
- var ac = ab.nodeValue;
254
- if (ac.length) {
255
- if (!Y) {
256
- ac = ac.replace(/[ \t\r\n]+/g, " ");
257
- } else {
258
- ac = ac.replace(/\r\n?/g, "\n");
259
- }
260
- X[W] = ac;
261
- Z[W << 1] = T;
262
- T += ac.length;
263
- Z[W++ << 1 | 1] = ab;
264
- }
265
- break;
266
- }
267
- }
268
- aa(V);
269
- return {
270
- sourceCode: X.join("").replace(/\n$/, ""),
271
- spans: Z
272
- };
273
- }
274
- function B(S, U, W, T) {
275
- if (!U) {
276
- return;
277
- }
278
- var V = {
279
- sourceCode: U,
280
- basePos: S
281
- };
282
- W(V);
283
- T.push.apply(T, V.decorations);
284
- }
285
- var v = /\S/;
286
- function o(S) {
287
- var V = undefined;
288
- for (var U = S.firstChild; U; U = U.nextSibling) {
289
- var T = U.nodeType;
290
- V = T === 1 ? V ? S : U : T === 3 ? v.test(U.nodeValue) ? S : V : V;
291
- }
292
- return V === S ? undefined : V;
293
- }
294
- function g(U, T) {
295
- var S = {};
296
- var V;
297
- (function () {
298
- var ad = U.concat(T);
299
- var ah = [];
300
- var ag = {};
301
- for (var ab = 0, Z = ad.length; ab < Z; ++ab) {
302
- var Y = ad[ab];
303
- var ac = Y[3];
304
- if (ac) {
305
- for (var ae = ac.length; --ae >= 0;) {
306
- S[ac.charAt(ae)] = Y;
307
- }
308
- }
309
- var af = Y[1];
310
- var aa = "" + af;
311
- if (!ag.hasOwnProperty(aa)) {
312
- ah.push(af);
313
- ag[aa] = null;
314
- }
315
- }
316
- ah.push(/[\0-\uffff]/);
317
- V = k(ah);
318
- })();
319
- var X = T.length;
320
- var W = function W(ah) {
321
- var Z = ah.sourceCode,
322
- Y = ah.basePos;
323
- var ad = [Y, F];
324
- var af = 0;
325
- var an = Z.match(V) || [];
326
- var aj = {};
327
- for (var ae = 0, aq = an.length; ae < aq; ++ae) {
328
- var ag = an[ae];
329
- var ap = aj[ag];
330
- var ai = void 0;
331
- var am;
332
- if (typeof ap === "string") {
333
- am = false;
334
- } else {
335
- var aa = S[ag.charAt(0)];
336
- if (aa) {
337
- ai = ag.match(aa[1]);
338
- ap = aa[0];
339
- } else {
340
- for (var ao = 0; ao < X; ++ao) {
341
- aa = T[ao];
342
- ai = ag.match(aa[1]);
343
- if (ai) {
344
- ap = aa[0];
345
- break;
346
- }
347
- }
348
- if (!ai) {
349
- ap = F;
350
- }
351
- }
352
- am = ap.length >= 5 && "lang-" === ap.substring(0, 5);
353
- if (am && !(ai && typeof ai[1] === "string")) {
354
- am = false;
355
- ap = J;
356
- }
357
- if (!am) {
358
- aj[ag] = ap;
359
- }
360
- }
361
- var ab = af;
362
- af += ag.length;
363
- if (!am) {
364
- ad.push(Y + ab, ap);
365
- } else {
366
- var al = ai[1];
367
- var ak = ag.indexOf(al);
368
- var ac = ak + al.length;
369
- if (ai[2]) {
370
- ac = ag.length - ai[2].length;
371
- ak = ac - al.length;
372
- }
373
- var ar = ap.substring(5);
374
- B(Y + ab, ag.substring(0, ak), W, ad);
375
- B(Y + ab + ak, al, q(ar, al), ad);
376
- B(Y + ab + ac, ag.substring(ac), W, ad);
377
- }
378
- }
379
- ah.decorations = ad;
380
- };
381
- return W;
382
- }
383
- function i(T) {
384
- var W = [],
385
- S = [];
386
- if (T.tripleQuotedStrings) {
387
- W.push([C, /^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/, null, "'\""]);
388
- } else {
389
- if (T.multiLineStrings) {
390
- W.push([C, /^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/, null, "'\"`"]);
391
- } else {
392
- W.push([C, /^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/, null, "\"'"]);
393
- }
394
- }
395
- if (T.verbatimStrings) {
396
- S.push([C, /^@\"(?:[^\"]|\"\")*(?:\"|$)/, null]);
397
- }
398
- var Y = T.hashComments;
399
- if (Y) {
400
- if (T.cStyleComments) {
401
- if (Y > 1) {
402
- W.push([j, /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/, null, "#"]);
403
- } else {
404
- W.push([j, /^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/, null, "#"]);
405
- }
406
- S.push([C, /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/, null]);
407
- } else {
408
- W.push([j, /^#[^\r\n]*/, null, "#"]);
409
- }
410
- }
411
- if (T.cStyleComments) {
412
- S.push([j, /^\/\/[^\r\n]*/, null]);
413
- S.push([j, /^\/\*[\s\S]*?(?:\*\/|$)/, null]);
414
- }
415
- if (T.regexLiterals) {
416
- var X = "/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/";
417
- S.push(["lang-regex", new RegExp("^" + M + "(" + X + ")")]);
418
- }
419
- var V = T.types;
420
- if (V) {
421
- S.push([O, V]);
422
- }
423
- var U = ("" + T.keywords).replace(/^ | $/g, "");
424
- if (U.length) {
425
- S.push([z, new RegExp("^(?:" + U.replace(/[\s,]+/g, "|") + ")\\b"), null]);
426
- }
427
- W.push([F, /^\s+/, null, " \r\n\t\xA0"]);
428
- S.push([G, /^@[a-z_$][a-z_$@0-9]*/i, null], [O, /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/, null], [F, /^[a-z_$][a-z_$@0-9]*/i, null], [G, new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*", "i"), null, "0123456789"], [F, /^\\[\s\S]?/, null], [L, /^.[^\s\w\.$@\'\"\`\/\#\\]*/, null]);
429
- return g(W, S);
430
- }
431
- var K = i({
432
- keywords: A,
433
- hashComments: true,
434
- cStyleComments: true,
435
- multiLineStrings: true,
436
- regexLiterals: true
437
- });
438
- function Q(V, ag) {
439
- var U = /(?:^|\s)nocode(?:\s|$)/;
440
- var ab = /\r\n?|\n/;
441
- var ac = V.ownerDocument;
442
- var S;
443
- if (V.currentStyle) {
444
- S = V.currentStyle.whiteSpace;
445
- } else {
446
- if (window.getComputedStyle) {
447
- S = ac.defaultView.getComputedStyle(V, null).getPropertyValue("white-space");
448
- }
449
- }
450
- var Z = S && "pre" === S.substring(0, 3);
451
- var af = ac.createElement("LI");
452
- while (V.firstChild) {
453
- af.appendChild(V.firstChild);
454
- }
455
- var W = [af];
456
- function ae(al) {
457
- switch (al.nodeType) {
458
- case 1:
459
- if (U.test(al.className)) {
460
- break;
461
- }
462
- if ("BR" === al.nodeName) {
463
- ad(al);
464
- if (al.parentNode) {
465
- al.parentNode.removeChild(al);
466
- }
467
- } else {
468
- for (var an = al.firstChild; an; an = an.nextSibling) {
469
- ae(an);
470
- }
471
- }
472
- break;
473
- case 3:
474
- case 4:
475
- if (Z) {
476
- var am = al.nodeValue;
477
- var aj = am.match(ab);
478
- if (aj) {
479
- var ai = am.substring(0, aj.index);
480
- al.nodeValue = ai;
481
- var ah = am.substring(aj.index + aj[0].length);
482
- if (ah) {
483
- var ak = al.parentNode;
484
- ak.insertBefore(ac.createTextNode(ah), al.nextSibling);
485
- }
486
- ad(al);
487
- if (!ai) {
488
- al.parentNode.removeChild(al);
489
- }
490
- }
491
- }
492
- break;
493
- }
494
- }
495
- function ad(ak) {
496
- while (!ak.nextSibling) {
497
- ak = ak.parentNode;
498
- if (!ak) {
499
- return;
500
- }
501
- }
502
- function ai(al, ar) {
503
- var aq = ar ? al.cloneNode(false) : al;
504
- var ao = al.parentNode;
505
- if (ao) {
506
- var ap = ai(ao, 1);
507
- var an = al.nextSibling;
508
- ap.appendChild(aq);
509
- for (var am = an; am; am = an) {
510
- an = am.nextSibling;
511
- ap.appendChild(am);
512
- }
513
- }
514
- return aq;
515
- }
516
- var ah = ai(ak.nextSibling, 0);
517
- for (var aj; (aj = ah.parentNode) && aj.nodeType === 1;) {
518
- ah = aj;
519
- }
520
- W.push(ah);
521
- }
522
- for (var Y = 0; Y < W.length; ++Y) {
523
- ae(W[Y]);
524
- }
525
- if (ag === (ag | 0)) {
526
- W[0].setAttribute("value", ag);
527
- }
528
- var aa = ac.createElement("OL");
529
- aa.className = "linenums";
530
- var X = Math.max(0, ag - 1 | 0) || 0;
531
- for (var Y = 0, T = W.length; Y < T; ++Y) {
532
- af = W[Y];
533
- af.className = "L" + (Y + X) % 10;
534
- if (!af.firstChild) {
535
- af.appendChild(ac.createTextNode("\xA0"));
536
- }
537
- aa.appendChild(af);
538
- }
539
- V.appendChild(aa);
540
- }
541
- function D(ac) {
542
- var aj = /\bMSIE\b/.test(navigator.userAgent);
543
- var am = /\n/g;
544
- var al = ac.sourceCode;
545
- var an = al.length;
546
- var V = 0;
547
- var aa = ac.spans;
548
- var T = aa.length;
549
- var ah = 0;
550
- var X = ac.decorations;
551
- var Y = X.length;
552
- var Z = 0;
553
- X[Y] = an;
554
- var ar, aq;
555
- for (aq = ar = 0; aq < Y;) {
556
- if (X[aq] !== X[aq + 2]) {
557
- X[ar++] = X[aq++];
558
- X[ar++] = X[aq++];
559
- } else {
560
- aq += 2;
561
- }
562
- }
563
- Y = ar;
564
- for (aq = ar = 0; aq < Y;) {
565
- var at = X[aq];
566
- var ab = X[aq + 1];
567
- var W = aq + 2;
568
- while (W + 2 <= Y && X[W + 1] === ab) {
569
- W += 2;
570
- }
571
- X[ar++] = at;
572
- X[ar++] = ab;
573
- aq = W;
574
- }
575
- Y = X.length = ar;
576
- var ae = null;
577
- while (ah < T) {
578
- var af = aa[ah];
579
- var S = aa[ah + 2] || an;
580
- var ag = X[Z];
581
- var ap = X[Z + 2] || an;
582
- var W = Math.min(S, ap);
583
- var ak = aa[ah + 1];
584
- var U;
585
- if (ak.nodeType !== 1 && (U = al.substring(V, W))) {
586
- if (aj) {
587
- U = U.replace(am, "\r");
588
- }
589
- ak.nodeValue = U;
590
- var ai = ak.ownerDocument;
591
- var ao = ai.createElement("SPAN");
592
- ao.className = X[Z + 1];
593
- var ad = ak.parentNode;
594
- ad.replaceChild(ao, ak);
595
- ao.appendChild(ak);
596
- if (V < S) {
597
- aa[ah + 1] = ak = ai.createTextNode(al.substring(W, S));
598
- ad.insertBefore(ak, ao.nextSibling);
599
- }
600
- }
601
- V = W;
602
- if (V >= S) {
603
- ah += 2;
604
- }
605
- if (V >= ap) {
606
- Z += 2;
607
- }
608
- }
609
- }
610
- var t = {};
611
- function c(U, V) {
612
- for (var S = V.length; --S >= 0;) {
613
- var T = V[S];
614
- if (!t.hasOwnProperty(T)) {
615
- t[T] = U;
616
- } else {
617
- if (window.console) {
618
- console.warn("cannot override language handler %s", T);
619
- }
620
- }
621
- }
622
- }
623
- function q(T, S) {
624
- if (!(T && t.hasOwnProperty(T))) {
625
- T = /^\s*</.test(S) ? "default-markup" : "default-code";
626
- }
627
- return t[T];
628
- }
629
- c(K, ["default-code"]);
630
- c(g([], [[F, /^[^<?]+/], [E, /^<!\w[^>]*(?:>|$)/], [j, /^<\!--[\s\S]*?(?:-\->|$)/], ["lang-", /^<\?([\s\S]+?)(?:\?>|$)/], ["lang-", /^<%([\s\S]+?)(?:%>|$)/], [L, /^(?:<[%?]|[%?]>)/], ["lang-", /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i], ["lang-js", /^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-css", /^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i], ["lang-in.tag", /^(<\/?[a-z][^<>]*>)/i]]), ["default-markup", "htm", "html", "mxml", "xhtml", "xml", "xsl"]);
631
- c(g([[F, /^[\s]+/, null, " \t\r\n"], [n, /^(?:\"[^\"]*\"?|\'[^\']*\'?)/, null, "\"'"]], [[m, /^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i], [P, /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i], ["lang-uq.val", /^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/], [L, /^[=<>\/]+/], ["lang-js", /^on\w+\s*=\s*\"([^\"]+)\"/i], ["lang-js", /^on\w+\s*=\s*\'([^\']+)\'/i], ["lang-js", /^on\w+\s*=\s*([^\"\'>\s]+)/i], ["lang-css", /^style\s*=\s*\"([^\"]+)\"/i], ["lang-css", /^style\s*=\s*\'([^\']+)\'/i], ["lang-css", /^style\s*=\s*([^\"\'>\s]+)/i]]), ["in.tag"]);
632
- c(g([], [[n, /^[\s\S]+/]]), ["uq.val"]);
633
- c(i({
634
- keywords: l,
635
- hashComments: true,
636
- cStyleComments: true,
637
- types: e
638
- }), ["c", "cc", "cpp", "cxx", "cyc", "m"]);
639
- c(i({
640
- keywords: "null,true,false"
641
- }), ["json"]);
642
- c(i({
643
- keywords: R,
644
- hashComments: true,
645
- cStyleComments: true,
646
- verbatimStrings: true,
647
- types: e
648
- }), ["cs"]);
649
- c(i({
650
- keywords: x,
651
- cStyleComments: true
652
- }), ["java"]);
653
- c(i({
654
- keywords: H,
655
- hashComments: true,
656
- multiLineStrings: true
657
- }), ["bsh", "csh", "sh"]);
658
- c(i({
659
- keywords: I,
660
- hashComments: true,
661
- multiLineStrings: true,
662
- tripleQuotedStrings: true
663
- }), ["cv", "py"]);
664
- c(i({
665
- keywords: s,
666
- hashComments: true,
667
- multiLineStrings: true,
668
- regexLiterals: true
669
- }), ["perl", "pl", "pm"]);
670
- c(i({
671
- keywords: f,
672
- hashComments: true,
673
- multiLineStrings: true,
674
- regexLiterals: true
675
- }), ["rb"]);
676
- c(i({
677
- keywords: w,
678
- cStyleComments: true,
679
- regexLiterals: true
680
- }), ["js"]);
681
- c(i({
682
- keywords: r,
683
- hashComments: 3,
684
- cStyleComments: true,
685
- multilineStrings: true,
686
- tripleQuotedStrings: true,
687
- regexLiterals: true
688
- }), ["coffee"]);
689
- c(g([], [[C, /^[\s\S]+/]]), ["regex"]);
690
- function d(V) {
691
- var U = V.langExtension;
692
- try {
693
- var S = a(V.sourceNode);
694
- var T = S.sourceCode;
695
- V.sourceCode = T;
696
- V.spans = S.spans;
697
- V.basePos = 0;
698
- q(U, T)(V);
699
- D(V);
700
- } catch (W) {
701
- if ("console" in window) {
702
- console.log(W && W.stack ? W.stack : W);
703
- }
704
- }
705
- }
706
- function y(W, V, U) {
707
- var S = document.createElement("PRE");
708
- S.innerHTML = W;
709
- if (U) {
710
- Q(S, U);
711
- }
712
- var T = {
713
- langExtension: V,
714
- numberLines: U,
715
- sourceNode: S
716
- };
717
- d(T);
718
- return S.innerHTML;
719
- }
720
- function b(ad) {
721
- function Y(af) {
722
- return document.getElementsByTagName(af);
723
- }
724
- var ac = [Y("pre"), Y("code"), Y("xmp")];
725
- var T = [];
726
- for (var aa = 0; aa < ac.length; ++aa) {
727
- for (var Z = 0, V = ac[aa].length; Z < V; ++Z) {
728
- T.push(ac[aa][Z]);
729
- }
730
- }
731
- ac = null;
732
- var W = Date;
733
- if (!W.now) {
734
- W = {
735
- now: function now() {
736
- return +new Date();
737
- }
738
- };
739
- }
740
- var X = 0;
741
- var S;
742
- var ab = /\blang(?:uage)?-([\w.]+)(?!\S)/;
743
- var ae = /\bprettyprint\b/;
744
- function U() {
745
- var ag = window.PR_SHOULD_USE_CONTINUATION ? W.now() + 250 : Infinity;
746
- for (; X < T.length && W.now() < ag; X++) {
747
- var aj = T[X];
748
- var ai = aj.className;
749
- if (ai.indexOf("prettyprint") >= 0) {
750
- var ah = ai.match(ab);
751
- var am;
752
- if (!ah && (am = o(aj)) && "CODE" === am.tagName) {
753
- ah = am.className.match(ab);
754
- }
755
- if (ah) {
756
- ah = ah[1];
757
- }
758
- var al = false;
759
- for (var ak = aj.parentNode; ak; ak = ak.parentNode) {
760
- if ((ak.tagName === "pre" || ak.tagName === "code" || ak.tagName === "xmp") && ak.className && ak.className.indexOf("prettyprint") >= 0) {
761
- al = true;
762
- break;
763
- }
764
- }
765
- if (!al) {
766
- var af = aj.className.match(/\blinenums\b(?::(\d+))?/);
767
- af = af ? af[1] && af[1].length ? +af[1] : true : false;
768
- if (af) {
769
- Q(aj, af);
770
- }
771
- S = {
772
- langExtension: ah,
773
- sourceNode: aj,
774
- numberLines: af
775
- };
776
- d(S);
777
- }
778
- }
779
- }
780
- if (X < T.length) {
781
- setTimeout(U, 250);
782
- } else {
783
- if (ad) {
784
- ad();
785
- }
786
- }
787
- }
788
- U();
789
- }
790
- window.prettyPrintOne = y;
791
- window.prettyPrint = b;
792
- window.PR = {
793
- createSimpleLexer: g,
794
- registerLangHandler: c,
795
- sourceDecorator: i,
796
- PR_ATTRIB_NAME: P,
797
- PR_ATTRIB_VALUE: n,
798
- PR_COMMENT: j,
799
- PR_DECLARATION: E,
800
- PR_KEYWORD: z,
801
- PR_LITERAL: G,
802
- PR_NOCODE: N,
803
- PR_PLAIN: F,
804
- PR_PUNCTUATION: L,
805
- PR_SOURCE: J,
806
- PR_STRING: C,
807
- PR_TAG: m,
808
- PR_TYPE: O
809
- };
810
- })();
811
- PR.registerLangHandler(PR.createSimpleLexer([], [[PR.PR_DECLARATION, /^<!\w[^>]*(?:>|$)/], [PR.PR_COMMENT, /^<\!--[\s\S]*?(?:-\->|$)/], [PR.PR_PUNCTUATION, /^(?:<[%?]|[%?]>)/], ["lang-", /^<\?([\s\S]+?)(?:\?>|$)/], ["lang-", /^<%([\s\S]+?)(?:%>|$)/], ["lang-", /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i], ["lang-handlebars", /^<script\b[^>]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-js", /^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-css", /^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i], ["lang-in.tag", /^(<\/?[a-z][^<>]*>)/i], [PR.PR_DECLARATION, /^{{[#^>/]?\s*[\w.][^}]*}}/], [PR.PR_DECLARATION, /^{{&?\s*[\w.][^}]*}}/], [PR.PR_DECLARATION, /^{{{>?\s*[\w.][^}]*}}}/], [PR.PR_COMMENT, /^{{![^}]*}}/]]), ["handlebars", "hbs"]);
812
- PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN, /^[ \t\r\n\f]+/, null, " \t\r\n\f"]], [[PR.PR_STRING, /^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/, null], [PR.PR_STRING, /^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/, null], ["lang-css-str", /^url\(([^\)\"\']*)\)/i], [PR.PR_KEYWORD, /^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i, null], ["lang-css-kw", /^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i], [PR.PR_COMMENT, /^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//], [PR.PR_COMMENT, /^(?:<!--|-->)/], [PR.PR_LITERAL, /^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i], [PR.PR_LITERAL, /^#(?:[0-9a-f]{3}){1,2}/i], [PR.PR_PLAIN, /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i], [PR.PR_PUNCTUATION, /^[^\s\w\'\"]+/]]), ["css"]);
813
- PR.registerLangHandler(PR.createSimpleLexer([], [[PR.PR_KEYWORD, /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]), ["css-kw"]);
814
- PR.registerLangHandler(PR.createSimpleLexer([], [[PR.PR_STRING, /^[^\)\"\']+/]]), ["css-str"]);