giime 1.1.5 → 1.1.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 (517) hide show
  1. package/es/components/src/base/affix/Affix.vue.d.ts +2 -2
  2. package/es/components/src/base/alert/Alert.vue.d.ts +3 -3
  3. package/es/components/src/base/alert/index.d.ts +8 -8
  4. package/es/components/src/base/anchor/Anchor.vue.d.ts +1 -1
  5. package/es/components/src/base/anchor/index.d.ts +3 -3
  6. package/es/components/src/base/autocomplete/Autocomplete.vue.d.ts +11 -11
  7. package/es/components/src/base/autocomplete/autocomplete.d.ts +1 -1
  8. package/es/components/src/base/autocomplete/index.d.ts +30 -30
  9. package/es/components/src/base/badge/Badge.vue.d.ts +1 -1
  10. package/es/components/src/base/badge/index.d.ts +3 -3
  11. package/es/components/src/base/button/Button.vue.d.ts +9 -9
  12. package/es/components/src/base/button/button.d.ts +4 -4
  13. package/es/components/src/base/button/index.d.ts +23 -23
  14. package/es/components/src/base/buttonGroup/ButtonGroup.vue.d.ts +3 -3
  15. package/es/components/src/base/buttonGroup/buttonGroup.d.ts +1 -1
  16. package/es/components/src/base/buttonGroup/index.d.ts +7 -7
  17. package/es/components/src/base/carousel/Carousel.vue.d.ts +1 -1
  18. package/es/components/src/base/carousel/index.d.ts +3 -3
  19. package/es/components/src/base/cascader/Cascader.vue.d.ts +6 -6
  20. package/es/components/src/base/cascader/index.d.ts +18 -18
  21. package/es/components/src/base/chart/Chart.vue.d.ts +2 -2
  22. package/es/components/src/base/chart/index.d.ts +2 -2
  23. package/es/components/src/base/checkbox/Checkbox.vue.d.ts +2 -2
  24. package/es/components/src/base/checkbox/index.d.ts +6 -6
  25. package/es/components/src/base/checkboxButton/CheckboxButton.vue.d.ts +2 -2
  26. package/es/components/src/base/checkboxButton/index.d.ts +6 -6
  27. package/es/components/src/base/col/Col.vue.d.ts +1 -1
  28. package/es/components/src/base/col/index.d.ts +3 -3
  29. package/es/components/src/base/collapseItem/CollapseItem.vue.d.ts +1 -1
  30. package/es/components/src/base/collapseItem/index.d.ts +3 -3
  31. package/es/components/src/base/colorPicker/ColorPicker.vue.d.ts +6 -6
  32. package/es/components/src/base/colorPicker/index.d.ts +6 -6
  33. package/es/components/src/base/colorPickerPanel/ColorPickerPanel.vue.d.ts +1 -1
  34. package/es/components/src/base/colorPickerPanel/index.d.ts +1 -1
  35. package/es/components/src/base/datePicker/DatePicker.vue.d.ts +5 -5
  36. package/es/components/src/base/datePicker/index.d.ts +15 -15
  37. package/es/components/src/base/datePickerPanel/DatePickerPanel.vue.d.ts +1 -1
  38. package/es/components/src/base/datePickerPanel/index.d.ts +3 -3
  39. package/es/components/src/base/descriptions/Descriptions.vue.d.ts +1 -1
  40. package/es/components/src/base/descriptions/index.d.ts +3 -3
  41. package/es/components/src/base/descriptionsItem/DescriptionsItem.vue.d.ts +6 -6
  42. package/es/components/src/base/descriptionsItem/descriptionsItem.d.ts +2 -2
  43. package/es/components/src/base/descriptionsItem/index.d.ts +14 -14
  44. package/es/components/src/base/dialog/Dialog.vue.d.ts +3 -3
  45. package/es/components/src/base/dialog/index.d.ts +8 -8
  46. package/es/components/src/base/divider/Divider.vue.d.ts +3 -3
  47. package/es/components/src/base/divider/divider.d.ts +1 -1
  48. package/es/components/src/base/divider/index.d.ts +7 -7
  49. package/es/components/src/base/drawer/Drawer.vue.d.ts +4 -4
  50. package/es/components/src/base/drawer/index.d.ts +11 -11
  51. package/es/components/src/base/dropdown/Dropdown.vue.d.ts +7 -7
  52. package/es/components/src/base/dropdown/dropdown.d.ts +2 -2
  53. package/es/components/src/base/dropdown/index.d.ts +17 -17
  54. package/es/components/src/base/form/Form.vue.d.ts +1 -1
  55. package/es/components/src/base/form/index.d.ts +3 -3
  56. package/es/components/src/base/image/Image.vue.d.ts +3 -3
  57. package/es/components/src/base/image/index.d.ts +8 -8
  58. package/es/components/src/base/imageViewer/ImageViewer.vue.d.ts +2 -2
  59. package/es/components/src/base/imageViewer/index.d.ts +4 -4
  60. package/es/components/src/base/input/Input.vue.d.ts +14 -14
  61. package/es/components/src/base/input/index.d.ts +38 -38
  62. package/es/components/src/base/input/input.d.ts +1 -1
  63. package/es/components/src/base/inputNumber/InputNumber.vue.d.ts +12 -12
  64. package/es/components/src/base/inputNumber/index.d.ts +31 -31
  65. package/es/components/src/base/inputNumber/inputNumber.d.ts +2 -2
  66. package/es/components/src/base/inputTag/InputTag.vue.d.ts +6 -6
  67. package/es/components/src/base/inputTag/index.d.ts +17 -17
  68. package/es/components/src/base/link/Link.vue.d.ts +1 -1
  69. package/es/components/src/base/link/index.d.ts +3 -3
  70. package/es/components/src/base/mention/Mention.vue.d.ts +13 -13
  71. package/es/components/src/base/mention/index.d.ts +37 -37
  72. package/es/components/src/base/mention/mention.d.ts +1 -1
  73. package/es/components/src/base/menu/Menu.vue.d.ts +4 -4
  74. package/es/components/src/base/menu/index.d.ts +10 -10
  75. package/es/components/src/base/pagination/Pagination.vue.d.ts +1 -1
  76. package/es/components/src/base/pagination/index.d.ts +3 -3
  77. package/es/components/src/base/popconfirm/Popconfirm.vue.d.ts +8 -8
  78. package/es/components/src/base/popconfirm/index.d.ts +19 -19
  79. package/es/components/src/base/popconfirm/popconfirm.d.ts +2 -2
  80. package/es/components/src/base/popover/Popover.vue.d.ts +3 -3
  81. package/es/components/src/base/popover/index.d.ts +9 -9
  82. package/es/components/src/base/popper/Popper.vue.d.ts +3 -3
  83. package/es/components/src/base/popper/index.d.ts +7 -7
  84. package/es/components/src/base/popper/popper.d.ts +1 -1
  85. package/es/components/src/base/progress/Progress.vue.d.ts +2 -2
  86. package/es/components/src/base/progress/index.d.ts +6 -6
  87. package/es/components/src/base/radio/Radio.vue.d.ts +1 -1
  88. package/es/components/src/base/radio/index.d.ts +3 -3
  89. package/es/components/src/base/radioGroup/RadioGroup.vue.d.ts +1 -1
  90. package/es/components/src/base/radioGroup/index.d.ts +3 -3
  91. package/es/components/src/base/result/Result.vue.d.ts +1 -1
  92. package/es/components/src/base/result/index.d.ts +3 -3
  93. package/es/components/src/base/scrollbar/Scrollbar.vue.d.ts +3 -3
  94. package/es/components/src/base/scrollbar/index.d.ts +7 -7
  95. package/es/components/src/base/scrollbar/scrollbar.d.ts +1 -1
  96. package/es/components/src/base/segmented/Segmented.vue.d.ts +1 -1
  97. package/es/components/src/base/segmented/index.d.ts +3 -3
  98. package/es/components/src/base/select/Select.vue.d.ts +7 -7
  99. package/es/components/src/base/select/index.d.ts +21 -21
  100. package/es/components/src/base/selectV2/SelectV2.vue.d.ts +8 -8
  101. package/es/components/src/base/selectV2/index.d.ts +24 -24
  102. package/es/components/src/base/skeletonItem/SkeletonItem.vue.d.ts +3 -3
  103. package/es/components/src/base/skeletonItem/index.d.ts +7 -7
  104. package/es/components/src/base/skeletonItem/skeletonItem.d.ts +1 -1
  105. package/es/components/src/base/slider/Slider.vue.d.ts +2 -2
  106. package/es/components/src/base/slider/index.d.ts +5 -5
  107. package/es/components/src/base/space/Space.vue.d.ts +5 -5
  108. package/es/components/src/base/space/index.d.ts +13 -13
  109. package/es/components/src/base/space/space.d.ts +1 -1
  110. package/es/components/src/base/steps/Steps.vue.d.ts +1 -1
  111. package/es/components/src/base/steps/index.d.ts +3 -3
  112. package/es/components/src/base/switch/Switch.vue.d.ts +2 -2
  113. package/es/components/src/base/switch/index.d.ts +5 -5
  114. package/es/components/src/base/table/Table.vue.d.ts +5 -5
  115. package/es/components/src/base/table/index.d.ts +10 -10
  116. package/es/components/src/base/table/table.d.ts +2 -2
  117. package/es/components/src/base/tableColumn/TableColumn.vue.d.ts +4 -4
  118. package/es/components/src/base/tableColumn/index.d.ts +10 -10
  119. package/es/components/src/base/tableColumn/tableColumn.d.ts +1 -1
  120. package/es/components/src/base/tableV2/TableV2.vue.d.ts +3 -3
  121. package/es/components/src/base/tableV2/index.d.ts +7 -7
  122. package/es/components/src/base/tableV2/tableV2.d.ts +1 -1
  123. package/es/components/src/base/tag/Tag.vue.d.ts +3 -3
  124. package/es/components/src/base/tag/index.d.ts +8 -8
  125. package/es/components/src/base/text/Text.vue.d.ts +1 -1
  126. package/es/components/src/base/text/index.d.ts +3 -3
  127. package/es/components/src/base/timePicker/TimePicker.vue.d.ts +6 -6
  128. package/es/components/src/base/timePicker/index.d.ts +18 -18
  129. package/es/components/src/base/timeSelect/TimeSelect.vue.d.ts +6 -6
  130. package/es/components/src/base/timeSelect/index.d.ts +18 -18
  131. package/es/components/src/base/timelineItem/TimelineItem.vue.d.ts +3 -3
  132. package/es/components/src/base/timelineItem/index.d.ts +9 -9
  133. package/es/components/src/base/tooltip/Tooltip.vue.d.ts +5 -5
  134. package/es/components/src/base/tooltip/index.d.ts +13 -13
  135. package/es/components/src/base/tooltip/tooltip.d.ts +1 -1
  136. package/es/components/src/base/tour/Tour.vue.d.ts +1 -1
  137. package/es/components/src/base/tour/index.d.ts +3 -3
  138. package/es/components/src/base/tourStep/TourStep.vue.d.ts +1 -1
  139. package/es/components/src/base/tourStep/index.d.ts +3 -3
  140. package/es/components/src/base/treeSelect/TreeSelect.vue.d.ts +8 -8
  141. package/es/components/src/base/upload/Upload.vue.d.ts +6 -6
  142. package/es/components/src/base/upload/index.d.ts +16 -16
  143. package/es/components/src/base/upload/upload.d.ts +1 -1
  144. package/es/components/src/business/uploadItem/UploadItem.vue.d.ts +7 -7
  145. package/es/components/src/business/uploadItem/index.d.ts +19 -19
  146. package/es/components/src/business/uploadItem/uploadItem.d.ts +1 -1
  147. package/es/components/src/business/uploadPro/UploadPro.vue.d.ts +8 -8
  148. package/es/components/src/business/uploadPro/index.d.ts +22 -22
  149. package/es/components/src/business/uploadPro/uploadPro.d.ts +1 -1
  150. package/es/components/src/composite/dialogForm/DialogForm.vue.d.ts +14 -14
  151. package/es/components/src/composite/dialogForm/index.d.ts +40 -40
  152. package/es/components/src/composite/drawerForm/DrawerForm.vue.d.ts +18 -18
  153. package/es/components/src/composite/drawerForm/index.d.ts +52 -52
  154. package/es/components/src/composite/fileComponent/FileComponent.vue.d.ts +1 -1
  155. package/es/components/src/composite/fileComponent/index.d.ts +3 -3
  156. package/es/components/src/composite/fileList2/FileList.vue.d.ts +1 -1
  157. package/es/components/src/composite/fileList2/index.d.ts +3 -3
  158. package/es/components/src/composite/formItemModule/FormItemModule.vue.d.ts +3 -3
  159. package/es/components/src/composite/formItemModule/index.d.ts +3 -3
  160. package/es/components/src/composite/importDialog/ImportDialog.vue.d.ts +5 -5
  161. package/es/components/src/composite/importDialog/importDialog.d.ts +1 -1
  162. package/es/components/src/composite/importDialog/index.d.ts +13 -13
  163. package/es/components/src/composite/memoryForm/MemoryForm.vue.d.ts +1 -1
  164. package/es/components/src/composite/memoryForm/index.d.ts +3 -3
  165. package/es/components/src/composite/numberInterval/NumberInterval.vue.d.ts +1 -1
  166. package/es/components/src/composite/numberInterval/index.d.ts +1 -1
  167. package/es/components/src/composite/operateButton/OperateButton.vue.d.ts +3 -3
  168. package/es/components/src/composite/operateButton/index.d.ts +3 -3
  169. package/es/components/src/composite/operateButton/operateButton.d.ts +1 -1
  170. package/es/components/src/composite/previewFile/PreviewFile.vue.d.ts +1 -1
  171. package/es/components/src/composite/previewFile/index.d.ts +1 -1
  172. package/es/components/src/composite/ruleEditor/RuleEditor.vue.d.ts +1 -1
  173. package/es/components/src/composite/ruleEditor/index.d.ts +1 -1
  174. package/es/components/src/composite/searchForm/searchFormItems/cascader/SearchFormCascader.vue.d.ts +4 -4
  175. package/es/components/src/composite/searchForm/searchFormItems/cascader/index.d.ts +4 -4
  176. package/es/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue.d.ts +4 -4
  177. package/es/components/src/composite/searchForm/searchFormItems/datePicker/index.d.ts +4 -4
  178. package/es/components/src/composite/searchForm/searchFormItems/input/SearchFormInput.vue.d.ts +6 -6
  179. package/es/components/src/composite/searchForm/searchFormItems/input/index.d.ts +6 -6
  180. package/es/components/src/composite/searchForm/searchFormItems/numberInterval/SearchFormNumberInterval.vue.d.ts +1 -1
  181. package/es/components/src/composite/searchForm/searchFormItems/numberInterval/index.d.ts +1 -1
  182. package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +5 -5
  183. package/es/components/src/composite/searchForm/searchFormItems/select/index.d.ts +5 -5
  184. package/es/components/src/composite/searchForm/searchFormItems/selectV2/SearchFormSelectV2.vue.d.ts +5 -5
  185. package/es/components/src/composite/searchForm/searchFormItems/selectV2/index.d.ts +5 -5
  186. package/es/components/src/composite/selectOptions/SelectOptions.vue.d.ts +6 -6
  187. package/es/components/src/composite/selectOptions/index.d.ts +18 -18
  188. package/es/components/src/composite/tableCustom/TableCustom.vue.d.ts +8 -8
  189. package/es/components/src/composite/tableCustom/customOperate/customOperate.d.ts +1 -1
  190. package/es/components/src/composite/tableCustom/index.d.ts +19 -19
  191. package/es/components/src/composite/tableCustom/tableCustom.d.ts +2 -2
  192. package/es/components/src/composite/tablePro/TablePro.vue.d.ts +8 -8
  193. package/es/components/src/composite/tablePro/index.d.ts +19 -19
  194. package/es/components/src/composite/tablePro/tableColumnPro/TableColumnPro.vue.d.ts +4 -4
  195. package/es/components/src/composite/tablePro/tableColumnPro/index.d.ts +10 -10
  196. package/es/components/src/composite/tablePro/tableColumnPro/tableColumnPro.d.ts +1 -1
  197. package/es/components/src/composite/tablePro/tablePagination/TablePagination.vue.d.ts +2 -2
  198. package/es/components/src/composite/tablePro/tablePagination/index.d.ts +2 -2
  199. package/es/components/src/composite/tablePro/tablePro.d.ts +2 -2
  200. package/es/components/src/composite/uploadFile/UploadFile.vue.d.ts +9 -9
  201. package/es/components/src/composite/uploadFile/index.d.ts +25 -25
  202. package/es/components/src/composite/uploadFile/uploadFile.d.ts +1 -1
  203. package/es/components/src/plugins/message/method.d.ts +4 -4
  204. package/es/constants/key.d.ts +9 -0
  205. package/es/constants/key.mjs.map +1 -1
  206. package/es/crx/src/login/LoginPrompt.vue.d.ts +1 -1
  207. package/es/giime/index.mjs +1 -0
  208. package/es/giime/index.mjs.map +1 -1
  209. package/es/giime/makeInstaller.mjs +5 -0
  210. package/es/giime/makeInstaller.mjs.map +1 -1
  211. package/es/giime/version.d.ts +1 -1
  212. package/es/giime/version.mjs +1 -1
  213. package/es/giime/version.mjs.map +1 -1
  214. package/es/track/__tests__/reliability.test.d.ts +1 -0
  215. package/es/track/__tests__/track.test.d.ts +1 -0
  216. package/es/track/axios.d.ts +1 -0
  217. package/es/track/html.d.ts +1 -0
  218. package/es/track/index.d.ts +16 -0
  219. package/es/track/src/adapters/axios.d.ts +19 -0
  220. package/es/track/src/adapters/html.d.ts +18 -0
  221. package/es/track/src/adapters/vue2.d.ts +35 -0
  222. package/es/track/src/adapters/vue3.d.ts +69 -0
  223. package/es/track/src/collectors/click.d.ts +10 -0
  224. package/es/track/src/collectors/error.d.ts +13 -0
  225. package/es/track/src/collectors/exposure.d.ts +9 -0
  226. package/es/track/src/collectors/formAndCopy.d.ts +10 -0
  227. package/es/track/src/collectors/hover.d.ts +10 -0
  228. package/es/track/src/collectors/lifecycle.d.ts +14 -0
  229. package/es/track/src/collectors/scrollAndPath.d.ts +10 -0
  230. package/es/track/src/core/pendingStore.d.ts +7 -0
  231. package/es/track/src/core/queue.d.ts +68 -0
  232. package/es/track/src/core/session.d.ts +138 -0
  233. package/es/track/src/core/singleton.d.ts +49 -0
  234. package/es/track/src/core/tracker.d.ts +226 -0
  235. package/es/track/src/types/index.d.ts +351 -0
  236. package/es/track/src/utils/browser.d.ts +16 -0
  237. package/es/track/src/utils/dom.d.ts +89 -0
  238. package/es/track/src/utils/env.d.ts +101 -0
  239. package/es/track/src/utils/id.d.ts +80 -0
  240. package/es/track/vue2.d.ts +1 -0
  241. package/es/track/vue3.d.ts +1 -0
  242. package/es/utils/index.d.ts +1 -0
  243. package/es/utils/index.mjs +1 -0
  244. package/es/utils/index.mjs.map +1 -1
  245. package/es/utils/src/watermark/index.d.ts +191 -0
  246. package/es/utils/src/watermark/index.mjs +758 -0
  247. package/es/utils/src/watermark/index.mjs.map +1 -0
  248. package/es/watermark/__tests__/watermark.test.d.ts +1 -0
  249. package/es/watermark/auto.d.ts +7 -0
  250. package/es/watermark/index.d.ts +9 -0
  251. package/es/watermark/src/adapters/vue2.d.ts +18 -0
  252. package/es/watermark/src/adapters/vue3.d.ts +23 -0
  253. package/es/watermark/src/core.d.ts +148 -0
  254. package/es/watermark/src/iframe.d.ts +67 -0
  255. package/es/watermark/src/types.d.ts +182 -0
  256. package/es/watermark/src/user.d.ts +71 -0
  257. package/es/watermark/vue2.d.ts +10 -0
  258. package/es/watermark/vue3.d.ts +2 -0
  259. package/lib/components/src/base/affix/Affix.vue.d.ts +2 -2
  260. package/lib/components/src/base/alert/Alert.vue.d.ts +3 -3
  261. package/lib/components/src/base/alert/index.d.ts +8 -8
  262. package/lib/components/src/base/anchor/Anchor.vue.d.ts +1 -1
  263. package/lib/components/src/base/anchor/index.d.ts +3 -3
  264. package/lib/components/src/base/autocomplete/Autocomplete.vue.d.ts +11 -11
  265. package/lib/components/src/base/autocomplete/autocomplete.d.ts +1 -1
  266. package/lib/components/src/base/autocomplete/index.d.ts +30 -30
  267. package/lib/components/src/base/badge/Badge.vue.d.ts +1 -1
  268. package/lib/components/src/base/badge/index.d.ts +3 -3
  269. package/lib/components/src/base/button/Button.vue.d.ts +9 -9
  270. package/lib/components/src/base/button/button.d.ts +4 -4
  271. package/lib/components/src/base/button/index.d.ts +23 -23
  272. package/lib/components/src/base/buttonGroup/ButtonGroup.vue.d.ts +3 -3
  273. package/lib/components/src/base/buttonGroup/buttonGroup.d.ts +1 -1
  274. package/lib/components/src/base/buttonGroup/index.d.ts +7 -7
  275. package/lib/components/src/base/carousel/Carousel.vue.d.ts +1 -1
  276. package/lib/components/src/base/carousel/index.d.ts +3 -3
  277. package/lib/components/src/base/cascader/Cascader.vue.d.ts +6 -6
  278. package/lib/components/src/base/cascader/index.d.ts +18 -18
  279. package/lib/components/src/base/chart/Chart.vue.d.ts +2 -2
  280. package/lib/components/src/base/chart/index.d.ts +2 -2
  281. package/lib/components/src/base/checkbox/Checkbox.vue.d.ts +2 -2
  282. package/lib/components/src/base/checkbox/index.d.ts +6 -6
  283. package/lib/components/src/base/checkboxButton/CheckboxButton.vue.d.ts +2 -2
  284. package/lib/components/src/base/checkboxButton/index.d.ts +6 -6
  285. package/lib/components/src/base/col/Col.vue.d.ts +1 -1
  286. package/lib/components/src/base/col/index.d.ts +3 -3
  287. package/lib/components/src/base/collapseItem/CollapseItem.vue.d.ts +1 -1
  288. package/lib/components/src/base/collapseItem/index.d.ts +3 -3
  289. package/lib/components/src/base/colorPicker/ColorPicker.vue.d.ts +6 -6
  290. package/lib/components/src/base/colorPicker/index.d.ts +6 -6
  291. package/lib/components/src/base/colorPickerPanel/ColorPickerPanel.vue.d.ts +1 -1
  292. package/lib/components/src/base/colorPickerPanel/index.d.ts +1 -1
  293. package/lib/components/src/base/datePicker/DatePicker.vue.d.ts +5 -5
  294. package/lib/components/src/base/datePicker/index.d.ts +15 -15
  295. package/lib/components/src/base/datePickerPanel/DatePickerPanel.vue.d.ts +1 -1
  296. package/lib/components/src/base/datePickerPanel/index.d.ts +3 -3
  297. package/lib/components/src/base/descriptions/Descriptions.vue.d.ts +1 -1
  298. package/lib/components/src/base/descriptions/index.d.ts +3 -3
  299. package/lib/components/src/base/descriptionsItem/DescriptionsItem.vue.d.ts +6 -6
  300. package/lib/components/src/base/descriptionsItem/descriptionsItem.d.ts +2 -2
  301. package/lib/components/src/base/descriptionsItem/index.d.ts +14 -14
  302. package/lib/components/src/base/dialog/Dialog.vue.d.ts +3 -3
  303. package/lib/components/src/base/dialog/index.d.ts +8 -8
  304. package/lib/components/src/base/divider/Divider.vue.d.ts +3 -3
  305. package/lib/components/src/base/divider/divider.d.ts +1 -1
  306. package/lib/components/src/base/divider/index.d.ts +7 -7
  307. package/lib/components/src/base/drawer/Drawer.vue.d.ts +4 -4
  308. package/lib/components/src/base/drawer/index.d.ts +11 -11
  309. package/lib/components/src/base/dropdown/Dropdown.vue.d.ts +7 -7
  310. package/lib/components/src/base/dropdown/dropdown.d.ts +2 -2
  311. package/lib/components/src/base/dropdown/index.d.ts +17 -17
  312. package/lib/components/src/base/form/Form.vue.d.ts +1 -1
  313. package/lib/components/src/base/form/index.d.ts +3 -3
  314. package/lib/components/src/base/image/Image.vue.d.ts +3 -3
  315. package/lib/components/src/base/image/index.d.ts +8 -8
  316. package/lib/components/src/base/imageViewer/ImageViewer.vue.d.ts +2 -2
  317. package/lib/components/src/base/imageViewer/index.d.ts +4 -4
  318. package/lib/components/src/base/input/Input.vue.d.ts +14 -14
  319. package/lib/components/src/base/input/index.d.ts +38 -38
  320. package/lib/components/src/base/input/input.d.ts +1 -1
  321. package/lib/components/src/base/inputNumber/InputNumber.vue.d.ts +12 -12
  322. package/lib/components/src/base/inputNumber/index.d.ts +31 -31
  323. package/lib/components/src/base/inputNumber/inputNumber.d.ts +2 -2
  324. package/lib/components/src/base/inputTag/InputTag.vue.d.ts +6 -6
  325. package/lib/components/src/base/inputTag/index.d.ts +17 -17
  326. package/lib/components/src/base/link/Link.vue.d.ts +1 -1
  327. package/lib/components/src/base/link/index.d.ts +3 -3
  328. package/lib/components/src/base/mention/Mention.vue.d.ts +13 -13
  329. package/lib/components/src/base/mention/index.d.ts +37 -37
  330. package/lib/components/src/base/mention/mention.d.ts +1 -1
  331. package/lib/components/src/base/menu/Menu.vue.d.ts +4 -4
  332. package/lib/components/src/base/menu/index.d.ts +10 -10
  333. package/lib/components/src/base/pagination/Pagination.vue.d.ts +1 -1
  334. package/lib/components/src/base/pagination/index.d.ts +3 -3
  335. package/lib/components/src/base/popconfirm/Popconfirm.vue.d.ts +8 -8
  336. package/lib/components/src/base/popconfirm/index.d.ts +19 -19
  337. package/lib/components/src/base/popconfirm/popconfirm.d.ts +2 -2
  338. package/lib/components/src/base/popover/Popover.vue.d.ts +3 -3
  339. package/lib/components/src/base/popover/index.d.ts +9 -9
  340. package/lib/components/src/base/popper/Popper.vue.d.ts +3 -3
  341. package/lib/components/src/base/popper/index.d.ts +7 -7
  342. package/lib/components/src/base/popper/popper.d.ts +1 -1
  343. package/lib/components/src/base/progress/Progress.vue.d.ts +2 -2
  344. package/lib/components/src/base/progress/index.d.ts +6 -6
  345. package/lib/components/src/base/radio/Radio.vue.d.ts +1 -1
  346. package/lib/components/src/base/radio/index.d.ts +3 -3
  347. package/lib/components/src/base/radioGroup/RadioGroup.vue.d.ts +1 -1
  348. package/lib/components/src/base/radioGroup/index.d.ts +3 -3
  349. package/lib/components/src/base/result/Result.vue.d.ts +1 -1
  350. package/lib/components/src/base/result/index.d.ts +3 -3
  351. package/lib/components/src/base/scrollbar/Scrollbar.vue.d.ts +3 -3
  352. package/lib/components/src/base/scrollbar/index.d.ts +7 -7
  353. package/lib/components/src/base/scrollbar/scrollbar.d.ts +1 -1
  354. package/lib/components/src/base/segmented/Segmented.vue.d.ts +1 -1
  355. package/lib/components/src/base/segmented/index.d.ts +3 -3
  356. package/lib/components/src/base/select/Select.vue.d.ts +7 -7
  357. package/lib/components/src/base/select/index.d.ts +21 -21
  358. package/lib/components/src/base/selectV2/SelectV2.vue.d.ts +8 -8
  359. package/lib/components/src/base/selectV2/index.d.ts +24 -24
  360. package/lib/components/src/base/skeletonItem/SkeletonItem.vue.d.ts +3 -3
  361. package/lib/components/src/base/skeletonItem/index.d.ts +7 -7
  362. package/lib/components/src/base/skeletonItem/skeletonItem.d.ts +1 -1
  363. package/lib/components/src/base/slider/Slider.vue.d.ts +2 -2
  364. package/lib/components/src/base/slider/index.d.ts +5 -5
  365. package/lib/components/src/base/space/Space.vue.d.ts +5 -5
  366. package/lib/components/src/base/space/index.d.ts +13 -13
  367. package/lib/components/src/base/space/space.d.ts +1 -1
  368. package/lib/components/src/base/steps/Steps.vue.d.ts +1 -1
  369. package/lib/components/src/base/steps/index.d.ts +3 -3
  370. package/lib/components/src/base/switch/Switch.vue.d.ts +2 -2
  371. package/lib/components/src/base/switch/index.d.ts +5 -5
  372. package/lib/components/src/base/table/Table.vue.d.ts +5 -5
  373. package/lib/components/src/base/table/index.d.ts +10 -10
  374. package/lib/components/src/base/table/table.d.ts +2 -2
  375. package/lib/components/src/base/tableColumn/TableColumn.vue.d.ts +4 -4
  376. package/lib/components/src/base/tableColumn/index.d.ts +10 -10
  377. package/lib/components/src/base/tableColumn/tableColumn.d.ts +1 -1
  378. package/lib/components/src/base/tableV2/TableV2.vue.d.ts +3 -3
  379. package/lib/components/src/base/tableV2/index.d.ts +7 -7
  380. package/lib/components/src/base/tableV2/tableV2.d.ts +1 -1
  381. package/lib/components/src/base/tag/Tag.vue.d.ts +3 -3
  382. package/lib/components/src/base/tag/index.d.ts +8 -8
  383. package/lib/components/src/base/text/Text.vue.d.ts +1 -1
  384. package/lib/components/src/base/text/index.d.ts +3 -3
  385. package/lib/components/src/base/timePicker/TimePicker.vue.d.ts +6 -6
  386. package/lib/components/src/base/timePicker/index.d.ts +18 -18
  387. package/lib/components/src/base/timeSelect/TimeSelect.vue.d.ts +6 -6
  388. package/lib/components/src/base/timeSelect/index.d.ts +18 -18
  389. package/lib/components/src/base/timelineItem/TimelineItem.vue.d.ts +3 -3
  390. package/lib/components/src/base/timelineItem/index.d.ts +9 -9
  391. package/lib/components/src/base/tooltip/Tooltip.vue.d.ts +5 -5
  392. package/lib/components/src/base/tooltip/index.d.ts +13 -13
  393. package/lib/components/src/base/tooltip/tooltip.d.ts +1 -1
  394. package/lib/components/src/base/tour/Tour.vue.d.ts +1 -1
  395. package/lib/components/src/base/tour/index.d.ts +3 -3
  396. package/lib/components/src/base/tourStep/TourStep.vue.d.ts +1 -1
  397. package/lib/components/src/base/tourStep/index.d.ts +3 -3
  398. package/lib/components/src/base/treeSelect/TreeSelect.vue.d.ts +8 -8
  399. package/lib/components/src/base/upload/Upload.vue.d.ts +6 -6
  400. package/lib/components/src/base/upload/index.d.ts +16 -16
  401. package/lib/components/src/base/upload/upload.d.ts +1 -1
  402. package/lib/components/src/business/uploadItem/UploadItem.vue.d.ts +7 -7
  403. package/lib/components/src/business/uploadItem/index.d.ts +19 -19
  404. package/lib/components/src/business/uploadItem/uploadItem.d.ts +1 -1
  405. package/lib/components/src/business/uploadPro/UploadPro.vue.d.ts +8 -8
  406. package/lib/components/src/business/uploadPro/index.d.ts +22 -22
  407. package/lib/components/src/business/uploadPro/uploadPro.d.ts +1 -1
  408. package/lib/components/src/composite/dialogForm/DialogForm.vue.d.ts +14 -14
  409. package/lib/components/src/composite/dialogForm/index.d.ts +40 -40
  410. package/lib/components/src/composite/drawerForm/DrawerForm.vue.d.ts +18 -18
  411. package/lib/components/src/composite/drawerForm/index.d.ts +52 -52
  412. package/lib/components/src/composite/fileComponent/FileComponent.vue.d.ts +1 -1
  413. package/lib/components/src/composite/fileComponent/index.d.ts +3 -3
  414. package/lib/components/src/composite/fileList2/FileList.vue.d.ts +1 -1
  415. package/lib/components/src/composite/fileList2/index.d.ts +3 -3
  416. package/lib/components/src/composite/formItemModule/FormItemModule.vue.d.ts +3 -3
  417. package/lib/components/src/composite/formItemModule/index.d.ts +3 -3
  418. package/lib/components/src/composite/importDialog/ImportDialog.vue.d.ts +5 -5
  419. package/lib/components/src/composite/importDialog/importDialog.d.ts +1 -1
  420. package/lib/components/src/composite/importDialog/index.d.ts +13 -13
  421. package/lib/components/src/composite/memoryForm/MemoryForm.vue.d.ts +1 -1
  422. package/lib/components/src/composite/memoryForm/index.d.ts +3 -3
  423. package/lib/components/src/composite/numberInterval/NumberInterval.vue.d.ts +1 -1
  424. package/lib/components/src/composite/numberInterval/index.d.ts +1 -1
  425. package/lib/components/src/composite/operateButton/OperateButton.vue.d.ts +3 -3
  426. package/lib/components/src/composite/operateButton/index.d.ts +3 -3
  427. package/lib/components/src/composite/operateButton/operateButton.d.ts +1 -1
  428. package/lib/components/src/composite/previewFile/PreviewFile.vue.d.ts +1 -1
  429. package/lib/components/src/composite/previewFile/index.d.ts +1 -1
  430. package/lib/components/src/composite/ruleEditor/RuleEditor.vue.d.ts +1 -1
  431. package/lib/components/src/composite/ruleEditor/index.d.ts +1 -1
  432. package/lib/components/src/composite/searchForm/searchFormItems/cascader/SearchFormCascader.vue.d.ts +4 -4
  433. package/lib/components/src/composite/searchForm/searchFormItems/cascader/index.d.ts +4 -4
  434. package/lib/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue.d.ts +4 -4
  435. package/lib/components/src/composite/searchForm/searchFormItems/datePicker/index.d.ts +4 -4
  436. package/lib/components/src/composite/searchForm/searchFormItems/input/SearchFormInput.vue.d.ts +6 -6
  437. package/lib/components/src/composite/searchForm/searchFormItems/input/index.d.ts +6 -6
  438. package/lib/components/src/composite/searchForm/searchFormItems/numberInterval/SearchFormNumberInterval.vue.d.ts +1 -1
  439. package/lib/components/src/composite/searchForm/searchFormItems/numberInterval/index.d.ts +1 -1
  440. package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +5 -5
  441. package/lib/components/src/composite/searchForm/searchFormItems/select/index.d.ts +5 -5
  442. package/lib/components/src/composite/searchForm/searchFormItems/selectV2/SearchFormSelectV2.vue.d.ts +5 -5
  443. package/lib/components/src/composite/searchForm/searchFormItems/selectV2/index.d.ts +5 -5
  444. package/lib/components/src/composite/selectOptions/SelectOptions.vue.d.ts +6 -6
  445. package/lib/components/src/composite/selectOptions/index.d.ts +18 -18
  446. package/lib/components/src/composite/tableCustom/TableCustom.vue.d.ts +8 -8
  447. package/lib/components/src/composite/tableCustom/customOperate/customOperate.d.ts +1 -1
  448. package/lib/components/src/composite/tableCustom/index.d.ts +19 -19
  449. package/lib/components/src/composite/tableCustom/tableCustom.d.ts +2 -2
  450. package/lib/components/src/composite/tablePro/TablePro.vue.d.ts +8 -8
  451. package/lib/components/src/composite/tablePro/index.d.ts +19 -19
  452. package/lib/components/src/composite/tablePro/tableColumnPro/TableColumnPro.vue.d.ts +4 -4
  453. package/lib/components/src/composite/tablePro/tableColumnPro/index.d.ts +10 -10
  454. package/lib/components/src/composite/tablePro/tableColumnPro/tableColumnPro.d.ts +1 -1
  455. package/lib/components/src/composite/tablePro/tablePagination/TablePagination.vue.d.ts +2 -2
  456. package/lib/components/src/composite/tablePro/tablePagination/index.d.ts +2 -2
  457. package/lib/components/src/composite/tablePro/tablePro.d.ts +2 -2
  458. package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +9 -9
  459. package/lib/components/src/composite/uploadFile/index.d.ts +25 -25
  460. package/lib/components/src/composite/uploadFile/uploadFile.d.ts +1 -1
  461. package/lib/components/src/plugins/message/method.d.ts +4 -4
  462. package/lib/constants/key.d.ts +9 -0
  463. package/lib/constants/key.js.map +1 -1
  464. package/lib/crx/src/login/LoginPrompt.vue.d.ts +1 -1
  465. package/lib/giime/index.js +404 -385
  466. package/lib/giime/index.js.map +1 -1
  467. package/lib/giime/makeInstaller.js +5 -0
  468. package/lib/giime/makeInstaller.js.map +1 -1
  469. package/lib/giime/version.d.ts +1 -1
  470. package/lib/giime/version.js +1 -1
  471. package/lib/giime/version.js.map +1 -1
  472. package/lib/track/__tests__/reliability.test.d.ts +1 -0
  473. package/lib/track/__tests__/track.test.d.ts +1 -0
  474. package/lib/track/axios.d.ts +1 -0
  475. package/lib/track/html.d.ts +1 -0
  476. package/lib/track/index.d.ts +16 -0
  477. package/lib/track/src/adapters/axios.d.ts +19 -0
  478. package/lib/track/src/adapters/html.d.ts +18 -0
  479. package/lib/track/src/adapters/vue2.d.ts +35 -0
  480. package/lib/track/src/adapters/vue3.d.ts +69 -0
  481. package/lib/track/src/collectors/click.d.ts +10 -0
  482. package/lib/track/src/collectors/error.d.ts +13 -0
  483. package/lib/track/src/collectors/exposure.d.ts +9 -0
  484. package/lib/track/src/collectors/formAndCopy.d.ts +10 -0
  485. package/lib/track/src/collectors/hover.d.ts +10 -0
  486. package/lib/track/src/collectors/lifecycle.d.ts +14 -0
  487. package/lib/track/src/collectors/scrollAndPath.d.ts +10 -0
  488. package/lib/track/src/core/pendingStore.d.ts +7 -0
  489. package/lib/track/src/core/queue.d.ts +68 -0
  490. package/lib/track/src/core/session.d.ts +138 -0
  491. package/lib/track/src/core/singleton.d.ts +49 -0
  492. package/lib/track/src/core/tracker.d.ts +226 -0
  493. package/lib/track/src/types/index.d.ts +351 -0
  494. package/lib/track/src/utils/browser.d.ts +16 -0
  495. package/lib/track/src/utils/dom.d.ts +89 -0
  496. package/lib/track/src/utils/env.d.ts +101 -0
  497. package/lib/track/src/utils/id.d.ts +80 -0
  498. package/lib/track/vue2.d.ts +1 -0
  499. package/lib/track/vue3.d.ts +1 -0
  500. package/lib/utils/index.d.ts +1 -0
  501. package/lib/utils/index.js +19 -0
  502. package/lib/utils/index.js.map +1 -1
  503. package/lib/utils/src/watermark/index.d.ts +191 -0
  504. package/lib/utils/src/watermark/index.js +777 -0
  505. package/lib/utils/src/watermark/index.js.map +1 -0
  506. package/lib/watermark/__tests__/watermark.test.d.ts +1 -0
  507. package/lib/watermark/auto.d.ts +7 -0
  508. package/lib/watermark/index.d.ts +9 -0
  509. package/lib/watermark/src/adapters/vue2.d.ts +18 -0
  510. package/lib/watermark/src/adapters/vue3.d.ts +23 -0
  511. package/lib/watermark/src/core.d.ts +148 -0
  512. package/lib/watermark/src/iframe.d.ts +67 -0
  513. package/lib/watermark/src/types.d.ts +182 -0
  514. package/lib/watermark/src/user.d.ts +71 -0
  515. package/lib/watermark/vue2.d.ts +10 -0
  516. package/lib/watermark/vue3.d.ts +2 -0
  517. package/package.json +1 -1
@@ -0,0 +1,777 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var core = require('@vueuse/core');
5
+ var Cookies = require('js-cookie');
6
+ var index$1 = require('../../../hooks/store/useLogin/index.js');
7
+ var index = require('../../../hooks/store/userCenter/useCurrentUser/index.js');
8
+
9
+ var __defProp = Object.defineProperty;
10
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
12
+ const GIIME_WATERMARK_GLOBAL_SYMBOL = Symbol.for("__giime.watermark.singleton__");
13
+ const WATERMARK_MESSAGE_TYPES = {
14
+ PING: "giime-watermark:ping",
15
+ PONG: "giime-watermark:pong",
16
+ SUPPRESS: "giime-watermark:suppress"
17
+ };
18
+ const WATERMARK_DOM_CONSTANTS = {
19
+ CONTAINER_ID: "__giime_watermark__",
20
+ CONTAINER_CLASS: "giime-watermark-container",
21
+ LEGACY_ITEM_CLASS: "mask_div",
22
+ ROOT_ATTR: "data-giime-watermark"
23
+ };
24
+ const sanitizeUserId = (raw) => {
25
+ if (raw === void 0 || raw === null) {
26
+ return "";
27
+ }
28
+ const str = String(raw).trim();
29
+ if (!str || str === "undefined" || str === "null" || str === "NaN") {
30
+ return "";
31
+ }
32
+ return str;
33
+ };
34
+ let storeVerifiedUserId = "";
35
+ const resolveWatermarkUserId = (config) => {
36
+ if (config?.getUserId) {
37
+ try {
38
+ const customId = sanitizeUserId(config.getUserId());
39
+ if (customId) {
40
+ return customId;
41
+ }
42
+ } catch {
43
+ }
44
+ }
45
+ const explicitId = sanitizeUserId(config?.userId);
46
+ if (explicitId) {
47
+ return explicitId;
48
+ }
49
+ if (storeVerifiedUserId) {
50
+ return storeVerifiedUserId;
51
+ }
52
+ return sanitizeUserId(Cookies.get("sso_user_id"));
53
+ };
54
+ const formatWatermarkDate = (date = /* @__PURE__ */ new Date()) => {
55
+ const year = date.getFullYear();
56
+ const monthNum = date.getMonth() + 1;
57
+ const dayNum = date.getDate();
58
+ const month = monthNum < 10 ? `0${monthNum}` : String(monthNum);
59
+ const day = dayNum < 10 ? `0${dayNum}` : String(dayNum);
60
+ return `${year}\u5E74${month}\u6708${day}\u65E5`;
61
+ };
62
+ const buildWatermarkText = (config, resolvedUserId, dateStr = formatWatermarkDate()) => {
63
+ const userId = resolvedUserId !== void 0 ? sanitizeUserId(resolvedUserId) : resolveWatermarkUserId(config);
64
+ const prefix = config.prefix || "\u5409\u5BA2\u5370";
65
+ if (typeof config.text === "function") {
66
+ return config.text({ userId, date: dateStr, prefix });
67
+ }
68
+ if (typeof config.text === "string" && config.text.trim()) {
69
+ return config.text.trim();
70
+ }
71
+ return userId ? `${prefix}-${userId}-${dateStr}` : `${prefix}-${dateStr}`;
72
+ };
73
+ const isInIframe = (win) => {
74
+ const targetWin = win ?? (typeof window !== "undefined" ? window : void 0);
75
+ if (!targetWin) {
76
+ return false;
77
+ }
78
+ try {
79
+ return targetWin.self !== targetWin.top;
80
+ } catch {
81
+ return true;
82
+ }
83
+ };
84
+ const inspectSameOriginAncestors = (win) => {
85
+ const targetWin = win ?? (typeof window !== "undefined" ? window : void 0);
86
+ if (!targetWin || !isInIframe(targetWin)) {
87
+ return { hasWatermark: false, allAncestorsAccessible: true };
88
+ }
89
+ let current = targetWin;
90
+ let depth = 0;
91
+ let allAncestorsAccessible = true;
92
+ while (current && depth < 15) {
93
+ depth++;
94
+ let parentWin = null;
95
+ try {
96
+ parentWin = current.parent;
97
+ } catch {
98
+ allAncestorsAccessible = false;
99
+ break;
100
+ }
101
+ if (!parentWin || parentWin === current) {
102
+ break;
103
+ }
104
+ try {
105
+ const anyParent = parentWin;
106
+ if (anyParent.__GIIME_WATERMARK_ACTIVE__ === true) {
107
+ return { hasWatermark: true, allAncestorsAccessible };
108
+ }
109
+ const parentDoc = parentWin.document;
110
+ if (parentDoc) {
111
+ if (parentDoc.getElementById(WATERMARK_DOM_CONSTANTS.CONTAINER_ID) || parentDoc.documentElement?.getAttribute(WATERMARK_DOM_CONSTANTS.ROOT_ATTR) === "active" || parentDoc.querySelector(`.${WATERMARK_DOM_CONSTANTS.LEGACY_ITEM_CLASS}`)) {
112
+ return { hasWatermark: true, allAncestorsAccessible };
113
+ }
114
+ } else {
115
+ allAncestorsAccessible = false;
116
+ }
117
+ } catch {
118
+ allAncestorsAccessible = false;
119
+ }
120
+ try {
121
+ if (parentWin === targetWin.top) {
122
+ break;
123
+ }
124
+ } catch {
125
+ allAncestorsAccessible = false;
126
+ break;
127
+ }
128
+ current = parentWin;
129
+ }
130
+ return { hasWatermark: false, allAncestorsAccessible };
131
+ };
132
+ const hasSameOriginAncestorWatermark = (win) => {
133
+ return inspectSameOriginAncestors(win).hasWatermark;
134
+ };
135
+ const shouldRenderWatermark = (strategy = "ancestor-detect", win) => {
136
+ const targetWin = win ?? (typeof window !== "undefined" ? window : void 0);
137
+ if (!targetWin || typeof document === "undefined") {
138
+ return { shouldRender: false, inIframe: false, needsAsyncDetect: false, reason: "ssr" };
139
+ }
140
+ if (strategy === "never") {
141
+ return { shouldRender: false, inIframe: isInIframe(targetWin), needsAsyncDetect: false, reason: "disabled" };
142
+ }
143
+ const inIframe = isInIframe(targetWin);
144
+ if (strategy === "always") {
145
+ return {
146
+ shouldRender: true,
147
+ inIframe,
148
+ needsAsyncDetect: false,
149
+ reason: inIframe ? "rendered-forced" : "rendered-top"
150
+ };
151
+ }
152
+ if (!inIframe) {
153
+ return {
154
+ shouldRender: true,
155
+ inIframe: false,
156
+ needsAsyncDetect: false,
157
+ reason: "rendered-top"
158
+ };
159
+ }
160
+ if (strategy === "top-only") {
161
+ return {
162
+ shouldRender: false,
163
+ inIframe: true,
164
+ needsAsyncDetect: false,
165
+ reason: "suppressed-in-iframe"
166
+ };
167
+ }
168
+ const { hasWatermark, allAncestorsAccessible } = inspectSameOriginAncestors(targetWin);
169
+ if (hasWatermark) {
170
+ return {
171
+ shouldRender: false,
172
+ inIframe: true,
173
+ needsAsyncDetect: false,
174
+ reason: "suppressed-by-ancestor"
175
+ };
176
+ }
177
+ return {
178
+ shouldRender: true,
179
+ inIframe: true,
180
+ needsAsyncDetect: !allAncestorsAccessible,
181
+ reason: "rendered-fallback"
182
+ };
183
+ };
184
+ const broadcastSuppressToChildFrames = (text) => {
185
+ if (typeof document === "undefined") {
186
+ return;
187
+ }
188
+ try {
189
+ const iframes = document.querySelectorAll("iframe");
190
+ const message = {
191
+ type: WATERMARK_MESSAGE_TYPES.SUPPRESS,
192
+ active: true,
193
+ text
194
+ };
195
+ iframes.forEach((iframe) => {
196
+ try {
197
+ iframe.contentWindow?.postMessage(message, "*");
198
+ } catch {
199
+ }
200
+ });
201
+ } catch {
202
+ }
203
+ };
204
+ const detectAncestorWatermarkAsync = (timeoutMs = 120) => {
205
+ if (typeof window === "undefined" || !isInIframe(window)) {
206
+ return Promise.resolve(false);
207
+ }
208
+ const { hasWatermark, allAncestorsAccessible } = inspectSameOriginAncestors(window);
209
+ if (hasWatermark) {
210
+ return Promise.resolve(true);
211
+ }
212
+ if (allAncestorsAccessible) {
213
+ return Promise.resolve(false);
214
+ }
215
+ return new Promise((resolve) => {
216
+ let settled = false;
217
+ const finish = (hasAncestor) => {
218
+ if (settled) return;
219
+ settled = true;
220
+ window.removeEventListener("message", onMessage);
221
+ clearTimeout(timer);
222
+ resolve(hasAncestor);
223
+ };
224
+ const onMessage = (event) => {
225
+ const data = event?.data;
226
+ if (data && typeof data === "object" && (data.type === WATERMARK_MESSAGE_TYPES.PONG || data.type === WATERMARK_MESSAGE_TYPES.SUPPRESS) && data.active !== false) {
227
+ finish(true);
228
+ }
229
+ };
230
+ window.addEventListener("message", onMessage);
231
+ const timer = setTimeout(() => finish(false), Math.max(20, timeoutMs));
232
+ const pingPayload = { type: WATERMARK_MESSAGE_TYPES.PING, timestamp: Date.now() };
233
+ try {
234
+ window.parent?.postMessage(pingPayload, "*");
235
+ } catch {
236
+ }
237
+ try {
238
+ if (window.top && window.top !== window.parent) {
239
+ window.top.postMessage(pingPayload, "*");
240
+ }
241
+ } catch {
242
+ }
243
+ });
244
+ };
245
+ const normalizeWatermarkOptions = (options = {}, base) => {
246
+ return {
247
+ enabled: options.enabled ?? base?.enabled ?? true,
248
+ iframeStrategy: options.iframeStrategy ?? base?.iframeStrategy ?? "ancestor-detect",
249
+ detectTimeoutMs: options.detectTimeoutMs ?? base?.detectTimeoutMs ?? 120,
250
+ prefix: options.prefix ?? base?.prefix ?? "\u5409\u5BA2\u5370",
251
+ userId: options.userId !== void 0 ? options.userId : base?.userId,
252
+ getUserId: options.getUserId ?? base?.getUserId,
253
+ text: options.text ?? base?.text,
254
+ x: options.x ?? base?.x ?? 20,
255
+ y: options.y ?? base?.y ?? 20,
256
+ rows: options.rows ?? base?.rows ?? 20,
257
+ cols: options.cols ?? base?.cols ?? 20,
258
+ xSpace: options.xSpace ?? base?.xSpace ?? 100,
259
+ ySpace: options.ySpace ?? base?.ySpace ?? 50,
260
+ color: options.color ?? base?.color ?? "#aaa",
261
+ alpha: options.alpha ?? base?.alpha ?? 0.1,
262
+ fontSize: options.fontSize ?? base?.fontSize ?? "15px",
263
+ font: options.font ?? base?.font ?? "\u5FAE\u8F6F\u96C5\u9ED1",
264
+ width: options.width ?? base?.width ?? 210,
265
+ height: options.height ?? base?.height ?? 80,
266
+ angle: options.angle ?? base?.angle ?? 20,
267
+ zIndex: options.zIndex ?? base?.zIndex ?? 9999,
268
+ antiTamper: options.antiTamper ?? base?.antiTamper ?? true,
269
+ watchResize: options.watchResize ?? base?.watchResize ?? true,
270
+ cleanLegacyMask: options.cleanLegacyMask ?? base?.cleanLegacyMask ?? true
271
+ };
272
+ };
273
+ const calculateWatermarkGrid = (config, viewportWidth, viewportHeight) => {
274
+ const cutWidth = viewportWidth * 0.015;
275
+ const pageWidth = Math.max(320, viewportWidth - cutWidth);
276
+ const pageHeight = Math.max(viewportHeight + 450, window.innerHeight ? window.innerHeight - 40 : 720);
277
+ let cols = config.cols;
278
+ let xSpace = config.xSpace;
279
+ let rows = config.rows;
280
+ let ySpace = config.ySpace;
281
+ const totalConfigWidth = Math.trunc(config.x + config.width * cols + xSpace * (cols - 1));
282
+ if (cols === 0 || totalConfigWidth > pageWidth) {
283
+ cols = Math.max(1, Math.trunc((pageWidth - config.x + xSpace) / (config.width + xSpace)));
284
+ xSpace = cols > 1 ? Math.max(0, Math.trunc((pageWidth - config.x - config.width * cols) / (cols - 1))) : 0;
285
+ }
286
+ const totalConfigHeight = Math.trunc(config.y + config.height * rows + ySpace * (rows - 1));
287
+ if (rows === 0 || totalConfigHeight > pageHeight) {
288
+ rows = Math.max(1, Math.trunc((ySpace + pageHeight - config.y) / (config.height + ySpace)));
289
+ ySpace = rows > 1 ? Math.max(0, Math.trunc((pageHeight - config.y - config.height * rows) / (rows - 1))) : 0;
290
+ }
291
+ return { cols, rows, xSpace, ySpace };
292
+ };
293
+ const removeLegacyBodyMasks = () => {
294
+ if (typeof document === "undefined" || !document.body) {
295
+ return;
296
+ }
297
+ const legacyNodes = document.body.querySelectorAll(`:scope > .${WATERMARK_DOM_CONSTANTS.LEGACY_ITEM_CLASS}`);
298
+ legacyNodes.forEach((node) => {
299
+ node.parentNode?.removeChild(node);
300
+ });
301
+ };
302
+ class GiimeWatermark {
303
+ constructor(options) {
304
+ __publicField(this, "config");
305
+ __publicField(this, "state");
306
+ __publicField(this, "containerEl", null);
307
+ __publicField(this, "mutationObserver", null);
308
+ __publicField(this, "resizeTimer", null);
309
+ __publicField(this, "isRenderingInternal", false);
310
+ __publicField(this, "listenersAttached", false);
311
+ __publicField(this, "domReadyListenerAttached", false);
312
+ __publicField(this, "handleWindowResize", () => {
313
+ if (!this.state.active || !this.config.watchResize) {
314
+ return;
315
+ }
316
+ if (this.resizeTimer) {
317
+ clearTimeout(this.resizeTimer);
318
+ }
319
+ this.resizeTimer = setTimeout(() => {
320
+ this.render();
321
+ }, 150);
322
+ });
323
+ __publicField(this, "handleWindowMessage", (event) => {
324
+ const data = event?.data;
325
+ if (!data || typeof data !== "object") {
326
+ return;
327
+ }
328
+ if (data.type === WATERMARK_MESSAGE_TYPES.PING && this.state.active) {
329
+ try {
330
+ const sourceWin = event.source;
331
+ sourceWin?.postMessage(
332
+ {
333
+ type: WATERMARK_MESSAGE_TYPES.PONG,
334
+ active: true,
335
+ text: this.state.text
336
+ },
337
+ "*"
338
+ );
339
+ } catch {
340
+ }
341
+ return;
342
+ }
343
+ if ((data.type === WATERMARK_MESSAGE_TYPES.SUPPRESS || data.type === WATERMARK_MESSAGE_TYPES.PONG) && data.active !== false && isInIframe() && this.config.iframeStrategy !== "always") {
344
+ this.suppressWatermark("suppressed-by-ancestor");
345
+ }
346
+ });
347
+ this.config = normalizeWatermarkOptions(options);
348
+ this.state = {
349
+ inIframe: isInIframe(),
350
+ active: false,
351
+ reason: "disabled",
352
+ text: "",
353
+ userId: "",
354
+ rows: 0,
355
+ cols: 0
356
+ };
357
+ this.bootstrap();
358
+ }
359
+ bootstrap() {
360
+ if (typeof window === "undefined" || typeof document === "undefined") {
361
+ this.state.reason = "ssr";
362
+ return;
363
+ }
364
+ this.attachGlobalListeners();
365
+ if (!this.config.enabled) {
366
+ this.suppressWatermark("disabled");
367
+ return;
368
+ }
369
+ const decision = shouldRenderWatermark(this.config.iframeStrategy);
370
+ this.state.inIframe = decision.inIframe;
371
+ if (!decision.shouldRender) {
372
+ this.suppressWatermark(
373
+ decision.reason
374
+ );
375
+ return;
376
+ }
377
+ if (this.config.iframeStrategy === "ancestor-detect" && decision.inIframe && decision.needsAsyncDetect) {
378
+ detectAncestorWatermarkAsync(this.config.detectTimeoutMs).then((hasAncestor) => {
379
+ if (!this.config.enabled) {
380
+ return;
381
+ }
382
+ if (hasAncestor) {
383
+ this.suppressWatermark("suppressed-by-ancestor");
384
+ } else {
385
+ this.activateWatermark("rendered-fallback");
386
+ }
387
+ });
388
+ return;
389
+ }
390
+ this.activateWatermark(decision.reason);
391
+ }
392
+ activateWatermark(reason) {
393
+ this.state.reason = reason;
394
+ this.state.active = true;
395
+ if (typeof window !== "undefined") {
396
+ window.__GIIME_WATERMARK_ACTIVE__ = true;
397
+ }
398
+ if (typeof document !== "undefined" && document.documentElement) {
399
+ document.documentElement.setAttribute(WATERMARK_DOM_CONSTANTS.ROOT_ATTR, "active");
400
+ }
401
+ if (typeof document !== "undefined" && !document.body) {
402
+ if (!this.domReadyListenerAttached) {
403
+ this.domReadyListenerAttached = true;
404
+ window.addEventListener(
405
+ "DOMContentLoaded",
406
+ () => {
407
+ this.domReadyListenerAttached = false;
408
+ if (this.state.active) {
409
+ this.render();
410
+ }
411
+ },
412
+ { once: true }
413
+ );
414
+ }
415
+ return;
416
+ }
417
+ this.render();
418
+ }
419
+ suppressWatermark(reason) {
420
+ this.state.active = false;
421
+ this.state.reason = reason;
422
+ this.state.rows = 0;
423
+ this.state.cols = 0;
424
+ this.stopMutationObserver();
425
+ if (typeof window !== "undefined") {
426
+ window.__GIIME_WATERMARK_ACTIVE__ = false;
427
+ }
428
+ if (typeof document !== "undefined") {
429
+ document.documentElement?.setAttribute(WATERMARK_DOM_CONSTANTS.ROOT_ATTR, reason);
430
+ if (this.config.cleanLegacyMask) {
431
+ removeLegacyBodyMasks();
432
+ }
433
+ const existing = document.getElementById(WATERMARK_DOM_CONSTANTS.CONTAINER_ID);
434
+ existing?.parentNode?.removeChild(existing);
435
+ }
436
+ this.containerEl = null;
437
+ }
438
+ render() {
439
+ if (typeof window === "undefined" || typeof document === "undefined" || !document.body) {
440
+ return;
441
+ }
442
+ if (!this.state.active) {
443
+ return;
444
+ }
445
+ this.isRenderingInternal = true;
446
+ this.stopMutationObserver();
447
+ try {
448
+ if (this.config.cleanLegacyMask) {
449
+ removeLegacyBodyMasks();
450
+ }
451
+ const resolvedUserId = resolveWatermarkUserId(this.config);
452
+ const dateStr = formatWatermarkDate();
453
+ const watermarkText = buildWatermarkText(this.config, resolvedUserId, dateStr);
454
+ this.state.userId = resolvedUserId;
455
+ this.state.text = watermarkText;
456
+ const viewportWidth = Math.max(
457
+ window.innerWidth || 0,
458
+ document.documentElement?.clientWidth || 0,
459
+ document.body.clientWidth || 0,
460
+ 1024
461
+ );
462
+ const viewportHeight = Math.max(
463
+ window.innerHeight || 0,
464
+ document.documentElement?.clientHeight || 0,
465
+ 768
466
+ );
467
+ const { cols, rows, xSpace, ySpace } = calculateWatermarkGrid(this.config, viewportWidth, viewportHeight);
468
+ this.state.cols = cols;
469
+ this.state.rows = rows;
470
+ let container = document.getElementById(WATERMARK_DOM_CONSTANTS.CONTAINER_ID);
471
+ if (!container) {
472
+ container = document.createElement("div");
473
+ container.id = WATERMARK_DOM_CONSTANTS.CONTAINER_ID;
474
+ container.className = WATERMARK_DOM_CONSTANTS.CONTAINER_CLASS;
475
+ container.setAttribute("data-giime-watermark-container", "true");
476
+ container.setAttribute("aria-hidden", "true");
477
+ document.body.appendChild(container);
478
+ }
479
+ container.setAttribute(
480
+ "style",
481
+ [
482
+ "position: fixed !important",
483
+ "top: 0px !important",
484
+ "left: 0px !important",
485
+ "width: 100vw !important",
486
+ "height: 100vh !important",
487
+ "overflow: hidden !important",
488
+ "pointer-events: none !important",
489
+ "user-select: none !important",
490
+ "-webkit-user-select: none !important",
491
+ `z-index: ${this.config.zIndex} !important`,
492
+ "display: block !important",
493
+ "visibility: visible !important",
494
+ "opacity: 1 !important",
495
+ "background: transparent !important"
496
+ ].join("; ")
497
+ );
498
+ const fragment = document.createDocumentFragment();
499
+ const rotateStr = `rotate(-${this.config.angle}deg)`;
500
+ for (let i = 0; i < rows; i++) {
501
+ const y = this.config.y + (ySpace + this.config.height) * i;
502
+ for (let j = 0; j < cols; j++) {
503
+ const x = this.config.x + (this.config.width + xSpace) * j;
504
+ const maskDiv = document.createElement("div");
505
+ maskDiv.id = `mask_div${i}${j}`;
506
+ maskDiv.className = WATERMARK_DOM_CONSTANTS.LEGACY_ITEM_CLASS;
507
+ maskDiv.appendChild(document.createTextNode(watermarkText));
508
+ maskDiv.style.webkitTransform = rotateStr;
509
+ maskDiv.style.MozTransform = rotateStr;
510
+ maskDiv.style.msTransform = rotateStr;
511
+ maskDiv.style.OTransform = rotateStr;
512
+ maskDiv.style.transform = rotateStr;
513
+ maskDiv.style.visibility = "";
514
+ maskDiv.style.position = "absolute";
515
+ maskDiv.style.left = `${x}px`;
516
+ maskDiv.style.top = `${y}px`;
517
+ maskDiv.style.overflow = "hidden";
518
+ maskDiv.style.zIndex = String(this.config.zIndex);
519
+ maskDiv.style.pointerEvents = "none";
520
+ maskDiv.style.opacity = String(this.config.alpha);
521
+ maskDiv.style.fontSize = this.config.fontSize;
522
+ maskDiv.style.fontFamily = /^['"]/.test(this.config.font) || this.config.font.includes(",") ? this.config.font : `"${this.config.font}"`;
523
+ maskDiv.style.color = this.config.color;
524
+ maskDiv.style.textAlign = "center";
525
+ maskDiv.style.width = `${this.config.width}px`;
526
+ maskDiv.style.height = `${this.config.height}px`;
527
+ maskDiv.style.display = "block";
528
+ fragment.appendChild(maskDiv);
529
+ }
530
+ }
531
+ container.innerHTML = "";
532
+ container.appendChild(fragment);
533
+ this.containerEl = container;
534
+ broadcastSuppressToChildFrames(watermarkText);
535
+ } finally {
536
+ this.isRenderingInternal = false;
537
+ if (this.config.antiTamper && this.state.active) {
538
+ this.startMutationObserver();
539
+ }
540
+ }
541
+ }
542
+ startMutationObserver() {
543
+ if (typeof MutationObserver === "undefined" || typeof document === "undefined" || !document.body || this.mutationObserver) {
544
+ return;
545
+ }
546
+ this.mutationObserver = new MutationObserver((mutations) => {
547
+ if (this.isRenderingInternal || !this.state.active) {
548
+ return;
549
+ }
550
+ let needRestore = false;
551
+ for (const mutation of mutations) {
552
+ if (mutation.type === "childList") {
553
+ const added = Array.from(mutation.addedNodes);
554
+ for (const node of added) {
555
+ const el = node;
556
+ if (el?.tagName === "IFRAME") {
557
+ el.addEventListener(
558
+ "load",
559
+ () => {
560
+ if (this.state.active) {
561
+ broadcastSuppressToChildFrames(this.state.text);
562
+ }
563
+ },
564
+ { once: true }
565
+ );
566
+ }
567
+ }
568
+ const removed = Array.from(mutation.removedNodes);
569
+ if (removed.some(
570
+ (node) => node === this.containerEl || node?.id === WATERMARK_DOM_CONSTANTS.CONTAINER_ID || node?.classList?.contains(WATERMARK_DOM_CONSTANTS.LEGACY_ITEM_CLASS)
571
+ )) {
572
+ needRestore = true;
573
+ break;
574
+ }
575
+ }
576
+ if (mutation.type === "attributes") {
577
+ const targetEl = mutation.target;
578
+ if (targetEl === this.containerEl || targetEl?.id === WATERMARK_DOM_CONSTANTS.CONTAINER_ID || targetEl?.classList?.contains(WATERMARK_DOM_CONSTANTS.LEGACY_ITEM_CLASS)) {
579
+ needRestore = true;
580
+ break;
581
+ }
582
+ }
583
+ }
584
+ if (needRestore) {
585
+ this.render();
586
+ }
587
+ });
588
+ this.mutationObserver.observe(document.body, { childList: true });
589
+ if (this.containerEl) {
590
+ this.mutationObserver.observe(this.containerEl, {
591
+ attributes: true,
592
+ attributeFilter: ["style", "class", "id", "hidden"],
593
+ childList: true,
594
+ subtree: true
595
+ });
596
+ }
597
+ }
598
+ stopMutationObserver() {
599
+ if (this.mutationObserver) {
600
+ this.mutationObserver.disconnect();
601
+ this.mutationObserver = null;
602
+ }
603
+ }
604
+ attachGlobalListeners() {
605
+ if (this.listenersAttached || typeof window === "undefined") {
606
+ return;
607
+ }
608
+ this.listenersAttached = true;
609
+ window.addEventListener("resize", this.handleWindowResize, { passive: true });
610
+ window.addEventListener("message", this.handleWindowMessage);
611
+ }
612
+ detachGlobalListeners() {
613
+ if (!this.listenersAttached || typeof window === "undefined") {
614
+ return;
615
+ }
616
+ this.listenersAttached = false;
617
+ window.removeEventListener("resize", this.handleWindowResize);
618
+ window.removeEventListener("message", this.handleWindowMessage);
619
+ }
620
+ updateConfig(options = {}) {
621
+ this.config = normalizeWatermarkOptions(options, this.config);
622
+ this.bootstrap();
623
+ return this;
624
+ }
625
+ setUserId(userId) {
626
+ this.config.userId = userId;
627
+ return this.refresh();
628
+ }
629
+ refresh() {
630
+ if (this.state.active) {
631
+ this.render();
632
+ } else {
633
+ this.bootstrap();
634
+ }
635
+ return this;
636
+ }
637
+ getState() {
638
+ return { ...this.state };
639
+ }
640
+ getConfig() {
641
+ return { ...this.config };
642
+ }
643
+ destroy() {
644
+ this.stopMutationObserver();
645
+ if (this.resizeTimer) {
646
+ clearTimeout(this.resizeTimer);
647
+ this.resizeTimer = null;
648
+ }
649
+ this.detachGlobalListeners();
650
+ this.suppressWatermark("disabled");
651
+ storeVerifiedUserId = "";
652
+ currentUserStoreBound = false;
653
+ const g = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : null;
654
+ if (g && g[GIIME_WATERMARK_GLOBAL_SYMBOL] === this) {
655
+ delete g[GIIME_WATERMARK_GLOBAL_SYMBOL];
656
+ }
657
+ if (typeof window !== "undefined" && window.__GIIME_WATERMARK__ === this) {
658
+ delete window.__GIIME_WATERMARK__;
659
+ }
660
+ }
661
+ }
662
+ const getWatermarkInstance = () => {
663
+ const g = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : null;
664
+ if (!g) {
665
+ return null;
666
+ }
667
+ return g[GIIME_WATERMARK_GLOBAL_SYMBOL] || null;
668
+ };
669
+ let currentUserStoreBound = false;
670
+ const autoIdentifyWatermarkUser = async (instance) => {
671
+ if (currentUserStoreBound) {
672
+ return;
673
+ }
674
+ try {
675
+ const currentUserStore = index.useCurrentUserStore();
676
+ const loginStore = index$1.useLoginStore();
677
+ currentUserStoreBound = true;
678
+ const hasToken = Boolean(Cookies.get("token") || loginStore.userToken);
679
+ if (hasToken && !currentUserStore.userInfo?.id && !currentUserStore.isLoading) {
680
+ currentUserStore.getUserInfo().catch(() => {
681
+ });
682
+ }
683
+ loginStore.onLoginResult(() => {
684
+ if (!currentUserStore.isLoading) {
685
+ currentUserStore.getUserInfo().catch(() => {
686
+ });
687
+ }
688
+ });
689
+ vue.watch(
690
+ () => currentUserStore.userInfo?.id,
691
+ (newId) => {
692
+ const cleanId = sanitizeUserId(newId);
693
+ if (cleanId && cleanId !== storeVerifiedUserId) {
694
+ storeVerifiedUserId = cleanId;
695
+ if (cleanId !== instance.getState().userId) {
696
+ instance.refresh();
697
+ }
698
+ }
699
+ },
700
+ { immediate: true }
701
+ );
702
+ await core.until(() => currentUserStore.userInfo?.id).toBeTruthy();
703
+ const finalId = sanitizeUserId(currentUserStore.userInfo?.id);
704
+ if (finalId && finalId !== storeVerifiedUserId) {
705
+ storeVerifiedUserId = finalId;
706
+ if (finalId !== instance.getState().userId) {
707
+ instance.refresh();
708
+ }
709
+ }
710
+ } catch {
711
+ }
712
+ };
713
+ const initWatermark = (options) => {
714
+ const g = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : {};
715
+ let instance = g[GIIME_WATERMARK_GLOBAL_SYMBOL];
716
+ if (!instance) {
717
+ instance = new GiimeWatermark(options);
718
+ g[GIIME_WATERMARK_GLOBAL_SYMBOL] = instance;
719
+ if (typeof window !== "undefined") {
720
+ window.__GIIME_WATERMARK__ = instance;
721
+ }
722
+ } else if (options && Object.keys(options).length > 0) {
723
+ instance.updateConfig(options);
724
+ } else {
725
+ instance.refresh();
726
+ }
727
+ Promise.resolve().then(() => {
728
+ if (instance) {
729
+ autoIdentifyWatermarkUser(instance);
730
+ }
731
+ });
732
+ return instance;
733
+ };
734
+ const createWatermark = initWatermark;
735
+ const destroyWatermark = () => {
736
+ getWatermarkInstance()?.destroy();
737
+ };
738
+ const useWatermark = (options) => {
739
+ return initWatermark(options);
740
+ };
741
+ const Watermark = {
742
+ init: initWatermark,
743
+ create: createWatermark,
744
+ getInstance: getWatermarkInstance,
745
+ destroy: destroyWatermark,
746
+ setUserId(userId) {
747
+ return initWatermark({ userId });
748
+ },
749
+ refresh() {
750
+ return getWatermarkInstance()?.refresh() ?? initWatermark();
751
+ },
752
+ getState() {
753
+ return getWatermarkInstance()?.getState() ?? null;
754
+ },
755
+ isInIframe,
756
+ shouldRenderWatermark
757
+ };
758
+
759
+ exports.GIIME_WATERMARK_GLOBAL_SYMBOL = GIIME_WATERMARK_GLOBAL_SYMBOL;
760
+ exports.GiimeWatermark = GiimeWatermark;
761
+ exports.WATERMARK_DOM_CONSTANTS = WATERMARK_DOM_CONSTANTS;
762
+ exports.WATERMARK_MESSAGE_TYPES = WATERMARK_MESSAGE_TYPES;
763
+ exports.Watermark = Watermark;
764
+ exports.buildWatermarkText = buildWatermarkText;
765
+ exports.createWatermark = createWatermark;
766
+ exports.destroyWatermark = destroyWatermark;
767
+ exports.formatWatermarkDate = formatWatermarkDate;
768
+ exports.getWatermarkInstance = getWatermarkInstance;
769
+ exports.hasSameOriginAncestorWatermark = hasSameOriginAncestorWatermark;
770
+ exports.initWatermark = initWatermark;
771
+ exports.inspectSameOriginAncestors = inspectSameOriginAncestors;
772
+ exports.isInIframe = isInIframe;
773
+ exports.resolveWatermarkUserId = resolveWatermarkUserId;
774
+ exports.sanitizeUserId = sanitizeUserId;
775
+ exports.shouldRenderWatermark = shouldRenderWatermark;
776
+ exports.useWatermark = useWatermark;
777
+ //# sourceMappingURL=index.js.map