pds-dev-kit-web-test 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +12 -1
  2. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/Image.d.ts +8 -0
  3. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/Image.js +46 -0
  4. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/index.d.ts +2 -0
  5. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/index.js +8 -0
  6. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.d.ts +2 -3
  7. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.js +3 -3
  8. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.d.ts +2 -2
  9. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.d.ts +13 -0
  10. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.js +63 -0
  11. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.d.ts +2 -0
  12. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.js +8 -0
  13. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.d.ts +3 -11
  14. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.js +18 -18
  15. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimelineRerender.d.ts +14 -0
  16. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimelineRerender.js +41 -0
  17. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/Wrapper.d.ts +35 -0
  18. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/Wrapper.js +141 -0
  19. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/constants.d.ts +2 -0
  20. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/constants.js +33 -0
  21. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/index.d.ts +1 -0
  22. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/index.js +8 -0
  23. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.d.ts +3 -2
  24. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.js +3 -1
  25. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +3 -3
  26. package/dist/src/sub/DynamicLayout/components/Section/Section.d.ts +6 -3
  27. package/dist/src/sub/DynamicLayout/components/Section/Section.js +40 -8
  28. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +9 -0
  29. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +68 -0
  30. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +4 -4
  31. package/dist/src/sub/DynamicLayout/components/desktop/common/Carousel.d.ts +1 -2
  32. package/dist/src/sub/DynamicLayout/components/desktop/common/Carousel.js +6 -6
  33. package/dist/src/sub/DynamicLayout/components/index.d.ts +0 -1
  34. package/dist/src/sub/DynamicLayout/components/index.js +1 -6
  35. package/dist/src/sub/DynamicLayout/mock_customSection.d.ts +2 -0
  36. package/dist/src/sub/DynamicLayout/mock_customSection.js +838 -0
  37. package/dist/src/sub/DynamicLayout/mock_samplePage.js +5 -210
  38. package/dist/src/sub/DynamicLayout/nakedMocks.json +783 -0
  39. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +17 -4
  40. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +2 -9
  41. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +85 -51
  42. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.d.ts +7 -0
  43. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.js +55 -0
  44. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +3 -0
  45. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +70 -0
  46. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +5 -0
  47. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +73 -0
  48. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.d.ts +68 -0
  49. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.js +2 -0
  50. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider.d.ts +5 -0
  51. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider.js +66 -0
  52. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image.d.ts +16 -0
  53. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image.js +102 -0
  54. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +5 -0
  55. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +62 -0
  56. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.d.ts +1 -0
  57. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.js +8 -0
  58. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +44 -0
  59. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.js +2 -0
  60. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text.d.ts +32 -0
  61. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text.js +58 -0
  62. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter.d.ts +10 -0
  63. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter.js +41 -0
  64. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +5 -0
  65. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +69 -0
  66. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.d.ts +1 -0
  67. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.js +8 -0
  68. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +7 -0
  69. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.js +33 -0
  70. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +48 -0
  71. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.js +2 -0
  72. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.d.ts +2 -0
  73. package/dist/src/sub/DynamicLayout/sections/CustomSection/{BlockMatcher/blocks/Button.js → components/ComponentBlock/componentBlocks/components/S_CB_Box.js} +6 -11
  74. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.d.ts +1 -0
  75. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.js +13 -0
  76. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.d.ts +8 -0
  77. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +24 -0
  78. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +20 -0
  79. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.js +2 -0
  80. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/utils/CLINKhandler.d.ts +0 -0
  81. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/utils/CLINKhandler.js +18 -0
  82. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.d.ts +1 -0
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.js +8 -0
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.d.ts +1 -0
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.js +5 -0
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.d.ts +1 -0
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.js +5 -0
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.d.ts +6 -0
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.js +26 -0
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/index.d.ts +0 -1
  91. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.d.ts +31 -0
  92. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.js +66 -0
  93. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.d.ts +2 -0
  94. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.js +10 -0
  95. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.d.ts +2 -0
  96. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +46 -0
  97. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.d.ts +18 -0
  98. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +79 -0
  99. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +50 -99
  100. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +11 -14
  101. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/index.d.ts +3 -0
  102. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/index.js +16 -0
  103. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/parseContentVisibility.d.ts +12 -0
  104. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/parseContentVisibility.js +18 -0
  105. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/types.d.ts +5 -0
  106. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/types.js +7 -0
  107. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/constants.d.ts +4 -0
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/constants.js +46 -0
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.d.ts +3 -0
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.js +16 -0
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +19 -0
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.js +51 -0
  113. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.d.ts +5 -0
  114. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.js +7 -0
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.d.ts +6 -0
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.js +18 -0
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/index.d.ts +3 -0
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/index.js +19 -0
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropArrange.d.ts +24 -0
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropArrange.js +80 -0
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +21 -0
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.js +32 -0
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/types.d.ts +7 -0
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/types.js +8 -0
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +3 -0
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.js +61 -0
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +20 -0
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +46 -0
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +5 -0
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.js +54 -0
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/index.d.ts +3 -0
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/index.js +41 -0
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgColor.d.ts +43 -0
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgColor.js +58 -0
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgImage.d.ts +19 -0
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgImage.js +118 -0
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay.d.ts +43 -0
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay.js +64 -0
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.d.ts +38 -0
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +73 -0
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropDivider.d.ts +26 -0
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropDivider.js +65 -0
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropImage.d.ts +19 -0
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropImage.js +118 -0
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropOpacity.d.ts +15 -0
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropOpacity.js +41 -0
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.d.ts +39 -0
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.js +46 -0
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.d.ts +39 -0
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +80 -0
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.d.ts +22 -0
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.js +16 -0
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +134 -0
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.js +2 -0
  155. package/dist/src/sub/DynamicLayout/sections/index.d.ts +1 -0
  156. package/dist/src/sub/DynamicLayout/sections/index.js +3 -1
  157. package/dist/src/sub/DynamicLayout/types.d.ts +70 -4
  158. package/package.json +2 -4
  159. package/release-note.md +2 -3
  160. package/dist/src/sub/DynamicLayout/components/Box.d.ts +0 -13
  161. package/dist/src/sub/DynamicLayout/components/Box.js +0 -73
  162. package/dist/src/sub/DynamicLayout/custonSectionSampleData.d.ts +0 -334
  163. package/dist/src/sub/DynamicLayout/custonSectionSampleData.js +0 -328
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/BlockMatcher.d.ts +0 -11
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/BlockMatcher.js +0 -86
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Accordion.d.ts +0 -12
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Accordion.js +0 -46
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionBody.d.ts +0 -8
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionBody.js +0 -74
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionCore.d.ts +0 -13
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionCore.js +0 -25
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionHeader.d.ts +0 -7
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionHeader.js +0 -49
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionItem.d.ts +0 -7
  175. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionItem.js +0 -19
  176. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/index.d.ts +0 -4
  177. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/index.js +0 -14
  178. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Button.d.ts +0 -8
  179. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/CardItem.d.ts +0 -9
  180. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/CardItem.js +0 -34
  181. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/ContentsCarousel.d.ts +0 -28
  182. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/ContentsCarousel.js +0 -53
  183. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Divider.d.ts +0 -7
  184. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Divider.js +0 -29
  185. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Image.d.ts +0 -7
  186. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Image.js +0 -18
  187. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ImageCarousel/ImageCarousel.d.ts +0 -16
  188. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ImageCarousel/ImageCarousel.js +0 -41
  189. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Instagram.d.ts +0 -7
  190. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Instagram.js +0 -19
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/RichText.d.ts +0 -7
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/RichText.js +0 -9
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Text.d.ts +0 -7
  194. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Text.js +0 -29
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Twitter.d.ts +0 -7
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Twitter.js +0 -30
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Youtube.d.ts +0 -9
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Youtube.js +0 -38
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/index.d.ts +0 -9
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/index.js +0 -24
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/index.d.ts +0 -1
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/index.js +0 -8
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- declare type Props = {
3
- children: React.ReactNode;
4
- style: React.CSSProperties;
5
- };
6
- declare function AccordionItem({ children, style }: Props): JSX.Element;
7
- export default AccordionItem;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var jsx_runtime_1 = require("react/jsx-runtime");
15
- function AccordionItem(_a) {
16
- var children = _a.children, style = _a.style;
17
- return (0, jsx_runtime_1.jsx)("div", __assign({ style: style }, { children: children }), void 0);
18
- }
19
- exports.default = AccordionItem;
@@ -1,4 +0,0 @@
1
- export { default as AccordionCore } from './AccordionCore';
2
- export { default as AccordionBody } from './AccordionBody';
3
- export { default as AccordionHeader } from './AccordionHeader';
4
- export { default as AccordionItem } from './AccordionItem';
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.AccordionItem = exports.AccordionHeader = exports.AccordionBody = exports.AccordionCore = void 0;
7
- var AccordionCore_1 = require("./AccordionCore");
8
- Object.defineProperty(exports, "AccordionCore", { enumerable: true, get: function () { return __importDefault(AccordionCore_1).default; } });
9
- var AccordionBody_1 = require("./AccordionBody");
10
- Object.defineProperty(exports, "AccordionBody", { enumerable: true, get: function () { return __importDefault(AccordionBody_1).default; } });
11
- var AccordionHeader_1 = require("./AccordionHeader");
12
- Object.defineProperty(exports, "AccordionHeader", { enumerable: true, get: function () { return __importDefault(AccordionHeader_1).default; } });
13
- var AccordionItem_1 = require("./AccordionItem");
14
- Object.defineProperty(exports, "AccordionItem", { enumerable: true, get: function () { return __importDefault(AccordionItem_1).default; } });
@@ -1,8 +0,0 @@
1
- import type React from 'react';
2
- declare type ButtonComponentProp = {
3
- text: string;
4
- style: React.CSSProperties;
5
- hoverStyle?: React.CSSProperties;
6
- };
7
- declare function Button({ text, style, hoverStyle }: ButtonComponentProp): JSX.Element;
8
- export default Button;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- declare type Props = {
3
- imgSrc: string;
4
- title: string;
5
- description: string;
6
- isImgOverlay: boolean;
7
- };
8
- declare function CardItem({ imgSrc, title, description, isImgOverlay }: Props): JSX.Element;
9
- export default CardItem;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- require("react");
23
- var reactstrap_1 = require("reactstrap");
24
- var styled_components_1 = __importDefault(require("styled-components"));
25
- function CardItem(_a) {
26
- var imgSrc = _a.imgSrc, title = _a.title, description = _a.description, isImgOverlay = _a.isImgOverlay;
27
- if (isImgOverlay) {
28
- (0, jsx_runtime_1.jsxs)(reactstrap_1.Card, { children: [(0, jsx_runtime_1.jsx)(reactstrap_1.CardImg, { src: imgSrc, width: "100%" }, void 0), (0, jsx_runtime_1.jsx)(reactstrap_1.CardImgOverlay, { children: (0, jsx_runtime_1.jsxs)(reactstrap_1.CardBody, { children: [(0, jsx_runtime_1.jsx)(reactstrap_1.CardTitle, __assign({ tag: "h5" }, { children: title }), void 0), (0, jsx_runtime_1.jsx)(reactstrap_1.CardSubtitle, __assign({ className: "mb-2 text-muted", tag: "h6" }, { children: description }), void 0), (0, jsx_runtime_1.jsx)(reactstrap_1.CardText, { children: "\uCD94\uAC00\uB85C \uCE74\uB4DC \uD14D\uC2A4\uD2B8\uB97C \uB123\uB294 \uACF3" }, void 0), (0, jsx_runtime_1.jsx)(reactstrap_1.Button, { children: "Button" }, void 0)] }, void 0) }, void 0)] }, void 0);
29
- }
30
- return ((0, jsx_runtime_1.jsxs)(reactstrap_1.Card, __assign({ style: { height: '100%' } }, { children: [(0, jsx_runtime_1.jsx)(S_CardImgBox, { children: (0, jsx_runtime_1.jsx)(reactstrap_1.CardImg, { src: imgSrc, width: "100%", top: true, style: { aspectRatio: '16/9' } }, void 0) }, void 0), (0, jsx_runtime_1.jsxs)(reactstrap_1.CardBody, __assign({ style: { flex: '1 1 auto' } }, { children: [(0, jsx_runtime_1.jsx)(reactstrap_1.CardTitle, __assign({ tag: "h5" }, { children: title }), void 0), (0, jsx_runtime_1.jsx)(reactstrap_1.CardSubtitle, __assign({ className: "mb-2 text-muted", tag: "h6" }, { children: description }), void 0), (0, jsx_runtime_1.jsx)(reactstrap_1.CardText, { children: "\uCD94\uAC00\uB85C \uCE74\uB4DC \uD14D\uC2A4\uD2B8\uB97C \uB123\uB294 \uACF3" }, void 0), (0, jsx_runtime_1.jsx)(reactstrap_1.Button, { children: "Button" }, void 0)] }), void 0)] }), void 0));
31
- }
32
- var S_CardImgBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 50%;\n max-height: 50%;\n"], ["\n height: 50%;\n max-height: 50%;\n"])));
33
- exports.default = CardItem;
34
- var templateObject_1;
@@ -1,28 +0,0 @@
1
- import type { TypeOfItemLinkType } from '../../../../../../DynamicLayout/types';
2
- import type React from 'react';
3
- export declare type ContentsCarouselItem = {
4
- title: string;
5
- description: string;
6
- imageSrc: string;
7
- linkSrc: string;
8
- linkType: TypeOfItemLinkType;
9
- buttonLabel: string;
10
- id: string;
11
- };
12
- export declare type EffectTypes = 'none' | 'fade';
13
- export declare type CarouselSettings = {
14
- mode: 'normal' | 'loop' | 'autoplay';
15
- carouselAutoplayTime: number;
16
- spaceBetween: number;
17
- slidesPerView: number;
18
- sliderPerGroup: number;
19
- buttonSpacing: string;
20
- effect: EffectTypes;
21
- };
22
- export declare type ContentsCarouselProps = {
23
- contentsCarouselItems: ContentsCarouselItem[];
24
- carouselSettings: CarouselSettings;
25
- style: React.CSSProperties;
26
- };
27
- declare function ContentsCarousel({ contentsCarouselItems, style, carouselSettings }: ContentsCarouselProps): JSX.Element;
28
- export default ContentsCarousel;
@@ -1,53 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- var desktop_1 = require("../../../../../../DynamicLayout/components/desktop");
23
- var styled_components_1 = __importDefault(require("styled-components"));
24
- var CardItem_1 = __importDefault(require("./CardItem"));
25
- function ContentsCarousel(_a) {
26
- var contentsCarouselItems = _a.contentsCarouselItems, style = _a.style, carouselSettings = _a.carouselSettings;
27
- var mode = carouselSettings.mode, carouselAutoplayTime = carouselSettings.carouselAutoplayTime, spaceBetween = carouselSettings.spaceBetween, slidesPerView = carouselSettings.slidesPerView, sliderPerGroup = carouselSettings.sliderPerGroup, buttonSpacing = carouselSettings.buttonSpacing;
28
- return ((0, jsx_runtime_1.jsx)(S_CarouselBox, __assign({ style: style }, { children: (0, jsx_runtime_1.jsx)(desktop_1.Carousel, __assign({ spaceBetween: spaceBetween, slidesPerView: slidesPerView, slidesPerGroup: sliderPerGroup,
29
- // NOTE: when edit mode
30
- allowTouchMove: false,
31
- // breakpoints={{
32
- // 1301: {
33
- // slidesPerView: 4
34
- // },
35
- // 1601: {
36
- // slidesPerView: 5
37
- // }
38
- // }}
39
- mode: mode, autoplayDelay: carouselAutoplayTime, buttonSpacing: buttonSpacing }, { children: contentsCarouselItems.map(function (item) {
40
- var itemTitle = item.title, itemDescription = item.description, itemImageSrc = item.imageSrc,
41
- // linkSrc: itemLinkSrc,
42
- // linkType: itemLinkType,
43
- // buttonLabel: itemButtonLabel,
44
- id = item.id;
45
- return ((0, jsx_runtime_1.jsx)(CardItem_1.default, { imgSrc: itemImageSrc, title: itemTitle, description: itemDescription, isImgOverlay: false }, id));
46
- }) }), void 0) }), void 0));
47
- }
48
- var S_CarouselBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* NOTE: \uBCC0\uACBD\uD544\uC694 */\n height: 100%;\n max-height: 100%;\n\n /* & > div {\n height: 100%;\n & > div {\n height: 100%;\n & > .swiper {\n height: 100%;\n }\n }\n } */\n /* margin: ", " 0; */\n"], ["\n /* NOTE: \uBCC0\uACBD\uD544\uC694 */\n height: 100%;\n max-height: 100%;\n\n /* & > div {\n height: 100%;\n & > div {\n height: 100%;\n & > .swiper {\n height: 100%;\n }\n }\n } */\n /* margin: ", " 0; */\n"])), function (_a) {
49
- var theme = _a.theme;
50
- return theme.spacing.spacingH;
51
- });
52
- exports.default = ContentsCarousel;
53
- var templateObject_1;
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- export declare type DividerProp = {
3
- size: number;
4
- style: React.CSSProperties;
5
- };
6
- declare function Divider({ style, size }: DividerProp): JSX.Element;
7
- export default Divider;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- var styled_components_1 = __importDefault(require("styled-components"));
23
- function Divider(_a) {
24
- var style = _a.style, size = _a.size;
25
- return (0, jsx_runtime_1.jsx)(S_Divider, { style: __assign(__assign({}, style), { height: size + "px" }) }, void 0);
26
- }
27
- var S_Divider = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n top: 50%;\n transform: translateY(-50%);\n width: 100%;\n"], ["\n position: relative;\n top: 50%;\n transform: translateY(-50%);\n width: 100%;\n"])));
28
- exports.default = Divider;
29
- var templateObject_1;
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- declare type ImgProps = {
3
- src: string;
4
- style: React.CSSProperties;
5
- };
6
- declare function Image({ src, style }: ImgProps): JSX.Element;
7
- export default Image;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- var jsx_runtime_1 = require("react/jsx-runtime");
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- function Image(_a) {
13
- var src = _a.src, style = _a.style;
14
- return (0, jsx_runtime_1.jsx)(S_Img, { src: src, style: style }, void 0);
15
- }
16
- var S_Img = styled_components_1.default.img(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n width: 100%;\n"])));
17
- exports.default = Image;
18
- var templateObject_1;
@@ -1,16 +0,0 @@
1
- import type { CarouselSettings } from '../ContentsCarousel/ContentsCarousel';
2
- import type React from 'react';
3
- export declare type ImgCarouselItem = {
4
- title: string;
5
- description: string;
6
- imageSrc: string;
7
- id: string;
8
- };
9
- export declare type ImgCarouselProps = {
10
- imgCarouselItems: ImgCarouselItem[];
11
- carouselSettings: CarouselSettings;
12
- style: React.CSSProperties;
13
- imgStyle: React.CSSProperties;
14
- };
15
- declare function ImageCarousel({ imgStyle, imgCarouselItems, carouselSettings, style }: ImgCarouselProps): JSX.Element;
16
- export default ImageCarousel;
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- var reactstrap_1 = require("reactstrap");
23
- var swiper_1 = require("swiper");
24
- var react_1 = require("swiper/react");
25
- var swiper_style_1 = __importDefault(require("../../../../../../DynamicLayout/components/desktop/common/swiper.style"));
26
- var styled_components_1 = __importDefault(require("styled-components"));
27
- function ImageCarousel(_a) {
28
- var imgStyle = _a.imgStyle, imgCarouselItems = _a.imgCarouselItems, carouselSettings = _a.carouselSettings, style = _a.style;
29
- return ((0, jsx_runtime_1.jsx)(S_SwiperStyleWrapper, __assign({ style: style }, { children: (0, jsx_runtime_1.jsx)(react_1.Swiper, __assign({ spaceBetween: carouselSettings.spaceBetween, effect: carouselSettings.effect === 'none' ? undefined : carouselSettings.effect, navigation: true, pagination: {
30
- clickable: true
31
- },
32
- // NOTE: when edit mode
33
- allowTouchMove: false, modules: [swiper_1.EffectFade, swiper_1.Navigation, reactstrap_1.Pagination], className: "mySwiper" }, { children: imgCarouselItems.map(function (item) { return ((0, jsx_runtime_1.jsxs)(react_1.SwiperSlide, { children: [(0, jsx_runtime_1.jsx)(S_Img, { style: imgStyle, src: item.imageSrc }, void 0), (0, jsx_runtime_1.jsxs)(S_Overlay, { children: [(0, jsx_runtime_1.jsx)(S_Title, { children: item.title }, void 0), (0, jsx_runtime_1.jsx)(S_Desc, { children: item.description }, void 0)] }, void 0)] }, item.id)); }) }), void 0) }), void 0));
34
- }
35
- var S_Overlay = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n bottom: 20px;\n left: 20px;\n position: absolute;\n"], ["\n bottom: 20px;\n left: 20px;\n position: absolute;\n"])));
36
- var S_Title = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: white;\n font-size: 20px;\n margin-bottom: 8px;\n"], ["\n color: white;\n font-size: 20px;\n margin-bottom: 8px;\n"])));
37
- var S_Desc = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: #d2d2d2;\n font-size: 16px;\n"], ["\n color: #d2d2d2;\n font-size: 16px;\n"])));
38
- var S_Img = styled_components_1.default.img(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n object-position: 50% 50%;\n width: 100%;\n"], ["\n height: 100%;\n object-position: 50% 50%;\n width: 100%;\n"])));
39
- var S_SwiperStyleWrapper = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n /** NOTE: Swiper\uAC00 \uC81C\uACF5\uD558\uB294 css \uD30C\uC77C\uC744 webpack \uC774\uC288\uB85C import\uD558\uC9C0 \uBABB\uD574\uC11C \uC784\uC2DC\uB85C \uB9CC\uB4E0 css wrapper\uC785\uB2C8\uB2E4.\n * \uCC28\uD6C4 Webpack 5\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158 \uB418\uB294 \uACBD\uC6B0 swiper \uD648\uD398\uC774\uC9C0\uC5D0\uC11C \uCD94\uCC9C\uD558\uB294 \uC0AC\uC6A9\uBC95\uC73C\uB85C \uC218\uC815\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.\n */\n\n ", "\n height: 100%;\n\n .swiper {\n height: 100%;\n }\n\n * {\n pointer-events: 'none';\n }\n"], ["\n /** NOTE: Swiper\uAC00 \uC81C\uACF5\uD558\uB294 css \uD30C\uC77C\uC744 webpack \uC774\uC288\uB85C import\uD558\uC9C0 \uBABB\uD574\uC11C \uC784\uC2DC\uB85C \uB9CC\uB4E0 css wrapper\uC785\uB2C8\uB2E4.\n * \uCC28\uD6C4 Webpack 5\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158 \uB418\uB294 \uACBD\uC6B0 swiper \uD648\uD398\uC774\uC9C0\uC5D0\uC11C \uCD94\uCC9C\uD558\uB294 \uC0AC\uC6A9\uBC95\uC73C\uB85C \uC218\uC815\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.\n */\n\n ", "\n height: 100%;\n\n .swiper {\n height: 100%;\n }\n\n * {\n pointer-events: 'none';\n }\n"])), swiper_style_1.default);
40
- exports.default = ImageCarousel;
41
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- declare type InstagramProps = {
3
- accountId: string;
4
- style: React.CSSProperties;
5
- };
6
- declare function Instagram({ accountId, style }: InstagramProps): JSX.Element;
7
- export default Instagram;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var jsx_runtime_1 = require("react/jsx-runtime");
15
- function Instagram(_a) {
16
- var accountId = _a.accountId, style = _a.style;
17
- return (0, jsx_runtime_1.jsxs)("div", __assign({ style: style }, { children: ["Instagram accountId: ", accountId] }), void 0);
18
- }
19
- exports.default = Instagram;
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- export declare type RichTextComponentProp = {
3
- text: string;
4
- style: React.CSSProperties;
5
- };
6
- declare function RichText({ text, style }: RichTextComponentProp): JSX.Element;
7
- export default RichText;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var jsx_runtime_1 = require("react/jsx-runtime");
4
- var ComponentBlocks_1 = require("../../../../../DynamicLayout/components/ComponentBlocks");
5
- function RichText(_a) {
6
- var text = _a.text, style = _a.style;
7
- return (0, jsx_runtime_1.jsx)(ComponentBlocks_1.RichText, { text: text, style: style }, void 0);
8
- }
9
- exports.default = RichText;
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- export declare type TextComponentProp = {
3
- text: string;
4
- style: React.CSSProperties;
5
- };
6
- declare function Text({ text, style }: TextComponentProp): JSX.Element;
7
- export default Text;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- var styled_components_1 = __importDefault(require("styled-components"));
23
- function Text(_a) {
24
- var text = _a.text, style = _a.style;
25
- return (0, jsx_runtime_1.jsx)(S_Text, __assign({ style: style }, { children: text }), void 0);
26
- }
27
- var S_Text = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n width: 100%;\n"])));
28
- exports.default = Text;
29
- var templateObject_1;
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- declare type TwitterProps = {
3
- accountId: string;
4
- style: React.CSSProperties;
5
- };
6
- declare function Twitter({ accountId, style }: TwitterProps): JSX.Element;
7
- export default Twitter;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- var ComponentBlocks_1 = require("../../../../../DynamicLayout/components/ComponentBlocks");
23
- var styled_components_1 = __importDefault(require("styled-components"));
24
- function Twitter(_a) {
25
- var accountId = _a.accountId, style = _a.style;
26
- return ((0, jsx_runtime_1.jsx)(S_TwitterWrapper, __assign({ style: style }, { children: (0, jsx_runtime_1.jsx)(ComponentBlocks_1.TwitterTimeline, { width: 200, height: 400, userId: accountId, fallback: (0, jsx_runtime_1.jsxs)("div", { children: ["loading @", accountId, " feed"] }, void 0) }, void 0) }), void 0));
27
- }
28
- var S_TwitterWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n //NOTE: editmode;\n height: 100%;\n pointer-events: none;\n width: 100%;\n"], ["\n //NOTE: editmode;\n height: 100%;\n pointer-events: none;\n width: 100%;\n"])));
29
- exports.default = Twitter;
30
- var templateObject_1;
@@ -1,9 +0,0 @@
1
- import type React from 'react';
2
- export declare type YoutubeProps = {
3
- url: string;
4
- startAt: number;
5
- endAt: number;
6
- style: React.CSSProperties;
7
- };
8
- declare function Youtube({ url, startAt, endAt, style }: YoutubeProps): JSX.Element;
9
- export default Youtube;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- var jsx_runtime_1 = require("react/jsx-runtime");
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- function Youtube(_a) {
13
- var url = _a.url, startAt = _a.startAt, endAt = _a.endAt, style = _a.style;
14
- var id = YoutubeLinkParser.getId(url);
15
- var src = YoutubeLinkParser.getEmbedUrl(url, startAt, endAt);
16
- return (0, jsx_runtime_1.jsx)(S_Iframe, { title: id, src: src, style: style }, void 0);
17
- }
18
- var S_Iframe = styled_components_1.default.iframe(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n pointer-events: none;\n width: 100%;\n"], ["\n height: 100%;\n pointer-events: none;\n width: 100%;\n"])));
19
- exports.default = Youtube;
20
- var YoutubeLinkParser = /** @class */ (function () {
21
- function YoutubeLinkParser() {
22
- }
23
- YoutubeLinkParser.getId = function (src) {
24
- var _a;
25
- var embedUrl = src.match(/youtube\.com.*(\?v=|\/embed\/)(.{11})/);
26
- var shareUrl = src.match(/youtu.be\/(.{11})/);
27
- var shortsUrl = src.match(/youtube\.com\/shorts\/(.{11})/);
28
- return (_a = (embedUrl || shareUrl || shortsUrl)) === null || _a === void 0 ? void 0 : _a.pop();
29
- };
30
- YoutubeLinkParser.getThumbnailUrl = function (src) {
31
- return "https://img.youtube.com/vi/" + YoutubeLinkParser.getId(src) + "/0.jpg";
32
- };
33
- YoutubeLinkParser.getEmbedUrl = function (src, start, end) {
34
- return "https://www.youtube.com/embed/" + YoutubeLinkParser.getId(src) + "?start=" + start + "&end=" + end;
35
- };
36
- return YoutubeLinkParser;
37
- }());
38
- var templateObject_1;
@@ -1,9 +0,0 @@
1
- export { default as Text } from './Text';
2
- export { default as Image } from './Image';
3
- export { default as RichText } from './RichText';
4
- export { default as Button } from './Button';
5
- export { default as Instagram } from './Instagram';
6
- export { default as Twitter } from './Twitter';
7
- export { default as Divider } from './Divider';
8
- export { default as Youtube } from './Youtube';
9
- export { default as Accordion } from './Accordion';
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Accordion = exports.Youtube = exports.Divider = exports.Twitter = exports.Instagram = exports.Button = exports.RichText = exports.Image = exports.Text = void 0;
7
- var Text_1 = require("./Text");
8
- Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return __importDefault(Text_1).default; } });
9
- var Image_1 = require("./Image");
10
- Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return __importDefault(Image_1).default; } });
11
- var RichText_1 = require("./RichText");
12
- Object.defineProperty(exports, "RichText", { enumerable: true, get: function () { return __importDefault(RichText_1).default; } });
13
- var Button_1 = require("./Button");
14
- Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return __importDefault(Button_1).default; } });
15
- var Instagram_1 = require("./Instagram");
16
- Object.defineProperty(exports, "Instagram", { enumerable: true, get: function () { return __importDefault(Instagram_1).default; } });
17
- var Twitter_1 = require("./Twitter");
18
- Object.defineProperty(exports, "Twitter", { enumerable: true, get: function () { return __importDefault(Twitter_1).default; } });
19
- var Divider_1 = require("./Divider");
20
- Object.defineProperty(exports, "Divider", { enumerable: true, get: function () { return __importDefault(Divider_1).default; } });
21
- var Youtube_1 = require("./Youtube");
22
- Object.defineProperty(exports, "Youtube", { enumerable: true, get: function () { return __importDefault(Youtube_1).default; } });
23
- var Accordion_1 = require("./Accordion");
24
- Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return __importDefault(Accordion_1).default; } });
@@ -1 +0,0 @@
1
- export { default as BlockMatcher } from './BlockMatcher';
@@ -1,8 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.BlockMatcher = void 0;
7
- var BlockMatcher_1 = require("./BlockMatcher");
8
- Object.defineProperty(exports, "BlockMatcher", { enumerable: true, get: function () { return __importDefault(BlockMatcher_1).default; } });