@orangelogic/design-system 2.162.0 → 2.164.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/{AxisLabelRadial.lE2gKah-.js → AxisLabelRadial.fe7zjixN.js} +1 -1
- package/library/chunks/{BaseColumnSeries.B57B3iHh.js → BaseColumnSeries.8Mpxz385.js} +1 -1
- package/library/chunks/{CandlestickSeries.CmmI426l.js → CandlestickSeries.DuadaOTa.js} +19 -19
- package/library/chunks/{Circle.DAhHYhrc.js → Circle.6LomW0ej.js} +1 -1
- package/library/chunks/{ColumnSeries.DBgXk-b4.js → ColumnSeries.D1NLfRh5.js} +2 -2
- package/library/chunks/{EditableAxisLabel.C6H99qiS.js → EditableAxisLabel.Bi9vxLDV.js} +2 -2
- package/library/chunks/{EditableLabel.B7HB7Cu4.js → EditableLabel.CMR3O9E-.js} +1 -1
- package/library/chunks/{Gradient.DHhBnhFd.js → Gradient.CquE8_a4.js} +1 -1
- package/library/chunks/{LinearGradient.CGx00O8B.js → LinearGradient.CVN1VJp-.js} +9 -9
- package/library/chunks/{Picture.DYltTVSo.js → Picture.BYTZ_I8g.js} +1 -1
- package/library/chunks/{Polygon.BCrxKagx.js → Polygon.CU2sMltE.js} +1 -1
- package/library/chunks/{ProgressPie.CXksPJFv.js → ProgressPie.Dd74dbmm.js} +6 -6
- package/library/chunks/{RadialLabel.BYH69FGU.js → RadialLabel.7ka6ND-t.js} +1 -1
- package/library/chunks/{Scrollbar.DEv50o4R.js → Scrollbar.DqUnZReo.js} +1 -1
- package/library/chunks/Slice.BVI8rfHI.js +34 -0
- package/library/chunks/{Slider.BX8g2iGv.js → Slider.DtjYaJOw.js} +1 -1
- package/library/chunks/{SpriteResizer.CfIBMSp3.js → SpriteResizer.Ci2Wt2YJ.js} +11 -11
- package/library/chunks/{Triangle.CNY8-QfL.js → Triangle.C75emy3D.js} +1 -1
- package/library/chunks/{ZoomTools.6jZrzA7x.js → ZoomTools.CA9mtHI8.js} +2 -2
- package/library/chunks/_arrayEach.DU4X1H_a.js +8 -0
- package/library/chunks/_baseClone.BHNjfIdS.js +215 -0
- package/library/chunks/_baseEach.DQk0As2f.js +32 -0
- package/library/chunks/{_baseIteratee.BdKyHJ5i.js → _baseIteratee.sC2wLi2m.js} +3 -2
- package/library/chunks/{_baseUniq.je-HWbb3.js → _baseUniq.lwMgmtt2.js} +16 -15
- package/library/chunks/_baseXor.DixEm6JQ.js +35 -0
- package/library/chunks/_flatRest.D3ZVApI5.js +30 -0
- package/library/chunks/abnfDiagram-VRR7QNED.DKqYa5p7.js +89 -0
- package/library/chunks/{am-chart.CqdmTS0P.js → am-chart.Cr-vMjcY.js} +1577 -1727
- package/library/chunks/{animation.S74lUDDc.js → animation.BD-1xugN.js} +1 -1
- package/library/chunks/arc.xqNd6x9S.js +84 -0
- package/library/chunks/architectureDiagram-ZJ3FMSHR.CBIOk9Kp.js +4757 -0
- package/library/chunks/{asset-link-format.DLAzKfhk.js → asset-link-format.0q_MQOYh.js} +691 -635
- package/library/chunks/asset-link-format.ClaYu_v8.js +7 -0
- package/library/chunks/blockDiagram-677ZJIJ3.CeQxLPwj.js +2428 -0
- package/library/chunks/{button.8syoJXYs.js → button.DGyqdBou.js} +2 -2
- package/library/chunks/c4Diagram-LMCZKHZV.B73xdpNh.js +1580 -0
- package/library/chunks/{capitalize.BTYI3NfM.js → capitalize.CIBKBL10.js} +1 -1
- package/library/chunks/{cardinal.BCA_LB0u.js → cardinal.BXTAeOLk.js} +1 -0
- package/library/chunks/cardinalClosed.Mdce1x5M.js +59 -0
- package/library/chunks/channel.s_XjcUYI.js +5 -0
- package/library/chunks/chunk-2Q5K7J3B.Dy1Z-bMH.js +15 -0
- package/library/chunks/chunk-32BRIVSS.BbIrVi3j.js +71 -0
- package/library/chunks/chunk-5VM5RSS4.D0-lddDM.js +19 -0
- package/library/chunks/chunk-EX3LRPZG.L693y8d4.js +1412 -0
- package/library/chunks/chunk-JWPE2WC7.BV0i4LDu.js +8 -0
- package/library/chunks/chunk-MOJQB5TN.BZstBMYC.js +664 -0
- package/library/chunks/chunk-RYQCIY6F.BMsuG7ya.js +314 -0
- package/library/chunks/chunk-V7JOEXUC.DcJlyQO0.js +1537 -0
- package/library/chunks/chunk-VR4S4FIN.BpryBs7q.js +19 -0
- package/library/chunks/chunk-XXDRQBXY.CSOjab1V.js +11 -0
- package/library/chunks/classDiagram-OUVF2IWQ.Dvz7CNwe.js +18 -0
- package/library/chunks/classDiagram-v2-EOCWNBFH.Dvz7CNwe.js +18 -0
- package/library/chunks/cloneDeep.B-5z5SI3.js +51 -0
- package/library/chunks/{color-swatch-group.CLv1LSZy.js → color-swatch-group.ChP9amU9.js} +2576 -2723
- package/library/chunks/{color-swatch.DsWP2fd-.js → color-swatch.QsHoy_K1.js} +1 -1
- package/library/chunks/{colorPicker.GYgA76kc.js → colorPicker.Cg6Zxf8f.js} +5 -5
- package/library/chunks/{confirm-popover.C-eHPJaU.js → confirm-popover.D8mdy6KG.js} +2 -2
- package/library/chunks/constant.BQ4UJ-kW.js +12 -0
- package/library/chunks/cose-bilkent-JH36ORCC.cfzS2XsK.js +2612 -0
- package/library/chunks/cynefin-VYW2F7L2.c7H5z9nQ.js +23790 -0
- package/library/chunks/cynefinDiagram-TSTJHNR4.C8SgNXWI.js +299 -0
- package/library/chunks/cytoscape.esm.Cbrwqewp.js +18786 -0
- package/library/chunks/dagre-VKFMJZFB.D5B1cAri.js +343 -0
- package/library/chunks/debounce.Bv1rtE8D.js +55 -0
- package/library/chunks/defaultLocale.CPy_WVtp.js +171 -0
- package/library/chunks/descending.AD5n-tFs.js +10 -0
- package/library/chunks/diagram-FQU43EPY.DJukDcLl.js +466 -0
- package/library/chunks/diagram-G47NLZAW.BBOvcbcR.js +316 -0
- package/library/chunks/diagram-NH7WQ7WH.DOpRwmC2.js +142 -0
- package/library/chunks/diagram-OA4YK3LP.Dm5WJs91.js +350 -0
- package/library/chunks/diagram-WEI45ONY.COuzdmSR.js +217 -0
- package/library/chunks/{dialog.Bzf4-IgH.js → dialog.05FgdLBZ.js} +2 -2
- package/library/chunks/{document-viewer.CGyOG1yw.js → document-viewer.Cng07M-1.js} +7 -7
- package/library/chunks/{dot-pagination.BdZc-K0r.js → dot-pagination.Pg9O0nIh.js} +1 -1
- package/library/chunks/ebnfDiagram-CCIWWBDH.Dz-QBH6Y.js +111 -0
- package/library/chunks/erDiagram-Q63AITRT.sSw_w-2B.js +913 -0
- package/library/chunks/{exporting.DQhKH1BX.js → exporting.Djsoh75g.js} +11 -11
- package/library/chunks/flow.aZRVH3p1.js +1304 -0
- package/library/chunks/flowDiagram-23GEKE2U.CMMbuUHf.js +1642 -0
- package/library/chunks/{folder-select.BKAuh4GE.js → folder-select.Dw1ZKZAq.js} +160 -140
- package/library/chunks/{gantt.tu-w6fQ5.js → gantt.Bv6_3H9y.js} +22 -22
- package/library/chunks/ganttDiagram-NO4QXBWP.DZdwd0O4.js +2715 -0
- package/library/chunks/gitGraphDiagram-IHSO6WYX.F6mwS3uS.js +818 -0
- package/library/chunks/graph.XHMI5hta.js +653 -0
- package/library/chunks/{header.e1FLwywx.js → header.DDI0MfJA.js} +1 -1
- package/library/chunks/{hierarchy.CTnBzzmQ.js → hierarchy.C4LxmFxx.js} +836 -904
- package/library/chunks/{hub-connection.CA_wS_wh.js → hub-connection.BtevPWYb.js} +1 -1
- package/library/chunks/{icon-button.DbVIFgu7.js → icon-button.BwmMJ0bI.js} +1 -1
- package/library/chunks/{icon.mxNZ85k0.js → icon.D5iM9wXS.js} +1 -1
- package/library/chunks/{iframe.DcHjOcLG.js → iframe.Cc-xZIm_.js} +1 -1
- package/library/chunks/{image.5mhGPvMN.js → image.BgODrAzQ.js} +2 -2
- package/library/chunks/{image.QVlPFadX.js → image.Y5c_hFx8.js} +1 -1
- package/library/chunks/{index.BVDhdCk-.js → index.2SOQHTpX.js} +23 -23
- package/library/chunks/index.BDn1QW8J.js +167 -0
- package/library/chunks/{index.DcjJFMlq.js → index.CrhRU5m8.js} +284 -273
- package/library/chunks/index.thKLME8E.js +77 -0
- package/library/chunks/infoDiagram-FWYZ7A6U.BnktKL7i.js +24 -0
- package/library/chunks/init.DjUOC4st.js +16 -0
- package/library/chunks/{input.BcyLZUmv.js → input.DOorVTYZ.js} +2 -2
- package/library/chunks/isArrayLikeObject.D7afXo-f.js +86 -0
- package/library/chunks/isEmpty.DtTJTUcf.js +27 -0
- package/library/chunks/ishikawaDiagram-FXEZZL3T.CFp-9Kes.js +621 -0
- package/library/chunks/journeyDiagram-5HDEW3XC.BxO1aPu_.js +837 -0
- package/library/chunks/{json.D7WeFaJm.js → json.Dz5QFEi5.js} +3 -3
- package/library/chunks/kanban-definition-HUTT4EX6.Bk8vmLFK.js +724 -0
- package/library/chunks/katex.DoRnZ_sp.js +11682 -0
- package/library/chunks/layout.DZcMFKol.js +1446 -0
- package/library/chunks/line.DP-iSN_J.js +157 -0
- package/library/chunks/linear.TNHhsH1m.js +215 -0
- package/library/chunks/{map.BjtxEozr.js → map.CBcV0WVq.js} +100 -105
- package/library/chunks/map.DJnohTgl.js +18 -0
- package/library/chunks/markdown.I1AJG75v.js +4180 -0
- package/library/chunks/math.D2lKC7md.js +22 -0
- package/library/chunks/mermaid.core.Dspbw7Ig.js +13598 -0
- package/library/chunks/mindmap-definition-LN4V7U3C.DuCBBYwE.js +808 -0
- package/library/chunks/{number.CtCaI0T_.js → number.Cx2ncfJJ.js} +2 -2
- package/library/chunks/{option.qN3aaqVI.js → option.DyNR1vzy.js} +2 -2
- package/library/chunks/ordinal.bqVaUip-.js +61 -0
- package/library/chunks/{pagination.Cupa46TN.js → pagination.qFmncShC.js} +5 -5
- package/library/chunks/pegDiagram-2B236MQR.DQrkEdJr.js +97 -0
- package/library/chunks/{percent.D_CkaRGb.js → percent.D8mkiJ2G.js} +17 -17
- package/library/chunks/pieDiagram-ENE6RG2P.B6nPW8Pj.js +212 -0
- package/library/chunks/position-picker.DjnhxIKF.js +4 -0
- package/library/chunks/quadrantDiagram-ABIIQ3AL.BFy9moxz.js +1026 -0
- package/library/chunks/{radar.BMKaNvJH.js → radar.B3p5bRix.js} +78 -129
- package/library/chunks/railroadDiagram-RFXS5EU6.CSao8YZX.js +79 -0
- package/library/chunks/range.DdOGybNB.js +9 -0
- package/library/chunks/requirementDiagram-TGXJPOKE.CjpliZnF.js +882 -0
- package/library/chunks/sankey.BR94A-8L.js +294 -0
- package/library/chunks/sankeyDiagram-HTMAVEWB.D8aAxVGe.js +564 -0
- package/library/chunks/select.C6_sM3Pr.js +7 -0
- package/library/chunks/sequenceDiagram-DBY2YBRQ.Cu9MV3h-.js +2891 -0
- package/library/chunks/sizeCapture-X5ZJPWSS.BDByEFcW.js +46 -0
- package/library/chunks/{sliceGrouper.C-t5ZRrz.js → sliceGrouper.CcRqQhZX.js} +1 -1
- package/library/chunks/stateDiagram-2N3HPSRC.DvrAW9Ck.js +267 -0
- package/library/chunks/stateDiagram-v2-6OUMAXLB.CFfuaFM1.js +18 -0
- package/library/chunks/step.almIqwJ6.js +51 -0
- package/library/chunks/{stock.vF_pji1F.js → stock.CQbn6zW4.js} +9 -9
- package/library/chunks/swimlanes-5IMT3BWC.AtMD47q7.js +5332 -0
- package/library/chunks/swimlanesDiagram-G3AALYLV.26A1eX7s.js +15 -0
- package/library/chunks/{tab-group.kSg5_10g.js → tab-group.1Y71_aN8.js} +3 -3
- package/library/chunks/{time.DWfbnPnM.js → time.DYWuX2id.js} +1 -1
- package/library/chunks/timeline-definition-FHXFAJF6.CYSh6xl5.js +1058 -0
- package/library/chunks/{timeline.gWu0up6r.js → timeline.Czz_uBEd.js} +33 -32
- package/library/chunks/toNumber.MuDz8DgU.js +31 -0
- package/library/chunks/{toString.Dcbz5jVT.js → toString.B1zKIiZc.js} +1 -1
- package/library/chunks/{toast.TDU3wVhq.js → toast.CXEAfCvN.js} +1 -1
- package/library/chunks/transformation.8uLv6uwG.js +264 -0
- package/library/chunks/{tree.C2dPd6gt.js → tree.vn5sHbdt.js} +123 -117
- package/library/chunks/value.BXEGBVFV.js +44 -0
- package/library/chunks/{venn.BVBe-JXs.js → venn.B5Jl-c4i.js} +2 -2
- package/library/chunks/vennDiagram-L72KCM5P.CSk1WWlu.js +1581 -0
- package/library/chunks/wardleyDiagram-EHGQE667.C7UzXYG7.js +675 -0
- package/library/chunks/{watch.DOt4Mabe.js → watch.DJF5K-8U.js} +27 -27
- package/library/chunks/{wc.DTNpfIc1.js → wc.B2THb2Kk.js} +18 -18
- package/library/chunks/xy.BO6U5QrZ.js +294 -0
- package/library/chunks/xychartDiagram-FW5EYKEG.idiZWvYS.js +1383 -0
- package/library/components/alert.js +2 -2
- package/library/components/am-chart.js +3 -3
- package/library/components/animated-image.js +2 -2
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +8 -7
- package/library/components/atoms.js +29 -29
- package/library/components/audio.js +3 -3
- package/library/components/avatar.js +2 -2
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/checkbox.js +195 -18
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +5 -5
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +3 -3
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +4 -4
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +2 -2
- package/library/components/dialog.js +3 -3
- package/library/components/diff.js +1 -1
- package/library/components/divider.js +1 -1
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +3 -3
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +6 -6
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +350 -374
- package/library/components/folder-select.js +5 -5
- package/library/components/format-time.js +2 -2
- package/library/components/grid-item.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/icon.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +3 -3
- package/library/components/include.js +1 -1
- package/library/components/input.js +3 -3
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +11 -2704
- package/library/components/masonry.js +76 -73
- package/library/components/menu-item.js +2 -2
- package/library/components/molecules.js +3 -3
- package/library/components/mutation-observer.js +1 -1
- package/library/components/option.js +3 -3
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/position-picker.js +25 -25
- package/library/components/qr-code.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/radio.js +2 -2
- package/library/components/range.js +1 -1
- package/library/components/rating.js +2 -2
- package/library/components/resize-observer.js +1 -1
- package/library/components/select.js +3 -3
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +3 -3
- package/library/components/size-input-group.js +3 -3
- 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 +4 -4
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +2 -2
- 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 +4 -4
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +122327 -120686
- package/library/components/video.js +2 -2
- package/library/package.json +2 -1
- package/library/packages/atoms/src/components/markdown/markdown.d.ts +41 -1
- package/library/packages/atoms/src/components/markdown/parser.d.ts +18 -3
- package/library/packages/atoms/src/components/markdown/styles.d.ts +17 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +7 -1
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +11 -1
- package/library/packages/events/src/cx-folder-select-loading-change.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +9 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +14 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +18 -1
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +7 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +7 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +124 -0
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.styles.d.ts +6 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +30 -0
- package/library/packages/tools/src/tiptap/utils/md/editor-controller.d.ts +57 -0
- package/library/packages/tools/src/tiptap/utils/md/from-markdown.d.ts +11 -0
- package/library/packages/tools/src/tiptap/utils/md/input-rules.d.ts +15 -0
- package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +13 -0
- package/library/packages/tools/src/tiptap/utils/md/to-markdown.d.ts +14 -0
- package/library/packages/types/src/asset-link-format.d.ts +19 -0
- package/library/packages/types/src/markdown-viewer.d.ts +12 -0
- package/library/packages/types/src/tree-item.d.ts +12 -0
- package/library/react-web-component.d.ts +86 -8
- package/library/utils.js +64 -65
- package/package.json +2 -1
- package/library/chunks/Slice.C5lVu2g_.js +0 -120
- package/library/chunks/_baseXor.VohG8cOH.js +0 -116
- package/library/chunks/asset-link-format.QzzboHHE.js +0 -6
- package/library/chunks/checkbox.3i2j3PHc.js +0 -198
- package/library/chunks/content-builder.BU8X7I6V.js +0 -60
- package/library/chunks/debounce.C_J-9zJi.js +0 -82
- package/library/chunks/flow.hz0UDjCb.js +0 -1594
- package/library/chunks/index.DU0XUO4k.js +0 -176
- package/library/chunks/transformation.D1alV_s4.js +0 -189
- package/library/chunks/xy.BNgyrwGD.js +0 -333
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import {
|
|
3
|
-
import { A as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { S as $ } from "./Slice.BVI8rfHI.js";
|
|
2
|
+
import { a_ as I, L as Y, T as D, aX as ee, m as L, e as P, ao as S, ah as R, j as A, h as C, a as _, D as te, H as X, as as J, C as se, q as b, G as k, r as G, K as ie, t as q, aV as Q, at as U } from "./am-chart.Cr-vMjcY.js";
|
|
3
|
+
import { A as ne } from "./AxisLabelRadial.fe7zjixN.js";
|
|
4
|
+
import { d as ae } from "./arc.xqNd6x9S.js";
|
|
5
|
+
import { B as Z } from "./BaseColumnSeries.8Mpxz385.js";
|
|
6
|
+
import { P as K } from "./Polygon.CU2sMltE.js";
|
|
6
7
|
class V extends I {
|
|
7
8
|
constructor() {
|
|
8
|
-
super(...arguments), this.labels = this.addDisposer(new Y(D.new({}), () =>
|
|
9
|
+
super(...arguments), this.labels = this.addDisposer(new Y(D.new({}), () => ee._new(this._root, {
|
|
9
10
|
themeTags: L(this.labels.template.get("themeTags", []), this.get("themeTags", []))
|
|
10
11
|
}, [this.labels.template]))), this.axisFills = this.addDisposer(new Y(D.new({}), () => $._new(this._root, {
|
|
11
12
|
themeTags: L(this.axisFills.template.get("themeTags", ["fill"]), this.get("themeTags", []))
|
|
@@ -32,17 +33,17 @@ class V extends I {
|
|
|
32
33
|
const t = this.get("points");
|
|
33
34
|
if (t) {
|
|
34
35
|
let s = 1 / 0, a = 1 / 0, i = -1 / 0, r = -1 / 0, o = 0, n = t[0];
|
|
35
|
-
|
|
36
|
+
P(t, (x, d) => {
|
|
36
37
|
s = Math.min(s, x.x), a = Math.min(a, x.y), i = Math.max(i, x.x), r = Math.max(r, x.y), o += Math.hypot(x.x - n.x, x.y - n.y), this.pointDistance[d] = o, n = x;
|
|
37
|
-
}),
|
|
38
|
+
}), P(t, (x, d) => {
|
|
38
39
|
this.pointPostion[d] = this.pointDistance[d] / o;
|
|
39
40
|
});
|
|
40
41
|
let l = this.get("yRenderer").get("axisLength", 0), h = i - s + 2 * l, c = r - a + 2 * l, g = (s + i) / 2, m = (a + r) / 2, f = e.innerWidth(), u = e.innerHeight(), y = f / h, F = u / c, p = Math.min(y, F);
|
|
41
42
|
this.getPrivate("autoScale", !0) || (p = 1), this.axis.setPrivateRaw("width", h * p), this.axis.setPrivateRaw("height", c * p), this.setPrivateRaw("centerX", g), this.setPrivateRaw("centerY", m), this.setPrivateRaw("scale", p), this.setPrivateRaw("axisLength", o), this.set("draw", (x) => {
|
|
42
|
-
x.moveTo((t[0].x - g) * p, (t[0].y - m) * p),
|
|
43
|
+
x.moveTo((t[0].x - g) * p, (t[0].y - m) * p), P(t, (d) => {
|
|
43
44
|
x.lineTo((d.x - g) * p, (d.y - m) * p);
|
|
44
45
|
});
|
|
45
|
-
}), n = t[0], this._normalizedPoints = [],
|
|
46
|
+
}), n = t[0], this._normalizedPoints = [], P(t, (x) => {
|
|
46
47
|
let d = Math.hypot(x.x - n.x, x.y - n.y);
|
|
47
48
|
for (let T = 1; T < d; T++) {
|
|
48
49
|
let M = (n.x + (x.x - n.x) * T / d - g) * p, N = (n.y + (x.y - n.y) * T / d - m) * p;
|
|
@@ -142,7 +143,7 @@ class V extends I {
|
|
|
142
143
|
}
|
|
143
144
|
pointToPosition(e) {
|
|
144
145
|
let t = 1 / 0, s = 0, a = this._normalizedPoints[0], i = 0;
|
|
145
|
-
|
|
146
|
+
P(this._normalizedPoints, (h, c) => {
|
|
146
147
|
let g = Math.hypot(h.x - e.x, h.y - e.y);
|
|
147
148
|
g < t && (t = g, s = c, i = R(e, h) - R(a, h)), a = h;
|
|
148
149
|
});
|
|
@@ -238,7 +239,7 @@ class V extends I {
|
|
|
238
239
|
t == null && (t = 0), s == null && (s = 1);
|
|
239
240
|
const i = this.get("yRenderer").axis, r = this.getPoints(t, i.get("start", 0), s, i.get("end", 1));
|
|
240
241
|
e.set("draw", (o) => {
|
|
241
|
-
o.moveTo(r[0].x, r[0].y),
|
|
242
|
+
o.moveTo(r[0].x, r[0].y), P(r, (n) => {
|
|
242
243
|
o.lineTo(n.x, n.y);
|
|
243
244
|
}), o.closePath();
|
|
244
245
|
});
|
|
@@ -269,7 +270,7 @@ V.className = "AxisRendererCurveX";
|
|
|
269
270
|
V.classNames = I.classNames.concat([V.className]);
|
|
270
271
|
class z extends I {
|
|
271
272
|
constructor() {
|
|
272
|
-
super(...arguments), this._fillGenerator =
|
|
273
|
+
super(...arguments), this._fillGenerator = ae(), this.labels = this.addDisposer(new Y(D.new({}), () => ne._new(this._root, {
|
|
273
274
|
themeTags: L(this.labels.template.get("themeTags", []), this.get("themeTags", []))
|
|
274
275
|
}, [this.labels.template])));
|
|
275
276
|
}
|
|
@@ -310,7 +311,7 @@ class z extends I {
|
|
|
310
311
|
const r = i.get("points");
|
|
311
312
|
r && e.set("draw", (o) => {
|
|
312
313
|
let n;
|
|
313
|
-
|
|
314
|
+
P(r, (l, h) => {
|
|
314
315
|
let c = i.pointPostion[h], g = this.positionToPoint(t, c, !0);
|
|
315
316
|
h == 0 ? o.moveTo(g.x, g.y) : n && Math.hypot(n.x - g.x, n.y - g.y) < 0.5 || (o.lineTo(g.x, g.y), n = g);
|
|
316
317
|
});
|
|
@@ -397,7 +398,7 @@ class z extends I {
|
|
|
397
398
|
t == null && (t = 0), s == null && (s = 1);
|
|
398
399
|
const a = this.getPoints(0, t, 1, s);
|
|
399
400
|
a && e.set("draw", (i) => {
|
|
400
|
-
i.moveTo(a[0].x, a[0].y),
|
|
401
|
+
i.moveTo(a[0].x, a[0].y), P(a, (r) => {
|
|
401
402
|
i.lineTo(r.x, r.y);
|
|
402
403
|
}), i.closePath();
|
|
403
404
|
});
|
|
@@ -438,7 +439,7 @@ class z extends I {
|
|
|
438
439
|
}
|
|
439
440
|
z.className = "AxisRendererCurveY";
|
|
440
441
|
z.classNames = I.classNames.concat([z.className]);
|
|
441
|
-
class re extends
|
|
442
|
+
class re extends te {
|
|
442
443
|
setupDefaultRules() {
|
|
443
444
|
super.setupDefaultRules();
|
|
444
445
|
const e = this.rule.bind(this);
|
|
@@ -491,9 +492,9 @@ class re extends se {
|
|
|
491
492
|
});
|
|
492
493
|
}
|
|
493
494
|
}
|
|
494
|
-
class w extends
|
|
495
|
+
class w extends J {
|
|
495
496
|
constructor() {
|
|
496
|
-
super(...arguments), this.curveContainer = this.plotContainer.children.push(
|
|
497
|
+
super(...arguments), this.curveContainer = this.plotContainer.children.push(se.new(this._root, { x: b, y: b }));
|
|
497
498
|
}
|
|
498
499
|
_afterNew() {
|
|
499
500
|
this._defaultThemes.push(re.new(this._root)), super._afterNew();
|
|
@@ -554,7 +555,7 @@ class w extends U {
|
|
|
554
555
|
}
|
|
555
556
|
}
|
|
556
557
|
w.className = "CurveChart";
|
|
557
|
-
w.classNames =
|
|
558
|
+
w.classNames = J.classNames.concat([w.className]);
|
|
558
559
|
class O extends w {
|
|
559
560
|
_prepareChildren() {
|
|
560
561
|
super._prepareChildren(), (this.isDirty("levelCount") || this.isDirty("orientation")) && this._updateMasks();
|
|
@@ -621,7 +622,7 @@ class H extends w {
|
|
|
621
622
|
}
|
|
622
623
|
_updateMasks() {
|
|
623
624
|
let e = this.plotContainer.innerWidth(), t = this.plotContainer.innerHeight(), s = Math.min(e, t) / 2, a = G(this.get("innerRadius", 0), s), i = (s - a) / this.get("levelCount", 1), r = G(this.get("yAxisRadius", b), i);
|
|
624
|
-
const o =
|
|
625
|
+
const o = ie(0, 0, s, s, a, 20, i, this.get("startAngle", 0), this.get("endAngle", 360));
|
|
625
626
|
this.yAxes.each((n) => {
|
|
626
627
|
n.get("renderer").set("axisLength", r), n.markDirtySize();
|
|
627
628
|
}), this.xAxes.each((n) => {
|
|
@@ -632,7 +633,7 @@ class H extends w {
|
|
|
632
633
|
}
|
|
633
634
|
H.className = "SpiralChart";
|
|
634
635
|
H.classNames = w.classNames.concat([H.className]);
|
|
635
|
-
class
|
|
636
|
+
class E extends Z {
|
|
636
637
|
constructor() {
|
|
637
638
|
super(...arguments), this.columns = this.addDisposer(new Y(D.new({}), () => K._new(this._root, {
|
|
638
639
|
position: "absolute",
|
|
@@ -709,9 +710,9 @@ class W extends Z {
|
|
|
709
710
|
}, [this.columns.template, e.columns.template]));
|
|
710
711
|
}
|
|
711
712
|
}
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
class
|
|
713
|
+
E.className = "CurveColumnSeries";
|
|
714
|
+
E.classNames = Z.classNames.concat([E.className]);
|
|
715
|
+
class W extends Q {
|
|
715
716
|
_afterNew() {
|
|
716
717
|
super._afterNew(), this.set("maskContent", !1), this.bulletsContainer.set("maskContent", !1), this.bulletsContainer.set("mask", k.new(this._root, {}));
|
|
717
718
|
}
|
|
@@ -759,9 +760,9 @@ class E extends J {
|
|
|
759
760
|
}
|
|
760
761
|
}
|
|
761
762
|
}
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
class j extends
|
|
763
|
+
W.className = "CurveLineSeries";
|
|
764
|
+
W.classNames = Q.classNames.concat([W.className]);
|
|
765
|
+
class j extends U {
|
|
765
766
|
_afterNew() {
|
|
766
767
|
this._settings.themeTags = L(this._settings.themeTags, ["curve", "cursor"]), super._afterNew();
|
|
767
768
|
}
|
|
@@ -792,7 +793,7 @@ class j extends Q {
|
|
|
792
793
|
_drawYLine(e, t) {
|
|
793
794
|
const s = this.get("xAxis"), a = this.get("yAxis"), i = a.get("renderer"), r = 1 - i.toAxisPosition(this.getPrivate("positionY", 0)), o = i.getPoints(s.get("start", 0), r, s.get("end", 1), r);
|
|
794
795
|
o && (r > a.get("start", 0) && r < a.get("end", 1) ? this.lineY.set("draw", (n) => {
|
|
795
|
-
o.length > 0 && (n.moveTo(o[0].x, o[0].y),
|
|
796
|
+
o.length > 0 && (n.moveTo(o[0].x, o[0].y), P(o, (l) => {
|
|
796
797
|
n.lineTo(l.x, l.y);
|
|
797
798
|
}));
|
|
798
799
|
}) : this.lineY.set("draw", (n) => {
|
|
@@ -816,21 +817,21 @@ class j extends Q {
|
|
|
816
817
|
let s = this.get("xAxis"), a = this.get("yAxis"), i = s.toAxisPosition(this.getPrivate("downPositionX", 0)), r = a.toAxisPosition(this.getPrivate("downPositionY", 0)), o = s.toAxisPosition(this.getPrivate("positionX", 0)), n = a.toAxisPosition(this.getPrivate("positionY", 0));
|
|
817
818
|
t == "zoomX" || t == "selectX" ? (r = a.get("start", 0), n = a.get("end", 1)) : (t == "zoomY" || t == "selectY") && (i = s.get("start", 0), o = s.get("end", 1));
|
|
818
819
|
const l = s.get("renderer").getPoints(i, r, o, n);
|
|
819
|
-
e.moveTo(l[0].x, l[0].y),
|
|
820
|
+
e.moveTo(l[0].x, l[0].y), P(l, (h) => {
|
|
820
821
|
e.lineTo(h.x, h.y);
|
|
821
822
|
}), e.closePath();
|
|
822
823
|
});
|
|
823
824
|
}
|
|
824
825
|
}
|
|
825
826
|
j.className = "CurveCursor";
|
|
826
|
-
j.classNames =
|
|
827
|
+
j.classNames = U.classNames.concat([j.className]);
|
|
827
828
|
export {
|
|
828
829
|
V as AxisRendererCurveX,
|
|
829
830
|
z as AxisRendererCurveY,
|
|
830
831
|
w as CurveChart,
|
|
831
|
-
|
|
832
|
+
E as CurveColumnSeries,
|
|
832
833
|
j as CurveCursor,
|
|
833
|
-
|
|
834
|
+
W as CurveLineSeries,
|
|
834
835
|
re as DefaultTheme,
|
|
835
836
|
O as SerpentineChart,
|
|
836
837
|
H as SpiralChart
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { a as e } from "./isObjectLike.z36Fu426.js";
|
|
2
|
+
import { i as s } from "./isSymbol.L0C2ND_U.js";
|
|
3
|
+
var f = /\s/;
|
|
4
|
+
function o(r) {
|
|
5
|
+
for (var t = r.length; t-- && f.test(r.charAt(t)); )
|
|
6
|
+
;
|
|
7
|
+
return t;
|
|
8
|
+
}
|
|
9
|
+
var c = /^\s+/;
|
|
10
|
+
function m(r) {
|
|
11
|
+
return r && r.slice(0, o(r) + 1).replace(c, "");
|
|
12
|
+
}
|
|
13
|
+
var n = NaN, a = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, b = /^0o[0-7]+$/i, y = parseInt;
|
|
14
|
+
function x(r) {
|
|
15
|
+
if (typeof r == "number")
|
|
16
|
+
return r;
|
|
17
|
+
if (s(r))
|
|
18
|
+
return n;
|
|
19
|
+
if (e(r)) {
|
|
20
|
+
var t = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
21
|
+
r = e(t) ? t + "" : t;
|
|
22
|
+
}
|
|
23
|
+
if (typeof r != "string")
|
|
24
|
+
return r === 0 ? r : +r;
|
|
25
|
+
r = m(r);
|
|
26
|
+
var i = p.test(r);
|
|
27
|
+
return i || b.test(r) ? y(r.slice(2), i ? 2 : 8) : a.test(r) ? n : +r;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
x as t
|
|
31
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as f } from "./isObjectLike.z36Fu426.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as p } from "./watch.DJF5K-8U.js";
|
|
3
3
|
import { i as g } from "./isSymbol.L0C2ND_U.js";
|
|
4
4
|
function l(r, t) {
|
|
5
5
|
for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { c as R } from "./capitalize.CIBKBL10.js";
|
|
2
|
+
import { C as s, T as h, U as M } from "./asset-link-format.ClaYu_v8.js";
|
|
3
|
+
import { P as u } from "./position-picker.DjnhxIKF.js";
|
|
4
|
+
const E = window.location.origin.includes("localhost:") ? "https://local.orangelogic.com" : window.location.origin;
|
|
5
|
+
function K(t, f, r, C = E) {
|
|
6
|
+
const c = new URL(C + "/" + t);
|
|
7
|
+
return Array.isArray(r) ? r.forEach((o) => {
|
|
8
|
+
o[1] && c.searchParams.append(o[0], o[1]);
|
|
9
|
+
}) : r && Object.keys(r).forEach((o) => {
|
|
10
|
+
r[o] && c.searchParams.append(o, r[o]);
|
|
11
|
+
}), fetch(c, f);
|
|
12
|
+
}
|
|
13
|
+
const H = "space-default";
|
|
14
|
+
var L = /* @__PURE__ */ ((t) => (t.Desktop = "desktop", t.Mobile = "mobile", t.Tablet = "tablet", t))(L || {});
|
|
15
|
+
const p = {
|
|
16
|
+
canvasWidth: "",
|
|
17
|
+
height: "",
|
|
18
|
+
id: "desktop",
|
|
19
|
+
maxWidth: "",
|
|
20
|
+
name: R(
|
|
21
|
+
"desktop"
|
|
22
|
+
/* Desktop */
|
|
23
|
+
)
|
|
24
|
+
}, w = {
|
|
25
|
+
canvasWidth: "770px",
|
|
26
|
+
height: "",
|
|
27
|
+
id: "tablet",
|
|
28
|
+
maxWidth: "1280px",
|
|
29
|
+
name: R(
|
|
30
|
+
"tablet"
|
|
31
|
+
/* Tablet */
|
|
32
|
+
)
|
|
33
|
+
}, T = {
|
|
34
|
+
canvasWidth: "320px",
|
|
35
|
+
height: "",
|
|
36
|
+
id: "mobile",
|
|
37
|
+
maxWidth: "480px",
|
|
38
|
+
name: R(
|
|
39
|
+
"mobile"
|
|
40
|
+
/* Mobile */
|
|
41
|
+
)
|
|
42
|
+
}, Y = [p, w, T];
|
|
43
|
+
var S = /* @__PURE__ */ ((t) => (t.All = "ALL", t.CanDelete = "CanDelete", t.CanDownload = "CanDownload", t.CanFind = "CanFind", t.CanManageRights = "CanManageRights", t.CanMove = "CanMove", t.CanRead = "CanRead", t.CanReadAll = "CanReadAll", t.CanReadAndWrite = "CanReadAndWrite", t.CanReadLarge = "CanReadLarge", t.CanReadMedium = "CanReadMedium", t.CanReadOriginal = "CanReadOriginal", t.CanShare = "CanShare", t.CanUpload = "CanUpload", t.CanWrite = "CanWrite", t.None = "NONE", t))(S || {}), O = /* @__PURE__ */ ((t) => (t.All = "all", t.Audio = "audio", t.Image = "image", t.Other = "other", t.Video = "video", t))(O || {}), N = /* @__PURE__ */ ((t) => (t.Content = "content", t.Template = "template", t))(N || {}), B = /* @__PURE__ */ ((t) => (t.Administrator = "Administrator", t.Designer = "Designer", t.Editor = "Editor", t))(B || {}), x = /* @__PURE__ */ ((t) => (t.Accordion = "BlockAccordion", t.Analytics = "BlockAnalytics", t.Audio = "BlockAudio", t.Button = "BlockButton", t.Carousel = "BlockCarousel", t.ColorSwatches = "BlockColorSwatches", t.Column = "BlockCell", t.ColumnGroup = "BlockColumns", t.DamView = "BlockDamView", t.Divider = "BlockDivider", t.DocumentViewer = "BlockDocumentViewer", t.FontKit = "BlockFontKit", t.Gallery = "BlockGallery", t.Header = "BlockHeader", t.Image = "BlockImage", t.RichText = "BlockRichText", t.SearchBox = "BlockSearchBox", t.TabGroup = "BlockTabs", t.Text = "BlockText", t.Timeline = "BlockTimeline", t.Video = "BlockVideo", t))(x || {});
|
|
44
|
+
const z = Object.values(x).filter(
|
|
45
|
+
(t) => t !== "BlockCell"
|
|
46
|
+
/* Column */
|
|
47
|
+
);
|
|
48
|
+
var I = /* @__PURE__ */ ((t) => (t.Carousel = "carousel", t.Gallery = "gallery", t))(I || {}), W = /* @__PURE__ */ ((t) => (t.Templates = "TEMPLATES", t.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", t.TranslatableTexts = "TRANSLATABLE_TEXTS", t))(W || {});
|
|
49
|
+
const A = "/AssetLink/", D = {
|
|
50
|
+
[u.BottomCenter]: s.South,
|
|
51
|
+
[u.BottomLeft]: s.Southwest,
|
|
52
|
+
[u.BottomRight]: s.Southeast,
|
|
53
|
+
[u.CenterCenter]: s.Center,
|
|
54
|
+
[u.CenterLeft]: s.West,
|
|
55
|
+
[u.CenterRight]: s.East,
|
|
56
|
+
[u.TopCenter]: s.North,
|
|
57
|
+
[u.TopLeft]: s.Northwest,
|
|
58
|
+
[u.TopRight]: s.Northeast
|
|
59
|
+
};
|
|
60
|
+
function U({
|
|
61
|
+
asset: t,
|
|
62
|
+
baseUrl: f,
|
|
63
|
+
extension: r,
|
|
64
|
+
options: C,
|
|
65
|
+
parameters: c,
|
|
66
|
+
transformations: o,
|
|
67
|
+
useSession: v = ""
|
|
68
|
+
}) {
|
|
69
|
+
if (f == null)
|
|
70
|
+
return "";
|
|
71
|
+
let n = f;
|
|
72
|
+
const g = o?.findLast(
|
|
73
|
+
(l) => l.key === h.Quality
|
|
74
|
+
);
|
|
75
|
+
if (g && (o = [
|
|
76
|
+
...o?.filter(
|
|
77
|
+
(l) => l.key !== h.Quality
|
|
78
|
+
) || [],
|
|
79
|
+
g
|
|
80
|
+
]), o) {
|
|
81
|
+
const l = [];
|
|
82
|
+
for (let e = 0; e < o.length; e++) {
|
|
83
|
+
const i = o[e];
|
|
84
|
+
if (i.key === h.Rotate) {
|
|
85
|
+
let a = i.value.rotation ?? 0;
|
|
86
|
+
for (; o[e + 1]?.key === h.Rotate; )
|
|
87
|
+
e++, a += o[e].value.rotation ?? 0;
|
|
88
|
+
a !== 0 && l.push({ key: h.Rotate, value: { rotation: a } });
|
|
89
|
+
} else
|
|
90
|
+
l.push(i);
|
|
91
|
+
}
|
|
92
|
+
o = l;
|
|
93
|
+
}
|
|
94
|
+
o && o.length > 0 && (n += "/t/"), o?.forEach(({ key: l, value: e }) => {
|
|
95
|
+
if (l === h.Resize) {
|
|
96
|
+
if (e.unit === M.AspectRatio && e.ratioWidth && e.ratioHeight) {
|
|
97
|
+
n += `re_ar_${e.ratioWidth}:${e.ratioHeight}/`;
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const i = [
|
|
101
|
+
...[
|
|
102
|
+
{
|
|
103
|
+
key: "re_w_",
|
|
104
|
+
value: Math.round(e.width ?? 0)
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
key: "re_h_",
|
|
108
|
+
value: Math.round(e.height ?? 0)
|
|
109
|
+
}
|
|
110
|
+
].filter((a) => a.value !== void 0).map((a) => ({
|
|
111
|
+
key: a.key,
|
|
112
|
+
value: Math.round(Number(a.value))
|
|
113
|
+
})),
|
|
114
|
+
{
|
|
115
|
+
key: "re_rm_",
|
|
116
|
+
value: "stretch"
|
|
117
|
+
}
|
|
118
|
+
];
|
|
119
|
+
i.forEach(({ key: a, value: d }, m) => {
|
|
120
|
+
n += `${a}${d}${m < i.length - 1 ? "," : ""}`;
|
|
121
|
+
}), n += "/";
|
|
122
|
+
}
|
|
123
|
+
if (l === h.Crop) {
|
|
124
|
+
const i = e.unit === M.AspectRatio && !!e.ratioWidth && !!e.ratioHeight, a = !e.disabledSize && !i, d = a && (e.x !== void 0 || e.y !== void 0), m = [
|
|
125
|
+
...[
|
|
126
|
+
{
|
|
127
|
+
key: "c_",
|
|
128
|
+
value: e.mode
|
|
129
|
+
},
|
|
130
|
+
...i ? [
|
|
131
|
+
{
|
|
132
|
+
key: "ar_",
|
|
133
|
+
value: `${e.ratioWidth}:${e.ratioHeight}`
|
|
134
|
+
}
|
|
135
|
+
] : [],
|
|
136
|
+
...a ? [
|
|
137
|
+
{
|
|
138
|
+
key: "c_w_",
|
|
139
|
+
value: Math.round(e.width ?? 0)
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: "c_h_",
|
|
143
|
+
value: Math.round(e.height ?? 0)
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
key: "c_x_",
|
|
147
|
+
value: Math.round(e.x ?? 0) === 0 && C?.omitZeroXY ? void 0 : Math.round(e.x ?? 0)
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
key: "c_y_",
|
|
151
|
+
value: Math.round(e.y ?? 0) === 0 && C?.omitZeroXY ? void 0 : Math.round(e.y ?? 0)
|
|
152
|
+
}
|
|
153
|
+
] : [],
|
|
154
|
+
...!d && e.focusMode && e.focusMode !== "manual" ? [
|
|
155
|
+
{
|
|
156
|
+
key: e.isFocusModeAuto ? "acm_" : "c_g_",
|
|
157
|
+
value: e.focusMode
|
|
158
|
+
}
|
|
159
|
+
] : [],
|
|
160
|
+
...!d && e.focusMode === "manual" && e.position ? [
|
|
161
|
+
{
|
|
162
|
+
key: "c_g_",
|
|
163
|
+
value: D[e.position]
|
|
164
|
+
}
|
|
165
|
+
] : []
|
|
166
|
+
].filter((_) => _.value !== void 0 && _.value !== null).map((_) => ({
|
|
167
|
+
key: _.key,
|
|
168
|
+
value: _.value
|
|
169
|
+
})),
|
|
170
|
+
...i ? [] : [
|
|
171
|
+
{
|
|
172
|
+
key: "c_whu_",
|
|
173
|
+
value: "pixel"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
];
|
|
177
|
+
m.forEach(({ key: _, value: $ }, y) => {
|
|
178
|
+
const b = ["c_w_", "c_h_", "c_x_", "c_y_"].includes(_);
|
|
179
|
+
n += `${_}${b ? Math.round(Number($)) : $}${y < m.length - 1 ? "," : ""}`;
|
|
180
|
+
}), n += "/";
|
|
181
|
+
}
|
|
182
|
+
if (l === h.Rotate && ([
|
|
183
|
+
{
|
|
184
|
+
key: "r_a_",
|
|
185
|
+
value: e.rotation
|
|
186
|
+
}
|
|
187
|
+
].filter((a) => a.value !== void 0).map((a) => ({
|
|
188
|
+
key: a.key,
|
|
189
|
+
value: Math.round(Number(a.value))
|
|
190
|
+
})).forEach(({ key: a, value: d }) => {
|
|
191
|
+
n += `${a}${d}`;
|
|
192
|
+
}), n += "/"), l === h.Quality) {
|
|
193
|
+
const i = [
|
|
194
|
+
{
|
|
195
|
+
key: "q_level_",
|
|
196
|
+
value: e.quality
|
|
197
|
+
}
|
|
198
|
+
].filter((a) => a.value !== void 0).map((a) => ({
|
|
199
|
+
key: a.key,
|
|
200
|
+
value: Math.round(Number(a.value))
|
|
201
|
+
}));
|
|
202
|
+
i.forEach(({ key: a, value: d }, m) => {
|
|
203
|
+
n += `${a}${d}${m < i.length - 1 ? "," : ""}`;
|
|
204
|
+
}), n += "/";
|
|
205
|
+
}
|
|
206
|
+
if (l === h.Metadata) {
|
|
207
|
+
const i = [
|
|
208
|
+
{
|
|
209
|
+
key: "fl_keep_metadata",
|
|
210
|
+
value: e.keepMetadata
|
|
211
|
+
}
|
|
212
|
+
].filter((a) => a.value !== void 0).map((a) => ({ key: a.key, value: a.value }));
|
|
213
|
+
i.forEach(({ key: a }, d) => {
|
|
214
|
+
n += `${a}${d < i.length - 1 ? "," : ""}`;
|
|
215
|
+
}), n += "/";
|
|
216
|
+
}
|
|
217
|
+
}), r && (n += `${t?.identifier ?? crypto.randomUUID()}${r}`);
|
|
218
|
+
const k = [];
|
|
219
|
+
return c && c.length > 0 && c.forEach(({ key: l, value: e }) => {
|
|
220
|
+
k.push(
|
|
221
|
+
`${encodeURIComponent(l.trim())}=${encodeURIComponent(e.trim())}`
|
|
222
|
+
);
|
|
223
|
+
}), f && v && k.push(`UseSession=${encodeURIComponent(v)}`), k.length > 0 && (n += `?${k.join("&")}`), n.endsWith("/") && (n = n.slice(0, -1)), n;
|
|
224
|
+
}
|
|
225
|
+
function Q(t, f) {
|
|
226
|
+
if (!t || !f?.length)
|
|
227
|
+
return t;
|
|
228
|
+
const r = U({ baseUrl: "", transformations: f }).replace(
|
|
229
|
+
/\/t\//g,
|
|
230
|
+
""
|
|
231
|
+
);
|
|
232
|
+
if (!r)
|
|
233
|
+
return t;
|
|
234
|
+
const C = t.indexOf(A);
|
|
235
|
+
if (C < 0)
|
|
236
|
+
return `${t}/t/${r}`;
|
|
237
|
+
const c = t.slice(0, C + A.length), o = t.slice(C + A.length), v = o.indexOf("/t/");
|
|
238
|
+
if (v >= 0) {
|
|
239
|
+
const g = o.slice(0, v);
|
|
240
|
+
return `${c}${g}/t/${r}`;
|
|
241
|
+
}
|
|
242
|
+
const n = o.indexOf("/");
|
|
243
|
+
if (n >= 0) {
|
|
244
|
+
const g = o.slice(0, n), k = o.slice(n);
|
|
245
|
+
return `${c}${g}/t/${r}${k}`;
|
|
246
|
+
}
|
|
247
|
+
return `${t}/t/${r}`;
|
|
248
|
+
}
|
|
249
|
+
export {
|
|
250
|
+
O as A,
|
|
251
|
+
x as B,
|
|
252
|
+
L as D,
|
|
253
|
+
N as E,
|
|
254
|
+
S as P,
|
|
255
|
+
H as S,
|
|
256
|
+
B as T,
|
|
257
|
+
Q as a,
|
|
258
|
+
U as b,
|
|
259
|
+
I as c,
|
|
260
|
+
W as d,
|
|
261
|
+
z as e,
|
|
262
|
+
K as f,
|
|
263
|
+
Y as g
|
|
264
|
+
};
|