@sme.up/ketchup2 1.19.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-DLc0xS6g.js → _basePickBy-C8gUNMGY.js} +2 -2
- package/dist/{_basePickBy-hU15nnuu.cjs → _basePickBy-NdKe-cD_.cjs} +1 -1
- package/dist/{_baseUniq-v0HaTFyU.cjs → _baseUniq-Dv-q5nnA.cjs} +1 -1
- package/dist/{_baseUniq-Bn1jRtDY.js → _baseUniq-pRhJsK5E.js} +1 -1
- package/dist/{arc-aCClK8cT.js → arc-BTr-sA0j.js} +1 -1
- package/dist/{arc-BN7cLDvU.cjs → arc-CvhYFIsC.cjs} +1 -1
- package/dist/{architecture-U656AL7Q-BlzcZYj0.cjs → architecture-7HQA4BMR-BLIf8Din.cjs} +1 -1
- package/dist/{architecture-U656AL7Q-CGK9HO5M.js → architecture-7HQA4BMR-BUowbcS-.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-CxXB06ya.cjs → architectureDiagram-VXUJARFQ-J2GQVwAa.cjs} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-CDlmghav.js → architectureDiagram-VXUJARFQ-KuL8UqNh.js} +3 -3
- 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/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.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/image/image-types.d.ts +5 -1
- package/dist/basic-components/image/image-types.d.ts.map +1 -1
- package/dist/basic-components/image/image.d.ts.map +1 -1
- package/dist/basic-components/text/text-types.d.ts +3 -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 +35 -0
- 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 +49 -0
- 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/{blockDiagram-VD42YOAC-DaEdiOdS.cjs → blockDiagram-VD42YOAC-Ba3SBDR4.cjs} +1 -1
- package/dist/{blockDiagram-VD42YOAC-otiz2gnO.js → blockDiagram-VD42YOAC-D3T_0uth.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-BqtunVbe.js → c4Diagram-YG6GDRKO-B40ITrGd.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-B_M0pXDI.cjs → c4Diagram-YG6GDRKO-BUaAylz_.cjs} +1 -1
- package/dist/{channel-B3xNo1hN.js → channel--rx2lT0F.js} +1 -1
- package/dist/channel-Dt79e-cu.cjs +1 -0
- package/dist/{chunk-4BX2VUAB-D0ckS2Js.js → chunk-4BX2VUAB-CfrupZb7.js} +1 -1
- package/dist/{chunk-4BX2VUAB-jQAMlkG5.cjs → chunk-4BX2VUAB-Dhxp-w4a.cjs} +1 -1
- package/dist/{chunk-55IACEB6-4k6jNTPh.js → chunk-55IACEB6-9tNzxVwb.js} +1 -1
- package/dist/{chunk-55IACEB6-CYP5QeDP.cjs → chunk-55IACEB6-CJWVjEhq.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-C5a0R2TF.js → chunk-B4BG7PRW-C3MxKVDt.js} +4 -4
- package/dist/{chunk-B4BG7PRW-40wFwe2_.cjs → chunk-B4BG7PRW-DGQFbF6h.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-D46Nxv4C.cjs → chunk-DI55MBZ5-CwU6WArz.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-Xs_EvPU9.js → chunk-DI55MBZ5-nuV4vxbH.js} +3 -3
- package/dist/{chunk-FMBD7UC4-sbfIyVl_.js → chunk-FMBD7UC4-BhY7QDyk.js} +1 -1
- package/dist/{chunk-FMBD7UC4-JwXIwsff.cjs → chunk-FMBD7UC4-DM5LjWOV.cjs} +1 -1
- package/dist/{chunk-QN33PNHL-CZLTe-5X.js → chunk-QN33PNHL-BApbdpOt.js} +1 -1
- package/dist/{chunk-QN33PNHL-D89dqsY7.cjs → chunk-QN33PNHL-Blfly62F.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-CnB6OkgR.cjs → chunk-QZHKN3VN-C9MsxZgL.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-Bym_staK.js → chunk-QZHKN3VN-D5LoW9Sd.js} +1 -1
- package/dist/{chunk-TZMSLE5B-Dp0YIOCM.js → chunk-TZMSLE5B-CvItNCEw.js} +1 -1
- package/dist/{chunk-TZMSLE5B-CzF1p6NC.cjs → chunk-TZMSLE5B-evlB5DT9.cjs} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-Bckc28LC.js → classDiagram-2ON5EDUG-B3owM_j1.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-FQVyK433.cjs → classDiagram-2ON5EDUG-B_LWfwLo.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-Bckc28LC.js → classDiagram-v2-WZHVMYZB-B3owM_j1.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-FQVyK433.cjs → classDiagram-v2-WZHVMYZB-B_LWfwLo.cjs} +1 -1
- package/dist/clone-CfJeeBmD.cjs +1 -0
- package/dist/{clone-gnQjFue0.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/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-drill-down.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-explorer.d.ts.map +1 -1
- package/dist/components/image-list/image-list-types.d.ts +9 -6
- package/dist/components/image-list/image-list-types.d.ts.map +1 -1
- package/dist/components/image-list/image-list.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/{cose-bilkent-S5V4N54A-Df1US9MJ.js → cose-bilkent-S5V4N54A-B15Z94E_.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-DsOyNFsG.cjs → cose-bilkent-S5V4N54A-DM3EP0yS.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-CXVsDZys.cjs → dagre-6UL2VRFP-DEQO1pns.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-COacgFYc.js → dagre-6UL2VRFP-DfETlmJM.js} +6 -6
- package/dist/{diagram-PSM6KHXK-Blv6GFOJ.js → diagram-PSM6KHXK-DZEPZ91u.js} +4 -4
- package/dist/{diagram-PSM6KHXK-D1gDIrxH.cjs → diagram-PSM6KHXK-YdWD1N9p.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-DvB0VrfT.js → diagram-QEK2KX5R-BkLE9mN5.js} +3 -3
- package/dist/{diagram-QEK2KX5R-DGRRWbUu.cjs → diagram-QEK2KX5R-D2d9BHnp.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG--lHmHnKW.cjs → diagram-S2PKOQOG-BiKgpGB-.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG-DxIEa6jg.js → diagram-S2PKOQOG-DtoofFdx.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-BZ1GgS-i.cjs → erDiagram-Q2GNP2WA-Cp_pGHiX.cjs} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-B--ZupT4.js → erDiagram-Q2GNP2WA-bcbO2y0W.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-BjclDOwK.cjs → flowDiagram-NV44I4VS-2PRsk4Ng.cjs} +1 -1
- package/dist/{flowDiagram-NV44I4VS-82EN5frg.js → flowDiagram-NV44I4VS-CnOAtNeX.js} +5 -5
- 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/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-D8bgGv3W.js → ganttDiagram-JELNMOA3-BcOZN9E7.js} +2 -2
- package/dist/{ganttDiagram-JELNMOA3-Dg3gcgGP.cjs → ganttDiagram-JELNMOA3-aZhBzsma.cjs} +1 -1
- package/dist/{gitGraph-F6HP7TQM-CYYpWdGq.js → gitGraph-G5XIXVHT-D_ZnRoA3.js} +1 -1
- package/dist/{gitGraph-F6HP7TQM-DAOdDfOa.cjs → gitGraph-G5XIXVHT-a2ITBtZu.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-CACSicRn.cjs → gitGraphDiagram-V2S2FVAM-BLvAfEl6.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-CM2Vxzlx.js → gitGraphDiagram-V2S2FVAM-DvoD1D--.js} +4 -4
- package/dist/{graph-B-keMiTZ.js → graph-CPGP7Kkj.js} +2 -2
- package/dist/{graph-Mv2qv5SB.cjs → graph-pGbubcso.cjs} +1 -1
- 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-D5NyASqq.js → index-AIN_sfAL.js} +27857 -27169
- package/dist/{index-dhfrnDvJ.cjs → index-BE0uj6Kq.cjs} +161 -155
- package/dist/info-VBDWY6EO-n1_PqhAh.js +5 -0
- package/dist/{info-NVLQJR56-BlLr9dLS.cjs → info-VBDWY6EO-v-TJAbsL.cjs} +1 -1
- package/dist/{infoDiagram-WHAUD3N6-BdRjW-aL.js → infoDiagram-HS3SLOUP-B-n7MrhT.js} +2 -2
- package/dist/{infoDiagram-WHAUD3N6-DFw2Z3_-.cjs → infoDiagram-HS3SLOUP-GsYXQPjV.cjs} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-DkjuGmmU.cjs → journeyDiagram-XKPGCS4Q-C1WcV6UH.cjs} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-DlpDeIYp.js → journeyDiagram-XKPGCS4Q-DEPyxmPk.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-51Pnrmuv.js → kanban-definition-3W4ZIXB7-C1RETgUl.js} +2 -2
- package/dist/{kanban-definition-3W4ZIXB7-aQx57fCW.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 +4 -4
- package/dist/{layout-DN-p0Ppz.js → layout-C7uzBsO2.js} +4 -4
- package/dist/{layout-TZOoqACN.cjs → layout-CX8BaqLE.cjs} +1 -1
- package/dist/{linear-SvFy3H5R.js → linear-D-FoeDBi.js} +1 -1
- package/dist/{linear-K9FI-N_R.cjs → linear-D0ScOGl8.cjs} +1 -1
- package/dist/locale/en/translation.json.d.ts +2 -0
- package/dist/locale/it/translation.json.d.ts +2 -0
- package/dist/mermaid-parser.core-Bm4Zihc2.js +17907 -0
- package/dist/mermaid-parser.core-V2Ia6xQA.cjs +160 -0
- package/dist/{mindmap-definition-VGOIOE7T-CQBoNmIj.cjs → mindmap-definition-VGOIOE7T-B1g3wih8.cjs} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-B-XcJ1QB.js → mindmap-definition-VGOIOE7T-BjtY2HVC.js} +3 -3
- package/dist/{packet-BFZMPI3H-CFs8sQKO.cjs → packet-DYOGHKS2-Byn4WcaT.cjs} +1 -1
- package/dist/{packet-BFZMPI3H-C96MlUhq.js → packet-DYOGHKS2-DnSyd7X1.js} +1 -1
- package/dist/{pie-7BOR55EZ-D1z_FiDQ.cjs → pie-VRWISCQL-B9kCrR1I.cjs} +1 -1
- package/dist/pie-VRWISCQL-qJwQfoRY.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-DITgkzrb.cjs → pieDiagram-ADFJNKIX-DeQsDnRF.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-Btipy1Yg.js → pieDiagram-ADFJNKIX-DwV9fm91.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-0REjJWXf.js → quadrantDiagram-AYHSOK5B-BXXIGHDV.js} +2 -2
- package/dist/{quadrantDiagram-AYHSOK5B-DUvmRtA9.cjs → quadrantDiagram-AYHSOK5B-D-z2CDv9.cjs} +1 -1
- package/dist/radar-ZZBFDIW7-B8fR7Pl7.js +5 -0
- package/dist/{radar-NHE76QYJ-buBWFcX8.cjs → radar-ZZBFDIW7-CGJlkNKM.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-D5HKHjuR.cjs → requirementDiagram-UZGBJVZJ--NyPTKS5.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-3qREmHHw.js → requirementDiagram-UZGBJVZJ-BZG_Rjra.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-DDHq92cR.cjs → sankeyDiagram-TZEHDZUN-CSsblZ2E.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-CB7aU9wG.js → sankeyDiagram-TZEHDZUN-CX5LDzH5.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-Dp9D1kc1.js → sequenceDiagram-WL72ISMW-CUf7lRNX.js} +3 -3
- package/dist/{sequenceDiagram-WL72ISMW-CrGNKfm7.cjs → sequenceDiagram-WL72ISMW-Dpp2ticd.cjs} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-TVfktX-m.cjs → stateDiagram-FKZM4ZOC-Dr2Plv1c.cjs} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-Dg2jwdvB.js → stateDiagram-FKZM4ZOC-hIBIo90x.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-CVw7R7Sy.cjs → stateDiagram-v2-4FDKWEC3-BXZbP3Hb.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-BeDflo8x.js → stateDiagram-v2-4FDKWEC3-Cz96Kt4v.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-DPYD0-yi.js → timeline-definition-IT6M3QCI-BqIdYZmM.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-QaW1rM2C.cjs → timeline-definition-IT6M3QCI-xvTk_Tcu.cjs} +1 -1
- package/dist/{treemap-KMMF4GRG-BtzlMHus.js → treemap-GDKQZRPO-BG615Urz.js} +1 -1
- package/dist/{treemap-KMMF4GRG-B3ovpU-a.cjs → treemap-GDKQZRPO-NVqCtfwu.cjs} +1 -1
- package/dist/types/translation.d.ts +2 -0
- package/dist/types/translation.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 +11 -6
- package/dist/utils/wrapper-types/time/time-utils.d.ts.map +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-6W3NRZoh.js → xychartDiagram-PRI3JC2R-B3d9DPi-.js} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-9Qn35IaK.cjs → xychartDiagram-PRI3JC2R-KXtL-28r.cjs} +1 -1
- package/package.json +10 -4
- package/dist/channel-BWzBcvC1.cjs +0 -1
- package/dist/clone-BuJ6ESdC.cjs +0 -1
- package/dist/info-NVLQJR56-CuxiCK8q.js +0 -5
- package/dist/mermaid-parser.core-C0aPfQrd.js +0 -12956
- package/dist/mermaid-parser.core-DrvvGvos.cjs +0 -128
- package/dist/pie-7BOR55EZ-B7H6T2nu.js +0 -5
- package/dist/radar-NHE76QYJ-BBThtHed.js +0 -5
package/dist/{timeline-definition-IT6M3QCI-QaW1rM2C.cjs → timeline-definition-IT6M3QCI-xvTk_Tcu.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-BE0uj6Kq.cjs"),tt=require("./arc-CvhYFIsC.cjs");var J=(function(){var i=n.__name(function(m,s,a,c){for(a=a||{},c=m.length;c--;a[m[c]]=s);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],h=[1,13],_=[1,16],f=[1,17],p={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:n.__name(function(s,a,c,u,g,o,w){var k=o.length-1;switch(g){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},i(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:_,21:f},i(t,[2,7],{1:[2,1]}),i(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:_,21:f},i(t,[2,5]),i(t,[2,6]),i(t,[2,8]),{13:[1,19]},{15:[1,20]},i(t,[2,11]),i(t,[2,12]),i(t,[2,13]),i(t,[2,14]),i(t,[2,15]),i(t,[2,16]),i(t,[2,4]),i(t,[2,9]),i(t,[2,10])],defaultActions:{},parseError:n.__name(function(s,a){if(a.recoverable)this.trace(s);else{var c=new Error(s);throw c.hash=a,c}},"parseError"),parse:n.__name(function(s){var a=this,c=[0],u=[],g=[null],o=[],w=this.table,k="",I=0,H=0,z=2,G=1,M=o.slice.call(arguments,1),y=Object.create(this.lexer),b={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(b.yy[N]=this.yy[N]);y.setInput(s,b.yy),b.yy.lexer=y,b.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var $=y.yylloc;o.push($);var V=y.options&&y.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){c.length=c.length-2*E,g.length=g.length-E,o.length=o.length-E}n.__name(q,"popStack");function Y(){var E;return E=u.pop()||y.lex()||G,typeof E!="number"&&(E instanceof Array&&(u=E,E=u.pop()),E=a.symbols_[E]||E),E}n.__name(Y,"lex");for(var S,P,T,U,C={},W,L,D,B;;){if(P=c[c.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((S===null||typeof S>"u")&&(S=Y()),T=w[P]&&w[P][S]),typeof T>"u"||!T.length||!T[0]){var Z="";B=[];for(W in w[P])this.terminals_[W]&&W>z&&B.push("'"+this.terminals_[W]+"'");y.showPosition?Z="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
3
|
Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":Z="Parse error on line "+(I+1)+": Unexpected "+(S==G?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(Z,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:$,expected:B})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+S);switch(T[0]){case 1:c.push(S),g.push(y.yytext),o.push(y.yylloc),c.push(T[1]),S=null,H=y.yyleng,k=y.yytext,I=y.yylineno,$=y.yylloc;break;case 2:if(L=this.productions_[T[1]][1],C.$=g[g.length-L],C._$={first_line:o[o.length-(L||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(L||1)].first_column,last_column:o[o.length-1].last_column},V&&(C._$.range=[o[o.length-(L||1)].range[0],o[o.length-1].range[1]]),U=this.performAction.apply(C,[k,H,I,b.yy,T[1],g,o].concat(M)),typeof U<"u")return U;L&&(c=c.slice(0,-1*L*2),g=g.slice(0,-1*L),o=o.slice(0,-1*L)),c.push(this.productions_[T[1]][0]),g.push(C.$),o.push(C._$),D=w[c[c.length-2]][c[c.length-1]],c.push(D);break;case 3:return!0}}return!0},"parse")},x=(function(){var m={EOF:1,parseError:n.__name(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:n.__name(function(s,a){return this.yy=a||this.yy||{},this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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),c.length-1&&(this.yylineno-=c.length-1);var g=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:c?(c.length===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),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(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-V2Ia6xQA.cjs");exports.TreemapModule=e.TreemapModule;exports.createTreemapServices=e.createTreemapServices;
|
|
@@ -107,6 +107,8 @@ export declare enum TextEditorMessages {
|
|
|
107
107
|
LIST_ORDERED = "TextEditor.ListOrdered",
|
|
108
108
|
LIST_BULLET = "TextEditor.ListBullet",
|
|
109
109
|
SMEUP_LINK = "TextEditor.SmeupLink",
|
|
110
|
+
SMEUP_LINK_OBJECT = "TextEditor.SmeupLinkObject",
|
|
111
|
+
SMEUP_LINK_FUNCTION = "TextEditor.SmeupLinkFunction",
|
|
110
112
|
SMEUP_LINK_T = "TextEditor.SmeupLinkT",
|
|
111
113
|
SMEUP_LINK_P = "TextEditor.SmeupLinkP",
|
|
112
114
|
SMEUP_LINK_K = "TextEditor.SmeupLinkK",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../src/types/translation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAChB,YAAY,GACZ,WAAW,GACX,eAAe,GACf,aAAa,GACb,qBAAqB,GACrB,kBAAkB,GAClB,oBAAoB,GACpB,kBAAkB,GAClB,WAAW,GACX,WAAW,GACX,eAAe,CAAA;AAEnB,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAClC,MAAM,CAAC,OAAO,GAAG,KAAK,GAAG,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,GAChD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAClC,CAAA;AAED,MAAM,WAAW,aAAa;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;CACzB;AAED,oBAAY,eAAe;IAEzB,YAAY,qBAAqB;IACjC,KAAK,kBAAkB;IACvB,KAAK,kBAAkB;IACvB,MAAM,mBAAmB;IAGzB,uBAAuB,iCAAiC;IAGxD,6BAA6B,wCAAwC;IAGrE,6BAA6B,uCAAuC;IACpE,cAAc,0BAA0B;IAGxC,gCAAgC,2CAA2C;IAG3E,+BAA+B,yCAAyC;IAGxE,+BAA+B,yCAAyC;IACxE,+BAA+B,yCAAyC;IAGxE,uBAAuB,kCAAkC;CAC1D;AAED,oBAAY,qBAAqB;IAC/B,aAAa,8BAA8B;IAC3C,UAAU,4BAA4B;IAEtC,aAAa,yCAAyC;IACtD,eAAe,2CAA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BAAoB;IAC9B,WAAW,4BAA4B;IACvC,sBAAsB,0BAA0B;CACjD;AAED,oBAAY,kBAAkB;IAC5B,IAAI,oBAAoB;IACxB,MAAM,sBAAsB;IAC5B,SAAS,yBAAyB;IAClC,EAAE,kBAAkB;IACpB,EAAE,kBAAkB;IACpB,IAAI,oBAAoB;IACxB,UAAU,yBAAyB;IACnC,IAAI,oBAAoB;IACxB,YAAY,2BAA2B;IACvC,WAAW,0BAA0B;IACrC,UAAU,yBAAyB;IACnC,YAAY,0BAA0B;IACtC,YAAY,0BAA0B;IACtC,YAAY,0BAA0B;IACtC,cAAc,4BAA4B;CAC3C;AAED,oBAAY,WAAW;IACrB,WAAW,kBAAkB;IAC7B,QAAQ,iBAAiB;IACzB,KAAK,cAAc;IACnB,OAAO,gBAAgB;IACvB,KAAK,cAAc;CACpB;AAED,oBAAY,WAAW;IACrB,WAAW,kBAAkB;CAC9B;AAED,oBAAY,eAAe;IACzB,QAAQ,qBAAqB;IAC7B,MAAM,mBAAmB;IACzB,OAAO,mBAAmB;IAC1B,QAAQ,oBAAoB;IAC5B,KAAK,kBAAkB;IACvB,OAAO,mBAAmB;CAC3B"}
|
|
1
|
+
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../src/types/translation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAChB,YAAY,GACZ,WAAW,GACX,eAAe,GACf,aAAa,GACb,qBAAqB,GACrB,kBAAkB,GAClB,oBAAoB,GACpB,kBAAkB,GAClB,WAAW,GACX,WAAW,GACX,eAAe,CAAA;AAEnB,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAClC,MAAM,CAAC,OAAO,GAAG,KAAK,GAAG,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,GAChD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAClC,CAAA;AAED,MAAM,WAAW,aAAa;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1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AC3B"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { DataTable, DataRow } from '../types/data-structures';
|
|
2
|
+
/**
|
|
3
|
+
* Type alias for Smeup DataTable structure.
|
|
4
|
+
*/
|
|
5
|
+
export type WBSSmeupDataTable = DataTable;
|
|
6
|
+
/**
|
|
7
|
+
* Common column mapping for WBS-like components.
|
|
8
|
+
*/
|
|
9
|
+
export interface WBSColumnMapping {
|
|
10
|
+
id: string;
|
|
11
|
+
labelColumnsTask: string[];
|
|
12
|
+
labelColumnsPhase: string[];
|
|
13
|
+
taskStartDate: string;
|
|
14
|
+
taskEndDate: string;
|
|
15
|
+
taskStartTime?: string;
|
|
16
|
+
taskEndTime?: string;
|
|
17
|
+
phaseStartDate: string;
|
|
18
|
+
phaseEndDate: string;
|
|
19
|
+
phaseStartTime?: string;
|
|
20
|
+
phaseEndTime?: string;
|
|
21
|
+
colorColumn?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Standardized data format used by WBS components.
|
|
25
|
+
*/
|
|
26
|
+
export interface WBSNormalizedItem {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
type: "task" | "phase" | "marker";
|
|
30
|
+
startDate: string;
|
|
31
|
+
endDate: string;
|
|
32
|
+
parentId?: string;
|
|
33
|
+
color?: string;
|
|
34
|
+
data?: DataRow;
|
|
35
|
+
}
|
|
36
|
+
export declare const WBS_CONSTANTS: {
|
|
37
|
+
ROW_HEIGHT: number;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Normalizes input DataTables into a flat list of items (tasks, phases, markers).
|
|
41
|
+
* It organizes the list such that phases immediately follow their parent tasks.
|
|
42
|
+
*
|
|
43
|
+
* @param tasks - DataTable containing task rows.
|
|
44
|
+
* @param phases - Optional Record of DataTables containing phase rows associated with tasks, keyed by taskId.
|
|
45
|
+
* @param mapping - Optional column mapping configuration.
|
|
46
|
+
* @returns A flat array of normalized items ready for rendering.
|
|
47
|
+
*/
|
|
48
|
+
export declare function normalizeWBSData(tasks: WBSSmeupDataTable, mapping: WBSColumnMapping, phases?: Record<string, WBSSmeupDataTable>): WBSNormalizedItem[];
|
|
49
|
+
/**
|
|
50
|
+
* Calculates the full date range for a list of WBS items.
|
|
51
|
+
*
|
|
52
|
+
* @param items - List of normalized WBS items.
|
|
53
|
+
* @returns An object containing the start and end Date objects.
|
|
54
|
+
*/
|
|
55
|
+
export declare function getWBSRange(items: WBSNormalizedItem[]): {
|
|
56
|
+
start: Date;
|
|
57
|
+
end: Date;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Utility to add units to a date based on the WBS view mode.
|
|
61
|
+
* Adds a specific number of time units (hours, days, weeks, months, years) to a date.
|
|
62
|
+
*
|
|
63
|
+
* @param date - The starting date.
|
|
64
|
+
* @param units - The number of units to add.
|
|
65
|
+
* @param viewMode - The time unit to add, based on the WBS view mode.
|
|
66
|
+
* @returns A new Date object with the added units.
|
|
67
|
+
*/
|
|
68
|
+
export declare function addWBSUnitsToDate(date: Date, units: number, viewMode: string): Date;
|
|
69
|
+
//# sourceMappingURL=wbs-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wbs-utils.d.ts","sourceRoot":"","sources":["../../src/utils/wbs-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAK7D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAA;AAEzC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,gBAAgB,EAAE,MAAM,EAAE,CAAA;IAC1B,iBAAiB,EAAE,MAAM,EAAE,CAAA;IAC3B,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cA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{"version":3,"file":"boolean.d.ts","sourceRoot":"","sources":["../../../src/utils/wrapper-types/boolean.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAGlD;;;GAGG;AACH,cAAM,YAAa,YAAW,YAAY,CAAC,OAAO,CAAC;IACjD,OAAO,CAAC,KAAK,CAA0B;IACvC,OAAO,CAAC,KAAK,CAAS;gBAEV,QAAQ,EAAE,YAAY,GAAG,SAAS,EAAE,KAAK,EAAE,OAAO;IAK9D,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,YAAY;IAO1D,QAAQ,IAAI,OAAO;IAInB,cAAc,IAAI,MAAM;CASzB;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/utils/wrapper-types/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/utils/wrapper-types/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAelD;;;GAGG;AACH,cAAM,SAAU,YAAW,YAAY,CAAC,MAAM,CAAC;IAC7C,OAAO,CAAC,KAAK,CAA0B;IACvC,OAAO,CAAC,IAAI,CAAQ;gBAER,QAAQ,EAAE,YAAY,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM;IAK7D,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS;IAavD,cAAc,IAAI,MAAM;IAgBxB,QAAQ,IAAI,MAAM;CAGnB;AAiFD,eAAe,SAAS,CAAA"}
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Validates if a given legacy time string
|
|
2
|
+
* Validates if a given legacy time string has at least 6 numeric characters for I12 format.
|
|
3
3
|
*
|
|
4
|
-
* The I12 format is expected to be
|
|
4
|
+
* The I12 format is expected to be 6 numeric characters (HHMMSS).
|
|
5
|
+
* This validation is permissive and will accept strings with more than 6 digits,
|
|
6
|
+
* extracting the first 6 for parsing.
|
|
5
7
|
*
|
|
6
8
|
* @param {string} value - The legacy time string to validate.
|
|
7
|
-
* @returns {boolean} `true` if the string
|
|
9
|
+
* @returns {boolean} `true` if the string has at least 6 digits, otherwise `false`.
|
|
8
10
|
*/
|
|
9
11
|
export declare function isValidI12(value: string): boolean;
|
|
10
12
|
/**
|
|
11
|
-
* Validates if a given legacy time string
|
|
13
|
+
* Validates if a given legacy time string has at least 4 numeric characters for I11 format.
|
|
14
|
+
*
|
|
15
|
+
* The I11 format is expected to be 4 numeric characters (HHMM).
|
|
16
|
+
* This validation is permissive and will accept strings with more than 4 digits,
|
|
17
|
+
* extracting the first 4 for parsing.
|
|
12
18
|
*
|
|
13
|
-
* The I11 format is expected to be exactly 4 numeric characters (HHMM).
|
|
14
19
|
* @param {string} value - The legacy time string to validate.
|
|
15
|
-
* @returns {boolean} `true` if the string
|
|
20
|
+
* @returns {boolean} `true` if the string has at least 4 digits, otherwise `false`.
|
|
16
21
|
*/
|
|
17
22
|
export declare function isValidI11(value: string): boolean;
|
|
18
23
|
//# sourceMappingURL=time-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/wrapper-types/time/time-utils.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"time-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/wrapper-types/time/time-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjD;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, H as mi, e as yi, y as bi, E as St, D as Yt, F as Ai, K as wi, i as Ci, aH as Si, R as Wt } from "./index-
|
|
1
|
+
import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, H as mi, e as yi, y as bi, E as St, D as Yt, F as Ai, K as wi, i as Ci, aH as Si, R as Wt } from "./index-AIN_sfAL.js";
|
|
2
2
|
import { i as _i } from "./init-DjUOC4st.js";
|
|
3
3
|
import { o as ki } from "./ordinal-B6-f3MAq.js";
|
|
4
|
-
import { l as zt } from "./linear-
|
|
4
|
+
import { l as zt } from "./linear-D-FoeDBi.js";
|
|
5
5
|
function Ri(e, t, i) {
|
|
6
6
|
e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
|
|
7
7
|
for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-BE0uj6Kq.cjs"),oe=require("./init-CHZsXQcr.cjs"),he=require("./ordinal-CagbB1m8.cjs"),Bt=require("./linear-D0ScOGl8.cjs");function le(i,t,e){i=+i,t=+t,e=(a=arguments.length)<2?(t=i,i=0,1):a<3?1:+e;for(var s=-1,a=Math.max(0,Math.ceil((t-i)/e))|0,o=new Array(a);++s<a;)o[s]=i+s*e;return o}function yt(){var i=he.ordinal().unknown(void 0),t=i.domain,e=i.range,s=0,a=1,o,g,m=!1,p=0,k=0,v=.5;delete i.unknown;function w(){var _=t().length,E=a<s,D=E?a:s,P=E?s:a;o=(P-D)/Math.max(1,_-p+k*2),m&&(o=Math.floor(o)),D+=(P-D-o*(_-p))*v,g=o*(1-p),m&&(D=Math.round(D),g=Math.round(g));var M=le(_).map(function(y){return D+o*y});return e(E?M.reverse():M)}return i.domain=function(_){return arguments.length?(t(_),w()):t()},i.range=function(_){return arguments.length?([s,a]=_,s=+s,a=+a,w()):[s,a]},i.rangeRound=function(_){return[s,a]=_,s=+s,a=+a,m=!0,w()},i.bandwidth=function(){return g},i.step=function(){return o},i.round=function(_){return arguments.length?(m=!!_,w()):m},i.padding=function(_){return arguments.length?(p=Math.min(1,k=+_),w()):p},i.paddingInner=function(_){return arguments.length?(p=Math.min(1,_),w()):p},i.paddingOuter=function(_){return arguments.length?(k=+_,w()):k},i.align=function(_){return arguments.length?(v=Math.max(0,Math.min(1,_)),w()):v},i.copy=function(){return yt(t(),[s,a]).round(m).paddingInner(p).paddingOuter(k).align(v)},oe.initRange.apply(w(),arguments)}var _t=(function(){var i=n.__name(function(O,h,u,x){for(u=u||{},x=O.length;x--;u[O[x]]=h);return u},"o"),t=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],o=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],k=[1,26],v=[1,28],w=[1,29],_=[1,30],E=[1,31],D=[1,32],P=[1,33],M=[1,34],y=[1,35],S=[1,36],c=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],l=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],C=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],T=[1,64],$={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n.__name(function(h,u,x,d,A,r,at){var f=r.length-1;switch(A){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[i(t,e,{3:1,4:2,7:4,5:s,34:a,35:o,36:g}),{1:[3]},i(t,e,{4:2,7:4,3:8,5:s,34:a,35:o,36:g}),i(t,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:a,35:o,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},i(m,[2,34]),i(m,[2,35]),i(m,[2,36]),{1:[2,1]},i(t,e,{4:2,7:4,3:21,5:s,34:a,35:o,36:g}),{1:[2,3]},i(m,[2,5]),i(t,[2,7],{4:22,34:a,35:o,36:g}),{11:23,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:45,15:44,27:U,33:46,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:49,17:48,24:X,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:52,17:51,24:X,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{20:[1,53]},{22:[1,54]},i(l,[2,18]),{1:[2,2]},i(l,[2,8]),i(l,[2,9]),i(L,[2,37],{40:55,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c}),i(L,[2,38]),i(L,[2,39]),i(C,[2,40]),i(C,[2,42]),i(C,[2,43]),i(C,[2,44]),i(C,[2,45]),i(C,[2,46]),i(C,[2,47]),i(C,[2,48]),i(C,[2,49]),i(C,[2,50]),i(C,[2,51]),i(l,[2,10]),i(l,[2,22],{30:41,29:56,24:W,27:z}),i(l,[2,24]),i(l,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},i(l,[2,11]),i(l,[2,30],{33:60,27:U}),i(l,[2,32]),{31:[1,61]},i(l,[2,12]),{17:62,24:X},{25:63,27:T},i(l,[2,14]),{17:65,24:X},i(l,[2,16]),i(l,[2,17]),i(C,[2,41]),i(l,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},i(l,[2,31]),{27:[1,69]},i(l,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},i(l,[2,15]),i(l,[2,26]),i(l,[2,27]),{11:59,32:72,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},i(l,[2,33]),i(l,[2,19]),{25:73,27:T},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n.__name(function(h,u){if(u.recoverable)this.trace(h);else{var x=new Error(h);throw x.hash=u,x}},"parseError"),parse:n.__name(function(h){var u=this,x=[0],d=[],A=[null],r=[],at=this.table,f="",lt=0,Et=0,se=2,Mt=1,ne=r.slice.call(arguments,1),R=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);R.setInput(h,Y.yy),Y.yy.lexer=R,Y.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var ft=R.yylloc;r.push(ft);var ae=R.options&&R.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(V){x.length=x.length-2*V,A.length=A.length-V,r.length=r.length-V}n.__name(re,"popStack");function It(){var V;return V=d.pop()||R.lex()||Mt,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=u.symbols_[V]||V),V}n.__name(It,"lex");for(var I,H,B,pt,q={},ct,F,Vt,ut;;){if(H=x[x.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((I===null||typeof I>"u")&&(I=It()),B=at[H]&&at[H][I]),typeof B>"u"||!B.length||!B[0]){var mt="";ut=[];for(ct in at[H])this.terminals_[ct]&&ct>se&&ut.push("'"+this.terminals_[ct]+"'");R.showPosition?mt="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+R.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[I]||I)+"'":mt="Parse error on line "+(lt+1)+": Unexpected "+(I==Mt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(mt,{text:R.match,token:this.terminals_[I]||I,line:R.yylineno,loc:ft,expected:ut})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+I);switch(B[0]){case 1:x.push(I),A.push(R.yytext),r.push(R.yylloc),x.push(B[1]),I=null,Et=R.yyleng,f=R.yytext,lt=R.yylineno,ft=R.yylloc;break;case 2:if(F=this.productions_[B[1]][1],q.$=A[A.length-F],q._$={first_line:r[r.length-(F||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(F||1)].first_column,last_column:r[r.length-1].last_column},ae&&(q._$.range=[r[r.length-(F||1)].range[0],r[r.length-1].range[1]]),pt=this.performAction.apply(q,[f,Et,lt,Y.yy,B[1],A,r].concat(ne)),typeof pt<"u")return pt;F&&(x=x.slice(0,-1*F*2),A=A.slice(0,-1*F),r=r.slice(0,-1*F)),x.push(this.productions_[B[1]][0]),A.push(q.$),r.push(q._$),Vt=at[x[x.length-2]][x[x.length-1]],x.push(Vt);break;case 3:return!0}}return!0},"parse")},Lt=(function(){var O={EOF:1,parseError:n.__name(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw new Error(u)},"parseError"),setInput:n.__name(function(h,u){return this.yy=u||this.yy||{},this._input=h,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 h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:n.__name(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var d=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),x.length-1&&(this.yylineno-=x.length-1);var A=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:x?(x.length===d.length?this.yylloc.first_column:0)+d[d.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-u]),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(h){this.unput(this.match.slice(h))},"less"),pastInput:n.__name(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var h=this.pastInput(),u=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "Sme.UP web components library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Smeup LAB <info@smeup.com> (https://www.smeup.com/)",
|
|
@@ -30,9 +30,16 @@
|
|
|
30
30
|
"typecheck:storybook": "tsc --noEmit --project tsconfig.storybook.json",
|
|
31
31
|
"typecheck:storybook:watch": "tsc --noEmit --project tsconfig.storybook.json --watch",
|
|
32
32
|
"serve-storybook": "node server.js",
|
|
33
|
-
"
|
|
33
|
+
"docker:build": "docker build -f Dockerfile.vrt .",
|
|
34
|
+
"test:vrt": "docker compose run --rm vrt",
|
|
35
|
+
"test:vrt:update": "docker compose run --rm vrt npm run test:vrt:ci:update",
|
|
36
|
+
"test:vrt:host": "npm run test:vrt:ci",
|
|
37
|
+
"test:vrt:host:update": "npm run test:vrt:ci:update",
|
|
38
|
+
"test:vrt:ci": "npm run build:storybook && playwright test test/visual/visual.spec.test.js",
|
|
39
|
+
"test:vrt:ci:update": "npm run build:storybook && playwright test test/visual/visual.spec.test.js --update-snapshots",
|
|
40
|
+
"test:visual": "npm run test:vrt",
|
|
34
41
|
"test:report": "playwright show-report",
|
|
35
|
-
"test:visual:update": "
|
|
42
|
+
"test:visual:update": "npm run test:vrt:update",
|
|
36
43
|
"test:visual:update:single": "node test/visual/update-single.mjs",
|
|
37
44
|
"test:visual:update:name": "ts-node test/visual/update-story-by-name.ts",
|
|
38
45
|
"test:visual:list": "ts-node test/visual/list-visual-stories.ts"
|
|
@@ -57,7 +64,6 @@
|
|
|
57
64
|
"@types/d3-hierarchy": "^3.1.7",
|
|
58
65
|
"@types/react": "^19.2.13",
|
|
59
66
|
"@types/react-dom": "^19.2.3",
|
|
60
|
-
"@types/dompurify": "^3.2.0",
|
|
61
67
|
"@vitejs/plugin-react": "^5.1.3",
|
|
62
68
|
"@vitest/browser": "^4.0.18",
|
|
63
69
|
"@vitest/coverage-v8": "^4.0.18",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./index-dhfrnDvJ.cjs"),s=(e,r)=>n.Utils.lang.round(n.Color.parse(e)[r]);exports.channel=s;
|
package/dist/clone-BuJ6ESdC.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./_baseUniq-v0HaTFyU.cjs");var r=4;function c(e){return n.baseClone(e,r)}exports.clone=c;
|