useblocks 1.1.85-dev.9 → 1.1.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -0
- package/README.md +74 -41
- package/compat-globals.js +1 -1
- package/iframe/.vite/manifest.json +4 -4
- package/iframe/css/sandbox.css +35 -1
- package/iframe/{iframe.bb6d921f.html → iframe-eblock.1c4e77a0.html} +2 -2
- package/iframe/{iframe-eblock.bb6d921f.html → iframe.1c4e77a0.html} +2 -2
- package/iframe/js/discussHandlers.Xh4-JUcT.js +88 -0
- package/iframe/js/{iframe-eblock.body.js → iframe-eblock.body.1c4e77a0.js} +1 -1
- package/iframe/js/iframe-eblock.js +2 -2
- package/iframe/js/iframe.body.1c4e77a0.js +319 -0
- package/iframe/js/iframe.js +2 -2
- package/package.json +8 -1
- package/runtime/THIRD_PARTY_LICENSES.txt +49 -42
- package/runtime/package.json +4 -1
- package/runtime/react/index.js +1 -1
- package/runtime/uuid/index.js +21 -0
- package/static/core/11b821ed.js +1 -0
- package/static/core/160bf060.js +104 -0
- package/static/core/1b68c0f0.js +1 -0
- package/static/core/1ed86ed3.js +1 -0
- package/static/core/26cc947d.js +1 -0
- package/static/core/{67f78cad.js → 3ec42945.js} +7 -7
- package/static/core/3fb172c7.js +1 -0
- package/static/core/448f03f8.js +1 -0
- package/static/core/44d2c046.js +1 -0
- package/static/core/{79749848.js → 4c8d0155.js} +5 -5
- package/static/core/53103851.js +4 -0
- package/static/core/{a767f327.js → 5d849eef.js} +1 -1
- package/static/core/5e7c221f.js +28 -0
- package/static/core/64be048b.js +27 -0
- package/static/core/{de07cade.js → 6a671446.js} +3 -3
- package/static/core/{db82c42b.js → 756874c6.js} +1 -1
- package/static/core/{4c3f5897.js → 847338a8.js} +2 -2
- package/static/core/91e07171.js +2 -0
- package/static/core/a2e57e5f.js +1 -0
- package/static/core/{a5996860.js → a6303cb2.js} +1 -1
- package/static/core/{9f137764.js → a98b6879.js} +1 -1
- package/static/core/ae22b7f6.js +93 -0
- package/static/core/{44a83e21.js → b653f9c5.js} +1 -1
- package/static/core/{cb46784e.js → b7aa9fec.js} +1 -1
- package/static/core/{d8bbcfbd.js → ca4dad9b.js} +2 -2
- package/static/core/{6faa23a1.js → cc180859.js} +1 -1
- package/static/core/d7666ad0.js +291 -0
- package/static/core/dcc37768.js +1 -0
- package/static/core/edf450a1.js +7 -0
- package/static/core/f1ee2bef.js +1 -0
- package/static/core/{1e3078da.js → f323e60e.js} +1 -1
- package/static/core/{175b5b0f.js → ff7d14e8.js} +1 -1
- package/static/esm/2490dab8.js +1 -0
- package/static/esm/668ee399.js +1 -0
- package/static/esm/971f1b2c.js +1 -0
- package/static/esm/f76c9d9d.js +1 -0
- package/static/umd/6639d610.js +1 -0
- package/static/umd-runtime/B7h7P1Np.js +1 -0
- package/static/umd-runtime/{DHIkHsbq.js → BAqQTgiL.js} +1 -1
- package/static/umd-runtime/{DiNHpyis.js → BB6AXfHj.js} +1 -1
- package/static/umd-runtime/{CnUGCoaH.js → BauvM4c_.js} +1 -1
- package/static/umd-runtime/{cL_ha9ef.js → CgVJ4rE0.js} +1 -1
- package/static/umd-runtime/Cvm7BS4_.js +341 -0
- package/static/umd-runtime/{BnE05QKl.js → D7DggGzi.js} +1 -1
- package/static/umd-runtime/{2iAslXEF.js → DBbch1O-.js} +1 -1
- package/static/umd-runtime/{Bcqtk2f7.js → Dqoi-pC_.js} +2 -2
- package/static/umd-runtime/{CDTBLHGd.js → G2k8ELiO.js} +3 -3
- package/static/umd-runtime/{CVtPwspX.js → SFp4nbvq.js} +1 -1
- package/static/umd-runtime/{DVB_-O4B.js → UsRzAWs2.js} +1 -1
- package/static/umd-runtime/runtime.2paN090q.js +1 -0
- package/static/umd-runtime/{ui-kit-icons.js → ui-kit-icons.DqlZwgBU.js} +1 -1
- package/static/umd-runtime/{ui-kit.js → ui-kit.CoVNet0I.js} +2 -2
- package/static/umd-runtime/{DP3QTW77.js → uk9LyZos.js} +1 -1
- package/ui-kit/icons.js +2 -0
- package/useblocks-core.1c4e77a0.js +859 -0
- package/useblocks-esm.js +11 -10
- package/{useblocks-po.bb6d921f.js → useblocks-po.1c4e77a0.js} +1 -1
- package/useblocks.d.ts +162 -28
- package/useblocks.js +39 -15
- package/vendor/@rc-component/cascader/package.json +1 -1
- package/vendor/@rc-component/dialog/es/Dialog/Content/Panel.js +3 -2
- package/vendor/@rc-component/dialog/package.json +1 -1
- package/vendor/@rc-component/image/es/Preview/index.js +3 -3
- package/vendor/@rc-component/image/package.json +1 -1
- package/vendor/@rc-component/input/es/BaseInput.js +3 -3
- package/vendor/@rc-component/input/es/Input.js +20 -27
- package/vendor/@rc-component/{textarea → input}/es/ResizableTextArea.js +5 -4
- package/vendor/@rc-component/{textarea → input}/es/TextArea.js +30 -40
- package/vendor/@rc-component/{textarea → input}/es/calculateNodeHeight.js +4 -4
- package/vendor/@rc-component/input/es/hooks/useCountDisplay.js +25 -0
- package/vendor/@rc-component/input/es/hooks/useCountExceed.js +25 -0
- package/vendor/@rc-component/input/es/hooks/useMergedValue.js +13 -0
- package/vendor/@rc-component/input/es/index.js +3 -1
- package/vendor/@rc-component/input/package.json +1 -1
- package/vendor/@rc-component/mentions/es/DropdownMenu.js +1 -1
- package/vendor/@rc-component/mentions/es/Mentions.js +35 -8
- package/vendor/@rc-component/mentions/package.json +1 -1
- package/vendor/@rc-component/menu/es/Menu.js +1 -0
- package/vendor/@rc-component/menu/es/MenuItem.js +1 -0
- package/vendor/@rc-component/menu/es/MenuItemGroup.js +1 -0
- package/vendor/@rc-component/menu/es/SubMenu/PopupTrigger.js +1 -0
- package/vendor/@rc-component/menu/es/SubMenu/index.js +1 -0
- package/vendor/@rc-component/menu/es/context/MenuContext.js +1 -0
- package/vendor/@rc-component/menu/es/hooks/useAccessibility.js +1 -0
- package/vendor/@rc-component/menu/es/hooks/useKeyRecords.js +1 -0
- package/vendor/@rc-component/menu/es/utils/commonUtil.js +1 -0
- package/vendor/@rc-component/menu/es/utils/nodeUtil.js +2 -1
- package/vendor/@rc-component/menu/es/utils/warnUtil.js +1 -0
- package/vendor/@rc-component/menu/package.json +1 -1
- package/vendor/@rc-component/notification/LICENSE +21 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/LICENSE +22 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Children/toArray.js +15 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/canUseDom.js +6 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/contains.js +13 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/dynamicCSS.js +94 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/findDOMNode.js +14 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/focus.js +99 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/isVisible.js +18 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/shadow.js +12 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/styleChecker.js +2 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/KeyCode.js +499 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/Portal.js +28 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/React/isFragment.js +12 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/React/render.js +2 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/getScrollBarSize.js +2 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useControlledState.js +3 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useDelayState.js +4 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useEvent.js +9 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useId.js +23 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useLayoutEffect.js +26 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useMemo.js +12 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useMergedState.js +4 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useState.js +24 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useSyncState.js +20 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/index.js +36 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/is.js +21 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/isEqual.js +35 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/isMobile.js +11 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/mergeProps.js +14 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/omit.js +1 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/pickAttrs.js +50 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/proxyObject.js +1 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/raf.js +36 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/ref.js +38 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/test/domHook.js +36 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/utils/get.js +11 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/utils/set.js +58 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/es/warning.js +46 -0
- package/vendor/@rc-component/notification/_/@rc-component/util/package.json +6 -0
- package/vendor/@rc-component/notification/es/Notification.js +129 -0
- package/vendor/@rc-component/notification/es/NotificationList/Content.js +33 -0
- package/vendor/@rc-component/notification/es/NotificationList/index.js +174 -0
- package/vendor/@rc-component/notification/es/NotificationProvider.js +4 -3
- package/vendor/@rc-component/notification/es/Notifications.js +28 -31
- package/vendor/@rc-component/notification/es/Progress.js +10 -0
- package/vendor/@rc-component/notification/es/hooks/useClosable.js +30 -0
- package/vendor/@rc-component/notification/es/hooks/useListPosition/index.js +50 -0
- package/vendor/@rc-component/notification/es/hooks/useListPosition/useSizes.js +33 -0
- package/vendor/@rc-component/notification/es/hooks/useNoticeTimer.js +58 -0
- package/vendor/@rc-component/notification/es/hooks/useNotification.js +27 -18
- package/vendor/@rc-component/notification/es/hooks/useStack.js +4 -4
- package/vendor/@rc-component/notification/es/index.js +4 -2
- package/vendor/@rc-component/notification/package.json +1 -1
- package/vendor/@rc-component/picker/es/PickerInput/Selector/SingleSelector/MultipleDates.js +13 -3
- package/vendor/@rc-component/picker/es/PickerInput/Selector/SingleSelector/index.js +3 -1
- package/vendor/@rc-component/picker/es/PickerInput/SinglePicker.js +2 -1
- package/vendor/@rc-component/picker/package.json +1 -1
- package/vendor/@rc-component/table/LICENSE +21 -0
- package/vendor/@rc-component/table/es/Body/MeasureCell.js +1 -0
- package/vendor/@rc-component/table/es/Body/MeasureRow.js +1 -0
- package/vendor/@rc-component/table/es/Cell/useCellRender.js +1 -0
- package/vendor/@rc-component/table/es/FixedHolder/index.js +1 -0
- package/vendor/@rc-component/table/es/Table.js +17 -9
- package/vendor/@rc-component/table/es/VirtualTable/BodyGrid.js +10 -4
- package/vendor/@rc-component/table/es/VirtualTable/BodyLine.js +13 -5
- package/vendor/@rc-component/table/es/hooks/useColumns/index.js +1 -0
- package/vendor/@rc-component/table/es/hooks/useExpand.js +1 -0
- package/vendor/@rc-component/table/es/hooks/useFixedInfo.js +1 -0
- package/vendor/@rc-component/table/es/hooks/useSticky.js +1 -0
- package/vendor/@rc-component/table/es/index.js +2 -1
- package/vendor/@rc-component/table/es/stickyScrollBar.js +1 -0
- package/vendor/@rc-component/table/es/utils/legacyUtil.js +1 -0
- package/vendor/@rc-component/table/es/utils/offsetUtil.js +1 -0
- package/vendor/@rc-component/table/package.json +1 -1
- package/vendor/@rc-component/tabs/es/TabNavList/OperationNode.js +4 -2
- package/vendor/@rc-component/tabs/es/TabNavList/TabNode.js +5 -4
- package/vendor/@rc-component/tabs/es/TabNavList/index.js +11 -4
- package/vendor/@rc-component/tabs/es/Tabs.js +1 -0
- package/vendor/@rc-component/tabs/es/hooks/useAnimateConfig.js +1 -0
- package/vendor/@rc-component/tabs/es/hooks/useIndicator.js +1 -0
- package/vendor/@rc-component/tabs/es/hooks/useUpdate.js +1 -0
- package/vendor/@rc-component/tabs/package.json +1 -1
- package/vendor/@rc-component/tour/es/TourStep/DefaultPanel.js +4 -1
- package/vendor/@rc-component/tour/package.json +1 -1
- package/vendor/@rc-component/tree/es/MotionTreeNode.js +1 -0
- package/vendor/@rc-component/tree/es/NodeList.js +2 -2
- package/vendor/@rc-component/tree/es/Tree.js +4 -5
- package/vendor/@rc-component/tree/es/TreeNode.js +7 -2
- package/vendor/@rc-component/tree/es/index.js +3 -0
- package/vendor/@rc-component/tree/es/useUnmount.js +1 -0
- package/vendor/@rc-component/tree/es/util.js +1 -0
- package/vendor/@rc-component/tree/es/utils/conductUtil.js +1 -0
- package/vendor/@rc-component/tree/es/utils/treeUtil.js +1 -0
- package/vendor/@rc-component/tree/package.json +1 -1
- package/vendor/@rc-component/tree-select/package.json +1 -1
- package/vendor/@rc-component/util/es/index.js +10 -10
- package/vendor/antd/es/_util/ActionButton.js +2 -3
- package/vendor/antd/es/_util/ContextIsolator.js +1 -1
- package/vendor/antd/es/_util/PurePanel.js +7 -4
- package/vendor/antd/es/_util/convertToTooltipProps.js +2 -2
- package/vendor/antd/es/_util/fallbackProp.js +15 -0
- package/vendor/antd/es/_util/gapSize.js +2 -1
- package/vendor/antd/es/_util/getRenderPropValue.js +2 -1
- package/vendor/antd/es/_util/getScroll.js +4 -4
- package/vendor/antd/es/_util/hooks/index.js +2 -2
- package/vendor/antd/es/_util/hooks/useAllowClear.js +25 -0
- package/vendor/antd/es/_util/hooks/useClosable.js +6 -5
- package/vendor/antd/es/_util/hooks/{useMergeSemantic.js → useMergeSemantic/index.js} +14 -24
- package/vendor/antd/es/_util/hooks/useMergeSemantic/utils.js +14 -0
- package/vendor/antd/es/_util/hooks/useMergedMask.js +2 -1
- package/vendor/antd/es/_util/is.js +27 -0
- package/vendor/antd/es/_util/motion.js +8 -8
- package/vendor/antd/es/_util/normalizeIcon.js +9 -0
- package/vendor/antd/es/_util/placements.js +2 -1
- package/vendor/antd/es/_util/reactNode.js +2 -1
- package/vendor/antd/es/_util/responsiveObserver.js +3 -2
- package/vendor/antd/es/_util/scrollTo.js +3 -1
- package/vendor/antd/es/_util/styleChecker.js +1 -0
- package/vendor/antd/es/_util/throttleByAnimationFrame.js +1 -0
- package/vendor/antd/es/_util/toList.js +1 -1
- package/vendor/antd/es/_util/wave/WaveEffect.js +3 -1
- package/vendor/antd/es/_util/wave/index.js +14 -4
- package/vendor/antd/es/_util/wave/util.js +5 -3
- package/vendor/antd/es/alert/Alert.js +12 -10
- package/vendor/antd/es/alert/ErrorBoundary.js +1 -1
- package/vendor/antd/es/alert/style/index.js +16 -10
- package/vendor/antd/es/anchor/Anchor.js +23 -16
- package/vendor/antd/es/anchor/AnchorLink.js +4 -4
- package/vendor/antd/es/app/App.js +7 -3
- package/vendor/antd/es/auto-complete/AutoComplete.js +7 -8
- package/vendor/antd/es/avatar/Avatar.js +5 -3
- package/vendor/antd/es/back-top/index.js +1 -0
- package/vendor/antd/es/badge/Badge.js +5 -6
- package/vendor/antd/es/badge/Ribbon.js +1 -2
- package/vendor/antd/es/badge/style/index.js +4 -3
- package/vendor/antd/es/border-beam/BorderBeam.js +42 -0
- package/vendor/antd/es/border-beam/BorderBeamEffect.js +24 -0
- package/vendor/antd/es/border-beam/hooks/useBorderSize.js +37 -0
- package/vendor/antd/es/border-beam/hooks/useChildDom.js +24 -0
- package/vendor/antd/es/border-beam/index.js +7 -0
- package/vendor/antd/es/border-beam/style/index.js +60 -0
- package/vendor/antd/es/border-beam/util.js +26 -0
- package/vendor/antd/es/breadcrumb/Breadcrumb.js +1 -2
- package/vendor/antd/es/breadcrumb/BreadcrumbItem.js +1 -1
- package/vendor/antd/es/breadcrumb/useItemRender.js +3 -2
- package/vendor/antd/es/button/Button.js +7 -6
- package/vendor/antd/es/button/buttonHelpers.js +4 -8
- package/vendor/antd/es/button/index.js +2 -2
- package/vendor/antd/es/button/style/index.js +5 -0
- package/vendor/antd/es/calendar/generateCalendar.js +20 -8
- package/vendor/antd/es/card/Card.js +5 -7
- package/vendor/antd/es/card/CardMeta.js +1 -2
- package/vendor/antd/es/carousel/index.js +2 -1
- package/vendor/antd/es/cascader/Panel.js +1 -1
- package/vendor/antd/es/cascader/index.js +23 -16
- package/vendor/antd/es/cascader/style/columns.js +6 -2
- package/vendor/antd/es/checkbox/Checkbox.js +2 -3
- package/vendor/antd/es/checkbox/Group.js +2 -1
- package/vendor/antd/es/checkbox/style/index.js +1 -5
- package/vendor/antd/es/checkbox/useBubbleLock.js +1 -0
- package/vendor/antd/es/collapse/Collapse.js +3 -3
- package/vendor/antd/es/collapse/style/index.js +1 -4
- package/vendor/antd/es/color-picker/ColorPicker.js +1 -2
- package/vendor/antd/es/color-picker/ColorPickerPanel.js +2 -1
- package/vendor/antd/es/color-picker/components/ColorTrigger.js +3 -1
- package/vendor/antd/es/color-picker/components/PanelPicker/index.js +1 -0
- package/vendor/antd/es/config-provider/hooks/useSize.js +3 -2
- package/vendor/antd/es/config-provider/hooks/useTheme.js +2 -0
- package/vendor/antd/es/config-provider/index.js +11 -3
- package/vendor/antd/es/date-picker/generatePicker/generateRangePicker.js +20 -10
- package/vendor/antd/es/date-picker/generatePicker/generateSinglePicker.js +17 -8
- package/vendor/antd/es/date-picker/generatePicker/useSuffixIcon.js +1 -1
- package/vendor/antd/es/date-picker/hooks/useMergedPickerSemantic.js +1 -2
- package/vendor/antd/es/date-picker/style/index.js +13 -3
- package/vendor/antd/es/date-picker/style/multiple.js +3 -4
- package/vendor/antd/es/date-picker/style/panel.js +5 -20
- package/vendor/antd/es/date-picker/util.js +14 -13
- package/vendor/antd/es/descriptions/Cell.js +2 -3
- package/vendor/antd/es/descriptions/hooks/useItems.js +2 -1
- package/vendor/antd/es/descriptions/index.js +3 -3
- package/vendor/antd/es/divider/index.js +3 -2
- package/vendor/antd/es/drawer/Drawer.js +10 -5
- package/vendor/antd/es/drawer/DrawerPanel.js +3 -2
- package/vendor/antd/es/dropdown/dropdown.js +11 -8
- package/vendor/antd/es/dropdown/style/index.js +2 -6
- package/vendor/antd/es/empty/index.js +1 -2
- package/vendor/antd/es/flex/index.js +2 -2
- package/vendor/antd/es/float-button/BackTop.js +1 -0
- package/vendor/antd/es/float-button/FloatButton.js +3 -3
- package/vendor/antd/es/float-button/FloatButtonGroup.js +2 -2
- package/vendor/antd/es/form/ErrorList.js +13 -6
- package/vendor/antd/es/form/Form.js +7 -6
- package/vendor/antd/es/form/FormItem/ItemHolder.js +1 -1
- package/vendor/antd/es/form/FormItem/index.js +6 -6
- package/vendor/antd/es/form/FormItemInput.js +5 -3
- package/vendor/antd/es/form/FormItemLabel.js +2 -1
- package/vendor/antd/es/form/FormList.js +1 -0
- package/vendor/antd/es/form/hooks/useChildren.js +4 -3
- package/vendor/antd/es/form/hooks/useForm.js +3 -1
- package/vendor/antd/es/form/hooks/useFrameState.js +1 -0
- package/vendor/antd/es/form/hooks/useItemRef.js +7 -5
- package/vendor/antd/es/form/style/index.js +1 -3
- package/vendor/antd/es/grid/col.js +5 -7
- package/vendor/antd/es/grid/hooks/useBreakpoint.js +1 -0
- package/vendor/antd/es/grid/hooks/useGutter.js +2 -1
- package/vendor/antd/es/grid/row.js +7 -6
- package/vendor/antd/es/image/PreviewGroup.js +1 -2
- package/vendor/antd/es/image/Progress.js +58 -0
- package/vendor/antd/es/image/hooks/useMergedPreviewConfig.js +3 -1
- package/vendor/antd/es/image/hooks/usePlaceholderConfig.js +15 -0
- package/vendor/antd/es/image/hooks/usePreviewConfig.js +3 -2
- package/vendor/antd/es/image/index.js +36 -5
- package/vendor/antd/es/image/style/index.js +114 -4
- package/vendor/antd/es/image/style/progressAnimation.js +26 -0
- package/vendor/antd/es/index.js +2 -1
- package/vendor/antd/es/input/Input.js +9 -4
- package/vendor/antd/es/input/OTP/OTPInput.js +1 -0
- package/vendor/antd/es/input/OTP/index.js +3 -3
- package/vendor/antd/es/input/Password.js +45 -26
- package/vendor/antd/es/input/Search.js +6 -5
- package/vendor/antd/es/input/TextArea.js +13 -7
- package/vendor/antd/es/input/style/index.js +17 -11
- package/vendor/antd/es/input/style/otp.js +2 -1
- package/vendor/antd/es/input/style/variants.js +16 -10
- package/vendor/antd/es/input-number/index.js +3 -3
- package/vendor/antd/es/input-number/style/index.js +9 -9
- package/vendor/antd/es/layout/Sider.js +3 -2
- package/vendor/antd/es/list/index.js +5 -3
- package/vendor/antd/es/locale/en_US.js +3 -1
- package/vendor/antd/es/locale/ru_RU.js +3 -1
- package/vendor/antd/es/locale/useLocale.js +2 -1
- package/vendor/antd/es/masonry/Masonry.js +4 -3
- package/vendor/antd/es/mentions/index.js +28 -14
- package/vendor/antd/es/menu/MenuItem.js +2 -1
- package/vendor/antd/es/menu/OverrideContext.js +1 -0
- package/vendor/antd/es/menu/SubMenu.js +1 -1
- package/vendor/antd/es/menu/menu.js +5 -5
- package/vendor/antd/es/menu/style/index.js +21 -36
- package/vendor/antd/es/menu/style/vertical.js +2 -1
- package/vendor/antd/es/message/PureList.js +49 -0
- package/vendor/antd/es/message/PurePanel.js +28 -36
- package/vendor/antd/es/message/index.js +6 -3
- package/vendor/antd/es/message/style/index.js +102 -99
- package/vendor/antd/es/message/useMessage.js +29 -33
- package/vendor/antd/es/message/util.js +1 -1
- package/vendor/antd/es/modal/ConfirmDialog.js +11 -9
- package/vendor/antd/es/modal/Modal.js +12 -7
- package/vendor/antd/es/modal/PurePanel.js +1 -2
- package/vendor/antd/es/modal/confirm.js +4 -3
- package/vendor/antd/es/modal/shared.js +3 -2
- package/vendor/antd/es/modal/useModal/HookModal.js +2 -1
- package/vendor/antd/es/notification/PureList.js +46 -0
- package/vendor/antd/es/notification/PurePanel.js +37 -56
- package/vendor/antd/es/notification/hooks/useStackConfig.js +13 -0
- package/vendor/antd/es/notification/index.js +3 -1
- package/vendor/antd/es/notification/style/index.js +103 -170
- package/vendor/antd/es/notification/style/notification.js +191 -0
- package/vendor/antd/es/notification/style/placement.js +117 -60
- package/vendor/antd/es/notification/useNotification.js +37 -40
- package/vendor/antd/es/notification/util.js +9 -50
- package/vendor/antd/es/pagination/Pagination.js +1 -2
- package/vendor/antd/es/pagination/useShowSizeChanger.js +2 -1
- package/vendor/antd/es/popconfirm/PurePanel.js +4 -1
- package/vendor/antd/es/popconfirm/index.js +1 -2
- package/vendor/antd/es/popover/PurePanel.js +1 -2
- package/vendor/antd/es/popover/index.js +1 -2
- package/vendor/antd/es/progress/Circle.js +2 -1
- package/vendor/antd/es/progress/progress.js +3 -3
- package/vendor/antd/es/progress/utils.js +4 -3
- package/vendor/antd/es/qr-code/index.js +4 -4
- package/vendor/antd/es/radio/group.js +4 -3
- package/vendor/antd/es/radio/radio.js +2 -2
- package/vendor/antd/es/radio/style/index.js +1 -1
- package/vendor/antd/es/rate/index.js +2 -4
- package/vendor/antd/es/result/index.js +6 -5
- package/vendor/antd/es/result/style/index.js +10 -6
- package/vendor/antd/es/segmented/index.js +5 -3
- package/vendor/antd/es/select/index.js +23 -12
- package/vendor/antd/es/select/style/dropdown.js +1 -1
- package/vendor/antd/es/select/style/select-input.js +23 -15
- package/vendor/antd/es/select/useIcons.js +43 -26
- package/vendor/antd/es/skeleton/Element.js +2 -1
- package/vendor/antd/es/skeleton/Skeleton.js +3 -3
- package/vendor/antd/es/slider/SliderTooltip.js +1 -0
- package/vendor/antd/es/slider/index.js +5 -3
- package/vendor/antd/es/slider/useRafLock.js +1 -0
- package/vendor/antd/es/space/Compact.js +1 -1
- package/vendor/antd/es/space/Item.js +1 -1
- package/vendor/antd/es/space/index.js +2 -2
- package/vendor/antd/es/space/style/addon.js +5 -2
- package/vendor/antd/es/spin/Indicator/Progress.js +2 -1
- package/vendor/antd/es/spin/index.js +1 -2
- package/vendor/antd/es/splitter/Panel.js +7 -3
- package/vendor/antd/es/splitter/SplitBar.js +5 -4
- package/vendor/antd/es/splitter/Splitter.js +9 -6
- package/vendor/antd/es/splitter/hooks/useItems.js +2 -1
- package/vendor/antd/es/splitter/hooks/useSizes.js +1 -1
- package/vendor/antd/es/splitter/style/index.js +8 -6
- package/vendor/antd/es/statistic/Number.js +8 -4
- package/vendor/antd/es/statistic/Statistic.js +14 -10
- package/vendor/antd/es/steps/index.js +4 -4
- package/vendor/antd/es/style/compact-item-vertical.js +2 -1
- package/vendor/antd/es/style/compact-item.js +6 -6
- package/vendor/antd/es/switch/index.js +1 -2
- package/vendor/antd/es/table/InternalTable.js +23 -14
- package/vendor/antd/es/table/hooks/useFilledColumns.js +23 -0
- package/vendor/antd/es/table/hooks/useFilter/FilterDropdown.js +22 -16
- package/vendor/antd/es/table/hooks/useFilter/FilterWrapper.js +1 -0
- package/vendor/antd/es/table/hooks/useFilter/index.js +34 -18
- package/vendor/antd/es/table/hooks/useLazyKVMap.js +2 -1
- package/vendor/antd/es/table/hooks/usePagination.js +7 -4
- package/vendor/antd/es/table/hooks/useSelection.js +32 -21
- package/vendor/antd/es/table/hooks/useSorter.js +10 -5
- package/vendor/antd/es/table/style/bordered.js +5 -27
- package/vendor/antd/es/table/style/empty.js +1 -4
- package/vendor/antd/es/table/style/index.js +1 -4
- package/vendor/antd/es/table/util.js +6 -6
- package/vendor/antd/es/tabs/hooks/useAnimateConfig.js +2 -1
- package/vendor/antd/es/tabs/index.js +1 -2
- package/vendor/antd/es/tag/CheckableTagGroup.js +8 -5
- package/vendor/antd/es/tag/hooks/useColor.js +4 -3
- package/vendor/antd/es/tag/index.js +13 -7
- package/vendor/antd/es/theme/themes/dark/colors.js +2 -1
- package/vendor/antd/es/theme/themes/default/colors.js +2 -1
- package/vendor/antd/es/theme/useToken.js +2 -2
- package/vendor/antd/es/theme/util/alias.js +34 -29
- package/vendor/antd/es/timeline/Timeline.js +3 -4
- package/vendor/antd/es/tooltip/PurePanel.js +1 -2
- package/vendor/antd/es/tooltip/UniqueProvider/index.js +2 -1
- package/vendor/antd/es/tooltip/index.js +9 -7
- package/vendor/antd/es/tour/PurePanel.js +2 -2
- package/vendor/antd/es/tour/index.js +1 -1
- package/vendor/antd/es/tour/panelRender.js +4 -2
- package/vendor/antd/es/transfer/ListBody.js +3 -1
- package/vendor/antd/es/transfer/ListItem.js +2 -1
- package/vendor/antd/es/transfer/Section.js +17 -8
- package/vendor/antd/es/transfer/index.js +51 -16
- package/vendor/antd/es/transfer/style/index.js +5 -1
- package/vendor/antd/es/tree/Tree.js +1 -2
- package/vendor/antd/es/tree/style/index.js +5 -1
- package/vendor/antd/es/tree/utils/iconUtil.js +5 -4
- package/vendor/antd/es/tree-select/index.js +3 -3
- package/vendor/antd/es/typography/Base/CopyBtn.js +3 -2
- package/vendor/antd/es/typography/Base/Ellipsis.js +3 -3
- package/vendor/antd/es/typography/Base/index.js +38 -31
- package/vendor/antd/es/typography/Editable.js +10 -4
- package/vendor/antd/es/typography/Link.js +1 -0
- package/vendor/antd/es/typography/Text.js +2 -1
- package/vendor/antd/es/typography/Typography.js +20 -10
- package/vendor/antd/es/typography/hooks/useCopyClick.js +2 -1
- package/vendor/antd/es/typography/hooks/useMergedConfig.js +13 -7
- package/vendor/antd/es/typography/hooks/useTooltipProps.js +2 -1
- package/vendor/antd/es/typography/hooks/useTypographySemantic.js +33 -0
- package/vendor/antd/es/typography/style/index.js +12 -27
- package/vendor/antd/es/typography/style/mixins.js +46 -13
- package/vendor/antd/es/upload/Upload.js +13 -7
- package/vendor/antd/es/upload/UploadList/ListItem.js +6 -5
- package/vendor/antd/es/upload/UploadList/index.js +4 -3
- package/vendor/antd/es/upload/utils.js +18 -1
- package/vendor/antd/es/version/version.js +1 -1
- package/vendor/antd/es/watermark/index.js +6 -4
- package/vendor/antd/es/watermark/useSingletonCache.js +1 -0
- package/vendor/antd/es/watermark/useWatermark.js +3 -3
- package/vendor/antd/package.json +1 -1
- package/vendor/useblocks-ui-kit/es/components/DataEntry/Input/index.js +1 -1
- package/vendor/useblocks-ui-kit/es/components/General/EmIcons/deprecationNotice.js +1 -1
- package/vendor/useblocks-ui-kit/package.json +1 -1
- package/vite/index.cjs +2 -2
- package/vite/index.js +2 -2
- package/iframe/js/discussHandlers.ozU2Hn_l.js +0 -87
- package/iframe/js/iframe.body.js +0 -319
- package/static/core/1c535081.js +0 -1
- package/static/core/1cee0d36.js +0 -1
- package/static/core/4fbdd8b6.js +0 -2
- package/static/core/55a38638.js +0 -93
- package/static/core/605c665e.js +0 -28
- package/static/core/68cbe23d.js +0 -1
- package/static/core/89431649.js +0 -7
- package/static/core/8b821a61.js +0 -1
- package/static/core/9718977a.js +0 -1
- package/static/core/b7e9202e.js +0 -27
- package/static/core/b877f7b4.js +0 -1
- package/static/core/baded0c1.js +0 -1
- package/static/core/c6cc104d.js +0 -4
- package/static/core/d70aac44.js +0 -291
- package/static/core/e0d71533.js +0 -100
- package/static/core/fb57f60b.js +0 -1
- package/static/core/fe756e4d.js +0 -1
- package/static/esm/349f9e2c.js +0 -1
- package/static/esm/50fbfdf6.js +0 -1
- package/static/media/icon-sets/lucide.json +0 -6275
- package/static/media/icon-sets/tabler.json +0 -19336
- package/static/umd-runtime/Cl8heeC3.js +0 -1
- package/static/umd-runtime/D0xo8o9c.js +0 -335
- package/static/umd-runtime/runtime.js +0 -1
- package/useblocks-core.bb6d921f.js +0 -859
- package/vendor/@rc-component/notification/es/Notice.js +0 -106
- package/vendor/@rc-component/notification/es/NoticeList.js +0 -98
- package/vendor/@rc-component/textarea/LICENSE.md +0 -9
- package/vendor/@rc-component/textarea/es/index.js +0 -6
- package/vendor/@rc-component/textarea/package.json +0 -6
- package/vendor/antd/es/_util/extendsObject.js +0 -12
- package/vendor/antd/es/_util/getAllowClear.js +0 -12
- package/vendor/antd/es/_util/isNonNullable.js +0 -6
- package/vendor/antd/es/_util/isPrimitive.js +0 -4
- package/vendor/antd/es/notification/style/pure-panel.js +0 -18
- package/vendor/antd/es/notification/style/stack.js +0 -85
- /package/static/monaco/{index.js → index.CO7s5UdA.js} +0 -0
- /package/static/umd-runtime/{delivery-libs.js → delivery-libs.3Svr0avG.js} +0 -0
package/iframe/js/iframe.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var e=window.__useblocks__||(window.__useblocks__={});(function(){"use strict";if(e!==void 0&&e.define)return;e===void 0&&(window.__amdEnv={});var t={},n={},r={},i={},a={},o=null,s={},c={},l=0;function u(e,t){l+=1;try{return e.factory.apply(null,t)}finally{--l}}var d=`./`,f={},p=60,m=`emailmaker:diagnostics`,h=[],g;function _(){if(g!==void 0)return g;g=!1;try{var e=/[?&]diagnostics(?:=([^&]*))?/.exec(window.location.search||``);if(e)return g=e[1]!==`0`,g;if(typeof window.__DIAGNOSTICS__==`boolean`)return g=!!window.__DIAGNOSTICS__,g;g=window.localStorage.getItem(m)===`1`}catch{g=!1}return g}function v(e,t){if(_()){var n={phase:e,at:performance.timeOrigin+performance.now(),kind:`wait`};t&&(n.parent=String(t)),h.push(n)}}function y(e){if(!e||e.__amdLogged)return e;try{Object.defineProperty(e,"__amdLogged",{value:!0,enumerable:!1})}catch{try{e.__amdLogged=!0}catch{}}try{var t=e&&e.message||`loader error`;console.error(`[AMD] `+(t.indexOf(`[AMD]`)===0?t.slice(6):t),e)}catch{}return e}function b(){try{if(e!==void 0&&e&&e.publicPath)return String(e.publicPath)}catch{}return`(not set)`}function x(){var e=b();return String(e).indexOf(`file:`)===0?` The page appears to be opened as a local file (file://) or publicPath was not configured. Serve the host app over HTTP(S) and set publicPath to the origin that serves editor assets (host bundler plugin or __amdEnv.setPublicPath). Current runtime publicPath=`+e+`.`:` Host bundler publicPath may be misconfigured (Vite/Webpack host plugin). In dev, set publicPath to the absolute origin that serves editor assets (for example http://localhost:3001/<outputFolder>/). Current runtime publicPath=`+e+`.`}function S(e){if(typeof fetch!=`function`)return Promise.resolve(``);function t(e){var t=(e.headers.get(`content-type`)||``).toLowerCase();try{e.body&&typeof e.body.cancel==`function`&&e.body.cancel()}catch{}return t.indexOf(`text/html`)>=0?` The URL returned HTML (Content-Type: text/html), not JavaScript — often a SPA fallback when asset paths are wrong.`:e.ok?``:` HTTP status `+e.status+` — the asset URL may be wrong or blocked by the server.`}return fetch(e,{method:`HEAD`,credentials:`omit`,headers:{Accept:`application/javascript,*/*`}}).then(function(n){return n.status===405||n.status===501?fetch(e,{method:`GET`,credentials:`omit`,headers:{Accept:`application/javascript,*/*`}}).then(t):t(n)}).catch(function(){return fetch(e,{method:`GET`,credentials:`omit`,headers:{Accept:`application/javascript,*/*`}}).then(t).catch(function(){return``})})}function C(e,t){var n=Error(`[AMD] Failed to load module "`+e+`"`+(t?`: `+t.message:``));return n.moduleId=e,n.cause=t,n}function w(e,t,n){var r=Error(`[AMD] Failed to resolve dependency "`+t+`" for module "`+e+`"`+(n?`: `+n.message:``));return r.moduleId=e,r.dependencyId=t,r.cause=n,r}function T(e){for(var t=String(e||``).split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];if(i&&i!==`.`){if(i===`..`){n.length>0&&n.pop();continue}n.push(i)}}return n.join(`/`)}function E(e){var t=String(e||``).replace(/\\/g,`/`),n=String(d||`./`).replace(/\\/g,`/`);return n=n.replace(/^\.\/+/,``),n=n.replace(/^\/+/,``),n&&n.slice(-1)!==`/`&&(n+=`/`),n&&t.indexOf(n)===0&&(t=t.slice(n.length)),t.indexOf(`./`)===0&&(t=t.slice(2)),t}function D(e){return{then:function(t,n){return e.then(t,n)},catch:function(t){return e.catch(t)},finally:function(t){return e.finally(t)}}}function O(e,t){var n=String(e||``);if(!n)return n;if(n.indexOf(`./`)!==0&&n.indexOf(`../`)!==0)return E(T(n));var r=t||``;if(Object.prototype.hasOwnProperty.call(f,r)){var i=String(f[r]||``);i&&!k(i)&&i.charAt(0)!==`/`&&(r=i)}var a=T(r),o=a?a.split(`/`):[];o.length>0&&o.pop();for(var s=n.split(`/`),c=0;c<s.length;c++){var l=s[c];if(l&&l!==`.`){if(l===`..`){o.length>0&&o.pop();continue}o.push(l)}}return E(o.join(`/`))}function k(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e)||e.indexOf(`//`)===0}function A(e){var t=String(e||``);if(!t||k(t))return t;try{var n=typeof document<`u`&&document.baseURI?document.baseURI:typeof window<`u`&&window.location?window.location.href:``;return n?new URL(t,n).href:t}catch{return t}}function j(){var t=String(d||`./`);if(t.slice(-1)!==`/`&&(t+=`/`),k(t)||t.charAt(0)===`/`)return t;if(e!==void 0&&e&&e.publicPath)try{return new URL(t,A(e.publicPath)).href}catch{}return A(t)}function M(e,t){var n=O(e,t),r=j(),i=Object.prototype.hasOwnProperty.call(f,n)?String(f[n]||``):n;i.slice(-3)!==`.js`&&(i+=`.js`);try{return new URL(i,r).href}catch{return r+i}}function N(){if(typeof document>`u`)return``;var e=document.currentScript;if(e){var t=e.getAttribute(`data-amd-module-id`);if(t)return t}return``}function P(e,n,r){if(Array.isArray(e)?(r=n,n=e,e=N()):typeof e==`function`?(r=e,n=[],e=N()):typeof n==`function`&&(r=n,n=[]),!e)throw Error(`[AMD] Anonymous define() could not be associated with a module id`);e in t||(t[e]={deps:n||[],factory:r})}P.amd={async:!0};function F(e){var t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}P(`vite/preload-helper`,[`exports`],function(e){e.__vitePreload=function(e){return Promise.resolve().then(function(){return e().catch(F)})}});function I(){return function(){}}function L(e,t){return{id:e,exports:t,uri:M(e)}}function R(e,t,n,r){if(Array.isArray(e)){var i=Promise.all(e.map(function(e){return V(e,r)})).then(function(e){return t&&t.apply(null,e),e});return n&&i.catch(n),i}return V(e,r)}function z(e,o){if(Array.isArray(e))throw Error(`[AMD] syncRequire does not support dependency arrays`);var s=O(e,o);if(s in a)throw y(a[s]);if(s in n)return n[s];if(s in r||s in i)throw y(C(s,Error(`Module is still loading asynchronously`)));if(!(s in t))throw y(C(s,Error(`Module is not available for syncRequire`)));return U(s)}function B(e,i){if(o&&e in o){var s={},c=[e];for(s[e]=!0;c.length>0;){var l=o[c.shift()];if(l)for(var u=0;u<l.length;u++){var d=l[u];s[d]||(s[d]=!0,c.push(d),!(d in n||d in a||d in r)&&(d in o?d in t||K(d,i).catch(function(){}):d in t&&V(d).catch(function(){})))}}}}function V(e,i){var o=O(e,i);if(o in a)return Promise.reject(y(a[o]));if(o in n)return Promise.resolve(n[o]);if(o in r)return r[o];if(v(`core:module:`+o+`:ask`,i),o in t)r[o]=H(o);else{var s=M(o);r[o]=K(o).then(function(){return v(`core:module:`+o+`:loaded`,i),o in t?H(o):S(s).then(function(e){var t=C(o,Error(`Module not defined after script load from "`+s+`".`+e+x()));throw a[o]=t,y(t)})}).catch(function(e){delete r[o];var t=e&&e.moduleId===o?e:C(o,e);throw a[o]=t,y(t)})}return B(o),r[o]}function H(e){var i=t[e],o=W(e),s=I(),l=L(e,s);c[e]=s;function d(t){return n[e]=t,delete r[e],delete c[e],n[e]}return Promise.all(i.deps.map(function(t){return t===`exports`?s:t===`require`?o:t===`module`?l:V(t,e).catch(function(n){throw w(e,t,n)})})).then(function(t){v(`core:module:`+e+`:deps`);var n=u(i,t);return n&&typeof n.then==`function`?n.then(function(t){return v(`core:module:`+e+`:ready`),d(t===void 0?l.exports:t)}):(v(`core:module:`+e+`:ready`),d(n===void 0?l.exports:n))}).catch(function(t){throw delete r[e],delete c[e],a[e]=t,y(t)})}function U(e){var r=t[e],i=W(e),o=I(),s=L(e,o);try{var c=u(r,r.deps.map(function(t){if(t===`exports`)return o;if(t===`require`)return i;if(t===`module`)return s;try{return z(t,e)}catch(n){throw w(e,t,n)}}));if(c&&typeof c.then==`function`)throw C(e,Error(`Module resolved asynchronously and cannot be syncRequired`));return n[e]=c===void 0?s.exports:c,n[e]}catch(t){throw a[e]=t,y(t)}}function W(e){var o=function(o,s,u){if(Array.isArray(o))return R(o,s,u,e);var d=O(o,e);if(d in a)throw y(a[d]);return d in n?n[d]:d in c&&l>0?c[d]:d in r||d in i?D(V(o,e)):d in t?z(o,e):D(V(o,e))};return o.resolve=function(t){return O(t,e)},o.toUrl=function(t){return M(t,e)},o.sync=function(t){return z(t,e)},o}function G(t,n){var r=e!==void 0&&e?e.moduleTransport:null;if(typeof r!=`function`||e.blobBlocked)return null;try{var i=r(t,n);return i&&typeof i.then==`function`?i:null}catch{return null}}function K(t,n){if(t in i)return i[t];if(s[t]&&s[t]!==t)return i[t]=K(s[t],n),i[t];var r=M(t);if(document.querySelector(`script[src="`+r+`"]`))return i[t]=Promise.resolve(),i[t];var a=performance.now();function o(e){return J(t,r,!1,n).then(function(n){return q(t,e,a),n})}var c=G(r,t);return c?(i[t]=c.then(function(r){return r?J(t,URL.createObjectURL(r),!0,n).then(function(e){return q(t,`transport`,a),e},function(){return e.blobBlocked=!0,o(`network-after-blob`)}):o(`network-fallback`)},function(){return o(`network-after-transport-error`)}),i[t]):(i[t]=o(`network`),i[t])}function q(t,n,r){_()&&((e.loaderTimings||=[]).push({id:t,via:n,ms:Math.round((performance.now()-r)*10)/10}),typeof e.onLoaderTiming==`function`&&e.onLoaderTiming())}function J(e,t,n,r){return new Promise(function(a,o){var s=!1,c=document.createElement(`script`);c.src=t,c.setAttribute(`data-amd-module-id`,e),c.async=!0,r===`low`&&(c.fetchPriority=`low`);var l=p>0?p*1e3:0,u=null;function d(){u!=null&&(clearTimeout(u),u=null),c.onload=null,c.onerror=null,n&&typeof URL<`u`&&URL.revokeObjectURL&&URL.revokeObjectURL(t)}function f(e){s||(s=!0,d(),e())}l>0&&(u=setTimeout(function(){f(function(){delete i[e],o(y(C(e,Error(`Timed out after `+l+`ms loading script: `+t+`.`+x()))))})},l)),c.onload=function(){f(function(){a()})},c.onerror=function(){f(function(){delete i[e],o(y(C(e,Error(`Failed to load script: `+t+`.`+x()))))})},document.head.appendChild(c)})}R.config=function(e){if(e.baseUrl&&(d=e.baseUrl),e.paths)for(var t in e.paths)Object.prototype.hasOwnProperty.call(e.paths,t)&&(f[t]=e.paths[t]);if(e.bundles){for(var n in e.bundles)if(Object.prototype.hasOwnProperty.call(e.bundles,n))for(var r=0;r<e.bundles[n].length;r++)s[e.bundles[n][r]]=n}if(e.graph)for(var i in o||={},e.graph)Object.prototype.hasOwnProperty.call(e.graph,i)&&(o[i]=e.graph[i]);typeof e.waitSeconds==`number`&&e.waitSeconds>=0&&(p=e.waitSeconds)},R.warm=function(e,r){var i=r&&r.priority;return Promise.all((e||[]).map(function(e){var r=O(e);if(r in a)return Promise.reject(a[r]);var o=r in t||r in n?Promise.resolve():K(r,i);return B(r,i),o})).then(function(){})},R.modules=t,R.resolved=n,R.errors=a,R.toUrl=M,R.sync=z,e.define=P,e.require=R,e.syncRequire=z,e.diagnosticsBuffer=h})(),e.require.config({baseUrl:`./`});
|
|
2
2
|
|
|
3
|
-
__useblocks__.require.config({ paths: {"js/iframe.js":"js/iframe.body.js"} });
|
|
3
|
+
__useblocks__.require.config({ paths: {"js/iframe.js":"js/iframe.body.1c4e77a0.js"} });
|
|
4
4
|
|
|
5
|
-
__useblocks__.require.config({"graph":{"js/iframe-eblock.js":["js/discussHandlers.
|
|
5
|
+
__useblocks__.require.config({"graph":{"js/iframe-eblock.js":["js/discussHandlers.Xh4-JUcT.js","js/typograf.all.BbXdyfMT.js"],"js/iframe.js":["js/rolldown-runtime.BRlIiq3h.js","js/discussHandlers.Xh4-JUcT.js"],"js/darkreader.CyLMh7_H.js":[],"js/discussHandlers.Xh4-JUcT.js":["js/rolldown-runtime.BRlIiq3h.js"],"js/rolldown-runtime.BRlIiq3h.js":[],"js/rules.CL_BitCE.js":[],"js/typograf.all.BbXdyfMT.js":["js/rolldown-runtime.BRlIiq3h.js"]}});
|
|
6
6
|
|
|
7
7
|
__useblocks__.require("js/iframe.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "useblocks",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.102",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "useblocks.js",
|
|
6
6
|
"module": "useblocks-esm.js",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"static",
|
|
35
35
|
"vendor",
|
|
36
36
|
"ui-kit/index.js",
|
|
37
|
+
"ui-kit/icons.js",
|
|
37
38
|
"ui-kit/reset.css",
|
|
38
39
|
"vite",
|
|
39
40
|
"webpack",
|
|
@@ -48,6 +49,9 @@
|
|
|
48
49
|
"./ui-kit": {
|
|
49
50
|
"import": "./ui-kit/index.js"
|
|
50
51
|
},
|
|
52
|
+
"./ui-kit/icons": {
|
|
53
|
+
"import": "./ui-kit/icons.js"
|
|
54
|
+
},
|
|
51
55
|
"./ui-kit/reset.css": "./ui-kit/reset.css",
|
|
52
56
|
"./react": {
|
|
53
57
|
"types": "./react/index.d.ts",
|
|
@@ -95,6 +99,9 @@
|
|
|
95
99
|
"./runtime/dayjs": {
|
|
96
100
|
"import": "./runtime/dayjs/index.js"
|
|
97
101
|
},
|
|
102
|
+
"./runtime/uuid": {
|
|
103
|
+
"import": "./runtime/uuid/index.js"
|
|
104
|
+
},
|
|
98
105
|
"./runtime/*": "./runtime/*",
|
|
99
106
|
"./runtime/*/*": "./runtime/*/*",
|
|
100
107
|
"./runtime/*/*/*": "./runtime/*/*/*",
|
|
@@ -275,7 +275,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
======================================================================
|
|
278
|
-
@rc-component/cascader@1.
|
|
278
|
+
@rc-component/cascader@1.15.0
|
|
279
279
|
License: MIT
|
|
280
280
|
https://github.com/react-component/cascader
|
|
281
281
|
======================================================================
|
|
@@ -358,7 +358,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
358
358
|
|
|
359
359
|
|
|
360
360
|
======================================================================
|
|
361
|
-
@rc-component/dialog@1.
|
|
361
|
+
@rc-component/dialog@1.9.0
|
|
362
362
|
License: MIT
|
|
363
363
|
http://github.com/react-component/dialog
|
|
364
364
|
======================================================================
|
|
@@ -462,7 +462,7 @@ SOFTWARE.
|
|
|
462
462
|
|
|
463
463
|
|
|
464
464
|
======================================================================
|
|
465
|
-
@rc-component/image@1.
|
|
465
|
+
@rc-component/image@1.9.0
|
|
466
466
|
License: MIT
|
|
467
467
|
http://github.com/react-component/image
|
|
468
468
|
======================================================================
|
|
@@ -479,7 +479,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
======================================================================
|
|
482
|
-
@rc-component/input@1.1
|
|
482
|
+
@rc-component/input@1.3.1
|
|
483
483
|
License: MIT
|
|
484
484
|
https://github.com/react-component/input
|
|
485
485
|
======================================================================
|
|
@@ -513,7 +513,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
513
513
|
|
|
514
514
|
|
|
515
515
|
======================================================================
|
|
516
|
-
@rc-component/mentions@1.
|
|
516
|
+
@rc-component/mentions@1.9.0
|
|
517
517
|
License: MIT
|
|
518
518
|
http://github.com/react-component/mentions
|
|
519
519
|
======================================================================
|
|
@@ -530,7 +530,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
530
530
|
|
|
531
531
|
|
|
532
532
|
======================================================================
|
|
533
|
-
@rc-component/menu@1.
|
|
533
|
+
@rc-component/menu@1.3.1
|
|
534
534
|
License: MIT
|
|
535
535
|
http://github.com/react-component/menu
|
|
536
536
|
======================================================================
|
|
@@ -622,20 +622,32 @@ SOFTWARE.
|
|
|
622
622
|
|
|
623
623
|
|
|
624
624
|
======================================================================
|
|
625
|
-
@rc-component/notification@
|
|
625
|
+
@rc-component/notification@2.0.9
|
|
626
626
|
License: MIT
|
|
627
|
-
|
|
627
|
+
https://react-component.github.io/notification
|
|
628
628
|
======================================================================
|
|
629
629
|
|
|
630
|
-
|
|
630
|
+
MIT License
|
|
631
631
|
|
|
632
|
-
Copyright (c)
|
|
632
|
+
Copyright (c) 2019-present react-component
|
|
633
633
|
|
|
634
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
634
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
635
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
636
|
+
in the Software without restriction, including without limitation the rights
|
|
637
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
638
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
639
|
+
furnished to do so, subject to the following conditions:
|
|
635
640
|
|
|
636
|
-
The above copyright notice and this permission notice shall be included in all
|
|
641
|
+
The above copyright notice and this permission notice shall be included in all
|
|
642
|
+
copies or substantial portions of the Software.
|
|
637
643
|
|
|
638
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
644
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
645
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
646
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
647
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
648
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
649
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
650
|
+
SOFTWARE.
|
|
639
651
|
|
|
640
652
|
|
|
641
653
|
======================================================================
|
|
@@ -877,24 +889,36 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
877
889
|
|
|
878
890
|
|
|
879
891
|
======================================================================
|
|
880
|
-
@rc-component/table@1.
|
|
892
|
+
@rc-component/table@1.10.4
|
|
881
893
|
License: MIT
|
|
882
|
-
|
|
894
|
+
https://react-component.github.io/table
|
|
883
895
|
======================================================================
|
|
884
896
|
|
|
885
|
-
MIT
|
|
897
|
+
MIT License
|
|
886
898
|
|
|
887
|
-
Copyright (c)
|
|
899
|
+
Copyright (c) 2019-present react-component
|
|
888
900
|
|
|
889
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
901
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
902
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
903
|
+
in the Software without restriction, including without limitation the rights
|
|
904
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
905
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
906
|
+
furnished to do so, subject to the following conditions:
|
|
890
907
|
|
|
891
|
-
The above copyright notice and this permission notice shall be included in all
|
|
908
|
+
The above copyright notice and this permission notice shall be included in all
|
|
909
|
+
copies or substantial portions of the Software.
|
|
892
910
|
|
|
893
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
911
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
912
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
913
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
914
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
915
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
916
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
917
|
+
SOFTWARE.
|
|
894
918
|
|
|
895
919
|
|
|
896
920
|
======================================================================
|
|
897
|
-
@rc-component/tabs@1.
|
|
921
|
+
@rc-component/tabs@1.9.1
|
|
898
922
|
License: MIT
|
|
899
923
|
http://github.com/react-component/tabs
|
|
900
924
|
======================================================================
|
|
@@ -910,23 +934,6 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
910
934
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
911
935
|
|
|
912
936
|
|
|
913
|
-
======================================================================
|
|
914
|
-
@rc-component/textarea@1.1.2
|
|
915
|
-
License: MIT
|
|
916
|
-
https://react-component.github.io/textarea
|
|
917
|
-
======================================================================
|
|
918
|
-
|
|
919
|
-
The MIT License (MIT)
|
|
920
|
-
|
|
921
|
-
Copyright (c) 2019-present afc163
|
|
922
|
-
|
|
923
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
924
|
-
|
|
925
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
926
|
-
|
|
927
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
928
|
-
|
|
929
|
-
|
|
930
937
|
======================================================================
|
|
931
938
|
@rc-component/tooltip@1.4.0
|
|
932
939
|
License: MIT
|
|
@@ -957,7 +964,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
957
964
|
|
|
958
965
|
|
|
959
966
|
======================================================================
|
|
960
|
-
@rc-component/tour@2.
|
|
967
|
+
@rc-component/tour@2.4.0
|
|
961
968
|
License: MIT
|
|
962
969
|
https://github.com/react-component/tour
|
|
963
970
|
======================================================================
|
|
@@ -986,7 +993,7 @@ SOFTWARE.
|
|
|
986
993
|
|
|
987
994
|
|
|
988
995
|
======================================================================
|
|
989
|
-
@rc-component/tree@1.2
|
|
996
|
+
@rc-component/tree@1.3.2
|
|
990
997
|
License: MIT
|
|
991
998
|
http://github.com/react-component/tree
|
|
992
999
|
======================================================================
|
|
@@ -1016,7 +1023,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1016
1023
|
|
|
1017
1024
|
|
|
1018
1025
|
======================================================================
|
|
1019
|
-
@rc-component/tree-select@1.
|
|
1026
|
+
@rc-component/tree-select@1.9.0
|
|
1020
1027
|
License: MIT
|
|
1021
1028
|
https://github.com/react-component/tree-select
|
|
1022
1029
|
======================================================================
|
|
@@ -1162,7 +1169,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1162
1169
|
|
|
1163
1170
|
|
|
1164
1171
|
======================================================================
|
|
1165
|
-
antd@6.3
|
|
1172
|
+
antd@6.4.3
|
|
1166
1173
|
License: MIT
|
|
1167
1174
|
https://ant.design
|
|
1168
1175
|
======================================================================
|
package/runtime/package.json
CHANGED
package/runtime/react/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../../vendor/react/index.js";var i=e&&e.default?e.default:e,{Activity:n,Children:o,Component:c,Fragment:m,Profiler:
|
|
1
|
+
import e from"../../vendor/react/index.js";var i=e&&e.default?e.default:e,{Activity:n,Children:o,Component:c,Fragment:m,Profiler:E,PureComponent:v,StrictMode:d,Suspense:R,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:S,__COMPILER_RUNTIME:h,cache:T,cacheSignal:b,cloneElement:g,createContext:N,createElement:_,createRef:A,forwardRef:O,isValidElement:k,lazy:I,memo:D,startTransition:L,unstable_useCacheRefresh:M,use:P,useActionState:U,useCallback:V,useContext:x,useDebugValue:H,useDeferredValue:z,useEffect:F,useEffectEvent:G,useId:W,useImperativeHandle:Y,useInsertionEffect:j,useLayoutEffect:p,useMemo:q,useOptimistic:w,useReducer:B,useRef:J,useState:Q,useSyncExternalStore:X,useTransition:Z,version:$}=e;try{var u=Symbol.for("editor-runtime.react.copies"),t=globalThis[u];t||(t=[],globalThis[u]=t);for(var r=!1,s=0;s<t.length;s++){var a=t[s];a&&a.react===e&&a.package==="useblocks"&&a.version==="1.1.102"&&(r=!0)}r||t.push({package:"useblocks",version:"1.1.102",react:e})}catch{}export{n as Activity,o as Children,c as Component,m as Fragment,E as Profiler,v as PureComponent,d as StrictMode,R as Suspense,S as __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h as __COMPILER_RUNTIME,T as cache,b as cacheSignal,g as cloneElement,N as createContext,_ as createElement,A as createRef,i as default,O as forwardRef,k as isValidElement,I as lazy,D as memo,L as startTransition,M as unstable_useCacheRefresh,P as use,U as useActionState,V as useCallback,x as useContext,H as useDebugValue,z as useDeferredValue,F as useEffect,G as useEffectEvent,W as useId,Y as useImperativeHandle,j as useInsertionEffect,p as useLayoutEffect,q as useMemo,w as useOptimistic,B as useReducer,J as useRef,Q as useState,X as useSyncExternalStore,Z as useTransition,$ as version};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Uuid removed from the editor runtime: the import still builds, every call throws.
|
|
2
|
+
const hint = "the shared `uuid` package was removed from the editor runtime; bundle `uuid` into the plugin or use `crypto.randomUUID()`";
|
|
3
|
+
function removed(name) {
|
|
4
|
+
return function () {
|
|
5
|
+
throw new Error("[shared-runtime] Uuid." + name + " is not available: " + hint + ".");
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export const v1 = removed("v1");
|
|
9
|
+
export const v1ToV6 = removed("v1ToV6");
|
|
10
|
+
export const v3 = removed("v3");
|
|
11
|
+
export const v4 = removed("v4");
|
|
12
|
+
export const v5 = removed("v5");
|
|
13
|
+
export const v6 = removed("v6");
|
|
14
|
+
export const v6ToV1 = removed("v6ToV1");
|
|
15
|
+
export const v7 = removed("v7");
|
|
16
|
+
export const parse = removed("parse");
|
|
17
|
+
export const stringify = removed("stringify");
|
|
18
|
+
export const validate = removed("validate");
|
|
19
|
+
export const version = removed("version");
|
|
20
|
+
export const NIL = "00000000-0000-0000-0000-000000000000";
|
|
21
|
+
export const MAX = "ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__useblocks__.define("static/core/11b821ed.js",["require","exports","module","static/core/2ff39ddf.js","static/core/d68c5a64.js"],function(a,m,v){const w=a("./2ff39ddf.js"),h=a("./d68c5a64.js");var d={items_per_page:"/ Seite",jump_to:"Gehe zu",jump_to_confirm:"bestätigen",page:"Seite",prev_page:"Vorherige Seite",next_page:"Nächste Seite",prev_5:"5 Seiten zurück",next_5:"5 Seiten vor",prev_3:"3 Seiten zurück",next_3:"3 Seiten vor",page_size:"Page Size"};function i(t){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter(function($){return Object.getOwnPropertyDescriptor(t,$).enumerable})),n.push.apply(n,l)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(l){p(t,l,n[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(n,l))})}return t}function p(t,e,n){return e=g(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t){var e=b(t,"string");return i(e)=="symbol"?e:String(e)}function b(t,e){if(i(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var l=n.call(t,e||"default");if(i(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var f=s(s({},h.commonLocale),{},{locale:"de_DE",today:"Heute",now:"Jetzt",backToToday:"Zurück zu Heute",ok:"OK",clear:"Zurücksetzen",week:"Woche",month:"Monat",year:"Jahr",timeSelect:"Zeit wählen",dateSelect:"Datum wählen",monthSelect:"Wähle einen Monat",yearSelect:"Wähle ein Jahr",decadeSelect:"Wähle ein Jahrzehnt",previousMonth:"Vorheriger Monat (PageUp)",nextMonth:"Nächster Monat (PageDown)",previousYear:"Vorheriges Jahr (Ctrl + left)",nextYear:"Nächstes Jahr (Ctrl + right)",previousDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",previousCentury:"Vorheriges Jahrhundert",nextCentury:"Nächstes Jahrhundert"}),c={placeholder:"Zeit auswählen",rangePlaceholder:["Startzeit","Endzeit"]},u={lang:{placeholder:"Datum auswählen",rangePlaceholder:["Startdatum","Enddatum"],shortWeekDays:["So","Mo","Di","Mi","Do","Fr","Sa"],shortMonths:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],...f},timePickerLocale:{...c}},y=u,r="${label} ist nicht gültig. ${type} erwartet",S={locale:"de",Pagination:d,DatePicker:u,TimePicker:c,Calendar:y,global:{placeholder:"Bitte auswählen",close:"Schließen",show:"Anzeigen",hide:"Ausblenden"},Table:{filterTitle:"Filter-Menü",filterConfirm:"OK",filterReset:"Zurücksetzen",filterEmptyText:"Keine Filter",filterSearchPlaceholder:"Suche in Filtern",filterCheckAll:"Alle auswählen",selectAll:"Selektiere Alle",selectInvert:"Selektion Invertieren",selectionAll:"Wählen Sie alle Daten aus",sortTitle:"Sortieren",emptyText:"Keine Daten",expand:"Zeile erweitern",collapse:"Zeile reduzieren",triggerDesc:"Klicken zur absteigenden Sortierung",triggerAsc:"Klicken zur aufsteigenden Sortierung",cancelSort:"Klicken zum Abbrechen der Sortierung"},Tour:{Next:"Weiter",Previous:"Zurück",Finish:"Fertig"},Modal:{okText:"OK",cancelText:"Abbrechen",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Abbrechen"},Transfer:{titles:["",""],searchPlaceholder:"Suchen",itemUnit:"Eintrag",itemsUnit:"Einträge",remove:"Entfernen",selectCurrent:"Alle auf aktueller Seite auswählen",removeCurrent:"Auswahl auf aktueller Seite aufheben",selectAll:"Alle auswählen",deselectAll:"Alle abwählen",removeAll:"Auswahl aufheben",selectInvert:"Auswahl umkehren"},Upload:{uploading:"Hochladen...",removeFile:"Datei entfernen",uploadError:"Fehler beim Hochladen",previewFile:"Dateivorschau",downloadFile:"Download-Datei"},Empty:{description:"Keine Daten"},Text:{edit:"Bearbeiten",copy:"Kopieren",copied:"Kopiert",expand:"Erweitern"},Form:{defaultValidateMessages:{default:"Feld-Validierungsfehler: ${label}",required:"Bitte geben Sie ${label} an",enum:"${label} muss eines der folgenden sein [${enum}]",whitespace:"${label} darf kein Leerzeichen sein",date:{format:"${label} ist ein ungültiges Datumsformat",parse:"${label} kann nicht in ein Datum umgewandelt werden",invalid:"${label} ist ein ungültiges Datum"},types:{string:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},string:{len:"${label} muss genau ${len} Zeichen lang sein",min:"${label} muss mindestens ${min} Zeichen lang sein",max:"${label} darf höchstens ${max} Zeichen lang sein",range:"${label} muss zwischen ${min} und ${max} Zeichen lang sein"},number:{len:"${label} muss gleich ${len} sein",min:"${label} muss mindestens ${min} sein",max:"${label} darf maximal ${max} sein",range:"${label} muss zwischen ${min} und ${max} liegen"},array:{len:"Es müssen ${len} ${label} sein",min:"Es müssen mindestens ${min} ${label} sein",max:"Es dürfen maximal ${max} ${label} sein",range:"Die Anzahl an ${label} muss zwischen ${min} und ${max} liegen"},pattern:{mismatch:"${label} entspricht nicht dem ${pattern} Muster"}}},QRCode:{expired:"QR-Code abgelaufen",refresh:"Aktualisieren"}};m.default=S});
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
__useblocks__.define("static/core/160bf060.js",["require","exports","module","static/core/2ff39ddf.js"],function(de,fe,br){const yr=de("./2ff39ddf.js");function L(t){const e=new Map;return t&&t.split(";").map(r=>r.trim()).filter(Boolean).forEach(r=>{const n=r.indexOf(":");if(n===-1)return;const o=r.slice(0,n).trim().toLowerCase(),s=r.slice(n+1).trim();o&&e.set(o,s)}),e}function T(t){return t.replace(/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])(?![0-9a-fA-F])/g,(e,r,n,o)=>`#${r}${r}${n}${n}${o}${o}`)}function A(t){return Array.from(t.entries()).filter(([,e])=>e!==""&&e!=null).map(([e,r])=>`${e}: ${T(r)};`).join(" ")}function $(t){if(!t)return null;const e=/^(-?\d+(?:\.\d+)?)px$/.exec(t.trim());return e?Math.round(parseFloat(e[1])):/^0$/.test(t.trim())?0:null}function v(t){const e=t.get("padding");if(e){const r=e.trim().split(/\s+/);if(r.length===1){const n=$(r[0]);return{top:n,right:n,bottom:n,left:n}}if(r.length===2){const n=$(r[0]),o=$(r[1]);return{top:n,right:o,bottom:n,left:o}}if(r.length===3)return{top:$(r[0]),right:$(r[1]),bottom:$(r[2]),left:$(r[1])};if(r.length===4)return{top:$(r[0]),right:$(r[1]),bottom:$(r[2]),left:$(r[3])}}return{top:$(t.get("padding-top")),right:$(t.get("padding-right")),bottom:$(t.get("padding-bottom")),left:$(t.get("padding-left"))}}function he(t,e,r){if(!e&&!r)return;const n=v(t),o=n.top??0,s=(n.right??0)+r,i=n.bottom??0,l=(n.left??0)+e;t.delete("padding"),t.delete("padding-top"),t.delete("padding-right"),t.delete("padding-bottom"),t.delete("padding-left"),t.set("padding",`${o}px ${s}px ${i}px ${l}px`)}function me(t){const e=t.top??0,r=t.right??0,n=t.bottom??0,o=t.left??0;return e===0&&r===0&&n===0&&o===0?"":`padding: ${e}px ${r}px ${n}px ${o}px;`}function K(t,e){if(t)return L(t.getAttribute("style")).get(e.toLowerCase())}function ge(t){if(!t)return null;const e=t.getAttribute("width");if(e){const n=e.trim();if(/^\d+(\.\d+)?$/.test(n))return Math.round(parseFloat(n));const o=/^(\d+(?:\.\d+)?)px$/i.exec(n);if(o)return Math.round(parseFloat(o[1]))}const r=K(t,"width")??K(t,"max-width");if(r){const n=/^(\d+(?:\.\d+)?)px$/i.exec(r.trim());if(n)return Math.round(parseFloat(n[1]))}return null}function g(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function pe(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}var be=["font-family","font-size","font-weight","font-style","line-height","letter-spacing","color","direction","text-decoration","text-transform"];function dt(...t){const e=new Map;return be.forEach(r=>{for(const n of t){const o=n?.get(r);if(o!=null&&o!==""){e.set(r,o);break}}}),e}function ye(t){if(!t)return null;const e=/^(-?\d+(?:\.\d+)?)px$/i.exec(t.trim());return e?parseFloat(e[1]):null}function ft(t){const e=t.get("line-height")?.trim();if(!e||e==="normal"||e==="inherit")return;const r=/^(-?\d+(?:\.\d+)?)px$/i.exec(e);if(r){t.set("line-height",`${Math.round(parseFloat(r[1]))}px`);return}const n=ye(t.get("font-size"));if(n==null)return;const o=/^(\d+(?:\.\d+)?)%$/.exec(e);if(o){t.set("line-height",`${Math.round(n*parseFloat(o[1])/100)}px`);return}const s=/^(\d+(?:\.\d+)?)em$/i.exec(e);if(s){t.set("line-height",`${Math.round(n*parseFloat(s[1]))}px`);return}const i=/^(\d+(?:\.\d+)?)$/.exec(e);i&&t.set("line-height",`${Math.round(n*parseFloat(i[1]))}px`)}function we(t){const e=t.get("letter-spacing")?.trim();e!=null&&(/^-?(?:\d+(?:\.\d+)?|\.\d+)/.test(e)||t.delete("letter-spacing"))}function $e(t,e){[t,...Array.from(t.querySelectorAll("[style]"))].forEach(r=>{const n=r.getAttribute("style");if(!n||!n.toLowerCase().includes(e.toLowerCase()))return;const o=L(n);if(!o.has(e))return;o.delete(e);const s=A(o);s?r.setAttribute("style",s):r.removeAttribute("style")})}function Se(t){t.get("direction")?.trim().toLowerCase()==="ltr"&&t.delete("direction")}function Y(...t){for(const e of t){const r=e?.get("text-align");if(r)return r}}var ht=["top","right","bottom","left"],Ae=/[^\s()]+\([^)]*\)|[^\s()]+/g;function D(t){return!/^0(?:px)?(?:\s|$)/.test(t)&&!/\bnone\b/.test(t)&&!/\bhidden\b/.test(t)}function mt(t){return t.split(/[\s/]+/).some(e=>Number.parseFloat(e)>0)}function j(t){const e=t.match(Ae)??[];switch(e.length){case 1:return[e[0],e[0],e[0],e[0]];case 2:return[e[0],e[1],e[0],e[1]];case 3:return[e[0],e[1],e[2],e[1]];case 4:return[e[0],e[1],e[2],e[3]];default:return null}}function gt(t){const e=j(t.get("border-width")??""),r=j(t.get("border-style")??""),n=j(t.get("border-color")??""),o=t.get("border"),s=new Map;return ht.forEach((i,l)=>{const a=e?`${e[l]} ${r?.[l]??"solid"} ${n?.[l]??"#000000"}`:void 0,c=t.get(`border-${i}`)??a??o;c&&D(c)&&s.set(`border-${i}`,c)}),s}function ve(t){const e=ht.map(n=>t.get(`border-${n}`)),[r]=e;return r&&e.every(n=>n===r)?new Map([["border",r]]):t}var Ce=new Set(["none","repeat","no-repeat","repeat-x","repeat-y","scroll","fixed","local","center","top","bottom","left","right","cover","contain","border-box","padding-box","content-box","initial","inherit"]);function O(t){if(!t)return null;const e=/(?:rgba?|hsla?)\([^)]*\)/i.exec(t);if(e)return e[0];const r=/#[0-9a-f]{3,8}\b/i.exec(t);return r?r[0]:t.trim().split(/\s+/).find(n=>!Ce.has(n.toLowerCase())&&!/^[\d.]+%?$/.test(n)&&!/^url\(/i.test(n))??null}function ke(t){const e=/url\([^)]*\)/i.exec(t??"");return e?e[0]:null}function pt(t){const e=t?j(t):null;if(!e)return null;const r=e.map(n=>Number.parseFloat(n));return r.every(n=>Number.isFinite(n))?r.map(Math.round):null}function W(t,e,r=["top","right","bottom","left"]){return r.filter(n=>t[n]!=null&&t[n]!==(e[n]??0)).map(n=>`em-mob-padding_${n}-${t[n]}`)}function x(t){const e=t.getAttribute("class")??"";return/\bes-desk-hidden\b/.test(e)?"mobile":/\bes-mobile-hidden\b/.test(e)||/\bes-hidden\b/.test(e)?"desktop":"all"}function bt(t){const e=x(t);if(e!=="all")return e;const r=t.closest("tr");return r?x(r):"all"}function Ee(t){return t==="mobile"?{className:"em-show-td-mobile",inlineStyle:"display: none;",wrapNonMso:!0}:t==="desktop"?{className:"em-show-td-desktop",inlineStyle:"",wrapNonMso:!1}:{className:"",inlineStyle:"",wrapNonMso:!1}}var yt="-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif";function wt(t,e){if(!e)return null;const r=(t.get("font-style")??"").toLowerCase().includes("italic"),n=e.register(t.get("font-family"),t.get("font-weight"),r);return n?(t.set("font-family",n.fallback),n.emClass):null}function C(t,e,r=""){const n=[];t.align&&n.push(`align="${g(t.align)}"`),t.width&&n.push(`width="${g(t.width)}"`),t.height&&n.push(`height="${g(t.height)}"`),t.className&&n.push(`class="${g(t.className)}"`);let o=t.style??"";if(t.insetX&&(t.insetX.left||t.insetX.right)){const c=L(o);he(c,t.insetX.left,t.insetX.right),o=A(c)}o&&n.push(`style="${g(o)}"`);const s=n.length?` ${n.join(" ")}`:"",i=["em-mob-width-100perc"];let l="";t.visibility==="desktop"?i.push("em-show-table-desktop"):t.visibility==="mobile"&&(i.push("em-show-table-mobile"),l=' style="display: none;"');const a=`<table cellpadding="0" cellspacing="0" border="0" width="100%" class="${i.join(" ")}"${l} em="atom"${r}><tr><td${s}>${e}</td></tr></table>`;return t.visibility==="mobile"?`<!--[if !mso]><!-->${a}<!--<![endif]-->`:a}function _(t,e){const r=v(e.styles.resolve(t));return e.dropCellPaddingX?{...r,left:0,right:0}:r}function E(t){const e=t.top??0,r=t.right??0,n=t.bottom??0,o=t.left??0;return e===0&&r===0&&n===0&&o===0?"":`padding: ${e}px ${r}px ${n}px ${o}px;`}function $t(t){return(t.textContent??"").trim()!==""?null:Array.from(t.querySelectorAll("table tr")).find(e=>{const r=Array.from(e.children).filter(n=>n.tagName.toLowerCase()==="td");return r.length>1&&r.every(n=>n.querySelectorAll("img").length===1&&n.querySelector("table")===null)})??null}function R(t){if(t.kind)return t.kind;const e=t.element;return e.querySelector("a.es-button, span.es-button-border")?"button":e.querySelector("table.es-social")?"social":e.querySelector("table.es-menu")?"menu":$t(e)?"social":e.querySelector("img")&&(e.textContent??"").trim()===""?"image":e.querySelector('td[style*="border-bottom"]')||(e.textContent??"").trim()===""&&e.getAttribute("height")?"spacer":"text"}var xe=8,Me=3,St=new Set(["left","center","right"]),Ne=/^(?:p|h[1-6])$/i,Le=["color","font-family","font-size","font-weight","font-style","text-decoration"],At=/^(?:mso-|-webkit-|-ms-|-moz-)/;function Be(t){const e=r=>{const n=L(r.getAttribute("style"));let o=!1;if(Array.from(n.keys()).forEach(i=>{At.test(i)&&(n.delete(i),o=!0)}),!o)return;const s=A(n);s?r.setAttribute("style",s):r.removeAttribute("style")};t.hasAttribute("style")&&e(t),t.querySelectorAll("[style]").forEach(e)}var Ie=/^(?:es-|esd-|esdev-)/,Fe=new Set(["view","adapt-img","rollover","rollover-first","rollover-second","msohide"]);function qe(t,e){t.querySelectorAll("a").forEach(r=>{const n=L(r.getAttribute("style")),o=e.resolve(r);Le.forEach(l=>{const a=o.get(l);a&&!n.has(l)&&n.set(l,a)}),n.delete("line-height"),Array.from(n.keys()).forEach(l=>{At.test(l)&&n.delete(l)});const s=kt(e.resolveMobile(r),n);if(s.length>0){const l=(r.getAttribute("class")??"").split(/\s+/).filter(Boolean);r.setAttribute("class",[...l,...s].join(" "))}const i=A(n);i?r.setAttribute("style",i):r.removeAttribute("style")})}function Te(t){t.querySelectorAll("[class]").forEach(e=>{const r=(e.getAttribute("class")??"").split(/\s+/).filter(n=>n!==""&&!Ie.test(n)&&!Fe.has(n));r.length>0?e.setAttribute("class",r.join(" ")):e.removeAttribute("class")})}function Oe(t){Array.from(t.querySelectorAll("p")).forEach(e=>{const r=Array.from(e.childNodes),n=e.nextSibling;n!=null&&(n.nodeType!==Me||(n.textContent??"").trim()!=="")&&r.push(e.ownerDocument.createElement("br")),e.replaceWith(...r)})}function _e(t){return Array.from(t.childNodes).some(e=>e.nodeType===xe&&(e.textContent??"").includes("{%"))}function Re(t){if(_e(t))return[t];const e=Array.from(t.querySelectorAll("p, h1, h2, h3, h4, h5, h6, ul, ol")),r=e.filter(o=>/^(?:ul|ol)$/i.test(o.tagName)),n=e.filter(o=>!r.some(s=>s!==o&&s.contains(o)));return n.length>0?n:(t.textContent??"").trim()!==""?[t]:[]}function vt(t,e,r){const n=(Y(r.resolveMobile(t))??"").trim();return St.has(n)&&n!==e?`em-mob-text_align-${n}`:void 0}function Z(t,e,r,n){const o=[],s=vt(t,e,n.styles);return s&&o.push(s),o.push(...W(Ct(t,n),r)),o.length>0?o.join(" "):void 0}function Ct(t,e){const r=v(e.styles.resolveMobile(t));return e.dropCellPaddingX?{...r,left:null,right:null}:r}function X(t){const e=/^(-?\d+(?:\.\d+)?)px$/i.exec((t??"").trim());return e?Math.round(Number.parseFloat(e[1])):null}function kt(t,e,r){const n=[],o=X(t.get("font-size"));if(o!=null&&o!==X(e.get("font-size"))&&n.push(`em-mob-font_size-${o}px`),t.has("line-height")){const i=new Map([["font-size",t.get("font-size")??e.get("font-size")??""],["line-height",t.get("line-height")??""]]);ft(i);const l=X(i.get("line-height"));l!=null&&l!==X(e.get("line-height"))&&n.push(`em-mob-line_height-${l}px`)}const s=(t.get("text-align")??"").trim();return St.has(s)&&s!==r&&n.push(`em-mob-text_align-${s}`),n}var Pe={h1:2,h2:1.5,h3:1.17,h4:1,h5:.83,h6:.67},ze=16;function De(t,e,r,n){const o=Pe[t.tagName.toLowerCase()];if(o!==void 0){if(!e.has("font-size")){const s=Number.parseFloat(r??"")||ze;n.set("font-size",`${Math.round(s*o)}px`)}e.has("font-weight")||n.set("font-weight","bold")}}function J(t,e){const r=t.element,n=Re(r);if(n.length===0)return[];const o=e.styles.resolve(r),s=_(r,e),i=n.length;return n.map((l,a)=>{const c=e.styles.resolve(l),d=e.styles.resolveMobile(l),u=e.styles.resolveMobile(r),h=dt(d,u),p=Y(d,u);p&&h.set("text-align",p);const f=dt(c,o);De(l,c,o.get("font-size"),f),f.get("font-family")||f.set("font-family",yt),ft(f),we(f),Se(f);const b=wt(f,e.fonts),y=Y(c,o)??r.getAttribute("align")??"left",F={top:a===0?s.top:null,right:s.right,bottom:a===i-1?s.bottom:null,left:s.left};$e(l,"word-break"),qe(l,e.styles),Be(l),Te(l),Oe(l);const m=l!==r&&!Ne.test(l.tagName)?l.outerHTML:(l.innerHTML??"").trim(),S=b?[b]:[];S.push(...kt(h,f,y));const k=`<div${S.length?` class="${S.join(" ")}"`:""} style="${A(f)}">${m}</div>`,w=Ct(r,e),U={top:a===0?w.top:null,right:w.right,bottom:a===i-1?w.bottom:null,left:w.left};return{align:y,padding:F,div:k,tdClasses:W(U,F).join(" ")||void 0}})}function Et(t,e,r){const n=G(t.element,e.styles),o=n?`background-color: ${n};`:"";return J(t,e).map(s=>C({align:s.align,className:s.tdClasses,style:[o,E(s.padding)].filter(Boolean).join(" ")||void 0,insetX:e.insetX,visibility:r},s.div)).join(`
|
|
2
|
+
`)}function je(t){const e=Number.parseFloat(t??"");return t&&!t.includes("%")&&Number.isFinite(e)&&e>0?`${Math.round(e)}px`:null}function We(t,e,r){if(!t?.includes("%"))return t;const n=(r.columnWidth??0)-(e.left??0)-(e.right??0)-(r.insetX?.left??0)-(r.insetX?.right??0);return n>0?String(Math.round(n)):t}function xt(t,e){const r=t.querySelector("img:not(.rollover-second)"),n=r?.getAttribute("src");if(!r||!n)return null;const o=e.styles.resolve(r),s=_(t,e),i=We(r.getAttribute("width"),s,e),l=i?null:r.getAttribute("height"),a=new Map;if(a.set("display","block"),!l){a.set("width","100%");const y=o.get("max-width")??je(i);y&&a.set("max-width",y)}const c=o.get("border-radius");c&&a.set("border-radius",c);const d=e.styles.resolveMobile(r),u=[];(d.get("width")??"").trim()==="100%"&&u.push("em-mob-width-100perc"),(d.get("display")??"").trim()==="inline"&&u.push("em-mob-display-inline");const h=`<img src="${g(n)}"${i?` width="${g(i)}"`:""}${l?` height="${g(l)}"`:""}${u.length?` class="${u.join(" ")}"`:""} border="0" alt="${g(r.getAttribute("alt")??"")}" style="${A(a)}">`,p=r.closest("a")?.getAttribute("href"),f=p?`<a href="${g(p)}" target="_blank">${h}</a>`:h,b=t.getAttribute("align")??"center";return{inner:f,align:b,padding:s,widthAttr:i,tdClasses:Z(t,b,s,e)}}function Mt(t,e,r){const n=xt(t.element,e);return n?C({align:n.align,className:n.tdClasses,style:E(n.padding)||void 0,insetX:e.insetX,visibility:r},n.inner):""}var Q='td[class*="esd-block-"]';function B(t){return t.matches(Q)?t:t.querySelector(Q)??t}function Xe(t){const e=t.querySelector("table");return!e||t.querySelector(Q)?[t]:Array.from(e.querySelectorAll(":scope > tbody > tr > td, :scope > tr > td"))}function Ge(t,e,r){const n=Array.from(t.element.children).filter(f=>f.tagName.toLowerCase()==="td"),o=n.findIndex(f=>R({element:B(f),kind:null})==="image"),s=o>=0?xt(B(n[o]),e):null,i=n[1-o];if(n.length!==2||!s||!i)return"";const l=G(B(i),e.styles),a=Xe(B(i)).flatMap(f=>J({element:f,kind:"text"},e)).map(f=>{const b=[l?`background-color: ${l};`:"",E(f.padding)].filter(Boolean).join(" ");return`<td valign="top" align="${g(f.align)}"${f.tdClasses?` class="${g(f.tdClasses)}"`:""}${b?` style="${g(b)}"`:""}>${f.div}</td>`});if(a.length===0)return"";const c=Number.parseFloat(s.widthAttr??""),d=Number.isFinite(c)?` width="${Math.round(c)}"`:"",u=E(s.padding),h=`<td rowspan="${a.length}"${d} valign="top" align="${g(s.align)}"${s.tdClasses?` class="${g(s.tdClasses)}"`:""}${u?` style="${g(u)}"`:""}>${s.inner}</td>`,p=a.map((f,b)=>b>0?`<tr>${f}</tr>`:o===0?`<tr>${h}${f}</tr>`:`<tr>${f}${h}</tr>`);return C({align:"left",insetX:e.insetX,visibility:r},`<table width="100%" cellpadding="0" cellspacing="0" border="0">${p.join("")}</table>`)}function Nt(t){const e=/^(\d+)px$/.exec((t.get("width")??"").trim());return e?e[1]:null}function He(t,e){const r=t.closest("table");return(r?(e.resolveMobile(r).get("width")??"").trim():"")==="100%"?' class="em-mob-width-100perc"':""}function Ue(t,e,r){const n=He(t,r);return n||((e.get("display")??"").trim()==="block"?' class="em-mob-width-100perc"':"")}function Ve(t){const e=(t.columnWidth??0)-(t.insetX?.left??0)-(t.insetX?.right??0);return e>0?String(e):null}function Ke(t,e,r){const n=t.element,o=n.querySelector("a[href]");if(!o)return"";const s=n.querySelector("span.es-button-border"),i=e.styles.resolve(o),l=s?e.styles.resolve(s):new Map,a=q=>i.get(q)??l.get(q),c=T(O(a("background-color"))??O(a("background"))??"#1C52DC"),d=T(i.get("color")??"#FFFFFF"),u=a("border-radius")??"5px",h=i.get("font-size")??"16px",p=i.get("font-family")??yt,f=i.get("font-weight"),b=i.get("line-height")??`${parseInt(h,10)+12}px`,y=v(i),F=i.get("border-width"),m=y.top!=null||y.left!=null?`${y.top??0}px ${y.right??0}px ${y.bottom??0}px ${y.left??0}px`:F??"10px 20px",S=e.styles.resolveMobile(o),k=new Map;c&&c!=="transparent"&&k.set("background-color",c),ve(gt(l)).forEach((q,z)=>k.set(z,q)),k.set("border-radius",u);const w=new Map;w.set("display","block"),w.set("font-family",p),f&&w.set("font-weight",f),w.set("color",d),w.set("font-size",h),w.set("line-height",b),w.set("padding",m),w.set("text-decoration","none"),w.set("white-space","nowrap");const U=wt(w,e.fonts),V=U?[U]:[],ct=Number.parseFloat(S.get("font-size")??"");Number.isFinite(ct)&&ct>0&&V.push(`em-mob-font_size-${Math.round(ct)}px`);const le=pt(m),ut=pt(S.get("border-width")??S.get("padding"));ut&&["top","right","bottom","left"].forEach((q,z)=>{(!le||le[z]!==ut[z])&&V.push(`em-mob-padding_${q}-${ut[z]}`)});const fr=V.length?` class="${V.join(" ")}"`:"",hr=(o.textContent??"").replace(/\s+/g," ").trim()||"Button",mr=c&&c!=="transparent"?` bgcolor="${g(c)}"`:"",gr=(l.get("display")??i.get("display")??"").trim()==="block",ae=Nt(i)??Nt(l)??(gr?Ve(e):null),pr=`<table cellpadding="0" cellspacing="0" border="0"${ae?` width="${ae}"`:""}${Ue(n,S,e.styles)}><tr><td align="center" valign="middle"${mr} style="${A(k)}"><a href="${g(o.getAttribute("href")??"")}" target="_blank"${fr} style="${A(w)}">${pe(hr)}</a></td></tr></table>`,ce=n.getAttribute("align")??"center",ue=_(n,e);return C({align:ce,className:Z(n,ce,ue,e),style:E(ue)||void 0,insetX:e.insetX,visibility:r},pr)}function Ye(t,e,r){const n=t.element,o=n.querySelector('td[style*="border-bottom"]');if(o){const l=K(o,"border-bottom")??"1px solid #BFBFBF",a=_(n,e),c=C({height:"0",style:`padding: ${a.bottom??0}px 0 0; border-top: ${l};`,insetX:e.insetX,visibility:r}," "),d=a.top??0;return d>0?`${C({height:String(d),insetX:e.insetX,visibility:r},"")}
|
|
3
|
+
${c}`:c}const s=n.getAttribute("height"),i=s?parseInt(s,10):NaN;return!Number.isFinite(i)||i<=0?"":C({height:String(i),insetX:e.insetX,visibility:r},"")}function Lt(t,e){return(t?(e.resolveMobile(t).get("display")??"").trim():"")==="inline-block"?' class="em-mob-display-inline-block"':""}function Ze(t,e){if(e){const o=Math.round(parseFloat(t.getAttribute("width")??"40"))||40;return` width="${o}" height="${o}"`}const r=t.getAttribute("width"),n=t.getAttribute("height");return`${r?` width="${g(r)}"`:""}${n?` height="${g(n)}"`:""}`}function Je(t,e,r){const n=t.element,o=n.querySelector("table.es-social"),s=o?null:$t(n),i=o??s?.closest("table")??n.querySelector("table"),l=(s?Array.from(s.querySelectorAll("img")):Array.from(n.querySelectorAll("a")).map(d=>d.querySelector("img")).filter(d=>d!==null)).map(d=>{const u=d.getAttribute("src");if(!u)return"";const h=d.closest("a"),p=d.closest("td"),f=p&&p!==n?p:null,b=f?E(v(e.styles.resolve(f))):"",y=`<img src="${g(u)}"${Ze(d,!s)} border="0" alt="${g(d.getAttribute("alt")??"")}" style="display:block;">`;return`<td${Lt(f,e.styles)}${b?` style="${g(b)}"`:""}>`+(h?`<a href="${g(h.getAttribute("href")??"")}" target="_blank">${y}</a>`:y)+"</td>"}).filter(Boolean);if(l.length===0)return"";const a=n.getAttribute("align")??"center",c=_(n,e);return C({align:a,className:Z(n,a,c,e),style:E(c)||void 0,insetX:e.insetX,visibility:r},`<table border="0" cellspacing="0" cellpadding="0"${Lt(i,e.styles)}><tr>${l.join("")}</tr></table>`,' em-type="social"')}function Qe(t){const e=Number.parseFloat(t.getAttribute("width")??"");return Number.isFinite(e)&&e>0?e:1}function tn(t,e){const r=e.resolveMobile(t);return(r.get("display")??"").includes("block")||(r.get("width")??"").trim()==="100%"}function Bt(t,e){const r=t.element.querySelector("table.es-menu")??t.element,n=bt(t.element),o=Array.from(r.querySelectorAll("td")).filter(l=>l.querySelector("a")),s=o.map(Qe),i=s.reduce((l,a)=>l+a,0);return o.map((l,a)=>{const c=v(e.styles.resolve(l)),d=c.left??0,u=c.right??0,h={...e,dropCellPaddingX:!0,insetX:{left:a===0?d:0,right:a===o.length-1?u:0},columnWidth:e.columnWidth?Math.floor(e.columnWidth*s[a]/i):void 0};return{html:(l.textContent??"").trim()===""&&l.querySelector("img")!==null?Mt({element:l,kind:"image"},h,n):Et({element:l,kind:"text"},h,n),padLeft:d,padRight:u,weight:s[a],stacksOnMobile:tn(l,e.styles),hiddenOnMobile:x(l)==="desktop",background:G(l,e.styles)}})}function G(t,e){const r=e.resolve(t),n=O(r.get("background-color"))??O(r.get("background"))??t.getAttribute("bgcolor");return n&&n!=="transparent"?T(n):null}function It(t){return(t??"").replace(/(\.\d*?)0+%$/,"%").replace(/\.%$/,"%")}function Ft(t,e,r,n){const o=t.map(({source:s,width:i})=>{const l=J({element:s,kind:"text"},r);if(l.length===0)return"";const a=G(s,r.styles),c=[a?`background-color: ${a};`:"",E(l[0].padding)].filter(Boolean).join(" "),d=x(s)==="desktop"?"em-show-td-desktop":"",u=[l[0].tdClasses,d].filter(Boolean).join(" ");return`<td${i?` width="${g(i)}"`:""} align="${g(l[0].align)}"${u?` class="${g(u)}"`:""}${c?` style="${g(c)}"`:""}>${l.map(h=>h.div).join("")}</td>`});return o.some(s=>s==="")?"":C({className:vt(e,e.getAttribute("align")??"",r.styles),insetX:r.insetX,visibility:n},`<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>${o.join("")}</tr></table>`)}function en(t,e,r){const n=t.element.querySelector("table.es-menu")??t.element,o=Array.from(n.querySelectorAll("td")).filter(s=>s.querySelector("a")).map(s=>({source:s,width:It(s.getAttribute("width"))}));return o.length>0?Ft(o,t.element,e,r):""}function nn(t,e,r){const n=Array.from(t.element.children).filter(o=>o.tagName.toLowerCase()==="td").map(o=>({source:o.matches('td[class*="esd-block-"]')?o:o.querySelector('td[class*="esd-block-"]')??o,width:It(o.getAttribute("width"))}));return n.length>0?Ft(n,t.element,e,r):""}function qt(t){const e=/\besd-block-([a-z]+)\b/.exec(t.getAttribute("class")??"");return e?e[1]:null}function tt(t,e){const r=bt(t.element);switch(R(t)){case"text":return Et(t,e,r);case"image":case"banner":case"video":return Mt(t,e,r);case"button":return Ke(t,e,r);case"spacer":return Ye(t,e,r);case"social":return Je(t,e,r);case"imagetext":return Ge(t,e,r)||Array.from(t.element.children).filter(n=>n.tagName.toLowerCase()==="td").map(n=>tt({element:B(n),kind:qt(B(n))},e)).filter(n=>n.trim()!=="").join(`
|
|
4
|
+
`);case"row":return nn(t,e,r)||Array.from(t.element.querySelectorAll('td[class*="esd-block-"]')).map(n=>tt({element:n,kind:qt(n)},e)).filter(n=>n.trim()!=="").join(`
|
|
5
|
+
`);case"menu":return en(t,e,r)||Bt(t,e).map(n=>n.html).join(`
|
|
6
|
+
`);default:return""}}var rn=/^\.(em-mob-[A-Za-z0-9_-]+)$/,on=/([^{}]+)\{([^{}]*)\}/g;function sn(t){return t.split(";").map(e=>e.trim()).filter(e=>e!=="").map(e=>` ${e};`).join(`
|
|
7
|
+
`)}function ln(t){const e=new Map;return t.querySelectorAll('style[em="styles"]').forEach(r=>{const n=r.textContent??"";for(const o of n.matchAll(on)){const s=rn.exec(o[1].trim());if(!s||e.has(s[1]))continue;const i=sn(o[2]);i!==""&&e.set(s[1],i)}}),e}var an=480,cn=new Set(["padding","margin"]),un=["top","right","bottom","left"];function dn(t){if(t.includes("("))return null;const e=t.trim().split(/\s+/);return e.length===1?[e[0],e[0],e[0],e[0]]:e.length===2?[e[0],e[1],e[0],e[1]]:e.length===3?[e[0],e[1],e[2],e[1]]:e.length===4?[e[0],e[1],e[2],e[3]]:null}function Tt(){return{byClass:new Map,byTag:new Map}}function Ot(t,e){const r=t.get(e);if(r)return r;const n=[];return t.set(e,n),n}function fn(t,e){const r=e.parts[e.parts.length-1];(r.classes.length>0?Ot(t.byClass,r.classes[0]):Ot(t.byTag,r.tag)).push(e)}function hn(t){let e="",r=0;for(;r<t.length;){const n=t.indexOf("/*",r);if(n===-1){e+=t.slice(r);break}e+=t.slice(r,n);const o=t.indexOf("*/",n+2);if(o===-1)break;r=o+2}return e}function _t(t,e){let r=0;for(let n=e;n<t.length;n+=1)if(t[n]==="{")r+=1;else if(t[n]==="}"&&(r-=1,r===0))return n;return-1}function mn(t){if(t===""||/[[\]>+~:#*()]/.test(t))return null;const e=[];let r=null;const n=t.split("."),o=n[0].trim();if(o!==""){if(!/^[a-zA-Z][\w-]*$/.test(o))return null;r=o.toLowerCase()}for(let s=1;s<n.length;s+=1){const i=n[s].trim();if(i==="")return null;e.push(i)}return r===null&&e.length===0?null:{tag:r,classes:e}}function gn(t){const e=[],r=t.trim().split(/\s+/);for(const n of r){const o=mn(n);if(!o)return null;e.push(o)}return e.length>0?e:null}function pn(t){return t.reduce((e,r)=>e+r.classes.length*10+(r.tag?1:0),0)}function Rt(t){const e=new Map,r=new Set;let n=0,o=0;const s=i=>{const l=i.indexOf(":");if(l===-1)return;const a=i.slice(0,l).trim().toLowerCase();let c=i.slice(l+1).trim();if(a===""||c==="")return;const d=c.toLowerCase().lastIndexOf("!important");if(d!==-1&&(c=c.slice(0,d).trim(),r.add(a)),c==="")return;const u=cn.has(a)?dn(c):null;if(u){un.forEach((h,p)=>{e.set(`${a}-${h}`,u[p]),r.has(a)&&r.add(`${a}-${h}`)}),r.delete(a);return}e.set(a,c)};for(let i=0;i<t.length;i+=1){const l=t[i];l==="("?n+=1:l===")"?n=Math.max(0,n-1):l===";"&&n===0&&(s(t.slice(o,i)),o=i+1)}return s(t.slice(o)),{declarations:e,important:r}}function bn(t){const e=/max-(?:device-)?width\s*:\s*(\d+)/i.exec(t);return e?Number(e[1]):null}function Pt(t,e,r){let n=0;for(;n<t.length;){const o=t.indexOf("{",n);if(o===-1)return;const s=_t(t,o);if(s===-1)return;const i=t.slice(n,o).trim(),l=t.slice(o+1,s);if(i!==""&&!i.startsWith("@")){const{declarations:a,important:c}=Rt(l);a.size>0&&i.split(",").forEach(d=>{const u=gn(d);u&&(r.value+=1,fn(e,{parts:u,declarations:a,important:c,specificity:pn(u),order:r.value}))})}n=s+1}}function yn(t){const e=Tt(),r=Tt(),n={value:0};let o=!1;return Array.from(t.querySelectorAll("style")).forEach(s=>{const i=hn(s.textContent??"");let l=0,a="";for(;l<i.length;){const c=i.indexOf("@",l);if(c===-1){a+=i.slice(l);break}a+=i.slice(l,c);const d=i.indexOf("{",c);if(d===-1)break;const u=_t(i,d);if(u===-1)break;const h=i.slice(c,d);if(/^@media/i.test(h.trim())){const p=bn(h);if(p!==null&&p>=an){const f=r.byClass.size+r.byTag.size;Pt(i.slice(d+1,u),r,n),r.byClass.size+r.byTag.size>f&&(o=!0)}}l=u+1}Pt(a,e,n)}),{base:e,mobile:r,hasMobileMedia:o}}function zt(t,e){return e.tag&&t.tagName.toLowerCase()!==e.tag?!1:e.classes.every(r=>t.classList.contains(r))}function Dt(t,e){const r=e.parts;if(!zt(t,r[r.length-1]))return!1;let n=r.length-2,o=t.parentElement;for(;n>=0&&o;)zt(o,r[n])&&(n-=1),o=o.parentElement;return n<0}function jt(t,e){const r=[];return t.classList.forEach(n=>{(e.byClass.get(n)??[]).forEach(o=>{Dt(t,o)&&r.push(o)})}),(e.byTag.get(t.tagName.toLowerCase())??[]).forEach(n=>{Dt(t,n)&&r.push(n)}),r.sort((n,o)=>n.specificity-o.specificity||n.order-o.order)}function Wt(t,e,r){const n=new Map;return t.forEach(o=>{o.declarations.forEach((s,i)=>{o.important.has(i)||n.set(i,s)})}),e.forEach((o,s)=>{r.has(s)||n.set(s,o)}),t.forEach(o=>{o.declarations.forEach((s,i)=>{o.important.has(i)&&n.set(i,s)})}),r.forEach(o=>{const s=e.get(o);s!==void 0&&n.set(o,s)}),n}function wn(t){const{base:e,mobile:r,hasMobileMedia:n}=yn(t),o=new WeakMap,s=new WeakMap;return{hasMobileMedia:n,resolve(i){const l=o.get(i);if(l)return l;const{declarations:a,important:c}=Rt(i.getAttribute("style")??""),d=Wt(jt(i,e),a,c);return o.set(i,d),d},resolveMobile(i){const l=s.get(i);if(l)return l;const a=Wt(jt(i,r),new Map,new Set);return s.set(i,a),a}}}var Xt={Thin:"100","Thin Italic":"100i",ExtraLight:"200","ExtraLight Italic":"200i",Light:"300","Light Italic":"300i",Regular:"400","Regular Italic":"400i",Medium:"500","Medium Italic":"500i",SemiBold:"600","SemiBold Italic":"600i",Bold:"700","Bold Italic":"700i",ExtraBold:"800","ExtraBold Italic":"800i",Black:"900","Black Italic":"900i"},$n={"Sans Serif":"sans-serif",Serif:"serif"},Sn={100:"Thin",200:"ExtraLight",300:"Light",400:"Regular",500:"Medium",600:"SemiBold",700:"Bold",800:"ExtraBold",900:"Black"};function et(t){return t.replace(/\s+/g," ").trim().toLowerCase()}function An(t){return(t.split(",")[0]??"").trim().replace(/^['"]/,"").replace(/['"]$/,"").trim()}function vn(t){const e=t.split(",").map(r=>r.trim().replace(/^['"]|['"]$/g,"").toLowerCase());return e.includes("serif")&&!e.includes("sans-serif")?"Serif":"Sans Serif"}function Cn(t,e){let r=(t??"").trim().toLowerCase();r==="bold"?r="700":(r==="normal"||r==="")&&(r="400");const n=Sn[r]??"Regular";return e?`${n} Italic`:n}function nt(t,e){return`em-font-${t.replace(/\s/g,"")}-${e.replace(/\s/g,"")}`}function Gt(t){const e=[],r=t.split("?")[1];return r&&r.split("&").forEach(n=>{const o=n.indexOf("=");if(o===-1)return;const s=n.slice(0,o),i=n.slice(o+1);if(s!=="family"||!i)return;let l=i;try{l=decodeURIComponent(i.replace(/\+/g," "))}catch{l=i.replace(/\+/g," ")}l.split("|").forEach(a=>{const c=a.split(":")[0].trim();c&&e.push(c)})}),e}function kn(t){const e=new Set;t.querySelectorAll("link[href]").forEach(n=>{const o=n.getAttribute("href")??"";o.includes("fonts.googleapis.com")&&Gt(o).forEach(s=>e.add(et(s)))});const r=/@import\s+(?:url\(\s*)?['"]?(https?:\/\/fonts\.googleapis\.com\/[^'")\s]+)/g;return t.querySelectorAll("style").forEach(n=>{const o=n.textContent??"";let s;for(;(s=r.exec(o))!==null;)Gt(s[1]).forEach(i=>e.add(et(i)))}),e}var En=class{imported;used=new Map;constructor(t){this.imported=t}register(t,e,r=!1){if(!t)return null;const n=An(t);if(!n||!this.imported.has(et(n)))return null;const o=vn(t),s=Cn(e,r),i=nt(n,s);return this.used.has(i)||this.used.set(i,{family:n,variant:s,category:o}),{emClass:i,fallback:o==="Serif"?'"Times New Roman", Times, serif':"Helvetica, Arial, sans-serif"}}get hasFonts(){return this.used.size>0}linkTags(){return Array.from(this.used.values()).map(({family:t,variant:e})=>{const r=Xt[e]??"400",n=r.includes("i"),o=r.replace(/i/g,"");return` <link rel="stylesheet" href="${`https://fonts.googleapis.com/css2?family=${t}:ital,wght@${n?"1":"0"},${o}&display=swap`}" em-class="${nt(t,e)}">`}).join(`
|
|
8
|
+
`)}styleRules(){return Array.from(this.used.values()).map(({family:t,variant:e,category:r})=>{const n=Xt[e]??"400",o=n.includes("i"),s=n.replace(/i/g,"");let i=`font-family: '${t}', ${$n[r]??"sans-serif"}!important; font-weight: ${s}!important;`;return o&&(i+=" font-style: italic!important;"),` .${nt(t,e)} { ${i} }`})}};function Ht(t,e){const r=new Set;let n;for(;(n=e.exec(t))!==null;)r.add(n[1]);return Array.from(r).sort((o,s)=>Number(o)-Number(s))}function xn(t){return`<style em="styles">
|
|
9
|
+
${t.join(`
|
|
10
|
+
`)}${t.length?`
|
|
11
|
+
`:""}</style>`}function Mn(t){const e=new Set;return t.forEach(r=>{(r.split("{")[0].match(/\.[A-Za-z][A-Za-z0-9_-]*/g)??[]).forEach(n=>e.add(n.slice(1)))}),e}function Nn(t,e,r=[],n=!1,o=new Map){if(n)return xn(r);const s=[];s.push(` .em-narrow-table {
|
|
12
|
+
width: 100%!important;
|
|
13
|
+
max-width: ${e}px!important;
|
|
14
|
+
min-width: 320px!important;
|
|
15
|
+
}`);const i=m=>t.includes(m);i("em-mob-width-100perc")&&s.push(` .em-mob-width-100perc {
|
|
16
|
+
width: 100%!important;
|
|
17
|
+
max-width: 100%!important;
|
|
18
|
+
}`),i("em-mob-wrap")&&s.push(` .em-mob-wrap {
|
|
19
|
+
display: block!important;
|
|
20
|
+
}`),i("em-mob-wrap-cancel")&&s.push(` .em-mob-wrap.em-mob-wrap-cancel, .noresp-em-mob-wrap.em-mob-wrap-cancel {
|
|
21
|
+
display: table-cell!important;
|
|
22
|
+
}`);const l=new Set,a=/em-mob-height-(\d+)px/g;let c;for(;(c=a.exec(t))!==null;)l.add(c[1]);Array.from(l).sort((m,S)=>Number(m)-Number(S)).forEach(m=>{s.push(` .em-mob-height-${m}px {
|
|
23
|
+
height: ${m}px!important;
|
|
24
|
+
}`)});const d=new Set,u=/em-mob-padding_(top|right|bottom|left)-(\d+)/g;let h;for(;(h=u.exec(t))!==null;)d.add(`${h[1]}-${h[2]}`);Array.from(d).sort().forEach(m=>{const S=m.lastIndexOf("-"),k=m.slice(0,S),w=m.slice(S+1);s.push(` .em-mob-padding_${k}-${w} {
|
|
25
|
+
padding-${k}: ${w}px!important;
|
|
26
|
+
}`)}),Ht(t,/em-mob-font_size-(\d+)px/g).forEach(m=>{s.push(` .em-mob-font_size-${m}px {
|
|
27
|
+
font-size: ${m}px!important;
|
|
28
|
+
}`)}),Ht(t,/em-mob-line_height-(\d+)px/g).forEach(m=>{s.push(` .em-mob-line_height-${m}px {
|
|
29
|
+
line-height: ${m}px!important;
|
|
30
|
+
}`)}),["left","center","right"].forEach(m=>{i(`em-mob-text_align-${m}`)&&s.push(` .em-mob-text_align-${m} {
|
|
31
|
+
text-align: ${m}!important;
|
|
32
|
+
}`)});const p=new Set,f=/em-mob-width-(\d+)perc/g;let b;for(;(b=f.exec(t))!==null;)b[1]!=="100"&&p.add(b[1]);Array.from(p).sort((m,S)=>Number(m)-Number(S)).forEach(m=>{s.push(` .em-mob-width-${m}perc {
|
|
33
|
+
width: ${m}%!important;
|
|
34
|
+
max-width: ${m}%!important;
|
|
35
|
+
}`)}),i("em-mob-display-inline")&&s.push(` .em-mob-display-inline {
|
|
36
|
+
display: inline!important;
|
|
37
|
+
}`),i("em-mob-display-inline-block")&&s.push(` .em-mob-display-inline-block {
|
|
38
|
+
display: inline-block!important;
|
|
39
|
+
}`),i("em-show-td-mobile")&&s.push(` .em-show-td-mobile {
|
|
40
|
+
display: table-cell!important;
|
|
41
|
+
}`),i("em-show-td-desktop")&&s.push(` .em-show-td-desktop,
|
|
42
|
+
.em-mob-wrap.em-mob-wrap-cancel.em-show-td-desktop,
|
|
43
|
+
.noresp-em-mob-wrap.em-mob-wrap-cancel.em-show-td-desktop {
|
|
44
|
+
display: none!important;
|
|
45
|
+
}`),i("em-show-table-mobile")&&s.push(` .em-show-table-mobile {
|
|
46
|
+
display: table!important;
|
|
47
|
+
}`),i("em-show-table-desktop")&&s.push(` .em-show-table-desktop {
|
|
48
|
+
display: none!important;
|
|
49
|
+
}`);const y=r.length?`
|
|
50
|
+
${r.join(`
|
|
51
|
+
`)}
|
|
52
|
+
`:"",F=Mn(s);return Array.from(o.keys()).sort().forEach(m=>{!F.has(m)&&i(m)&&s.push(` .${m} {
|
|
53
|
+
${o.get(m)??""}
|
|
54
|
+
}`)}),`<style em="styles">
|
|
55
|
+
@media only screen and (max-device-width:${e}px),only screen and (max-width:${e}px) {
|
|
56
|
+
${s.join(`
|
|
57
|
+
`)}
|
|
58
|
+
}
|
|
59
|
+
${y}</style>`}function Ln(t){const{title:e,preheader:r,outerBackground:n,narrowWidth:o,stylesBlock:s,blocksHtml:i,fontLinks:l,noresp:a}=t,c=a?"noresp-em-narrow-table":"em-narrow-table",d=l&&l.trim()!==""?`
|
|
60
|
+
${l}`:"",u=r.trim()!==""?`
|
|
61
|
+
<span class="preheader" style="display: none !important; visibility: hidden; opacity: 0; color: ${n}; height: 0; width: 0; font-size: 1px;">${g(r)}</span>`:"";return`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
62
|
+
<html>
|
|
63
|
+
<head>
|
|
64
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
65
|
+
<meta name="x-apple-disable-message-reformatting">
|
|
66
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
67
|
+
<title>${g(e)}</title>${d}
|
|
68
|
+
<style type="text/css">
|
|
69
|
+
html {
|
|
70
|
+
-webkit-text-size-adjust: none;
|
|
71
|
+
-ms-text-size-adjust: none;
|
|
72
|
+
}
|
|
73
|
+
</style>
|
|
74
|
+
${s}
|
|
75
|
+
<!--[if gte mso 9]>
|
|
76
|
+
<xml>
|
|
77
|
+
<o:OfficeDocumentSettings>
|
|
78
|
+
<o:AllowPNG></o:AllowPNG>
|
|
79
|
+
<o:PixelsPerInch>96</o:PixelsPerInch>
|
|
80
|
+
</o:OfficeDocumentSettings>
|
|
81
|
+
</xml>
|
|
82
|
+
<![endif]-->
|
|
83
|
+
</head>
|
|
84
|
+
<body style="margin: 0; padding: 0; background-color: ${n};">${u}
|
|
85
|
+
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="font-size: 1px; line-height: normal;" bgcolor="${n}">
|
|
86
|
+
<tr em="group">
|
|
87
|
+
<td align="center">
|
|
88
|
+
<!--[if (gte mso 9)|(IE)]>
|
|
89
|
+
<table cellpadding="0" cellspacing="0" border="0" width="${o}"><tr><td>
|
|
90
|
+
<![endif]-->
|
|
91
|
+
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="max-width: ${o}px; min-width: ${o}px; width: ${o}px;" class="${c}">
|
|
92
|
+
${i}
|
|
93
|
+
</table>
|
|
94
|
+
<!--[if (gte mso 9)|(IE)]>
|
|
95
|
+
</td></tr></table>
|
|
96
|
+
<![endif]-->
|
|
97
|
+
</td>
|
|
98
|
+
</tr>
|
|
99
|
+
</table>
|
|
100
|
+
</body>
|
|
101
|
+
</html>`}var Bn="table.es-header-body, table.es-content-body, table.es-footer-body",In="table.es-header, table.es-content, table.es-footer";function Fn(t){t.querySelectorAll("tr.gmail-fix").forEach(e=>e.remove()),t.querySelectorAll("tr").forEach(e=>{e.children.length===0&&e.remove()})}function qn(t,e){t.querySelectorAll("[em]").forEach(r=>{e.some(n=>n.contains(r))||r.removeAttribute("em")})}var Tn=":scope > table > tbody > tr > td.em-mob-wrap, :scope > table > tr > td.em-mob-wrap";function Ut(t){return t.querySelector(Tn)!==null}function I(t){return ge(t)}function M(t,e){return t.classList.contains(e)}function On(t){return M(t,"esd-container-frame")||!M(t,"es-hidden")&&I(t)!==null}function Vt(t){return!M(t,"esd-container-frame")&&I(t)!==null&&(t.textContent??"").trim()===""&&t.querySelector("img, table")===null}function Kt(t){const e=/\besd-block-([a-z]+)\b/.exec(t.getAttribute("class")??"");return e?e[1]:null}var rt='td[class*="esd-block-"]';function Yt(t){return Array.from(t.children).filter(e=>e.tagName.toLowerCase()==="td")}function Zt(t){const e=Yt(t);if(e.length!==2||e.some(n=>n.querySelectorAll(rt).length>1))return null;const r=e.map(n=>{const o=n.matches(rt)?n:n.querySelector(rt)??n;return R({element:o,kind:Kt(o)})});return r.includes("image")&&r.includes("text")?"imagetext":null}function _n(t){const e=Array.from(t.querySelectorAll('td[class*="esd-block-"]'));if(e.length>0)return Rn(e.filter(o=>o.closest('td[class*="esd-block-"]')===o),t);const r=t.querySelector("table");if(!r)return t.textContent?.trim()||t.querySelector("img")?[{element:t,kind:null}]:[];const n=Array.from(t.children).filter(o=>o.tagName.toLowerCase()==="table");return(n.length>0?n:[r]).flatMap(o=>Array.from(o.children)).flatMap(o=>o.tagName.toLowerCase()==="tbody"?Array.from(o.children):[o]).filter(o=>o.tagName.toLowerCase()==="tr").flatMap(o=>Zt(o)?[{element:o,kind:"imagetext"}]:Yt(o).map(s=>({element:s,kind:null})))}function Jt(t,e){let r=t;for(;r&&r!==e;){const n=r.parentElement;if(n?.tagName.toLowerCase()==="tr"&&Array.from(n.children).filter(o=>o.tagName.toLowerCase()==="td").length>1)return n;r=r.parentElement}return null}function Rn(t,e){const r=new Map;t.forEach(s=>{const i=Jt(s,e);i&&r.set(i,[...r.get(i)??[],s])});const n=new Set,o=[];return t.forEach(s=>{const i=Jt(s,e);if((i?r.get(i)??[]:[]).length<2){o.push({element:s,kind:Kt(s)});return}n.has(i)||(n.add(i),o.push({element:i,kind:Zt(i)??"row"}))}),o}function ot(t){return Array.from(t.children).flatMap(e=>e.tagName.toLowerCase()==="tbody"?Array.from(e.children):[e]).filter(e=>e.tagName.toLowerCase()==="tr")}function Pn(t){return Array.from(t.children).filter(e=>e.tagName.toLowerCase()==="td"&&(On(e)||M(e,"es-hidden")))}function zn(t){const e=Array.from(t.querySelectorAll('table[align="left"], table[align="right"]')).filter(o=>o.parentElement?.closest('table[align="left"], table[align="right"]')==null&&o.closest('td[class*="esd-block-"]')==null),r=o=>M(o,"es-right")||o.getAttribute("align")==="right",n=[...e.filter(o=>!r(o)),...e.filter(r).reverse()];return n.every((o,s)=>o===e[s])?{tables:e,reversed:!1}:n.every((o,s)=>o===e[e.length-1-s])?{tables:e,reversed:!0}:{tables:n,reversed:!1}}var Dn=8,jn=/<td\b[^>]*?(?:width="?(\d+)"?|width:\s*(\d+)px)[^>]*>\s*<\/td>/gi;function Qt(t,e){let r=0,n=t.nextSibling;for(;n&&n!==e;){if(n.nodeType===Dn)for(const o of(n.nodeValue??"").matchAll(jn))r+=Number(o[1]??o[2]);n=n.nextSibling}return n===e?r:null}function Wn(t,e){const r=Qt(t,e)??Qt(e,t)??te(t,e)??te(e,t);return r&&r>0?r:null}function te(t,e){const r=t.parentElement?.closest("td"),n=e.parentElement?.closest("td");if(!r||!n||r===n||r.parentElement!==n.parentElement)return null;let o=0,s=r.nextElementSibling;for(;s&&s!==n;)s.tagName.toLowerCase()==="td"&&Vt(s)&&(o+=I(s)??0),s=s.nextElementSibling;return s===n?o:null}function ee(t){const e=[];return ot(t).forEach(r=>{Pn(r).forEach((n,o)=>{(e[o]??=[]).push(n)})}),e.filter(Boolean).map(r=>{const n=r.every(o=>M(o,"es-hidden")||Vt(o));return{element:r[0],width:I(r[0]),isGap:n,atoms:n?[]:r.flatMap(_n)}})}function Xn(t){const e=[];return t.forEach((r,n)=>{const o=n>0?Wn(t[n-1],r):null;o!==null&&!e[e.length-1]?.isGap&&e.push({element:null,width:o,isGap:!0,atoms:[]}),e.push(...ee(r))}),e}function Gn(t){return M(t,"esdev-adapt-off")||t.querySelector("table.esdev-mso-table td.esdev-mso-td")!==null}function Hn(t){const e=[];return t.forEach(r=>{const n=e[e.length-1];n&&!n.isGap&&!r.isGap&&e.push({element:null,width:0,isGap:!0,atoms:[]}),e.push(r)}),e}function Un(t,e){const r=x(t);return r==="all"?x(e):r}function Vn(t,e,r){if(Ut(t))return{shell:t,columns:[],body:e,isFirstInBody:!1,isLastInBody:!1,columnsReversed:!1,columnsStayInRow:!1,visibility:"all",native:!0};const n=zn(t),o=t.querySelector("table"),s=Hn(n.tables.length>0?Xn(n.tables):o?ee(o):[]);return s.some(i=>i.atoms.length>0)?{shell:t,columns:s,body:e,isFirstInBody:!1,isLastInBody:!1,columnsReversed:n.reversed,columnsStayInRow:Gn(t),visibility:Un(t,r),native:!1}:null}function ne(t){const e=Array.from(t.children).filter(o=>o.tagName.toLowerCase()==="td");if(e.length!==1)return null;const[r]=e,n=r.querySelector("td.esd-structure");return n&&n.closest("td.esd-structure")===n?n:r}function Kn(t){const e=Array.from(t.querySelectorAll(Bn)),r=new Set(e);return t.querySelectorAll(In).forEach(n=>{if(n.querySelector("table.es-header-body, table.es-content-body, table.es-footer-body"))return;const o=Array.from(n.querySelectorAll("table")).find(s=>I(s)!==null);o&&!r.has(o)&&(r.add(o),e.push(o))}),e}function Yn(t){Fn(t);const e=Kn(t);qn(t,e.flatMap(o=>ot(o).map(ne).filter(s=>s!==null&&Ut(s))));const r=[];let n=null;return e.forEach(o=>{n=n??I(o);const s=[];ot(o).forEach(i=>{const l=ne(i);if(!l)return;const a=Vn(l,o,i);a&&s.push(a)}),s.length>0&&(s[0].isFirstInBody=!0,s[s.length-1].isLastInBody=!0,r.push(...s))}),{blocks:r,width:n}}var st=["background-color","background-image","background-position","background-repeat","background-size","border","border-top","border-right","border-bottom","border-left","border-radius"],it=["border-top","border-right","border-bottom","border-left"],Zn=["border",...it,"border-radius"];function N(t){const e=new Map;st.forEach(n=>{const o=t.get(n);!o||o==="transparent"||o==="none"||(n==="border-radius"?!mt(o):n.startsWith("border")&&!D(o))||e.set(n,o)});const r=t.get("background");if(r){const n=O(r);n&&n!=="transparent"&&!e.has("background-color")&&e.set("background-color",n);const o=ke(r);o&&!e.has("background-image")&&e.set("background-image",o)}return e}function P(t){const e=t.getAttribute("bgcolor");return e&&e!=="transparent"?e:null}function H(t){return t.has("background-color")||t.has("background-image")}function re(t){return it.some(e=>t.has(e))||t.has("border")}function Jn(t,e){const r=e.resolve(t.body),n=new Map;if(t.isFirstInBody&&t.isLastInBody)return Zn.forEach(i=>{const l=r.get(i);l&&(i==="border-radius"?mt(l):D(l))&&n.set(i,l)}),n;const o=r.get("border"),s={"border-top":t.isFirstInBody,"border-right":!0,"border-bottom":t.isLastInBody,"border-left":!0};return it.forEach(i=>{const l=r.get(i)??o;s[i]&&l&&D(l)&&n.set(i,l)}),n}function Qn(t,e){const r=t.shell,n=N(e.resolve(r));re(n)||Jn(t,e).forEach((s,i)=>n.set(i,s));const o=P(r);if(o&&!n.has("background-color")&&n.set("background-color",o),H(n)||tr(n,t,e),!n.has("background-color")){const s=oe(t,e);s&&n.set("background-color",s)}return n}function tr(t,e,r){let n=e.shell.parentElement;for(;n;){const o=N(r.resolve(n));if(H(o)){st.filter(i=>i.startsWith("background")).forEach(i=>{const l=o.get(i);l&&t.set(i,l)});return}const s=P(n);if(s){t.set("background-color",s);return}if(n===e.body||n.matches("table.es-header-body, table.es-content-body, table.es-footer-body"))return;n=n.parentElement}}function oe(t,e){let r=t.shell.parentElement;for(;r;){const n=N(e.resolve(r)).get("background-color")??P(r);if(n)return n;if(r===t.body||r.matches("table.es-header-body, table.es-content-body, table.es-footer-body"))return null;r=r.parentElement}return null}function er(t){const e=t.querySelector(".preheader");return e?(e.textContent??"").replace(/[͏⠀]/g,"").replace(/ /g," ").replace(/\s+/g," ").trim():""}function nr(t,e){const r=t.querySelector(".es-wrapper-color")??t.querySelector("table.es-wrapper"),n=r?e.resolve(r).get("background-color"):void 0,o=t.body?e.resolve(t.body).get("background-color"):void 0;return T(n??o??"#FFFFFF")}function rr(t,e,r){const n=[t],o=e?/^(\d+(?:\.\d+)?)px$/.exec((r.resolveMobile(e).get("height")??"").trim()):null;return o&&n.push(`em-mob-height-${Math.round(Number.parseFloat(o[1]))}px`),e&&x(e)==="desktop"&&n.push("em-show-td-desktop"),n.join(" ")}function se(t,e){const r=t.element?N(e.resolve(t.element)):new Map,n=t.element?.querySelector("table");if(!n)return r;const o=e.resolve(n);re(r)||gt(o).forEach((i,l)=>r.set(l,i));const s=N(o).get("border-radius");if(s&&!r.has("border-radius")&&r.set("border-radius",s),!H(r)){const i=N(o);st.filter(a=>a.startsWith("background")).forEach(a=>{const c=i.get(a);c&&r.set(a,c)});const l=P(n);l&&!r.has("background-color")&&r.set("background-color",l)}return r}function or(t){return Math.round(100/Math.max(t,1))-2}function sr(t,e,r,n){if(t.isGap)return`<td width="${t.width??0}" class="${rr(n.baseClass,t.element,r)}"${lt(n.reversed,"ltr")}> </td>`;const o=se(t,r),s=t.atoms.length>0,i=[n.baseClass];n.stayInRow?s&&i.push(`em-mob-width-${or(n.contentColumns)}perc`):i.push("em-mob-width-100perc"),t.element&&i.push(...W(v(r.resolveMobile(t.element)),v(r.resolve(t.element)),["top","bottom"]));const l=o.size?` style="${g(A(o))}"`:"";return`<td${t.width!=null?` width="${t.width}"`:""} valign="top" class="${i.join(" ")}"${lt(n.reversed,"ltr")}${l}>${e||" "}</td>`}function ie(t,e){const r={baseClass:t.columnsStayInRow?"em-mob-wrap em-mob-wrap-cancel":"em-mob-wrap",stayInRow:t.columnsStayInRow,contentColumns:t.columns.filter(n=>!n.isGap&&n.atoms.length>0).length,reversed:t.columnsReversed};return t.columns.map(n=>{const o={...e,columnWidth:n.width??void 0},s=n.atoms.map(i=>{try{return tt(i,o)}catch{return""}}).filter(i=>i.trim()!=="").join(`
|
|
102
|
+
`);return{html:sr(n,s,e.styles,r),hasContent:s!==""}})}function lt(t,e){return t?` dir="${e}"`:""}function at(t,e,r,{reversed:n=!1,visibility:o="all",classes:s=[]}={}){if(!t.some(p=>p.hasContent))return"";const i=Ee(o),l=[A(r),me(v(e)),i.inlineStyle].filter(Boolean).join(" "),a=l?` style="${g(l)}"`:"",c=[i.className,...s].filter(Boolean),d=c.length?` class="${c.join(" ")}"`:"",u=`<table cellpadding="0" cellspacing="0" border="0" class="em-mob-width-100perc"><tr>${t.map(p=>p.html).join("")}</tr></table>`,h=`<td${lt(n,"rtl")}${d}${a}>${u}</td>`;return`<tr em="block">${i.wrapNonMso?`<!--[if !mso]><!-->${h}<!--<![endif]-->`:h}</tr>`}function ir(t,e){const r=t.every(a=>a.stacksOnMobile),n=t.slice(0,-1).map((a,c)=>a.padRight+t[c+1].padLeft),o=lr(t,n,e),s=r?"em-mob-wrap em-mob-width-100perc":`em-mob-wrap em-mob-wrap-cancel em-mob-width-${Math.round(100/t.length)-2}perc`,i=r?"em-mob-wrap":"em-mob-wrap em-mob-wrap-cancel",l=[];return t.forEach((a,c)=>{if(c>0){const p=n[c-1],f=t[c-1].background,b=f&&f===a.background?` style="background-color: ${g(f)};"`:"";l.push({html:`<td width="${p}" class="${i}"${b}> </td>`,hasContent:!1})}const d=o[c]===null?"":` width="${o[c]}"`,u=a.hiddenOnMobile?`${s} em-show-td-desktop`:s,h=a.background?` style="background-color: ${g(a.background)};"`:"";l.push({html:`<td${d} valign="top" class="${u}"${h}>${a.html}</td>`,hasContent:!0})}),l}function lr(t,e,r){if(r===null)return t.map(()=>null);const n=r-e.reduce((i,l)=>i+l,0),o=t.reduce((i,l)=>i+l.weight,0),s=t.map(i=>Math.max(0,Math.round(n*i.weight/o)));return s[s.length-1]=Math.max(0,n-s.slice(0,-1).reduce((i,l)=>i+l,0)),s}function ar(t,e){const r=t.shell.cloneNode(!0);if(!H(N(e.resolve(t.shell)))&&!P(t.shell)){const n=oe(t,e);if(n){const o=L(r.getAttribute("style"));o.set("background-color",n),r.setAttribute("style",A(o))}}return`<tr em="block">${r.outerHTML}</tr>`}function cr(t,e){if(t.native)return ar(t,e.styles);const r=e.styles.resolve(t.shell),n=Qn(t,e.styles),o={visibility:t.visibility,classes:W(v(e.styles.resolveMobile(t.shell)),v(r))},s=t.columns.filter(u=>!u.isGap),i=s.length===1?s[0]:null,l=i?.atoms.some(u=>R(u)==="menu")??!1;if(!i||!l)return at(ie(t,e),r,n,{...o,reversed:t.columnsReversed});const a=[];let c=[];const d=()=>{if(c.length===0)return;const u={...i,atoms:c};a.push(at(ie({...t,columns:[u]},e),r,n,o)),c=[]};return i.atoms.forEach(u=>{if(R(u)!=="menu"){c.push(u);return}d();const h=Bt(u,{...e,columnWidth:i.width??void 0}).filter(f=>f.html.trim()!=="");if(h.length===0)return;const p=new Map(n);se(i,e.styles).forEach((f,b)=>p.set(b,f)),a.push(at(ir(h,i.width),r,p,o))}),d(),a.filter(u=>u!=="").join(`
|
|
103
|
+
`)}function ur(t){return t.replace(/class="([^"]*)"/g,(e,r)=>r.includes("em-")?`class="${r.replace(/\bem-/g,"noresp-em-")}"`:e)}function dr(t){const e=new DOMParser().parseFromString(t,"text/html"),r=wn(e),n=ln(e),o=new En(kn(e)),s=er(e),i=nr(e,r),l=(e.querySelector("title")?.textContent??"").trim()||"Email",{blocks:a,width:c}=Yn(e),d={styles:r,fonts:o},u=a.map(y=>{try{return cr(y,d)}catch{return""}}).filter(y=>y!=="");if(u.length===0)throw new Error("Stripo converter: не удалось разобрать ни одного блока");const h=!r.hasMobileMedia,p=c??660,f=u.map(y=>` ${h?ur(y):y}`).join(`
|
|
104
|
+
`),b=Nn(f,p,o.styleRules(),h,n);return Ln({title:l,preheader:s,outerBackground:i,narrowWidth:p,stylesBlock:b,blocksHtml:f,fontLinks:o.linkTags(),noresp:h})}fe.convertStripoToEmailMaker=dr});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__useblocks__.define("static/core/1b68c0f0.js",["require","exports","module","static/core/2ff39ddf.js","static/core/d68c5a64.js"],function(i,d,P){const S=i("./2ff39ddf.js"),p=i("./d68c5a64.js");var m={items_per_page:"/ page",jump_to:"Aller à",jump_to_confirm:"confirmer",page:"Page",prev_page:"Page précédente",next_page:"Page suivante",prev_5:"5 Pages précédentes",next_5:"5 Pages suivantes",prev_3:"3 Pages précédentes",next_3:"3 Pages suivantes",page_size:"taille de la page"};function n(t){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter(function($){return Object.getOwnPropertyDescriptor(t,$).enumerable})),r.push.apply(r,l)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(l){f(t,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(r,l))})}return t}function f(t,e,r){return e=h(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=b(t,"string");return n(e)=="symbol"?e:String(e)}function b(t,e){if(n(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var l=r.call(t,e||"default");if(n(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var g=c(c({},p.commonLocale),{},{locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"OK",clear:"Rétablir",week:"Semaine",month:"Mois",year:"Année",timeSelect:"Sélectionner l'heure",dateSelect:"Sélectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une année",decadeSelect:"Choisissez une décennie",dayFormat:"DD",previousMonth:"Mois précédent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Année précédente (Ctrl + gauche)",nextYear:"Année prochaine (Ctrl + droite)",previousDecade:"Décennie précédente",nextDecade:"Décennie suivante",previousCentury:"Siècle précédent",nextCentury:"Siècle suivant"}),u={placeholder:"Sélectionner l'heure",rangePlaceholder:["Heure de début","Heure de fin"]},s={lang:{placeholder:"Sélectionner une date",yearPlaceholder:"Sélectionner une année",quarterPlaceholder:"Sélectionner un trimestre",monthPlaceholder:"Sélectionner un mois",weekPlaceholder:"Sélectionner une semaine",rangePlaceholder:["Date de début","Date de fin"],rangeYearPlaceholder:["Année de début","Année de fin"],rangeMonthPlaceholder:["Mois de début","Mois de fin"],rangeWeekPlaceholder:["Semaine de début","Semaine de fin"],...g},timePickerLocale:{...u}},v=s,a="La valeur du champ ${label} n'est pas valide pour le type ${type}",y={locale:"fr",Pagination:m,DatePicker:s,TimePicker:u,Calendar:v,global:{close:"Fermer",show:"Afficher",hide:"Masquer"},Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"Réinitialiser",filterEmptyText:"Aucun filtre",filterCheckAll:"Tout sélectionner",filterSearchPlaceholder:"Chercher dans les filtres",emptyText:"Aucune donnée",selectAll:"Sélectionner la page actuelle",selectInvert:"Inverser la sélection de la page actuelle",selectNone:"Désélectionner toutes les données",selectionAll:"Sélectionner toutes les données",sortTitle:"Trier",expand:"Développer la ligne",collapse:"Réduire la ligne",triggerDesc:"Trier par ordre décroissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Tour:{Next:"Étape suivante",Previous:"Étape précédente",Finish:"Fin de la visite guidée"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{titles:["",""],searchPlaceholder:"Rechercher",itemUnit:"élément",itemsUnit:"éléments",remove:"Désélectionner",selectCurrent:"Sélectionner la page actuelle",removeCurrent:"Désélectionner la page actuelle",selectAll:"Sélectionner toutes les données",removeAll:"Désélectionner toutes les données",selectInvert:"Inverser la sélection de la page actuelle"},Upload:{uploading:"Téléchargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de téléchargement",previewFile:"Fichier de prévisualisation",downloadFile:"Télécharger un fichier"},Empty:{description:"Aucune donnée"},Icon:{icon:"icône"},Text:{edit:"Éditer",copy:"Copier",copied:"Copie effectuée",expand:"Développer"},Form:{optional:"(optionnel)",defaultValidateMessages:{default:"Erreur de validation pour le champ ${label}",required:"Le champ ${label} est obligatoire",enum:"La valeur du champ ${label} doit être parmi [${enum}]",whitespace:"La valeur du champ ${label} ne peut pas être vide",date:{format:"La valeur du champ ${label} n'est pas au format date",parse:"La valeur du champ ${label} ne peut pas être convertie vers une date",invalid:"La valeur du champ ${label} n'est pas une date valide"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"La taille du champ ${label} doit être de ${len} caractères",min:"La taille du champ ${label} doit être au minimum de ${min} caractères",max:"La taille du champ ${label} doit être au maximum de ${max} caractères",range:"La taille du champ ${label} doit être entre ${min} et ${max} caractères"},number:{len:"La valeur du champ ${label} doit être égale à ${len}",min:"La valeur du champ ${label} doit être plus grande que ${min}",max:"La valeur du champ ${label} doit être plus petit que ${max}",range:"La valeur du champ ${label} doit être entre ${min} et ${max}"},array:{len:"La taille du tableau ${label} doit être de ${len}",min:"La taille du tableau ${label} doit être au minimum de ${min}",max:"La taille du tableau ${label} doit être au maximum de ${max}",range:"La taille du tableau ${label} doit être entre ${min}-${max}"},pattern:{mismatch:"La valeur du champ ${label} ne correspond pas au modèle ${pattern}"}}}};d.default=y});
|