@sparrowengg/integrations-templates-frontend 1.2.5 → 1.2.6

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 (366) hide show
  1. package/dist/cjs/_virtual/index10.js +2 -2
  2. package/dist/cjs/_virtual/index7.js +2 -2
  3. package/dist/cjs/authentication/constants/index.js +10 -0
  4. package/dist/cjs/authentication/constants/index.js.map +1 -0
  5. package/dist/cjs/authentication/index.js +40 -47
  6. package/dist/cjs/authentication/index.js.map +1 -1
  7. package/dist/cjs/commons/components/theme-wrapper.js +24 -0
  8. package/dist/cjs/commons/components/theme-wrapper.js.map +1 -0
  9. package/dist/cjs/contact-import/components/contact-import-mapping.js +6 -4
  10. package/dist/cjs/contact-import/components/contact-import-mapping.js.map +1 -1
  11. package/dist/cjs/contact-import/index.js +34 -52
  12. package/dist/cjs/contact-import/index.js.map +1 -1
  13. package/dist/cjs/integration-template/index.js +1 -1
  14. package/dist/cjs/integration-template/index.js.map +1 -1
  15. package/dist/cjs/mapping/components/custom-date-menu.js +2 -2
  16. package/dist/cjs/mapping/components/custom-date-menu.js.map +1 -1
  17. package/dist/cjs/node_modules/@internationalized/date/dist/CalendarDate.js +156 -0
  18. package/dist/cjs/node_modules/@internationalized/date/dist/CalendarDate.js.map +1 -0
  19. package/dist/cjs/node_modules/@internationalized/date/dist/GregorianCalendar.js +139 -0
  20. package/dist/cjs/node_modules/@internationalized/date/dist/GregorianCalendar.js.map +1 -0
  21. package/dist/cjs/node_modules/@internationalized/date/dist/conversion.js +159 -0
  22. package/dist/cjs/node_modules/@internationalized/date/dist/conversion.js.map +1 -0
  23. package/dist/cjs/node_modules/@internationalized/date/dist/manipulation.js +229 -0
  24. package/dist/cjs/node_modules/@internationalized/date/dist/manipulation.js.map +1 -0
  25. package/dist/cjs/node_modules/@internationalized/date/dist/queries.js +22 -0
  26. package/dist/cjs/node_modules/@internationalized/date/dist/queries.js.map +1 -0
  27. package/dist/cjs/node_modules/@internationalized/date/dist/string.js +36 -0
  28. package/dist/cjs/node_modules/@internationalized/date/dist/string.js.map +1 -0
  29. package/dist/cjs/node_modules/@internationalized/date/dist/utils.js +19 -0
  30. package/dist/cjs/node_modules/@internationalized/date/dist/utils.js.map +1 -0
  31. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js.map +1 -1
  32. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/checkbox/checkbox.js.map +1 -1
  33. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/dialog/dialog.js.map +1 -1
  34. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/dropdown/dropdown.js +18 -18
  35. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/dropdown/dropdown.js.map +1 -1
  36. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/form-label/form-label.js +2 -2
  37. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/form-label/form-label.js.map +1 -1
  38. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/primitive/dist/index.js +9 -6
  39. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -1
  40. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +40 -15
  41. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -1
  42. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-checkbox/dist/index.js +156 -138
  43. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -1
  44. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +60 -85
  45. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -1
  46. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +32 -21
  47. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -1
  48. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-context/dist/index.js +91 -92
  49. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -1
  50. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +326 -247
  51. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -1
  52. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +26 -5
  53. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -1
  54. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +201 -207
  55. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
  56. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +303 -0
  57. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  58. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +40 -24
  59. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -1
  60. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +205 -258
  61. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -1
  62. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-id/dist/index.js +23 -26
  63. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -1
  64. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-label/dist/index.js +47 -0
  65. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  66. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +847 -0
  67. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  68. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popover/dist/index.js +298 -255
  69. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -1
  70. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +279 -265
  71. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
  72. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +31 -9
  73. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  74. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +125 -116
  75. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -1
  76. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +54 -80
  77. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  78. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-radio-group/dist/index.js +273 -225
  79. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -1
  80. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +211 -208
  81. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -1
  82. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +88 -69
  83. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
  84. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-switch/dist/index.js +140 -111
  85. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -1
  86. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tabs/dist/index.js +186 -137
  87. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -1
  88. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +480 -526
  89. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -1
  90. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +27 -14
  91. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -1
  92. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +58 -40
  93. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -1
  94. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +32 -16
  95. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -1
  96. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +24 -9
  97. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -1
  98. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-previous/dist/index.js +30 -17
  99. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -1
  100. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +54 -46
  101. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -1
  102. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +48 -20
  103. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -1
  104. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +2 -2
  105. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -1
  106. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +15 -4
  107. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -1
  108. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +2 -2
  109. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -1
  110. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +12 -4
  111. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -1
  112. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +26 -4
  113. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -1
  114. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/popover/popover.js.map +1 -1
  115. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/radio/radio.js +25 -5
  116. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/radio/radio.js.map +1 -1
  117. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/switch/switch.js.map +1 -1
  118. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/table/table.js +14 -9
  119. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/table/table.js.map +1 -1
  120. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/tabs/tabs.js.map +1 -1
  121. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/theme-provider/theme-provider.js +12 -4
  122. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/theme-provider/theme-provider.js.map +1 -1
  123. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/tooltip/tooltip.js +2 -2
  124. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/tooltip/tooltip.js.map +1 -1
  125. package/dist/cjs/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -1
  126. package/dist/cjs/node_modules/@swc/helpers/esm/_check_private_redeclaration.js.map +1 -1
  127. package/dist/cjs/node_modules/@swc/helpers/esm/_class_private_field_init.js +1 -2
  128. package/dist/cjs/node_modules/@swc/helpers/esm/_class_private_field_init.js.map +1 -1
  129. package/dist/cjs/node_modules/domhandler/lib/index.js +176 -0
  130. package/dist/cjs/node_modules/domhandler/lib/index.js.map +1 -0
  131. package/dist/cjs/node_modules/domhandler/lib/node.js +485 -0
  132. package/dist/cjs/node_modules/domhandler/lib/node.js.map +1 -0
  133. package/dist/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
  134. package/dist/cjs/node_modules/html-dom-parser/lib/server/html-to-dom.js +3 -3
  135. package/dist/cjs/node_modules/html-react-parser/lib/index.js +1 -1
  136. package/dist/cjs/node_modules/htmlparser2/lib/Parser.js +531 -0
  137. package/dist/cjs/node_modules/htmlparser2/lib/Parser.js.map +1 -0
  138. package/dist/cjs/node_modules/htmlparser2/lib/Tokenizer.js +789 -0
  139. package/dist/cjs/node_modules/htmlparser2/lib/Tokenizer.js.map +1 -0
  140. package/dist/cjs/node_modules/htmlparser2/lib/index.js +131 -0
  141. package/dist/cjs/node_modules/htmlparser2/lib/index.js.map +1 -0
  142. package/dist/cjs/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js +111 -0
  143. package/dist/cjs/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
  144. package/dist/cjs/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js +240 -0
  145. package/dist/cjs/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js.map +1 -0
  146. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js +202 -0
  147. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js.map +1 -0
  148. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +150 -0
  149. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js.map +1 -0
  150. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/index.js +56 -0
  151. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/index.js.map +1 -0
  152. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +164 -0
  153. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js.map +1 -0
  154. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +150 -0
  155. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js.map +1 -0
  156. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +168 -0
  157. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/querying.js.map +1 -0
  158. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +106 -0
  159. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js.map +1 -0
  160. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +135 -0
  161. package/dist/cjs/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js.map +1 -0
  162. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/decode.js +549 -0
  163. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/decode.js.map +1 -0
  164. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js +82 -0
  165. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  166. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/encode.js +89 -0
  167. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/encode.js.map +1 -0
  168. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/escape.js +128 -0
  169. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/escape.js.map +1 -0
  170. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js +12 -0
  171. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  172. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js +12 -0
  173. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  174. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js +15 -0
  175. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  176. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/index.js +138 -0
  177. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/lib/index.js.map +1 -0
  178. package/dist/cjs/node_modules/react-is/index.js +1 -1
  179. package/dist/cjs/node_modules/style-to-js/cjs/index.js +1 -1
  180. package/dist/cjs/node_modules/style-to-object/cjs/index.js +1 -1
  181. package/dist/es/_virtual/index10.js +2 -2
  182. package/dist/es/_virtual/index7.js +2 -2
  183. package/dist/es/authentication/constants/index.js +8 -0
  184. package/dist/es/authentication/constants/index.js.map +1 -0
  185. package/dist/es/authentication/index.js +40 -47
  186. package/dist/es/authentication/index.js.map +1 -1
  187. package/dist/es/commons/components/theme-wrapper.js +20 -0
  188. package/dist/es/commons/components/theme-wrapper.js.map +1 -0
  189. package/dist/es/contact-import/components/contact-import-mapping.js +6 -4
  190. package/dist/es/contact-import/components/contact-import-mapping.js.map +1 -1
  191. package/dist/es/contact-import/index.js +34 -52
  192. package/dist/es/contact-import/index.js.map +1 -1
  193. package/dist/es/integration-template/index.js +1 -1
  194. package/dist/es/integration-template/index.js.map +1 -1
  195. package/dist/es/mapping/components/custom-date-menu.js +1 -1
  196. package/dist/es/node_modules/@internationalized/date/dist/CalendarDate.js +153 -0
  197. package/dist/es/node_modules/@internationalized/date/dist/CalendarDate.js.map +1 -0
  198. package/dist/es/node_modules/@internationalized/date/dist/GregorianCalendar.js +133 -0
  199. package/dist/es/node_modules/@internationalized/date/dist/GregorianCalendar.js.map +1 -0
  200. package/dist/es/node_modules/@internationalized/date/dist/conversion.js +152 -0
  201. package/dist/es/node_modules/@internationalized/date/dist/conversion.js.map +1 -0
  202. package/dist/es/node_modules/@internationalized/date/dist/manipulation.js +219 -0
  203. package/dist/es/node_modules/@internationalized/date/dist/manipulation.js.map +1 -0
  204. package/dist/es/node_modules/@internationalized/date/dist/queries.js +18 -0
  205. package/dist/es/node_modules/@internationalized/date/dist/queries.js.map +1 -0
  206. package/dist/es/node_modules/@internationalized/date/dist/string.js +31 -0
  207. package/dist/es/node_modules/@internationalized/date/dist/string.js.map +1 -0
  208. package/dist/es/node_modules/@internationalized/date/dist/utils.js +17 -0
  209. package/dist/es/node_modules/@internationalized/date/dist/utils.js.map +1 -0
  210. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js.map +1 -1
  211. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/checkbox/checkbox.js +3 -3
  212. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/checkbox/checkbox.js.map +1 -1
  213. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/dialog/dialog.js +7 -7
  214. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/dialog/dialog.js.map +1 -1
  215. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/dropdown/dropdown.js +18 -18
  216. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/dropdown/dropdown.js.map +1 -1
  217. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/form-label/form-label.js +2 -2
  218. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/form-label/form-label.js.map +1 -1
  219. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/primitive/dist/index.js +9 -6
  220. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -1
  221. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +22 -16
  222. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -1
  223. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-checkbox/dist/index.js +143 -144
  224. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -1
  225. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +63 -88
  226. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -1
  227. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +13 -21
  228. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -1
  229. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-context/dist/index.js +72 -93
  230. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -1
  231. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +298 -241
  232. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -1
  233. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +8 -6
  234. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -1
  235. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +189 -215
  236. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
  237. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +254 -0
  238. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  239. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +22 -25
  240. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -1
  241. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +190 -262
  242. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -1
  243. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-id/dist/index.js +11 -14
  244. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -1
  245. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-label/dist/index.js +25 -0
  246. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  247. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +796 -0
  248. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  249. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popover/dist/index.js +268 -244
  250. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -1
  251. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +257 -262
  252. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
  253. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +13 -10
  254. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  255. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +110 -121
  256. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -1
  257. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +37 -83
  258. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  259. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-radio-group/dist/index.js +250 -221
  260. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -1
  261. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +200 -216
  262. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -1
  263. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +71 -71
  264. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
  265. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-switch/dist/index.js +126 -116
  266. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -1
  267. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tabs/dist/index.js +171 -141
  268. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -1
  269. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +453 -518
  270. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -1
  271. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +9 -15
  272. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -1
  273. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +42 -43
  274. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -1
  275. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +15 -18
  276. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -1
  277. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +5 -9
  278. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -1
  279. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-previous/dist/index.js +12 -18
  280. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -1
  281. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +37 -48
  282. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -1
  283. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +30 -21
  284. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -1
  285. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +5 -5
  286. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -1
  287. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +15 -4
  288. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -1
  289. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +2 -2
  290. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -1
  291. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +12 -4
  292. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -1
  293. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +25 -5
  294. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -1
  295. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/popover/popover.js +5 -5
  296. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/popover/popover.js.map +1 -1
  297. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/radio/radio.js +29 -9
  298. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/radio/radio.js.map +1 -1
  299. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/switch/switch.js +3 -3
  300. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/switch/switch.js.map +1 -1
  301. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/table/table.js +14 -9
  302. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/table/table.js.map +1 -1
  303. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/tabs/tabs.js +5 -5
  304. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/tabs/tabs.js.map +1 -1
  305. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/theme-provider/theme-provider.js +13 -5
  306. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/theme-provider/theme-provider.js.map +1 -1
  307. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/tooltip/tooltip.js +8 -8
  308. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/tooltip/tooltip.js.map +1 -1
  309. package/dist/es/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +1 -1
  310. package/dist/es/node_modules/@swc/helpers/esm/_check_private_redeclaration.js.map +1 -1
  311. package/dist/es/node_modules/@swc/helpers/esm/_class_private_field_init.js +2 -2
  312. package/dist/es/node_modules/@swc/helpers/esm/_class_private_field_init.js.map +1 -1
  313. package/dist/es/node_modules/domhandler/lib/index.js +174 -0
  314. package/dist/es/node_modules/domhandler/lib/index.js.map +1 -0
  315. package/dist/es/node_modules/domhandler/lib/node.js +481 -0
  316. package/dist/es/node_modules/domhandler/lib/node.js.map +1 -0
  317. package/dist/es/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
  318. package/dist/es/node_modules/html-dom-parser/lib/server/html-to-dom.js +3 -3
  319. package/dist/es/node_modules/html-react-parser/lib/index.js +1 -1
  320. package/dist/es/node_modules/htmlparser2/lib/Parser.js +527 -0
  321. package/dist/es/node_modules/htmlparser2/lib/Parser.js.map +1 -0
  322. package/dist/es/node_modules/htmlparser2/lib/Tokenizer.js +787 -0
  323. package/dist/es/node_modules/htmlparser2/lib/Tokenizer.js.map +1 -0
  324. package/dist/es/node_modules/htmlparser2/lib/index.js +129 -0
  325. package/dist/es/node_modules/htmlparser2/lib/index.js.map +1 -0
  326. package/dist/es/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js +107 -0
  327. package/dist/es/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
  328. package/dist/es/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js +238 -0
  329. package/dist/es/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js.map +1 -0
  330. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js +198 -0
  331. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js.map +1 -0
  332. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +148 -0
  333. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js.map +1 -0
  334. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/index.js +54 -0
  335. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/index.js.map +1 -0
  336. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +160 -0
  337. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js.map +1 -0
  338. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +146 -0
  339. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js.map +1 -0
  340. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +164 -0
  341. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/querying.js.map +1 -0
  342. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +102 -0
  343. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js.map +1 -0
  344. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +131 -0
  345. package/dist/es/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js.map +1 -0
  346. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/decode.js +547 -0
  347. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/decode.js.map +1 -0
  348. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js +80 -0
  349. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  350. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/encode.js +85 -0
  351. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/encode.js.map +1 -0
  352. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/escape.js +126 -0
  353. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/escape.js.map +1 -0
  354. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js +10 -0
  355. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  356. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js +10 -0
  357. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  358. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js +13 -0
  359. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  360. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/index.js +136 -0
  361. package/dist/es/node_modules/htmlparser2/node_modules/entities/lib/index.js.map +1 -0
  362. package/dist/es/node_modules/react-is/index.js +1 -1
  363. package/dist/es/node_modules/style-to-js/cjs/index.js +1 -1
  364. package/dist/es/node_modules/style-to-object/cjs/index.js +1 -1
  365. package/dist/index.d.ts +44 -12
  366. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/domhandler/lib/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomHandler = void 0;\nvar domelementtype_1 = require(\"domelementtype\");\nvar node_js_1 = require(\"./node.js\");\n__exportStar(require(\"./node.js\"), exports);\n// Default options\nvar defaultOpts = {\n withStartIndices: false,\n withEndIndices: false,\n xmlMode: false,\n};\nvar DomHandler = /** @class */ (function () {\n /**\n * @param callback Called once parsing has completed.\n * @param options Settings for the handler.\n * @param elementCB Callback whenever a tag is closed.\n */\n function DomHandler(callback, options, elementCB) {\n /** The elements of the DOM */\n this.dom = [];\n /** The root element for the DOM */\n this.root = new node_js_1.Document(this.dom);\n /** Indicated whether parsing has been completed. */\n this.done = false;\n /** Stack of open tags. */\n this.tagStack = [this.root];\n /** A data node that is still being written to. */\n this.lastNode = null;\n /** Reference to the parser instance. Used for location information. */\n this.parser = null;\n // Make it possible to skip arguments, for backwards-compatibility\n if (typeof options === \"function\") {\n elementCB = options;\n options = defaultOpts;\n }\n if (typeof callback === \"object\") {\n options = callback;\n callback = undefined;\n }\n this.callback = callback !== null && callback !== void 0 ? callback : null;\n this.options = options !== null && options !== void 0 ? options : defaultOpts;\n this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null;\n }\n DomHandler.prototype.onparserinit = function (parser) {\n this.parser = parser;\n };\n // Resets the handler back to starting state\n DomHandler.prototype.onreset = function () {\n this.dom = [];\n this.root = new node_js_1.Document(this.dom);\n this.done = false;\n this.tagStack = [this.root];\n this.lastNode = null;\n this.parser = null;\n };\n // Signals the handler that parsing is done\n DomHandler.prototype.onend = function () {\n if (this.done)\n return;\n this.done = true;\n this.parser = null;\n this.handleCallback(null);\n };\n DomHandler.prototype.onerror = function (error) {\n this.handleCallback(error);\n };\n DomHandler.prototype.onclosetag = function () {\n this.lastNode = null;\n var elem = this.tagStack.pop();\n if (this.options.withEndIndices) {\n elem.endIndex = this.parser.endIndex;\n }\n if (this.elementCB)\n this.elementCB(elem);\n };\n DomHandler.prototype.onopentag = function (name, attribs) {\n var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined;\n var element = new node_js_1.Element(name, attribs, undefined, type);\n this.addNode(element);\n this.tagStack.push(element);\n };\n DomHandler.prototype.ontext = function (data) {\n var lastNode = this.lastNode;\n if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) {\n lastNode.data += data;\n if (this.options.withEndIndices) {\n lastNode.endIndex = this.parser.endIndex;\n }\n }\n else {\n var node = new node_js_1.Text(data);\n this.addNode(node);\n this.lastNode = node;\n }\n };\n DomHandler.prototype.oncomment = function (data) {\n if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) {\n this.lastNode.data += data;\n return;\n }\n var node = new node_js_1.Comment(data);\n this.addNode(node);\n this.lastNode = node;\n };\n DomHandler.prototype.oncommentend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.oncdatastart = function () {\n var text = new node_js_1.Text(\"\");\n var node = new node_js_1.CDATA([text]);\n this.addNode(node);\n text.parent = node;\n this.lastNode = text;\n };\n DomHandler.prototype.oncdataend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.onprocessinginstruction = function (name, data) {\n var node = new node_js_1.ProcessingInstruction(name, data);\n this.addNode(node);\n };\n DomHandler.prototype.handleCallback = function (error) {\n if (typeof this.callback === \"function\") {\n this.callback(error, this.dom);\n }\n else if (error) {\n throw error;\n }\n };\n DomHandler.prototype.addNode = function (node) {\n var parent = this.tagStack[this.tagStack.length - 1];\n var previousSibling = parent.children[parent.children.length - 1];\n if (this.options.withStartIndices) {\n node.startIndex = this.parser.startIndex;\n }\n if (this.options.withEndIndices) {\n node.endIndex = this.parser.endIndex;\n }\n parent.children.push(node);\n if (previousSibling) {\n node.prev = previousSibling;\n previousSibling.next = node;\n }\n node.parent = parent;\n this.lastNode = null;\n };\n return DomHandler;\n}());\nexports.DomHandler = DomHandler;\nexports.default = DomHandler;\n"],"names":["this","require$$0","require$$1"],"mappings":";;;;;;;;;;CACA,IAAI,eAAe,GAAG,CAACA,+BAAI,IAAIA,+BAAI,CAAC,eAAe,MAAM,MAAM,CAAC,MAAM,IAAI,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE;KAC5F,IAAI,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG,CAAC,CAAC;KAC7B,IAAI,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACjD,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,UAAU,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,EAAE;AACvF,OAAM,IAAI,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;MAC/D;KACD,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;EACtC,KAAK,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE;KACxB,IAAI,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG,CAAC,CAAC;KAC7B,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;EAChB,CAAC,CAAC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M,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAC1E,SAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;aAC/B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;UAC5C;AACT,SAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE;aAC7B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;UACxC;SACD,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC3B,IAAI,eAAe,EAAE;AAC7B,aAAY,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;AACxC,aAAY,eAAe,CAAC,IAAI,GAAG,IAAI,CAAC;UAC/B;AACT,SAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AAC7B,SAAQ,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AAC7B,MAAK,CAAC;KACF,OAAO,UAAU,CAAC;EACrB,EAAE,CAAC,CAAC;AACL,CAAA,OAAA,CAAA,UAAA,GAAqB,UAAU,CAAC;AAChC,CAAA,OAAA,CAAA,OAAA,GAAkB,UAAU,CAAA;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,485 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _commonjsHelpers = require('../../../_virtual/_commonjsHelpers.js');
6
+ var node = require('../../../_virtual/node.js');
7
+ require('../../domelementtype/lib/index.js');
8
+ var index = require('../../../_virtual/index5.js');
9
+
10
+ var __extends = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__extends) || (function () {
11
+ var extendStatics = function (d, b) {
12
+ extendStatics = Object.setPrototypeOf ||
13
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
14
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
15
+ return extendStatics(d, b);
16
+ };
17
+ return function (d, b) {
18
+ if (typeof b !== "function" && b !== null)
19
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
20
+ extendStatics(d, b);
21
+ function __() { this.constructor = d; }
22
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
23
+ };
24
+ })();
25
+ var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
26
+ __assign = Object.assign || function(t) {
27
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
28
+ s = arguments[i];
29
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
30
+ t[p] = s[p];
31
+ }
32
+ return t;
33
+ };
34
+ return __assign.apply(this, arguments);
35
+ };
36
+ Object.defineProperty(node.__exports, "__esModule", { value: true });
37
+ node.__exports.cloneNode = node.__exports.hasChildren = node.__exports.isDocument = node.__exports.isDirective = node.__exports.isComment = node.__exports.isText = node.__exports.isCDATA = node.__exports.isTag = node.__exports.Element = node.__exports.Document = node.__exports.CDATA = node.__exports.NodeWithChildren = node.__exports.ProcessingInstruction = node.__exports.Comment = node.__exports.Text = node.__exports.DataNode = node.__exports.Node = void 0;
38
+ var domelementtype_1 = index.__exports;
39
+ /**
40
+ * This object will be used as the prototype for Nodes when creating a
41
+ * DOM-Level-1-compliant structure.
42
+ */
43
+ var Node = /** @class */ (function () {
44
+ function Node() {
45
+ /** Parent of the node */
46
+ this.parent = null;
47
+ /** Previous sibling */
48
+ this.prev = null;
49
+ /** Next sibling */
50
+ this.next = null;
51
+ /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */
52
+ this.startIndex = null;
53
+ /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */
54
+ this.endIndex = null;
55
+ }
56
+ Object.defineProperty(Node.prototype, "parentNode", {
57
+ // Read-write aliases for properties
58
+ /**
59
+ * Same as {@link parent}.
60
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
61
+ */
62
+ get: function () {
63
+ return this.parent;
64
+ },
65
+ set: function (parent) {
66
+ this.parent = parent;
67
+ },
68
+ enumerable: false,
69
+ configurable: true
70
+ });
71
+ Object.defineProperty(Node.prototype, "previousSibling", {
72
+ /**
73
+ * Same as {@link prev}.
74
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
75
+ */
76
+ get: function () {
77
+ return this.prev;
78
+ },
79
+ set: function (prev) {
80
+ this.prev = prev;
81
+ },
82
+ enumerable: false,
83
+ configurable: true
84
+ });
85
+ Object.defineProperty(Node.prototype, "nextSibling", {
86
+ /**
87
+ * Same as {@link next}.
88
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
89
+ */
90
+ get: function () {
91
+ return this.next;
92
+ },
93
+ set: function (next) {
94
+ this.next = next;
95
+ },
96
+ enumerable: false,
97
+ configurable: true
98
+ });
99
+ /**
100
+ * Clone this node, and optionally its children.
101
+ *
102
+ * @param recursive Clone child nodes as well.
103
+ * @returns A clone of the node.
104
+ */
105
+ Node.prototype.cloneNode = function (recursive) {
106
+ if (recursive === void 0) { recursive = false; }
107
+ return cloneNode(this, recursive);
108
+ };
109
+ return Node;
110
+ }());
111
+ node.__exports.Node = Node;
112
+ /**
113
+ * A node that contains some data.
114
+ */
115
+ var DataNode = /** @class */ (function (_super) {
116
+ __extends(DataNode, _super);
117
+ /**
118
+ * @param data The content of the data node
119
+ */
120
+ function DataNode(data) {
121
+ var _this = _super.call(this) || this;
122
+ _this.data = data;
123
+ return _this;
124
+ }
125
+ Object.defineProperty(DataNode.prototype, "nodeValue", {
126
+ /**
127
+ * Same as {@link data}.
128
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
129
+ */
130
+ get: function () {
131
+ return this.data;
132
+ },
133
+ set: function (data) {
134
+ this.data = data;
135
+ },
136
+ enumerable: false,
137
+ configurable: true
138
+ });
139
+ return DataNode;
140
+ }(Node));
141
+ node.__exports.DataNode = DataNode;
142
+ /**
143
+ * Text within the document.
144
+ */
145
+ var Text = /** @class */ (function (_super) {
146
+ __extends(Text, _super);
147
+ function Text() {
148
+ var _this = _super !== null && _super.apply(this, arguments) || this;
149
+ _this.type = domelementtype_1.ElementType.Text;
150
+ return _this;
151
+ }
152
+ Object.defineProperty(Text.prototype, "nodeType", {
153
+ get: function () {
154
+ return 3;
155
+ },
156
+ enumerable: false,
157
+ configurable: true
158
+ });
159
+ return Text;
160
+ }(DataNode));
161
+ node.__exports.Text = Text;
162
+ /**
163
+ * Comments within the document.
164
+ */
165
+ var Comment = /** @class */ (function (_super) {
166
+ __extends(Comment, _super);
167
+ function Comment() {
168
+ var _this = _super !== null && _super.apply(this, arguments) || this;
169
+ _this.type = domelementtype_1.ElementType.Comment;
170
+ return _this;
171
+ }
172
+ Object.defineProperty(Comment.prototype, "nodeType", {
173
+ get: function () {
174
+ return 8;
175
+ },
176
+ enumerable: false,
177
+ configurable: true
178
+ });
179
+ return Comment;
180
+ }(DataNode));
181
+ node.__exports.Comment = Comment;
182
+ /**
183
+ * Processing instructions, including doc types.
184
+ */
185
+ var ProcessingInstruction = /** @class */ (function (_super) {
186
+ __extends(ProcessingInstruction, _super);
187
+ function ProcessingInstruction(name, data) {
188
+ var _this = _super.call(this, data) || this;
189
+ _this.name = name;
190
+ _this.type = domelementtype_1.ElementType.Directive;
191
+ return _this;
192
+ }
193
+ Object.defineProperty(ProcessingInstruction.prototype, "nodeType", {
194
+ get: function () {
195
+ return 1;
196
+ },
197
+ enumerable: false,
198
+ configurable: true
199
+ });
200
+ return ProcessingInstruction;
201
+ }(DataNode));
202
+ node.__exports.ProcessingInstruction = ProcessingInstruction;
203
+ /**
204
+ * A `Node` that can have children.
205
+ */
206
+ var NodeWithChildren = /** @class */ (function (_super) {
207
+ __extends(NodeWithChildren, _super);
208
+ /**
209
+ * @param children Children of the node. Only certain node types can have children.
210
+ */
211
+ function NodeWithChildren(children) {
212
+ var _this = _super.call(this) || this;
213
+ _this.children = children;
214
+ return _this;
215
+ }
216
+ Object.defineProperty(NodeWithChildren.prototype, "firstChild", {
217
+ // Aliases
218
+ /** First child of the node. */
219
+ get: function () {
220
+ var _a;
221
+ return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null;
222
+ },
223
+ enumerable: false,
224
+ configurable: true
225
+ });
226
+ Object.defineProperty(NodeWithChildren.prototype, "lastChild", {
227
+ /** Last child of the node. */
228
+ get: function () {
229
+ return this.children.length > 0
230
+ ? this.children[this.children.length - 1]
231
+ : null;
232
+ },
233
+ enumerable: false,
234
+ configurable: true
235
+ });
236
+ Object.defineProperty(NodeWithChildren.prototype, "childNodes", {
237
+ /**
238
+ * Same as {@link children}.
239
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
240
+ */
241
+ get: function () {
242
+ return this.children;
243
+ },
244
+ set: function (children) {
245
+ this.children = children;
246
+ },
247
+ enumerable: false,
248
+ configurable: true
249
+ });
250
+ return NodeWithChildren;
251
+ }(Node));
252
+ node.__exports.NodeWithChildren = NodeWithChildren;
253
+ var CDATA = /** @class */ (function (_super) {
254
+ __extends(CDATA, _super);
255
+ function CDATA() {
256
+ var _this = _super !== null && _super.apply(this, arguments) || this;
257
+ _this.type = domelementtype_1.ElementType.CDATA;
258
+ return _this;
259
+ }
260
+ Object.defineProperty(CDATA.prototype, "nodeType", {
261
+ get: function () {
262
+ return 4;
263
+ },
264
+ enumerable: false,
265
+ configurable: true
266
+ });
267
+ return CDATA;
268
+ }(NodeWithChildren));
269
+ node.__exports.CDATA = CDATA;
270
+ /**
271
+ * The root node of the document.
272
+ */
273
+ var Document = /** @class */ (function (_super) {
274
+ __extends(Document, _super);
275
+ function Document() {
276
+ var _this = _super !== null && _super.apply(this, arguments) || this;
277
+ _this.type = domelementtype_1.ElementType.Root;
278
+ return _this;
279
+ }
280
+ Object.defineProperty(Document.prototype, "nodeType", {
281
+ get: function () {
282
+ return 9;
283
+ },
284
+ enumerable: false,
285
+ configurable: true
286
+ });
287
+ return Document;
288
+ }(NodeWithChildren));
289
+ node.__exports.Document = Document;
290
+ /**
291
+ * An element within the DOM.
292
+ */
293
+ var Element = /** @class */ (function (_super) {
294
+ __extends(Element, _super);
295
+ /**
296
+ * @param name Name of the tag, eg. `div`, `span`.
297
+ * @param attribs Object mapping attribute names to attribute values.
298
+ * @param children Children of the node.
299
+ */
300
+ function Element(name, attribs, children, type) {
301
+ if (children === void 0) { children = []; }
302
+ if (type === void 0) { type = name === "script"
303
+ ? domelementtype_1.ElementType.Script
304
+ : name === "style"
305
+ ? domelementtype_1.ElementType.Style
306
+ : domelementtype_1.ElementType.Tag; }
307
+ var _this = _super.call(this, children) || this;
308
+ _this.name = name;
309
+ _this.attribs = attribs;
310
+ _this.type = type;
311
+ return _this;
312
+ }
313
+ Object.defineProperty(Element.prototype, "nodeType", {
314
+ get: function () {
315
+ return 1;
316
+ },
317
+ enumerable: false,
318
+ configurable: true
319
+ });
320
+ Object.defineProperty(Element.prototype, "tagName", {
321
+ // DOM Level 1 aliases
322
+ /**
323
+ * Same as {@link name}.
324
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
325
+ */
326
+ get: function () {
327
+ return this.name;
328
+ },
329
+ set: function (name) {
330
+ this.name = name;
331
+ },
332
+ enumerable: false,
333
+ configurable: true
334
+ });
335
+ Object.defineProperty(Element.prototype, "attributes", {
336
+ get: function () {
337
+ var _this = this;
338
+ return Object.keys(this.attribs).map(function (name) {
339
+ var _a, _b;
340
+ return ({
341
+ name: name,
342
+ value: _this.attribs[name],
343
+ namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name],
344
+ prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name],
345
+ });
346
+ });
347
+ },
348
+ enumerable: false,
349
+ configurable: true
350
+ });
351
+ return Element;
352
+ }(NodeWithChildren));
353
+ node.__exports.Element = Element;
354
+ /**
355
+ * @param node Node to check.
356
+ * @returns `true` if the node is a `Element`, `false` otherwise.
357
+ */
358
+ function isTag(node) {
359
+ return (0, domelementtype_1.isTag)(node);
360
+ }
361
+ node.__exports.isTag = isTag;
362
+ /**
363
+ * @param node Node to check.
364
+ * @returns `true` if the node has the type `CDATA`, `false` otherwise.
365
+ */
366
+ function isCDATA(node) {
367
+ return node.type === domelementtype_1.ElementType.CDATA;
368
+ }
369
+ node.__exports.isCDATA = isCDATA;
370
+ /**
371
+ * @param node Node to check.
372
+ * @returns `true` if the node has the type `Text`, `false` otherwise.
373
+ */
374
+ function isText(node) {
375
+ return node.type === domelementtype_1.ElementType.Text;
376
+ }
377
+ node.__exports.isText = isText;
378
+ /**
379
+ * @param node Node to check.
380
+ * @returns `true` if the node has the type `Comment`, `false` otherwise.
381
+ */
382
+ function isComment(node) {
383
+ return node.type === domelementtype_1.ElementType.Comment;
384
+ }
385
+ node.__exports.isComment = isComment;
386
+ /**
387
+ * @param node Node to check.
388
+ * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.
389
+ */
390
+ function isDirective(node) {
391
+ return node.type === domelementtype_1.ElementType.Directive;
392
+ }
393
+ node.__exports.isDirective = isDirective;
394
+ /**
395
+ * @param node Node to check.
396
+ * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.
397
+ */
398
+ function isDocument(node) {
399
+ return node.type === domelementtype_1.ElementType.Root;
400
+ }
401
+ node.__exports.isDocument = isDocument;
402
+ /**
403
+ * @param node Node to check.
404
+ * @returns `true` if the node has children, `false` otherwise.
405
+ */
406
+ function hasChildren(node) {
407
+ return Object.prototype.hasOwnProperty.call(node, "children");
408
+ }
409
+ node.__exports.hasChildren = hasChildren;
410
+ /**
411
+ * Clone a node, and optionally its children.
412
+ *
413
+ * @param recursive Clone child nodes as well.
414
+ * @returns A clone of the node.
415
+ */
416
+ function cloneNode(node, recursive) {
417
+ if (recursive === void 0) { recursive = false; }
418
+ var result;
419
+ if (isText(node)) {
420
+ result = new Text(node.data);
421
+ }
422
+ else if (isComment(node)) {
423
+ result = new Comment(node.data);
424
+ }
425
+ else if (isTag(node)) {
426
+ var children = recursive ? cloneChildren(node.children) : [];
427
+ var clone_1 = new Element(node.name, __assign({}, node.attribs), children);
428
+ children.forEach(function (child) { return (child.parent = clone_1); });
429
+ if (node.namespace != null) {
430
+ clone_1.namespace = node.namespace;
431
+ }
432
+ if (node["x-attribsNamespace"]) {
433
+ clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]);
434
+ }
435
+ if (node["x-attribsPrefix"]) {
436
+ clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]);
437
+ }
438
+ result = clone_1;
439
+ }
440
+ else if (isCDATA(node)) {
441
+ var children = recursive ? cloneChildren(node.children) : [];
442
+ var clone_2 = new CDATA(children);
443
+ children.forEach(function (child) { return (child.parent = clone_2); });
444
+ result = clone_2;
445
+ }
446
+ else if (isDocument(node)) {
447
+ var children = recursive ? cloneChildren(node.children) : [];
448
+ var clone_3 = new Document(children);
449
+ children.forEach(function (child) { return (child.parent = clone_3); });
450
+ if (node["x-mode"]) {
451
+ clone_3["x-mode"] = node["x-mode"];
452
+ }
453
+ result = clone_3;
454
+ }
455
+ else if (isDirective(node)) {
456
+ var instruction = new ProcessingInstruction(node.name, node.data);
457
+ if (node["x-name"] != null) {
458
+ instruction["x-name"] = node["x-name"];
459
+ instruction["x-publicId"] = node["x-publicId"];
460
+ instruction["x-systemId"] = node["x-systemId"];
461
+ }
462
+ result = instruction;
463
+ }
464
+ else {
465
+ throw new Error("Not implemented yet: ".concat(node.type));
466
+ }
467
+ result.startIndex = node.startIndex;
468
+ result.endIndex = node.endIndex;
469
+ if (node.sourceCodeLocation != null) {
470
+ result.sourceCodeLocation = node.sourceCodeLocation;
471
+ }
472
+ return result;
473
+ }
474
+ node.__exports.cloneNode = cloneNode;
475
+ function cloneChildren(childs) {
476
+ var children = childs.map(function (child) { return cloneNode(child, true); });
477
+ for (var i = 1; i < children.length; i++) {
478
+ children[i].prev = children[i - 1];
479
+ children[i - 1].next = children[i];
480
+ }
481
+ return children;
482
+ }
483
+
484
+ exports.default = node.__exports;
485
+ //# sourceMappingURL=node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.js","sources":["../../../../../../../node_modules/domhandler/lib/node.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0;\nvar domelementtype_1 = require(\"domelementtype\");\n/**\n * This object will be used as the prototype for Nodes when creating a\n * DOM-Level-1-compliant structure.\n */\nvar Node = /** @class */ (function () {\n function Node() {\n /** Parent of the node */\n this.parent = null;\n /** Previous sibling */\n this.prev = null;\n /** Next sibling */\n this.next = null;\n /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */\n this.startIndex = null;\n /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */\n this.endIndex = null;\n }\n Object.defineProperty(Node.prototype, \"parentNode\", {\n // Read-write aliases for properties\n /**\n * Same as {@link parent}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.parent;\n },\n set: function (parent) {\n this.parent = parent;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"previousSibling\", {\n /**\n * Same as {@link prev}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.prev;\n },\n set: function (prev) {\n this.prev = prev;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"nextSibling\", {\n /**\n * Same as {@link next}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.next;\n },\n set: function (next) {\n this.next = next;\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Clone this node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\n Node.prototype.cloneNode = function (recursive) {\n if (recursive === void 0) { recursive = false; }\n return cloneNode(this, recursive);\n };\n return Node;\n}());\nexports.Node = Node;\n/**\n * A node that contains some data.\n */\nvar DataNode = /** @class */ (function (_super) {\n __extends(DataNode, _super);\n /**\n * @param data The content of the data node\n */\n function DataNode(data) {\n var _this = _super.call(this) || this;\n _this.data = data;\n return _this;\n }\n Object.defineProperty(DataNode.prototype, \"nodeValue\", {\n /**\n * Same as {@link data}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.data;\n },\n set: function (data) {\n this.data = data;\n },\n enumerable: false,\n configurable: true\n });\n return DataNode;\n}(Node));\nexports.DataNode = DataNode;\n/**\n * Text within the document.\n */\nvar Text = /** @class */ (function (_super) {\n __extends(Text, _super);\n function Text() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Text;\n return _this;\n }\n Object.defineProperty(Text.prototype, \"nodeType\", {\n get: function () {\n return 3;\n },\n enumerable: false,\n configurable: true\n });\n return Text;\n}(DataNode));\nexports.Text = Text;\n/**\n * Comments within the document.\n */\nvar Comment = /** @class */ (function (_super) {\n __extends(Comment, _super);\n function Comment() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Comment;\n return _this;\n }\n Object.defineProperty(Comment.prototype, \"nodeType\", {\n get: function () {\n return 8;\n },\n enumerable: false,\n configurable: true\n });\n return Comment;\n}(DataNode));\nexports.Comment = Comment;\n/**\n * Processing instructions, including doc types.\n */\nvar ProcessingInstruction = /** @class */ (function (_super) {\n __extends(ProcessingInstruction, _super);\n function ProcessingInstruction(name, data) {\n var _this = _super.call(this, data) || this;\n _this.name = name;\n _this.type = domelementtype_1.ElementType.Directive;\n return _this;\n }\n Object.defineProperty(ProcessingInstruction.prototype, \"nodeType\", {\n get: function () {\n return 1;\n },\n enumerable: false,\n configurable: true\n });\n return ProcessingInstruction;\n}(DataNode));\nexports.ProcessingInstruction = ProcessingInstruction;\n/**\n * A `Node` that can have children.\n */\nvar NodeWithChildren = /** @class */ (function (_super) {\n __extends(NodeWithChildren, _super);\n /**\n * @param children Children of the node. Only certain node types can have children.\n */\n function NodeWithChildren(children) {\n var _this = _super.call(this) || this;\n _this.children = children;\n return _this;\n }\n Object.defineProperty(NodeWithChildren.prototype, \"firstChild\", {\n // Aliases\n /** First child of the node. */\n get: function () {\n var _a;\n return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NodeWithChildren.prototype, \"lastChild\", {\n /** Last child of the node. */\n get: function () {\n return this.children.length > 0\n ? this.children[this.children.length - 1]\n : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NodeWithChildren.prototype, \"childNodes\", {\n /**\n * Same as {@link children}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.children;\n },\n set: function (children) {\n this.children = children;\n },\n enumerable: false,\n configurable: true\n });\n return NodeWithChildren;\n}(Node));\nexports.NodeWithChildren = NodeWithChildren;\nvar CDATA = /** @class */ (function (_super) {\n __extends(CDATA, _super);\n function CDATA() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.CDATA;\n return _this;\n }\n Object.defineProperty(CDATA.prototype, \"nodeType\", {\n get: function () {\n return 4;\n },\n enumerable: false,\n configurable: true\n });\n return CDATA;\n}(NodeWithChildren));\nexports.CDATA = CDATA;\n/**\n * The root node of the document.\n */\nvar Document = /** @class */ (function (_super) {\n __extends(Document, _super);\n function Document() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Root;\n return _this;\n }\n Object.defineProperty(Document.prototype, \"nodeType\", {\n get: function () {\n return 9;\n },\n enumerable: false,\n configurable: true\n });\n return Document;\n}(NodeWithChildren));\nexports.Document = Document;\n/**\n * An element within the DOM.\n */\nvar Element = /** @class */ (function (_super) {\n __extends(Element, _super);\n /**\n * @param name Name of the tag, eg. `div`, `span`.\n * @param attribs Object mapping attribute names to attribute values.\n * @param children Children of the node.\n */\n function Element(name, attribs, children, type) {\n if (children === void 0) { children = []; }\n if (type === void 0) { type = name === \"script\"\n ? domelementtype_1.ElementType.Script\n : name === \"style\"\n ? domelementtype_1.ElementType.Style\n : domelementtype_1.ElementType.Tag; }\n var _this = _super.call(this, children) || this;\n _this.name = name;\n _this.attribs = attribs;\n _this.type = type;\n return _this;\n }\n Object.defineProperty(Element.prototype, \"nodeType\", {\n get: function () {\n return 1;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Element.prototype, \"tagName\", {\n // DOM Level 1 aliases\n /**\n * Same as {@link name}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.name;\n },\n set: function (name) {\n this.name = name;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Element.prototype, \"attributes\", {\n get: function () {\n var _this = this;\n return Object.keys(this.attribs).map(function (name) {\n var _a, _b;\n return ({\n name: name,\n value: _this.attribs[name],\n namespace: (_a = _this[\"x-attribsNamespace\"]) === null || _a === void 0 ? void 0 : _a[name],\n prefix: (_b = _this[\"x-attribsPrefix\"]) === null || _b === void 0 ? void 0 : _b[name],\n });\n });\n },\n enumerable: false,\n configurable: true\n });\n return Element;\n}(NodeWithChildren));\nexports.Element = Element;\n/**\n * @param node Node to check.\n * @returns `true` if the node is a `Element`, `false` otherwise.\n */\nfunction isTag(node) {\n return (0, domelementtype_1.isTag)(node);\n}\nexports.isTag = isTag;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `CDATA`, `false` otherwise.\n */\nfunction isCDATA(node) {\n return node.type === domelementtype_1.ElementType.CDATA;\n}\nexports.isCDATA = isCDATA;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Text`, `false` otherwise.\n */\nfunction isText(node) {\n return node.type === domelementtype_1.ElementType.Text;\n}\nexports.isText = isText;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Comment`, `false` otherwise.\n */\nfunction isComment(node) {\n return node.type === domelementtype_1.ElementType.Comment;\n}\nexports.isComment = isComment;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nfunction isDirective(node) {\n return node.type === domelementtype_1.ElementType.Directive;\n}\nexports.isDirective = isDirective;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nfunction isDocument(node) {\n return node.type === domelementtype_1.ElementType.Root;\n}\nexports.isDocument = isDocument;\n/**\n * @param node Node to check.\n * @returns `true` if the node has children, `false` otherwise.\n */\nfunction hasChildren(node) {\n return Object.prototype.hasOwnProperty.call(node, \"children\");\n}\nexports.hasChildren = hasChildren;\n/**\n * Clone a node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\nfunction cloneNode(node, recursive) {\n if (recursive === void 0) { recursive = false; }\n var result;\n if (isText(node)) {\n result = new Text(node.data);\n }\n else if (isComment(node)) {\n result = new Comment(node.data);\n }\n else if (isTag(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_1 = new Element(node.name, __assign({}, node.attribs), children);\n children.forEach(function (child) { return (child.parent = clone_1); });\n if (node.namespace != null) {\n clone_1.namespace = node.namespace;\n }\n if (node[\"x-attribsNamespace\"]) {\n clone_1[\"x-attribsNamespace\"] = __assign({}, node[\"x-attribsNamespace\"]);\n }\n if (node[\"x-attribsPrefix\"]) {\n clone_1[\"x-attribsPrefix\"] = __assign({}, node[\"x-attribsPrefix\"]);\n }\n result = clone_1;\n }\n else if (isCDATA(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_2 = new CDATA(children);\n children.forEach(function (child) { return (child.parent = clone_2); });\n result = clone_2;\n }\n else if (isDocument(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_3 = new Document(children);\n children.forEach(function (child) { return (child.parent = clone_3); });\n if (node[\"x-mode\"]) {\n clone_3[\"x-mode\"] = node[\"x-mode\"];\n }\n result = clone_3;\n }\n else if (isDirective(node)) {\n var instruction = new ProcessingInstruction(node.name, node.data);\n if (node[\"x-name\"] != null) {\n instruction[\"x-name\"] = node[\"x-name\"];\n instruction[\"x-publicId\"] = node[\"x-publicId\"];\n instruction[\"x-systemId\"] = node[\"x-systemId\"];\n }\n result = instruction;\n }\n else {\n throw new Error(\"Not implemented yet: \".concat(node.type));\n }\n result.startIndex = node.startIndex;\n result.endIndex = node.endIndex;\n if (node.sourceCodeLocation != null) {\n result.sourceCodeLocation = node.sourceCodeLocation;\n }\n return result;\n}\nexports.cloneNode = cloneNode;\nfunction cloneChildren(childs) {\n var children = childs.map(function (child) { return cloneNode(child, true); });\n for (var i = 1; i < children.length; i++) {\n children[i].prev = children[i - 1];\n children[i - 1].next = children[i];\n }\n return children;\n}\n"],"names":["this","node","require$$0"],"mappings":";;;;;;;;;AACA,IAAI,SAAS,GAAG,CAACA,+BAAI,IAAIA,+BAAI,CAAC,SAAS,KAAK,CAAC,YAAY;AACzD,IAAI,IAAI,aAAa,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE;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,GAAG,IAAI,CAAC,kBAAkB,CAAC;AAC5D,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;AACgBA,cAAA,CAAA,SAAA,GAAG,SAAS,CAAC;AAC9B,SAAS,aAAa,CAAC,MAAM,EAAE;AAC/B,IAAI,IAAI,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,UAAU,KAAK,EAAE,EAAE,OAAO,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;AACnF,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC9C,QAAQ,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAC3C,QAAQ,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;AAC3C,KAAK;AACL,IAAI,OAAO,QAAQ,CAAC;AACpB;;;;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../node_modules/react-is/index.js');
3
+ var index = require('../../react-is/index.js');
4
4
 
5
5
  var reactIs = index.reactIsExports;
6
6
  var FORWARD_REF_STATICS = {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var htmlToDom = require('../../../../_virtual/html-to-dom.js');
4
- require('../../node_modules/htmlparser2/lib/index.js');
5
- require('../../node_modules/domhandler/lib/index.js');
4
+ require('../../../htmlparser2/lib/index.js');
5
+ require('../../../domhandler/lib/index.js');
6
6
  require('./utilities.js');
7
7
  var index = require('../../../../_virtual/index6.js');
8
- var index$1 = require('../../../../_virtual/index7.js');
8
+ var index$1 = require('../../../../_virtual/index3.js');
9
9
  var utilities = require('../../../../_virtual/utilities2.js');
10
10
 
11
11
  Object.defineProperty(htmlToDom.__exports, "__esModule", { value: true });
@@ -7,7 +7,7 @@ var index$1 = require('../../../_virtual/index.js');
7
7
  require('../../html-dom-parser/lib/index.js');
8
8
  require('./attributes-to-props.js');
9
9
  require('./dom-to-react.js');
10
- require('../node_modules/domhandler/lib/index.js');
10
+ require('../../domhandler/lib/index.js');
11
11
  var index = require('../../../_virtual/index2.js');
12
12
  var attributesToProps = require('../../../_virtual/attributes-to-props.js');
13
13
  var domToReact = require('../../../_virtual/dom-to-react.js');