@sme.up/ketchup2 1.18.0 → 1.20.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/README.md +10 -0
- package/dist/{_basePickBy-B1R94gYg.js → _basePickBy-C8gUNMGY.js} +29 -30
- package/dist/_basePickBy-NdKe-cD_.cjs +1 -0
- package/dist/_baseUniq-Dv-q5nnA.cjs +1 -0
- package/dist/_baseUniq-pRhJsK5E.js +614 -0
- package/dist/{arc-DvVEbzqi.js → arc-BTr-sA0j.js} +1 -1
- package/dist/{arc-BDhRalCq.cjs → arc-CvhYFIsC.cjs} +1 -1
- package/dist/{architecture-U656AL7Q-Bf9nK-g5.cjs → architecture-7HQA4BMR-BLIf8Din.cjs} +1 -1
- package/dist/{architecture-U656AL7Q-xWSQ4SRv.js → architecture-7HQA4BMR-BUowbcS-.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-CfqXQSfK.cjs → architectureDiagram-VXUJARFQ-J2GQVwAa.cjs} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-DZV4IIVV.js → architectureDiagram-VXUJARFQ-KuL8UqNh.js} +3 -3
- package/dist/assets/imageListAssets.d.ts +3 -1
- package/dist/assets/imageListAssets.d.ts.map +1 -1
- package/dist/assets/layoutAssets.d.ts +1 -0
- package/dist/assets/layoutAssets.d.ts.map +1 -1
- package/dist/assets/svg/chevron-left.svg +1 -0
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button/button-types.d.ts +3 -0
- package/dist/basic-components/button/button-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +8 -0
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/basic-components/date-picker/date-picker-calendar/date-picker-calendar.d.ts.map +1 -1
- package/dist/basic-components/icon/icon.d.ts.map +1 -1
- package/dist/basic-components/image/image-types.d.ts +19 -3
- package/dist/basic-components/image/image-types.d.ts.map +1 -1
- package/dist/basic-components/image/image-utils.d.ts +3 -1
- package/dist/basic-components/image/image-utils.d.ts.map +1 -1
- package/dist/basic-components/image/image.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell-types.d.ts +20 -0
- package/dist/basic-components/image-cell/image-cell-types.d.ts.map +1 -0
- package/dist/basic-components/image-cell/image-cell.d.ts +3 -0
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -0
- package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
- package/dist/basic-components/slider/slider-types.d.ts +8 -0
- package/dist/basic-components/slider/slider-types.d.ts.map +1 -0
- package/dist/basic-components/slider/slider.d.ts +4 -0
- package/dist/basic-components/slider/slider.d.ts.map +1 -0
- package/dist/basic-components/text/text-types.d.ts +6 -0
- package/dist/basic-components/text/text-types.d.ts.map +1 -1
- package/dist/basic-components/text/text.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-types.d.ts +25 -55
- package/dist/basic-components/text-editor/text-editor-types.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts +60 -21
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/basic-components/time-picker/time-picker.d.ts.map +1 -1
- package/dist/basic-components/time-picker/time-utils.d.ts +1 -1
- package/dist/basic-components/time-picker/time-utils.d.ts.map +1 -1
- package/dist/{blockDiagram-VD42YOAC-BkkV6LWv.cjs → blockDiagram-VD42YOAC-Ba3SBDR4.cjs} +1 -1
- package/dist/{blockDiagram-VD42YOAC-tKn8dzo0.js → blockDiagram-VD42YOAC-D3T_0uth.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-B0gjRSdn.js → c4Diagram-YG6GDRKO-B40ITrGd.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-RBwhYEc2.cjs → c4Diagram-YG6GDRKO-BUaAylz_.cjs} +1 -1
- package/dist/{channel-3tFaSeKk.js → channel--rx2lT0F.js} +1 -1
- package/dist/channel-Dt79e-cu.cjs +1 -0
- package/dist/{chunk-4BX2VUAB-D3u0w2gk.js → chunk-4BX2VUAB-CfrupZb7.js} +1 -1
- package/dist/{chunk-4BX2VUAB-Boz0nX9s.cjs → chunk-4BX2VUAB-Dhxp-w4a.cjs} +1 -1
- package/dist/{chunk-55IACEB6-BpT8GkSp.js → chunk-55IACEB6-9tNzxVwb.js} +1 -1
- package/dist/{chunk-55IACEB6-DVWliiDK.cjs → chunk-55IACEB6-CJWVjEhq.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-DH5WVTGe.js → chunk-B4BG7PRW-C3MxKVDt.js} +4 -4
- package/dist/{chunk-B4BG7PRW-Bmq8n4Hs.cjs → chunk-B4BG7PRW-DGQFbF6h.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-DVb6521f.cjs → chunk-DI55MBZ5-CwU6WArz.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-CnYYh3n2.js → chunk-DI55MBZ5-nuV4vxbH.js} +3 -3
- package/dist/{chunk-FMBD7UC4-CfbK5tDm.js → chunk-FMBD7UC4-BhY7QDyk.js} +1 -1
- package/dist/{chunk-FMBD7UC4-Cou9fU3U.cjs → chunk-FMBD7UC4-DM5LjWOV.cjs} +1 -1
- package/dist/{chunk-QN33PNHL-CCaezjI9.js → chunk-QN33PNHL-BApbdpOt.js} +1 -1
- package/dist/{chunk-QN33PNHL-bDqDrxJR.cjs → chunk-QN33PNHL-Blfly62F.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-agaSkAKB.cjs → chunk-QZHKN3VN-C9MsxZgL.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-B_jBa8Xi.js → chunk-QZHKN3VN-D5LoW9Sd.js} +1 -1
- package/dist/{chunk-TZMSLE5B-L3IDdUIe.js → chunk-TZMSLE5B-CvItNCEw.js} +1 -1
- package/dist/{chunk-TZMSLE5B-DhehdAHS.cjs → chunk-TZMSLE5B-evlB5DT9.cjs} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-vQpFohnj.js → classDiagram-2ON5EDUG-B3owM_j1.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-SmUoP7ZW.cjs → classDiagram-2ON5EDUG-B_LWfwLo.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-vQpFohnj.js → classDiagram-v2-WZHVMYZB-B3owM_j1.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-SmUoP7ZW.cjs → classDiagram-v2-WZHVMYZB-B_LWfwLo.cjs} +1 -1
- package/dist/clone-CfJeeBmD.cjs +1 -0
- package/dist/{clone-YOXgx4TW.js → clone-DCIVuvjh.js} +1 -1
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/dash-list/assets/dash-list.data.d.ts +7 -0
- package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -0
- package/dist/components/dash-list/dash-list-layouts.d.ts +3 -0
- package/dist/components/dash-list/dash-list-layouts.d.ts.map +1 -0
- package/dist/components/dash-list/dash-list-types.d.ts +1 -1
- package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.d.ts +1 -0
- package/dist/components/dash-list/dash-list.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.utils.d.ts +12 -0
- package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -0
- package/dist/components/dash-list/dash-list.utils.test.d.ts +2 -0
- package/dist/components/dash-list/dash-list.utils.test.d.ts.map +1 -0
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +3 -3
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
- package/dist/components/htm/htm-types.d.ts +11 -0
- package/dist/components/htm/htm-types.d.ts.map +1 -1
- package/dist/components/htm/htm-utils.d.ts +2 -0
- package/dist/components/htm/htm-utils.d.ts.map +1 -0
- package/dist/components/htm/htm.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-catalog.d.ts +5 -0
- package/dist/components/image-list/components/image-list-catalog.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-compact.d.ts +5 -0
- package/dist/components/image-list/components/image-list-compact.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-drill-down.d.ts +1 -1
- package/dist/components/image-list/components/image-list-drill-down.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-explorer.d.ts +5 -0
- package/dist/components/image-list/components/image-list-explorer.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-modal.d.ts +5 -0
- package/dist/components/image-list/components/image-list-modal.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-slideshow.d.ts +5 -0
- package/dist/components/image-list/components/image-list-slideshow.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-tree.d.ts +5 -0
- package/dist/components/image-list/components/image-list-tree.d.ts.map +1 -0
- package/dist/components/image-list/hooks/useNavigation.d.ts +2 -2
- package/dist/components/image-list/hooks/useNavigation.d.ts.map +1 -1
- package/dist/components/image-list/hooks/useSelection.d.ts +3 -19
- package/dist/components/image-list/hooks/useSelection.d.ts.map +1 -1
- package/dist/components/image-list/image-list-types.d.ts +98 -0
- package/dist/components/image-list/image-list-types.d.ts.map +1 -0
- package/dist/components/image-list/image-list-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list.d.ts +1 -1
- package/dist/components/image-list/image-list.d.ts.map +1 -1
- package/dist/components/input-panel/assets/data.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/{cose-bilkent-S5V4N54A-DD8g8ODW.js → cose-bilkent-S5V4N54A-B15Z94E_.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-DdSoONjd.cjs → cose-bilkent-S5V4N54A-DM3EP0yS.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-B2AtgfKt.cjs → dagre-6UL2VRFP-DEQO1pns.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-BjOVGWYT.js → dagre-6UL2VRFP-DfETlmJM.js} +6 -6
- package/dist/{diagram-PSM6KHXK-D3n0zVfd.js → diagram-PSM6KHXK-DZEPZ91u.js} +4 -4
- package/dist/{diagram-PSM6KHXK-D_fCWLTY.cjs → diagram-PSM6KHXK-YdWD1N9p.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-D4IV84fI.js → diagram-QEK2KX5R-BkLE9mN5.js} +3 -3
- package/dist/{diagram-QEK2KX5R-CIX1p2TE.cjs → diagram-QEK2KX5R-D2d9BHnp.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG-DQyeu84g.cjs → diagram-S2PKOQOG-BiKgpGB-.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG-D_bz5gIz.js → diagram-S2PKOQOG-DtoofFdx.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-CA3u15D8.cjs → erDiagram-Q2GNP2WA-Cp_pGHiX.cjs} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-FaG72Sma.js → erDiagram-Q2GNP2WA-bcbO2y0W.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-CR_U7F3i.cjs → flowDiagram-NV44I4VS-2PRsk4Ng.cjs} +1 -1
- package/dist/{flowDiagram-NV44I4VS-Cqs3UFBQ.js → flowDiagram-NV44I4VS-CnOAtNeX.js} +5 -5
- package/dist/functional-components/badge/badge-types.d.ts +0 -4
- package/dist/functional-components/badge/badge-types.d.ts.map +1 -1
- package/dist/functional-components/badge/badge.d.ts.map +1 -1
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts +16 -0
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +1 -0
- package/dist/functional-components/gantt/gantt-assets.d.ts +36 -0
- package/dist/functional-components/gantt/gantt-assets.d.ts.map +1 -0
- package/dist/functional-components/gantt/gantt.d.ts +12 -0
- package/dist/functional-components/gantt/gantt.d.ts.map +1 -0
- package/dist/functional-components/gantt/grid/gantt-grid.d.ts +19 -0
- package/dist/functional-components/gantt/grid/gantt-grid.d.ts.map +1 -0
- package/dist/functional-components/gantt/header/gantt-header.d.ts +19 -0
- package/dist/functional-components/gantt/header/gantt-header.d.ts.map +1 -0
- package/dist/functional-components/gantt/types/gantt-types.d.ts +35 -0
- package/dist/functional-components/gantt/types/gantt-types.d.ts.map +1 -0
- package/dist/functional-components/layout/layout-utils.test.d.ts +2 -0
- package/dist/functional-components/layout/layout-utils.test.d.ts.map +1 -0
- package/dist/functional-components/task-list/task-list-types.d.ts +19 -0
- package/dist/functional-components/task-list/task-list-types.d.ts.map +1 -0
- package/dist/functional-components/task-list/task-list.d.ts +17 -0
- package/dist/functional-components/task-list/task-list.d.ts.map +1 -0
- package/dist/{ganttDiagram-JELNMOA3-64EHKpud.js → ganttDiagram-JELNMOA3-BcOZN9E7.js} +2 -2
- package/dist/{ganttDiagram-JELNMOA3-CN1LWzl3.cjs → ganttDiagram-JELNMOA3-aZhBzsma.cjs} +1 -1
- package/dist/{gitGraph-F6HP7TQM-BHF2Px3a.js → gitGraph-G5XIXVHT-D_ZnRoA3.js} +1 -1
- package/dist/{gitGraph-F6HP7TQM-g-uFxP-W.cjs → gitGraph-G5XIXVHT-a2ITBtZu.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-gkspcAEl.cjs → gitGraphDiagram-V2S2FVAM-BLvAfEl6.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-BMZgJCnk.js → gitGraphDiagram-V2S2FVAM-DvoD1D--.js} +4 -4
- package/dist/{graph-Bl9cAjm8.js → graph-CPGP7Kkj.js} +2 -3
- package/dist/graph-pGbubcso.cjs +1 -0
- package/dist/hooks/useGanttMath.d.ts +37 -0
- package/dist/hooks/useGanttMath.d.ts.map +1 -0
- package/dist/hooks/useLocate.d.ts +4 -0
- package/dist/hooks/useLocate.d.ts.map +1 -0
- package/dist/hooks/useObjectProtocol.d.ts +1 -1
- package/dist/hooks/useObjectProtocol.d.ts.map +1 -1
- package/dist/{index-D_kILrIh.js → index-AIN_sfAL.js} +31445 -30187
- package/dist/{index-DIIaXWro.cjs → index-BE0uj6Kq.cjs} +165 -159
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/info-VBDWY6EO-n1_PqhAh.js +5 -0
- package/dist/{info-NVLQJR56-srf2MBEA.cjs → info-VBDWY6EO-v-TJAbsL.cjs} +1 -1
- package/dist/{infoDiagram-WHAUD3N6-xpWWBRHb.js → infoDiagram-HS3SLOUP-B-n7MrhT.js} +2 -2
- package/dist/{infoDiagram-WHAUD3N6-DA8ixL4V.cjs → infoDiagram-HS3SLOUP-GsYXQPjV.cjs} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-DF1jSlK-.cjs → journeyDiagram-XKPGCS4Q-C1WcV6UH.cjs} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-CiHV35D-.js → journeyDiagram-XKPGCS4Q-DEPyxmPk.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-BWGryLGw.js → kanban-definition-3W4ZIXB7-C1RETgUl.js} +2 -2
- package/dist/{kanban-definition-3W4ZIXB7-gS0oGytB.cjs → kanban-definition-3W4ZIXB7-Djnr7BWm.cjs} +1 -1
- package/dist/ketchup2.cjs.js +1 -1
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +13 -12
- package/dist/{layout-DqfckNJZ.js → layout-C7uzBsO2.js} +245 -242
- package/dist/layout-CX8BaqLE.cjs +1 -0
- package/dist/{linear-BwTuJ7Vo.js → linear-D-FoeDBi.js} +1 -1
- package/dist/{linear-CDB37PVm.cjs → linear-D0ScOGl8.cjs} +1 -1
- package/dist/locale/en/translation.json.d.ts +2 -1
- package/dist/locale/it/translation.json.d.ts +2 -1
- package/dist/mermaid-parser.core-Bm4Zihc2.js +17907 -0
- package/dist/mermaid-parser.core-V2Ia6xQA.cjs +160 -0
- package/dist/{mindmap-definition-VGOIOE7T-Dbf-IjJg.cjs → mindmap-definition-VGOIOE7T-B1g3wih8.cjs} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-CHXB52JE.js → mindmap-definition-VGOIOE7T-BjtY2HVC.js} +3 -3
- package/dist/{packet-BFZMPI3H-CHjUkc3K.cjs → packet-DYOGHKS2-Byn4WcaT.cjs} +1 -1
- package/dist/{packet-BFZMPI3H-CWlKzkUT.js → packet-DYOGHKS2-DnSyd7X1.js} +1 -1
- package/dist/{pie-7BOR55EZ-DF8jDFu6.cjs → pie-VRWISCQL-B9kCrR1I.cjs} +1 -1
- package/dist/pie-VRWISCQL-qJwQfoRY.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-CUXoHrUo.cjs → pieDiagram-ADFJNKIX-DeQsDnRF.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-BS47ESx3.js → pieDiagram-ADFJNKIX-DwV9fm91.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-BDCNfr1M.js → quadrantDiagram-AYHSOK5B-BXXIGHDV.js} +2 -2
- package/dist/{quadrantDiagram-AYHSOK5B-DR-GeD40.cjs → quadrantDiagram-AYHSOK5B-D-z2CDv9.cjs} +1 -1
- package/dist/radar-ZZBFDIW7-B8fR7Pl7.js +5 -0
- package/dist/{radar-NHE76QYJ-CTPycyar.cjs → radar-ZZBFDIW7-CGJlkNKM.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-vOYjKcHP.cjs → requirementDiagram-UZGBJVZJ--NyPTKS5.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-CUfIh-7P.js → requirementDiagram-UZGBJVZJ-BZG_Rjra.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-Dn5DcHZn.cjs → sankeyDiagram-TZEHDZUN-CSsblZ2E.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-Ddj4CqOU.js → sankeyDiagram-TZEHDZUN-CX5LDzH5.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-DCp5IF0l.js → sequenceDiagram-WL72ISMW-CUf7lRNX.js} +3 -3
- package/dist/{sequenceDiagram-WL72ISMW-DzATBRBb.cjs → sequenceDiagram-WL72ISMW-Dpp2ticd.cjs} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-Du6jFWWB.cjs → stateDiagram-FKZM4ZOC-Dr2Plv1c.cjs} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-CYSSqqZ6.js → stateDiagram-FKZM4ZOC-hIBIo90x.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-BAYfudRi.cjs → stateDiagram-v2-4FDKWEC3-BXZbP3Hb.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-Cxj_JYYu.js → stateDiagram-v2-4FDKWEC3-Cz96Kt4v.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-Dw1JJhHl.js → timeline-definition-IT6M3QCI-BqIdYZmM.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-fZZ7KhwG.cjs → timeline-definition-IT6M3QCI-xvTk_Tcu.cjs} +1 -1
- package/dist/{treemap-KMMF4GRG-DOx8Kmfm.js → treemap-GDKQZRPO-BG615Urz.js} +1 -1
- package/dist/{treemap-KMMF4GRG-DIf-BmJb.cjs → treemap-GDKQZRPO-NVqCtfwu.cjs} +1 -1
- package/dist/types/data-structures.d.ts +8 -3
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/translation.d.ts +2 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/utils/display-value.d.ts.map +1 -1
- package/dist/utils/wbs-utils.d.ts +69 -0
- package/dist/utils/wbs-utils.d.ts.map +1 -0
- package/dist/utils/wrapper-types/boolean.d.ts.map +1 -1
- package/dist/utils/wrapper-types/date.d.ts.map +1 -1
- package/dist/utils/wrapper-types/time/time-utils.d.ts +16 -3
- package/dist/utils/wrapper-types/time/time-utils.d.ts.map +1 -1
- package/dist/utils/wrapper-types/time/time.d.ts +1 -1
- package/dist/utils/wrapper-types/time/time.d.ts.map +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-CHFF9E0J.js → xychartDiagram-PRI3JC2R-B3d9DPi-.js} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-Cg1xVYiM.cjs → xychartDiagram-PRI3JC2R-KXtL-28r.cjs} +1 -1
- package/package.json +10 -5
- package/dist/_baseIsEqual-CEeDg5JY.cjs +0 -1
- package/dist/_baseIsEqual-DGkLOOUv.js +0 -330
- package/dist/_basePickBy-DaIc-wgz.cjs +0 -1
- package/dist/_baseUniq-DTfHgbiF.cjs +0 -1
- package/dist/_baseUniq-Fo_obzds.js +0 -292
- package/dist/channel-0VH3jwlj.cjs +0 -1
- package/dist/clone-B_ggB8XZ.cjs +0 -1
- package/dist/cloneDeep-BKtU4IKb.js +0 -8
- package/dist/cloneDeep-CAsH5xlb.cjs +0 -1
- package/dist/components/image-list/components/image-list-item.d.ts +0 -3
- package/dist/components/image-list/components/image-list-item.d.ts.map +0 -1
- package/dist/components/image-list/types/image-list-types.d.ts +0 -69
- package/dist/components/image-list/types/image-list-types.d.ts.map +0 -1
- package/dist/components/image-list/utils/image-list-utils.d.ts +0 -7
- package/dist/components/image-list/utils/image-list-utils.d.ts.map +0 -1
- package/dist/graph-BAbMYZfV.cjs +0 -1
- package/dist/info-NVLQJR56-Coo8EJ5Z.js +0 -5
- package/dist/layout-BAOkTpMt.cjs +0 -1
- package/dist/mermaid-parser.core-2c535U97.cjs +0 -128
- package/dist/mermaid-parser.core-Kh2GaZjn.js +0 -12957
- package/dist/pie-7BOR55EZ-ev26J3c5.js +0 -5
- package/dist/quill-CL1W1hro.js +0 -6687
- package/dist/quill-izWMIyId.cjs +0 -49
- package/dist/radar-NHE76QYJ-CrwtClJN.js +0 -5
package/dist/{architectureDiagram-VXUJARFQ-DZV4IIVV.js → architectureDiagram-VXUJARFQ-KuL8UqNh.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aJ as Ze, _ as dt, H as ke, V as qe, l as Se, b as Qe, a as Je, p as Ke, q as je, g as _e, s as tr, y as er, D as rr, E as ir, F as ar, c as Ee, am as me, aK as pe, i as nr, d as or, x as sr, aL as hr, aM as lr } from "./index-
|
|
2
|
-
import { p as fr } from "./chunk-4BX2VUAB-
|
|
3
|
-
import { p as cr } from "./mermaid-parser.core-
|
|
1
|
+
import { aJ as Ze, _ as dt, H as ke, V as qe, l as Se, b as Qe, a as Je, p as Ke, q as je, g as _e, s as tr, y as er, D as rr, E as ir, F as ar, c as Ee, am as me, aK as pe, i as nr, d as or, x as sr, aL as hr, aM as lr } from "./index-AIN_sfAL.js";
|
|
2
|
+
import { p as fr } from "./chunk-4BX2VUAB-CfrupZb7.js";
|
|
3
|
+
import { p as cr } from "./mermaid-parser.core-Bm4Zihc2.js";
|
|
4
4
|
import { c as Fe } from "./cytoscape.esm-Cvf3sx9F.js";
|
|
5
5
|
var he = { exports: {} }, le = { exports: {} }, fe = { exports: {} }, gr = fe.exports, we;
|
|
6
6
|
function ur() {
|
|
@@ -6,7 +6,9 @@ export declare const sampleData: DataNode[];
|
|
|
6
6
|
/**
|
|
7
7
|
* Generates a list of DataNode items with diverse types and properties for testing.
|
|
8
8
|
* @param count - The number of items to generate
|
|
9
|
+
* @param maxDepth - Optional maximum depth for recursive children generation
|
|
10
|
+
* @param currentDepth - Internal parameter for recursion tracking
|
|
9
11
|
* @returns An array of DataNode objects with varying structures and content
|
|
10
12
|
*/
|
|
11
|
-
export declare const generateDiverseData: (count: number) => DataNode[];
|
|
13
|
+
export declare const generateDiverseData: (count: number, maxDepth?: number, currentDepth?: number) => DataNode[];
|
|
12
14
|
//# sourceMappingURL=imageListAssets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imageListAssets.d.ts","sourceRoot":"","sources":["../../src/assets/imageListAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAEnD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"imageListAssets.d.ts","sourceRoot":"","sources":["../../src/assets/imageListAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAEnD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,QAAQ,EA0BhC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,EACb,WAAU,MAAU,EACpB,eAAc,MAAU,KACvB,QAAQ,EAgEV,CAAA"}
|
|
@@ -14,4 +14,5 @@ export declare const sectionsLayout: ({ error, }: {
|
|
|
14
14
|
export declare const inlineLayout: LayoutProps;
|
|
15
15
|
export declare const layoutWithSameSectionId: LayoutProps;
|
|
16
16
|
export declare const layoutWithMultipleTabSingleTitle: LayoutProps;
|
|
17
|
+
export declare const layoutWithFieldWithoutValue: LayoutProps;
|
|
17
18
|
//# sourceMappingURL=layoutAssets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layoutAssets.d.ts","sourceRoot":"","sources":["../../src/assets/layoutAssets.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAA;AAG1E,eAAO,MAAM,aAAa,GAAI,kDAG3B;IACD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,KAAG,WAsEH,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAipB3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,WA6FxB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,WA8C/B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAsH3B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,WA2HjC,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,YAE5B;IACD,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,KAAG,WAsKF,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,WAgI1B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,WAiDrC,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,WAsG9C,CAAA"}
|
|
1
|
+
{"version":3,"file":"layoutAssets.d.ts","sourceRoot":"","sources":["../../src/assets/layoutAssets.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAA;AAG1E,eAAO,MAAM,aAAa,GAAI,kDAG3B;IACD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,KAAG,WAsEH,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAipB3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,WA6FxB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,WA8C/B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAsH3B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,WA2HjC,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,YAE5B;IACD,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,KAAG,WAsKF,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,WAgI1B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,WAiDrC,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,WAsG9C,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,WAyDzC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M30.83 14.83L28 12 16 24l12 12 2.83-2.83L21.66 24z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../src/basic-components/autocomplete/autocomplete.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAgBxD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../src/basic-components/autocomplete/autocomplete.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAgBxD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAoUpD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button/button-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAC3D,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACd,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,CAAA;IAE3B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;OAGG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAE5B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
|
|
1
|
+
{"version":3,"file":"button-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button/button-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAC3D,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACd,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,CAAA;IAE3B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;OAGG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAE5B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DataCell, DataObjClass, ComponentsType } from '../../types/data-structures';
|
|
2
|
+
import { DescrMode } from '../../types/global';
|
|
2
3
|
import { ArrayElementBindProps, CellBindEventArgs } from './cell-types';
|
|
3
4
|
export declare const createCell: (cell: DataCell, args: CellBindEventArgs) => DataCell;
|
|
4
5
|
/**
|
|
@@ -19,4 +20,11 @@ export declare const createCellBindEventArgs: (cell: DataCell) => CellBindEventA
|
|
|
19
20
|
export declare const computeShape: (objClass: DataObjClass | undefined, shape: string | undefined, size: number | undefined) => string | undefined;
|
|
20
21
|
/** Method to evaluate the value of isVisualOnly based on parentComponent and isEditable state */
|
|
21
22
|
export declare const computeVisualOnly: (component: ComponentsType, isEditable?: boolean) => boolean;
|
|
23
|
+
/** Method to compute the dimensions of the image cell based on shape and size */
|
|
24
|
+
export declare const computeImageDimensions: (component: ComponentsType) => {
|
|
25
|
+
width: string;
|
|
26
|
+
height: string;
|
|
27
|
+
};
|
|
28
|
+
/** Method to compute the size of the cell based on DescrMode */
|
|
29
|
+
export declare const computeSize: (DescrMode: DescrMode | undefined) => number;
|
|
22
30
|
//# sourceMappingURL=cell-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,YAAY,EACZ,cAAc,
|
|
1
|
+
{"version":3,"file":"cell-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,YAAY,EACZ,cAAc,EAEf,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAU9C,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEvE,eAAO,MAAM,UAAU,GACrB,MAAM,QAAQ,EACd,MAAM,iBAAiB,KACtB,QAWF,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GACtC,MAAM,QAAQ,KACb,qBAAqB,EAUvB,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,QAAQ,EACd,UAAU,qBAAqB,EAAE,KAChC,QAeF,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,MAAM,QAAQ,KAAG,iBAUxD,CAAA;AAED,8CAA8C;AAC9C,eAAO,MAAM,YAAY,GACvB,UAAU,YAAY,GAAG,SAAS,EAClC,OAAO,MAAM,GAAG,SAAS,EACzB,MAAM,MAAM,GAAG,SAAS,KACvB,MAAM,GAAG,SAkCX,CAAA;AAED,iGAAiG;AACjG,eAAO,MAAM,iBAAiB,GAC5B,WAAW,cAAc,EACzB,aAAa,OAAO,KACnB,OAaF,CAAA;AAED,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,GACjC,WAAW,cAAc,KACxB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAUjC,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,WAAW,GAAI,WAAW,SAAS,GAAG,SAAS,KAAG,MAW9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"AAmCA,OAAO,EAML,SAAS,EAGV,MAAM,cAAc,CAAA;AA8BrB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA4oB7B,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/basic-components/checkbox/checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIhD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/basic-components/checkbox/checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIhD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAoD5C,CAAA"}
|
package/dist/basic-components/date-picker/date-picker-calendar/date-picker-calendar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker-calendar.d.ts","sourceRoot":"","sources":["../../../../src/basic-components/date-picker/date-picker-calendar/date-picker-calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"date-picker-calendar.d.ts","sourceRoot":"","sources":["../../../../src/basic-components/date-picker/date-picker-calendar/date-picker-calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAA4D,MAAM,OAAO,CAAA;AAcrF,UAAU,eAAe;IACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,CAAA;IAC5B,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC;QAClC,KAAK,EAAE,IAAI,CAAA;QACX,GAAG,EAAE,IAAI,CAAA;KACV,CAAC,CAAA;IACF,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;CAC7C;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EAAE,oBAAoB,EAClC,YAAY,EACZ,kBAAuB,EACvB,YAAY,EACZ,SAAS,GACV,EAAE,eAAe,2CAyoBjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/basic-components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/basic-components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0HpC,CAAA"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { DataCell, DataNode } from '../../types/data-structures';
|
|
1
|
+
import { DataCell, DataNode, DataTree } from '../../types/data-structures';
|
|
2
2
|
import { DescrMode } from '../../types/global';
|
|
3
3
|
import { BooleanValue } from '../../types/legacy';
|
|
4
|
-
export interface ImageProps
|
|
4
|
+
export interface ImageProps {
|
|
5
|
+
/**
|
|
6
|
+
* Data of the image to display
|
|
7
|
+
*/
|
|
8
|
+
data: DataTree | DataNode | undefined;
|
|
5
9
|
/**
|
|
6
10
|
* Display mode for the image text: "Code" (obj.k), "Text" (decode), or "Both"
|
|
7
11
|
*/
|
|
@@ -14,6 +18,14 @@ export interface ImageProps extends DataNode {
|
|
|
14
18
|
* Enable drag functionality for this image
|
|
15
19
|
*/
|
|
16
20
|
Drag?: BooleanValue;
|
|
21
|
+
/**
|
|
22
|
+
* Enable the image to appear selected
|
|
23
|
+
*/
|
|
24
|
+
selected?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Enables img quick actions mode
|
|
27
|
+
*/
|
|
28
|
+
QuickActions?: BooleanValue;
|
|
17
29
|
/**
|
|
18
30
|
* Fired when image is clicked
|
|
19
31
|
*/
|
|
@@ -29,7 +41,7 @@ export interface ImageProps extends DataNode {
|
|
|
29
41
|
/**
|
|
30
42
|
* Fired on mouse enter, returns quick action buttons
|
|
31
43
|
*/
|
|
32
|
-
|
|
44
|
+
onActionsRequest?: (node: DataNode) => Promise<DataCell[]>;
|
|
33
45
|
/**
|
|
34
46
|
* Fired when a quick action button is clicked
|
|
35
47
|
*/
|
|
@@ -50,6 +62,10 @@ export interface ImageProps extends DataNode {
|
|
|
50
62
|
* Fired when dragging over this image
|
|
51
63
|
*/
|
|
52
64
|
onDragOver?: (e: React.DragEvent) => void;
|
|
65
|
+
/**
|
|
66
|
+
* OnContextMenu callback
|
|
67
|
+
*/
|
|
68
|
+
onContextMenu?: (cell: DataCell, htmlComponent: HTMLElement | null) => void;
|
|
53
69
|
}
|
|
54
70
|
export declare const ImageTextType: readonly ["Code", "Text", "Both"];
|
|
55
71
|
export type ImageTextType = (typeof ImageTextType)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image/image-types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"image-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image/image-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EAET,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,KAAK,IAAI,CAAA;IAC7D;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,KAAK,IAAI,CAAA;IACnE;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,KAAK,IAAI,CAAA;IAC/D;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;IAC1D;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IAC1D;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IACrD;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;IACzC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CAC5E;AAED,eAAO,MAAM,aAAa,mCAAoC,CAAA;AAC9D,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAA;AAE1D,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,aAAa,EAAE,SAAS,CAIjE,CAAA"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { DataCell, DataNode } from '../../types/data-structures';
|
|
1
|
+
import { DataCell, DataNode, DataTree } from '../../types/data-structures';
|
|
2
2
|
import { ImageTextType } from './image-types';
|
|
3
3
|
export declare const getImageLabel: (imageText: ImageTextType, node: DataNode) => string;
|
|
4
4
|
export declare const renderImageActions: (imageActions: DataCell[], onActionClick?: (node: DataNode) => void) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
+
export declare const imageDataIsDataNode: (data: DataTree | DataNode | undefined) => data is DataNode;
|
|
6
|
+
export declare const isValidImageText: (value: unknown) => value is ImageTextType;
|
|
5
7
|
//# sourceMappingURL=image-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image/image-utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,QAAQ,
|
|
1
|
+
{"version":3,"file":"image-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image/image-utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,QAAQ,EAER,QAAQ,EACT,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAwB,aAAa,EAAE,MAAM,eAAe,CAAA;AAKnE,eAAO,MAAM,aAAa,GAAI,WAAW,aAAa,EAAE,MAAM,QAAQ,WACU,CAAA;AAEhF,eAAO,MAAM,kBAAkB,GAC7B,cAAc,QAAQ,EAAE,EACxB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,mDAuEzC,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC9B,MAAM,QAAQ,GAAG,QAAQ,GAAG,SAAS,KACpC,IAAI,IAAI,QAEV,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,aAEL,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image/image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image/image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAc1C,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA+MtC,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DataNode } from '../../types/data-structures';
|
|
2
|
+
import { ImageTextType } from '../image/image-types';
|
|
3
|
+
export interface ImageCellProps extends DataNode {
|
|
4
|
+
/**
|
|
5
|
+
* Display mode for the image text: "Code" (obj.k), "Text" (decode), or "Both"
|
|
6
|
+
*/
|
|
7
|
+
ImageText?: ImageTextType;
|
|
8
|
+
/** DIM of the image TODO: Change with ImgWdt and ImgHgt */
|
|
9
|
+
width?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Fired when image is clicked
|
|
13
|
+
*/
|
|
14
|
+
onClick?: (e: React.MouseEvent | React.KeyboardEvent) => void;
|
|
15
|
+
/**
|
|
16
|
+
* OnContextMenu callback
|
|
17
|
+
*/
|
|
18
|
+
onContextMenu?: (e: React.MouseEvent) => void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=image-cell-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-cell-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image-cell/image-cell-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,aAAa,CAAA;IAEvB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,KAAK,IAAI,CAAA;IAC7D;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/image-cell/image-cell.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAKnD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6C9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiple-select.d.ts","sourceRoot":"","sources":["../../../src/basic-components/multiple-select/multiple-select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAG7D,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"multiple-select.d.ts","sourceRoot":"","sources":["../../../src/basic-components/multiple-select/multiple-select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAG7D,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmDxD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/slider/slider-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,WAAW,GAAG,UAAU,CAAA;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/basic-components/slider/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAG5C,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkDxC,CAAA"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import { DescrMode } from '../../types/global';
|
|
1
2
|
import { StringCellBindProps } from '../cell/cell-types';
|
|
2
3
|
import { JustifiedContent } from '../typography/typography-types';
|
|
3
4
|
export interface TextProps extends StringCellBindProps {
|
|
4
5
|
className?: string;
|
|
5
6
|
justifiedContent?: JustifiedContent;
|
|
7
|
+
/** Description mode for the text visualization */
|
|
8
|
+
DescrMode?: DescrMode;
|
|
9
|
+
/** Props used when shape is LBL and object is NR */
|
|
10
|
+
decimals?: number;
|
|
11
|
+
dSep?: string;
|
|
6
12
|
}
|
|
7
13
|
//# sourceMappingURL=text-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text/text-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAEjE,MAAM,WAAW,SAAU,SAAQ,mBAAmB;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"text-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text/text-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAEjE,MAAM,WAAW,SAAU,SAAQ,mBAAmB;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IAEnC,kDAAkD;IAClD,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text/text.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text/text.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAMxC,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA4DpC,CAAA"}
|
|
@@ -1,70 +1,40 @@
|
|
|
1
|
-
import { DataTree } from '../../types/data-structures';
|
|
2
|
-
import { ObjectProtocolHandler } from '../../types/generic';
|
|
3
|
-
import { TextEditorMessages } from '../../types/translation';
|
|
4
1
|
import { StringCellBindProps } from '../cell/cell-types';
|
|
5
2
|
export interface TextEditorProps extends StringCellBindProps {
|
|
6
3
|
className?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Callback invoked when the text editor needs to handle a Smeup object protocol
|
|
9
|
-
* action, for example when a Smeup link or function reference inside the editor
|
|
10
|
-
* is activated. Receives the standard {@link ObjectProtocolHandler} parameters.
|
|
11
|
-
*/
|
|
12
|
-
onObjectProtocol?: ObjectProtocolHandler;
|
|
13
4
|
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}): Record<string, unknown>;
|
|
27
|
-
format(name: string, value: unknown): void;
|
|
28
|
-
clipboard: {
|
|
29
|
-
convert(options: {
|
|
30
|
-
html: string;
|
|
31
|
-
}): unknown;
|
|
32
|
-
};
|
|
33
|
-
setContents(delta: unknown, source?: string): void;
|
|
34
|
-
getSemanticHTML(): string;
|
|
35
|
-
getText(range: {
|
|
36
|
-
index: number;
|
|
37
|
-
length: number;
|
|
38
|
-
}): string;
|
|
39
|
-
on(eventName: string, handler: (arg?: unknown) => void): void;
|
|
40
|
-
focus(): void;
|
|
41
|
-
import(module: string): unknown;
|
|
42
|
-
};
|
|
43
|
-
export type TextType = "h1" | "h2" | "text";
|
|
44
|
-
export declare const textTypeValuesMap: Record<TextType, number>;
|
|
45
|
-
export declare const textTypeTranslationMap: Record<TextType, TextEditorMessages>;
|
|
46
|
-
export type FormatCommands = "bold" | "underline" | "italic" | "listOrdered" | "listBullet" | "codeBlock" | "link" | "smeupLink";
|
|
47
|
-
export declare const formatCommandTranslationMap: Record<FormatCommands, TextEditorMessages>;
|
|
48
|
-
export type FormatState = Record<FormatCommands, boolean>;
|
|
49
|
-
export type FormatCommandOption = {
|
|
50
|
-
command: FormatCommands;
|
|
51
|
-
icon: string;
|
|
52
|
-
};
|
|
53
|
-
export type FormatLinkState = {
|
|
5
|
+
export interface PopupPosition {
|
|
6
|
+
top: number;
|
|
7
|
+
left: number;
|
|
8
|
+
}
|
|
9
|
+
export interface SmeupLinkData {
|
|
10
|
+
tabIndex: number;
|
|
11
|
+
t: string;
|
|
12
|
+
p: string;
|
|
13
|
+
k: string;
|
|
14
|
+
fun: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const INITIAL_LINK_STATE: {
|
|
54
17
|
open: boolean;
|
|
55
18
|
link: string;
|
|
19
|
+
range: Range | null;
|
|
20
|
+
position: {
|
|
21
|
+
top: number;
|
|
22
|
+
left: number;
|
|
23
|
+
} | null;
|
|
24
|
+
exist: boolean;
|
|
56
25
|
};
|
|
57
|
-
export
|
|
26
|
+
export declare const INITIAL_SMEUP_LINK_STATE: {
|
|
58
27
|
open: boolean;
|
|
59
28
|
tabIndex: number;
|
|
60
29
|
t: string;
|
|
61
30
|
p: string;
|
|
62
31
|
k: string;
|
|
63
32
|
fun: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
33
|
+
range: Range | null;
|
|
34
|
+
position: {
|
|
35
|
+
top: number;
|
|
36
|
+
left: number;
|
|
37
|
+
} | null;
|
|
38
|
+
exist: boolean;
|
|
69
39
|
};
|
|
70
40
|
//# sourceMappingURL=text-editor-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-editor-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text-editor/text-editor-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"text-editor-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text-editor/text-editor-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,eAAO,MAAM,kBAAkB;;;WAGd,KAAK,GAAG,IAAI;cACT;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;;CAEvD,CAAA;AAED,eAAO,MAAM,wBAAwB;;;;;;;WAOpB,KAAK,GAAG,IAAI;cACT;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;;CAEvD,CAAA"}
|
|
@@ -1,25 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { INITIAL_SMEUP_LINK_STATE, PopupPosition, SmeupLinkData } from './text-editor-types';
|
|
2
|
+
export type FormatType = "bold" | "italic" | "underline";
|
|
3
|
+
export type BlockFormatType = "h1" | "h2" | "p" | "ul" | "ol";
|
|
4
|
+
export declare const formatSelectors: Record<FormatType, string>;
|
|
5
|
+
export declare const formatTags: Record<FormatType, string>;
|
|
6
|
+
export declare const getSelectionBlockFormat: (selection: Selection, editorRef: React.RefObject<HTMLDivElement | null>) => BlockFormatType;
|
|
7
|
+
export declare const applyBlockFormat: (selection: Selection, blockFormatType: BlockFormatType, editorRef: React.RefObject<HTMLDivElement | null>) => void;
|
|
8
|
+
export declare const insertParagraphAfterSelection: (selection: Selection, editorRef: React.RefObject<HTMLDivElement | null>) => boolean;
|
|
9
|
+
export declare const isSelectionFormatted: (selection: Selection, formatType: FormatType) => boolean;
|
|
10
|
+
export declare const applyFormat: (selection: Selection, formatType: FormatType, editorRef: React.RefObject<HTMLDivElement | null>) => void;
|
|
11
|
+
export declare const removeFormat: (selection: Selection, formatType: FormatType, editorRef: React.RefObject<HTMLDivElement | null>) => void;
|
|
12
|
+
export declare const isSelectionLink: (selection: Selection) => boolean;
|
|
13
|
+
export declare const applyLink: (selection: Selection, url: string, editorRef: React.RefObject<HTMLDivElement | null>) => void;
|
|
14
|
+
export declare const removeLink: (selection: Selection, editorRef: React.RefObject<HTMLDivElement | null>) => void;
|
|
15
|
+
export declare const createBindValue: (html: string) => string;
|
|
3
16
|
export declare const isSmeupLink: (link: string) => boolean;
|
|
4
17
|
export declare const createSmeupLinkAsObject: (t: string, p: string, k: string) => string;
|
|
5
18
|
export declare const createSmeupLinkAsFUN: (fun: string) => string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Returns the closest <a> ancestor from a Range's commonAncestorContainer.
|
|
21
|
+
*
|
|
22
|
+
* Replaces this pattern, duplicated ~4 times across the component:
|
|
23
|
+
*
|
|
24
|
+
* const container = range.commonAncestorContainer
|
|
25
|
+
* const linkElement =
|
|
26
|
+
* container.nodeType === Node.TEXT_NODE
|
|
27
|
+
* ? container.parentElement?.closest("a")
|
|
28
|
+
* : (container as Element).closest("a")
|
|
29
|
+
*/
|
|
30
|
+
export declare function getLinkElementFromRange(range: Range): HTMLAnchorElement | null;
|
|
31
|
+
/**
|
|
32
|
+
* Extracts tabIndex / t / p / k / fun from a Smeup <a> element.
|
|
33
|
+
*
|
|
34
|
+
* Replaces the duplicated parsing block in handleSmeupLink and
|
|
35
|
+
* handleClickInEditor.
|
|
36
|
+
*/
|
|
37
|
+
export declare function parseSmeupLinkData(linkElement: HTMLAnchorElement): SmeupLinkData;
|
|
38
|
+
/**
|
|
39
|
+
* Computes popup position relative to the editor container.
|
|
40
|
+
*
|
|
41
|
+
* Replaces this three-line pattern, duplicated in handleLink, handleSmeupLink,
|
|
42
|
+
* and handleClickInEditor:
|
|
43
|
+
*
|
|
44
|
+
* const rect = range.getBoundingClientRect()
|
|
45
|
+
* const editorRect = editorRef.current.getBoundingClientRect()
|
|
46
|
+
* const position = { top: rect.bottom - editorRect.top, left: rect.left - editorRect.left }
|
|
47
|
+
*
|
|
48
|
+
* @param rect BoundingClientRect of the selection / element
|
|
49
|
+
* @param editorRect BoundingClientRect of the editor container
|
|
50
|
+
* @param offset Extra vertical gap in px (default 8)
|
|
51
|
+
*/
|
|
52
|
+
export declare function getPopupPosition(rect: DOMRect, editorRect: DOMRect, offset?: number): PopupPosition;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true when the <a> element carries Smeup-specific data attributes.
|
|
55
|
+
*/
|
|
56
|
+
export declare function isSmeupLinkElement(element: HTMLAnchorElement): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Applies href and data-* attributes to a Smeup link element.
|
|
59
|
+
* Returns false if the fields are empty (caller should abort).
|
|
60
|
+
* Replaces the duplicated obj/fun branch logic in applySmeupLink.
|
|
61
|
+
*/
|
|
62
|
+
export declare function applyAttributesToSmeupLink(el: HTMLAnchorElement, state: typeof INITIAL_SMEUP_LINK_STATE): boolean;
|
|
63
|
+
export declare const isValidUrl: (str: string) => boolean;
|
|
25
64
|
//# sourceMappingURL=text-editor-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-editor-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text-editor/text-editor-utils.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"text-editor-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text-editor/text-editor-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,aAAa,EACb,aAAa,EACd,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAA;AACxD,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAA;AAI7D,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAItD,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIjD,CAAA;AA8BD,eAAO,MAAM,uBAAuB,GAClC,WAAW,SAAS,EACpB,WAAW,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,KAChD,eA2CF,CAAA;AAED,eAAO,MAAM,gBAAgB,GAC3B,WAAW,SAAS,EACpB,iBAAiB,eAAe,EAChC,WAAW,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,SAiKlD,CAAA;AAqBD,eAAO,MAAM,6BAA6B,GACxC,WAAW,SAAS,EACpB,WAAW,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,YA0LlD,CAAA;AAED,eAAO,MAAM,oBAAoB,GAC/B,WAAW,SAAS,EACpB,YAAY,UAAU,YAmBvB,CAAA;AAED,eAAO,MAAM,WAAW,GACtB,WAAW,SAAS,EACpB,YAAY,UAAU,EACtB,WAAW,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,SA0BlD,CAAA;AAED,eAAO,MAAM,YAAY,GACvB,WAAW,SAAS,EACpB,YAAY,UAAU,EACtB,WAAW,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,SA+ClD,CAAA;AAGD,eAAO,MAAM,eAAe,GAAI,WAAW,SAAS,KAAG,OAkBtD,CAAA;AAED,eAAO,MAAM,SAAS,GACpB,WAAW,SAAS,EACpB,KAAK,MAAM,EACX,WAAW,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,SA2BlD,CAAA;AAED,eAAO,MAAM,UAAU,GACrB,WAAW,SAAS,EACpB,WAAW,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,SA4ClD,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,MAO9C,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,YAEvC,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,WAEtE,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM,WAE/C,CAAA;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,KAAK,GACX,iBAAiB,GAAG,IAAI,CAO1B;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,iBAAiB,GAC7B,aAAa,CAcf;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,EACb,UAAU,EAAE,OAAO,EACnB,MAAM,SAAI,GACT,aAAa,CAKf;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAEtE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,EAAE,EAAE,iBAAiB,EACrB,KAAK,EAAE,OAAO,wBAAwB,GACrC,OAAO,CAiBT;AAED,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,YASrC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-editor.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text-editor/text-editor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-editor.d.ts","sourceRoot":"","sources":["../../../src/basic-components/text-editor/text-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAEvE,OAAO,EAGL,eAAe,EAChB,MAAM,qBAAqB,CAAA;AAkC5B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAu0BhD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../../src/basic-components/textfield/textfield.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAuB,MAAM,mBAAmB,CAAA;AAWvE,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../../src/basic-components/textfield/textfield.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAuB,MAAM,mBAAmB,CAAA;AAWvE,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6P9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../../src/basic-components/time-picker/time-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAA;AAEd,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../../src/basic-components/time-picker/time-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAA;AAEd,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAkerD,eAAO,MAAM,UAAU,6CAA6B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DataCell } from '../../types/data-structures';
|
|
2
2
|
import { TimePickerProps } from './time-picker-types';
|
|
3
3
|
export declare const generateTimeOptions: (limit: number) => DataCell[];
|
|
4
|
-
export declare const parseTime: (value: string | undefined) => {
|
|
4
|
+
export declare const parseTime: (value: string | undefined, format?: TimePickerProps["timeFormat"]) => {
|
|
5
5
|
h: number;
|
|
6
6
|
m: number;
|
|
7
7
|
s: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/time-picker/time-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"time-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/time-picker/time-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAErD,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,KAAG,QAAQ,EAO3D,CAAA;AA6FD,eAAO,MAAM,SAAS,GAClB,OAAO,MAAM,GAAG,SAAS,EACzB,SAAQ,eAAe,CAAC,YAAY,CAAW,KAChD;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CA0CnC,CAAA;AAED,eAAO,MAAM,eAAe,GACxB,OAAO,MAAM,EACb,SAAQ,eAAe,CAAC,YAAY,CAAW,KAChD,MAAM,GAAG,IA8BX,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC5B,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,EACrB,UAAU,MAAM,EAChB,UAAU,MAAM,EAChB,UAAU,MAAM,EAChB,UAAU,MAAM,EAChB,SAAQ,eAAe,CAAC,YAAY,CAAW,KAChD,MAgBF,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("./chunk-FMBD7UC4-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("./chunk-FMBD7UC4-DM5LjWOV.cjs"),n=require("./index-BE0uj6Kq.cjs"),ee=require("./clone-CfJeeBmD.cjs"),re=require("./graph-pGbubcso.cjs"),ae=require("./channel-Dt79e-cu.cjs");var ht=(function(){var e=n.__name(function(E,y,d,f){for(d=d||{},f=E.length;f--;d[E[f]]=y);return d},"o"),t=[1,15],a=[1,7],i=[1,13],c=[1,14],s=[1,19],r=[1,16],l=[1,17],o=[1,18],u=[8,30],h=[8,10,21,28,29,30,31,39,43,46],x=[1,23],m=[1,24],b=[8,10,15,16,21,28,29,30,31,39,43,46],w=[8,10,15,16,21,27,28,29,30,31,39,43,46],S=[1,49],L={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:n.__name(function(y,d,f,_,v,g,A){var p=g.length-1;switch(v){case 4:_.getLogger().debug("Rule: separator (NL) ");break;case 5:_.getLogger().debug("Rule: separator (Space) ");break;case 6:_.getLogger().debug("Rule: separator (EOF) ");break;case 7:_.getLogger().debug("Rule: hierarchy: ",g[p-1]),_.setHierarchy(g[p-1]);break;case 8:_.getLogger().debug("Stop NL ");break;case 9:_.getLogger().debug("Stop EOF ");break;case 10:_.getLogger().debug("Stop NL2 ");break;case 11:_.getLogger().debug("Stop EOF2 ");break;case 12:_.getLogger().debug("Rule: statement: ",g[p]),typeof g[p].length=="number"?this.$=g[p]:this.$=[g[p]];break;case 13:_.getLogger().debug("Rule: statement #2: ",g[p-1]),this.$=[g[p-1]].concat(g[p]);break;case 14:_.getLogger().debug("Rule: link: ",g[p],y),this.$={edgeTypeStr:g[p],label:""};break;case 15:_.getLogger().debug("Rule: LABEL link: ",g[p-3],g[p-1],g[p]),this.$={edgeTypeStr:g[p],label:g[p-1]};break;case 18:const B=parseInt(g[p]),X=_.generateId();this.$={id:X,type:"space",label:"",width:B,children:[]};break;case 23:_.getLogger().debug("Rule: (nodeStatement link node) ",g[p-2],g[p-1],g[p]," typestr: ",g[p-1].edgeTypeStr);const K=_.edgeStrToEdgeData(g[p-1].edgeTypeStr);this.$=[{id:g[p-2].id,label:g[p-2].label,type:g[p-2].type,directions:g[p-2].directions},{id:g[p-2].id+"-"+g[p].id,start:g[p-2].id,end:g[p].id,label:g[p-1].label,type:"edge",directions:g[p].directions,arrowTypeEnd:K,arrowTypeStart:"arrow_open"},{id:g[p].id,label:g[p].label,type:_.typeStr2Type(g[p].typeStr),directions:g[p].directions}];break;case 24:_.getLogger().debug("Rule: nodeStatement (abc88 node size) ",g[p-1],g[p]),this.$={id:g[p-1].id,label:g[p-1].label,type:_.typeStr2Type(g[p-1].typeStr),directions:g[p-1].directions,widthInColumns:parseInt(g[p],10)};break;case 25:_.getLogger().debug("Rule: nodeStatement (node) ",g[p]),this.$={id:g[p].id,label:g[p].label,type:_.typeStr2Type(g[p].typeStr),directions:g[p].directions,widthInColumns:1};break;case 26:_.getLogger().debug("APA123",this?this:"na"),_.getLogger().debug("COLUMNS: ",g[p]),this.$={type:"column-setting",columns:g[p]==="auto"?-1:parseInt(g[p])};break;case 27:_.getLogger().debug("Rule: id-block statement : ",g[p-2],g[p-1]),_.generateId(),this.$={...g[p-2],type:"composite",children:g[p-1]};break;case 28:_.getLogger().debug("Rule: blockStatement : ",g[p-2],g[p-1],g[p]);const J=_.generateId();this.$={id:J,type:"composite",label:"",children:g[p-1]};break;case 29:_.getLogger().debug("Rule: node (NODE_ID separator): ",g[p]),this.$={id:g[p]};break;case 30:_.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",g[p-1],g[p]),this.$={id:g[p-1],label:g[p].label,typeStr:g[p].typeStr,directions:g[p].directions};break;case 31:_.getLogger().debug("Rule: dirList: ",g[p]),this.$=[g[p]];break;case 32:_.getLogger().debug("Rule: dirList: ",g[p-1],g[p]),this.$=[g[p-1]].concat(g[p]);break;case 33:_.getLogger().debug("Rule: nodeShapeNLabel: ",g[p-2],g[p-1],g[p]),this.$={typeStr:g[p-2]+g[p],label:g[p-1]};break;case 34:_.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",g[p-3],g[p-2]," #3:",g[p-1],g[p]),this.$={typeStr:g[p-3]+g[p],label:g[p-2],directions:g[p-1]};break;case 35:case 36:this.$={type:"classDef",id:g[p-1].trim(),css:g[p].trim()};break;case 37:this.$={type:"applyClass",id:g[p-1].trim(),styleClass:g[p].trim()};break;case 38:this.$={type:"applyStyles",id:g[p-1].trim(),stylesStr:g[p].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:t,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:o},{8:[1,20]},e(u,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:t,21:a,28:i,29:c,31:s,39:r,43:l,46:o}),e(h,[2,16],{14:22,15:x,16:m}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(b,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,31:s},{10:t,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:o},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(w,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(u,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},e(b,[2,24]),{10:t,11:37,13:4,14:22,15:x,16:m,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:o},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(w,[2,30]),{18:[1,43]},{18:[1,44]},e(b,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{36:[1,47]},{33:48,34:S},{15:[1,50]},e(h,[2,27]),e(w,[2,33]),{38:[1,51]},{33:52,34:S,38:[2,31]},{31:[2,15]},e(w,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:n.__name(function(y,d){if(d.recoverable)this.trace(y);else{var f=new Error(y);throw f.hash=d,f}},"parseError"),parse:n.__name(function(y){var d=this,f=[0],_=[],v=[null],g=[],A=this.table,p="",B=0,X=0,K=2,J=1,Jt=g.slice.call(arguments,1),I=Object.create(this.lexer),j={yy:{}};for(var nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nt)&&(j.yy[nt]=this.yy[nt]);I.setInput(y,j.yy),j.yy.lexer=I,j.yy.parser=this,typeof I.yylloc>"u"&&(I.yylloc={});var lt=I.yylloc;g.push(lt);var Qt=I.options&&I.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $t(M){f.length=f.length-2*M,v.length=v.length-M,g.length=g.length-M}n.__name($t,"popStack");function _t(){var M;return M=_.pop()||I.lex()||J,typeof M!="number"&&(M instanceof Array&&(_=M,M=_.pop()),M=d.symbols_[M]||M),M}n.__name(_t,"lex");for(var R,V,W,ct,q={},Q,U,wt,$;;){if(V=f[f.length-1],this.defaultActions[V]?W=this.defaultActions[V]:((R===null||typeof R>"u")&&(R=_t()),W=A[V]&&A[V][R]),typeof W>"u"||!W.length||!W[0]){var ot="";$=[];for(Q in A[V])this.terminals_[Q]&&Q>K&&$.push("'"+this.terminals_[Q]+"'");I.showPosition?ot="Parse error on line "+(B+1)+`:
|
|
2
2
|
`+I.showPosition()+`
|
|
3
3
|
Expecting `+$.join(", ")+", got '"+(this.terminals_[R]||R)+"'":ot="Parse error on line "+(B+1)+": Unexpected "+(R==J?"end of input":"'"+(this.terminals_[R]||R)+"'"),this.parseError(ot,{text:I.match,token:this.terminals_[R]||R,line:I.yylineno,loc:lt,expected:$})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+V+", token: "+R);switch(W[0]){case 1:f.push(R),v.push(I.yytext),g.push(I.yylloc),f.push(W[1]),R=null,X=I.yyleng,p=I.yytext,B=I.yylineno,lt=I.yylloc;break;case 2:if(U=this.productions_[W[1]][1],q.$=v[v.length-U],q._$={first_line:g[g.length-(U||1)].first_line,last_line:g[g.length-1].last_line,first_column:g[g.length-(U||1)].first_column,last_column:g[g.length-1].last_column},Qt&&(q._$.range=[g[g.length-(U||1)].range[0],g[g.length-1].range[1]]),ct=this.performAction.apply(q,[p,X,B,j.yy,W[1],v,g].concat(Jt)),typeof ct<"u")return ct;U&&(f=f.slice(0,-1*U*2),v=v.slice(0,-1*U),g=g.slice(0,-1*U)),f.push(this.productions_[W[1]][0]),v.push(q.$),g.push(q._$),wt=A[f[f.length-2]][f[f.length-1]],f.push(wt);break;case 3:return!0}}return!0},"parse")},T=(function(){var E={EOF:1,parseError:n.__name(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:n.__name(function(y,d){return this.yy=d||this.yy||{},this._input=y,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n.__name(function(){var y=this._input[0];this.yytext+=y,this.yyleng++,this.offset++,this.match+=y,this.matched+=y;var d=y.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),y},"input"),unput:n.__name(function(y){var d=y.length,f=y.split(/(?:\r\n?|\n)/g);this._input=y+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===_.length?this.yylloc.first_column:0)+_[_.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(y){this.unput(this.match.slice(y))},"less"),pastInput:n.__name(function(){var y=this.matched.substr(0,this.matched.length-this.match.length);return(y.length>20?"...":"")+y.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var y=this.match;return y.length<20&&(y+=this._input.substr(0,20-y.length)),(y.substr(0,20)+(y.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var y=this.pastInput(),d=new Array(y.length+1).join("-");return y+this.upcomingInput()+`
|