@orangelogic/design-system 3.80.0 → 3.82.0
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/library/chunks/{abnfDiagram-N423BO3Z.H1zwr_k6.js → abnfDiagram-N423BO3Z.DF8zrlpl.js} +3 -3
- package/library/chunks/{alert.B2tfKtSz.js → alert.HG4GDQal.js} +2 -2
- package/library/chunks/{architectureDiagram-T3A2C74G.AxjW1Pvo.js → architectureDiagram-T3A2C74G.ChMyS2RN.js} +5 -5
- package/library/chunks/{array-line-clamp.eDLjR1nZ.js → array-line-clamp.BSV0-DTp.js} +2 -2
- package/library/chunks/{asset-link-format.vF2ZaG1Y.js → asset-link-format.D_rcZRGc.js} +396 -390
- package/library/chunks/{audio.OVvnRj2a.js → audio.B7LhgSvc.js} +8 -5
- package/library/chunks/{bicolor-picker.BIxYmH8T.js → bicolor-picker.B5c2iUpc.js} +1 -1
- package/library/chunks/{block-width.BH7TR3eZ.js → block-width.c3AdC-mm.js} +488 -464
- package/library/chunks/{blockDiagram-VBNYF7ZC.BA5YJ5tg.js → blockDiagram-VBNYF7ZC.Dd9MRQVF.js} +6 -6
- package/library/chunks/{border-input-group.DYJ0TvAS.js → border-input-group.xoEmK-w7.js} +3 -3
- package/library/chunks/{breadcrumb.WKQKC3f1.js → breadcrumb.BOblE94U.js} +1 -1
- package/library/chunks/{button.D58Q0tW6.js → button.C1mo8fQX.js} +3 -3
- package/library/chunks/{c4Diagram-5PPSVZJV.B1weqOqz.js → c4Diagram-5PPSVZJV.BYo1Zq25.js} +3 -3
- package/library/chunks/{channel.Bqlqmufs.js → channel.DQU07rrH.js} +1 -1
- package/library/chunks/{checkbox.aFoOxk2j.js → checkbox.Bv8noxtm.js} +1 -1
- package/library/chunks/{chunk-2GRJ4B5K.BOBf1_FX.js → chunk-2GRJ4B5K.DSIuCed9.js} +1 -1
- package/library/chunks/{chunk-4I5QYGJK.DfO_P7bO.js → chunk-4I5QYGJK.C74S0dID.js} +1 -1
- package/library/chunks/{chunk-5RXB4S5H.oisV3Q1b.js → chunk-5RXB4S5H.BSZ9vwQ_.js} +6 -6
- package/library/chunks/{chunk-6Q2QTUOP.ByglL7sM.js → chunk-6Q2QTUOP.C98k0Ypz.js} +2 -2
- package/library/chunks/{chunk-7Z6QIM7H.BXSFN_6B.js → chunk-7Z6QIM7H.CbyAI1qL.js} +6 -6
- package/library/chunks/{chunk-GF5L2VYU.BBRVN_Sz.js → chunk-GF5L2VYU.BwnEI-9p.js} +6 -6
- package/library/chunks/{chunk-I66GZJ75.lUTR0Zxp.js → chunk-I66GZJ75.hYJHAb8_.js} +1 -1
- package/library/chunks/{chunk-JQJVKLGR.dOAJ_eec.js → chunk-JQJVKLGR.Ca9c6WQC.js} +8 -8
- package/library/chunks/{chunk-KBJHAD2P.Bfz5cQAa.js → chunk-KBJHAD2P.Dpm7St5I.js} +1 -1
- package/library/chunks/{chunk-NSK5VX7P.BkWzMz1o.js → chunk-NSK5VX7P.JTL9VQLt.js} +1 -1
- package/library/chunks/{chunk-QR6OTTB3.DyBl4spZ.js → chunk-QR6OTTB3.1iZWec7S.js} +6 -6
- package/library/chunks/{chunk-UBXNYLIW.BjkOeuJd.js → chunk-UBXNYLIW.DiZRcRzh.js} +2 -2
- package/library/chunks/{chunk-W5SLKNZC.DzlXmWcA.js → chunk-W5SLKNZC.BpdNkiim.js} +1 -1
- package/library/chunks/{chunk-WRU74C26.BDl8PZFV.js → chunk-WRU74C26.BREX4nlj.js} +3 -3
- package/library/chunks/{classDiagram-JCYQIIEL.P36yteOv.js → classDiagram-JCYQIIEL.CHysnuuw.js} +12 -12
- package/library/chunks/{classDiagram-v2-OCEON4UE.C05djrx3.js → classDiagram-v2-OCEON4UE.CMVfaUrJ.js} +12 -12
- package/library/chunks/{color-picker.DQzgEk7r.js → color-picker.6XfZdUYj.js} +11 -11
- package/library/chunks/{color-swatch-group.CfYdaquw.js → color-swatch-group.Cnb34xQZ.js} +63 -63
- package/library/chunks/{color-swatch.DlzNqa0X.js → color-swatch.CqAdMMbb.js} +3 -3
- package/library/chunks/{config-manager.CXYDqPVU.js → config-manager.D1cGjLTP.js} +40 -40
- package/library/chunks/{configs-controller.D7ZZytOj.js → configs-controller.QnY6FAHe.js} +66 -66
- package/library/chunks/{confirm-popover.BF6FfiVI.js → confirm-popover.CvI9pYVq.js} +4 -4
- package/library/chunks/{copy-button.BzYFM1nx.js → copy-button.W-7YPs9Z.js} +2 -2
- package/library/chunks/{corner-position-input-group.Aos2Z9cJ.js → corner-position-input-group.Dibg12vc.js} +4 -4
- package/library/chunks/{cynefinDiagram-MW4NZA55.CN3dX-zy.js → cynefinDiagram-MW4NZA55.CNmGi2wN.js} +3 -3
- package/library/chunks/{dagre-VZM6K2ZE.DpSsP2YW.js → dagre-VZM6K2ZE.pAZyqROg.js} +8 -8
- package/library/chunks/{date-calendar.DzLGaro8.js → date-calendar.D21_Bnc6.js} +1 -1
- package/library/chunks/{details.B_IIkM1I.js → details.RxMlmRkL.js} +1 -1
- package/library/chunks/{diagram-7IWD3JNH.C3K0gCHG.js → diagram-7IWD3JNH.BDOF6I2J.js} +4 -4
- package/library/chunks/{diagram-B4RE2ZJO.BULgC23C.js → diagram-B4RE2ZJO.DT1Xf2Kc.js} +2 -2
- package/library/chunks/{diagram-LBJQPF4R.BmYYTkym.js → diagram-LBJQPF4R.i67nojTE.js} +3 -3
- package/library/chunks/{diagram-Q27KOJAE.Bj5ayV3p.js → diagram-Q27KOJAE.C9Y5E3pX.js} +5 -5
- package/library/chunks/{diagram-UB23O5K3.Bu_lTx_A.js → diagram-UB23O5K3.Dxnn2pgu.js} +3 -3
- package/library/chunks/{dialog.Cagz5vxR.js → dialog.Cd_3sqnw.js} +3 -3
- package/library/chunks/{diff.DAFtnzhM.js → diff.Bk-rcS2W.js} +1 -1
- package/library/chunks/{document-viewer.6SnAxejc.js → document-viewer.CEdH54HU.js} +28 -19
- package/library/chunks/{dom.BsVeSE01.js → dom.dVx971Xm.js} +1 -1
- package/library/chunks/{dot-pagination.ka2dgd3K.js → dot-pagination.CVgdBQYL.js} +2 -2
- package/library/chunks/{drawer.CqpMBED_.js → drawer.BWwzwIfZ.js} +2 -2
- package/library/chunks/{dropdown.DhjYWqJb.js → dropdown.Dz6j9f1G.js} +5 -5
- package/library/chunks/{dynamic-select.L12vKCOX.js → dynamic-select.BD3ZyFCh.js} +5 -5
- package/library/chunks/{e-chart.CAAz1JC5.js → e-chart.BEhgD-jS.js} +2 -2
- package/library/chunks/{ebnfDiagram-BXEA7PRR.Cg96HHIs.js → ebnfDiagram-BXEA7PRR.C15CrBEH.js} +3 -3
- package/library/chunks/{element-clamp.M1T8iWvk.js → element-clamp.BUDe-ydj.js} +2 -2
- package/library/chunks/{erDiagram-JOGREHBK.CrJ962th.js → erDiagram-JOGREHBK.BAFJcDwv.js} +11 -11
- package/library/chunks/{file-on-demand.BMY6QNJY.js → file-on-demand.aIcIWUdd.js} +18 -18
- package/library/chunks/flowDiagram-UKHOOZJN.BkgRtWrB.js +16 -0
- package/library/chunks/{folder-select.BajqQkzA.js → folder-select.BQ2mGLZ_.js} +8 -8
- package/library/chunks/{form.JYXtmwQ2.js → form.DPbd9Coo.js} +1 -1
- package/library/chunks/{format-time.CxaGqngb.js → format-time.B-4Hj795.js} +1 -1
- package/library/chunks/{ganttDiagram-PKOTCBZU.D216_p5R.js → ganttDiagram-PKOTCBZU.BWKE9zb3.js} +2 -2
- package/library/chunks/{gitGraphDiagram-DS77QQ5N.BGTaYiUE.js → gitGraphDiagram-DS77QQ5N.Dh9BZvJA.js} +2 -2
- package/library/chunks/{header.CfCULafs.js → header.C4y1NgKz.js} +2 -2
- package/library/chunks/{i18n.deOPJlBG.js → i18n.CpU7wjxF.js} +1 -1
- package/library/chunks/{icon-button.DSSgDKO8.js → icon-button.BW4vZMqU.js} +2 -2
- package/library/chunks/{iframe.BVnWzC6u.js → iframe.BUy3Ujmf.js} +1 -1
- package/library/chunks/{image-comparer.6hxOR7VL.js → image-comparer.D57pDZ0-.js} +1 -1
- package/library/chunks/{image.CXQJO9if.js → image.BTKewMgG.js} +76 -81
- package/library/chunks/{infoDiagram-6WML65LV.BHVojFJh.js → infoDiagram-6WML65LV.BlZ2eFcf.js} +2 -2
- package/library/chunks/{input.AS0kZ6ks.js → input.BWfvi6SF.js} +2 -2
- package/library/chunks/{ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js → ishikawaDiagram-WSZJBQD7.QMHGwtgV.js} +3 -3
- package/library/chunks/{journeyDiagram-NVQOT4AX.BXUxAk98.js → journeyDiagram-NVQOT4AX.C-ovuC8R.js} +2 -2
- package/library/chunks/{kanban-definition-27J2QSJJ.Bg8-oEtc.js → kanban-definition-27J2QSJJ.CwAo6fJw.js} +8 -8
- package/library/chunks/{line-clamp.biFX066w.js → line-clamp.DMcTAh1m.js} +2 -2
- package/library/chunks/{markdown.BwIil8g5.js → markdown.YzS4pLJu.js} +4 -4
- package/library/chunks/{masonry.C9-z9R7j.js → masonry.B6QFICcV.js} +3 -3
- package/library/chunks/{menu-item.Bi9zjGsW.js → menu-item.CAZJnn9w.js} +3 -3
- package/library/chunks/{menu.DqKFF1tH.js → menu.3GF8nglO.js} +2 -2
- package/library/chunks/{mermaid.core.m1JI7kDY.js → mermaid.core.CGY0RVtv.js} +49 -49
- package/library/chunks/{mindmap-definition-FAOFIHXS.DwjOzYq5.js → mindmap-definition-FAOFIHXS.CQvqcBzU.js} +10 -10
- package/library/chunks/{option.CKvalzr2.js → option.LhMLPcw2.js} +1 -1
- package/library/chunks/{padding-input-group.BURYDFGi.js → padding-input-group.Dhk51pQL.js} +1 -1
- package/library/chunks/{pagination.DEGvwJXh.js → pagination.Dk2tVD33.js} +7 -7
- package/library/chunks/{pegDiagram-VL7TDLO6.BaVddVr3.js → pegDiagram-VL7TDLO6.CCjKBwxn.js} +3 -3
- package/library/chunks/{pieDiagram-7S7Q4E2Y.lZiCqBKs.js → pieDiagram-7S7Q4E2Y.BIlwtlJL.js} +3 -3
- package/library/chunks/{popup.DQcD7riQ.js → popup.BsHYKwOr.js} +1 -1
- package/library/chunks/{position-picker.Cjk5OdB5.js → position-picker.CaCGLfvq.js} +2 -2
- package/library/chunks/{progress-bar.BSTyftIm.js → progress-bar.BhhJ9ZsR.js} +1 -1
- package/library/chunks/{progress-ring.cC63wJQr.js → progress-ring.C7DxEsG2.js} +1 -1
- package/library/chunks/purify.es.jxOE2kAK.js +867 -0
- package/library/chunks/{quadrantDiagram-CIZ2JOQS.DswnHa_z.js → quadrantDiagram-CIZ2JOQS.DorpRl0y.js} +1 -1
- package/library/chunks/{radio-card.Crn-znqj.js → radio-card.4tLeNhCG.js} +1 -1
- package/library/chunks/{radio-group.DSnDDjKe.js → radio-group.HOmnSwuN.js} +1 -1
- package/library/chunks/{railroadDiagram-AXF67PYL.RYtWvnP4.js → railroadDiagram-AXF67PYL.c5ghpRCW.js} +3 -3
- package/library/chunks/{range.BEXR2sEB.js → range.DmTupTXH.js} +3 -3
- package/library/chunks/{rating.DZrii8F_.js → rating.BoPkxJzT.js} +1 -1
- package/library/chunks/{relative-time.DZ5rhLwg.js → relative-time.DU6zoSZ_.js} +1 -1
- package/library/chunks/{requirementDiagram-LRYGKXZP.BhxZAEJL.js → requirementDiagram-LRYGKXZP.MlkqKyhd.js} +10 -10
- package/library/chunks/{sankeyDiagram-W5VNT64P.Dk8npZSg.js → sankeyDiagram-W5VNT64P.Ch23b1-S.js} +1 -1
- package/library/chunks/{select.CmdHRMy_.js → select.neRyPiqK.js} +7 -7
- package/library/chunks/{sequenceDiagram-SI44F4Z6.BNjBc769.js → sequenceDiagram-SI44F4Z6.CZxsjRpC.js} +4 -4
- package/library/chunks/{shadow-input-group.BKu3bgVT.js → shadow-input-group.DuQt9iFo.js} +2 -2
- package/library/chunks/{share-option-list.IgLnP5Ib.js → share-option-list.Bu0f6D6X.js} +3 -3
- package/library/chunks/{sidebar.CGFDNY9i.js → sidebar.DxkAvwY0.js} +1 -1
- package/library/chunks/{size-input-group.DzSQz6mI.js → size-input-group.ChoR00ML.js} +5 -5
- package/library/chunks/{spinner.DagKrwY5.js → spinner.B9HEFQYY.js} +1 -1
- package/library/chunks/{split-panel.Gfbbe8BX.js → split-panel.DAF43ETM.js} +1 -1
- package/library/chunks/src.CvZvC0JX.js +103 -0
- package/library/chunks/src.DkfUL4Kr.js +720 -0
- package/library/chunks/{stateDiagram-OKZ733FA.DkiIgxjd.js → stateDiagram-OKZ733FA.JCaGHMmH.js} +12 -12
- package/library/chunks/{stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js → stateDiagram-v2-UEYNNEHI.CKrKpvxj.js} +12 -12
- package/library/chunks/{step.Dw2VfEhD.js → step.BcN0IkAW.js} +3 -3
- package/library/chunks/{stepper-wizard.Bozu8x6U.js → stepper-wizard.DK-n_AOs.js} +2 -2
- package/library/chunks/{stepper.cJSgSSMJ.js → stepper.Bn6Re6im.js} +1 -1
- package/library/chunks/{string.DAuTpyw8.js → string.BSzWsmHV.js} +1 -1
- package/library/chunks/{swimlanes-SLNWSIFB.DKU7qXJ7.js → swimlanes-SLNWSIFB.BnCITr-P.js} +8 -8
- package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js → swimlanesDiagram-ULZ7WXOC.DMYLowNi.js} +12 -12
- package/library/chunks/{switch.CBho2RVW.js → switch.BpLCfn2c.js} +1 -1
- package/library/chunks/{tab-group.D5yMsNTe.js → tab-group.d_engLpS.js} +8 -8
- package/library/chunks/{tab.BXcVzB6d.js → tab.DGRF46Sa.js} +3 -3
- package/library/chunks/{tag.kF4Izxei.js → tag.CEQnKU3_.js} +3 -3
- package/library/chunks/{textarea.BgWdR_7D.js → textarea.BuvdRFnV.js} +1 -1
- package/library/chunks/{timecode.DME2imtx.js → timecode.DlO67pqw.js} +1 -1
- package/library/chunks/{timeline-definition-Z64GVDOM.agRZ87Zs.js → timeline-definition-Z64GVDOM.DpGlraiA.js} +3 -3
- package/library/chunks/{tooltip.O-5jGui7.js → tooltip.7t36EXGx.js} +2 -2
- package/library/chunks/{tree.BP9r-4UR.js → tree.BQmpj32j.js} +4 -4
- package/library/chunks/{typeface.B75hLESf.js → typeface.DH9z0cTo.js} +3 -3
- package/library/chunks/{url.CZO_DV8Y.js → url.BCc06dE7.js} +15 -6
- package/library/chunks/{vennDiagram-T6HMQDX7.Cd9lVObe.js → vennDiagram-T6HMQDX7.DYlGT1g9.js} +3 -3
- package/library/chunks/{video.Bv7f2jDe.js → video.C7bssCMO.js} +2 -2
- package/library/chunks/{wardleyDiagram-T6FBY63Y.yCklp5Oa.js → wardleyDiagram-T6FBY63Y.DFkqP4xG.js} +3 -3
- package/library/chunks/{xychartDiagram-ELKLHX3M.CLuRN0XK.js → xychartDiagram-ELKLHX3M.CmCPBha7.js} +5 -5
- package/library/components/alert.js +1 -1
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +54 -54
- package/library/components/audio.js +1 -1
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +1 -1
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dot-pagination.js +1 -1
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +1 -1
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +16 -16
- package/library/components/option.js +1 -1
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +1 -1
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +10314 -10212
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/audio/audio.d.ts +2 -0
- package/library/packages/atoms/src/components/document-viewer/document-viewer.d.ts +6 -0
- package/library/packages/atoms/src/components/image/image.d.ts +0 -3
- package/library/packages/events/src/events.d.ts +0 -4
- package/library/packages/organisms/src/content-builder/blocks/audio/audio.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/column/column.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/column-group/column-group.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/document-viewer/document-viewer.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +7 -6
- package/library/packages/organisms/src/content-builder/blocks/timeline/timeline.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/components/template-manager/template-manager.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +17 -1
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +13 -4
- package/library/packages/organisms/src/form/control-renderer/control-renderer.d.ts +1 -1
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -0
- package/library/packages/utils/src/asset-url-mode/asset-url-mode.d.ts +22 -0
- package/library/packages/utils/src/asset-url-mode/index.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +7 -0
- package/library/react-web-component.d.ts +21 -1
- package/library/utils.js +29 -707
- package/package.json +1 -1
- package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +0 -16
- package/library/chunks/purify.es.Bwsrv9kG.js +0 -866
- package/library/chunks/src.B1k7w53w.js +0 -103
- package/library/packages/events/src/cx-image-src-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-timeline-data-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-video-src-resolved.d.ts +0 -8
- package/library/packages/events/src/cx-video-thumbnail-resolved.d.ts +0 -8
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/video.
|
|
1
|
+
import { n as e, t } from "../chunks/video.C7bssCMO.js";
|
|
2
2
|
export { t as VIDEO_BACKGROUND_SIZE_BY_OBJECT_FIT, e as default };
|
package/library/package.json
CHANGED
|
@@ -76,6 +76,8 @@ export default class CxAudio extends ResizableElement {
|
|
|
76
76
|
* `--waves-color` and `--background-color`.
|
|
77
77
|
*/
|
|
78
78
|
waveformSrc: string;
|
|
79
|
+
/** Runtime source hook for wrappers resolving waveform URLs without changing saved attributes. */
|
|
80
|
+
protected get waveformSource(): string;
|
|
79
81
|
/**
|
|
80
82
|
* Playback start position in seconds. The UI time counter starts from 0 relative to this point.
|
|
81
83
|
* `cx-time-update` emits `time` relative to this value.
|
|
@@ -39,6 +39,10 @@ export default class CxDocumentViewer extends ResizableElement {
|
|
|
39
39
|
identifier: string;
|
|
40
40
|
/** True when the current image source failed to load. */
|
|
41
41
|
private hasImageError;
|
|
42
|
+
/** Runtime source hook for wrappers that resolve delivery URLs without mutating `src`. */
|
|
43
|
+
protected get documentSource(): string;
|
|
44
|
+
/** Runtime representative hook for wrappers that resolve URLs without mutating the model. */
|
|
45
|
+
protected get representativeSource(): string;
|
|
42
46
|
get isPptx(): boolean;
|
|
43
47
|
get isPdf(): boolean;
|
|
44
48
|
get isExtensionSupported(): boolean;
|
|
@@ -47,6 +51,8 @@ export default class CxDocumentViewer extends ResizableElement {
|
|
|
47
51
|
updated(changedProps: Map<string, unknown>): void;
|
|
48
52
|
private handleSizeChange;
|
|
49
53
|
private handleImageError;
|
|
54
|
+
/** Clears an image error when a subclass supplies a newly resolved runtime URL. */
|
|
55
|
+
protected resetImageError(): void;
|
|
50
56
|
private renderPdfViewer;
|
|
51
57
|
private renderExtensionFallback;
|
|
52
58
|
private renderRepresentativeImage;
|
|
@@ -43,7 +43,6 @@ import { default as CxSpace } from '../space/space';
|
|
|
43
43
|
* @slot fallback - The fallback element, always shown when the image fails to load; override this slot to customize the broken-image UI.
|
|
44
44
|
*/
|
|
45
45
|
export default class CxImage extends ResizableElement {
|
|
46
|
-
#private;
|
|
47
46
|
static readonly styles: import('lit').CSSResult[];
|
|
48
47
|
static readonly dependencies: {
|
|
49
48
|
'cx-icon': typeof CxIcon;
|
|
@@ -239,8 +238,6 @@ export default class CxImage extends ResizableElement {
|
|
|
239
238
|
handleSrcChange(): void;
|
|
240
239
|
private clearRetryTimer;
|
|
241
240
|
private scheduleRetry;
|
|
242
|
-
/** Appends the retry cache-bust param to `src` while a retry attempt is in flight, so a CDN edge caching a corrupted/truncated response is bypassed in favor of a fresh origin fetch. */
|
|
243
|
-
protected applyRetryCacheBust(src: string): string;
|
|
244
241
|
private initZoom;
|
|
245
242
|
protected handleLoad(event: Event): void;
|
|
246
243
|
protected handleError(): void;
|
|
@@ -112,7 +112,6 @@ export * from './cx-hub-connection-disconnected';
|
|
|
112
112
|
export * from './cx-hub-connection-reconnected';
|
|
113
113
|
export * from './cx-hub-connection-reconnecting';
|
|
114
114
|
export * from './cx-image-click';
|
|
115
|
-
export * from './cx-image-src-resolved';
|
|
116
115
|
export * from './cx-import-settings';
|
|
117
116
|
export * from './cx-initial-focus';
|
|
118
117
|
export * from './cx-input';
|
|
@@ -228,7 +227,6 @@ export * from './cx-table-switch-change';
|
|
|
228
227
|
export * from './cx-table-validation-change';
|
|
229
228
|
export * from './cx-time-based-change';
|
|
230
229
|
export * from './cx-time-update';
|
|
231
|
-
export * from './cx-timeline-data-resolved';
|
|
232
230
|
export * from './cx-tiptap-code-block-doc-request';
|
|
233
231
|
export * from './cx-tiptap-image-doc-request';
|
|
234
232
|
export * from './cx-tiptap-image-host-feedback';
|
|
@@ -247,7 +245,6 @@ export * from './cx-video-comment-mouseleave';
|
|
|
247
245
|
export * from './cx-video-comment-mouseover';
|
|
248
246
|
export * from './cx-video-context-change';
|
|
249
247
|
export * from './cx-video-editor-track-canvas-ready';
|
|
250
|
-
export * from './cx-video-src-resolved';
|
|
251
248
|
export * from './cx-video-editor-track-click';
|
|
252
249
|
export * from './cx-video-editor-transition-click';
|
|
253
250
|
export * from './cx-video-editor-events';
|
|
@@ -262,7 +259,6 @@ export * from './cx-video-seeked';
|
|
|
262
259
|
export * from './cx-video-segment-change';
|
|
263
260
|
export * from './cx-video-media';
|
|
264
261
|
export * from './cx-video-time-update';
|
|
265
|
-
export * from './cx-video-thumbnail-resolved';
|
|
266
262
|
export * from './cx-view-and-sort-action-click';
|
|
267
263
|
export * from './cx-view-logs';
|
|
268
264
|
export * from './cx-xml-editor-asset-type-change';
|
|
@@ -37,11 +37,25 @@ export default class CxSbAudio extends CxAudio {
|
|
|
37
37
|
* own asset metadata and maps this data into state instead.
|
|
38
38
|
*/
|
|
39
39
|
fetchedAssetData: Record<string, unknown>;
|
|
40
|
+
private lastAppliedWaveformSrc;
|
|
41
|
+
private sourceResolveVersion;
|
|
42
|
+
private forceSourceResolution;
|
|
43
|
+
private resolvedWaveformSrc;
|
|
44
|
+
protected get waveformSource(): string;
|
|
40
45
|
/**
|
|
41
46
|
* Support CMS5 edit mode for the audio.
|
|
42
47
|
*/
|
|
43
48
|
get isInEditMode(): boolean;
|
|
49
|
+
runConnectedCallback(): void;
|
|
44
50
|
handleSrcChange(): Promise<void>;
|
|
51
|
+
handleSourceIdentityChange(): void;
|
|
52
|
+
private resolveWaveformSource;
|
|
53
|
+
/**
|
|
54
|
+
* Re-resolves a stored URL that has expired, from `record-id` + `format`. Returns the stored URL
|
|
55
|
+
* unchanged when there is nothing to recover from, or when the fresh resolve fails.
|
|
56
|
+
*/
|
|
57
|
+
private recoverStoredSrc;
|
|
58
|
+
disconnectedCallback(): void;
|
|
45
59
|
handleRecordIdChange(): Promise<void>;
|
|
46
60
|
handleFetchedAssetDataChange(): void;
|
|
47
61
|
private applyAssetData;
|
|
@@ -35,6 +35,7 @@ export default class CxSbButton extends CxButton {
|
|
|
35
35
|
*/
|
|
36
36
|
assetSrc: string;
|
|
37
37
|
recordId: string;
|
|
38
|
+
siteBuilderToken: string;
|
|
38
39
|
recordName: string;
|
|
39
40
|
dataLabel: string;
|
|
40
41
|
dataIconName: {
|
|
@@ -105,6 +106,13 @@ export default class CxSbButton extends CxButton {
|
|
|
105
106
|
spaces?: TeamSpace[];
|
|
106
107
|
/** Space URL re-resolved when the stored one points at a space that moved. */
|
|
107
108
|
private resolvedClickSpace;
|
|
109
|
+
/** Runtime-only asset URL resolved for the active permanent/expiring mode. */
|
|
110
|
+
private resolvedAssetSrc;
|
|
111
|
+
private fetchImageController?;
|
|
112
|
+
private fetchAssetController?;
|
|
113
|
+
private assetResolveVersion;
|
|
114
|
+
resolveAssetSrcFromRecordId(): Promise<void>;
|
|
115
|
+
private get renderedAssetSrc();
|
|
108
116
|
handleClickSpaceChange(): void;
|
|
109
117
|
/**
|
|
110
118
|
* `outline` is a boolean on `cx-button`, but the block carries every appearance
|
|
@@ -32,6 +32,8 @@ export default class CxColumn extends CortexElement {
|
|
|
32
32
|
};
|
|
33
33
|
private readonly localize;
|
|
34
34
|
private readonly hasSlotController;
|
|
35
|
+
private fetchImageController?;
|
|
36
|
+
private backgroundResolveVersion;
|
|
35
37
|
containerEl: HTMLDivElement;
|
|
36
38
|
defaultSlot: HTMLSlotElement;
|
|
37
39
|
resizable: boolean;
|
|
@@ -81,6 +83,7 @@ export default class CxColumn extends CortexElement {
|
|
|
81
83
|
* The asset transformations applied to the background image.
|
|
82
84
|
*/
|
|
83
85
|
backgroundTransformations: Transformation[];
|
|
86
|
+
siteBuilderToken: string;
|
|
84
87
|
/**
|
|
85
88
|
* The object-fit-style crop applied to the background image.
|
|
86
89
|
*/
|
|
@@ -101,6 +104,7 @@ export default class CxColumn extends CortexElement {
|
|
|
101
104
|
*/
|
|
102
105
|
nestedBandLayout: boolean;
|
|
103
106
|
private showAddBlockButton;
|
|
107
|
+
private resolvedBackgroundSrc;
|
|
104
108
|
/**
|
|
105
109
|
* Whether the add-block button overlays the column (`--column-add-block-position: absolute`).
|
|
106
110
|
* An overlaid button cannot rely on selecting the column to appear — a full column offers no
|
|
@@ -183,6 +187,7 @@ export default class CxColumn extends CortexElement {
|
|
|
183
187
|
private handleScroll;
|
|
184
188
|
private syncHasDamViewChild;
|
|
185
189
|
private handleSlotChange;
|
|
190
|
+
handleBackgroundAssetChange(): Promise<void>;
|
|
186
191
|
get resolvedBackgroundImageUrl(): string | undefined;
|
|
187
192
|
render(): TemplateResult;
|
|
188
193
|
}
|
package/library/packages/organisms/src/content-builder/blocks/column-group/column-group.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export default class CxColumnGroup extends CortexElement {
|
|
|
14
14
|
'cx-divider': typeof CxDivider;
|
|
15
15
|
};
|
|
16
16
|
private mutationObserver;
|
|
17
|
+
private fetchImageController?;
|
|
18
|
+
private backgroundResolveVersion;
|
|
17
19
|
containerEl: HTMLDivElement;
|
|
18
20
|
private readonly assignedColumns;
|
|
19
21
|
trigger: ColumnTriggerMode;
|
|
@@ -54,11 +56,13 @@ export default class CxColumnGroup extends CortexElement {
|
|
|
54
56
|
* The asset transformations applied to the background image.
|
|
55
57
|
*/
|
|
56
58
|
backgroundTransformations: Transformation[];
|
|
59
|
+
siteBuilderToken: string;
|
|
57
60
|
/**
|
|
58
61
|
* Breakpoints for responsive design.
|
|
59
62
|
*/
|
|
60
63
|
breakpoints: [number, number, number];
|
|
61
64
|
private columnCount;
|
|
65
|
+
private resolvedBackgroundSrc;
|
|
62
66
|
private isDeprecated;
|
|
63
67
|
constructor();
|
|
64
68
|
connectedCallback(): void;
|
|
@@ -70,6 +74,7 @@ export default class CxColumnGroup extends CortexElement {
|
|
|
70
74
|
private handleMutation;
|
|
71
75
|
private checkIsDeprecated;
|
|
72
76
|
handleSlotChange(): Promise<void>;
|
|
77
|
+
handleBackgroundAssetChange(): Promise<void>;
|
|
73
78
|
get resolvedBackgroundImageUrl(): string | undefined;
|
|
74
79
|
render(): TemplateResult;
|
|
75
80
|
}
|
package/library/packages/organisms/src/content-builder/blocks/document-viewer/document-viewer.d.ts
CHANGED
|
@@ -20,10 +20,18 @@ export default class CxSbDocumentViewer extends CxDocumentViewer {
|
|
|
20
20
|
static readonly styles: CSSResultGroup;
|
|
21
21
|
/** The asset record ID, used to open the asset overview when can-open-asset is enabled. */
|
|
22
22
|
recordId: string;
|
|
23
|
+
siteBuilderToken: string;
|
|
23
24
|
/** When true, renders a corner overlay button that opens the asset overview on hover and click. */
|
|
24
25
|
canOpenAsset: boolean;
|
|
26
|
+
private resolvedDocumentSource;
|
|
27
|
+
private resolvedRepresentativeSource;
|
|
28
|
+
private fetchAssetController?;
|
|
29
|
+
private assetResolveVersion;
|
|
25
30
|
private get isInEditMode();
|
|
31
|
+
protected get documentSource(): string;
|
|
32
|
+
protected get representativeSource(): string;
|
|
26
33
|
constructor();
|
|
34
|
+
resolveAssetSourcesFromRecordId(): Promise<void>;
|
|
27
35
|
private handleOpenAssetButtonClick;
|
|
28
36
|
private renderOpenAssetButton;
|
|
29
37
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -316,7 +316,7 @@ export default class CxSbImage extends CxImage {
|
|
|
316
316
|
* cannot inherit the previous one's answer about whether it may be resized — nor its
|
|
317
317
|
* resolved flag, which would let `srcset` be built before the new answer arrives.
|
|
318
318
|
*/
|
|
319
|
-
|
|
319
|
+
protected willUpdate(changedProps: PropertyValues<this>): void;
|
|
320
320
|
handleFetchedAssetDataChange(): void;
|
|
321
321
|
protected update(changedProps: PropertyValues): void;
|
|
322
322
|
protected handleLoad(event: Event): void;
|
|
@@ -346,11 +346,12 @@ export default class CxSbImage extends CxImage {
|
|
|
346
346
|
*/
|
|
347
347
|
private resolveClickSpace;
|
|
348
348
|
/**
|
|
349
|
-
* When a stored URL has expired,
|
|
350
|
-
* `record-id` + `format` (light and dark
|
|
351
|
-
* `src` / `srcDarkMode` change and no-ops for
|
|
352
|
-
*
|
|
353
|
-
*
|
|
349
|
+
* When a stored URL has expired, or does not match the page's permanent/expiring URL
|
|
350
|
+
* mode, re-resolve a fresh one from the block's `record-id` + `format` (light and dark
|
|
351
|
+
* variants independently). Fires on every `src` / `srcDarkMode` change and no-ops for
|
|
352
|
+
* reusable URLs, so working paths are untouched. Recovery changes runtime delivery only;
|
|
353
|
+
* the saved light/dark URLs stay untouched. On failure it leaves the stored URL in place
|
|
354
|
+
* and lets the existing `@error` / fallback path handle it.
|
|
354
355
|
*/
|
|
355
356
|
private recoverExpiredSources;
|
|
356
357
|
private recoverExpiredSource;
|
|
@@ -12,7 +12,6 @@ import { CSSResultGroup } from 'lit';
|
|
|
12
12
|
* @summary CxTimeline
|
|
13
13
|
*/
|
|
14
14
|
export default class CxTimeline extends CortexElement {
|
|
15
|
-
#private;
|
|
16
15
|
static readonly styles: CSSResultGroup;
|
|
17
16
|
static readonly dependencies: {
|
|
18
17
|
'cx-icon-button': typeof CxIconButton;
|
|
@@ -67,7 +66,6 @@ export default class CxTimeline extends CortexElement {
|
|
|
67
66
|
/** Proxy URLs and their `srcset` candidates resolved from asset fetch, keyed by item.id. */
|
|
68
67
|
private resolvedThumbnails;
|
|
69
68
|
handleDataChange(): Promise<void>;
|
|
70
|
-
private persistResolvedThumbnailsToData;
|
|
71
69
|
private handlePreviousClick;
|
|
72
70
|
private handleNextClick;
|
|
73
71
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -146,6 +146,13 @@ export default class CxSbVideo extends CxVideo {
|
|
|
146
146
|
private resolvedClickSpace;
|
|
147
147
|
/** Lazily created; recovers a fresh signed URL when the stored one expires. */
|
|
148
148
|
private fetchAssetController?;
|
|
149
|
+
/** Lazily resolves the poster from its record id for the active URL mode. */
|
|
150
|
+
private posterFetchImageController?;
|
|
151
|
+
/** Runtime-only poster URL. Signed URLs must never be reflected into the document. */
|
|
152
|
+
private resolvedPoster;
|
|
153
|
+
/** Monotonic token to drop stale poster lookups. */
|
|
154
|
+
private posterResolveVersion;
|
|
155
|
+
private forceSourceResolution;
|
|
149
156
|
/**
|
|
150
157
|
* Support CMS5 edit mode for the video.
|
|
151
158
|
*/
|
|
@@ -186,8 +193,10 @@ export default class CxSbVideo extends CxVideo {
|
|
|
186
193
|
private resolveClickSpace;
|
|
187
194
|
handleThumbnailChange(): void;
|
|
188
195
|
handlePosterChange(): Promise<void>;
|
|
196
|
+
resolvePosterFromRecordId(): Promise<void>;
|
|
189
197
|
handleFetchedAssetDataChange(): void;
|
|
190
198
|
handleSrcChange(): Promise<void>;
|
|
199
|
+
handleSourceIdentityChange(): void;
|
|
191
200
|
/**
|
|
192
201
|
* Returns the URL to hand to the player
|
|
193
202
|
*/
|
|
@@ -84,6 +84,13 @@ export default class CxTemplateManager extends CortexElement {
|
|
|
84
84
|
* @default false
|
|
85
85
|
*/
|
|
86
86
|
enableAssetFormatControls: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Whether the server mints expiring asset URLs for this instance (42ASN5). When set, resolutions stop
|
|
89
|
+
* asking for permanent asset paths, which on the server would create the permanent anonymous link this
|
|
90
|
+
* feature removes. When this and `enable-asset-format-controls` are both true,
|
|
91
|
+
* expiring URLs take precedence and the incompatible controls stay disabled.
|
|
92
|
+
*/
|
|
93
|
+
useExpiringAssetUrls: boolean;
|
|
87
94
|
/**
|
|
88
95
|
* Exposes the font family / style / weight pickers in the block config sidebar.
|
|
89
96
|
* Should match the host `cx-content-builder` setting.
|
|
@@ -146,7 +153,11 @@ export default class CxTemplateManager extends CortexElement {
|
|
|
146
153
|
private _apiGetTemplates;
|
|
147
154
|
private _apiGetTemplatesForType;
|
|
148
155
|
private _apiUpdateTemplate;
|
|
156
|
+
/** Keep standalone template editing on the same URL mode as the page host. */
|
|
157
|
+
protected willUpdate(): void;
|
|
149
158
|
handleLoadedChange(): Promise<void>;
|
|
159
|
+
/** Expiring asset URLs cannot be rewritten by format or transformation controls. */
|
|
160
|
+
private get resolvedEnableAssetFormatControls();
|
|
150
161
|
private resetState;
|
|
151
162
|
handleTemplateChange(): void;
|
|
152
163
|
private handleEdit;
|
|
@@ -18,7 +18,9 @@ type TranslatableTextRecordOptions = {
|
|
|
18
18
|
*
|
|
19
19
|
* Set `enable-asset-format-controls` to expose the asset format, transformation,
|
|
20
20
|
* download-format, and asset-format-picker controls on image, video, gallery,
|
|
21
|
-
* carousel, column-group, and timeline blocks. Off by default.
|
|
21
|
+
* carousel, column-group, and timeline blocks. Off by default. When
|
|
22
|
+
* `use-expiring-asset-urls` is also set, expiring URLs take precedence and the
|
|
23
|
+
* incompatible format and transformation controls stay disabled.
|
|
22
24
|
*
|
|
23
25
|
* `default-image-format`, `default-video-poster-format`, `default-timeline-format`,
|
|
24
26
|
* `default-gallery-format` and `default-carousel-format` are retained for backward
|
|
@@ -128,6 +130,13 @@ export default class CxContentBuilder extends CortexElement {
|
|
|
128
130
|
* @default false
|
|
129
131
|
*/
|
|
130
132
|
enableAssetFormatControls: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Whether the server mints expiring asset URLs for this instance (42ASN5). When set, resolutions stop
|
|
135
|
+
* asking for permanent asset paths, which on the server would create the permanent anonymous link this
|
|
136
|
+
* feature removes. When this and `enable-asset-format-controls` are both true,
|
|
137
|
+
* expiring URLs take precedence and the incompatible controls stay disabled.
|
|
138
|
+
*/
|
|
139
|
+
useExpiringAssetUrls: boolean;
|
|
131
140
|
/**
|
|
132
141
|
* Whether the content builder emits `ol:ui-metric` events timing each user action,
|
|
133
142
|
* for collection as browser OpenTelemetry histograms.
|
|
@@ -295,6 +304,13 @@ export default class CxContentBuilder extends CortexElement {
|
|
|
295
304
|
private get measuredOnRequestDownloadFormat();
|
|
296
305
|
private get measuredOnConfigureWorkflow();
|
|
297
306
|
private get measuredOnRequestAssetFormat();
|
|
307
|
+
/** Expiring asset URLs cannot be rewritten by format or transformation controls. */
|
|
308
|
+
private get resolvedEnableAssetFormatControls();
|
|
309
|
+
/**
|
|
310
|
+
* 42ASN5: one mode per page. The template manager reuses the block config sidebar, so the mode is set
|
|
311
|
+
* here once on first update rather than in each consumer — a second read could disagree with the viewer.
|
|
312
|
+
*/
|
|
313
|
+
protected willUpdate(): void;
|
|
298
314
|
get isDesigner(): boolean;
|
|
299
315
|
get isTemplateEditable(): boolean;
|
|
300
316
|
get isMultiLanguage(): boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as CortexLightElement } from '../../../base/src/cortex-light-element.ts';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
2
3
|
/**
|
|
3
4
|
* @summary Wraps content-builder output — read mode and the editor canvas alike —
|
|
4
5
|
* supplying its blocks with data they would otherwise each fetch for themselves.
|
|
@@ -9,10 +10,10 @@ import { default as CortexLightElement } from '../../../base/src/cortex-light-el
|
|
|
9
10
|
* `cx-sb-video` linking to a space, and `cx-gallery` showing space cards), fetching
|
|
10
11
|
* the space list once and assigning it as `spaces`. It also distributes its
|
|
11
12
|
* `securityBypassToken` to the record-id children that still search for themselves
|
|
12
|
-
* (`cx-sb-
|
|
13
|
-
*
|
|
14
|
-
* it, so they must sit inside this element for that to apply — in the editor that
|
|
15
|
-
* inside the canvas document.
|
|
13
|
+
* (`cx-sb-image`, `cx-sb-video`, `cx-sb-audio`, `cx-timeline`, background containers, buttons,
|
|
14
|
+
* and document viewers). Renders no UI. Blocks skip their own fetch whenever an ancestor
|
|
15
|
+
* supplies it, so they must sit inside this element for that to apply — in the editor that
|
|
16
|
+
* means inside the canvas document.
|
|
16
17
|
*
|
|
17
18
|
* Space URLs are re-resolved per scan because they break when the space moves domain;
|
|
18
19
|
* doing it per block would repeat one identical request each and race this assignment.
|
|
@@ -26,6 +27,12 @@ export default class CxContentBuilderViewer extends CortexLightElement {
|
|
|
26
27
|
* (which consume it as `siteBuilderToken`). Empty on authenticated/preview pages.
|
|
27
28
|
*/
|
|
28
29
|
securityBypassToken: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the server minted expiring asset URLs for this page (42ASN5). When present, resolutions must
|
|
32
|
+
* not ask for permanent asset paths — on the server that request creates the permanent anonymous link
|
|
33
|
+
* this feature removes. Set from the host attribute, same as `security-bypass-token`.
|
|
34
|
+
*/
|
|
35
|
+
useExpiringAssetUrls: boolean;
|
|
29
36
|
/** Blocks already populated by a previous asset-data scan; skipped on re-scans. */
|
|
30
37
|
private readonly processedFetchableBlocks;
|
|
31
38
|
/** Blocks already populated by a previous space-list scan; skipped on re-scans. */
|
|
@@ -38,6 +45,8 @@ export default class CxContentBuilderViewer extends CortexLightElement {
|
|
|
38
45
|
createRenderRoot(): this;
|
|
39
46
|
connectedCallback(): void;
|
|
40
47
|
disconnectedCallback(): void;
|
|
48
|
+
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
49
|
+
private syncAssetUrlMode;
|
|
41
50
|
/** Blocks arrive in bursts as the page parses, so scans are collapsed. */
|
|
42
51
|
private scheduleScan;
|
|
43
52
|
private scanAndFetch;
|
|
@@ -157,7 +157,7 @@ export declare class ControlRenderer {
|
|
|
157
157
|
*/
|
|
158
158
|
private resolveAssetFormatSrc;
|
|
159
159
|
/** Resolves the URL and intrinsic ratio from the same selected media field. */
|
|
160
|
-
resolveAssetFormat(recordId: string, format: string): Promise<{
|
|
160
|
+
resolveAssetFormat(recordId: string, format: string, resolveExpiringImagePath: boolean): Promise<{
|
|
161
161
|
aspectRatio: number;
|
|
162
162
|
src: string;
|
|
163
163
|
}>;
|
|
@@ -23,9 +23,10 @@ export declare class FetchAssetController implements ReactiveController {
|
|
|
23
23
|
* `apiGetAssets` maps a `path_<format>` media field to its `.URI` string, so the
|
|
24
24
|
* fresh URL is read straight back off the requested field.
|
|
25
25
|
*/
|
|
26
|
-
refetchFormatUrl({ format, recordId, securityByPassToken, token, }: {
|
|
26
|
+
refetchFormatUrl({ format, recordId, resolveExpiringImagePath, securityByPassToken, token, }: {
|
|
27
27
|
format: string;
|
|
28
28
|
recordId: string;
|
|
29
|
+
resolveExpiringImagePath?: boolean;
|
|
29
30
|
securityByPassToken?: string;
|
|
30
31
|
token?: string;
|
|
31
32
|
}): Promise<string>;
|
|
@@ -42,6 +42,34 @@ export declare function isSupportedImageExtension(extension: string): boolean;
|
|
|
42
42
|
* Every other format is already transcoded, so this only gates the original.
|
|
43
43
|
*/
|
|
44
44
|
export declare function canServeOriginalAsImage(docType: string | undefined, extension: string): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Picks the delivery URL for one item out of the requested `path_*` fields.
|
|
47
|
+
*
|
|
48
|
+
* Under `Auto` the extension decides the proxy; under a manual format an animated source
|
|
49
|
+
* still takes `path_TRX` so it is not flattened. `path_TR1` closes every branch — it is
|
|
50
|
+
* always transcoded, so it works for any source.
|
|
51
|
+
*
|
|
52
|
+
* The chosen URL is the untransformed path from the API, so this is where the `.auto`
|
|
53
|
+
* marker belongs: every branch returns through `pick`, and the caller only adds a `/t/`
|
|
54
|
+
* segment afterwards.
|
|
55
|
+
*/
|
|
56
|
+
/** @internal Exported for focused unit coverage of proxy selection. */
|
|
57
|
+
export declare function resolveItemSrc({ autoFormat, buildSrcset, docType, extension, format, item, manualFormat, size, useExpiringAssetUrls, }: {
|
|
58
|
+
autoFormat: boolean;
|
|
59
|
+
buildSrcset: boolean;
|
|
60
|
+
docType: string | undefined;
|
|
61
|
+
extension: string | undefined;
|
|
62
|
+
format: string | undefined;
|
|
63
|
+
item: Record<string, string | undefined>;
|
|
64
|
+
manualFormat: boolean;
|
|
65
|
+
size: string | undefined;
|
|
66
|
+
useExpiringAssetUrls: boolean;
|
|
67
|
+
}): {
|
|
68
|
+
maxHeight?: string;
|
|
69
|
+
maxWidth?: string;
|
|
70
|
+
src?: string;
|
|
71
|
+
srcset?: string;
|
|
72
|
+
};
|
|
45
73
|
export declare class FetchImageController implements ReactiveController {
|
|
46
74
|
private readonly host;
|
|
47
75
|
private data;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const EXPIRING_ASSET_PRIMARY_PATH_FIELD = "path_TR1";
|
|
2
|
+
export declare const EXPIRING_ASSET_FALLBACK_PATH_FIELD = "path_TRX";
|
|
3
|
+
type AssetUrlModeTarget = object | null | undefined;
|
|
4
|
+
/** Only stable, non-expiring asset URLs are safe to serialize into page content. */
|
|
5
|
+
export declare function isPersistableAssetUrl(url: string | null | undefined): boolean;
|
|
6
|
+
/** Whether a stored URL already matches the requested permanent/signed delivery mode. */
|
|
7
|
+
export declare function isAssetUrlReusableForMode(url: string | null | undefined, useExpiringAssetUrls: boolean): boolean;
|
|
8
|
+
/** Manual image formats are irrelevant when signed URL delivery takes precedence. */
|
|
9
|
+
export declare function isAssetFormatRequiredForMode(manualFormat: boolean, useExpiringAssetUrls: boolean): boolean;
|
|
10
|
+
/** Set the mode on the window/realm that will perform asset resolution. */
|
|
11
|
+
export declare function setExpiringAssetUrlMode(enabled: boolean, target?: AssetUrlModeTarget): void;
|
|
12
|
+
/** Whether signed asset URLs must be preserved instead of permanently resolved or transformed. */
|
|
13
|
+
export declare function isExpiringAssetUrlMode(target?: AssetUrlModeTarget): boolean;
|
|
14
|
+
/** The value to pass as `getPermanentAssetsPaths`. */
|
|
15
|
+
export declare function resolveGetPermanentAssetsPaths(target?: AssetUrlModeTarget): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Pick an unmodified signed image path without applying the configured/automatic format.
|
|
18
|
+
* Animated GIFs prefer their original TRX path; other assets use the safe TR1 raster path.
|
|
19
|
+
* TRX remains the last fallback when TR1 is unavailable and the original can render directly.
|
|
20
|
+
*/
|
|
21
|
+
export declare function resolveExpiringAssetPathField(asset: Record<string, unknown>, canUseOriginal: boolean, extension?: string): string | undefined;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './asset-url-mode';
|
|
@@ -42,6 +42,13 @@ export declare function appendQueryParam(url: string, key: string, value: string
|
|
|
42
42
|
* carry an expiry marker once they can no longer be served
|
|
43
43
|
*/
|
|
44
44
|
export declare function isExpiredAssetUrl(url: string | null | undefined): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Reads the plaintext expiry (Unix seconds) an expiring asset URL carries, or null when it has none.
|
|
47
|
+
*
|
|
48
|
+
* A hint only: the server re-validates the signed token, so a tampered value cannot extend access — the
|
|
49
|
+
* worst a caller achieves is a needless recovery or a stale URL.
|
|
50
|
+
*/
|
|
51
|
+
export declare function readAssetTokenExpiry(url: string | null | undefined): number | null;
|
|
45
52
|
export declare function isValidUrl(urlString: string): boolean;
|
|
46
53
|
export declare const RELATIVE_URL_REGEX: string;
|
|
47
54
|
export declare const URL_VALIDATION_REGEX: string;
|
|
@@ -9612,6 +9612,10 @@
|
|
|
9612
9612
|
* The asset transformations applied to the background image.
|
|
9613
9613
|
*/
|
|
9614
9614
|
backgroundTransformations?: CxColumnTransformation[];
|
|
9615
|
+
/**
|
|
9616
|
+
*
|
|
9617
|
+
*/
|
|
9618
|
+
siteBuilderToken?: string;
|
|
9615
9619
|
/**
|
|
9616
9620
|
* The object-fit-style crop applied to the background image.
|
|
9617
9621
|
*/
|
|
@@ -9694,6 +9698,10 @@
|
|
|
9694
9698
|
* The asset transformations applied to the background image.
|
|
9695
9699
|
*/
|
|
9696
9700
|
backgroundTransformations?: CxColumnGroupTransformation[];
|
|
9701
|
+
/**
|
|
9702
|
+
*
|
|
9703
|
+
*/
|
|
9704
|
+
siteBuilderToken?: string;
|
|
9697
9705
|
/**
|
|
9698
9706
|
* Make localization attributes reactive eslint-disable-next-line lit/no-native-attributes
|
|
9699
9707
|
*/
|
|
@@ -10464,7 +10472,7 @@
|
|
|
10464
10472
|
preRender?: boolean;
|
|
10465
10473
|
}
|
|
10466
10474
|
/**
|
|
10467
|
-
* The `cx-content-builder` component is used to create and manage content blocks in a CMS.<br/> Set `enable-asset-format-controls` to expose the asset format, transformation, download-format, and asset-format-picker controls on image, video, gallery, carousel, column-group, and timeline blocks. Off by default.<br/> `default-image-format`, `default-video-poster-format`, `default-timeline-format`, `default-gallery-format` and `default-carousel-format` are retained for backward compatibility but no longer do anything: every block type now starts in `Auto` and derives its proxy from the asset's own file extension.<br/> Several regions of one canvas page can be edited at once: `container-selector` / `initial-data` describe the implicit `page-content` section and `sections` adds more (for CMS5, the `hero` masthead). Each section is mounted inside its own host container of the canvas document and read back with `getSectionContent(id)`; `html()` / `json()` keep returning the page content.
|
|
10475
|
+
* The `cx-content-builder` component is used to create and manage content blocks in a CMS.<br/> Set `enable-asset-format-controls` to expose the asset format, transformation, download-format, and asset-format-picker controls on image, video, gallery, carousel, column-group, and timeline blocks. Off by default. When `use-expiring-asset-urls` is also set, expiring URLs take precedence and the incompatible format and transformation controls stay disabled.<br/> `default-image-format`, `default-video-poster-format`, `default-timeline-format`, `default-gallery-format` and `default-carousel-format` are retained for backward compatibility but no longer do anything: every block type now starts in `Auto` and derives its proxy from the asset's own file extension.<br/> Several regions of one canvas page can be edited at once: `container-selector` / `initial-data` describe the implicit `page-content` section and `sections` adds more (for CMS5, the `hero` masthead). Each section is mounted inside its own host container of the canvas document and read back with `getSectionContent(id)`; `html()` / `json()` keep returning the page content.
|
|
10468
10476
|
*/
|
|
10469
10477
|
interface CxContentBuilderAttributes extends HTMLAttributes<CxContentBuilder> {
|
|
10470
10478
|
|
|
@@ -10508,6 +10516,10 @@
|
|
|
10508
10516
|
* Whether to expose the asset format / transformation / download-format / asset-format-picker controls in the per-block config sidebar for image, video, gallery, carousel, and timeline blocks. <br/>@default false
|
|
10509
10517
|
*/
|
|
10510
10518
|
enableAssetFormatControls?: boolean;
|
|
10519
|
+
/**
|
|
10520
|
+
* Whether the server mints expiring asset URLs for this instance (42ASN5). When set, resolutions stop asking for permanent asset paths, which on the server would create the permanent anonymous link this feature removes. When this and `enable-asset-format-controls` are both true, expiring URLs take precedence and the incompatible controls stay disabled.
|
|
10521
|
+
*/
|
|
10522
|
+
useExpiringAssetUrls?: boolean;
|
|
10511
10523
|
/**
|
|
10512
10524
|
* Whether the content builder emits `ol:ui-metric` events timing each user action, for collection as browser OpenTelemetry histograms. <br/> Off by default: when false no timers are armed and no events are dispatched, so an unmonitored site pays nothing for this being here. <br/>@default false
|
|
10513
10525
|
*/
|
|
@@ -10574,6 +10586,10 @@
|
|
|
10574
10586
|
* Page-scoped security-bypass token, stamped by the server on this element in read-mode HTML. The viewer uses it for its batched Search call and distributes it to its record-id children (which consume it as `siteBuilderToken`). Empty on authenticated/preview pages.
|
|
10575
10587
|
*/
|
|
10576
10588
|
securityBypassToken?: string;
|
|
10589
|
+
/**
|
|
10590
|
+
* Whether the server minted expiring asset URLs for this page (42ASN5). When present, resolutions must not ask for permanent asset paths — on the server that request creates the permanent anonymous link this feature removes. Set from the host attribute, same as `security-bypass-token`.
|
|
10591
|
+
*/
|
|
10592
|
+
useExpiringAssetUrls?: boolean;
|
|
10577
10593
|
/**
|
|
10578
10594
|
* Make localization attributes reactive eslint-disable-next-line lit/no-native-attributes
|
|
10579
10595
|
*/
|
|
@@ -11528,6 +11544,10 @@
|
|
|
11528
11544
|
* Whether to expose asset format / transformation / download-format / asset-format-picker controls for image, video, gallery, carousel, and timeline blocks. Should match the host `cx-content-builder` setting. <br/>@default false
|
|
11529
11545
|
*/
|
|
11530
11546
|
enableAssetFormatControls?: boolean;
|
|
11547
|
+
/**
|
|
11548
|
+
* Whether the server mints expiring asset URLs for this instance (42ASN5). When set, resolutions stop asking for permanent asset paths, which on the server would create the permanent anonymous link this feature removes. When this and `enable-asset-format-controls` are both true, expiring URLs take precedence and the incompatible controls stay disabled.
|
|
11549
|
+
*/
|
|
11550
|
+
useExpiringAssetUrls?: boolean;
|
|
11531
11551
|
/**
|
|
11532
11552
|
* Exposes the font family / style / weight pickers in the block config sidebar. Should match the host `cx-content-builder` setting. <br/>@default false
|
|
11533
11553
|
*/
|