@getcommunity/gc-validators 0.0.322 → 0.0.324
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/dist/base/index.cjs +2 -2
- package/dist/base/index.mjs +2 -2
- package/dist/{boolean-tBVviKsR.mjs → boolean-BAG2qbdD.mjs} +1 -1
- package/dist/{boolean-BYGqZxWU.cjs → boolean-Dw28WFxu.cjs} +1 -1
- package/dist/components/blocks/index.cjs +25 -27
- package/dist/components/blocks/index.d.cts +1 -1
- package/dist/components/blocks/index.d.mts +1 -1
- package/dist/components/blocks/index.mjs +26 -28
- package/dist/components/brand/index.cjs +5 -3
- package/dist/components/brand/index.d.cts +2 -2
- package/dist/components/brand/index.d.mts +2 -2
- package/dist/components/brand/index.mjs +6 -5
- package/dist/components/forms/index.cjs +10 -12
- package/dist/components/forms/index.d.cts +5 -7
- package/dist/components/forms/index.d.mts +5 -7
- package/dist/components/forms/index.mjs +11 -13
- package/dist/components/gcft/index.cjs +93 -0
- package/dist/components/gcft/index.d.cts +989 -0
- package/dist/components/gcft/index.d.mts +989 -0
- package/dist/components/gcft/index.mjs +79 -0
- package/dist/components/shared/index.cjs +10 -10
- package/dist/components/shared/index.d.cts +1 -1
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/components/shared/index.mjs +11 -11
- package/dist/components/slideshow/index.cjs +17 -19
- package/dist/components/slideshow/index.d.cts +13 -15
- package/dist/components/slideshow/index.d.mts +13 -15
- package/dist/components/slideshow/index.mjs +18 -20
- package/dist/components/utm/index.cjs +7 -8
- package/dist/components/utm/index.d.cts +1 -1
- package/dist/components/utm/index.d.mts +1 -1
- package/dist/components/utm/index.mjs +8 -9
- package/dist/{document-C9FkMgj3.d.cts → document-BHX6VFQZ.d.cts} +1 -1
- package/dist/{document-Bi2PXBA-.d.cts → document-Be5Cilg0.d.cts} +21 -17
- package/dist/{document-BuPIkqKH.cjs → document-BmofmYTz.cjs} +31 -29
- package/dist/{document-9wwEy-RN.d.mts → document-CpbX0dkQ.d.mts} +21 -17
- package/dist/{document-B_ZXYnh3.d.mts → document-Dphn5GgF.d.mts} +1 -1
- package/dist/{document-CrEFVYK-.d.cts → document-DwCd0vSJ.d.cts} +3 -3
- package/dist/{document-DF8JMYMm.mjs → document-N-npHSnd.mjs} +32 -30
- package/dist/{document-DpnOB5mQ.d.mts → document-uKORXaDn.d.mts} +3 -3
- package/dist/entities/audit-log/mutation.cjs +2 -2
- package/dist/entities/audit-log/mutation.mjs +2 -2
- package/dist/entities/audit-log/query.cjs +3 -3
- package/dist/entities/audit-log/query.mjs +3 -3
- package/dist/entities/blog-page/document.d.cts +1 -1
- package/dist/entities/blog-page/document.d.mts +1 -1
- package/dist/entities/blog-post/document.d.cts +1 -1
- package/dist/entities/blog-post/document.d.mts +1 -1
- package/dist/entities/blog-post/fields.d.cts +1 -1
- package/dist/entities/blog-post/fields.d.mts +1 -1
- package/dist/entities/blog-post/query.cjs +6 -6
- package/dist/entities/blog-post/query.mjs +6 -6
- package/dist/entities/careers-page/document.d.cts +1 -1
- package/dist/entities/careers-page/document.d.mts +1 -1
- package/dist/entities/category/document.d.cts +1 -1
- package/dist/entities/category/document.d.mts +1 -1
- package/dist/entities/category/mutation.cjs +2 -2
- package/dist/entities/category/mutation.mjs +2 -2
- package/dist/entities/category/query.cjs +2 -2
- package/dist/entities/category/query.mjs +2 -2
- package/dist/entities/client/document.cjs +1 -1
- package/dist/entities/client/document.d.cts +1 -1
- package/dist/entities/client/document.d.mts +1 -1
- package/dist/entities/client/document.mjs +1 -1
- package/dist/entities/client/mutation.cjs +2 -2
- package/dist/entities/client/mutation.mjs +2 -2
- package/dist/entities/client/query.cjs +4 -4
- package/dist/entities/client/query.mjs +4 -4
- package/dist/entities/client-content-pillar/document.cjs +1 -1
- package/dist/entities/client-content-pillar/document.d.cts +1 -1
- package/dist/entities/client-content-pillar/document.d.mts +1 -1
- package/dist/entities/client-content-pillar/document.mjs +1 -1
- package/dist/entities/client-content-pillar/mutation.cjs +1 -1
- package/dist/entities/client-content-pillar/mutation.mjs +1 -1
- package/dist/entities/client-content-pillar/query.cjs +1 -1
- package/dist/entities/client-content-pillar/query.mjs +1 -1
- package/dist/entities/client-email/document.cjs +1 -1
- package/dist/entities/client-email/document.d.cts +1 -1
- package/dist/entities/client-email/document.d.mts +1 -1
- package/dist/entities/client-email/document.mjs +1 -1
- package/dist/entities/client-email/mutation.cjs +2 -2
- package/dist/entities/client-email/mutation.mjs +2 -2
- package/dist/entities/client-email/query.cjs +2 -2
- package/dist/entities/client-email/query.mjs +2 -2
- package/dist/entities/client-media-platform/document.cjs +1 -1
- package/dist/entities/client-media-platform/document.d.cts +1 -1
- package/dist/entities/client-media-platform/document.d.mts +1 -1
- package/dist/entities/client-media-platform/document.mjs +1 -1
- package/dist/entities/client-media-platform/mutation.cjs +2 -2
- package/dist/entities/client-media-platform/mutation.mjs +2 -2
- package/dist/entities/client-media-platform/query.cjs +1 -1
- package/dist/entities/client-media-platform/query.mjs +1 -1
- package/dist/entities/client-project/document.cjs +1 -1
- package/dist/entities/client-project/document.d.cts +1 -1
- package/dist/entities/client-project/document.d.mts +1 -1
- package/dist/entities/client-project/document.mjs +1 -1
- package/dist/entities/client-project/mutation.cjs +2 -2
- package/dist/entities/client-project/mutation.mjs +2 -2
- package/dist/entities/client-project/query.cjs +4 -4
- package/dist/entities/client-project/query.mjs +4 -4
- package/dist/entities/client-report/document.cjs +1 -1
- package/dist/entities/client-report/document.d.cts +1 -1
- package/dist/entities/client-report/document.d.mts +1 -1
- package/dist/entities/client-report/document.mjs +1 -1
- package/dist/entities/client-report/mutation.cjs +2 -2
- package/dist/entities/client-report/mutation.mjs +2 -2
- package/dist/entities/client-report/query.cjs +3 -3
- package/dist/entities/client-report/query.mjs +3 -3
- package/dist/entities/client-styleguide/document.cjs +1 -1
- package/dist/entities/client-styleguide/document.d.cts +1 -1
- package/dist/entities/client-styleguide/document.d.mts +1 -1
- package/dist/entities/client-styleguide/document.mjs +1 -1
- package/dist/entities/client-styleguide/mutation.cjs +2 -2
- package/dist/entities/client-styleguide/mutation.mjs +2 -2
- package/dist/entities/client-styleguide/query.cjs +3 -3
- package/dist/entities/client-styleguide/query.mjs +3 -3
- package/dist/entities/client-user/document.cjs +1 -1
- package/dist/entities/client-user/document.d.cts +1 -1
- package/dist/entities/client-user/document.d.mts +1 -1
- package/dist/entities/client-user/document.mjs +1 -1
- package/dist/entities/client-user/mutation.cjs +1 -1
- package/dist/entities/client-user/mutation.mjs +1 -1
- package/dist/entities/client-user/query.cjs +1 -1
- package/dist/entities/client-user/query.mjs +1 -1
- package/dist/entities/comment/mutation.cjs +1 -1
- package/dist/entities/comment/mutation.mjs +1 -1
- package/dist/entities/comment/query.cjs +1 -1
- package/dist/entities/comment/query.mjs +1 -1
- package/dist/entities/content-pillar/document.cjs +1 -1
- package/dist/entities/content-pillar/document.d.cts +1 -1
- package/dist/entities/content-pillar/document.d.mts +1 -1
- package/dist/entities/content-pillar/document.mjs +1 -1
- package/dist/entities/content-pillar/mutation.cjs +2 -2
- package/dist/entities/content-pillar/mutation.mjs +2 -2
- package/dist/entities/content-pillar/query.cjs +1 -1
- package/dist/entities/content-pillar/query.mjs +1 -1
- package/dist/entities/faq-page/document.d.cts +2 -2
- package/dist/entities/faq-page/document.d.mts +2 -2
- package/dist/entities/gcflytour/document.cjs +1 -1
- package/dist/entities/gcflytour/document.d.cts +1 -1
- package/dist/entities/gcflytour/document.d.mts +1 -1
- package/dist/entities/gcflytour/document.mjs +1 -1
- package/dist/entities/gcflytour/mutation.cjs +6 -4
- package/dist/entities/gcflytour/mutation.d.cts +3 -0
- package/dist/entities/gcflytour/mutation.d.mts +3 -0
- package/dist/entities/gcflytour/mutation.mjs +6 -4
- package/dist/entities/gcflytour/query.cjs +1 -1
- package/dist/entities/gcflytour/query.d.cts +1 -1
- package/dist/entities/gcflytour/query.d.mts +1 -1
- package/dist/entities/gcflytour/query.mjs +1 -1
- package/dist/entities/gcflytour-snap/document.cjs +1 -1
- package/dist/entities/gcflytour-snap/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap/document.mjs +1 -1
- package/dist/entities/gcflytour-snap/mutation.cjs +2 -2
- package/dist/entities/gcflytour-snap/mutation.mjs +2 -2
- package/dist/entities/gcflytour-snap/query.cjs +1 -1
- package/dist/entities/gcflytour-snap/query.d.cts +1 -1
- package/dist/entities/gcflytour-snap/query.d.mts +1 -1
- package/dist/entities/gcflytour-snap/query.mjs +1 -1
- package/dist/entities/gcflytour-snap-embed/document.cjs +1 -1
- package/dist/entities/gcflytour-snap-embed/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap-embed/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap-embed/document.mjs +1 -1
- package/dist/entities/gcflytour-snap-embed/mutation.cjs +4 -2
- package/dist/entities/gcflytour-snap-embed/mutation.d.cts +3 -0
- package/dist/entities/gcflytour-snap-embed/mutation.d.mts +3 -0
- package/dist/entities/gcflytour-snap-embed/mutation.mjs +4 -2
- package/dist/entities/gcflytour-snap-embed/query.cjs +1 -1
- package/dist/entities/gcflytour-snap-embed/query.d.cts +1 -1
- package/dist/entities/gcflytour-snap-embed/query.d.mts +1 -1
- package/dist/entities/gcflytour-snap-embed/query.mjs +1 -1
- package/dist/entities/landing-page/document.d.cts +2 -2
- package/dist/entities/landing-page/document.d.mts +2 -2
- package/dist/entities/lead/mutation.cjs +2 -2
- package/dist/entities/lead/mutation.mjs +2 -2
- package/dist/entities/matterport/document.cjs +1 -1
- package/dist/entities/matterport/document.d.cts +1 -1
- package/dist/entities/matterport/document.d.mts +1 -1
- package/dist/entities/matterport/document.mjs +1 -1
- package/dist/entities/matterport/mutation.cjs +2 -2
- package/dist/entities/matterport/mutation.mjs +2 -2
- package/dist/entities/matterport/query.cjs +3 -3
- package/dist/entities/matterport/query.mjs +3 -3
- package/dist/entities/media-content-type/document.cjs +1 -1
- package/dist/entities/media-content-type/document.d.cts +1 -1
- package/dist/entities/media-content-type/document.d.mts +1 -1
- package/dist/entities/media-content-type/document.mjs +1 -1
- package/dist/entities/media-content-type/mutation.cjs +2 -2
- package/dist/entities/media-content-type/mutation.mjs +2 -2
- package/dist/entities/media-content-type/query.cjs +1 -1
- package/dist/entities/media-content-type/query.mjs +1 -1
- package/dist/entities/media-creative-format/document.cjs +1 -1
- package/dist/entities/media-creative-format/document.d.cts +1 -1
- package/dist/entities/media-creative-format/document.d.mts +1 -1
- package/dist/entities/media-creative-format/document.mjs +1 -1
- package/dist/entities/media-creative-format/mutation.cjs +2 -2
- package/dist/entities/media-creative-format/mutation.mjs +2 -2
- package/dist/entities/media-creative-format/query.cjs +1 -1
- package/dist/entities/media-creative-format/query.mjs +1 -1
- package/dist/entities/media-medium/document.cjs +1 -1
- package/dist/entities/media-medium/document.d.cts +1 -1
- package/dist/entities/media-medium/document.d.mts +1 -1
- package/dist/entities/media-medium/document.mjs +1 -1
- package/dist/entities/media-medium/mutation.cjs +2 -2
- package/dist/entities/media-medium/mutation.mjs +2 -2
- package/dist/entities/media-medium/query.cjs +1 -1
- package/dist/entities/media-medium/query.mjs +1 -1
- package/dist/entities/media-platform/document.cjs +1 -1
- package/dist/entities/media-platform/document.d.cts +1 -1
- package/dist/entities/media-platform/document.d.mts +1 -1
- package/dist/entities/media-platform/document.mjs +1 -1
- package/dist/entities/media-platform/mutation.cjs +3 -3
- package/dist/entities/media-platform/mutation.mjs +3 -3
- package/dist/entities/media-platform/query.cjs +1 -1
- package/dist/entities/media-platform/query.mjs +1 -1
- package/dist/entities/monday-workspace/document.cjs +1 -1
- package/dist/entities/monday-workspace/document.d.cts +1 -1
- package/dist/entities/monday-workspace/document.d.mts +1 -1
- package/dist/entities/monday-workspace/document.mjs +1 -1
- package/dist/entities/monday-workspace/mutation.cjs +2 -2
- package/dist/entities/monday-workspace/mutation.mjs +2 -2
- package/dist/entities/monday-workspace/query.cjs +2 -2
- package/dist/entities/monday-workspace/query.mjs +2 -2
- package/dist/entities/newsletter-signup/mutation.cjs +2 -2
- package/dist/entities/newsletter-signup/mutation.mjs +2 -2
- package/dist/entities/policy-page/document.d.cts +1 -1
- package/dist/entities/policy-page/document.d.mts +1 -1
- package/dist/entities/product/document.d.cts +1 -1
- package/dist/entities/product/document.d.mts +1 -1
- package/dist/entities/product-highlight/document.cjs +1 -1
- package/dist/entities/product-highlight/document.d.cts +1 -1
- package/dist/entities/product-highlight/document.d.mts +1 -1
- package/dist/entities/product-highlight/document.mjs +1 -1
- package/dist/entities/resume/mutation.cjs +2 -2
- package/dist/entities/resume/mutation.mjs +2 -2
- package/dist/entities/sharpspring/mutation.cjs +1 -1
- package/dist/entities/sharpspring/mutation.mjs +1 -1
- package/dist/entities/tag/mutation.cjs +2 -2
- package/dist/entities/tag/mutation.mjs +2 -2
- package/dist/entities/tag/query.cjs +2 -2
- package/dist/entities/tag/query.mjs +2 -2
- package/dist/entities/team-member/document.d.cts +1 -1
- package/dist/entities/team-member/document.d.mts +1 -1
- package/dist/entities/team-member/query.cjs +4 -4
- package/dist/entities/team-member/query.mjs +4 -4
- package/dist/entities/team-page/document.d.cts +1 -1
- package/dist/entities/team-page/document.d.mts +1 -1
- package/dist/entities/teamwork/query.cjs +1 -1
- package/dist/entities/teamwork/query.mjs +1 -1
- package/dist/entities/trend/document.d.cts +1 -1
- package/dist/entities/trend/document.d.mts +1 -1
- package/dist/entities/trend/mutation.cjs +1 -1
- package/dist/entities/trend/mutation.mjs +1 -1
- package/dist/entities/up-auth/mutation.cjs +1 -1
- package/dist/entities/up-auth/mutation.d.cts +1 -1
- package/dist/entities/up-auth/mutation.d.mts +1 -1
- package/dist/entities/up-auth/mutation.mjs +1 -1
- package/dist/entities/up-permission/document.cjs +1 -1
- package/dist/entities/up-permission/document.d.cts +1 -1
- package/dist/entities/up-permission/document.d.mts +1 -1
- package/dist/entities/up-permission/document.mjs +1 -1
- package/dist/entities/up-role/document.cjs +1 -1
- package/dist/entities/up-role/document.d.cts +1 -1
- package/dist/entities/up-role/document.d.mts +1 -1
- package/dist/entities/up-role/document.mjs +1 -1
- package/dist/entities/up-role/query.cjs +3 -3
- package/dist/entities/up-role/query.mjs +3 -3
- package/dist/entities/up-user/document.cjs +1 -1
- package/dist/entities/up-user/document.d.cts +1 -1
- package/dist/entities/up-user/document.d.mts +1 -1
- package/dist/entities/up-user/document.mjs +1 -1
- package/dist/entities/up-user/fields.cjs +1 -1
- package/dist/entities/up-user/fields.mjs +1 -1
- package/dist/entities/up-user/mutation.cjs +2 -2
- package/dist/entities/up-user/mutation.mjs +2 -2
- package/dist/entities/up-user/query.cjs +1 -1
- package/dist/entities/up-user/query.mjs +1 -1
- package/dist/entities/upload/mutation.cjs +1 -1
- package/dist/entities/upload/mutation.mjs +1 -1
- package/dist/entities/url-redirect/query.cjs +4 -4
- package/dist/entities/url-redirect/query.mjs +4 -4
- package/dist/entities/user-account/document.cjs +1 -1
- package/dist/entities/user-account/document.d.cts +1 -1
- package/dist/entities/user-account/document.d.mts +1 -1
- package/dist/entities/user-account/document.mjs +1 -1
- package/dist/entities/user-account/mutation.cjs +2 -2
- package/dist/entities/user-account/mutation.mjs +2 -2
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-link-builder/mutation.cjs +3 -3
- package/dist/entities/utm-link-builder/mutation.mjs +3 -3
- package/dist/entities/utm-meta/document.d.cts +28 -28
- package/dist/entities/utm-meta/document.d.mts +28 -28
- package/dist/entities/utm-tracking-link/document.cjs +1 -1
- package/dist/entities/utm-tracking-link/document.d.cts +1 -1
- package/dist/entities/utm-tracking-link/document.d.mts +1 -1
- package/dist/entities/utm-tracking-link/document.mjs +1 -1
- package/dist/entities/utm-tracking-link/fields.cjs +1 -1
- package/dist/entities/utm-tracking-link/fields.mjs +1 -1
- package/dist/entities/utm-tracking-link/mutation.cjs +3 -3
- package/dist/entities/utm-tracking-link/mutation.mjs +3 -3
- package/dist/entities/utm-tracking-link/query.cjs +4 -4
- package/dist/entities/utm-tracking-link/query.mjs +4 -4
- package/dist/{fields-B4UTcqTR.d.cts → fields-Cffo4_9O.d.cts} +12 -12
- package/dist/{fields-B4UTcqTR.d.mts → fields-Cffo4_9O.d.mts} +12 -12
- package/dist/filters/index.cjs +4 -4
- package/dist/filters/index.mjs +4 -4
- package/dist/{identifier-BJ0kpvYJ.cjs → identifier-CcAwSRW-.cjs} +1 -1
- package/dist/{identifier-CWlBh0A3.mjs → identifier-DZSF9qmh.mjs} +1 -1
- package/dist/{index-CBmZNWdq.d.cts → index-Dbmwx2k9.d.cts} +10 -12
- package/dist/{index-CBmZNWdq.d.mts → index-Dbmwx2k9.d.mts} +10 -12
- package/dist/{index-Dpf-fT7q.d.cts → index-DzVq0dOL.d.cts} +7 -5
- package/dist/{index-Dpf-fT7q.d.mts → index-DzVq0dOL.d.mts} +7 -5
- package/dist/{index-FZTP1wfp.d.mts → index-RdGxAerL.d.mts} +12 -10
- package/dist/{index-B-eWc6-5.d.cts → index-lrfl6aps.d.cts} +17 -19
- package/dist/{index-B-eWc6-5.d.mts → index-lrfl6aps.d.mts} +17 -19
- package/dist/{index-NJAGJcxy.d.cts → index-wyRrbvZW.d.cts} +12 -10
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/{picklist-DeBvYAYq.cjs → picklist-BcQQdR4P.cjs} +1 -1
- package/dist/{picklist-3TPKEnJ3.mjs → picklist-DnB-_6BK.mjs} +1 -1
- package/dist/{query-C12be6d_.d.cts → query-BRtGzE6A.d.cts} +2 -0
- package/dist/{query-B9Xfbntq.mjs → query-DDGi723F.mjs} +3 -3
- package/dist/{query-Drl1bVbJ.d.mts → query-DGYjKV4T.d.mts} +2 -0
- package/dist/{query-Bm5QfP-Y.cjs → query-DMUDO8rA.cjs} +3 -3
- package/dist/{query-Cme1Kiep.mjs → query-DnBW7soI.mjs} +20 -18
- package/dist/{query-CVaxPoeH.cjs → query-DqaFNN4b.cjs} +4 -4
- package/dist/{query-BPaMPrlS.cjs → query-FpybWRDP.cjs} +3 -3
- package/dist/{query-FD7qm52t.mjs → query-O9bwlHoO.mjs} +3 -3
- package/dist/{query-DUrHw_wR.mjs → query-RFbimjWM.mjs} +3 -3
- package/dist/{query-BdZZH3M2.mjs → query-Wj0PEQq8.mjs} +4 -4
- package/dist/{query-C_NLn_VD.cjs → query-kdTlTEPf.cjs} +19 -17
- package/dist/{query-DNLzemiU.cjs → query-qaIKMD_U.cjs} +3 -3
- package/dist/{relationships-xAJEnVXV.mjs → relationships-B0scDCmk.mjs} +1 -1
- package/dist/{relationships-Cb_o43s4.cjs → relationships-XH4bjmMz.cjs} +1 -1
- package/dist/{string-CP-EbG-I.cjs → string-CjRuSj_m.cjs} +2 -2
- package/dist/{string-v2gu3xz0.mjs → string-CuUsLDnS.mjs} +5 -1
- package/dist/{string-2ZbEvJ0J.cjs → string-D0Akoax2.cjs} +10 -0
- package/dist/{string-BSLwKCNC.mjs → string-D1JeM8yM.mjs} +2 -2
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/dist/{utm-DgwXh_Nr.cjs → utm-7E_3kcTp.cjs} +1 -1
- package/dist/{utm-Bt8jPpRI.mjs → utm-BwtaQiKl.mjs} +1 -1
- package/dist/validators/index.cjs +3 -2
- package/dist/validators/index.d.cts +5 -1
- package/dist/validators/index.d.mts +5 -1
- package/dist/validators/index.mjs +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { n as BaseComponentId } from "../../component-DmmlXZsZ.mjs";
|
|
2
|
+
import { a as VStringMax, r as VStringLongMax } from "../../string-CuUsLDnS.mjs";
|
|
3
|
+
import { r as MediaUploadDocument } from "../../media-upload-CnRvtycg.mjs";
|
|
4
|
+
import { RichTextBlock } from "../shared/index.mjs";
|
|
5
|
+
import * as v from "valibot";
|
|
6
|
+
//#region src/components/gcft/block-content.ts
|
|
7
|
+
const GCFT_BLOCK_TYPES = [
|
|
8
|
+
"image",
|
|
9
|
+
"slideshow",
|
|
10
|
+
"matterport",
|
|
11
|
+
"youtube",
|
|
12
|
+
"iframe"
|
|
13
|
+
];
|
|
14
|
+
const GcftBlockType = v.picklist(GCFT_BLOCK_TYPES);
|
|
15
|
+
const GcftBlockContent = v.object({
|
|
16
|
+
...BaseComponentId.entries,
|
|
17
|
+
block_type: GcftBlockType,
|
|
18
|
+
image: v.nullable(v.lazy(() => MediaUploadDocument)),
|
|
19
|
+
slides: v.nullable(v.lazy(() => v.array(MediaUploadDocument))),
|
|
20
|
+
youtube_id: v.nullable(VStringMax()),
|
|
21
|
+
matterport_id: v.nullable(VStringMax()),
|
|
22
|
+
iframe: v.nullable(VStringLongMax())
|
|
23
|
+
});
|
|
24
|
+
const ComponentGcftBlockContent = v.object({
|
|
25
|
+
__component: v.literal("gcft.block-content"),
|
|
26
|
+
...GcftBlockContent.entries
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/components/gcft/block-settings.ts
|
|
30
|
+
const GCFT_BLOCK_SETTINGS_ICONS = [
|
|
31
|
+
"info",
|
|
32
|
+
"image",
|
|
33
|
+
"slideshow",
|
|
34
|
+
"video",
|
|
35
|
+
"matterport",
|
|
36
|
+
"location pin",
|
|
37
|
+
"location map",
|
|
38
|
+
"single home",
|
|
39
|
+
"multi homes",
|
|
40
|
+
"qmi home",
|
|
41
|
+
"home tour",
|
|
42
|
+
"homesite"
|
|
43
|
+
];
|
|
44
|
+
const GcftBlockSettingsIcon = v.picklist(GCFT_BLOCK_SETTINGS_ICONS);
|
|
45
|
+
const GcftBlockSettings = v.object({
|
|
46
|
+
...BaseComponentId.entries,
|
|
47
|
+
icon: GcftBlockSettingsIcon,
|
|
48
|
+
label: VStringMax(),
|
|
49
|
+
title: VStringMax()
|
|
50
|
+
});
|
|
51
|
+
const ComponentGcftBlockSettings = v.object({
|
|
52
|
+
__component: v.literal("gcft.block-settings"),
|
|
53
|
+
...GcftBlockSettings.entries
|
|
54
|
+
});
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/components/gcft/content-panel.ts
|
|
57
|
+
const GcftContentPanel = v.object({
|
|
58
|
+
...BaseComponentId.entries,
|
|
59
|
+
settings: ComponentGcftBlockSettings,
|
|
60
|
+
content: ComponentGcftBlockContent
|
|
61
|
+
});
|
|
62
|
+
const ComponentGcftContentPanel = v.object({
|
|
63
|
+
__component: v.literal("gcft.content-panel"),
|
|
64
|
+
...GcftContentPanel.entries
|
|
65
|
+
});
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/components/gcft/content-scrollbox.ts
|
|
68
|
+
const GcftContentScrollbox = v.object({
|
|
69
|
+
...BaseComponentId.entries,
|
|
70
|
+
settings: ComponentGcftBlockSettings,
|
|
71
|
+
content: ComponentGcftBlockContent,
|
|
72
|
+
text_content: v.nullable(v.array(RichTextBlock))
|
|
73
|
+
});
|
|
74
|
+
const ComponentGcftContentScrollbox = v.object({
|
|
75
|
+
__component: v.literal("gcft.content-scrollbox"),
|
|
76
|
+
...GcftContentScrollbox.entries
|
|
77
|
+
});
|
|
78
|
+
//#endregion
|
|
79
|
+
export { ComponentGcftBlockContent, ComponentGcftBlockSettings, ComponentGcftContentPanel, ComponentGcftContentScrollbox, GCFT_BLOCK_SETTINGS_ICONS, GCFT_BLOCK_TYPES, GcftBlockContent, GcftBlockSettings, GcftBlockSettingsIcon, GcftBlockType, GcftContentPanel, GcftContentScrollbox };
|
|
@@ -25,7 +25,7 @@ const SharedRichTextBlock = valibot.object({
|
|
|
25
25
|
content: valibot.optional(valibot.nullable(valibot.array(RichTextBlock)))
|
|
26
26
|
});
|
|
27
27
|
const ComponentSharedRichTextBlock = valibot.object({
|
|
28
|
-
|
|
28
|
+
__component: valibot.literal("shared.rich-text-block"),
|
|
29
29
|
...SharedRichTextBlock.entries
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
@@ -37,7 +37,7 @@ const SharedLink = valibot.object({
|
|
|
37
37
|
target: require_theme.StrapiLinkTarget
|
|
38
38
|
});
|
|
39
39
|
const ComponentSharedLink = valibot.object({
|
|
40
|
-
|
|
40
|
+
__component: valibot.literal("shared.link"),
|
|
41
41
|
...SharedLink.entries
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
@@ -52,13 +52,10 @@ const SharedButton = valibot.object({
|
|
|
52
52
|
full_width: valibot.boolean()
|
|
53
53
|
});
|
|
54
54
|
const ComponentSharedButton = valibot.object({
|
|
55
|
-
|
|
55
|
+
__component: valibot.literal("shared.button"),
|
|
56
56
|
...SharedButton.entries
|
|
57
57
|
});
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region src/components/shared/constants.ts
|
|
60
|
-
const META_SOCIAL_NETWORK = ["Facebook", "Twitter"];
|
|
61
|
-
//#endregion
|
|
62
59
|
//#region src/components/shared/question-answer.ts
|
|
63
60
|
const SharedQuestionAnswer = valibot.object({
|
|
64
61
|
...require_component.BaseComponentId.entries,
|
|
@@ -66,12 +63,13 @@ const SharedQuestionAnswer = valibot.object({
|
|
|
66
63
|
answer: valibot.nullable(valibot.array(RichTextBlock))
|
|
67
64
|
});
|
|
68
65
|
const ComponentSharedQuestionAnswer = valibot.object({
|
|
69
|
-
|
|
66
|
+
__component: valibot.literal("shared.question-answer"),
|
|
70
67
|
...SharedQuestionAnswer.entries
|
|
71
68
|
});
|
|
72
69
|
//#endregion
|
|
73
70
|
//#region src/components/shared/seo.ts
|
|
74
71
|
const OpenGraph = valibot.object({
|
|
72
|
+
...require_component.BaseComponentId.entries,
|
|
75
73
|
ogTitle: valibot.string(),
|
|
76
74
|
ogDescription: valibot.string(),
|
|
77
75
|
ogType: valibot.nullable(valibot.string()),
|
|
@@ -79,18 +77,20 @@ const OpenGraph = valibot.object({
|
|
|
79
77
|
ogImage: require_relation.VDocumentRelationOne(() => require_media_upload.MediaUploadDocument)
|
|
80
78
|
});
|
|
81
79
|
const ComponentOpenGraph = valibot.object({
|
|
82
|
-
|
|
80
|
+
__component: valibot.literal("shared.open-graph"),
|
|
83
81
|
...OpenGraph.entries
|
|
84
82
|
});
|
|
83
|
+
const META_SOCIAL_NETWORK = ["Facebook", "Twitter"];
|
|
85
84
|
const MetaSocialNetwork = valibot.picklist(META_SOCIAL_NETWORK);
|
|
86
85
|
const MetaSocial = valibot.object({
|
|
86
|
+
...require_component.BaseComponentId.entries,
|
|
87
87
|
socialNetwork: MetaSocialNetwork,
|
|
88
88
|
title: valibot.string(),
|
|
89
89
|
description: valibot.string(),
|
|
90
90
|
image: require_relation.VDocumentRelationOne(() => require_media_upload.MediaUploadDocument)
|
|
91
91
|
});
|
|
92
92
|
const ComponentMetaSocial = valibot.object({
|
|
93
|
-
|
|
93
|
+
__component: valibot.literal("shared.meta-social"),
|
|
94
94
|
...MetaSocial.entries
|
|
95
95
|
});
|
|
96
96
|
const SeoMeta = valibot.object({
|
|
@@ -106,7 +106,7 @@ const SeoMeta = valibot.object({
|
|
|
106
106
|
structuredData: valibot.optional(valibot.lazy(() => require_json.JsonSchema))
|
|
107
107
|
});
|
|
108
108
|
const ComponentSeoMeta = valibot.object({
|
|
109
|
-
|
|
109
|
+
__component: valibot.literal("shared.seo"),
|
|
110
110
|
metaTitle: valibot.string(),
|
|
111
111
|
metaDescription: valibot.string(),
|
|
112
112
|
metaImage: require_relation.VDocumentRelationOne(() => require_media_upload.MediaUploadDocument),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ComponentSharedButton, a as
|
|
1
|
+
import { _ as ComponentSharedButton, a as MetaSocial, c as SeoMeta, d as RichTextBlockChildren, f as SharedRichTextBlock, g as SharedLink, h as ComponentSharedLink, i as META_SOCIAL_NETWORK, l as ComponentSharedRichTextBlock, m as SharedQuestionAnswer, n as ComponentOpenGraph, o as MetaSocialNetwork, p as ComponentSharedQuestionAnswer, r as ComponentSeoMeta, s as OpenGraph, t as ComponentMetaSocial, u as RichTextBlock, v as SharedButton } from "../../index-wyRrbvZW.cjs";
|
|
2
2
|
export { ComponentMetaSocial, ComponentOpenGraph, ComponentSeoMeta, ComponentSharedButton, ComponentSharedLink, ComponentSharedQuestionAnswer, ComponentSharedRichTextBlock, META_SOCIAL_NETWORK, MetaSocial, MetaSocialNetwork, OpenGraph, RichTextBlock, RichTextBlockChildren, SeoMeta, SharedButton, SharedLink, SharedQuestionAnswer, SharedRichTextBlock };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ComponentSharedButton, a as
|
|
1
|
+
import { _ as ComponentSharedButton, a as MetaSocial, c as SeoMeta, d as RichTextBlockChildren, f as SharedRichTextBlock, g as SharedLink, h as ComponentSharedLink, i as META_SOCIAL_NETWORK, l as ComponentSharedRichTextBlock, m as SharedQuestionAnswer, n as ComponentOpenGraph, o as MetaSocialNetwork, p as ComponentSharedQuestionAnswer, r as ComponentSeoMeta, s as OpenGraph, t as ComponentMetaSocial, u as RichTextBlock, v as SharedButton } from "../../index-RdGxAerL.mjs";
|
|
2
2
|
export { ComponentMetaSocial, ComponentOpenGraph, ComponentSeoMeta, ComponentSharedButton, ComponentSharedLink, ComponentSharedQuestionAnswer, ComponentSharedRichTextBlock, META_SOCIAL_NETWORK, MetaSocial, MetaSocialNetwork, OpenGraph, RichTextBlock, RichTextBlockChildren, SeoMeta, SharedButton, SharedLink, SharedQuestionAnswer, SharedRichTextBlock };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as BaseComponentId
|
|
1
|
+
import { n as BaseComponentId } from "../../component-DmmlXZsZ.mjs";
|
|
2
2
|
import { t as JsonSchema } from "../../json-BJPzCgmI.mjs";
|
|
3
3
|
import { S as StrapiLinkTarget, f as StrapiIconName, g as StrapiThemeOptions, p as StrapiIconPosition } from "../../theme-Dtb4Jddr.mjs";
|
|
4
4
|
import { r as MediaUploadDocument } from "../../media-upload-CnRvtycg.mjs";
|
|
@@ -22,7 +22,7 @@ const SharedRichTextBlock = v.object({
|
|
|
22
22
|
content: v.optional(v.nullable(v.array(RichTextBlock)))
|
|
23
23
|
});
|
|
24
24
|
const ComponentSharedRichTextBlock = v.object({
|
|
25
|
-
|
|
25
|
+
__component: v.literal("shared.rich-text-block"),
|
|
26
26
|
...SharedRichTextBlock.entries
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
@@ -34,7 +34,7 @@ const SharedLink = v.object({
|
|
|
34
34
|
target: StrapiLinkTarget
|
|
35
35
|
});
|
|
36
36
|
const ComponentSharedLink = v.object({
|
|
37
|
-
|
|
37
|
+
__component: v.literal("shared.link"),
|
|
38
38
|
...SharedLink.entries
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
@@ -49,13 +49,10 @@ const SharedButton = v.object({
|
|
|
49
49
|
full_width: v.boolean()
|
|
50
50
|
});
|
|
51
51
|
const ComponentSharedButton = v.object({
|
|
52
|
-
|
|
52
|
+
__component: v.literal("shared.button"),
|
|
53
53
|
...SharedButton.entries
|
|
54
54
|
});
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region src/components/shared/constants.ts
|
|
57
|
-
const META_SOCIAL_NETWORK = ["Facebook", "Twitter"];
|
|
58
|
-
//#endregion
|
|
59
56
|
//#region src/components/shared/question-answer.ts
|
|
60
57
|
const SharedQuestionAnswer = v.object({
|
|
61
58
|
...BaseComponentId.entries,
|
|
@@ -63,12 +60,13 @@ const SharedQuestionAnswer = v.object({
|
|
|
63
60
|
answer: v.nullable(v.array(RichTextBlock))
|
|
64
61
|
});
|
|
65
62
|
const ComponentSharedQuestionAnswer = v.object({
|
|
66
|
-
|
|
63
|
+
__component: v.literal("shared.question-answer"),
|
|
67
64
|
...SharedQuestionAnswer.entries
|
|
68
65
|
});
|
|
69
66
|
//#endregion
|
|
70
67
|
//#region src/components/shared/seo.ts
|
|
71
68
|
const OpenGraph = v.object({
|
|
69
|
+
...BaseComponentId.entries,
|
|
72
70
|
ogTitle: v.string(),
|
|
73
71
|
ogDescription: v.string(),
|
|
74
72
|
ogType: v.nullable(v.string()),
|
|
@@ -76,18 +74,20 @@ const OpenGraph = v.object({
|
|
|
76
74
|
ogImage: VDocumentRelationOne(() => MediaUploadDocument)
|
|
77
75
|
});
|
|
78
76
|
const ComponentOpenGraph = v.object({
|
|
79
|
-
|
|
77
|
+
__component: v.literal("shared.open-graph"),
|
|
80
78
|
...OpenGraph.entries
|
|
81
79
|
});
|
|
80
|
+
const META_SOCIAL_NETWORK = ["Facebook", "Twitter"];
|
|
82
81
|
const MetaSocialNetwork = v.picklist(META_SOCIAL_NETWORK);
|
|
83
82
|
const MetaSocial = v.object({
|
|
83
|
+
...BaseComponentId.entries,
|
|
84
84
|
socialNetwork: MetaSocialNetwork,
|
|
85
85
|
title: v.string(),
|
|
86
86
|
description: v.string(),
|
|
87
87
|
image: VDocumentRelationOne(() => MediaUploadDocument)
|
|
88
88
|
});
|
|
89
89
|
const ComponentMetaSocial = v.object({
|
|
90
|
-
|
|
90
|
+
__component: v.literal("shared.meta-social"),
|
|
91
91
|
...MetaSocial.entries
|
|
92
92
|
});
|
|
93
93
|
const SeoMeta = v.object({
|
|
@@ -103,7 +103,7 @@ const SeoMeta = v.object({
|
|
|
103
103
|
structuredData: v.optional(v.lazy(() => JsonSchema))
|
|
104
104
|
});
|
|
105
105
|
const ComponentSeoMeta = v.object({
|
|
106
|
-
|
|
106
|
+
__component: v.literal("shared.seo"),
|
|
107
107
|
metaTitle: v.string(),
|
|
108
108
|
metaDescription: v.string(),
|
|
109
109
|
metaImage: VDocumentRelationOne(() => MediaUploadDocument),
|
|
@@ -5,27 +5,20 @@ const require_media_upload = require("../../media-upload-C8SPmS6R.cjs");
|
|
|
5
5
|
const require_components_blocks_index = require("../blocks/index.cjs");
|
|
6
6
|
let valibot = require("valibot");
|
|
7
7
|
valibot = require_rolldown_runtime.__toESM(valibot, 1);
|
|
8
|
-
//#region src/components/slideshow/
|
|
9
|
-
const SLIDE_TYPE = [
|
|
10
|
-
"image-contain",
|
|
11
|
-
"image-cover",
|
|
12
|
-
"image-fill",
|
|
13
|
-
"image",
|
|
14
|
-
"video",
|
|
15
|
-
"html",
|
|
16
|
-
"website"
|
|
17
|
-
];
|
|
8
|
+
//#region src/components/slideshow/slider-settings.ts
|
|
18
9
|
const SLIDER_ORIGIN = [
|
|
19
10
|
"center",
|
|
20
11
|
"start",
|
|
21
12
|
"end"
|
|
22
13
|
];
|
|
14
|
+
const SliderOrigin = valibot.picklist(SLIDER_ORIGIN);
|
|
23
15
|
const SLIDER_SPACING = [
|
|
24
16
|
"none",
|
|
25
17
|
"small",
|
|
26
18
|
"medium",
|
|
27
19
|
"large"
|
|
28
20
|
];
|
|
21
|
+
const SliderSpacing = valibot.picklist(SLIDER_SPACING);
|
|
29
22
|
const SLIDER_BREAKPOINT = [
|
|
30
23
|
"screen",
|
|
31
24
|
"sm",
|
|
@@ -34,11 +27,6 @@ const SLIDER_BREAKPOINT = [
|
|
|
34
27
|
"xl",
|
|
35
28
|
"xxl"
|
|
36
29
|
];
|
|
37
|
-
const SLIDESHOW_MODE = ["snap", "free"];
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/components/slideshow/slider-settings.ts
|
|
40
|
-
const SliderOrigin = valibot.picklist(SLIDER_ORIGIN);
|
|
41
|
-
const SliderSpacing = valibot.picklist(SLIDER_SPACING);
|
|
42
30
|
const SliderBreakpoint = valibot.picklist(SLIDER_BREAKPOINT);
|
|
43
31
|
const SliderSettings = valibot.object({
|
|
44
32
|
...require_component.BaseComponentId.entries,
|
|
@@ -49,11 +37,12 @@ const SliderSettings = valibot.object({
|
|
|
49
37
|
slides_origin: valibot.nullable(valibot.string())
|
|
50
38
|
});
|
|
51
39
|
const ComponentSliderSettings = valibot.object({
|
|
52
|
-
|
|
40
|
+
__component: valibot.literal("slideshow.slider-settings"),
|
|
53
41
|
...SliderSettings.entries
|
|
54
42
|
});
|
|
55
43
|
//#endregion
|
|
56
44
|
//#region src/components/slideshow/slideshow-settings.ts
|
|
45
|
+
const SLIDESHOW_MODE = ["snap", "free"];
|
|
57
46
|
const SlideshowMode = valibot.picklist(SLIDESHOW_MODE);
|
|
58
47
|
const SlideshowSettings = valibot.object({
|
|
59
48
|
...require_component.BaseComponentId.entries,
|
|
@@ -62,7 +51,7 @@ const SlideshowSettings = valibot.object({
|
|
|
62
51
|
initial: valibot.number()
|
|
63
52
|
});
|
|
64
53
|
const ComponentSlideshowSettings = valibot.object({
|
|
65
|
-
|
|
54
|
+
__component: valibot.literal("slideshow.slideshow-settings"),
|
|
66
55
|
...SlideshowSettings.entries
|
|
67
56
|
});
|
|
68
57
|
//#endregion
|
|
@@ -82,6 +71,15 @@ const SlideshowComponentProps = valibot.object({
|
|
|
82
71
|
});
|
|
83
72
|
//#endregion
|
|
84
73
|
//#region src/components/slideshow/slide-content.ts
|
|
74
|
+
const SLIDE_TYPE = [
|
|
75
|
+
"image-contain",
|
|
76
|
+
"image-cover",
|
|
77
|
+
"image-fill",
|
|
78
|
+
"image",
|
|
79
|
+
"video",
|
|
80
|
+
"html",
|
|
81
|
+
"website"
|
|
82
|
+
];
|
|
85
83
|
const SlideType = valibot.picklist(SLIDE_TYPE);
|
|
86
84
|
const SlideContent = valibot.object({
|
|
87
85
|
...require_component.BaseComponentId.entries,
|
|
@@ -92,7 +90,7 @@ const SlideContent = valibot.object({
|
|
|
92
90
|
video: valibot.optional(valibot.nullable(require_components_blocks_index.ComponentBlockVideo))
|
|
93
91
|
});
|
|
94
92
|
const ComponentSlideContent = valibot.object({
|
|
95
|
-
|
|
93
|
+
__component: valibot.literal("slideshow.slide-content"),
|
|
96
94
|
...SlideContent.entries
|
|
97
95
|
});
|
|
98
96
|
//#endregion
|
|
@@ -104,7 +102,7 @@ const Slideshow = valibot.object({
|
|
|
104
102
|
slides: valibot.optional(valibot.array(SlideContent))
|
|
105
103
|
});
|
|
106
104
|
const ComponentSlideshow = valibot.object({
|
|
107
|
-
|
|
105
|
+
__component: valibot.literal("slideshow.slideshow"),
|
|
108
106
|
...Slideshow.entries
|
|
109
107
|
});
|
|
110
108
|
//#endregion
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
|
|
3
|
-
//#region src/components/slideshow/constants.d.ts
|
|
4
|
-
declare const SLIDE_TYPE: readonly ["image-contain", "image-cover", "image-fill", "image", "video", "html", "website"];
|
|
5
|
-
declare const SLIDER_ORIGIN: readonly ["center", "start", "end"];
|
|
6
|
-
declare const SLIDER_SPACING: readonly ["none", "small", "medium", "large"];
|
|
7
|
-
declare const SLIDER_BREAKPOINT: readonly ["screen", "sm", "md", "lg", "xl", "xxl"];
|
|
8
|
-
declare const SLIDESHOW_MODE: readonly ["snap", "free"];
|
|
9
|
-
//#endregion
|
|
10
3
|
//#region src/components/slideshow/slide-component-props.d.ts
|
|
11
4
|
declare const SlideshowComponentSlideSettings: v.ObjectSchema<{
|
|
12
5
|
readonly origin: v.PicklistSchema<readonly ["center", "start", "end"], undefined>;
|
|
@@ -42,6 +35,7 @@ declare const SlideshowComponentProps: v.ObjectSchema<{
|
|
|
42
35
|
type SlideshowComponentProps = v.InferOutput<typeof SlideshowComponentProps>;
|
|
43
36
|
//#endregion
|
|
44
37
|
//#region src/components/slideshow/slide-content.d.ts
|
|
38
|
+
declare const SLIDE_TYPE: readonly ["image-contain", "image-cover", "image-fill", "image", "video", "html", "website"];
|
|
45
39
|
declare const SlideType: v.PicklistSchema<readonly ["image-contain", "image-cover", "image-fill", "image", "video", "html", "website"], undefined>;
|
|
46
40
|
type SlideType = v.InferOutput<typeof SlideType>;
|
|
47
41
|
declare const SlideContent: v.ObjectSchema<{
|
|
@@ -192,7 +186,7 @@ declare const SlideContent: v.ObjectSchema<{
|
|
|
192
186
|
updatedAt: string;
|
|
193
187
|
} | null | undefined>;
|
|
194
188
|
readonly id: v.NumberSchema<undefined>;
|
|
195
|
-
readonly __component: v.
|
|
189
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
196
190
|
}, undefined>, undefined>, undefined>;
|
|
197
191
|
readonly id: v.NumberSchema<undefined>;
|
|
198
192
|
}, undefined>;
|
|
@@ -345,18 +339,21 @@ declare const ComponentSlideContent: v.ObjectSchema<{
|
|
|
345
339
|
updatedAt: string;
|
|
346
340
|
} | null | undefined>;
|
|
347
341
|
readonly id: v.NumberSchema<undefined>;
|
|
348
|
-
readonly __component: v.
|
|
342
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
349
343
|
}, undefined>, undefined>, undefined>;
|
|
350
344
|
readonly id: v.NumberSchema<undefined>;
|
|
351
|
-
readonly __component: v.
|
|
345
|
+
readonly __component: v.LiteralSchema<"slideshow.slide-content", undefined>;
|
|
352
346
|
}, undefined>;
|
|
353
347
|
type ComponentSlideContent = v.InferOutput<typeof ComponentSlideContent>;
|
|
354
348
|
//#endregion
|
|
355
349
|
//#region src/components/slideshow/slider-settings.d.ts
|
|
350
|
+
declare const SLIDER_ORIGIN: readonly ["center", "start", "end"];
|
|
356
351
|
declare const SliderOrigin: v.PicklistSchema<readonly ["center", "start", "end"], undefined>;
|
|
357
352
|
type SliderOrigin = v.InferOutput<typeof SliderOrigin>;
|
|
353
|
+
declare const SLIDER_SPACING: readonly ["none", "small", "medium", "large"];
|
|
358
354
|
declare const SliderSpacing: v.PicklistSchema<readonly ["none", "small", "medium", "large"], undefined>;
|
|
359
355
|
type SliderSpacing = v.InferOutput<typeof SliderSpacing>;
|
|
356
|
+
declare const SLIDER_BREAKPOINT: readonly ["screen", "sm", "md", "lg", "xl", "xxl"];
|
|
360
357
|
declare const SliderBreakpoint: v.PicklistSchema<readonly ["screen", "sm", "md", "lg", "xl", "xxl"], undefined>;
|
|
361
358
|
type SliderBreakpoint = v.InferOutput<typeof SliderBreakpoint>;
|
|
362
359
|
declare const SliderSettings: v.ObjectSchema<{
|
|
@@ -375,7 +372,7 @@ declare const ComponentSliderSettings: v.ObjectSchema<{
|
|
|
375
372
|
readonly slides_spacing: v.PicklistSchema<readonly ["none", "small", "medium", "large"], undefined>;
|
|
376
373
|
readonly slides_origin: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
377
374
|
readonly id: v.NumberSchema<undefined>;
|
|
378
|
-
readonly __component: v.
|
|
375
|
+
readonly __component: v.LiteralSchema<"slideshow.slider-settings", undefined>;
|
|
379
376
|
}, undefined>;
|
|
380
377
|
type ComponentSliderSettings = v.InferOutput<typeof ComponentSliderSettings>;
|
|
381
378
|
//#endregion
|
|
@@ -543,7 +540,7 @@ declare const Slideshow: v.ObjectSchema<{
|
|
|
543
540
|
updatedAt: string;
|
|
544
541
|
} | null | undefined>;
|
|
545
542
|
readonly id: v.NumberSchema<undefined>;
|
|
546
|
-
readonly __component: v.
|
|
543
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
547
544
|
}, undefined>, undefined>, undefined>;
|
|
548
545
|
readonly id: v.NumberSchema<undefined>;
|
|
549
546
|
}, undefined>, undefined>, undefined>;
|
|
@@ -713,16 +710,17 @@ declare const ComponentSlideshow: v.ObjectSchema<{
|
|
|
713
710
|
updatedAt: string;
|
|
714
711
|
} | null | undefined>;
|
|
715
712
|
readonly id: v.NumberSchema<undefined>;
|
|
716
|
-
readonly __component: v.
|
|
713
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
717
714
|
}, undefined>, undefined>, undefined>;
|
|
718
715
|
readonly id: v.NumberSchema<undefined>;
|
|
719
716
|
}, undefined>, undefined>, undefined>;
|
|
720
717
|
readonly id: v.NumberSchema<undefined>;
|
|
721
|
-
readonly __component: v.
|
|
718
|
+
readonly __component: v.LiteralSchema<"slideshow.slideshow", undefined>;
|
|
722
719
|
}, undefined>;
|
|
723
720
|
type ComponentSlideshow = v.InferOutput<typeof ComponentSlideshow>;
|
|
724
721
|
//#endregion
|
|
725
722
|
//#region src/components/slideshow/slideshow-settings.d.ts
|
|
723
|
+
declare const SLIDESHOW_MODE: readonly ["snap", "free"];
|
|
726
724
|
declare const SlideshowMode: v.PicklistSchema<readonly ["snap", "free"], undefined>;
|
|
727
725
|
type SlideshowMode = v.InferOutput<typeof SlideshowMode>;
|
|
728
726
|
declare const SlideshowSettings: v.ObjectSchema<{
|
|
@@ -737,7 +735,7 @@ declare const ComponentSlideshowSettings: v.ObjectSchema<{
|
|
|
737
735
|
readonly mode: v.PicklistSchema<readonly ["snap", "free"], undefined>;
|
|
738
736
|
readonly initial: v.NumberSchema<undefined>;
|
|
739
737
|
readonly id: v.NumberSchema<undefined>;
|
|
740
|
-
readonly __component: v.
|
|
738
|
+
readonly __component: v.LiteralSchema<"slideshow.slideshow-settings", undefined>;
|
|
741
739
|
}, undefined>;
|
|
742
740
|
type ComponentSlideshowSettings = v.InferOutput<typeof ComponentSlideshowSettings>;
|
|
743
741
|
//#endregion
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
|
|
3
|
-
//#region src/components/slideshow/constants.d.ts
|
|
4
|
-
declare const SLIDE_TYPE: readonly ["image-contain", "image-cover", "image-fill", "image", "video", "html", "website"];
|
|
5
|
-
declare const SLIDER_ORIGIN: readonly ["center", "start", "end"];
|
|
6
|
-
declare const SLIDER_SPACING: readonly ["none", "small", "medium", "large"];
|
|
7
|
-
declare const SLIDER_BREAKPOINT: readonly ["screen", "sm", "md", "lg", "xl", "xxl"];
|
|
8
|
-
declare const SLIDESHOW_MODE: readonly ["snap", "free"];
|
|
9
|
-
//#endregion
|
|
10
3
|
//#region src/components/slideshow/slide-component-props.d.ts
|
|
11
4
|
declare const SlideshowComponentSlideSettings: v.ObjectSchema<{
|
|
12
5
|
readonly origin: v.PicklistSchema<readonly ["center", "start", "end"], undefined>;
|
|
@@ -42,6 +35,7 @@ declare const SlideshowComponentProps: v.ObjectSchema<{
|
|
|
42
35
|
type SlideshowComponentProps = v.InferOutput<typeof SlideshowComponentProps>;
|
|
43
36
|
//#endregion
|
|
44
37
|
//#region src/components/slideshow/slide-content.d.ts
|
|
38
|
+
declare const SLIDE_TYPE: readonly ["image-contain", "image-cover", "image-fill", "image", "video", "html", "website"];
|
|
45
39
|
declare const SlideType: v.PicklistSchema<readonly ["image-contain", "image-cover", "image-fill", "image", "video", "html", "website"], undefined>;
|
|
46
40
|
type SlideType = v.InferOutput<typeof SlideType>;
|
|
47
41
|
declare const SlideContent: v.ObjectSchema<{
|
|
@@ -192,7 +186,7 @@ declare const SlideContent: v.ObjectSchema<{
|
|
|
192
186
|
updatedAt: string;
|
|
193
187
|
} | null | undefined>;
|
|
194
188
|
readonly id: v.NumberSchema<undefined>;
|
|
195
|
-
readonly __component: v.
|
|
189
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
196
190
|
}, undefined>, undefined>, undefined>;
|
|
197
191
|
readonly id: v.NumberSchema<undefined>;
|
|
198
192
|
}, undefined>;
|
|
@@ -345,18 +339,21 @@ declare const ComponentSlideContent: v.ObjectSchema<{
|
|
|
345
339
|
updatedAt: string;
|
|
346
340
|
} | null | undefined>;
|
|
347
341
|
readonly id: v.NumberSchema<undefined>;
|
|
348
|
-
readonly __component: v.
|
|
342
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
349
343
|
}, undefined>, undefined>, undefined>;
|
|
350
344
|
readonly id: v.NumberSchema<undefined>;
|
|
351
|
-
readonly __component: v.
|
|
345
|
+
readonly __component: v.LiteralSchema<"slideshow.slide-content", undefined>;
|
|
352
346
|
}, undefined>;
|
|
353
347
|
type ComponentSlideContent = v.InferOutput<typeof ComponentSlideContent>;
|
|
354
348
|
//#endregion
|
|
355
349
|
//#region src/components/slideshow/slider-settings.d.ts
|
|
350
|
+
declare const SLIDER_ORIGIN: readonly ["center", "start", "end"];
|
|
356
351
|
declare const SliderOrigin: v.PicklistSchema<readonly ["center", "start", "end"], undefined>;
|
|
357
352
|
type SliderOrigin = v.InferOutput<typeof SliderOrigin>;
|
|
353
|
+
declare const SLIDER_SPACING: readonly ["none", "small", "medium", "large"];
|
|
358
354
|
declare const SliderSpacing: v.PicklistSchema<readonly ["none", "small", "medium", "large"], undefined>;
|
|
359
355
|
type SliderSpacing = v.InferOutput<typeof SliderSpacing>;
|
|
356
|
+
declare const SLIDER_BREAKPOINT: readonly ["screen", "sm", "md", "lg", "xl", "xxl"];
|
|
360
357
|
declare const SliderBreakpoint: v.PicklistSchema<readonly ["screen", "sm", "md", "lg", "xl", "xxl"], undefined>;
|
|
361
358
|
type SliderBreakpoint = v.InferOutput<typeof SliderBreakpoint>;
|
|
362
359
|
declare const SliderSettings: v.ObjectSchema<{
|
|
@@ -375,7 +372,7 @@ declare const ComponentSliderSettings: v.ObjectSchema<{
|
|
|
375
372
|
readonly slides_spacing: v.PicklistSchema<readonly ["none", "small", "medium", "large"], undefined>;
|
|
376
373
|
readonly slides_origin: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
377
374
|
readonly id: v.NumberSchema<undefined>;
|
|
378
|
-
readonly __component: v.
|
|
375
|
+
readonly __component: v.LiteralSchema<"slideshow.slider-settings", undefined>;
|
|
379
376
|
}, undefined>;
|
|
380
377
|
type ComponentSliderSettings = v.InferOutput<typeof ComponentSliderSettings>;
|
|
381
378
|
//#endregion
|
|
@@ -543,7 +540,7 @@ declare const Slideshow: v.ObjectSchema<{
|
|
|
543
540
|
updatedAt: string;
|
|
544
541
|
} | null | undefined>;
|
|
545
542
|
readonly id: v.NumberSchema<undefined>;
|
|
546
|
-
readonly __component: v.
|
|
543
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
547
544
|
}, undefined>, undefined>, undefined>;
|
|
548
545
|
readonly id: v.NumberSchema<undefined>;
|
|
549
546
|
}, undefined>, undefined>, undefined>;
|
|
@@ -713,16 +710,17 @@ declare const ComponentSlideshow: v.ObjectSchema<{
|
|
|
713
710
|
updatedAt: string;
|
|
714
711
|
} | null | undefined>;
|
|
715
712
|
readonly id: v.NumberSchema<undefined>;
|
|
716
|
-
readonly __component: v.
|
|
713
|
+
readonly __component: v.LiteralSchema<"blocks.video", undefined>;
|
|
717
714
|
}, undefined>, undefined>, undefined>;
|
|
718
715
|
readonly id: v.NumberSchema<undefined>;
|
|
719
716
|
}, undefined>, undefined>, undefined>;
|
|
720
717
|
readonly id: v.NumberSchema<undefined>;
|
|
721
|
-
readonly __component: v.
|
|
718
|
+
readonly __component: v.LiteralSchema<"slideshow.slideshow", undefined>;
|
|
722
719
|
}, undefined>;
|
|
723
720
|
type ComponentSlideshow = v.InferOutput<typeof ComponentSlideshow>;
|
|
724
721
|
//#endregion
|
|
725
722
|
//#region src/components/slideshow/slideshow-settings.d.ts
|
|
723
|
+
declare const SLIDESHOW_MODE: readonly ["snap", "free"];
|
|
726
724
|
declare const SlideshowMode: v.PicklistSchema<readonly ["snap", "free"], undefined>;
|
|
727
725
|
type SlideshowMode = v.InferOutput<typeof SlideshowMode>;
|
|
728
726
|
declare const SlideshowSettings: v.ObjectSchema<{
|
|
@@ -737,7 +735,7 @@ declare const ComponentSlideshowSettings: v.ObjectSchema<{
|
|
|
737
735
|
readonly mode: v.PicklistSchema<readonly ["snap", "free"], undefined>;
|
|
738
736
|
readonly initial: v.NumberSchema<undefined>;
|
|
739
737
|
readonly id: v.NumberSchema<undefined>;
|
|
740
|
-
readonly __component: v.
|
|
738
|
+
readonly __component: v.LiteralSchema<"slideshow.slideshow-settings", undefined>;
|
|
741
739
|
}, undefined>;
|
|
742
740
|
type ComponentSlideshowSettings = v.InferOutput<typeof ComponentSlideshowSettings>;
|
|
743
741
|
//#endregion
|
|
@@ -1,28 +1,21 @@
|
|
|
1
|
-
import { n as BaseComponentId
|
|
1
|
+
import { n as BaseComponentId } from "../../component-DmmlXZsZ.mjs";
|
|
2
2
|
import { r as MediaUploadDocument } from "../../media-upload-CnRvtycg.mjs";
|
|
3
3
|
import { ComponentBlockVideo } from "../blocks/index.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
|
-
//#region src/components/slideshow/
|
|
6
|
-
const SLIDE_TYPE = [
|
|
7
|
-
"image-contain",
|
|
8
|
-
"image-cover",
|
|
9
|
-
"image-fill",
|
|
10
|
-
"image",
|
|
11
|
-
"video",
|
|
12
|
-
"html",
|
|
13
|
-
"website"
|
|
14
|
-
];
|
|
5
|
+
//#region src/components/slideshow/slider-settings.ts
|
|
15
6
|
const SLIDER_ORIGIN = [
|
|
16
7
|
"center",
|
|
17
8
|
"start",
|
|
18
9
|
"end"
|
|
19
10
|
];
|
|
11
|
+
const SliderOrigin = v.picklist(SLIDER_ORIGIN);
|
|
20
12
|
const SLIDER_SPACING = [
|
|
21
13
|
"none",
|
|
22
14
|
"small",
|
|
23
15
|
"medium",
|
|
24
16
|
"large"
|
|
25
17
|
];
|
|
18
|
+
const SliderSpacing = v.picklist(SLIDER_SPACING);
|
|
26
19
|
const SLIDER_BREAKPOINT = [
|
|
27
20
|
"screen",
|
|
28
21
|
"sm",
|
|
@@ -31,11 +24,6 @@ const SLIDER_BREAKPOINT = [
|
|
|
31
24
|
"xl",
|
|
32
25
|
"xxl"
|
|
33
26
|
];
|
|
34
|
-
const SLIDESHOW_MODE = ["snap", "free"];
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region src/components/slideshow/slider-settings.ts
|
|
37
|
-
const SliderOrigin = v.picklist(SLIDER_ORIGIN);
|
|
38
|
-
const SliderSpacing = v.picklist(SLIDER_SPACING);
|
|
39
27
|
const SliderBreakpoint = v.picklist(SLIDER_BREAKPOINT);
|
|
40
28
|
const SliderSettings = v.object({
|
|
41
29
|
...BaseComponentId.entries,
|
|
@@ -46,11 +34,12 @@ const SliderSettings = v.object({
|
|
|
46
34
|
slides_origin: v.nullable(v.string())
|
|
47
35
|
});
|
|
48
36
|
const ComponentSliderSettings = v.object({
|
|
49
|
-
|
|
37
|
+
__component: v.literal("slideshow.slider-settings"),
|
|
50
38
|
...SliderSettings.entries
|
|
51
39
|
});
|
|
52
40
|
//#endregion
|
|
53
41
|
//#region src/components/slideshow/slideshow-settings.ts
|
|
42
|
+
const SLIDESHOW_MODE = ["snap", "free"];
|
|
54
43
|
const SlideshowMode = v.picklist(SLIDESHOW_MODE);
|
|
55
44
|
const SlideshowSettings = v.object({
|
|
56
45
|
...BaseComponentId.entries,
|
|
@@ -59,7 +48,7 @@ const SlideshowSettings = v.object({
|
|
|
59
48
|
initial: v.number()
|
|
60
49
|
});
|
|
61
50
|
const ComponentSlideshowSettings = v.object({
|
|
62
|
-
|
|
51
|
+
__component: v.literal("slideshow.slideshow-settings"),
|
|
63
52
|
...SlideshowSettings.entries
|
|
64
53
|
});
|
|
65
54
|
//#endregion
|
|
@@ -79,6 +68,15 @@ const SlideshowComponentProps = v.object({
|
|
|
79
68
|
});
|
|
80
69
|
//#endregion
|
|
81
70
|
//#region src/components/slideshow/slide-content.ts
|
|
71
|
+
const SLIDE_TYPE = [
|
|
72
|
+
"image-contain",
|
|
73
|
+
"image-cover",
|
|
74
|
+
"image-fill",
|
|
75
|
+
"image",
|
|
76
|
+
"video",
|
|
77
|
+
"html",
|
|
78
|
+
"website"
|
|
79
|
+
];
|
|
82
80
|
const SlideType = v.picklist(SLIDE_TYPE);
|
|
83
81
|
const SlideContent = v.object({
|
|
84
82
|
...BaseComponentId.entries,
|
|
@@ -89,7 +87,7 @@ const SlideContent = v.object({
|
|
|
89
87
|
video: v.optional(v.nullable(ComponentBlockVideo))
|
|
90
88
|
});
|
|
91
89
|
const ComponentSlideContent = v.object({
|
|
92
|
-
|
|
90
|
+
__component: v.literal("slideshow.slide-content"),
|
|
93
91
|
...SlideContent.entries
|
|
94
92
|
});
|
|
95
93
|
//#endregion
|
|
@@ -101,7 +99,7 @@ const Slideshow = v.object({
|
|
|
101
99
|
slides: v.optional(v.array(SlideContent))
|
|
102
100
|
});
|
|
103
101
|
const ComponentSlideshow = v.object({
|
|
104
|
-
|
|
102
|
+
__component: v.literal("slideshow.slideshow"),
|
|
105
103
|
...Slideshow.entries
|
|
106
104
|
});
|
|
107
105
|
//#endregion
|