@prokodo/ui 0.0.37 → 0.0.39
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/README.md +152 -57
- package/dist/_virtual/default.js +4 -0
- package/dist/_virtual/default2.js +4 -0
- package/dist/_virtual/index.js +3 -5
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/parser.js +4 -0
- package/dist/components/accordion/Accordion.client.js +30 -0
- package/dist/components/accordion/Accordion.js +8 -118
- package/dist/components/accordion/Accordion.lazy.js +15 -0
- package/dist/components/accordion/Accordion.server.js +18 -0
- package/dist/components/accordion/Accordion.view.js +102 -0
- package/dist/components/animated/Animated.client.js +49 -0
- package/dist/components/animated/Animated.js +8 -69
- package/dist/components/animated/Animated.lazy.js +17 -0
- package/dist/components/animated/Animated.server.js +12 -0
- package/dist/components/animated/Animated.view.js +35 -0
- package/dist/components/animatedText/AnimatedText.client.js +41 -0
- package/dist/components/animatedText/AnimatedText.js +8 -35
- package/dist/components/animatedText/AnimatedText.lazy.js +17 -0
- package/dist/components/animatedText/AnimatedText.server.js +12 -0
- package/dist/components/animatedText/AnimatedText.view.js +8 -0
- package/dist/components/avatar/Avatar.client.js +12 -0
- package/dist/components/avatar/Avatar.js +7 -81
- package/dist/components/avatar/Avatar.lazy.js +12 -0
- package/dist/components/avatar/Avatar.server.js +11 -0
- package/dist/components/avatar/Avatar.view.js +55 -0
- package/dist/components/base-link/BaseLink.client.js +43 -0
- package/dist/components/base-link/BaseLink.js +9 -37
- package/dist/components/base-link/BaseLink.lazy.js +15 -0
- package/dist/components/base-link/BaseLink.server.js +11 -0
- package/dist/components/base-link/BaseLink.view.js +69 -0
- package/dist/components/button/Button.client.js +5 -2
- package/dist/components/button/Button.module.scss.js +1 -0
- package/dist/components/button/Button.view.js +10 -7
- package/dist/components/calendly/Calendly.client.js +106 -0
- package/dist/components/calendly/Calendly.js +8 -116
- package/dist/components/calendly/Calendly.lazy.js +16 -0
- package/dist/components/calendly/Calendly.server.js +11 -0
- package/dist/components/calendly/Calendly.view.js +25 -0
- package/dist/components/card/Card.client.js +49 -0
- package/dist/components/card/Card.js +11 -201
- package/dist/components/card/Card.lazy.js +18 -0
- package/dist/components/card/Card.module.scss.js +0 -7
- package/dist/components/card/Card.server.js +11 -0
- package/dist/components/card/Card.view.js +111 -0
- package/dist/components/carousel/Carousel.client.js +217 -0
- package/dist/components/carousel/Carousel.js +8 -291
- package/dist/components/carousel/Carousel.lazy.js +16 -0
- package/dist/components/carousel/Carousel.server.js +11 -0
- package/dist/components/carousel/Carousel.view.js +58 -0
- package/dist/components/chip/Chip.client.js +45 -0
- package/dist/components/chip/Chip.js +7 -64
- package/dist/components/chip/Chip.lazy.js +12 -0
- package/dist/components/chip/Chip.module.scss.js +11 -1
- package/dist/components/chip/Chip.server.js +11 -0
- package/dist/components/chip/Chip.view.js +57 -0
- package/dist/components/datePicker/DatePicker.client.js +99 -0
- package/dist/components/datePicker/DatePicker.js +7 -124
- package/dist/components/datePicker/DatePicker.lazy.js +12 -0
- package/dist/components/datePicker/DatePicker.server.js +8 -0
- package/dist/components/datePicker/DatePicker.view.js +42 -0
- package/dist/components/dialog/Dialog.client.js +91 -0
- package/dist/components/dialog/Dialog.js +9 -164
- package/dist/components/dialog/Dialog.lazy.js +15 -0
- package/dist/components/dialog/Dialog.module.scss.js +3 -2
- package/dist/components/dialog/Dialog.server.js +11 -0
- package/dist/components/dialog/Dialog.view.js +118 -0
- package/dist/components/drawer/Drawer.client.js +75 -0
- package/dist/components/drawer/Drawer.js +8 -103
- package/dist/components/drawer/Drawer.lazy.js +15 -0
- package/dist/components/drawer/Drawer.module.scss.js +20 -13
- package/dist/components/drawer/Drawer.server.js +12 -0
- package/dist/components/drawer/Drawer.view.js +75 -0
- package/dist/components/drawer/index.js +2 -4
- package/dist/components/form/Form.client.js +176 -0
- package/dist/components/form/Form.js +9 -288
- package/dist/components/form/Form.lazy.js +12 -0
- package/dist/components/form/Form.module.scss.js +2 -0
- package/dist/components/form/Form.server.js +30 -0
- package/dist/components/form/Form.view.js +106 -0
- package/dist/components/form/FormField.client.js +98 -0
- package/dist/components/form/FormField.js +7 -93
- package/dist/components/form/FormField.lazy.js +12 -0
- package/dist/components/form/FormField.server.js +81 -0
- package/dist/components/headline/{Headline.server.js → Headline.js} +25 -23
- package/dist/components/headline/index.js +2 -4
- package/dist/components/icon/Icon.js +30 -27
- package/dist/components/icon/Icon.module.scss.js +1 -0
- package/dist/components/image-text/ImageText.js +17 -33
- package/dist/components/image-text/ImageText.module.scss.js +0 -4
- package/dist/components/input/Input.client.js +105 -0
- package/dist/components/input/Input.js +7 -200
- package/dist/components/input/Input.lazy.js +12 -0
- package/dist/components/input/Input.module.scss.js +3 -6
- package/dist/components/input/Input.server.js +11 -0
- package/dist/components/input/Input.view.js +128 -0
- package/dist/components/input/InputValidation.js +2 -2
- package/dist/components/inputOTP/InputOTP.js +1 -14
- package/dist/components/link/Link.client.js +2 -0
- package/dist/components/link/Link.js +1 -1
- package/dist/components/link/Link.lazy.js +4 -1
- package/dist/components/link/Link.server.js +2 -0
- package/dist/components/link/Link.view.js +26 -13
- package/dist/components/list/List.js +126 -170
- package/dist/components/list/List.module.scss.js +3 -0
- package/dist/components/loading/Loading.js +4 -3
- package/dist/components/lottie/Lottie.js +3 -5
- package/dist/components/post-item/PostItem.js +2 -2
- package/dist/components/post-teaser/PostTeaser.js +1 -1
- package/dist/components/post-widget/PostWidget.js +1 -1
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +1 -1
- package/dist/components/quote/Quote.js +83 -77
- package/dist/components/rich-text/RichText.client.js +194 -0
- package/dist/components/rich-text/RichText.js +8 -152
- package/dist/components/rich-text/RichText.lazy.js +18 -0
- package/dist/components/rich-text/RichText.server.js +37 -0
- package/dist/components/select/Select.client.js +97 -0
- package/dist/components/select/Select.js +8 -215
- package/dist/components/select/Select.lazy.js +15 -0
- package/dist/components/select/Select.module.scss.js +14 -17
- package/dist/components/select/Select.server.js +11 -0
- package/dist/components/select/Select.view.js +159 -0
- package/dist/components/sidenav/SideNav.client.js +34 -0
- package/dist/components/sidenav/SideNav.js +14 -0
- package/dist/components/sidenav/SideNav.lazy.js +15 -0
- package/dist/components/sidenav/SideNav.module.scss.js +23 -0
- package/dist/components/sidenav/SideNav.server.js +11 -0
- package/dist/components/sidenav/SideNav.view.js +62 -0
- package/dist/components/sidenav/index.js +4 -0
- package/dist/components/slider/Slider.client.js +65 -0
- package/dist/components/slider/Slider.js +7 -108
- package/dist/components/slider/Slider.lazy.js +12 -0
- package/dist/components/slider/Slider.module.scss.js +4 -2
- package/dist/components/slider/Slider.server.js +23 -0
- package/dist/components/slider/Slider.view.js +130 -0
- package/dist/components/stepper/Stepper.client.js +132 -0
- package/dist/components/stepper/Stepper.js +7 -130
- package/dist/components/stepper/Stepper.lazy.js +12 -0
- package/dist/components/stepper/Stepper.module.scss.js +1 -0
- package/dist/components/stepper/Stepper.server.js +33 -0
- package/dist/components/stepper/Stepper.view.js +132 -0
- package/dist/components/switch/Switch.client.js +62 -0
- package/dist/components/switch/Switch.js +7 -103
- package/dist/components/switch/Switch.lazy.js +12 -0
- package/dist/components/switch/Switch.module.scss.js +3 -4
- package/dist/components/switch/Switch.server.js +26 -0
- package/dist/components/switch/Switch.view.js +101 -0
- package/dist/components/table/Table.js +62 -68
- package/dist/components/table/Table.module.scss.js +7 -14
- package/dist/components/table/TableCell.js +44 -0
- package/dist/components/table/TableCell.module.scss.js +14 -0
- package/dist/components/teaser/Teaser.js +78 -81
- package/dist/constants/project.js +1 -1
- package/dist/helpers/createIsland.js +28 -7
- package/dist/helpers/createLazyWrapper.js +34 -6
- package/dist/helpers/validations.js +1 -3
- package/dist/hooks/useHydrationReady.js +3 -3
- package/dist/index.js +3 -1
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/css.js +80 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/default.js +370 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/index.js +30 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/parser.js +64 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/util.js +48 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +390 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +59 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +373 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +50 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +67 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +18 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +246 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +8 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +39 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +58 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +179 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +90 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +39 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +126 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +78 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +40 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +59 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +168 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +146 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +130 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +30 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +73 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +39 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +65 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +66 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +232 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +181 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +162 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +197 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +18 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +104 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +14 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +34 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +49 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +93 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +47 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +56 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +28 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +118 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +36 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +77 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +102 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +51 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +65 -0
- package/dist/node_modules/.pnpm/marked@15.0.12/node_modules/marked/lib/marked.esm.js +2169 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +10 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +87 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +68 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +22 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +186 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +246 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +14 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +4 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/default.js +319 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/index.js +47 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/parser.js +220 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/util.js +47 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/xss.js +179 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/accordion/Accordion.client.d.ts +3 -0
- package/dist/types/components/accordion/Accordion.d.ts +13 -3
- package/dist/types/components/accordion/Accordion.lazy.d.ts +14 -0
- package/dist/types/components/accordion/Accordion.model.d.ts +6 -2
- package/dist/types/components/accordion/Accordion.server.d.ts +3 -0
- package/dist/types/components/accordion/Accordion.view.d.ts +3 -0
- package/dist/types/components/animated/Animated.client.d.ts +3 -0
- package/dist/types/components/animated/Animated.d.ts +3 -2
- package/dist/types/components/animated/Animated.lazy.d.ts +5 -0
- package/dist/types/components/animated/Animated.model.d.ts +3 -0
- package/dist/types/components/animated/Animated.server.d.ts +3 -0
- package/dist/types/components/animated/Animated.view.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.client.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.d.ts +8 -3
- package/dist/types/components/animatedText/AnimatedText.lazy.d.ts +9 -0
- package/dist/types/components/animatedText/AnimatedText.model.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.server.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.view.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.client.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.d.ts +10 -3
- package/dist/types/components/avatar/Avatar.lazy.d.ts +11 -0
- package/dist/types/components/avatar/Avatar.model.d.ts +1 -0
- package/dist/types/components/avatar/Avatar.server.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.view.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.client.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.d.ts +3 -2
- package/dist/types/components/base-link/BaseLink.lazy.d.ts +5 -0
- package/dist/types/components/base-link/BaseLink.server.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.view.d.ts +3 -0
- package/dist/types/components/button/Button.client.d.ts +9 -3
- package/dist/types/components/button/Button.model.d.ts +6 -3
- package/dist/types/components/button/Button.view.d.ts +2 -2
- package/dist/types/components/calendly/Calendly.client.d.ts +3 -0
- package/dist/types/components/calendly/Calendly.d.ts +13 -22
- package/dist/types/components/calendly/Calendly.lazy.d.ts +14 -0
- package/dist/types/components/calendly/Calendly.model.d.ts +4 -2
- package/dist/types/components/calendly/Calendly.server.d.ts +3 -0
- package/dist/types/components/calendly/Calendly.view.d.ts +3 -0
- package/dist/types/components/card/Card.client.d.ts +3 -0
- package/dist/types/components/card/Card.d.ts +3 -2
- package/dist/types/components/card/Card.lazy.d.ts +5 -0
- package/dist/types/components/card/Card.model.d.ts +6 -4
- package/dist/types/components/card/Card.server.d.ts +3 -0
- package/dist/types/components/card/Card.view.d.ts +11 -0
- package/dist/types/components/card/index.d.ts +1 -1
- package/dist/types/components/carousel/Carousel.client.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.d.ts +18 -3
- package/dist/types/components/carousel/Carousel.lazy.d.ts +19 -0
- package/dist/types/components/carousel/Carousel.server.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.view.d.ts +3 -0
- package/dist/types/components/chip/Chip.client.d.ts +3 -0
- package/dist/types/components/chip/Chip.d.ts +3 -2
- package/dist/types/components/chip/Chip.lazy.d.ts +5 -0
- package/dist/types/components/chip/Chip.model.d.ts +7 -4
- package/dist/types/components/chip/Chip.server.d.ts +3 -0
- package/dist/types/components/chip/Chip.view.d.ts +5 -0
- package/dist/types/components/datePicker/DatePicker.client.d.ts +4 -0
- package/dist/types/components/datePicker/DatePicker.d.ts +3 -2
- package/dist/types/components/datePicker/DatePicker.lazy.d.ts +5 -0
- package/dist/types/components/datePicker/DatePicker.model.d.ts +8 -3
- package/dist/types/components/datePicker/DatePicker.server.d.ts +4 -0
- package/dist/types/components/datePicker/DatePicker.view.d.ts +7 -0
- package/dist/types/components/dialog/Dialog.client.d.ts +3 -0
- package/dist/types/components/dialog/Dialog.d.ts +7 -3
- package/dist/types/components/dialog/Dialog.lazy.d.ts +8 -0
- package/dist/types/components/dialog/Dialog.model.d.ts +25 -15
- package/dist/types/components/dialog/Dialog.server.d.ts +4 -0
- package/dist/types/components/dialog/Dialog.view.d.ts +3 -0
- package/dist/types/components/drawer/Drawer.client.d.ts +3 -0
- package/dist/types/components/drawer/Drawer.d.ts +5 -5
- package/dist/types/components/drawer/Drawer.lazy.d.ts +5 -0
- package/dist/types/components/drawer/Drawer.model.d.ts +29 -8
- package/dist/types/components/drawer/Drawer.server.d.ts +3 -0
- package/dist/types/components/drawer/Drawer.view.d.ts +3 -0
- package/dist/types/components/drawer/index.d.ts +1 -1
- package/dist/types/components/form/Form.client.d.ts +2 -0
- package/dist/types/components/form/Form.d.ts +17 -3
- package/dist/types/components/form/Form.lazy.d.ts +18 -0
- package/dist/types/components/form/Form.model.d.ts +22 -5
- package/dist/types/components/form/Form.server.d.ts +4 -0
- package/dist/types/components/form/Form.view.d.ts +3 -0
- package/dist/types/components/form/FormField.client.d.ts +9 -0
- package/dist/types/components/form/FormField.d.ts +8 -9
- package/dist/types/components/form/FormField.lazy.d.ts +9 -0
- package/dist/types/components/form/FormField.server.d.ts +9 -0
- package/dist/types/components/form/index.d.ts +1 -1
- package/dist/types/components/headline/{Headline.server.d.ts → Headline.d.ts} +1 -1
- package/dist/types/components/headline/Headline.model.d.ts +7 -6
- package/dist/types/components/headline/index.d.ts +1 -2
- package/dist/types/components/image/Image.model.d.ts +5 -3
- package/dist/types/components/image/index.d.ts +1 -1
- package/dist/types/components/image-text/ImageText.d.ts +1 -1
- package/dist/types/components/image-text/ImageText.model.d.ts +5 -5
- package/dist/types/components/image-text/index.d.ts +1 -1
- package/dist/types/components/input/Input.client.d.ts +5 -0
- package/dist/types/components/input/Input.d.ts +3 -2
- package/dist/types/components/input/Input.lazy.d.ts +5 -0
- package/dist/types/components/input/Input.model.d.ts +21 -15
- package/dist/types/components/input/Input.server.d.ts +3 -0
- package/dist/types/components/input/Input.view.d.ts +3 -0
- package/dist/types/components/input/index.d.ts +1 -1
- package/dist/types/components/link/Link.client.d.ts +1 -1
- package/dist/types/components/link/Link.lazy.d.ts +1 -1
- package/dist/types/components/link/Link.model.d.ts +2 -1
- package/dist/types/components/link/Link.view.d.ts +2 -2
- package/dist/types/components/list/List.d.ts +5 -2
- package/dist/types/components/list/List.model.d.ts +3 -3
- package/dist/types/components/loading/Loading.d.ts +1 -1
- package/dist/types/components/lottie/Lottie.model.d.ts +1 -3
- package/dist/types/components/lottie/index.d.ts +1 -1
- package/dist/types/components/quote/Quote.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.client.d.ts +6 -0
- package/dist/types/components/rich-text/RichText.d.ts +13 -3
- package/dist/types/components/rich-text/RichText.lazy.d.ts +14 -0
- package/dist/types/components/rich-text/RichText.model.d.ts +9 -4
- package/dist/types/components/rich-text/RichText.server.d.ts +3 -0
- package/dist/types/components/select/Select.client.d.ts +5 -0
- package/dist/types/components/select/Select.d.ts +3 -2
- package/dist/types/components/select/Select.lazy.d.ts +5 -0
- package/dist/types/components/select/Select.model.d.ts +35 -23
- package/dist/types/components/select/Select.server.d.ts +3 -0
- package/dist/types/components/select/Select.view.d.ts +3 -0
- package/dist/types/components/select/index.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.client.d.ts +3 -0
- package/dist/types/components/sidenav/SideNav.d.ts +3 -0
- package/dist/types/components/sidenav/SideNav.lazy.d.ts +5 -0
- package/dist/types/components/sidenav/SideNav.model.d.ts +24 -0
- package/dist/types/components/sidenav/SideNav.server.d.ts +3 -0
- package/dist/types/components/sidenav/SideNav.view.d.ts +3 -0
- package/dist/types/components/sidenav/index.d.ts +2 -0
- package/dist/types/components/slider/Slider.client.d.ts +4 -0
- package/dist/types/components/slider/Slider.d.ts +3 -2
- package/dist/types/components/slider/Slider.lazy.d.ts +5 -0
- package/dist/types/components/slider/Slider.model.d.ts +29 -6
- package/dist/types/components/slider/Slider.server.d.ts +3 -0
- package/dist/types/components/slider/Slider.view.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.client.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.d.ts +11 -3
- package/dist/types/components/stepper/Stepper.lazy.d.ts +12 -0
- package/dist/types/components/stepper/Stepper.model.d.ts +18 -3
- package/dist/types/components/stepper/Stepper.server.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.view.d.ts +3 -0
- package/dist/types/components/switch/Switch.client.d.ts +4 -0
- package/dist/types/components/switch/Switch.d.ts +18 -3
- package/dist/types/components/switch/Switch.lazy.d.ts +19 -0
- package/dist/types/components/switch/Switch.model.d.ts +19 -10
- package/dist/types/components/switch/Switch.server.d.ts +3 -0
- package/dist/types/components/switch/Switch.view.d.ts +3 -0
- package/dist/types/components/table/Table.d.ts +1 -1
- package/dist/types/components/table/Table.model.d.ts +16 -14
- package/dist/types/components/table/TableCell.d.ts +10 -0
- package/dist/types/components/teaser/Teaser.d.ts +1 -1
- package/dist/types/components/teaser/Teaser.model.d.ts +1 -3
- package/dist/types/components/teaser/index.d.ts +1 -1
- package/dist/types/helpers/createLazyWrapper.d.ts +4 -1
- package/dist/types/hooks/useHydrationReady.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/colors.d.ts +1 -1
- package/dist/ui.css +2726 -2031
- package/package.json +20 -6
- package/dist/_virtual/_commonjsHelpers.js +0 -9
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/assets/images/card_background_primary_1.webp.js +0 -4
- package/dist/assets/images/card_background_primary_2.webp.js +0 -4
- package/dist/assets/images/card_background_primary_3.webp.js +0 -4
- package/dist/assets/images/card_background_primary_4.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_1.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_2.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_3.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_4.webp.js +0 -4
- package/dist/components/headline/Headline.client.js +0 -85
- package/dist/components/lottie/LottieAnimations.js +0 -35
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -456
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -641
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -250
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -189
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -170
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +0 -133
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/optionClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +0 -85
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +0 -315
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/selectClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +0 -459
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/sliderClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +0 -173
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/switchClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +0 -225
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/PopupContext.js +0 -8
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/popupClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClass/index.js +0 -20
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClasses/index.js +0 -14
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useButton/useButton.js +0 -166
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundItem.js +0 -32
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundParent.js +0 -74
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/ListContext.js +0 -8
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listActions.types.js +0 -14
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listReducer.js +0 -318
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useList.js +0 -211
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useListItem.js +0 -81
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOption.js +0 -82
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOptionContextStabilizer.js +0 -40
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +0 -40
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/defaultOptionStringifier.js +0 -18
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/selectReducer.js +0 -74
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.js +0 -361
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.types.js +0 -7
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSlider/useSlider.js +0 -620
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSwitch/useSwitch.js +0 -87
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/TransitionContext.js +0 -8
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/useTransitionTrigger.js +0 -55
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/ClassNameConfigurator.js +0 -25
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/areArraysEqual.js +0 -9
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/combineHooksSlotProps.js +0 -19
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/isHostComponent.js +0 -9
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/resolveComponentProps.js +0 -12
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useControllableReducer.js +0 -101
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useRootElementName.js +0 -25
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useTextNavigation.js +0 -28
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +0 -20
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +0 -19
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +0 -14
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/clamp/clamp.js +0 -9
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -24
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -22
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +0 -16
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -17
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js +0 -18
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -16
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +0 -9
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +0 -71
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +0 -16
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -9
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +0 -12
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/setRef/setRef.js +0 -13
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +0 -40
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +0 -18
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -20
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useId/useId.js +0 -28
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +0 -34
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +0 -14
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -21
- package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +0 -83
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +0 -72
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +0 -490
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +0 -23
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -15
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +0 -14
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -183
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -111
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -20
- package/dist/types/components/headline/Headline.client.d.ts +0 -3
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { __exports as _default } from "../../../../../../_virtual/default.js";
|
|
4
|
+
import { __require as requireLib } from "../../../../cssfilter@0.0.10/node_modules/cssfilter/lib/index.js";
|
|
5
|
+
import { __require as requireUtil } from "./util.js";
|
|
6
|
+
var hasRequired_default;
|
|
7
|
+
function require_default() {
|
|
8
|
+
if (hasRequired_default) return _default;
|
|
9
|
+
hasRequired_default = 1;
|
|
10
|
+
var FilterCSS = requireLib().FilterCSS;
|
|
11
|
+
var getDefaultCSSWhiteList = requireLib().getDefaultWhiteList;
|
|
12
|
+
var _ = /* @__PURE__ */ requireUtil();
|
|
13
|
+
function getDefaultWhiteList() {
|
|
14
|
+
return {
|
|
15
|
+
a: ["target", "href", "title"],
|
|
16
|
+
abbr: ["title"],
|
|
17
|
+
address: [],
|
|
18
|
+
area: ["shape", "coords", "href", "alt"],
|
|
19
|
+
article: [],
|
|
20
|
+
aside: [],
|
|
21
|
+
audio: [
|
|
22
|
+
"autoplay",
|
|
23
|
+
"controls",
|
|
24
|
+
"crossorigin",
|
|
25
|
+
"loop",
|
|
26
|
+
"muted",
|
|
27
|
+
"preload",
|
|
28
|
+
"src"
|
|
29
|
+
],
|
|
30
|
+
b: [],
|
|
31
|
+
bdi: ["dir"],
|
|
32
|
+
bdo: ["dir"],
|
|
33
|
+
big: [],
|
|
34
|
+
blockquote: ["cite"],
|
|
35
|
+
br: [],
|
|
36
|
+
caption: [],
|
|
37
|
+
center: [],
|
|
38
|
+
cite: [],
|
|
39
|
+
code: [],
|
|
40
|
+
col: ["align", "valign", "span", "width"],
|
|
41
|
+
colgroup: ["align", "valign", "span", "width"],
|
|
42
|
+
dd: [],
|
|
43
|
+
del: ["datetime"],
|
|
44
|
+
details: ["open"],
|
|
45
|
+
div: [],
|
|
46
|
+
dl: [],
|
|
47
|
+
dt: [],
|
|
48
|
+
em: [],
|
|
49
|
+
figcaption: [],
|
|
50
|
+
figure: [],
|
|
51
|
+
font: ["color", "size", "face"],
|
|
52
|
+
footer: [],
|
|
53
|
+
h1: [],
|
|
54
|
+
h2: [],
|
|
55
|
+
h3: [],
|
|
56
|
+
h4: [],
|
|
57
|
+
h5: [],
|
|
58
|
+
h6: [],
|
|
59
|
+
header: [],
|
|
60
|
+
hr: [],
|
|
61
|
+
i: [],
|
|
62
|
+
img: ["src", "alt", "title", "width", "height", "loading"],
|
|
63
|
+
ins: ["datetime"],
|
|
64
|
+
kbd: [],
|
|
65
|
+
li: [],
|
|
66
|
+
mark: [],
|
|
67
|
+
nav: [],
|
|
68
|
+
ol: [],
|
|
69
|
+
p: [],
|
|
70
|
+
pre: [],
|
|
71
|
+
s: [],
|
|
72
|
+
section: [],
|
|
73
|
+
small: [],
|
|
74
|
+
span: [],
|
|
75
|
+
sub: [],
|
|
76
|
+
summary: [],
|
|
77
|
+
sup: [],
|
|
78
|
+
strong: [],
|
|
79
|
+
strike: [],
|
|
80
|
+
table: ["width", "border", "align", "valign"],
|
|
81
|
+
tbody: ["align", "valign"],
|
|
82
|
+
td: ["width", "rowspan", "colspan", "align", "valign"],
|
|
83
|
+
tfoot: ["align", "valign"],
|
|
84
|
+
th: ["width", "rowspan", "colspan", "align", "valign"],
|
|
85
|
+
thead: ["align", "valign"],
|
|
86
|
+
tr: ["rowspan", "align", "valign"],
|
|
87
|
+
tt: [],
|
|
88
|
+
u: [],
|
|
89
|
+
ul: [],
|
|
90
|
+
video: [
|
|
91
|
+
"autoplay",
|
|
92
|
+
"controls",
|
|
93
|
+
"crossorigin",
|
|
94
|
+
"loop",
|
|
95
|
+
"muted",
|
|
96
|
+
"playsinline",
|
|
97
|
+
"poster",
|
|
98
|
+
"preload",
|
|
99
|
+
"src",
|
|
100
|
+
"height",
|
|
101
|
+
"width"
|
|
102
|
+
]
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
__name(getDefaultWhiteList, "getDefaultWhiteList");
|
|
106
|
+
var defaultCSSFilter = new FilterCSS();
|
|
107
|
+
function onTag(tag, html, options) {
|
|
108
|
+
}
|
|
109
|
+
__name(onTag, "onTag");
|
|
110
|
+
function onIgnoreTag(tag, html, options) {
|
|
111
|
+
}
|
|
112
|
+
__name(onIgnoreTag, "onIgnoreTag");
|
|
113
|
+
function onTagAttr(tag, name, value) {
|
|
114
|
+
}
|
|
115
|
+
__name(onTagAttr, "onTagAttr");
|
|
116
|
+
function onIgnoreTagAttr(tag, name, value) {
|
|
117
|
+
}
|
|
118
|
+
__name(onIgnoreTagAttr, "onIgnoreTagAttr");
|
|
119
|
+
function escapeHtml(html) {
|
|
120
|
+
return html.replace(REGEXP_LT, "<").replace(REGEXP_GT, ">");
|
|
121
|
+
}
|
|
122
|
+
__name(escapeHtml, "escapeHtml");
|
|
123
|
+
function safeAttrValue(tag, name, value, cssFilter) {
|
|
124
|
+
value = friendlyAttrValue(value);
|
|
125
|
+
if (name === "href" || name === "src") {
|
|
126
|
+
value = _.trim(value);
|
|
127
|
+
if (value === "#") return "#";
|
|
128
|
+
if (!(value.substr(0, 7) === "http://" || value.substr(0, 8) === "https://" || value.substr(0, 7) === "mailto:" || value.substr(0, 4) === "tel:" || value.substr(0, 11) === "data:image/" || value.substr(0, 6) === "ftp://" || value.substr(0, 2) === "./" || value.substr(0, 3) === "../" || value[0] === "#" || value[0] === "/")) {
|
|
129
|
+
return "";
|
|
130
|
+
}
|
|
131
|
+
} else if (name === "background") {
|
|
132
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
|
|
133
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
|
|
134
|
+
return "";
|
|
135
|
+
}
|
|
136
|
+
} else if (name === "style") {
|
|
137
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_7.lastIndex = 0;
|
|
138
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_7.test(value)) {
|
|
139
|
+
return "";
|
|
140
|
+
}
|
|
141
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_8.lastIndex = 0;
|
|
142
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_8.test(value)) {
|
|
143
|
+
REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
|
|
144
|
+
if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
|
|
145
|
+
return "";
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
if (cssFilter !== false) {
|
|
149
|
+
cssFilter = cssFilter || defaultCSSFilter;
|
|
150
|
+
value = cssFilter.process(value);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
value = escapeAttrValue(value);
|
|
154
|
+
return value;
|
|
155
|
+
}
|
|
156
|
+
__name(safeAttrValue, "safeAttrValue");
|
|
157
|
+
var REGEXP_LT = /</g;
|
|
158
|
+
var REGEXP_GT = />/g;
|
|
159
|
+
var REGEXP_QUOTE = /"/g;
|
|
160
|
+
var REGEXP_QUOTE_2 = /"/g;
|
|
161
|
+
var REGEXP_ATTR_VALUE_1 = /&#([a-zA-Z0-9]*);?/gim;
|
|
162
|
+
var REGEXP_ATTR_VALUE_COLON = /:?/gim;
|
|
163
|
+
var REGEXP_ATTR_VALUE_NEWLINE = /&newline;?/gim;
|
|
164
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_4 = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi;
|
|
165
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_7 = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi;
|
|
166
|
+
var REGEXP_DEFAULT_ON_TAG_ATTR_8 = /u\s*r\s*l\s*\(.*/gi;
|
|
167
|
+
function escapeQuote(str) {
|
|
168
|
+
return str.replace(REGEXP_QUOTE, """);
|
|
169
|
+
}
|
|
170
|
+
__name(escapeQuote, "escapeQuote");
|
|
171
|
+
function unescapeQuote(str) {
|
|
172
|
+
return str.replace(REGEXP_QUOTE_2, '"');
|
|
173
|
+
}
|
|
174
|
+
__name(unescapeQuote, "unescapeQuote");
|
|
175
|
+
function escapeHtmlEntities(str) {
|
|
176
|
+
return str.replace(REGEXP_ATTR_VALUE_1, /* @__PURE__ */ __name(function replaceUnicode(str2, code) {
|
|
177
|
+
return code[0] === "x" || code[0] === "X" ? String.fromCharCode(parseInt(code.substr(1), 16)) : String.fromCharCode(parseInt(code, 10));
|
|
178
|
+
}, "replaceUnicode"));
|
|
179
|
+
}
|
|
180
|
+
__name(escapeHtmlEntities, "escapeHtmlEntities");
|
|
181
|
+
function escapeDangerHtml5Entities(str) {
|
|
182
|
+
return str.replace(REGEXP_ATTR_VALUE_COLON, ":").replace(REGEXP_ATTR_VALUE_NEWLINE, " ");
|
|
183
|
+
}
|
|
184
|
+
__name(escapeDangerHtml5Entities, "escapeDangerHtml5Entities");
|
|
185
|
+
function clearNonPrintableCharacter(str) {
|
|
186
|
+
var str2 = "";
|
|
187
|
+
for (var i = 0, len = str.length; i < len; i++) {
|
|
188
|
+
str2 += str.charCodeAt(i) < 32 ? " " : str.charAt(i);
|
|
189
|
+
}
|
|
190
|
+
return _.trim(str2);
|
|
191
|
+
}
|
|
192
|
+
__name(clearNonPrintableCharacter, "clearNonPrintableCharacter");
|
|
193
|
+
function friendlyAttrValue(str) {
|
|
194
|
+
str = unescapeQuote(str);
|
|
195
|
+
str = escapeHtmlEntities(str);
|
|
196
|
+
str = escapeDangerHtml5Entities(str);
|
|
197
|
+
str = clearNonPrintableCharacter(str);
|
|
198
|
+
return str;
|
|
199
|
+
}
|
|
200
|
+
__name(friendlyAttrValue, "friendlyAttrValue");
|
|
201
|
+
function escapeAttrValue(str) {
|
|
202
|
+
str = escapeQuote(str);
|
|
203
|
+
str = escapeHtml(str);
|
|
204
|
+
return str;
|
|
205
|
+
}
|
|
206
|
+
__name(escapeAttrValue, "escapeAttrValue");
|
|
207
|
+
function onIgnoreTagStripAll() {
|
|
208
|
+
return "";
|
|
209
|
+
}
|
|
210
|
+
__name(onIgnoreTagStripAll, "onIgnoreTagStripAll");
|
|
211
|
+
function StripTagBody(tags, next) {
|
|
212
|
+
if (typeof next !== "function") {
|
|
213
|
+
next = /* @__PURE__ */ __name(function() {
|
|
214
|
+
}, "next");
|
|
215
|
+
}
|
|
216
|
+
var isRemoveAllTag = !Array.isArray(tags);
|
|
217
|
+
function isRemoveTag(tag) {
|
|
218
|
+
if (isRemoveAllTag) return true;
|
|
219
|
+
return _.indexOf(tags, tag) !== -1;
|
|
220
|
+
}
|
|
221
|
+
__name(isRemoveTag, "isRemoveTag");
|
|
222
|
+
var removeList = [];
|
|
223
|
+
var posStart = false;
|
|
224
|
+
return {
|
|
225
|
+
onIgnoreTag: /* @__PURE__ */ __name(function(tag, html, options) {
|
|
226
|
+
if (isRemoveTag(tag)) {
|
|
227
|
+
if (options.isClosing) {
|
|
228
|
+
var ret = "[/removed]";
|
|
229
|
+
var end = options.position + ret.length;
|
|
230
|
+
removeList.push([
|
|
231
|
+
posStart !== false ? posStart : options.position,
|
|
232
|
+
end
|
|
233
|
+
]);
|
|
234
|
+
posStart = false;
|
|
235
|
+
return ret;
|
|
236
|
+
} else {
|
|
237
|
+
if (!posStart) {
|
|
238
|
+
posStart = options.position;
|
|
239
|
+
}
|
|
240
|
+
return "[removed]";
|
|
241
|
+
}
|
|
242
|
+
} else {
|
|
243
|
+
return next(tag, html, options);
|
|
244
|
+
}
|
|
245
|
+
}, "onIgnoreTag"),
|
|
246
|
+
remove: /* @__PURE__ */ __name(function(html) {
|
|
247
|
+
var rethtml = "";
|
|
248
|
+
var lastPos = 0;
|
|
249
|
+
_.forEach(removeList, function(pos) {
|
|
250
|
+
rethtml += html.slice(lastPos, pos[0]);
|
|
251
|
+
lastPos = pos[1];
|
|
252
|
+
});
|
|
253
|
+
rethtml += html.slice(lastPos);
|
|
254
|
+
return rethtml;
|
|
255
|
+
}, "remove")
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
__name(StripTagBody, "StripTagBody");
|
|
259
|
+
function stripCommentTag(html) {
|
|
260
|
+
var retHtml = "";
|
|
261
|
+
var lastPos = 0;
|
|
262
|
+
while (lastPos < html.length) {
|
|
263
|
+
var i = html.indexOf("<!--", lastPos);
|
|
264
|
+
if (i === -1) {
|
|
265
|
+
retHtml += html.slice(lastPos);
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
retHtml += html.slice(lastPos, i);
|
|
269
|
+
var j = html.indexOf("-->", i);
|
|
270
|
+
if (j === -1) {
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
lastPos = j + 3;
|
|
274
|
+
}
|
|
275
|
+
return retHtml;
|
|
276
|
+
}
|
|
277
|
+
__name(stripCommentTag, "stripCommentTag");
|
|
278
|
+
function stripBlankChar(html) {
|
|
279
|
+
var chars = html.split("");
|
|
280
|
+
chars = chars.filter(function(char) {
|
|
281
|
+
var c = char.charCodeAt(0);
|
|
282
|
+
if (c === 127) return false;
|
|
283
|
+
if (c <= 31) {
|
|
284
|
+
if (c === 10 || c === 13) return true;
|
|
285
|
+
return false;
|
|
286
|
+
}
|
|
287
|
+
return true;
|
|
288
|
+
});
|
|
289
|
+
return chars.join("");
|
|
290
|
+
}
|
|
291
|
+
__name(stripBlankChar, "stripBlankChar");
|
|
292
|
+
_default.whiteList = getDefaultWhiteList();
|
|
293
|
+
_default.getDefaultWhiteList = getDefaultWhiteList;
|
|
294
|
+
_default.onTag = onTag;
|
|
295
|
+
_default.onIgnoreTag = onIgnoreTag;
|
|
296
|
+
_default.onTagAttr = onTagAttr;
|
|
297
|
+
_default.onIgnoreTagAttr = onIgnoreTagAttr;
|
|
298
|
+
_default.safeAttrValue = safeAttrValue;
|
|
299
|
+
_default.escapeHtml = escapeHtml;
|
|
300
|
+
_default.escapeQuote = escapeQuote;
|
|
301
|
+
_default.unescapeQuote = unescapeQuote;
|
|
302
|
+
_default.escapeHtmlEntities = escapeHtmlEntities;
|
|
303
|
+
_default.escapeDangerHtml5Entities = escapeDangerHtml5Entities;
|
|
304
|
+
_default.clearNonPrintableCharacter = clearNonPrintableCharacter;
|
|
305
|
+
_default.friendlyAttrValue = friendlyAttrValue;
|
|
306
|
+
_default.escapeAttrValue = escapeAttrValue;
|
|
307
|
+
_default.onIgnoreTagStripAll = onIgnoreTagStripAll;
|
|
308
|
+
_default.StripTagBody = StripTagBody;
|
|
309
|
+
_default.stripCommentTag = stripCommentTag;
|
|
310
|
+
_default.stripBlankChar = stripBlankChar;
|
|
311
|
+
_default.attributeWrapSign = '"';
|
|
312
|
+
_default.cssFilter = defaultCSSFilter;
|
|
313
|
+
_default.getDefaultCSSWhiteList = getDefaultCSSWhiteList;
|
|
314
|
+
return _default;
|
|
315
|
+
}
|
|
316
|
+
__name(require_default, "require_default");
|
|
317
|
+
export {
|
|
318
|
+
require_default as __require
|
|
319
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { __module as lib } from "../../../../../../_virtual/index2.js";
|
|
4
|
+
import { __require as require_default } from "./default.js";
|
|
5
|
+
import { __require as requireParser } from "./parser.js";
|
|
6
|
+
import { __require as requireXss } from "./xss.js";
|
|
7
|
+
var hasRequiredLib;
|
|
8
|
+
function requireLib() {
|
|
9
|
+
if (hasRequiredLib) return lib.exports;
|
|
10
|
+
hasRequiredLib = 1;
|
|
11
|
+
(function(module, exports) {
|
|
12
|
+
var DEFAULT = /* @__PURE__ */ require_default();
|
|
13
|
+
var parser = /* @__PURE__ */ requireParser();
|
|
14
|
+
var FilterXSS = /* @__PURE__ */ requireXss();
|
|
15
|
+
function filterXSS(html, options) {
|
|
16
|
+
var xss = new FilterXSS(options);
|
|
17
|
+
return xss.process(html);
|
|
18
|
+
}
|
|
19
|
+
__name(filterXSS, "filterXSS");
|
|
20
|
+
exports = module.exports = filterXSS;
|
|
21
|
+
exports.filterXSS = filterXSS;
|
|
22
|
+
exports.FilterXSS = FilterXSS;
|
|
23
|
+
(function() {
|
|
24
|
+
for (var i in DEFAULT) {
|
|
25
|
+
exports[i] = DEFAULT[i];
|
|
26
|
+
}
|
|
27
|
+
for (var j in parser) {
|
|
28
|
+
exports[j] = parser[j];
|
|
29
|
+
}
|
|
30
|
+
})();
|
|
31
|
+
if (typeof window !== "undefined") {
|
|
32
|
+
window.filterXSS = module.exports;
|
|
33
|
+
}
|
|
34
|
+
function isWorkerEnv() {
|
|
35
|
+
return typeof self !== "undefined" && typeof DedicatedWorkerGlobalScope !== "undefined" && self instanceof DedicatedWorkerGlobalScope;
|
|
36
|
+
}
|
|
37
|
+
__name(isWorkerEnv, "isWorkerEnv");
|
|
38
|
+
if (isWorkerEnv()) {
|
|
39
|
+
self.filterXSS = module.exports;
|
|
40
|
+
}
|
|
41
|
+
})(lib, lib.exports);
|
|
42
|
+
return lib.exports;
|
|
43
|
+
}
|
|
44
|
+
__name(requireLib, "requireLib");
|
|
45
|
+
export {
|
|
46
|
+
requireLib as __require
|
|
47
|
+
};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { __exports as parser } from "../../../../../../_virtual/parser.js";
|
|
4
|
+
import { __require as requireUtil } from "./util.js";
|
|
5
|
+
var hasRequiredParser;
|
|
6
|
+
function requireParser() {
|
|
7
|
+
if (hasRequiredParser) return parser;
|
|
8
|
+
hasRequiredParser = 1;
|
|
9
|
+
var _ = /* @__PURE__ */ requireUtil();
|
|
10
|
+
function getTagName(html) {
|
|
11
|
+
var i = _.spaceIndex(html);
|
|
12
|
+
var tagName;
|
|
13
|
+
if (i === -1) {
|
|
14
|
+
tagName = html.slice(1, -1);
|
|
15
|
+
} else {
|
|
16
|
+
tagName = html.slice(1, i + 1);
|
|
17
|
+
}
|
|
18
|
+
tagName = _.trim(tagName).toLowerCase();
|
|
19
|
+
if (tagName.slice(0, 1) === "/") tagName = tagName.slice(1);
|
|
20
|
+
if (tagName.slice(-1) === "/") tagName = tagName.slice(0, -1);
|
|
21
|
+
return tagName;
|
|
22
|
+
}
|
|
23
|
+
__name(getTagName, "getTagName");
|
|
24
|
+
function isClosing(html) {
|
|
25
|
+
return html.slice(0, 2) === "</";
|
|
26
|
+
}
|
|
27
|
+
__name(isClosing, "isClosing");
|
|
28
|
+
function parseTag(html, onTag, escapeHtml) {
|
|
29
|
+
var rethtml = "";
|
|
30
|
+
var lastPos = 0;
|
|
31
|
+
var tagStart = false;
|
|
32
|
+
var quoteStart = false;
|
|
33
|
+
var currentPos = 0;
|
|
34
|
+
var len = html.length;
|
|
35
|
+
var currentTagName = "";
|
|
36
|
+
var currentHtml = "";
|
|
37
|
+
chariterator: for (currentPos = 0; currentPos < len; currentPos++) {
|
|
38
|
+
var c = html.charAt(currentPos);
|
|
39
|
+
if (tagStart === false) {
|
|
40
|
+
if (c === "<") {
|
|
41
|
+
tagStart = currentPos;
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
} else {
|
|
45
|
+
if (quoteStart === false) {
|
|
46
|
+
if (c === "<") {
|
|
47
|
+
rethtml += escapeHtml(html.slice(lastPos, currentPos));
|
|
48
|
+
tagStart = currentPos;
|
|
49
|
+
lastPos = currentPos;
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
if (c === ">" || currentPos === len - 1) {
|
|
53
|
+
rethtml += escapeHtml(html.slice(lastPos, tagStart));
|
|
54
|
+
currentHtml = html.slice(tagStart, currentPos + 1);
|
|
55
|
+
currentTagName = getTagName(currentHtml);
|
|
56
|
+
rethtml += onTag(
|
|
57
|
+
tagStart,
|
|
58
|
+
rethtml.length,
|
|
59
|
+
currentTagName,
|
|
60
|
+
currentHtml,
|
|
61
|
+
isClosing(currentHtml)
|
|
62
|
+
);
|
|
63
|
+
lastPos = currentPos + 1;
|
|
64
|
+
tagStart = false;
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
if (c === '"' || c === "'") {
|
|
68
|
+
var i = 1;
|
|
69
|
+
var ic = html.charAt(currentPos - i);
|
|
70
|
+
while (ic.trim() === "" || ic === "=") {
|
|
71
|
+
if (ic === "=") {
|
|
72
|
+
quoteStart = c;
|
|
73
|
+
continue chariterator;
|
|
74
|
+
}
|
|
75
|
+
ic = html.charAt(currentPos - ++i);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
} else {
|
|
79
|
+
if (c === quoteStart) {
|
|
80
|
+
quoteStart = false;
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
if (lastPos < len) {
|
|
87
|
+
rethtml += escapeHtml(html.substr(lastPos));
|
|
88
|
+
}
|
|
89
|
+
return rethtml;
|
|
90
|
+
}
|
|
91
|
+
__name(parseTag, "parseTag");
|
|
92
|
+
var REGEXP_ILLEGAL_ATTR_NAME = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
93
|
+
function parseAttr(html, onAttr) {
|
|
94
|
+
var lastPos = 0;
|
|
95
|
+
var lastMarkPos = 0;
|
|
96
|
+
var retAttrs = [];
|
|
97
|
+
var tmpName = false;
|
|
98
|
+
var len = html.length;
|
|
99
|
+
function addAttr(name, value) {
|
|
100
|
+
name = _.trim(name);
|
|
101
|
+
name = name.replace(REGEXP_ILLEGAL_ATTR_NAME, "").toLowerCase();
|
|
102
|
+
if (name.length < 1) return;
|
|
103
|
+
var ret = onAttr(name, value || "");
|
|
104
|
+
if (ret) retAttrs.push(ret);
|
|
105
|
+
}
|
|
106
|
+
__name(addAttr, "addAttr");
|
|
107
|
+
for (var i = 0; i < len; i++) {
|
|
108
|
+
var c = html.charAt(i);
|
|
109
|
+
var v, j;
|
|
110
|
+
if (tmpName === false && c === "=") {
|
|
111
|
+
tmpName = html.slice(lastPos, i);
|
|
112
|
+
lastPos = i + 1;
|
|
113
|
+
lastMarkPos = html.charAt(lastPos) === '"' || html.charAt(lastPos) === "'" ? lastPos : findNextQuotationMark(html, i + 1);
|
|
114
|
+
continue;
|
|
115
|
+
}
|
|
116
|
+
if (tmpName !== false) {
|
|
117
|
+
if (i === lastMarkPos) {
|
|
118
|
+
j = html.indexOf(c, i + 1);
|
|
119
|
+
if (j === -1) {
|
|
120
|
+
break;
|
|
121
|
+
} else {
|
|
122
|
+
v = _.trim(html.slice(lastMarkPos + 1, j));
|
|
123
|
+
addAttr(tmpName, v);
|
|
124
|
+
tmpName = false;
|
|
125
|
+
i = j;
|
|
126
|
+
lastPos = i + 1;
|
|
127
|
+
continue;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (/\s|\n|\t/.test(c)) {
|
|
132
|
+
html = html.replace(/\s|\n|\t/g, " ");
|
|
133
|
+
if (tmpName === false) {
|
|
134
|
+
j = findNextEqual(html, i);
|
|
135
|
+
if (j === -1) {
|
|
136
|
+
v = _.trim(html.slice(lastPos, i));
|
|
137
|
+
addAttr(v);
|
|
138
|
+
tmpName = false;
|
|
139
|
+
lastPos = i + 1;
|
|
140
|
+
continue;
|
|
141
|
+
} else {
|
|
142
|
+
i = j - 1;
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
} else {
|
|
146
|
+
j = findBeforeEqual(html, i - 1);
|
|
147
|
+
if (j === -1) {
|
|
148
|
+
v = _.trim(html.slice(lastPos, i));
|
|
149
|
+
v = stripQuoteWrap(v);
|
|
150
|
+
addAttr(tmpName, v);
|
|
151
|
+
tmpName = false;
|
|
152
|
+
lastPos = i + 1;
|
|
153
|
+
continue;
|
|
154
|
+
} else {
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
if (lastPos < html.length) {
|
|
161
|
+
if (tmpName === false) {
|
|
162
|
+
addAttr(html.slice(lastPos));
|
|
163
|
+
} else {
|
|
164
|
+
addAttr(tmpName, stripQuoteWrap(_.trim(html.slice(lastPos))));
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return _.trim(retAttrs.join(" "));
|
|
168
|
+
}
|
|
169
|
+
__name(parseAttr, "parseAttr");
|
|
170
|
+
function findNextEqual(str, i) {
|
|
171
|
+
for (; i < str.length; i++) {
|
|
172
|
+
var c = str[i];
|
|
173
|
+
if (c === " ") continue;
|
|
174
|
+
if (c === "=") return i;
|
|
175
|
+
return -1;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
__name(findNextEqual, "findNextEqual");
|
|
179
|
+
function findNextQuotationMark(str, i) {
|
|
180
|
+
for (; i < str.length; i++) {
|
|
181
|
+
var c = str[i];
|
|
182
|
+
if (c === " ") continue;
|
|
183
|
+
if (c === "'" || c === '"') return i;
|
|
184
|
+
return -1;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
__name(findNextQuotationMark, "findNextQuotationMark");
|
|
188
|
+
function findBeforeEqual(str, i) {
|
|
189
|
+
for (; i > 0; i--) {
|
|
190
|
+
var c = str[i];
|
|
191
|
+
if (c === " ") continue;
|
|
192
|
+
if (c === "=") return i;
|
|
193
|
+
return -1;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
__name(findBeforeEqual, "findBeforeEqual");
|
|
197
|
+
function isQuoteWrapString(text) {
|
|
198
|
+
if (text[0] === '"' && text[text.length - 1] === '"' || text[0] === "'" && text[text.length - 1] === "'") {
|
|
199
|
+
return true;
|
|
200
|
+
} else {
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
__name(isQuoteWrapString, "isQuoteWrapString");
|
|
205
|
+
function stripQuoteWrap(text) {
|
|
206
|
+
if (isQuoteWrapString(text)) {
|
|
207
|
+
return text.substr(1, text.length - 2);
|
|
208
|
+
} else {
|
|
209
|
+
return text;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
__name(stripQuoteWrap, "stripQuoteWrap");
|
|
213
|
+
parser.parseTag = parseTag;
|
|
214
|
+
parser.parseAttr = parseAttr;
|
|
215
|
+
return parser;
|
|
216
|
+
}
|
|
217
|
+
__name(requireParser, "requireParser");
|
|
218
|
+
export {
|
|
219
|
+
requireParser as __require
|
|
220
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
var util;
|
|
4
|
+
var hasRequiredUtil;
|
|
5
|
+
function requireUtil() {
|
|
6
|
+
if (hasRequiredUtil) return util;
|
|
7
|
+
hasRequiredUtil = 1;
|
|
8
|
+
util = {
|
|
9
|
+
indexOf: /* @__PURE__ */ __name(function(arr, item) {
|
|
10
|
+
var i, j;
|
|
11
|
+
if (Array.prototype.indexOf) {
|
|
12
|
+
return arr.indexOf(item);
|
|
13
|
+
}
|
|
14
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
|
15
|
+
if (arr[i] === item) {
|
|
16
|
+
return i;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return -1;
|
|
20
|
+
}, "indexOf"),
|
|
21
|
+
forEach: /* @__PURE__ */ __name(function(arr, fn, scope) {
|
|
22
|
+
var i, j;
|
|
23
|
+
if (Array.prototype.forEach) {
|
|
24
|
+
return arr.forEach(fn, scope);
|
|
25
|
+
}
|
|
26
|
+
for (i = 0, j = arr.length; i < j; i++) {
|
|
27
|
+
fn.call(scope, arr[i], i, arr);
|
|
28
|
+
}
|
|
29
|
+
}, "forEach"),
|
|
30
|
+
trim: /* @__PURE__ */ __name(function(str) {
|
|
31
|
+
if (String.prototype.trim) {
|
|
32
|
+
return str.trim();
|
|
33
|
+
}
|
|
34
|
+
return str.replace(/(^\s*)|(\s*$)/g, "");
|
|
35
|
+
}, "trim"),
|
|
36
|
+
spaceIndex: /* @__PURE__ */ __name(function(str) {
|
|
37
|
+
var reg = /\s|\n|\t/;
|
|
38
|
+
var match = reg.exec(str);
|
|
39
|
+
return match ? match.index : -1;
|
|
40
|
+
}, "spaceIndex")
|
|
41
|
+
};
|
|
42
|
+
return util;
|
|
43
|
+
}
|
|
44
|
+
__name(requireUtil, "requireUtil");
|
|
45
|
+
export {
|
|
46
|
+
requireUtil as __require
|
|
47
|
+
};
|