@nxgt/material 2.1.0 → 2.2.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 +328 -574
- package/dist/_Uint8Array-BlYETJ93.js +127 -0
- package/dist/abnfDiagram-O67JEVCF-UBHbDvRt.js +89 -0
- package/dist/architectureDiagram-NJMV4G6O-YUaZEFrZ.js +4146 -0
- package/dist/blockDiagram-BEXU5L5S-LYb2ZWFy.js +1946 -0
- package/dist/c4Diagram-YGBWAQC7-C-2N38iN.js +2990 -0
- package/dist/channel-CUIVvEUM.js +5 -0
- package/dist/chunk-3FUC2YCW-uD4dp-_M.js +364 -0
- package/dist/chunk-5DYCD2WN-B2Jnu3zk.js +37 -0
- package/dist/chunk-6AEJRKK7-C9kihZu8.js +10 -0
- package/dist/chunk-742MDFTN-C8SK_MEU.js +275 -0
- package/dist/chunk-7INBJB4K-CyUOVm3_.js +4487 -0
- package/dist/chunk-7M6MHVWA-stRISv0F.js +4256 -0
- package/dist/chunk-7PRAP22T-DSh07ASj.js +67 -0
- package/dist/chunk-GNY47TPC-CNRH-hmN.js +75 -0
- package/dist/chunk-GTNCS2PH-Dd-9mUKz.js +490 -0
- package/dist/chunk-GWA4HPMP-LeZ8CTY7.js +61 -0
- package/dist/chunk-MBY4JIJT-efJLM0ZL.js +1847 -0
- package/dist/chunk-NETBCI7D-Dh3LtOKr.js +236 -0
- package/dist/chunk-O7XYJQB3-CocGKgmL.js +3922 -0
- package/dist/chunk-UA2S7LBM-C81eiQ4_.js +363 -0
- package/dist/chunk-WEXAMYUT-Dt2jrFYj.js +26 -0
- package/dist/chunk-XXDRQBXY-mQqOBHO_.js +9 -0
- package/dist/chunk-Z7XXMR3K-D00WQ1MY.js +677 -0
- package/dist/chunk-ZIGJFQKS-Dqo-x9kg.js +663 -0
- package/dist/classDiagram-v2-NBCMYWYE-C4ucYlr1.js +3397 -0
- package/dist/client-only.utils-ojMUdy5B.js +340 -0
- package/dist/components/components.css +22 -0
- package/dist/components/ui/actions/button-group/button-group.css +12 -0
- package/dist/components/ui/display/code/code-moonlight.css +73 -0
- package/dist/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
- package/dist/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
- package/dist/components/ui/fields/contacts/contact-item.css +9 -0
- package/dist/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
- package/dist/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
- package/dist/components-DqMrnRRo.js +189618 -0
- package/dist/components.js +7 -4
- package/dist/cose-bilkent-JH36ORCC-BgR2hiLh.js +2251 -0
- package/dist/cynefinDiagram-VND7K2PF-wsthSZGu.js +349 -0
- package/dist/dagre-6A5THRUB-D9hh4vCU.js +2193 -0
- package/dist/diagram-22UHCM2B-Bu26TJjA.js +5084 -0
- package/dist/diagram-3UASUU5V-BEydDExL.js +724 -0
- package/dist/diagram-ATOU4E4O-DNtxHPVW.js +432 -0
- package/dist/diagram-CDSNMT55-BrwCxgMX.js +301 -0
- package/dist/diagram-MLGK6HIB-Bk26pSvC.js +134 -0
- package/dist/diagram-MPIPVDR6-Bl3F8b-U.js +214 -0
- package/dist/dist-C-0DUGrt.js +16576 -0
- package/dist/dist-CZn89tDX.js +50 -0
- package/dist/dnd.js +1 -1
- package/dist/ebnfDiagram-ZINNZB2B-C7vCu85A.js +100 -0
- package/dist/elk-276RUBZZ-ChJLevem.js +47598 -0
- package/dist/erDiagram-OPXOYQCR-DLzDCh2a.js +1970 -0
- package/dist/field-blur-CtjbtCDw.js +3486 -0
- package/dist/flowDiagram-KWPJA3E3-uiZryqlC.js +17 -0
- package/dist/ganttDiagram-FUAMR5RP-35sd5PoK.js +2929 -0
- package/dist/gitGraphDiagram-X574FWY7-Z7zhlcB8.js +729 -0
- package/dist/graphlib-DlxAzBTD.js +495 -0
- package/dist/hooks.js +97 -3
- package/dist/i18n-provider-BUQY82bS.js +43 -0
- package/dist/i18n.js +46 -2
- package/dist/icon-button-38As1vrs.js +2718 -0
- package/dist/infoDiagram-VRGFBTTK-BwoHwPPX.js +20 -0
- package/dist/isArrayLikeObject-DsRXN32g.js +86 -0
- package/dist/ishikawaDiagram-OU5B5YK6-C-aWtSta.js +719 -0
- package/dist/journeyDiagram-ZHPQQLJL-vXvTzJwE.js +884 -0
- package/dist/kanban-definition-PNTS6WVX-Co0CvKcV.js +976 -0
- package/dist/lib/components/index.d.ts +10 -151
- package/dist/lib/components/ui/actions/action-card/action-card.d.ts +11 -0
- package/dist/lib/components/ui/actions/action-card/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/button/button.d.ts +16 -0
- package/dist/lib/components/ui/actions/button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/button-group/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/copy-button/copy-button.d.ts +9 -0
- package/dist/lib/components/ui/actions/highlight-text/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/icon-button/icon-badge.d.ts +15 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +11 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +5 -0
- package/dist/lib/components/ui/actions/icon-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/index.d.ts +13 -0
- package/dist/lib/components/ui/actions/language-switcher/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/language-switcher/language-switcher.d.ts +6 -0
- package/dist/lib/components/ui/actions/link/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/link/link.d.ts +9 -0
- package/dist/lib/components/ui/actions/load-more-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/load-more-button/load-more-button.d.ts +25 -0
- package/dist/lib/components/ui/actions/responsive-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +7 -0
- package/dist/lib/components/ui/actions/scroll-to-top/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/scroll-to-top/scroll-to-top.d.ts +20 -0
- package/dist/lib/components/ui/actions/split-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/split-button/split-button.d.ts +8 -0
- package/dist/lib/components/ui/actions/theme-toggle/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/theme-toggle/theme-toggle.d.ts +6 -0
- package/dist/lib/components/ui/collections/data-table/index.d.ts +7 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +13 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-head.d.ts +6 -0
- package/dist/lib/components/ui/collections/data-table/table-meta.d.ts +13 -0
- package/dist/lib/components/ui/collections/data-table/use-data-table.d.ts +16 -0
- package/dist/lib/components/ui/collections/filter/consts.d.ts +61 -0
- package/dist/lib/components/ui/collections/filter/filter-form-field.d.ts +52 -0
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +34 -0
- package/dist/lib/components/ui/collections/filter/filter-trigger.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/filter-value.utils.d.ts +31 -0
- package/dist/lib/components/ui/collections/filter/index.d.ts +21 -0
- package/dist/lib/components/ui/collections/index.d.ts +5 -0
- package/dist/lib/components/ui/dates/calendar/calendar.d.ts +12 -0
- package/dist/lib/components/ui/dates/calendar/index.d.ts +1 -0
- package/dist/lib/components/ui/dates/date-field/date-field-trigger.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-field/date-field.d.ts +33 -0
- package/dist/lib/components/ui/dates/date-field/date-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field-trigger.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.d.ts +29 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-range-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/duration-field/duration-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/duration-field/duration-group-a11y.d.ts +15 -0
- package/dist/lib/components/ui/dates/duration-field/index.d.ts +4 -0
- package/dist/lib/components/ui/dates/index.d.ts +6 -0
- package/dist/lib/components/ui/dates/picker-trigger/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-field-frame.d.ts +30 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-a11y.d.ts +35 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-attrs.d.ts +25 -0
- package/dist/lib/components/ui/dates/time-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-overlay.d.ts +17 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-picker.d.ts +12 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-trigger.d.ts +13 -0
- package/dist/lib/components/ui/dates/time-field/time-field.d.ts +22 -0
- package/dist/lib/components/ui/dates/time-field/time-form-field.d.ts +5 -0
- package/dist/lib/components/ui/display/accordion-card/accordion-card.d.ts +13 -0
- package/dist/lib/components/ui/display/accordion-card/index.d.ts +1 -0
- package/dist/lib/components/ui/display/api-endpoint/index.d.ts +1 -0
- package/dist/lib/components/ui/display/api-operation/api-operation.d.ts +13 -0
- package/dist/lib/components/ui/display/api-operation/index.d.ts +1 -0
- package/dist/lib/components/ui/display/avatar/avatar.d.ts +15 -0
- package/dist/lib/components/ui/display/avatar/index.d.ts +1 -0
- package/dist/lib/components/ui/display/badge/badge.d.ts +9 -0
- package/dist/lib/components/ui/display/badge/index.d.ts +1 -0
- package/dist/lib/components/ui/display/barecode/barecode.d.ts +6 -0
- package/dist/lib/components/ui/display/barecode/index.d.ts +1 -0
- package/dist/lib/components/ui/display/cards/types.d.ts +187 -0
- package/dist/lib/components/ui/display/chip/chip.d.ts +11 -0
- package/dist/lib/components/ui/display/chip/index.d.ts +1 -0
- package/dist/lib/components/ui/display/chip/partials/chip-body.d.ts +9 -0
- package/dist/lib/components/ui/display/chip/partials/chip-dismiss-button.d.ts +9 -0
- package/dist/lib/components/ui/display/code/parse-json.d.ts +14 -0
- package/dist/lib/components/ui/display/count-badge/count-badge.d.ts +10 -0
- package/dist/lib/components/ui/display/count-badge/index.d.ts +1 -0
- package/dist/lib/components/ui/display/description/index.d.ts +1 -0
- package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +13 -0
- package/dist/lib/components/ui/display/entity-header/index.d.ts +1 -0
- package/dist/lib/components/ui/display/figure/index.d.ts +1 -0
- package/dist/lib/components/ui/display/index.d.ts +25 -0
- package/dist/lib/components/ui/display/list-tile/index.d.ts +1 -0
- package/dist/lib/components/ui/display/markdown/markdown.d.ts +7 -0
- package/dist/lib/components/ui/display/metrics/types.d.ts +125 -0
- package/dist/lib/components/ui/display/param-table/index.d.ts +1 -0
- package/dist/lib/components/ui/display/qrcode/index.d.ts +1 -0
- package/dist/lib/components/ui/display/qrcode/qrcode.d.ts +7 -0
- package/dist/lib/components/ui/display/stat-card/stat-card.d.ts +13 -0
- package/dist/lib/components/ui/display/status-indicator/index.d.ts +1 -0
- package/dist/lib/components/ui/display/summary-data/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/alert/alert.d.ts +12 -0
- package/dist/lib/components/ui/feedback/alert/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog.d.ts +15 -0
- package/dist/lib/components/ui/feedback/alert-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/circular-progress/circular-progress.d.ts +20 -0
- package/dist/lib/components/ui/feedback/circular-progress/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/confirm-dialog/confirm-dialog.d.ts +18 -0
- package/dist/lib/components/ui/feedback/confirm-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/confirmation-dialog.d.ts +22 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog/custom-alert-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/custom-dialog/custom-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/empty-state/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/hydrate-loading/hydrate-loading.d.ts +9 -0
- package/dist/lib/components/ui/feedback/hydrate-loading/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/index.d.ts +4 -2
- package/dist/lib/components/ui/feedback/progress/index.d.ts +2 -0
- package/dist/lib/components/ui/feedback/scroll-progress/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/skeleton/skeleton-card.d.ts +4 -0
- package/dist/lib/components/ui/feedback/spinner/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +9 -0
- package/dist/lib/components/ui/feedback/toast/index.d.ts +2 -0
- package/dist/lib/components/ui/feedback/toast/toasts.d.ts +41 -0
- package/dist/lib/components/ui/fields/attributes/attribute-dialog.d.ts +10 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-value-form-field.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/consts.d.ts +45 -0
- package/dist/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.d.ts +15 -0
- package/dist/lib/components/ui/fields/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attributes-field/attributes-field.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attributes-field/state.d.ts +14 -0
- package/dist/lib/components/ui/fields/attributes/attributes-form-field/attributes-form-field.d.ts +13 -0
- package/dist/lib/components/ui/fields/attributes/attributes-list/attributes-list.d.ts +11 -0
- package/dist/lib/components/ui/fields/attributes/consts.d.ts +2 -0
- package/dist/lib/components/ui/fields/attributes/utils.d.ts +4 -0
- package/dist/lib/components/ui/fields/color-field/color-field.d.ts +8 -0
- package/dist/lib/components/ui/fields/color-field/color-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/color-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/contacts/contact-item.d.ts +21 -0
- package/dist/lib/components/ui/fields/contacts/utils.d.ts +11 -0
- package/dist/lib/components/ui/fields/country-field/country-field.d.ts +20 -0
- package/dist/lib/components/ui/fields/country-field/country-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/country-field/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +7 -0
- package/dist/lib/components/ui/fields/currency-field/currency-field.d.ts +15 -0
- package/dist/lib/components/ui/fields/currency-field/currency-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/currency-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/email-field/email-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/email-field/email-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/email-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/field/types.d.ts +67 -0
- package/dist/lib/components/ui/fields/index.d.ts +24 -0
- package/dist/lib/components/ui/fields/inline-edit/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/inline-edit/inline-edit-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/input-group-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/input-group-field/input-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/number-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/number-field/number-field.d.ts +24 -0
- package/dist/lib/components/ui/fields/number-field/number-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/opening-hours/consts.d.ts +18 -0
- package/dist/lib/components/ui/fields/opening-hours/opening-hours-item.d.ts +21 -0
- package/dist/lib/components/ui/fields/otp-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/otp-field/otp-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/password-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/password-field/password-field.d.ts +8 -0
- package/dist/lib/components/ui/fields/password-field/password-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/percent-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/percent-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/phone-field/index.d.ts +7 -0
- package/dist/lib/components/ui/fields/phone-field/phone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/rating-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +23 -0
- package/dist/lib/components/ui/fields/rating-field/rating-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/search-field/index.d.ts +5 -0
- package/dist/lib/components/ui/fields/search-field/search-field.d.ts +11 -0
- package/dist/lib/components/ui/fields/search-field/search-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/slider/slider-control.d.ts +12 -0
- package/dist/lib/components/ui/fields/slider/slider-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/slider-thumb-names.d.ts +19 -0
- package/dist/lib/components/ui/fields/slider/slider.d.ts +13 -0
- package/dist/lib/components/ui/fields/switch/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/switch/partials/switch-control.d.ts +4 -0
- package/dist/lib/components/ui/fields/switch/partials/switch-row.d.ts +15 -0
- package/dist/lib/components/ui/fields/switch/switch-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/switch/switch.utils.d.ts +27 -0
- package/dist/lib/components/ui/fields/switch/use-switch-checked.d.ts +13 -0
- package/dist/lib/components/ui/fields/switch/use-switch-state.d.ts +32 -0
- package/dist/lib/components/ui/fields/text-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/text-field/text-field.d.ts +10 -0
- package/dist/lib/components/ui/fields/text-field/text-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/textarea-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/textarea-field/textarea-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/timezone-field/index.d.ts +5 -0
- package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +5 -0
- package/dist/lib/components/ui/fields/timezone-field/timezone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/url-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/url-field/url-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/url-field/url-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/array-error-message.d.ts +7 -0
- package/dist/lib/components/ui/forms/field-blur-context.d.ts +19 -0
- package/dist/lib/components/ui/forms/field-blur-layers.d.ts +34 -0
- package/dist/lib/components/ui/forms/field-blur.d.ts +11 -0
- package/dist/lib/components/ui/forms/form-field.d.ts +1 -1
- package/dist/lib/components/ui/forms/form-field.wiring.d.ts +11 -0
- package/dist/lib/components/ui/forms/index.d.ts +0 -44
- package/dist/lib/components/ui/forms/select-choice.utils.d.ts +9 -0
- package/dist/lib/components/ui/forms/use-field-blur.d.ts +27 -0
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +24 -0
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.utils.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/app-sidebar.d.ts +17 -0
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +24 -0
- package/dist/lib/components/ui/layout/background/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/breadcrumb/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/doc/doc.utils.d.ts +29 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-empty.d.ts +3 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-progress.d.ts +3 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-skip-link.d.ts +2 -0
- package/dist/lib/components/ui/layout/hero/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/index.d.ts +16 -0
- package/dist/lib/components/ui/layout/list-details-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/list-details-layout/list-details-layout.d.ts +22 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-context.d.ts +13 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-details.d.ts +8 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-list.d.ts +9 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-trigger.d.ts +11 -0
- package/dist/lib/components/ui/layout/pager/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/pane-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/pane-layout/pane-layout.d.ts +22 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-content.d.ts +9 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-context.d.ts +13 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-pane.d.ts +11 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-trigger.d.ts +10 -0
- package/dist/lib/components/ui/layout/resizable/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/responsive-grid/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/see-also/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/sidebar/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/skip-link/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/steps/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/thread-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/toc/index.d.ts +1 -0
- package/dist/lib/components/ui/media/camera/types.d.ts +38 -0
- package/dist/lib/components/ui/media/carousel/carousel.d.ts +19 -0
- package/dist/lib/components/ui/media/carousel/index.d.ts +1 -0
- package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +12 -0
- package/dist/lib/components/ui/media/file-list/file-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/file-list/file-list-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/media/file-list/file-list-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/file-list/index.d.ts +10 -0
- package/dist/lib/components/ui/media/files-form-field/files-form-field.d.ts +9 -0
- package/dist/lib/components/ui/media/files-form-field/index.d.ts +1 -0
- package/dist/lib/components/ui/media/image-field/image-field-actions.d.ts +12 -0
- package/dist/lib/components/ui/media/image-field/image-field.d.ts +10 -0
- package/dist/lib/components/ui/media/image-field/image-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/image-field/image-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/media/image-field/image-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/image-field/index.d.ts +6 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-body.d.ts +14 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-frame.d.ts +16 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-picker.d.ts +8 -0
- package/dist/lib/components/ui/media/image-field/use-image-field.d.ts +52 -0
- package/dist/lib/components/ui/media/index.d.ts +11 -0
- package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +19 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +44 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.d.ts +11 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.data.d.ts +2 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +57 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-list.d.ts +20 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +37 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-body.d.ts +32 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-keyboard.d.ts +17 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-states.d.ts +14 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.d.ts +9 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.reducer.d.ts +66 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +42 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-sidebar.d.ts +17 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +25 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-thumbnail-sidebar.d.ts +13 -0
- package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +73 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +10 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +15 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-fullscreen.d.ts +6 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-outline-select.d.ts +9 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +12 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-report.d.ts +16 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +32 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-scroll-spy.d.ts +16 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +44 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-open.d.ts +12 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-source.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.slice.d.ts +253 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +46 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-field-items.d.ts +16 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-actions.d.ts +8 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-details.d.ts +5 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-thumbnail.d.ts +5 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/upload-constraints.d.ts +11 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/upload-display-items.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-add-local-item.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-image-preview.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-field.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-item.d.ts +24 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-start-upload.d.ts +15 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-commit.d.ts +10 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-item-handlers.d.ts +25 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-items.d.ts +13 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-field.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload-field/upload-field.d.ts +14 -0
- package/dist/lib/components/ui/media/upload-field/upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/overlays/command/command.d.ts +16 -0
- package/dist/lib/components/ui/overlays/command/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/context-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dialog/dialog.d.ts +14 -0
- package/dist/lib/components/ui/overlays/dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dialog/use-return-focus.d.ts +32 -0
- package/dist/lib/components/ui/overlays/drawer/drawer.d.ts +14 -0
- package/dist/lib/components/ui/overlays/drawer/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dropdown-menu/dropdown-menu.d.ts +33 -0
- package/dist/lib/components/ui/overlays/dropdown-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/hover-card/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/index.d.ts +10 -0
- package/dist/lib/components/ui/overlays/menubar/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/menubar/menubar.d.ts +30 -0
- package/dist/lib/components/ui/overlays/popover/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/sheet/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/sheet/sheet.d.ts +15 -0
- package/dist/lib/components/ui/overlays/tooltip/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/tooltip/tooltip.d.ts +18 -0
- package/dist/lib/components/ui/primitives/accordion/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/activity/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/anchor-heading/anchor-heading.d.ts +9 -0
- package/dist/lib/components/ui/primitives/anchor-heading/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/card/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/collapsible/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/extended-label/extended-label.d.ts +7 -0
- package/dist/lib/components/ui/primitives/extended-label/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/helper-text/helper-text.d.ts +5 -0
- package/dist/lib/components/ui/primitives/helper-text/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/icon/icon-context.d.ts +10 -0
- package/dist/lib/components/ui/primitives/icon/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/index.d.ts +20 -0
- package/dist/lib/components/ui/primitives/input/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/input/input-box.d.ts +10 -0
- package/dist/lib/components/ui/primitives/input/input.d.ts +9 -0
- package/dist/lib/components/ui/primitives/input-group/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/input-group/input-group.d.ts +13 -0
- package/dist/lib/components/ui/primitives/kbd/index.d.ts +2 -0
- package/dist/lib/components/ui/primitives/label/field-group.d.ts +62 -0
- package/dist/lib/components/ui/primitives/label/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/scroll-area/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/separator/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/table/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/tabs/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/textarea/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +9 -0
- package/dist/lib/components/ui/primitives/toggle-group/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle-group/toggle-group.d.ts +9 -0
- package/dist/lib/components/ui/primitives/typography/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete.d.ts +37 -0
- package/dist/lib/components/ui/selection/autocomplete/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +8 -0
- package/dist/lib/components/ui/selection/check-card-field/check-card-field.d.ts +13 -0
- package/dist/lib/components/ui/selection/check-card-field/check-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/check-card-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/checkbox/checkbox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/checkbox/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +15 -0
- package/dist/lib/components/ui/selection/checkbox-group/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/combobox/combobox-anchor.d.ts +3 -0
- package/dist/lib/components/ui/selection/combobox/combobox-chips.d.ts +12 -0
- package/dist/lib/components/ui/selection/combobox/combobox-input.d.ts +7 -0
- package/dist/lib/components/ui/selection/combobox/combobox.d.ts +19 -0
- package/dist/lib/components/ui/selection/combobox/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/combobox-field/index.d.ts +3 -0
- package/dist/lib/components/ui/selection/index.d.ts +14 -0
- package/dist/lib/components/ui/selection/radio-group/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +16 -0
- package/dist/lib/components/ui/selection/select/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/select-card-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-card-field/select-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/select-chip-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-chip-field/select-chip-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/select-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-field/select-field.d.ts +20 -0
- package/dist/lib/components/ui/selection/select-field/select-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/sortable-list/index.d.ts +5 -0
- package/dist/lib/components/ui/selection/sortable-list/sortable-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/switcher/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/switcher/switcher.d.ts +15 -0
- package/dist/lib/components/ui/selection/transfer-list/index.d.ts +4 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-board.d.ts +36 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-droppable.d.ts +13 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-pane.d.ts +38 -0
- package/dist/lib/components/ui/selection/transfer-list/transfer-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/chat/chat-composer-mentions.d.ts +8 -0
- package/dist/lib/components/ui/widgets/chat/chat-composer.d.ts +24 -0
- package/dist/lib/components/ui/widgets/chat/chat-markdown.d.ts +6 -0
- package/dist/lib/components/ui/widgets/chat/index.d.ts +13 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-attachments.d.ts +18 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-input.d.ts +26 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-composer-attachments.d.ts +25 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-composer.d.ts +38 -0
- package/dist/lib/components/ui/widgets/code-editor/code-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/code-editor/code-editor-options.d.ts +16 -0
- package/dist/lib/components/ui/widgets/code-editor/index.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-events.utils.d.ts +14 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-event-chip.d.ts +8 -0
- package/dist/lib/components/ui/widgets/index.d.ts +9 -0
- package/dist/lib/components/ui/widgets/kanban/kanban.utils.d.ts +24 -0
- package/dist/lib/components/ui/widgets/mentions/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/mentions/mentions.utils.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/use-node-form.d.ts +35 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/extensions.d.ts +24 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-items.d.ts +5 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-list.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/suggestions.d.ts +10 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/extension.d.ts +10 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-cells.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-structure.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-table-actions.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/use-table-menu-state.d.ts +17 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/index.d.ts +2 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-attributes.d.ts +12 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-wrapper.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/types.d.ts +34 -0
- package/dist/lib/dnd/index.d.ts +1 -1
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/theme-store.d.ts +9 -0
- package/dist/lib/hooks/use-allowed-transitions.d.ts +3 -3
- package/dist/lib/hooks/use-formatters.d.ts +14 -0
- package/dist/lib/hooks/use-fullscreen-element.d.ts +10 -0
- package/dist/lib/hooks/use-number-formatter.d.ts +5 -0
- package/dist/lib/hooks/use-ssr-media-query.d.ts +14 -0
- package/dist/lib/hooks/use-theme.d.ts +5 -0
- package/dist/lib/i18n/format-message.d.ts +18 -0
- package/dist/lib/i18n/index.d.ts +2 -1
- package/dist/lib/i18n/resources/en/en.d.ts +1204 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +375 -26
- package/dist/lib/i18n/resources/fr/fr.d.ts +1204 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +362 -13
- package/dist/lib/i18n/resources/resources.d.ts +2398 -0
- package/dist/lib/i18n/stored-language.d.ts +7 -0
- package/dist/lib/i18n/translate-material.d.ts +15 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/i18n/types.d.ts +1 -1
- package/dist/lib/i18n/use-material-translation.d.ts +7 -0
- package/dist/lib/lib/client-only.utils.d.ts +1 -1
- package/dist/lib/lib/pdf-download.d.ts +35 -0
- package/dist/lib/lib/pdf-file-name.d.ts +9 -0
- package/dist/lib/lib/pdf-source.d.ts +57 -0
- package/dist/lib/lib/print-format.utils.d.ts +55 -11
- package/dist/lib/lib/print-fraction-digits.d.ts +12 -0
- package/dist/lib/lib/print-table.utils.d.ts +60 -0
- package/dist/lib/lib/print-value.utils.d.ts +40 -0
- package/dist/lib/lib/react-node-text.d.ts +3 -0
- package/dist/lib/lib/read-storage.d.ts +9 -0
- package/dist/lib/lib/redux/filter-slice.d.ts +1 -1
- package/dist/lib/lib/redux/slice-server-state.d.ts +6 -0
- package/dist/lib/lib/redux/status-slice.d.ts +2 -2
- package/dist/lib/lib/redux/step-form-slice.d.ts +5 -21
- package/dist/lib/lib/zod-error-map.d.ts +26 -4
- package/dist/lib/map/components/location-field.d.ts +2 -2
- package/dist/lib/map/components/partials/marker.d.ts +1 -1
- package/dist/lib/map/index.d.ts +2 -2
- package/dist/lib/pdf-core/file-loader.d.ts +18 -0
- package/dist/lib/pdf-core/http.d.ts +22 -0
- package/dist/lib/pdf-core/index.d.ts +11 -0
- package/dist/lib/pdf-core/model/builders.d.ts +54 -0
- package/dist/lib/pdf-core/model/data-table.d.ts +24 -0
- package/dist/lib/pdf-core/model/index.d.ts +4 -0
- package/dist/lib/pdf-core/model/nodes.d.ts +133 -0
- package/dist/lib/pdf-core/model/theme.d.ts +16 -0
- package/dist/lib/pdf-core/model/types.d.ts +108 -0
- package/dist/lib/pdf-core/render/context.d.ts +50 -0
- package/dist/lib/pdf-core/render/document.d.ts +21 -0
- package/dist/lib/pdf-core/render/index.d.ts +5 -0
- package/dist/lib/pdf-core/render/nodes/blocks.d.ts +19 -0
- package/dist/lib/pdf-core/render/nodes/header.d.ts +14 -0
- package/dist/lib/pdf-core/render/nodes/layout.d.ts +44 -0
- package/dist/lib/pdf-core/render/nodes/table.d.ts +14 -0
- package/dist/lib/pdf-core/render/page.d.ts +30 -0
- package/dist/lib/pdf-core/render/render-node.d.ts +10 -0
- package/dist/lib/pdf-core/render/styles.d.ts +303 -0
- package/dist/lib/print/components/pdf-text.d.ts +8 -0
- package/dist/lib/print/components/print-data-table/index.d.ts +3 -0
- package/dist/lib/print/components/print-data-table/print-data-table.d.ts +30 -0
- package/dist/lib/print/components/print-data-table/print-key-value.d.ts +32 -0
- package/dist/lib/print/components/print-data-table/print-metric.d.ts +26 -0
- package/dist/lib/print/components/print-document/index.d.ts +1 -0
- package/dist/lib/print/components/print-document/print-document.d.ts +40 -0
- package/dist/lib/print/components/print-document/print-render-context.d.ts +11 -0
- package/dist/lib/print/components/print-header.d.ts +13 -8
- package/dist/lib/print/index.d.ts +6 -0
- package/dist/lib/print/output/download-pdf.d.ts +17 -0
- package/dist/lib/print/output/index.d.ts +7 -0
- package/dist/lib/print/output/pdf-response.d.ts +12 -0
- package/dist/lib/print/output/render-pdf.d.ts +14 -0
- package/dist/lib/print/output/to-pdf-element.d.ts +8 -0
- package/dist/lib/print/output/types.d.ts +19 -0
- package/dist/lib/print/output/use-pdf-file.d.ts +20 -0
- package/dist/lib/vite/index.d.ts +12 -11
- package/dist/lib-uF8iIfvP.js +366 -0
- package/dist/lib.js +5 -4
- package/dist/main.js +21 -9
- package/dist/map.js +223 -207
- package/dist/material.css +1 -1
- package/dist/merge-Z2oE4ahJ.js +172 -0
- package/dist/mermaid.core-6Yzht5pQ.js +1096 -0
- package/dist/mindmap-definition-NLK3R4M7-AxpMaPtm.js +1008 -0
- package/dist/number.utils-CRFiOD5c.js +2686 -0
- package/dist/pdf-download-hrKrI5_6.js +153 -0
- package/dist/pdf-note-icons.data-DtpqXoIm.js +17 -0
- package/dist/pegDiagram-GJSIUBJH-DjilqSgv.js +94 -0
- package/dist/pieDiagram-5QR66LMP-H8rVCHkC.js +157 -0
- package/dist/print-format.utils-B7K9qvuo.js +53 -0
- package/dist/print-fraction-digits-WtEBeztr.js +5 -0
- package/dist/print.js +1211 -99
- package/dist/quadrantDiagram-O4NWA36T-CEDIjm-K.js +2001 -0
- package/dist/railroadDiagram-XR7U4H2S-BxR9jg9Y.js +76 -0
- package/dist/requirementDiagram-PLB6GJNP-DAuKYcHc.js +2228 -0
- package/dist/sankeyDiagram-IPEJSGJF-C3JJqzLE.js +962 -0
- package/dist/sequenceDiagram-PO4LG4MO-Cs8x9lRY.js +4200 -0
- package/dist/sortable-provider-DalccwHj.js +2684 -0
- package/dist/src-BIbdeDuO.js +1775 -0
- package/dist/stateDiagram-v2-GCMORJYK-PpP0APmW.js +2143 -0
- package/dist/stored-language-BVYsloiW.js +2295 -0
- package/dist/styles.css +2 -0
- package/dist/swimlanes-2SLR337P-BmqILJTV.js +4763 -0
- package/dist/swimlanesDiagram-TC7HE7FX-DO3BxSlE.js +28 -0
- package/dist/timeline-definition-EJHVYXUP-CEOIzkcq.js +1073 -0
- package/dist/translate-material-BO32ZDCi.js +12 -0
- package/dist/translator-CiPgm2s3.js +2739 -0
- package/dist/use-heading-spy-DSs5Coe-.js +519 -0
- package/dist/use-material-translation-RhoPY_RC.js +14 -0
- package/dist/usecaseDiagram-POWQR4AR-CMvboR6A.js +9932 -0
- package/dist/vennDiagram-UO4OBE2U-xN_G4DeI.js +1880 -0
- package/dist/vite.js +1 -1
- package/dist/wardleyDiagram-VNRHLVJA-C0B-kQ2b.js +645 -0
- package/dist/xychartDiagram-PMCCYNJV-Crmi6_s-.js +2167 -0
- package/docs/README.md +19 -0
- package/docs/components/README.md +115 -0
- package/docs/components/buttons-and-actions.md +446 -0
- package/docs/components/data-display.md +670 -0
- package/docs/components/data-table-filter-and-lists.md +271 -0
- package/docs/components/date-and-time.md +276 -0
- package/docs/components/feedback-and-status.md +520 -0
- package/docs/components/form-fields.md +816 -0
- package/docs/components/media-and-files.md +901 -0
- package/docs/components/navigation-and-layout.md +592 -0
- package/docs/components/overlays-and-menus.md +561 -0
- package/docs/components/primitives.md +654 -0
- package/docs/components/rich-widgets.md +421 -0
- package/docs/components/selection-and-choice.md +634 -0
- package/docs/getting-started.md +314 -0
- package/docs/guides/app-shell.md +274 -0
- package/docs/guides/forms.md +841 -0
- package/docs/guides/helpers.md +277 -0
- package/docs/guides/i18n.md +386 -0
- package/docs/guides/maps.md +212 -0
- package/docs/guides/printing.md +1291 -0
- package/docs/guides/ssr.md +118 -0
- package/docs/guides/theming.md +240 -0
- package/docs/previews/buttons-actions-actioncard.webp +0 -0
- package/docs/previews/buttons-actions-button.webp +0 -0
- package/docs/previews/buttons-actions-buttongroup.webp +0 -0
- package/docs/previews/buttons-actions-copybutton.webp +0 -0
- package/docs/previews/buttons-actions-highlighttext.webp +0 -0
- package/docs/previews/buttons-actions-iconbutton.webp +0 -0
- package/docs/previews/buttons-actions-languageswitcher.webp +0 -0
- package/docs/previews/buttons-actions-linkbutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-responsivebutton.webp +0 -0
- package/docs/previews/buttons-actions-scrolltotop.webp +0 -0
- package/docs/previews/buttons-actions-splitbutton.webp +0 -0
- package/docs/previews/buttons-actions-themetoggle.webp +0 -0
- package/docs/previews/data-display-accordioncard.webp +0 -0
- package/docs/previews/data-display-apiendpoint.webp +0 -0
- package/docs/previews/data-display-apioperation.webp +0 -0
- package/docs/previews/data-display-avatar.webp +0 -0
- package/docs/previews/data-display-avatargroup.webp +0 -0
- package/docs/previews/data-display-badge.webp +0 -0
- package/docs/previews/data-display-barecode.webp +0 -0
- package/docs/previews/data-display-card-presets.webp +0 -0
- package/docs/previews/data-display-chip.webp +0 -0
- package/docs/previews/data-display-codeblock.webp +0 -0
- package/docs/previews/data-display-codediff.webp +0 -0
- package/docs/previews/data-display-codegroup.webp +0 -0
- package/docs/previews/data-display-countbadge.webp +0 -0
- package/docs/previews/data-display-description.webp +0 -0
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/data-display-eventchip.webp +0 -0
- package/docs/previews/data-display-figure.webp +0 -0
- package/docs/previews/data-display-jsonviewer.webp +0 -0
- package/docs/previews/data-display-listtile.webp +0 -0
- package/docs/previews/data-display-markdown.webp +0 -0
- package/docs/previews/data-display-metric-cards.webp +0 -0
- package/docs/previews/data-display-paramtable.webp +0 -0
- package/docs/previews/data-display-qrcode.webp +0 -0
- package/docs/previews/data-display-statcard.webp +0 -0
- package/docs/previews/data-display-statusindicator.webp +0 -0
- package/docs/previews/data-display-summarydata.webp +0 -0
- package/docs/previews/data-display-terminal.webp +0 -0
- package/docs/previews/data-display-timeline.webp +0 -0
- package/docs/previews/data-table-filter-lists-datatable.webp +0 -0
- package/docs/previews/data-table-filter-lists-drag-and-drop.webp +0 -0
- package/docs/previews/data-table-filter-lists-filter.webp +0 -0
- package/docs/previews/data-table-filter-lists-pagination.webp +0 -0
- package/docs/previews/data-table-filter-lists-tree.webp +0 -0
- package/docs/previews/date-time-calendar.webp +0 -0
- package/docs/previews/date-time-datefield.webp +0 -0
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/date-time-durationfield.webp +0 -0
- package/docs/previews/date-time-timefield.webp +0 -0
- package/docs/previews/date-time-timepicker.webp +0 -0
- package/docs/previews/feedback-status-alert.webp +0 -0
- package/docs/previews/feedback-status-alertdialog.webp +0 -0
- package/docs/previews/feedback-status-banner.webp +0 -0
- package/docs/previews/feedback-status-circularprogress.webp +0 -0
- package/docs/previews/feedback-status-confirmationdialog.webp +0 -0
- package/docs/previews/feedback-status-confirmdialog.webp +0 -0
- package/docs/previews/feedback-status-customalertdialog.webp +0 -0
- package/docs/previews/feedback-status-customdialog.webp +0 -0
- package/docs/previews/feedback-status-emptystate.webp +0 -0
- package/docs/previews/feedback-status-hydrateloading.webp +0 -0
- package/docs/previews/feedback-status-notifications.webp +0 -0
- package/docs/previews/feedback-status-progress.webp +0 -0
- package/docs/previews/feedback-status-scrollprogress.webp +0 -0
- package/docs/previews/feedback-status-skeleton.webp +0 -0
- package/docs/previews/feedback-status-spinner.webp +0 -0
- package/docs/previews/feedback-status-toast.webp +0 -0
- package/docs/previews/form-fields-attributes.webp +0 -0
- package/docs/previews/form-fields-colorfield.webp +0 -0
- package/docs/previews/form-fields-contacts.webp +0 -0
- package/docs/previews/form-fields-countryfield.webp +0 -0
- package/docs/previews/form-fields-currencyfield.webp +0 -0
- package/docs/previews/form-fields-emailfield.webp +0 -0
- package/docs/previews/form-fields-field.webp +0 -0
- package/docs/previews/form-fields-inlineedit.webp +0 -0
- package/docs/previews/form-fields-inputgroupfield.webp +0 -0
- package/docs/previews/form-fields-numberfield.webp +0 -0
- package/docs/previews/form-fields-openinghours.webp +0 -0
- package/docs/previews/form-fields-otpfield.webp +0 -0
- package/docs/previews/form-fields-passwordfield.webp +0 -0
- package/docs/previews/form-fields-percentfield.webp +0 -0
- package/docs/previews/form-fields-phonefield.webp +0 -0
- package/docs/previews/form-fields-postaladdress.webp +0 -0
- package/docs/previews/form-fields-ratingfield.webp +0 -0
- package/docs/previews/form-fields-searchfield.webp +0 -0
- package/docs/previews/form-fields-slider.webp +0 -0
- package/docs/previews/form-fields-switch.webp +0 -0
- package/docs/previews/form-fields-textareafield.webp +0 -0
- package/docs/previews/form-fields-textfield.webp +0 -0
- package/docs/previews/form-fields-timezonefield.webp +0 -0
- package/docs/previews/form-fields-urlfield.webp +0 -0
- package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
- package/docs/previews/guides-i18n-translated-components.webp +0 -0
- package/docs/previews/media-files-camera.webp +0 -0
- package/docs/previews/media-files-carousel.webp +0 -0
- package/docs/previews/media-files-filelist.webp +0 -0
- package/docs/previews/media-files-filelistfield.webp +0 -0
- package/docs/previews/media-files-gallery.webp +0 -0
- package/docs/previews/media-files-imagecropper.webp +0 -0
- package/docs/previews/media-files-imagefield.webp +0 -0
- package/docs/previews/media-files-lightboxgallery.webp +0 -0
- package/docs/previews/media-files-map.webp +0 -0
- package/docs/previews/media-files-minigallery.webp +0 -0
- package/docs/previews/media-files-networkuploadfield.webp +0 -0
- package/docs/previews/media-files-pdfreader.webp +0 -0
- package/docs/previews/media-files-s3uploadfield.webp +0 -0
- package/docs/previews/media-files-stxplayer.webp +0 -0
- package/docs/previews/media-files-uploadfield.webp +0 -0
- package/docs/previews/navigation-layout-appshell.webp +0 -0
- package/docs/previews/navigation-layout-background.webp +0 -0
- package/docs/previews/navigation-layout-bottomappbar.webp +0 -0
- package/docs/previews/navigation-layout-breadcrumb.webp +0 -0
- package/docs/previews/navigation-layout-doc-api.webp +0 -0
- package/docs/previews/navigation-layout-doc-blocks.webp +0 -0
- package/docs/previews/navigation-layout-doc.webp +0 -0
- package/docs/previews/navigation-layout-hero.webp +0 -0
- package/docs/previews/navigation-layout-listdetailslayout.webp +0 -0
- package/docs/previews/navigation-layout-pager.webp +0 -0
- package/docs/previews/navigation-layout-panelayout.webp +0 -0
- package/docs/previews/navigation-layout-resizable.webp +0 -0
- package/docs/previews/navigation-layout-responsivegrid.webp +0 -0
- package/docs/previews/navigation-layout-seealso.webp +0 -0
- package/docs/previews/navigation-layout-sidebar.webp +0 -0
- package/docs/previews/navigation-layout-skiplink.webp +0 -0
- package/docs/previews/navigation-layout-stepper.webp +0 -0
- package/docs/previews/navigation-layout-steps.webp +0 -0
- package/docs/previews/navigation-layout-threadlayout.webp +0 -0
- package/docs/previews/navigation-layout-toc.webp +0 -0
- package/docs/previews/navigation-layout-topappbar.webp +0 -0
- package/docs/previews/overlays-menus-command.webp +0 -0
- package/docs/previews/overlays-menus-contextmenu.webp +0 -0
- package/docs/previews/overlays-menus-dialog.webp +0 -0
- package/docs/previews/overlays-menus-drawer.webp +0 -0
- package/docs/previews/overlays-menus-dropdownmenu.webp +0 -0
- package/docs/previews/overlays-menus-hovercard.webp +0 -0
- package/docs/previews/overlays-menus-menubar.webp +0 -0
- package/docs/previews/overlays-menus-popover.webp +0 -0
- package/docs/previews/overlays-menus-sheet.webp +0 -0
- package/docs/previews/overlays-menus-tooltip.webp +0 -0
- package/docs/previews/primitives-accordion.webp +0 -0
- package/docs/previews/primitives-anchorheading.webp +0 -0
- package/docs/previews/primitives-card.webp +0 -0
- package/docs/previews/primitives-collapsible.webp +0 -0
- package/docs/previews/primitives-extendedlabel.webp +0 -0
- package/docs/previews/primitives-helpertext.webp +0 -0
- package/docs/previews/primitives-icon.webp +0 -0
- package/docs/previews/primitives-input.webp +0 -0
- package/docs/previews/primitives-inputgroup.webp +0 -0
- package/docs/previews/primitives-kbd.webp +0 -0
- package/docs/previews/primitives-label.webp +0 -0
- package/docs/previews/primitives-scrollarea.webp +0 -0
- package/docs/previews/primitives-separator.webp +0 -0
- package/docs/previews/primitives-table.webp +0 -0
- package/docs/previews/primitives-tabs.webp +0 -0
- package/docs/previews/primitives-textarea.webp +0 -0
- package/docs/previews/primitives-toggle.webp +0 -0
- package/docs/previews/primitives-togglegroup.webp +0 -0
- package/docs/previews/primitives-typography.webp +0 -0
- package/docs/previews/rich-widgets-charts-areachart.webp +0 -0
- package/docs/previews/rich-widgets-charts-barchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-funnelchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-heatmapchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-linechart.webp +0 -0
- package/docs/previews/rich-widgets-charts-piechart.webp +0 -0
- package/docs/previews/rich-widgets-charts-radarchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-scatterchart.webp +0 -0
- package/docs/previews/rich-widgets-chat-advanced.webp +0 -0
- package/docs/previews/rich-widgets-chat-inbox.webp +0 -0
- package/docs/previews/rich-widgets-chat-overview.webp +0 -0
- package/docs/previews/rich-widgets-codeeditor.webp +0 -0
- package/docs/previews/rich-widgets-emojipicker.webp +0 -0
- package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
- package/docs/previews/rich-widgets-kanban.webp +0 -0
- package/docs/previews/rich-widgets-mentionlist.webp +0 -0
- package/docs/previews/rich-widgets-questioncard.webp +0 -0
- package/docs/previews/rich-widgets-quiz.webp +0 -0
- package/docs/previews/rich-widgets-richtexteditor.webp +0 -0
- package/docs/previews/selection-choice-autocomplete.webp +0 -0
- package/docs/previews/selection-choice-checkbox.webp +0 -0
- package/docs/previews/selection-choice-checkboxgroup.webp +0 -0
- package/docs/previews/selection-choice-checkcardfield.webp +0 -0
- package/docs/previews/selection-choice-combobox.webp +0 -0
- package/docs/previews/selection-choice-comboboxfield.webp +0 -0
- package/docs/previews/selection-choice-radiogroup.webp +0 -0
- package/docs/previews/selection-choice-select.webp +0 -0
- package/docs/previews/selection-choice-selectcardfield.webp +0 -0
- package/docs/previews/selection-choice-selectchipfield.webp +0 -0
- package/docs/previews/selection-choice-selectfield.webp +0 -0
- package/docs/previews/selection-choice-sortablelist.webp +0 -0
- package/docs/previews/selection-choice-switcher.webp +0 -0
- package/docs/previews/selection-choice-transferlist.webp +0 -0
- package/docs/roadmap.md +208 -0
- package/docs/troubleshooting.md +2149 -0
- package/lib/components/components.css +22 -0
- package/lib/components/ui/actions/button-group/button-group.css +12 -0
- package/lib/components/ui/display/code/code-moonlight.css +73 -0
- package/lib/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
- package/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
- package/lib/components/ui/fields/contacts/contact-item.css +9 -0
- package/lib/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
- package/lib/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
- package/lib/styles.css +2 -0
- package/package.json +19 -7
- package/dist/abnfDiagram-O67JEVCF-DDqmYxyZ.js +0 -89
- package/dist/architectureDiagram-NJMV4G6O-PwBg8yU0.js +0 -4146
- package/dist/blockDiagram-BEXU5L5S-DLqZARaF.js +0 -1946
- package/dist/c4Diagram-YGBWAQC7-Dq3xGNd4.js +0 -2990
- package/dist/channel-DIvZvk0q.js +0 -5
- package/dist/chunk-3FUC2YCW-C3UF_VLZ.js +0 -364
- package/dist/chunk-5DYCD2WN-BepRdgxI.js +0 -37
- package/dist/chunk-6AEJRKK7-BN1V-pJK.js +0 -10
- package/dist/chunk-742MDFTN-B7xNATkT.js +0 -275
- package/dist/chunk-7INBJB4K-BgETHnGm.js +0 -4487
- package/dist/chunk-7M6MHVWA-DhVIMmqx.js +0 -4256
- package/dist/chunk-7PRAP22T-1TE3ytg4.js +0 -67
- package/dist/chunk-GNY47TPC-ItV2FvY4.js +0 -75
- package/dist/chunk-GTNCS2PH-DHDm9wdf.js +0 -490
- package/dist/chunk-GWA4HPMP-Dk5EfWHB.js +0 -61
- package/dist/chunk-MBY4JIJT-CKKv0vlf.js +0 -1847
- package/dist/chunk-NETBCI7D-DDgfuS2X.js +0 -236
- package/dist/chunk-O7XYJQB3-kPU-FrcW.js +0 -3922
- package/dist/chunk-UA2S7LBM-BUjL6NMa.js +0 -363
- package/dist/chunk-WEXAMYUT-CLclanOP.js +0 -26
- package/dist/chunk-XXDRQBXY-BnSZ-xBE.js +0 -9
- package/dist/chunk-Z7XXMR3K-9wNLyUjb.js +0 -677
- package/dist/chunk-ZIGJFQKS-7XzdXF8V.js +0 -663
- package/dist/classDiagram-v2-NBCMYWYE-Bnc_Rw-F.js +0 -3397
- package/dist/cose-bilkent-JH36ORCC-PSraAr7H.js +0 -2251
- package/dist/cynefinDiagram-VND7K2PF-Ds3RkBsV.js +0 -349
- package/dist/dagre-6A5THRUB-BzZODvtv.js +0 -2191
- package/dist/diagram-22UHCM2B-CtvoZXaL.js +0 -5084
- package/dist/diagram-3UASUU5V-BZgAQDVW.js +0 -724
- package/dist/diagram-ATOU4E4O-QGWopkvz.js +0 -432
- package/dist/diagram-CDSNMT55-ywYyPUbh.js +0 -301
- package/dist/diagram-MLGK6HIB-CVioCY-C.js +0 -134
- package/dist/diagram-MPIPVDR6-RNx6m_jT.js +0 -214
- package/dist/dist-Cxzqei1q.js +0 -50
- package/dist/dist-NZAlFjcd.js +0 -16576
- package/dist/ebnfDiagram-ZINNZB2B-DgcwhTtc.js +0 -100
- package/dist/elk-276RUBZZ-DWlp7lAW.js +0 -47598
- package/dist/erDiagram-OPXOYQCR-BNnvl0WV.js +0 -1970
- package/dist/flowDiagram-KWPJA3E3-COO8DqZK.js +0 -17
- package/dist/ganttDiagram-FUAMR5RP-D0YYQV0q.js +0 -2929
- package/dist/gitGraphDiagram-X574FWY7-eqb34wSw.js +0 -729
- package/dist/graphlib-CIkkh3QG.js +0 -493
- package/dist/hooks-tbav1b16.js +0 -615
- package/dist/i18n-CGol3PGw.js +0 -4260
- package/dist/infoDiagram-VRGFBTTK-BShm-0Tw.js +0 -20
- package/dist/isArrayLikeObject-VG1KOJ3m.js +0 -539
- package/dist/ishikawaDiagram-OU5B5YK6-DspMoedf.js +0 -719
- package/dist/journeyDiagram-ZHPQQLJL-Cr1khCo3.js +0 -884
- package/dist/kanban-definition-PNTS6WVX-1HKJEIG1.js +0 -976
- package/dist/lib/components/ui/accordion-card.d.ts +0 -13
- package/dist/lib/components/ui/accordion.stories.d.ts +0 -15
- package/dist/lib/components/ui/action-card.d.ts +0 -11
- package/dist/lib/components/ui/action-card.stories.d.ts +0 -20
- package/dist/lib/components/ui/anchor-heading.d.ts +0 -9
- package/dist/lib/components/ui/anchor-heading.stories.d.ts +0 -13
- package/dist/lib/components/ui/anchor-heading.utils.d.ts +0 -2
- package/dist/lib/components/ui/api-endpoint.stories.d.ts +0 -14
- package/dist/lib/components/ui/api-operation.d.ts +0 -13
- package/dist/lib/components/ui/api-operation.stories.d.ts +0 -13
- package/dist/lib/components/ui/app-bar/bottom-app-bar.stories.d.ts +0 -15
- package/dist/lib/components/ui/app-shell/app-breadcrumb.d.ts +0 -19
- package/dist/lib/components/ui/app-shell/app-shell.stories.d.ts +0 -17
- package/dist/lib/components/ui/app-shell/app-shell.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/app-shell/app-sidebar.d.ts +0 -17
- package/dist/lib/components/ui/app-shell/types.d.ts +0 -24
- package/dist/lib/components/ui/attributes/attribute-dialog.d.ts +0 -10
- package/dist/lib/components/ui/attributes/attribute-form/attribute-value-form-field.d.ts +0 -12
- package/dist/lib/components/ui/attributes/attribute-form/consts.d.ts +0 -45
- package/dist/lib/components/ui/attributes/attribute-values-form/attribute-values-form.d.ts +0 -15
- package/dist/lib/components/ui/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +0 -12
- package/dist/lib/components/ui/attributes/attributes-field/attributes-field.d.ts +0 -9
- package/dist/lib/components/ui/attributes/attributes-field/state.d.ts +0 -14
- package/dist/lib/components/ui/attributes/attributes-form-field/attributes-form-field.d.ts +0 -11
- package/dist/lib/components/ui/attributes/attributes-list/attributes-list.d.ts +0 -11
- package/dist/lib/components/ui/attributes/attributes.stories.d.ts +0 -17
- package/dist/lib/components/ui/attributes/consts.d.ts +0 -2
- package/dist/lib/components/ui/attributes/utils.d.ts +0 -4
- package/dist/lib/components/ui/autocomplete.d.ts +0 -40
- package/dist/lib/components/ui/autocomplete.stories.d.ts +0 -18
- package/dist/lib/components/ui/avatar-group/avatar-group.stories.d.ts +0 -16
- package/dist/lib/components/ui/avatar-group/avatar-group.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/avatar.d.ts +0 -15
- package/dist/lib/components/ui/avatar.stories.d.ts +0 -16
- package/dist/lib/components/ui/badge.d.ts +0 -9
- package/dist/lib/components/ui/badge.stories.d.ts +0 -16
- package/dist/lib/components/ui/banner/banner.stories.d.ts +0 -18
- package/dist/lib/components/ui/barecode.d.ts +0 -4
- package/dist/lib/components/ui/barecode.stories.d.ts +0 -42
- package/dist/lib/components/ui/breadcrumb.stories.d.ts +0 -14
- package/dist/lib/components/ui/buttons/button-group.stories.d.ts +0 -18
- package/dist/lib/components/ui/buttons/button.d.ts +0 -16
- package/dist/lib/components/ui/buttons/button.stories.d.ts +0 -39
- package/dist/lib/components/ui/buttons/icon-button.d.ts +0 -13
- package/dist/lib/components/ui/buttons/icon-button.stories.d.ts +0 -23
- package/dist/lib/components/ui/buttons/index.d.ts +0 -6
- package/dist/lib/components/ui/buttons/link.d.ts +0 -7
- package/dist/lib/components/ui/buttons/link.stories.d.ts +0 -333
- package/dist/lib/components/ui/buttons/responsive-button.d.ts +0 -7
- package/dist/lib/components/ui/buttons/responsive-button.stories.d.ts +0 -22
- package/dist/lib/components/ui/buttons/split-button.d.ts +0 -8
- package/dist/lib/components/ui/buttons/split-button.stories.d.ts +0 -17
- package/dist/lib/components/ui/calendar.d.ts +0 -12
- package/dist/lib/components/ui/calendar.stories.d.ts +0 -19
- package/dist/lib/components/ui/calendar.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/__storries__/camera.stories.d.ts +0 -15
- package/dist/lib/components/ui/camera/state/camera.reducers.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/state/camera.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/state/camera.thunks.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/types.d.ts +0 -38
- package/dist/lib/components/ui/camera/utils/camera.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/card.stories.d.ts +0 -14
- package/dist/lib/components/ui/cards/cards.stories.d.ts +0 -39
- package/dist/lib/components/ui/cards/cards.stories.data.d.ts +0 -27
- package/dist/lib/components/ui/cards/types.d.ts +0 -187
- package/dist/lib/components/ui/carousel.d.ts +0 -19
- package/dist/lib/components/ui/carousel.stories.d.ts +0 -14
- package/dist/lib/components/ui/charts/area-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/bar-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/funnel-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/heatmap-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/line-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/pie-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/radar-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/scatter-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/chat/chat-advanced.stories.d.ts +0 -13
- package/dist/lib/components/ui/chat/chat-composer-attachments.d.ts +0 -18
- package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +0 -8
- package/dist/lib/components/ui/chat/chat-composer.d.ts +0 -24
- package/dist/lib/components/ui/chat/chat-copy-text.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat-inbox.stories.d.ts +0 -13
- package/dist/lib/components/ui/chat/chat-markdown.d.ts +0 -6
- package/dist/lib/components/ui/chat/chat-markdown.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat-unseen.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat.stories.d.ts +0 -19
- package/dist/lib/components/ui/chat/index.d.ts +0 -13
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.d.ts +0 -25
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.test.d.ts +0 -1
- package/dist/lib/components/ui/check-card-field.d.ts +0 -13
- package/dist/lib/components/ui/checkbox-group.d.ts +0 -15
- package/dist/lib/components/ui/checkbox-group.stories.d.ts +0 -21
- package/dist/lib/components/ui/checkbox.stories.d.ts +0 -15
- package/dist/lib/components/ui/chip.d.ts +0 -11
- package/dist/lib/components/ui/chip.stories.d.ts +0 -26
- package/dist/lib/components/ui/code/code-block.stories.d.ts +0 -19
- package/dist/lib/components/ui/code/code-diff.stories.d.ts +0 -13
- package/dist/lib/components/ui/code/code-group.stories.d.ts +0 -14
- package/dist/lib/components/ui/code/highlight.test.d.ts +0 -1
- package/dist/lib/components/ui/code/json-viewer.stories.d.ts +0 -16
- package/dist/lib/components/ui/code/languages.test.d.ts +0 -1
- package/dist/lib/components/ui/code/moonlight-monaco.test.d.ts +0 -1
- package/dist/lib/components/ui/code/moonlight-tokens.test.d.ts +0 -1
- package/dist/lib/components/ui/code/parse-json.d.ts +0 -11
- package/dist/lib/components/ui/code/parse-json.test.d.ts +0 -1
- package/dist/lib/components/ui/code-editor.stories.d.ts +0 -19
- package/dist/lib/components/ui/color-field/color-field.d.ts +0 -8
- package/dist/lib/components/ui/color-field/color-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/color-field/index.d.ts +0 -3
- package/dist/lib/components/ui/color-field/normalize-hex.test.d.ts +0 -1
- package/dist/lib/components/ui/combobox-field/combobox-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/combobox-field/index.d.ts +0 -2
- package/dist/lib/components/ui/combobox.d.ts +0 -27
- package/dist/lib/components/ui/combobox.stories.d.ts +0 -21
- package/dist/lib/components/ui/command.d.ts +0 -16
- package/dist/lib/components/ui/contacts/contact-item.d.ts +0 -11
- package/dist/lib/components/ui/contacts/contacts.stories.d.ts +0 -16
- package/dist/lib/components/ui/contacts/utils.d.ts +0 -11
- package/dist/lib/components/ui/context-menu.stories.d.ts +0 -14
- package/dist/lib/components/ui/copy-button/copy-button.d.ts +0 -9
- package/dist/lib/components/ui/copy-button/copy-button.stories.d.ts +0 -16
- package/dist/lib/components/ui/copy-button/copy-to-clipboard.test.d.ts +0 -1
- package/dist/lib/components/ui/count-badge.d.ts +0 -10
- package/dist/lib/components/ui/count-badge.stories.d.ts +0 -16
- package/dist/lib/components/ui/country-field/country-field.d.ts +0 -20
- package/dist/lib/components/ui/country-field/country-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/country-field/index.d.ts +0 -2
- package/dist/lib/components/ui/currency-field/currency-field.d.ts +0 -8
- package/dist/lib/components/ui/currency-field/currency-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/currency-field/index.d.ts +0 -3
- package/dist/lib/components/ui/currency-field/parse-currency.test.d.ts +0 -1
- package/dist/lib/components/ui/data-table/data-table.stories.d.ts +0 -27
- package/dist/lib/components/ui/data-table/index.d.ts +0 -12
- package/dist/lib/components/ui/date-field.d.ts +0 -21
- package/dist/lib/components/ui/date-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/date-range-field.d.ts +0 -17
- package/dist/lib/components/ui/date-range-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/dialog.d.ts +0 -14
- package/dist/lib/components/ui/dnd/dnd.stories.d.ts +0 -11
- package/dist/lib/components/ui/dnd/insert-ids.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/doc-api.stories.d.ts +0 -13
- package/dist/lib/components/ui/doc/doc-blocks.stories.d.ts +0 -13
- package/dist/lib/components/ui/doc/doc.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/doc.stories.d.ts +0 -15
- package/dist/lib/components/ui/doc/doc.stories.data.d.ts +0 -7
- package/dist/lib/components/ui/doc/doc.utils.d.ts +0 -29
- package/dist/lib/components/ui/doc/doc.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/partials/doc-empty.d.ts +0 -3
- package/dist/lib/components/ui/doc/partials/doc-progress.d.ts +0 -3
- package/dist/lib/components/ui/doc/partials/doc-skip-link.d.ts +0 -2
- package/dist/lib/components/ui/drawer.d.ts +0 -14
- package/dist/lib/components/ui/dropdown-menu.d.ts +0 -26
- package/dist/lib/components/ui/dropdown-menu.stories.d.ts +0 -14
- package/dist/lib/components/ui/duration-field/duration-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/duration-field/index.d.ts +0 -3
- package/dist/lib/components/ui/duration-field/parse-duration.test.d.ts +0 -1
- package/dist/lib/components/ui/education/questions/question.stories.d.ts +0 -16
- package/dist/lib/components/ui/education/questions/question.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/education/quizzes/quiz.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/education/quizzes/quiz.stories.d.ts +0 -14
- package/dist/lib/components/ui/education/quizzes/quiz.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/email-field/email-field.d.ts +0 -3
- package/dist/lib/components/ui/email-field/email-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/email-field/index.d.ts +0 -3
- package/dist/lib/components/ui/email-field/is-email.test.d.ts +0 -1
- package/dist/lib/components/ui/emoji/emoji.groups.test.d.ts +0 -1
- package/dist/lib/components/ui/emoji/emoji.stories.d.ts +0 -13
- package/dist/lib/components/ui/emoji/emoji.stories.data.d.ts +0 -2
- package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/entity-header.d.ts +0 -12
- package/dist/lib/components/ui/entity-header.stories.d.ts +0 -18
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.d.ts +0 -14
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.container.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.preview.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.spans.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.stories.d.ts +0 -19
- package/dist/lib/components/ui/event-calendar/event-calendar.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/partials/calendar-event-chip.d.ts +0 -8
- package/dist/lib/components/ui/event-chip/event-chip.stories.d.ts +0 -16
- package/dist/lib/components/ui/extended-label.d.ts +0 -7
- package/dist/lib/components/ui/feedback/alert-dialog.d.ts +0 -15
- package/dist/lib/components/ui/feedback/alert-dialog.stories.d.ts +0 -14
- package/dist/lib/components/ui/feedback/alert.d.ts +0 -12
- package/dist/lib/components/ui/feedback/alert.stories.d.ts +0 -20
- package/dist/lib/components/ui/feedback/circular-progress.d.ts +0 -20
- package/dist/lib/components/ui/feedback/circular-progress.stories.d.ts +0 -33
- package/dist/lib/components/ui/feedback/confirm-dialog.d.ts +0 -12
- package/dist/lib/components/ui/feedback/confirm-dialog.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/confirmation-dialog.d.ts +0 -17
- package/dist/lib/components/ui/feedback/confirmation-dialog.stories.d.ts +0 -17
- package/dist/lib/components/ui/feedback/custom-alert-dialog.d.ts +0 -10
- package/dist/lib/components/ui/feedback/custom-alert-dialog.stories.d.ts +0 -14
- package/dist/lib/components/ui/feedback/custom-dialog.d.ts +0 -10
- package/dist/lib/components/ui/feedback/custom-dialog.stories.d.ts +0 -17
- package/dist/lib/components/ui/feedback/empty-state.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/progress.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/scroll-progress.stories.d.ts +0 -13
- package/dist/lib/components/ui/feedback/spinner.d.ts +0 -9
- package/dist/lib/components/ui/feedback/spinner.stories.d.ts +0 -24
- package/dist/lib/components/ui/feedback/toast.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/toasts.d.ts +0 -41
- package/dist/lib/components/ui/feedback/toasts.test.d.ts +0 -1
- package/dist/lib/components/ui/field/types.d.ts +0 -67
- package/dist/lib/components/ui/figure.stories.d.ts +0 -13
- package/dist/lib/components/ui/file-list/file-list-field.d.ts +0 -12
- package/dist/lib/components/ui/file-list/file-list-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/file-list/file-list-s3-field.d.ts +0 -6
- package/dist/lib/components/ui/file-list/file-list.stories.d.ts +0 -17
- package/dist/lib/components/ui/file-list/format-file-size.test.d.ts +0 -1
- package/dist/lib/components/ui/file-list/index.d.ts +0 -8
- package/dist/lib/components/ui/filter/__stories__/filter.stories.d.ts +0 -26
- package/dist/lib/components/ui/filter/consts.d.ts +0 -51
- package/dist/lib/components/ui/filter/filter-persistence-main.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-presets.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-storage.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-url.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-preset.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-schema.utils.d.ts +0 -34
- package/dist/lib/components/ui/filter/filter-schema.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-trigger.d.ts +0 -6
- package/dist/lib/components/ui/filter/filter-validation.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-value.utils.d.ts +0 -29
- package/dist/lib/components/ui/filter/filter-value.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/forms/filter-form-field.d.ts +0 -52
- package/dist/lib/components/ui/filter/index.d.ts +0 -21
- package/dist/lib/components/ui/format-count.test.d.ts +0 -1
- package/dist/lib/components/ui/forms/autocomplete-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/check-card-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/checkbox-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/checkbox-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/code-editor-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/color-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/combobox-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/country-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/currency-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/date-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/date-range-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/duration-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/email-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/file-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/file-list-s3-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/files-form-field.d.ts +0 -9
- package/dist/lib/components/ui/forms/image-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/image-s3-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/inline-edit-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/input-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/network-upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/number-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/otp-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/password-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/percent-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/phone-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/radio-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/rating-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/rich-text-editor-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/s3-upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/search-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-card-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-chip-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/slider-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/sortable-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/switch-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/text-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/textarea-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/time-form-field.d.ts +0 -5
- package/dist/lib/components/ui/forms/timezone-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/transfer-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/url-form-field.d.ts +0 -3
- package/dist/lib/components/ui/galleries/gallery-download.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.presets.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.stories.d.ts +0 -26
- package/dist/lib/components/ui/galleries/gallery.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/lightbox-gallery.stories.d.ts +0 -12
- package/dist/lib/components/ui/galleries/mini-gallery.stories.d.ts +0 -12
- package/dist/lib/components/ui/helper-text.d.ts +0 -5
- package/dist/lib/components/ui/hero.stories.d.ts +0 -13
- package/dist/lib/components/ui/hidrate-loading.d.ts +0 -6
- package/dist/lib/components/ui/highlight-text.stories.d.ts +0 -12
- package/dist/lib/components/ui/icon.stories.d.ts +0 -15
- package/dist/lib/components/ui/icon.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/crop-image.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/crop-resize-handles.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/image-cropper.stories.d.ts +0 -17
- package/dist/lib/components/ui/image-field/image-field.d.ts +0 -14
- package/dist/lib/components/ui/image-field/image-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/image-field/image-s3-field.d.ts +0 -6
- package/dist/lib/components/ui/image-field/index.d.ts +0 -4
- package/dist/lib/components/ui/inline-edit/index.d.ts +0 -2
- package/dist/lib/components/ui/inline-edit/inline-edit.stories.d.ts +0 -17
- package/dist/lib/components/ui/input-group-field.stories.d.ts +0 -35
- package/dist/lib/components/ui/input-group.d.ts +0 -13
- package/dist/lib/components/ui/input-group.stories.d.ts +0 -25
- package/dist/lib/components/ui/input.d.ts +0 -4
- package/dist/lib/components/ui/kanban/kanban.stories.d.ts +0 -18
- package/dist/lib/components/ui/kanban/kanban.utils.d.ts +0 -24
- package/dist/lib/components/ui/kanban/kanban.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/kbd.stories.d.ts +0 -16
- package/dist/lib/components/ui/language-switcher.d.ts +0 -6
- package/dist/lib/components/ui/language-switcher.stories.d.ts +0 -14
- package/dist/lib/components/ui/layout/list-details-layout.d.ts +0 -47
- package/dist/lib/components/ui/layout/list-details-layout.stories.d.ts +0 -13
- package/dist/lib/components/ui/layout/pane-layout.d.ts +0 -48
- package/dist/lib/components/ui/layout/pane-layout.stories.d.ts +0 -13
- package/dist/lib/components/ui/layout/thread-layout.stories.d.ts +0 -15
- package/dist/lib/components/ui/list-tile.stories.d.ts +0 -19
- package/dist/lib/components/ui/load-more-button.d.ts +0 -25
- package/dist/lib/components/ui/load-more-button.stories.d.ts +0 -17
- package/dist/lib/components/ui/markdown/markdown.d.ts +0 -7
- package/dist/lib/components/ui/markdown/markdown.stories.d.ts +0 -15
- package/dist/lib/components/ui/markdown/markdown.test.d.ts +0 -1
- package/dist/lib/components/ui/mentions/index.d.ts +0 -3
- package/dist/lib/components/ui/mentions/mentions.stories.d.ts +0 -13
- package/dist/lib/components/ui/mentions/mentions.stories.data.d.ts +0 -2
- package/dist/lib/components/ui/mentions/mentions.utils.d.ts +0 -7
- package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/menubar.d.ts +0 -26
- package/dist/lib/components/ui/metrics/metrics.stories.d.ts +0 -28
- package/dist/lib/components/ui/metrics/metrics.stories.data.d.ts +0 -17
- package/dist/lib/components/ui/metrics/types.d.ts +0 -125
- package/dist/lib/components/ui/notifications/notifications.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/notifications/notifications.stories.d.ts +0 -16
- package/dist/lib/components/ui/notifications/notifications.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/number-field/index.d.ts +0 -3
- package/dist/lib/components/ui/number-field/number-field.d.ts +0 -22
- package/dist/lib/components/ui/number-field/number-field.stories.d.ts +0 -18
- package/dist/lib/components/ui/number-field/parse-number.test.d.ts +0 -1
- package/dist/lib/components/ui/opening-hours/consts.d.ts +0 -18
- package/dist/lib/components/ui/opening-hours/opening-hours-item.d.ts +0 -11
- package/dist/lib/components/ui/opening-hours/opening-hours.stories.d.ts +0 -15
- package/dist/lib/components/ui/otp-field.stories.d.ts +0 -30
- package/dist/lib/components/ui/pager.stories.d.ts +0 -13
- package/dist/lib/components/ui/pagination/pagination-items.test.d.ts +0 -1
- package/dist/lib/components/ui/pagination/pagination.stories.d.ts +0 -21
- package/dist/lib/components/ui/param-table.stories.d.ts +0 -13
- package/dist/lib/components/ui/password-field.d.ts +0 -8
- package/dist/lib/components/ui/password-field.stories.d.ts +0 -19
- package/dist/lib/components/ui/password-strength.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/index.d.ts +0 -14
- package/dist/lib/components/ui/pdf-viewer/index.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-download.d.ts +0 -3
- package/dist/lib/components/ui/pdf-viewer/pdf-download.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-escape.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-page-list.d.ts +0 -11
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-body.d.ts +0 -26
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.d.ts +0 -16
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-states.d.ts +0 -12
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.d.ts +0 -20
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.reducer.d.ts +0 -47
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.stories.d.ts +0 -12
- package/dist/lib/components/ui/pdf-viewer/pdf-search.d.ts +0 -7
- package/dist/lib/components/ui/pdf-viewer/pdf-search.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-sidebar.d.ts +0 -14
- package/dist/lib/components/ui/pdf-viewer/pdf-thumbnail-sidebar.d.ts +0 -10
- package/dist/lib/components/ui/pdf-viewer/types.d.ts +0 -34
- package/dist/lib/components/ui/pdf-viewer/use-pdf-reader.d.ts +0 -32
- package/dist/lib/components/ui/pdf-viewer/use-pdf-search-hits.d.ts +0 -11
- package/dist/lib/components/ui/percent-field/index.d.ts +0 -2
- package/dist/lib/components/ui/percent-field/percent-field.d.ts +0 -3
- package/dist/lib/components/ui/percent-field/percent-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/phone-field/index.d.ts +0 -6
- package/dist/lib/components/ui/phone-field/parse-phone.test.d.ts +0 -1
- package/dist/lib/components/ui/phone-field/phone-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/postal-address/postal-address.stories.d.ts +0 -16
- package/dist/lib/components/ui/qrcode.d.ts +0 -7
- package/dist/lib/components/ui/qrcode.stories.d.ts +0 -38
- package/dist/lib/components/ui/radio-group.d.ts +0 -16
- package/dist/lib/components/ui/radio-group.stories.d.ts +0 -21
- package/dist/lib/components/ui/rating-field/clamp-rating.test.d.ts +0 -1
- package/dist/lib/components/ui/rating-field/index.d.ts +0 -3
- package/dist/lib/components/ui/rating-field/rating-field.d.ts +0 -23
- package/dist/lib/components/ui/rating-field/rating-field.stories.d.ts +0 -24
- package/dist/lib/components/ui/resizable.stories.d.ts +0 -14
- package/dist/lib/components/ui/responsive-grid.stories.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/shared/index.d.ts +0 -2
- package/dist/lib/components/ui/rich-text-editor/extensions/index.d.ts +0 -12
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/index.d.ts +0 -2
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +0 -12
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/suggestions.d.ts +0 -9
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/extension.d.ts +0 -7
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +0 -4
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.test.d.ts +0 -1
- package/dist/lib/components/ui/rich-text-editor/index.d.ts +0 -1
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor-wrapper.d.ts +0 -13
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.stories.d.ts +0 -26
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.story-data.d.ts +0 -3
- package/dist/lib/components/ui/rich-text-editor/types.d.ts +0 -29
- package/dist/lib/components/ui/scroll-to-top.d.ts +0 -20
- package/dist/lib/components/ui/scroll-to-top.stories.d.ts +0 -346
- package/dist/lib/components/ui/search-field/debounce.test.d.ts +0 -1
- package/dist/lib/components/ui/search-field/index.d.ts +0 -4
- package/dist/lib/components/ui/search-field/search-field.d.ts +0 -11
- package/dist/lib/components/ui/search-field/search-field.stories.d.ts +0 -18
- package/dist/lib/components/ui/see-also.stories.d.ts +0 -12
- package/dist/lib/components/ui/select-card-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/select-chip-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/select-field.d.ts +0 -20
- package/dist/lib/components/ui/select-field.stories.d.ts +0 -21
- package/dist/lib/components/ui/separator.stories.d.ts +0 -14
- package/dist/lib/components/ui/sheet.d.ts +0 -15
- package/dist/lib/components/ui/shortcut-glyph.test.d.ts +0 -1
- package/dist/lib/components/ui/sidebar.stories.d.ts +0 -14
- package/dist/lib/components/ui/skeleton/skeleton-card.d.ts +0 -4
- package/dist/lib/components/ui/skeleton/skeleton.stories.d.ts +0 -19
- package/dist/lib/components/ui/skip-link.stories.d.ts +0 -12
- package/dist/lib/components/ui/slider-control.d.ts +0 -6
- package/dist/lib/components/ui/slider-ticks.test.d.ts +0 -1
- package/dist/lib/components/ui/slider.d.ts +0 -13
- package/dist/lib/components/ui/slider.stories.d.ts +0 -16
- package/dist/lib/components/ui/sortable-list/index.d.ts +0 -4
- package/dist/lib/components/ui/sortable-list/sortable-list.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/sortable-list/sortable-list.stories.d.ts +0 -21
- package/dist/lib/components/ui/stat-card/format-stat-delta.test.d.ts +0 -1
- package/dist/lib/components/ui/stat-card/stat-card.d.ts +0 -13
- package/dist/lib/components/ui/stat-card/stat-card.stories.d.ts +0 -17
- package/dist/lib/components/ui/status-indicator.stories.d.ts +0 -16
- package/dist/lib/components/ui/stepper/step-state.test.d.ts +0 -1
- package/dist/lib/components/ui/stepper/stepper.stories.d.ts +0 -16
- package/dist/lib/components/ui/steps.stories.d.ts +0 -13
- package/dist/lib/components/ui/stories-consts.d.ts +0 -10
- package/dist/lib/components/ui/stories-dark-theme.d.ts +0 -2
- package/dist/lib/components/ui/stx-player/format-time.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player.stories.d.ts +0 -24
- package/dist/lib/components/ui/summary-data.stories.d.ts +0 -14
- package/dist/lib/components/ui/switch.stories.d.ts +0 -16
- package/dist/lib/components/ui/switcher.d.ts +0 -15
- package/dist/lib/components/ui/switcher.stories.d.ts +0 -15
- package/dist/lib/components/ui/table.stories.d.ts +0 -14
- package/dist/lib/components/ui/tabs.stories.d.ts +0 -15
- package/dist/lib/components/ui/terminal/terminal.stories.d.ts +0 -14
- package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/text-field.d.ts +0 -10
- package/dist/lib/components/ui/text-field.stories.d.ts +0 -22
- package/dist/lib/components/ui/textarea-field.stories.d.ts +0 -25
- package/dist/lib/components/ui/textarea.stories.d.ts +0 -26
- package/dist/lib/components/ui/theme-toggle.d.ts +0 -6
- package/dist/lib/components/ui/theme-toggle.stories.d.ts +0 -14
- package/dist/lib/components/ui/time-field.d.ts +0 -17
- package/dist/lib/components/ui/time-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/time-picker/time-picker-utils.test.d.ts +0 -1
- package/dist/lib/components/ui/time-picker/time-picker.stories.d.ts +0 -15
- package/dist/lib/components/ui/timeline/format-relative-time.test.d.ts +0 -1
- package/dist/lib/components/ui/timeline/timeline.stories.d.ts +0 -19
- package/dist/lib/components/ui/timezone-field/index.d.ts +0 -4
- package/dist/lib/components/ui/timezone-field/timezone-field.d.ts +0 -5
- package/dist/lib/components/ui/timezone-field/timezone-field.stories.d.ts +0 -14
- package/dist/lib/components/ui/timezone-field/timezones.test.d.ts +0 -1
- package/dist/lib/components/ui/toc.stories.d.ts +0 -13
- package/dist/lib/components/ui/toggle-group.d.ts +0 -9
- package/dist/lib/components/ui/toggle-group.stories.d.ts +0 -25
- package/dist/lib/components/ui/toggle.d.ts +0 -9
- package/dist/lib/components/ui/toggle.stories.d.ts +0 -16
- package/dist/lib/components/ui/tooltip.d.ts +0 -10
- package/dist/lib/components/ui/tooltip.stories.d.ts +0 -15
- package/dist/lib/components/ui/transfer-list/index.d.ts +0 -3
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-board.d.ts +0 -33
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-droppable.d.ts +0 -12
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-pane.d.ts +0 -35
- package/dist/lib/components/ui/transfer-list/transfer-list.dnd.test.d.ts +0 -1
- package/dist/lib/components/ui/transfer-list/transfer-list.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.d.ts +0 -27
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.data.d.ts +0 -3
- package/dist/lib/components/ui/transfer-list/transfer-list.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/tree/tree.stories.d.ts +0 -16
- package/dist/lib/components/ui/tree/tree.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/index.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.slice.d.ts +0 -249
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.stories.d.ts +0 -31
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.d.ts +0 -40
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/use-network-upload-field.d.ts +0 -19
- package/dist/lib/components/ui/upload/network-upload-field/use-upload-items.d.ts +0 -14
- package/dist/lib/components/ui/upload/s3-upload-field/index.d.ts +0 -1
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.d.ts +0 -12
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/upload-field.d.ts +0 -14
- package/dist/lib/components/ui/upload-field.stories.d.ts +0 -22
- package/dist/lib/components/ui/url-field/index.d.ts +0 -3
- package/dist/lib/components/ui/url-field/parse-url.test.d.ts +0 -1
- package/dist/lib/components/ui/url-field/url-field.d.ts +0 -3
- package/dist/lib/components/ui/url-field/url-field.stories.d.ts +0 -16
- package/dist/lib/hooks/resolve-theme.test.d.ts +0 -1
- package/dist/lib/i18n/i18n-provider.stories.d.ts +0 -29
- package/dist/lib/i18n/material-components.stories.d.ts +0 -30
- package/dist/lib/i18n/merge-resources.test.d.ts +0 -1
- package/dist/lib/i18n/resources/en/index.d.ts +0 -855
- package/dist/lib/i18n/resources/fr/index.d.ts +0 -855
- package/dist/lib/i18n/resources/index.d.ts +0 -1700
- package/dist/lib/i18n/translator.test.d.ts +0 -1
- package/dist/lib/lib/array.utils.test.d.ts +0 -1
- package/dist/lib/lib/build-field-options.test.d.ts +0 -1
- package/dist/lib/lib/date.utils.test.d.ts +0 -1
- package/dist/lib/lib/format.utils.test.d.ts +0 -1
- package/dist/lib/lib/number.utils.spec.d.ts +0 -1
- package/dist/lib/lib/object.utils.test.d.ts +0 -1
- package/dist/lib/lib/print-format.utils.test.d.ts +0 -1
- package/dist/lib/lib/promise.utils.test.d.ts +0 -1
- package/dist/lib/lib/redux/filter-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/status-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/step-form-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/use-slice-reducer.test.d.ts +0 -1
- package/dist/lib/lib/storage.utils.test.d.ts +0 -1
- package/dist/lib/lib/string.utils.test.d.ts +0 -1
- package/dist/lib/lib/styles.utils.test.d.ts +0 -1
- package/dist/lib/lib/upload.utils.test.d.ts +0 -1
- package/dist/lib/lib/url.utils.test.d.ts +0 -1
- package/dist/lib/lib/utils.test.d.ts +0 -1
- package/dist/lib/lib/zod-error-map.test.d.ts +0 -1
- package/dist/lib/map/components/map.stories.d.ts +0 -13
- package/dist/lib/map/index.test.d.ts +0 -1
- package/dist/lib/print/styles.test.d.ts +0 -1
- package/dist/lib/print/tailwind.d.ts +0 -5
- package/dist/lib/print/tailwind.test.d.ts +0 -1
- package/dist/lib-BDc9msmn.js +0 -667
- package/dist/main-DeilmPv5.js +0 -191333
- package/dist/mermaid.core-CsGdwvR0.js +0 -1096
- package/dist/mindmap-definition-NLK3R4M7-IZYTe2Mh.js +0 -1008
- package/dist/number.utils-BR3XO6me.js +0 -2681
- package/dist/pegDiagram-GJSIUBJH-BL5Aabgf.js +0 -94
- package/dist/pieDiagram-5QR66LMP-DqnWu-Zg.js +0 -157
- package/dist/print-format.utils-CyR00FwK.js +0 -24
- package/dist/quadrantDiagram-O4NWA36T-tobrs5dc.js +0 -2001
- package/dist/railroadDiagram-XR7U4H2S-CIx08g98.js +0 -76
- package/dist/requirementDiagram-PLB6GJNP-Lm5o98ZN.js +0 -2228
- package/dist/sankeyDiagram-IPEJSGJF-ClWq95mY.js +0 -962
- package/dist/sequenceDiagram-PO4LG4MO-Bu-eRq6c.js +0 -4200
- package/dist/sortable-provider-BCaeM3pZ.js +0 -5367
- package/dist/src-ripuExsx.js +0 -1775
- package/dist/stateDiagram-v2-GCMORJYK-CbrdDeDZ.js +0 -2143
- package/dist/swimlanes-2SLR337P-4Oufc9Ey.js +0 -4763
- package/dist/swimlanesDiagram-TC7HE7FX-DQu480YU.js +0 -28
- package/dist/timeline-definition-EJHVYXUP-CLerfWh1.js +0 -1073
- package/dist/usecaseDiagram-POWQR4AR-BwE2bgk0.js +0 -9932
- package/dist/vennDiagram-UO4OBE2U-CNd0-YPm.js +0 -1880
- package/dist/wardleyDiagram-VNRHLVJA-DH3az7Ec.js +0 -645
- package/dist/xychartDiagram-PMCCYNJV-D-ynJEtr.js +0 -2167
- /package/dist/lib/components/ui/{buttons → actions/button-group}/button-group.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-to-clipboard.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-value.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{highlight-text.d.ts → actions/highlight-text/highlight-text.d.ts} +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-column-header.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-pagination.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-view-options.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/features.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/hooks.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/compose-refs.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-item-context.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-overlay.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/drag-handle.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable-droppable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/droppable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/insert-ids.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/use-dnd-active-id.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-chips.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-content.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-context.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-drawer.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-field.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-groups.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-inline.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-main.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-presets.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-storage.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-url.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-popover.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-preset.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-presets.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-sheet.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-validation.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-modal.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-selector.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-items.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree-item.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/use-tree.d.ts +0 -0
- /package/dist/lib/components/ui/{calendar-year-view.d.ts → dates/calendar/calendar-year-view.d.ts} +0 -0
- /package/dist/lib/components/ui/{calendar.utils.d.ts → dates/calendar/calendar.utils.d.ts} +0 -0
- /package/dist/lib/components/ui/{duration-field → dates/duration-field}/duration-field.d.ts +0 -0
- /package/dist/lib/components/ui/{duration-field → dates/duration-field}/parse-duration.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker-utils.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{api-endpoint.d.ts → display/api-endpoint/api-endpoint.d.ts} +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.d.ts +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/album-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/checklist-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/crew-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/event-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/feature-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/file-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/link-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/media-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/message-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/notice-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/offer-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/overlay-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/place-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/pricing-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/profile-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/quote-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/receipt-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/review-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/score-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/shortcut-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/split-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/spotlight-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/stack-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/status-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/tag-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/ticket-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/timeline-card.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-block.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-diff.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-group.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/highlight.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/json-node.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/json-viewer.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/languages.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/moonlight-monaco.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/moonlight-tokens.d.ts +0 -0
- /package/dist/lib/components/ui/{format-count.d.ts → display/count-badge/format-count.d.ts} +0 -0
- /package/dist/lib/components/ui/{description.d.ts → display/description/description.d.ts} +0 -0
- /package/dist/lib/components/ui/{event-chip → display/event-chip}/event-chip.d.ts +0 -0
- /package/dist/lib/components/ui/{event-chip → display/event-chip}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{figure.d.ts → display/figure/figure.d.ts} +0 -0
- /package/dist/lib/components/ui/{list-tile.d.ts → display/list-tile/list-tile.d.ts} +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/markdown.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/mermaid.lazy.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/partials/markdown-code.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/partials/mermaid-diagram.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/band-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/breakdown-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/compare-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/delta-list-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/funnel-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/gauge-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/goal-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/heatweek-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/histogram-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/latency-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/pace-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/rank-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/ratio-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkbar-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkline.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/threshold-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/trend-card.d.ts +0 -0
- /package/dist/lib/components/ui/{param-table.d.ts → display/param-table/param-table.d.ts} +0 -0
- /package/dist/lib/components/ui/{stat-card → display/stat-card}/format-stat-delta.d.ts +0 -0
- /package/dist/lib/components/ui/{stat-card → display/stat-card}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{status-indicator.d.ts → display/status-indicator/status-indicator.d.ts} +0 -0
- /package/dist/lib/components/ui/{summary-data.d.ts → display/summary-data/summary-data.d.ts} +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.d.ts +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/format-relative-time.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/relative-time.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/timeline-item.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/timeline.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{banner → feedback/banner}/banner.d.ts +0 -0
- /package/dist/lib/components/ui/{banner → feedback/banner}/index.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{empty-state.d.ts → empty-state/empty-state.d.ts} +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-bell.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-categories.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-inbox.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-item.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-list.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/use-notifications.d.ts +0 -0
- /package/dist/lib/components/ui/{education/quizzes → feedback/notifications}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{progress-field.d.ts → progress/progress-field.d.ts} +0 -0
- /package/dist/lib/components/ui/feedback/{progress.d.ts → progress/progress.d.ts} +0 -0
- /package/dist/lib/components/ui/feedback/{scroll-progress.d.ts → scroll-progress/scroll-progress.d.ts} +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-avatar.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-table.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-text.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{toast.d.ts → toast/toast.d.ts} +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/attribute-form.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/types.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form-field-set/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-field/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-form-field/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-list/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/models/attribute.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/models/index.d.ts +0 -0
- /package/dist/lib/components/ui/{color-field → fields/color-field}/normalize-hex.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contact-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{currency-field → fields/currency-field}/parse-currency.d.ts +0 -0
- /package/dist/lib/components/ui/{email-field → fields/email-field}/is-email.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/field.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/renderers.d.ts +0 -0
- /package/dist/lib/components/ui/{inline-edit → fields/inline-edit}/inline-edit.d.ts +0 -0
- /package/dist/lib/components/ui/{input-group-field.d.ts → fields/input-group-field/input-group-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{number-field → fields/number-field}/parse-number.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours.d.ts +0 -0
- /package/dist/lib/components/ui/{input-otp.d.ts → fields/otp-field/input-otp.d.ts} +0 -0
- /package/dist/lib/components/ui/{otp-field.d.ts → fields/otp-field/otp-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{password-strength-meter.d.ts → fields/password-field/password-strength-meter.d.ts} +0 -0
- /package/dist/lib/components/ui/{password-strength.d.ts → fields/password-field/password-strength.d.ts} +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/countries.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/parse-phone.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-country-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-field.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/utils.d.ts +0 -0
- /package/dist/lib/components/ui/{rating-field → fields/rating-field}/clamp-rating.d.ts +0 -0
- /package/dist/lib/components/ui/{search-field → fields/search-field}/debounce.d.ts +0 -0
- /package/dist/lib/components/ui/{slider-readout.d.ts → fields/slider/slider-readout.d.ts} +0 -0
- /package/dist/lib/components/ui/{slider-ticks.d.ts → fields/slider/slider-ticks.d.ts} +0 -0
- /package/dist/lib/components/ui/{switch.d.ts → fields/switch/switch.d.ts} +0 -0
- /package/dist/lib/components/ui/{textarea-field.d.ts → fields/textarea-field/textarea-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{timezone-field → fields/timezone-field}/timezones.d.ts +0 -0
- /package/dist/lib/components/ui/{url-field → fields/url-field}/parse-url.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/bottom-app-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/top-app-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-content.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-layout.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-header.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-shell.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{background.d.ts → layout/background/background.d.ts} +0 -0
- /package/dist/lib/components/ui/{breadcrumb.d.ts → layout/breadcrumb/breadcrumb.d.ts} +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc-context.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-article.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-child-cards.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-copy-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-header.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-link.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-page.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-pager.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-search.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-see-also.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-sidebar.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-toc.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-topbar.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/use-doc.d.ts +0 -0
- /package/dist/lib/components/ui/{hero.d.ts → layout/hero/hero.d.ts} +0 -0
- /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/navigation-rail.d.ts +0 -0
- /package/dist/lib/components/ui/{pager.d.ts → layout/pager/pager.d.ts} +0 -0
- /package/dist/lib/components/ui/{resizable.d.ts → layout/resizable/resizable.d.ts} +0 -0
- /package/dist/lib/components/ui/{responsive-grid.d.ts → layout/responsive-grid/responsive-grid.d.ts} +0 -0
- /package/dist/lib/components/ui/{see-also.d.ts → layout/see-also/see-also.d.ts} +0 -0
- /package/dist/lib/components/ui/{sidebar.d.ts → layout/sidebar/sidebar.d.ts} +0 -0
- /package/dist/lib/components/ui/{skip-link.d.ts → layout/skip-link/skip-link.d.ts} +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/step-state.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-icon.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-indicator.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper.d.ts +0 -0
- /package/dist/lib/components/ui/{steps.d.ts → layout/steps/steps.d.ts} +0 -0
- /package/dist/lib/components/ui/layout/{thread-layout.d.ts → thread-layout/thread-layout.d.ts} +0 -0
- /package/dist/lib/components/ui/{toc.d.ts → layout/toc/toc.d.ts} +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera-content.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera.provider.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.reducers.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.store.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.thunks.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/index.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/use-camera.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/utils/camera.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/utils/index.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/file-list-field-row.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/file-list.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/format-file-size.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-download.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.presets.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/lightbox-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/mini-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-carousel.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-chrome.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-featured.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-grid.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-justified.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-lightbox.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-masonry.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-media.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-selection-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-stage.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-strip.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-tile.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-trigger.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/use-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-image.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-resize-handles.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-escape.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-outline-sidebar.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-search.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-zoom.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/react-pdf.lazy.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/format-time.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-controls.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-extras.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-mini.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-queue.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-viewport.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-bindings.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-events.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-player-shell.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-stx-player.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-field.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-item.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/use-file-drag-drop.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/s3-upload-field/s3-upload-field.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{video-player → media/video-player}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{context-menu.d.ts → overlays/context-menu/context-menu.d.ts} +0 -0
- /package/dist/lib/components/ui/{hover-card.d.ts → overlays/hover-card/hover-card.d.ts} +0 -0
- /package/dist/lib/components/ui/{popover.d.ts → overlays/popover/popover.d.ts} +0 -0
- /package/dist/lib/components/ui/{accordion.d.ts → primitives/accordion/accordion.d.ts} +0 -0
- /package/dist/lib/components/ui/{activity.d.ts → primitives/activity/activity.d.ts} +0 -0
- /package/dist/lib/components/ui/{card.d.ts → primitives/card/card.d.ts} +0 -0
- /package/dist/lib/components/ui/{collapsible.d.ts → primitives/collapsible/collapsible.d.ts} +0 -0
- /package/dist/lib/components/ui/{icon.d.ts → primitives/icon/icon.d.ts} +0 -0
- /package/dist/lib/components/ui/{kbd-shortcut.d.ts → primitives/kbd/kbd-shortcut.d.ts} +0 -0
- /package/dist/lib/components/ui/{kbd.d.ts → primitives/kbd/kbd.d.ts} +0 -0
- /package/dist/lib/components/ui/{shortcut-glyph.d.ts → primitives/kbd/shortcut-glyph.d.ts} +0 -0
- /package/dist/lib/components/ui/{label.d.ts → primitives/label/label.d.ts} +0 -0
- /package/dist/lib/components/ui/{scroll-area.d.ts → primitives/scroll-area/scroll-area.d.ts} +0 -0
- /package/dist/lib/components/ui/{separator.d.ts → primitives/separator/separator.d.ts} +0 -0
- /package/dist/lib/components/ui/{table.d.ts → primitives/table/table.d.ts} +0 -0
- /package/dist/lib/components/ui/{tabs.d.ts → primitives/tabs/tabs.d.ts} +0 -0
- /package/dist/lib/components/ui/{textarea.d.ts → primitives/textarea/textarea.d.ts} +0 -0
- /package/dist/lib/components/ui/{typography.d.ts → primitives/typography/typography.d.ts} +0 -0
- /package/dist/lib/components/ui/{checkbox.d.ts → selection/checkbox/checkbox.d.ts} +0 -0
- /package/dist/lib/components/ui/{combobox-field → selection/combobox-field}/combobox-field.d.ts +0 -0
- /package/dist/lib/components/ui/{select.d.ts → selection/select/select.d.ts} +0 -0
- /package/dist/lib/components/ui/{select-card-field.d.ts → selection/select-card-field/select-card-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{select-chip-field.d.ts → selection/select-chip-field/select-chip-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-item.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/use-sortable-list.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item-row.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-body.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-header.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/use-transfer-list.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/area-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/bar-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/chart-container.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/funnel-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/heatmap-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/line-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/pie-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/radar-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/scatter-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/use-chart-theme.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-conversation-item.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-copy-text.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-inbox.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-markdown-inline.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-list.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-meta.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-separator.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-reaction-group.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-thread.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-typing-indicator.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-unseen.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat/partials}/chat-composer-attachment-chip.d.ts +0 -0
- /package/dist/lib/components/ui/{code → widgets/code-editor}/code-editor-chrome.d.ts +0 -0
- /package/dist/lib/components/ui/{code-editor.d.ts → widgets/code-editor/code-editor.d.ts} +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-boolean.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-choice.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-multi.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-options.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-text.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/types.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-body.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-progress.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-results.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/types.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/use-quiz.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → widgets/education/quizzes}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-list.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.groups.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar-context.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.container.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.ids.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.preview.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.spans.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/agenda-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/all-day-lane.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-board.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-date-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-now-line.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/day-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-color-swatches.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-preview.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-resize-handle.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-cell.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-more.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-week-row.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/span-event.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-column.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid-event.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/week-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-event-calendar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-month-create.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-slot-create.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban-context.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-board.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card-preview.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column-header.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-composer.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-group.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/use-kanban.d.ts +0 -0
- /package/dist/lib/components/ui/{mentions → widgets/mentions}/mention-list.d.ts +0 -0
- /package/dist/lib/components/ui/{mentions → widgets/mentions}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/buble-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/editor-code-block.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/color-picker-popover.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/editor-color-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/editor-accordion-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/editor-action-card-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-insert-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/checkbox-group-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/editor-checkbox-group-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/editor-gallery-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/editor-radio-group-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/radio-group-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/editor-select-card-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/editor-select-chip-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/select-chip-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/icon-options.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/repeating-field-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/editor-font-family-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/heading-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/editor-highlight-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/editor-mark-buttons.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-basic.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-insert.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-types.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-cell.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-properties-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/editor-text-align-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor.d.ts +0 -0
|
@@ -1,3922 +0,0 @@
|
|
|
1
|
-
import { n as e, r as t } from "./src-ripuExsx.js";
|
|
2
|
-
import { n, t as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
-
//#region node_modules/khroma/dist/utils/channel.js
|
|
4
|
-
var i = {
|
|
5
|
-
min: {
|
|
6
|
-
r: 0,
|
|
7
|
-
g: 0,
|
|
8
|
-
b: 0,
|
|
9
|
-
s: 0,
|
|
10
|
-
l: 0,
|
|
11
|
-
a: 0
|
|
12
|
-
},
|
|
13
|
-
max: {
|
|
14
|
-
r: 255,
|
|
15
|
-
g: 255,
|
|
16
|
-
b: 255,
|
|
17
|
-
h: 360,
|
|
18
|
-
s: 100,
|
|
19
|
-
l: 100,
|
|
20
|
-
a: 1
|
|
21
|
-
},
|
|
22
|
-
clamp: {
|
|
23
|
-
r: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
24
|
-
g: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
25
|
-
b: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
26
|
-
h: (e) => e % 360,
|
|
27
|
-
s: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
28
|
-
l: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
29
|
-
a: (e) => e >= 1 ? 1 : e < 0 ? 0 : e
|
|
30
|
-
},
|
|
31
|
-
toLinear: (e) => {
|
|
32
|
-
let t = e / 255;
|
|
33
|
-
return e > .03928 ? ((t + .055) / 1.055) ** 2.4 : t / 12.92;
|
|
34
|
-
},
|
|
35
|
-
hue2rgb: (e, t, n) => (n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e),
|
|
36
|
-
hsl2rgb: ({ h: e, s: t, l: n }, r) => {
|
|
37
|
-
if (!t) return n * 2.55;
|
|
38
|
-
e /= 360, t /= 100, n /= 100;
|
|
39
|
-
let a = n < .5 ? n * (1 + t) : n + t - n * t, o = 2 * n - a;
|
|
40
|
-
switch (r) {
|
|
41
|
-
case "r": return i.hue2rgb(o, a, e + 1 / 3) * 255;
|
|
42
|
-
case "g": return i.hue2rgb(o, a, e) * 255;
|
|
43
|
-
case "b": return i.hue2rgb(o, a, e - 1 / 3) * 255;
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
rgb2hsl: ({ r: e, g: t, b: n }, r) => {
|
|
47
|
-
e /= 255, t /= 255, n /= 255;
|
|
48
|
-
let i = Math.max(e, t, n), a = Math.min(e, t, n), o = (i + a) / 2;
|
|
49
|
-
if (r === "l") return o * 100;
|
|
50
|
-
if (i === a) return 0;
|
|
51
|
-
let s = i - a, c = o > .5 ? s / (2 - i - a) : s / (i + a);
|
|
52
|
-
if (r === "s") return c * 100;
|
|
53
|
-
switch (i) {
|
|
54
|
-
case e: return ((t - n) / s + (t < n ? 6 : 0)) * 60;
|
|
55
|
-
case t: return ((n - e) / s + 2) * 60;
|
|
56
|
-
case n: return ((e - t) / s + 4) * 60;
|
|
57
|
-
default: return -1;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}, a = {
|
|
61
|
-
channel: i,
|
|
62
|
-
lang: {
|
|
63
|
-
clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
|
|
64
|
-
round: (e) => Math.round(e * 1e10) / 1e10
|
|
65
|
-
},
|
|
66
|
-
unit: { dec2hex: (e) => {
|
|
67
|
-
let t = Math.round(e).toString(16);
|
|
68
|
-
return t.length > 1 ? t : `0${t}`;
|
|
69
|
-
} }
|
|
70
|
-
}, o = {};
|
|
71
|
-
for (let e = 0; e <= 255; e++) o[e] = a.unit.dec2hex(e);
|
|
72
|
-
var s = {
|
|
73
|
-
ALL: 0,
|
|
74
|
-
RGB: 1,
|
|
75
|
-
HSL: 2
|
|
76
|
-
}, c = class {
|
|
77
|
-
constructor() {
|
|
78
|
-
this.type = s.ALL;
|
|
79
|
-
}
|
|
80
|
-
get() {
|
|
81
|
-
return this.type;
|
|
82
|
-
}
|
|
83
|
-
set(e) {
|
|
84
|
-
if (this.type && this.type !== e) throw Error("Cannot change both RGB and HSL channels at the same time");
|
|
85
|
-
this.type = e;
|
|
86
|
-
}
|
|
87
|
-
reset() {
|
|
88
|
-
this.type = s.ALL;
|
|
89
|
-
}
|
|
90
|
-
is(e) {
|
|
91
|
-
return this.type === e;
|
|
92
|
-
}
|
|
93
|
-
}, l = new class {
|
|
94
|
-
constructor(e, t) {
|
|
95
|
-
this.color = t, this.changed = !1, this.data = e, this.type = new c();
|
|
96
|
-
}
|
|
97
|
-
set(e, t) {
|
|
98
|
-
return this.color = t, this.changed = !1, this.data = e, this.type.type = s.ALL, this;
|
|
99
|
-
}
|
|
100
|
-
_ensureHSL() {
|
|
101
|
-
let e = this.data, { h: t, s: n, l: r } = e;
|
|
102
|
-
t === void 0 && (e.h = a.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = a.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = a.channel.rgb2hsl(e, "l"));
|
|
103
|
-
}
|
|
104
|
-
_ensureRGB() {
|
|
105
|
-
let e = this.data, { r: t, g: n, b: r } = e;
|
|
106
|
-
t === void 0 && (e.r = a.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = a.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = a.channel.hsl2rgb(e, "b"));
|
|
107
|
-
}
|
|
108
|
-
get r() {
|
|
109
|
-
let e = this.data, t = e.r;
|
|
110
|
-
return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "r"));
|
|
111
|
-
}
|
|
112
|
-
get g() {
|
|
113
|
-
let e = this.data, t = e.g;
|
|
114
|
-
return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "g"));
|
|
115
|
-
}
|
|
116
|
-
get b() {
|
|
117
|
-
let e = this.data, t = e.b;
|
|
118
|
-
return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "b"));
|
|
119
|
-
}
|
|
120
|
-
get h() {
|
|
121
|
-
let e = this.data, t = e.h;
|
|
122
|
-
return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "h"));
|
|
123
|
-
}
|
|
124
|
-
get s() {
|
|
125
|
-
let e = this.data, t = e.s;
|
|
126
|
-
return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "s"));
|
|
127
|
-
}
|
|
128
|
-
get l() {
|
|
129
|
-
let e = this.data, t = e.l;
|
|
130
|
-
return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "l"));
|
|
131
|
-
}
|
|
132
|
-
get a() {
|
|
133
|
-
return this.data.a;
|
|
134
|
-
}
|
|
135
|
-
set r(e) {
|
|
136
|
-
this.type.set(s.RGB), this.changed = !0, this.data.r = e;
|
|
137
|
-
}
|
|
138
|
-
set g(e) {
|
|
139
|
-
this.type.set(s.RGB), this.changed = !0, this.data.g = e;
|
|
140
|
-
}
|
|
141
|
-
set b(e) {
|
|
142
|
-
this.type.set(s.RGB), this.changed = !0, this.data.b = e;
|
|
143
|
-
}
|
|
144
|
-
set h(e) {
|
|
145
|
-
this.type.set(s.HSL), this.changed = !0, this.data.h = e;
|
|
146
|
-
}
|
|
147
|
-
set s(e) {
|
|
148
|
-
this.type.set(s.HSL), this.changed = !0, this.data.s = e;
|
|
149
|
-
}
|
|
150
|
-
set l(e) {
|
|
151
|
-
this.type.set(s.HSL), this.changed = !0, this.data.l = e;
|
|
152
|
-
}
|
|
153
|
-
set a(e) {
|
|
154
|
-
this.changed = !0, this.data.a = e;
|
|
155
|
-
}
|
|
156
|
-
}({
|
|
157
|
-
r: 0,
|
|
158
|
-
g: 0,
|
|
159
|
-
b: 0,
|
|
160
|
-
a: 0
|
|
161
|
-
}, "transparent"), u = {
|
|
162
|
-
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
|
|
163
|
-
parse: (e) => {
|
|
164
|
-
if (e.charCodeAt(0) !== 35) return;
|
|
165
|
-
let t = e.match(u.re);
|
|
166
|
-
if (!t) return;
|
|
167
|
-
let n = t[1], r = parseInt(n, 16), i = n.length, a = i % 4 == 0, o = i > 4, s = o ? 1 : 17, c = o ? 8 : 4, d = a ? 0 : -1, f = o ? 255 : 15;
|
|
168
|
-
return l.set({
|
|
169
|
-
r: (r >> c * (d + 3) & f) * s,
|
|
170
|
-
g: (r >> c * (d + 2) & f) * s,
|
|
171
|
-
b: (r >> c * (d + 1) & f) * s,
|
|
172
|
-
a: a ? (r & f) * s / 255 : 1
|
|
173
|
-
}, e);
|
|
174
|
-
},
|
|
175
|
-
stringify: (e) => {
|
|
176
|
-
let { r: t, g: n, b: r, a: i } = e;
|
|
177
|
-
return i < 1 ? `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}${o[Math.round(i * 255)]}` : `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}`;
|
|
178
|
-
}
|
|
179
|
-
}, d = {
|
|
180
|
-
re: /^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,
|
|
181
|
-
hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
|
|
182
|
-
_hue2deg: (e) => {
|
|
183
|
-
let t = e.match(d.hueRe);
|
|
184
|
-
if (t) {
|
|
185
|
-
let [, e, n] = t;
|
|
186
|
-
switch (n) {
|
|
187
|
-
case "grad": return a.channel.clamp.h(parseFloat(e) * .9);
|
|
188
|
-
case "rad": return a.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
|
|
189
|
-
case "turn": return a.channel.clamp.h(parseFloat(e) * 360);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
return a.channel.clamp.h(parseFloat(e));
|
|
193
|
-
},
|
|
194
|
-
parse: (e) => {
|
|
195
|
-
let t = e.charCodeAt(0);
|
|
196
|
-
if (t !== 104 && t !== 72) return;
|
|
197
|
-
let n = e.match(d.re);
|
|
198
|
-
if (!n) return;
|
|
199
|
-
let [, r, i, o, s, c] = n;
|
|
200
|
-
return l.set({
|
|
201
|
-
h: d._hue2deg(r),
|
|
202
|
-
s: a.channel.clamp.s(parseFloat(i)),
|
|
203
|
-
l: a.channel.clamp.l(parseFloat(o)),
|
|
204
|
-
a: s ? a.channel.clamp.a(c ? parseFloat(s) / 100 : parseFloat(s)) : 1
|
|
205
|
-
}, e);
|
|
206
|
-
},
|
|
207
|
-
stringify: (e) => {
|
|
208
|
-
let { h: t, s: n, l: r, a: i } = e;
|
|
209
|
-
return i < 1 ? `hsla(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%, ${i})` : `hsl(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%)`;
|
|
210
|
-
}
|
|
211
|
-
}, f = {
|
|
212
|
-
colors: {
|
|
213
|
-
aliceblue: "#f0f8ff",
|
|
214
|
-
antiquewhite: "#faebd7",
|
|
215
|
-
aqua: "#00ffff",
|
|
216
|
-
aquamarine: "#7fffd4",
|
|
217
|
-
azure: "#f0ffff",
|
|
218
|
-
beige: "#f5f5dc",
|
|
219
|
-
bisque: "#ffe4c4",
|
|
220
|
-
black: "#000000",
|
|
221
|
-
blanchedalmond: "#ffebcd",
|
|
222
|
-
blue: "#0000ff",
|
|
223
|
-
blueviolet: "#8a2be2",
|
|
224
|
-
brown: "#a52a2a",
|
|
225
|
-
burlywood: "#deb887",
|
|
226
|
-
cadetblue: "#5f9ea0",
|
|
227
|
-
chartreuse: "#7fff00",
|
|
228
|
-
chocolate: "#d2691e",
|
|
229
|
-
coral: "#ff7f50",
|
|
230
|
-
cornflowerblue: "#6495ed",
|
|
231
|
-
cornsilk: "#fff8dc",
|
|
232
|
-
crimson: "#dc143c",
|
|
233
|
-
cyanaqua: "#00ffff",
|
|
234
|
-
darkblue: "#00008b",
|
|
235
|
-
darkcyan: "#008b8b",
|
|
236
|
-
darkgoldenrod: "#b8860b",
|
|
237
|
-
darkgray: "#a9a9a9",
|
|
238
|
-
darkgreen: "#006400",
|
|
239
|
-
darkgrey: "#a9a9a9",
|
|
240
|
-
darkkhaki: "#bdb76b",
|
|
241
|
-
darkmagenta: "#8b008b",
|
|
242
|
-
darkolivegreen: "#556b2f",
|
|
243
|
-
darkorange: "#ff8c00",
|
|
244
|
-
darkorchid: "#9932cc",
|
|
245
|
-
darkred: "#8b0000",
|
|
246
|
-
darksalmon: "#e9967a",
|
|
247
|
-
darkseagreen: "#8fbc8f",
|
|
248
|
-
darkslateblue: "#483d8b",
|
|
249
|
-
darkslategray: "#2f4f4f",
|
|
250
|
-
darkslategrey: "#2f4f4f",
|
|
251
|
-
darkturquoise: "#00ced1",
|
|
252
|
-
darkviolet: "#9400d3",
|
|
253
|
-
deeppink: "#ff1493",
|
|
254
|
-
deepskyblue: "#00bfff",
|
|
255
|
-
dimgray: "#696969",
|
|
256
|
-
dimgrey: "#696969",
|
|
257
|
-
dodgerblue: "#1e90ff",
|
|
258
|
-
firebrick: "#b22222",
|
|
259
|
-
floralwhite: "#fffaf0",
|
|
260
|
-
forestgreen: "#228b22",
|
|
261
|
-
fuchsia: "#ff00ff",
|
|
262
|
-
gainsboro: "#dcdcdc",
|
|
263
|
-
ghostwhite: "#f8f8ff",
|
|
264
|
-
gold: "#ffd700",
|
|
265
|
-
goldenrod: "#daa520",
|
|
266
|
-
gray: "#808080",
|
|
267
|
-
green: "#008000",
|
|
268
|
-
greenyellow: "#adff2f",
|
|
269
|
-
grey: "#808080",
|
|
270
|
-
honeydew: "#f0fff0",
|
|
271
|
-
hotpink: "#ff69b4",
|
|
272
|
-
indianred: "#cd5c5c",
|
|
273
|
-
indigo: "#4b0082",
|
|
274
|
-
ivory: "#fffff0",
|
|
275
|
-
khaki: "#f0e68c",
|
|
276
|
-
lavender: "#e6e6fa",
|
|
277
|
-
lavenderblush: "#fff0f5",
|
|
278
|
-
lawngreen: "#7cfc00",
|
|
279
|
-
lemonchiffon: "#fffacd",
|
|
280
|
-
lightblue: "#add8e6",
|
|
281
|
-
lightcoral: "#f08080",
|
|
282
|
-
lightcyan: "#e0ffff",
|
|
283
|
-
lightgoldenrodyellow: "#fafad2",
|
|
284
|
-
lightgray: "#d3d3d3",
|
|
285
|
-
lightgreen: "#90ee90",
|
|
286
|
-
lightgrey: "#d3d3d3",
|
|
287
|
-
lightpink: "#ffb6c1",
|
|
288
|
-
lightsalmon: "#ffa07a",
|
|
289
|
-
lightseagreen: "#20b2aa",
|
|
290
|
-
lightskyblue: "#87cefa",
|
|
291
|
-
lightslategray: "#778899",
|
|
292
|
-
lightslategrey: "#778899",
|
|
293
|
-
lightsteelblue: "#b0c4de",
|
|
294
|
-
lightyellow: "#ffffe0",
|
|
295
|
-
lime: "#00ff00",
|
|
296
|
-
limegreen: "#32cd32",
|
|
297
|
-
linen: "#faf0e6",
|
|
298
|
-
magenta: "#ff00ff",
|
|
299
|
-
maroon: "#800000",
|
|
300
|
-
mediumaquamarine: "#66cdaa",
|
|
301
|
-
mediumblue: "#0000cd",
|
|
302
|
-
mediumorchid: "#ba55d3",
|
|
303
|
-
mediumpurple: "#9370db",
|
|
304
|
-
mediumseagreen: "#3cb371",
|
|
305
|
-
mediumslateblue: "#7b68ee",
|
|
306
|
-
mediumspringgreen: "#00fa9a",
|
|
307
|
-
mediumturquoise: "#48d1cc",
|
|
308
|
-
mediumvioletred: "#c71585",
|
|
309
|
-
midnightblue: "#191970",
|
|
310
|
-
mintcream: "#f5fffa",
|
|
311
|
-
mistyrose: "#ffe4e1",
|
|
312
|
-
moccasin: "#ffe4b5",
|
|
313
|
-
navajowhite: "#ffdead",
|
|
314
|
-
navy: "#000080",
|
|
315
|
-
oldlace: "#fdf5e6",
|
|
316
|
-
olive: "#808000",
|
|
317
|
-
olivedrab: "#6b8e23",
|
|
318
|
-
orange: "#ffa500",
|
|
319
|
-
orangered: "#ff4500",
|
|
320
|
-
orchid: "#da70d6",
|
|
321
|
-
palegoldenrod: "#eee8aa",
|
|
322
|
-
palegreen: "#98fb98",
|
|
323
|
-
paleturquoise: "#afeeee",
|
|
324
|
-
palevioletred: "#db7093",
|
|
325
|
-
papayawhip: "#ffefd5",
|
|
326
|
-
peachpuff: "#ffdab9",
|
|
327
|
-
peru: "#cd853f",
|
|
328
|
-
pink: "#ffc0cb",
|
|
329
|
-
plum: "#dda0dd",
|
|
330
|
-
powderblue: "#b0e0e6",
|
|
331
|
-
purple: "#800080",
|
|
332
|
-
rebeccapurple: "#663399",
|
|
333
|
-
red: "#ff0000",
|
|
334
|
-
rosybrown: "#bc8f8f",
|
|
335
|
-
royalblue: "#4169e1",
|
|
336
|
-
saddlebrown: "#8b4513",
|
|
337
|
-
salmon: "#fa8072",
|
|
338
|
-
sandybrown: "#f4a460",
|
|
339
|
-
seagreen: "#2e8b57",
|
|
340
|
-
seashell: "#fff5ee",
|
|
341
|
-
sienna: "#a0522d",
|
|
342
|
-
silver: "#c0c0c0",
|
|
343
|
-
skyblue: "#87ceeb",
|
|
344
|
-
slateblue: "#6a5acd",
|
|
345
|
-
slategray: "#708090",
|
|
346
|
-
slategrey: "#708090",
|
|
347
|
-
snow: "#fffafa",
|
|
348
|
-
springgreen: "#00ff7f",
|
|
349
|
-
tan: "#d2b48c",
|
|
350
|
-
teal: "#008080",
|
|
351
|
-
thistle: "#d8bfd8",
|
|
352
|
-
transparent: "#00000000",
|
|
353
|
-
turquoise: "#40e0d0",
|
|
354
|
-
violet: "#ee82ee",
|
|
355
|
-
wheat: "#f5deb3",
|
|
356
|
-
white: "#ffffff",
|
|
357
|
-
whitesmoke: "#f5f5f5",
|
|
358
|
-
yellow: "#ffff00",
|
|
359
|
-
yellowgreen: "#9acd32"
|
|
360
|
-
},
|
|
361
|
-
parse: (e) => {
|
|
362
|
-
e = e.toLowerCase();
|
|
363
|
-
let t = f.colors[e];
|
|
364
|
-
if (t) return u.parse(t);
|
|
365
|
-
},
|
|
366
|
-
stringify: (e) => {
|
|
367
|
-
let t = u.stringify(e);
|
|
368
|
-
for (let e in f.colors) if (f.colors[e] === t) return e;
|
|
369
|
-
}
|
|
370
|
-
}, p = {
|
|
371
|
-
re: /^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,
|
|
372
|
-
parse: (e) => {
|
|
373
|
-
let t = e.charCodeAt(0);
|
|
374
|
-
if (t !== 114 && t !== 82) return;
|
|
375
|
-
let n = e.match(p.re);
|
|
376
|
-
if (!n) return;
|
|
377
|
-
let [, r, i, o, s, c, u, d, f] = n;
|
|
378
|
-
return l.set({
|
|
379
|
-
r: a.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
|
|
380
|
-
g: a.channel.clamp.g(s ? parseFloat(o) * 2.55 : parseFloat(o)),
|
|
381
|
-
b: a.channel.clamp.b(u ? parseFloat(c) * 2.55 : parseFloat(c)),
|
|
382
|
-
a: d ? a.channel.clamp.a(f ? parseFloat(d) / 100 : parseFloat(d)) : 1
|
|
383
|
-
}, e);
|
|
384
|
-
},
|
|
385
|
-
stringify: (e) => {
|
|
386
|
-
let { r: t, g: n, b: r, a: i } = e;
|
|
387
|
-
return i < 1 ? `rgba(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)}, ${a.lang.round(i)})` : `rgb(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)})`;
|
|
388
|
-
}
|
|
389
|
-
}, m = {
|
|
390
|
-
format: {
|
|
391
|
-
keyword: f,
|
|
392
|
-
hex: u,
|
|
393
|
-
rgb: p,
|
|
394
|
-
rgba: p,
|
|
395
|
-
hsl: d,
|
|
396
|
-
hsla: d
|
|
397
|
-
},
|
|
398
|
-
parse: (e) => {
|
|
399
|
-
if (typeof e != "string") return e;
|
|
400
|
-
let t = u.parse(e) || p.parse(e) || d.parse(e) || f.parse(e);
|
|
401
|
-
if (t) return t;
|
|
402
|
-
throw Error(`Unsupported color format: "${e}"`);
|
|
403
|
-
},
|
|
404
|
-
stringify: (e) => !e.changed && e.color ? e.color : e.type.is(s.HSL) || e.data.r === void 0 ? d.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? p.stringify(e) : u.stringify(e)
|
|
405
|
-
}, ee = (e, t) => {
|
|
406
|
-
let n = m.parse(e);
|
|
407
|
-
for (let e in t) n[e] = a.channel.clamp[e](t[e]);
|
|
408
|
-
return m.stringify(n);
|
|
409
|
-
}, h = (e, t, n = 0, r = 1) => {
|
|
410
|
-
if (typeof e != "number") return ee(e, { a: t });
|
|
411
|
-
let i = l.set({
|
|
412
|
-
r: a.channel.clamp.r(e),
|
|
413
|
-
g: a.channel.clamp.g(t),
|
|
414
|
-
b: a.channel.clamp.b(n),
|
|
415
|
-
a: a.channel.clamp.a(r)
|
|
416
|
-
});
|
|
417
|
-
return m.stringify(i);
|
|
418
|
-
}, g = (e) => {
|
|
419
|
-
let { r: t, g: n, b: r } = m.parse(e), i = .2126 * a.channel.toLinear(t) + .7152 * a.channel.toLinear(n) + .0722 * a.channel.toLinear(r);
|
|
420
|
-
return a.lang.round(i);
|
|
421
|
-
}, te = (e) => g(e) >= .5, _ = (e) => !te(e), v = (e, t, n) => {
|
|
422
|
-
let r = m.parse(e), i = r[t], o = a.channel.clamp[t](i + n);
|
|
423
|
-
return i !== o && (r[t] = o), m.stringify(r);
|
|
424
|
-
}, y = (e, t) => v(e, "l", t), b = (e, t) => v(e, "l", -t), x = (e, t) => {
|
|
425
|
-
let n = m.parse(e), r = {};
|
|
426
|
-
for (let e in t) t[e] && (r[e] = n[e] + t[e]);
|
|
427
|
-
return ee(e, r);
|
|
428
|
-
}, ne = (e, t, n = 50) => {
|
|
429
|
-
let { r, g: i, b: a, a: o } = m.parse(e), { r: s, g: c, b: l, a: u } = m.parse(t), d = n / 100, f = d * 2 - 1, p = o - u, ee = ((f * p === -1 ? f : (f + p) / (1 + f * p)) + 1) / 2, g = 1 - ee;
|
|
430
|
-
return h(r * ee + s * g, i * ee + c * g, a * ee + l * g, o * d + u * (1 - d));
|
|
431
|
-
}, S = (e, t = 100) => {
|
|
432
|
-
let n = m.parse(e);
|
|
433
|
-
return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, ne(n, e, t);
|
|
434
|
-
};
|
|
435
|
-
//#endregion
|
|
436
|
-
//#region node_modules/dompurify/dist/purify.es.mjs
|
|
437
|
-
function C(e, t) {
|
|
438
|
-
(t == null || t > e.length) && (t = e.length);
|
|
439
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
440
|
-
return r;
|
|
441
|
-
}
|
|
442
|
-
function re(e) {
|
|
443
|
-
if (Array.isArray(e)) return e;
|
|
444
|
-
}
|
|
445
|
-
function ie(e, t) {
|
|
446
|
-
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
447
|
-
if (n != null) {
|
|
448
|
-
var r, i, a, o, s = [], c = !0, l = !1;
|
|
449
|
-
try {
|
|
450
|
-
if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
451
|
-
} catch (e) {
|
|
452
|
-
l = !0, i = e;
|
|
453
|
-
} finally {
|
|
454
|
-
try {
|
|
455
|
-
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
456
|
-
} finally {
|
|
457
|
-
if (l) throw i;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
return s;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
function ae() {
|
|
464
|
-
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
465
|
-
}
|
|
466
|
-
function oe(e, t) {
|
|
467
|
-
return re(e) || ie(e, t) || se(e, t) || ae();
|
|
468
|
-
}
|
|
469
|
-
function se(e, t) {
|
|
470
|
-
if (e) {
|
|
471
|
-
if (typeof e == "string") return C(e, t);
|
|
472
|
-
var n = {}.toString.call(e).slice(8, -1);
|
|
473
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? C(e, t) : void 0;
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
var ce = Object.entries, le = Object.setPrototypeOf, ue = Object.isFrozen, de = Object.getPrototypeOf, fe = Object.getOwnPropertyDescriptor, w = Object.freeze, T = Object.seal, pe = Object.create, me = typeof Reflect < "u" && Reflect, he = me.apply, ge = me.construct;
|
|
477
|
-
w ||= function(e) {
|
|
478
|
-
return e;
|
|
479
|
-
}, T ||= function(e) {
|
|
480
|
-
return e;
|
|
481
|
-
}, he ||= function(e, t) {
|
|
482
|
-
var n = [...arguments].slice(2);
|
|
483
|
-
return e.apply(t, n);
|
|
484
|
-
}, ge ||= function(e) {
|
|
485
|
-
return new e(...[...arguments].slice(1));
|
|
486
|
-
};
|
|
487
|
-
var _e = k(Array.prototype.forEach), ve = k(Array.prototype.lastIndexOf), ye = k(Array.prototype.pop), be = k(Array.prototype.push), xe = k(Array.prototype.splice), Se = Array.isArray, Ce = k(String.prototype.toLowerCase), we = k(String.prototype.toString), Te = k(String.prototype.match), Ee = k(String.prototype.replace), De = k(String.prototype.indexOf), Oe = k(String.prototype.trim), ke = k(Number.prototype.toString), E = k(Boolean.prototype.toString), Ae = typeof BigInt > "u" ? null : k(BigInt.prototype.toString), je = typeof Symbol > "u" ? null : k(Symbol.prototype.toString), D = k(Object.prototype.hasOwnProperty), Me = k(Object.prototype.toString), O = k(RegExp.prototype.test), Ne = Pe(TypeError);
|
|
488
|
-
function k(e) {
|
|
489
|
-
return function(t) {
|
|
490
|
-
t instanceof RegExp && (t.lastIndex = 0);
|
|
491
|
-
var n = [...arguments].slice(1);
|
|
492
|
-
return he(e, t, n);
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
function Pe(e) {
|
|
496
|
-
return function() {
|
|
497
|
-
return ge(e, [...arguments]);
|
|
498
|
-
};
|
|
499
|
-
}
|
|
500
|
-
function A(e, t) {
|
|
501
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ce;
|
|
502
|
-
if (le && le(e, null), !Se(t)) return e;
|
|
503
|
-
let r = t.length;
|
|
504
|
-
for (; r--;) {
|
|
505
|
-
let i = t[r];
|
|
506
|
-
if (typeof i == "string") {
|
|
507
|
-
let e = n(i);
|
|
508
|
-
e !== i && (ue(t) || (t[r] = e), i = e);
|
|
509
|
-
}
|
|
510
|
-
e[i] = !0;
|
|
511
|
-
}
|
|
512
|
-
return e;
|
|
513
|
-
}
|
|
514
|
-
function Fe(e) {
|
|
515
|
-
for (let t = 0; t < e.length; t++) D(e, t) || (e[t] = null);
|
|
516
|
-
return e;
|
|
517
|
-
}
|
|
518
|
-
function j(e) {
|
|
519
|
-
let t = pe(null);
|
|
520
|
-
for (let r of ce(e)) {
|
|
521
|
-
var n = oe(r, 2);
|
|
522
|
-
let i = n[0], a = n[1];
|
|
523
|
-
D(e, i) && (Se(a) ? t[i] = Fe(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = j(a) : t[i] = a);
|
|
524
|
-
}
|
|
525
|
-
return t;
|
|
526
|
-
}
|
|
527
|
-
function Ie(e) {
|
|
528
|
-
switch (typeof e) {
|
|
529
|
-
case "string": return e;
|
|
530
|
-
case "number": return ke(e);
|
|
531
|
-
case "boolean": return E(e);
|
|
532
|
-
case "bigint": return Ae ? Ae(e) : "0";
|
|
533
|
-
case "symbol": return je ? je(e) : "Symbol()";
|
|
534
|
-
case "undefined": return Me(e);
|
|
535
|
-
case "function":
|
|
536
|
-
case "object": {
|
|
537
|
-
if (e === null) return Me(e);
|
|
538
|
-
let t = e, n = M(t, "toString");
|
|
539
|
-
if (typeof n == "function") {
|
|
540
|
-
let e = n(t);
|
|
541
|
-
return typeof e == "string" ? e : Me(e);
|
|
542
|
-
}
|
|
543
|
-
return Me(e);
|
|
544
|
-
}
|
|
545
|
-
default: return Me(e);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
function M(e, t) {
|
|
549
|
-
for (; e !== null;) {
|
|
550
|
-
let n = fe(e, t);
|
|
551
|
-
if (n) {
|
|
552
|
-
if (n.get) return k(n.get);
|
|
553
|
-
if (typeof n.value == "function") return k(n.value);
|
|
554
|
-
}
|
|
555
|
-
e = de(e);
|
|
556
|
-
}
|
|
557
|
-
function n() {
|
|
558
|
-
return null;
|
|
559
|
-
}
|
|
560
|
-
return n;
|
|
561
|
-
}
|
|
562
|
-
function Le(e) {
|
|
563
|
-
try {
|
|
564
|
-
return O(e, ""), !0;
|
|
565
|
-
} catch {
|
|
566
|
-
return !1;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
var Re = w(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), ze = w(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Be = w([
|
|
570
|
-
"feBlend",
|
|
571
|
-
"feColorMatrix",
|
|
572
|
-
"feComponentTransfer",
|
|
573
|
-
"feComposite",
|
|
574
|
-
"feConvolveMatrix",
|
|
575
|
-
"feDiffuseLighting",
|
|
576
|
-
"feDisplacementMap",
|
|
577
|
-
"feDistantLight",
|
|
578
|
-
"feDropShadow",
|
|
579
|
-
"feFlood",
|
|
580
|
-
"feFuncA",
|
|
581
|
-
"feFuncB",
|
|
582
|
-
"feFuncG",
|
|
583
|
-
"feFuncR",
|
|
584
|
-
"feGaussianBlur",
|
|
585
|
-
"feImage",
|
|
586
|
-
"feMerge",
|
|
587
|
-
"feMergeNode",
|
|
588
|
-
"feMorphology",
|
|
589
|
-
"feOffset",
|
|
590
|
-
"fePointLight",
|
|
591
|
-
"feSpecularLighting",
|
|
592
|
-
"feSpotLight",
|
|
593
|
-
"feTile",
|
|
594
|
-
"feTurbulence"
|
|
595
|
-
]), Ve = w([
|
|
596
|
-
"animate",
|
|
597
|
-
"color-profile",
|
|
598
|
-
"cursor",
|
|
599
|
-
"discard",
|
|
600
|
-
"font-face",
|
|
601
|
-
"font-face-format",
|
|
602
|
-
"font-face-name",
|
|
603
|
-
"font-face-src",
|
|
604
|
-
"font-face-uri",
|
|
605
|
-
"foreignobject",
|
|
606
|
-
"hatch",
|
|
607
|
-
"hatchpath",
|
|
608
|
-
"mesh",
|
|
609
|
-
"meshgradient",
|
|
610
|
-
"meshpatch",
|
|
611
|
-
"meshrow",
|
|
612
|
-
"missing-glyph",
|
|
613
|
-
"script",
|
|
614
|
-
"set",
|
|
615
|
-
"solidcolor",
|
|
616
|
-
"unknown",
|
|
617
|
-
"use"
|
|
618
|
-
]), He = w(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), Ue = w([
|
|
619
|
-
"maction",
|
|
620
|
-
"maligngroup",
|
|
621
|
-
"malignmark",
|
|
622
|
-
"mlongdiv",
|
|
623
|
-
"mscarries",
|
|
624
|
-
"mscarry",
|
|
625
|
-
"msgroup",
|
|
626
|
-
"mstack",
|
|
627
|
-
"msline",
|
|
628
|
-
"msrow",
|
|
629
|
-
"semantics",
|
|
630
|
-
"annotation",
|
|
631
|
-
"annotation-xml",
|
|
632
|
-
"mprescripts",
|
|
633
|
-
"none"
|
|
634
|
-
]), We = w(["#text"]), Ge = w(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), Ke = w(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), qe = w(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Je = w([
|
|
635
|
-
"xlink:href",
|
|
636
|
-
"xml:id",
|
|
637
|
-
"xlink:title",
|
|
638
|
-
"xml:space",
|
|
639
|
-
"xmlns:xlink"
|
|
640
|
-
]), Ye = T(/{{[\w\W]*|^[\w\W]*}}/g), Xe = T(/<%[\w\W]*|^[\w\W]*%>/g), Ze = T(/\${[\w\W]*/g), Qe = T(/^data-[\-\w.\u00B7-\uFFFF]+$/), $e = T(/^aria-[\-\w]+$/), et = T(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), tt = T(/^(?:\w+script|data):/i), nt = T(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), rt = T(/^html$/i), it = T(/^[a-z][.\w]*(-[.\w]+)+$/i), at = T(/<[/\w!]/g), ot = T(/<[/\w]/g), st = T(/<\/no(script|embed|frames)/i), ct = T(/\/>/i), N = {
|
|
641
|
-
element: 1,
|
|
642
|
-
attribute: 2,
|
|
643
|
-
text: 3,
|
|
644
|
-
cdataSection: 4,
|
|
645
|
-
entityReference: 5,
|
|
646
|
-
entityNode: 6,
|
|
647
|
-
processingInstruction: 7,
|
|
648
|
-
comment: 8,
|
|
649
|
-
document: 9,
|
|
650
|
-
documentType: 10,
|
|
651
|
-
documentFragment: 11,
|
|
652
|
-
notation: 12
|
|
653
|
-
}, lt = [
|
|
654
|
-
"style",
|
|
655
|
-
"script",
|
|
656
|
-
"xmp",
|
|
657
|
-
"iframe",
|
|
658
|
-
"noembed",
|
|
659
|
-
"noframes",
|
|
660
|
-
"plaintext",
|
|
661
|
-
"noscript"
|
|
662
|
-
], ut = w(A({}, lt)), dt = function() {
|
|
663
|
-
let e = {};
|
|
664
|
-
return _e(lt, (t) => {
|
|
665
|
-
e[t] = T(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
|
|
666
|
-
}), w(e);
|
|
667
|
-
}(), ft = function() {
|
|
668
|
-
return typeof window > "u" ? null : window;
|
|
669
|
-
}, pt = function(e, t) {
|
|
670
|
-
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
671
|
-
let n = null, r = "data-tt-policy-suffix";
|
|
672
|
-
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
673
|
-
let i = "dompurify" + (n ? "#" + n : "");
|
|
674
|
-
try {
|
|
675
|
-
return e.createPolicy(i, {
|
|
676
|
-
createHTML(e) {
|
|
677
|
-
return e;
|
|
678
|
-
},
|
|
679
|
-
createScriptURL(e) {
|
|
680
|
-
return e;
|
|
681
|
-
}
|
|
682
|
-
});
|
|
683
|
-
} catch {
|
|
684
|
-
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
685
|
-
}
|
|
686
|
-
}, mt = function() {
|
|
687
|
-
return {
|
|
688
|
-
afterSanitizeAttributes: [],
|
|
689
|
-
afterSanitizeElements: [],
|
|
690
|
-
afterSanitizeShadowDOM: [],
|
|
691
|
-
beforeSanitizeAttributes: [],
|
|
692
|
-
beforeSanitizeElements: [],
|
|
693
|
-
beforeSanitizeShadowDOM: [],
|
|
694
|
-
uponSanitizeAttribute: [],
|
|
695
|
-
uponSanitizeElement: [],
|
|
696
|
-
uponSanitizeShadowNode: []
|
|
697
|
-
};
|
|
698
|
-
}, P = function(e, t, n, r) {
|
|
699
|
-
return D(e, t) && Se(e[t]) ? A(r.base ? j(r.base) : {}, e[t], r.transform) : n;
|
|
700
|
-
}, ht = function(e, t, n) {
|
|
701
|
-
let r = D(e, t) ? e[t] : void 0;
|
|
702
|
-
return r && typeof r == "object" ? j(r) : n();
|
|
703
|
-
};
|
|
704
|
-
function gt() {
|
|
705
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ft(), t = (e) => gt(e);
|
|
706
|
-
if (t.version = "3.4.15", t.removed = [], !e || !e.document || e.document.nodeType !== N.document || !e.Element) return t.isSupported = !1, t;
|
|
707
|
-
let n = e.document, r = n, i = r.currentScript;
|
|
708
|
-
e.DocumentFragment;
|
|
709
|
-
let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
|
|
710
|
-
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
711
|
-
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = M(d, "cloneNode"), p = M(d, "remove"), m = M(d, "removeAttributeNode"), ee = M(d, "nextSibling"), h = M(d, "childNodes"), g = M(d, "parentNode"), te = M(d, "shadowRoot"), _ = M(d, "attributes"), v = o && o.prototype ? M(o.prototype, "nodeType") : null, y = o && o.prototype ? M(o.prototype, "nodeName") : null, b = o && o.prototype ? M(o.prototype, "ownerDocument") : null, x = function(e) {
|
|
712
|
-
return v ? v(e) : e.nodeType;
|
|
713
|
-
}, ne = function(e) {
|
|
714
|
-
return y ? y(e) : e.nodeName;
|
|
715
|
-
};
|
|
716
|
-
if (typeof a == "function") {
|
|
717
|
-
let e = n.createElement("template");
|
|
718
|
-
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
719
|
-
}
|
|
720
|
-
let S, C = "", re, ie = !1, ae = 0, oe = function() {
|
|
721
|
-
if (ae > 0) throw Ne("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
722
|
-
}, se = function(e) {
|
|
723
|
-
oe(), ae++;
|
|
724
|
-
try {
|
|
725
|
-
return S.createHTML(e);
|
|
726
|
-
} finally {
|
|
727
|
-
ae--;
|
|
728
|
-
}
|
|
729
|
-
}, le = function(e) {
|
|
730
|
-
oe(), ae++;
|
|
731
|
-
try {
|
|
732
|
-
return S.createScriptURL(e);
|
|
733
|
-
} finally {
|
|
734
|
-
ae--;
|
|
735
|
-
}
|
|
736
|
-
}, ue = function() {
|
|
737
|
-
return ie ||= (re = pt(u, i), !0), re;
|
|
738
|
-
}, de = n, fe = de.implementation, me = de.createNodeIterator, he = de.createDocumentFragment, ge = de.getElementsByTagName, ke = r.importNode, E = mt();
|
|
739
|
-
t.isSupported = typeof ce == "function" && typeof g == "function" && fe && fe.createHTMLDocument !== void 0;
|
|
740
|
-
let Ae = Ye, je = Xe, Me = Ze, k = Qe, Pe = $e, Fe = tt, lt = nt, _t = it, vt = et, F = null, yt = A({}, [
|
|
741
|
-
...Re,
|
|
742
|
-
...ze,
|
|
743
|
-
...Be,
|
|
744
|
-
...He,
|
|
745
|
-
...We
|
|
746
|
-
]), I = null, bt = A({}, [
|
|
747
|
-
...Ge,
|
|
748
|
-
...Ke,
|
|
749
|
-
...qe,
|
|
750
|
-
...Je
|
|
751
|
-
]), L = Object.seal(pe(null, {
|
|
752
|
-
tagNameCheck: {
|
|
753
|
-
writable: !0,
|
|
754
|
-
configurable: !1,
|
|
755
|
-
enumerable: !0,
|
|
756
|
-
value: null
|
|
757
|
-
},
|
|
758
|
-
attributeNameCheck: {
|
|
759
|
-
writable: !0,
|
|
760
|
-
configurable: !1,
|
|
761
|
-
enumerable: !0,
|
|
762
|
-
value: null
|
|
763
|
-
},
|
|
764
|
-
allowCustomizedBuiltInElements: {
|
|
765
|
-
writable: !0,
|
|
766
|
-
configurable: !1,
|
|
767
|
-
enumerable: !0,
|
|
768
|
-
value: !1
|
|
769
|
-
}
|
|
770
|
-
})), xt = null, St = null, R = Object.seal(pe(null, {
|
|
771
|
-
tagCheck: {
|
|
772
|
-
writable: !0,
|
|
773
|
-
configurable: !1,
|
|
774
|
-
enumerable: !0,
|
|
775
|
-
value: null
|
|
776
|
-
},
|
|
777
|
-
attributeCheck: {
|
|
778
|
-
writable: !0,
|
|
779
|
-
configurable: !1,
|
|
780
|
-
enumerable: !0,
|
|
781
|
-
value: null
|
|
782
|
-
}
|
|
783
|
-
})), Ct = !0, wt = !0, z = !1, B = !0, V = !1, H = !0, U = !1, Tt = !1, Et = null, Dt = null, Ot = !1, W = !1, kt = !1, At = !1, jt = !0, Mt = !1, Nt = "user-content-", Pt = !0, Ft = !1, It = {}, Lt = null, Rt = A({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), zt = null, Bt = A({}, [
|
|
784
|
-
"audio",
|
|
785
|
-
"video",
|
|
786
|
-
"img",
|
|
787
|
-
"source",
|
|
788
|
-
"image",
|
|
789
|
-
"track"
|
|
790
|
-
]), Vt = null, Ht = A({}, [
|
|
791
|
-
"alt",
|
|
792
|
-
"class",
|
|
793
|
-
"for",
|
|
794
|
-
"id",
|
|
795
|
-
"label",
|
|
796
|
-
"name",
|
|
797
|
-
"pattern",
|
|
798
|
-
"placeholder",
|
|
799
|
-
"role",
|
|
800
|
-
"summary",
|
|
801
|
-
"title",
|
|
802
|
-
"value",
|
|
803
|
-
"style",
|
|
804
|
-
"xmlns"
|
|
805
|
-
]), Ut = "http://www.w3.org/1998/Math/MathML", G = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, Wt = !1, Gt = null, Kt = A({}, [
|
|
806
|
-
Ut,
|
|
807
|
-
G,
|
|
808
|
-
K
|
|
809
|
-
], we), qt = w([
|
|
810
|
-
"mi",
|
|
811
|
-
"mo",
|
|
812
|
-
"mn",
|
|
813
|
-
"ms",
|
|
814
|
-
"mtext"
|
|
815
|
-
]), Jt = A({}, qt), Yt = w(["annotation-xml"]), Xt = A({}, Yt), Zt = A({}, [
|
|
816
|
-
"title",
|
|
817
|
-
"style",
|
|
818
|
-
"font",
|
|
819
|
-
"a",
|
|
820
|
-
"script"
|
|
821
|
-
]), Qt = null, $t = ["application/xhtml+xml", "text/html"], J = null, en = null, tn = n.createElement("form"), nn = function(e) {
|
|
822
|
-
return e instanceof RegExp || e instanceof Function;
|
|
823
|
-
}, rn = function() {
|
|
824
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
825
|
-
if (en && en === e) return;
|
|
826
|
-
(!e || typeof e != "object") && (e = {}), e = j(e), Qt = $t.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = Qt === "application/xhtml+xml" ? we : Ce, F = P(e, "ALLOWED_TAGS", yt, { transform: J }), I = P(e, "ALLOWED_ATTR", bt, { transform: J }), Gt = P(e, "ALLOWED_NAMESPACES", Kt, { transform: we }), Vt = P(e, "ADD_URI_SAFE_ATTR", Ht, {
|
|
827
|
-
transform: J,
|
|
828
|
-
base: Ht
|
|
829
|
-
}), zt = P(e, "ADD_DATA_URI_TAGS", Bt, {
|
|
830
|
-
transform: J,
|
|
831
|
-
base: Bt
|
|
832
|
-
}), Lt = P(e, "FORBID_CONTENTS", Rt, { transform: J }), xt = P(e, "FORBID_TAGS", j({}), { transform: J }), St = P(e, "FORBID_ATTR", j({}), { transform: J }), It = D(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? j(e.USE_PROFILES) : e.USE_PROFILES : !1, Ct = e.ALLOW_ARIA_ATTR !== !1, wt = e.ALLOW_DATA_ATTR !== !1, z = e.ALLOW_UNKNOWN_PROTOCOLS || !1, B = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = e.SAFE_FOR_TEMPLATES || !1, H = e.SAFE_FOR_XML !== !1, U = e.WHOLE_DOCUMENT || !1, W = e.RETURN_DOM || !1, kt = e.RETURN_DOM_FRAGMENT || !1, At = e.RETURN_TRUSTED_TYPE || !1, Ot = e.FORCE_BODY || !1, jt = e.SANITIZE_DOM !== !1, Mt = e.SANITIZE_NAMED_PROPS || !1, Pt = e.KEEP_CONTENT !== !1, Ft = e.IN_PLACE || !1, vt = Le(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : et, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, Jt = ht(e, "MATHML_TEXT_INTEGRATION_POINTS", () => A({}, qt)), Xt = ht(e, "HTML_INTEGRATION_POINTS", () => A({}, Yt));
|
|
833
|
-
let t = ht(e, "CUSTOM_ELEMENT_HANDLING", () => pe(null));
|
|
834
|
-
if (L = pe(null), D(t, "tagNameCheck") && nn(t.tagNameCheck) && (L.tagNameCheck = t.tagNameCheck), D(t, "attributeNameCheck") && nn(t.attributeNameCheck) && (L.attributeNameCheck = t.attributeNameCheck), D(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), T(L), V && (wt = !1), kt && (W = !0), It && (F = A({}, We), I = pe(null), It.html === !0 && (A(F, Re), A(I, Ge)), It.svg === !0 && (A(F, ze), A(I, Ke), A(I, Je)), It.svgFilters === !0 && (A(F, Be), A(I, Ke), A(I, Je)), It.mathMl === !0 && (A(F, He), A(I, qe), A(I, Je))), R.tagCheck = null, R.attributeCheck = null, D(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? R.tagCheck = e.ADD_TAGS : Se(e.ADD_TAGS) && (F === yt && (F = j(F)), A(F, e.ADD_TAGS, J))), D(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? R.attributeCheck = e.ADD_ATTR : Se(e.ADD_ATTR) && (I === bt && (I = j(I)), A(I, e.ADD_ATTR, J))), D(e, "ADD_FORBID_CONTENTS") && Se(e.ADD_FORBID_CONTENTS) && (Lt === Rt && (Lt = j(Lt)), A(Lt, e.ADD_FORBID_CONTENTS, J)), Pt && (F["#text"] = !0), U && A(F, [
|
|
835
|
-
"html",
|
|
836
|
-
"head",
|
|
837
|
-
"body"
|
|
838
|
-
]), F.table && (A(F, ["tbody"]), delete xt.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
839
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Ne("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
840
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Ne("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
841
|
-
let t = S;
|
|
842
|
-
S = e.TRUSTED_TYPES_POLICY;
|
|
843
|
-
try {
|
|
844
|
-
C = se("");
|
|
845
|
-
} catch (e) {
|
|
846
|
-
throw S = t, e;
|
|
847
|
-
}
|
|
848
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (S = void 0, C = "") : (S === void 0 && (S = ue()), S && typeof C == "string" && (C = se("")));
|
|
849
|
-
w && w(e), en = e;
|
|
850
|
-
}, Y = A({}, [
|
|
851
|
-
...ze,
|
|
852
|
-
...Be,
|
|
853
|
-
...Ve
|
|
854
|
-
]), an = A({}, [...He, ...Ue]), on = function(e, t, n) {
|
|
855
|
-
return t.namespaceURI === K ? e === "svg" : t.namespaceURI === Ut ? e === "svg" && (n === "annotation-xml" || Jt[n]) : !!Y[e];
|
|
856
|
-
}, X = function(e, t, n) {
|
|
857
|
-
return t.namespaceURI === K ? e === "math" : t.namespaceURI === G ? e === "math" && Xt[n] : !!an[e];
|
|
858
|
-
}, sn = function(e, t, n) {
|
|
859
|
-
return t.namespaceURI === G && !Xt[n] || t.namespaceURI === Ut && !Jt[n] ? !1 : !an[e] && (Zt[e] || !Y[e]);
|
|
860
|
-
}, cn = function(e) {
|
|
861
|
-
let t = g(e);
|
|
862
|
-
(!t || !t.tagName) && (t = {
|
|
863
|
-
namespaceURI: q,
|
|
864
|
-
tagName: "template"
|
|
865
|
-
});
|
|
866
|
-
let n = Ce(e.tagName), r = Ce(t.tagName);
|
|
867
|
-
return Gt[e.namespaceURI] ? e.namespaceURI === G ? on(n, t, r) : e.namespaceURI === Ut ? X(n, t, r) : e.namespaceURI === K ? sn(n, t, r) : !!(Qt === "application/xhtml+xml" && Gt[e.namespaceURI]) : !1;
|
|
868
|
-
}, Z = function(e) {
|
|
869
|
-
be(t.removed, { element: e });
|
|
870
|
-
try {
|
|
871
|
-
g(e).removeChild(e);
|
|
872
|
-
} catch {
|
|
873
|
-
if (p(e), !g(e)) throw Ne("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
874
|
-
}
|
|
875
|
-
}, Q = function(e, t, n) {
|
|
876
|
-
try {
|
|
877
|
-
m(e, t);
|
|
878
|
-
} catch {
|
|
879
|
-
try {
|
|
880
|
-
e.removeAttribute(n);
|
|
881
|
-
} catch {}
|
|
882
|
-
}
|
|
883
|
-
}, ln = function(e) {
|
|
884
|
-
fn(e);
|
|
885
|
-
let t = h(e);
|
|
886
|
-
if (t) {
|
|
887
|
-
let e = [];
|
|
888
|
-
_e(t, (t) => {
|
|
889
|
-
be(e, t);
|
|
890
|
-
}), _e(e, (e) => {
|
|
891
|
-
try {
|
|
892
|
-
p(e);
|
|
893
|
-
} catch {}
|
|
894
|
-
});
|
|
895
|
-
}
|
|
896
|
-
let n = _(e);
|
|
897
|
-
if (n) for (let t = n.length - 1; t >= 0; --t) {
|
|
898
|
-
let r = n[t], i = r && r.name;
|
|
899
|
-
typeof i == "string" && Q(e, r, i);
|
|
900
|
-
}
|
|
901
|
-
}, un = function(e, n, r) {
|
|
902
|
-
if (!r) try {
|
|
903
|
-
r = n.getAttributeNode(e);
|
|
904
|
-
} catch {
|
|
905
|
-
r = null;
|
|
906
|
-
}
|
|
907
|
-
be(t.removed, {
|
|
908
|
-
attribute: r || null,
|
|
909
|
-
from: n
|
|
910
|
-
});
|
|
911
|
-
try {
|
|
912
|
-
r ? m(n, r) : n.removeAttribute(e);
|
|
913
|
-
} catch {
|
|
914
|
-
try {
|
|
915
|
-
n.removeAttribute(e);
|
|
916
|
-
} catch {}
|
|
917
|
-
}
|
|
918
|
-
if (e === "is") if (W || kt) try {
|
|
919
|
-
Z(n);
|
|
920
|
-
} catch {}
|
|
921
|
-
else try {
|
|
922
|
-
n.setAttribute(e, "");
|
|
923
|
-
} catch {}
|
|
924
|
-
}, dn = function(e) {
|
|
925
|
-
let t = _(e);
|
|
926
|
-
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
927
|
-
let r = t[n], i = r && r.name;
|
|
928
|
-
typeof i != "string" || I[J(i)] || Q(e, r, i);
|
|
929
|
-
}
|
|
930
|
-
}, fn = function(e) {
|
|
931
|
-
let t = [e];
|
|
932
|
-
for (; t.length > 0;) {
|
|
933
|
-
let e = t.pop();
|
|
934
|
-
x(e) === N.element && dn(e);
|
|
935
|
-
let n = h(e);
|
|
936
|
-
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
937
|
-
}
|
|
938
|
-
}, pn = function(e, t) {
|
|
939
|
-
return H ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
|
|
940
|
-
}, mn = function(e) {
|
|
941
|
-
if (!H) return;
|
|
942
|
-
let t = [e];
|
|
943
|
-
for (; t.length > 0;) {
|
|
944
|
-
let e = t.pop(), n = x(e);
|
|
945
|
-
if (n === N.processingInstruction || n === N.comment && O(ot, e.data)) {
|
|
946
|
-
try {
|
|
947
|
-
p(e);
|
|
948
|
-
} catch {}
|
|
949
|
-
continue;
|
|
950
|
-
}
|
|
951
|
-
if (n === N.element) {
|
|
952
|
-
let t = e, n = J(ne(e));
|
|
953
|
-
try {
|
|
954
|
-
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && pn("for", n) && t.removeAttribute("for");
|
|
955
|
-
} catch {}
|
|
956
|
-
}
|
|
957
|
-
let r = h(e);
|
|
958
|
-
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
959
|
-
}
|
|
960
|
-
}, hn = function(e) {
|
|
961
|
-
let t = null, r = null;
|
|
962
|
-
if (Ot) e = "<remove></remove>" + e;
|
|
963
|
-
else {
|
|
964
|
-
let t = Te(e, /^[\r\n\t ]+/);
|
|
965
|
-
r = t && t[0];
|
|
966
|
-
}
|
|
967
|
-
Qt === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
968
|
-
let i = S ? se(e) : e;
|
|
969
|
-
if (q === K) try {
|
|
970
|
-
t = new l().parseFromString(i, Qt);
|
|
971
|
-
} catch {}
|
|
972
|
-
if (!t || !t.documentElement) {
|
|
973
|
-
t = fe.createDocument(q, "template", null);
|
|
974
|
-
try {
|
|
975
|
-
t.documentElement.innerHTML = Wt ? C : i;
|
|
976
|
-
} catch {}
|
|
977
|
-
}
|
|
978
|
-
let a = t.body || t.documentElement;
|
|
979
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ? ge.call(t, U ? "html" : "body")[0] : U ? t.documentElement : a;
|
|
980
|
-
}, gn = function(e) {
|
|
981
|
-
let t = b ? b(e) : e.ownerDocument;
|
|
982
|
-
return me.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
983
|
-
}, _n = function(e) {
|
|
984
|
-
return e = Ee(e, Ae, " "), e = Ee(e, je, " "), e = Ee(e, Me, " "), e;
|
|
985
|
-
}, vn = function(e) {
|
|
986
|
-
e.normalize();
|
|
987
|
-
let t = b ? b(e) : e.ownerDocument, n = me.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
988
|
-
for (; r;) r.data = _n(r.data), r = n.nextNode();
|
|
989
|
-
let i = e.querySelectorAll?.call(e, "template");
|
|
990
|
-
i && _e(i, (e) => {
|
|
991
|
-
bn(e.content) && vn(e.content);
|
|
992
|
-
});
|
|
993
|
-
}, yn = function(e) {
|
|
994
|
-
let t = y ? y(e) : null;
|
|
995
|
-
return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== _(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== v(e) || e.childNodes !== h(e);
|
|
996
|
-
}, bn = function(e) {
|
|
997
|
-
if (!v || typeof e != "object" || !e) return !1;
|
|
998
|
-
try {
|
|
999
|
-
return v(e) === N.documentFragment;
|
|
1000
|
-
} catch {
|
|
1001
|
-
return !1;
|
|
1002
|
-
}
|
|
1003
|
-
}, xn = function(e) {
|
|
1004
|
-
if (!v || typeof e != "object" || !e) return !1;
|
|
1005
|
-
try {
|
|
1006
|
-
return typeof v(e) == "number";
|
|
1007
|
-
} catch {
|
|
1008
|
-
return !1;
|
|
1009
|
-
}
|
|
1010
|
-
};
|
|
1011
|
-
function $(e, n, r) {
|
|
1012
|
-
e.length !== 0 && _e(e, (e) => {
|
|
1013
|
-
e.call(t, n, r, en);
|
|
1014
|
-
});
|
|
1015
|
-
}
|
|
1016
|
-
let Sn = function(e, t) {
|
|
1017
|
-
return !!(H && e.hasChildNodes() && !xn(e.firstElementChild) && O(at, e.textContent) && O(at, e.innerHTML) || H && e.namespaceURI === K && ut[t] && (xn(e.firstElementChild) || typeof e.textContent == "string" && O(dt[t], e.textContent)) || e.nodeType === N.processingInstruction || H && e.nodeType === N.comment && O(ot, e.data));
|
|
1018
|
-
}, Cn = function(e, t) {
|
|
1019
|
-
return e instanceof RegExp ? O(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
|
|
1020
|
-
}, wn = function(e, t, n) {
|
|
1021
|
-
if (!xt[t] && An(t) && Cn(L.tagNameCheck, t)) return !1;
|
|
1022
|
-
if (Pt && !Lt[t]) {
|
|
1023
|
-
let t = g(e), r = h(e);
|
|
1024
|
-
if (r && t) {
|
|
1025
|
-
let i = r.length;
|
|
1026
|
-
for (let a = i - 1; a >= 0; --a) {
|
|
1027
|
-
let i = e === n ? f(r[a], !0) : r[a];
|
|
1028
|
-
t.insertBefore(i, ee(e));
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
return Z(e), !0;
|
|
1033
|
-
}, Tn = function(e, t, n, r) {
|
|
1034
|
-
return e.length === 0 ? t : t === n || t === r ? j(t) : t;
|
|
1035
|
-
}, En = function(e, t) {
|
|
1036
|
-
return e === t || g(e) !== null ? !1 : (Ft && fn(e), !0);
|
|
1037
|
-
}, Dn = function(e, n) {
|
|
1038
|
-
if ($(E.beforeSanitizeElements, e, null), En(e, n)) return !0;
|
|
1039
|
-
if (yn(e)) return Z(e), !0;
|
|
1040
|
-
let r = J(ne(e));
|
|
1041
|
-
if (F = Tn(E.uponSanitizeElement, F, yt, Et), $(E.uponSanitizeElement, e, {
|
|
1042
|
-
tagName: r,
|
|
1043
|
-
allowedTags: F
|
|
1044
|
-
}), En(e, n)) return !0;
|
|
1045
|
-
if (Sn(e, r)) return Z(e), !0;
|
|
1046
|
-
if (xt[r] || !(R.tagCheck instanceof Function && R.tagCheck(r)) && !F[r]) {
|
|
1047
|
-
let t = wn(e, r, n);
|
|
1048
|
-
return t === !1 && $(E.afterSanitizeElements, e, null), t;
|
|
1049
|
-
}
|
|
1050
|
-
if (x(e) === N.element && !cn(e) || (r === "noscript" || r === "noembed" || r === "noframes") && O(st, e.innerHTML)) return Z(e), !0;
|
|
1051
|
-
if (V && e.nodeType === N.text) {
|
|
1052
|
-
let n = _n(e.textContent);
|
|
1053
|
-
e.textContent !== n && (be(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
1054
|
-
}
|
|
1055
|
-
return $(E.afterSanitizeElements, e, null), !1;
|
|
1056
|
-
}, On = function(e, t, r) {
|
|
1057
|
-
if (St[t] || pn(t, e) || jt && (t === "id" || t === "name") && (r in n || r in tn)) return !1;
|
|
1058
|
-
let i = I[t] || R.attributeCheck instanceof Function && R.attributeCheck(t, e);
|
|
1059
|
-
return wt && O(k, t) || Ct && O(Pe, t) ? !0 : i ? Vt[t] || O(vt, Ee(r, lt, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && De(r, "data:") === 0 && zt[e] || z && !O(Fe, Ee(r, lt, "")) ? !0 : !r : An(e) && Cn(L.tagNameCheck, e) && Cn(L.attributeNameCheck, t, e) || t === "is" && L.allowCustomizedBuiltInElements && Cn(L.tagNameCheck, r);
|
|
1060
|
-
}, kn = A({}, [
|
|
1061
|
-
"annotation-xml",
|
|
1062
|
-
"color-profile",
|
|
1063
|
-
"font-face",
|
|
1064
|
-
"font-face-format",
|
|
1065
|
-
"font-face-name",
|
|
1066
|
-
"font-face-src",
|
|
1067
|
-
"font-face-uri",
|
|
1068
|
-
"missing-glyph"
|
|
1069
|
-
]), An = function(e) {
|
|
1070
|
-
return !kn[Ce(e)] && O(_t, e);
|
|
1071
|
-
}, jn = function(e, t, n, r) {
|
|
1072
|
-
if (S && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
1073
|
-
case "TrustedHTML": return se(r);
|
|
1074
|
-
case "TrustedScriptURL": return le(r);
|
|
1075
|
-
}
|
|
1076
|
-
return r;
|
|
1077
|
-
}, Mn = function(e, t, n, r) {
|
|
1078
|
-
try {
|
|
1079
|
-
return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), yn(e) ? (Z(e), !1) : !0;
|
|
1080
|
-
} catch {
|
|
1081
|
-
return un(t, e), !1;
|
|
1082
|
-
}
|
|
1083
|
-
}, Nn = function(e) {
|
|
1084
|
-
$(E.beforeSanitizeAttributes, e, null);
|
|
1085
|
-
let n = e.attributes;
|
|
1086
|
-
if (!n || yn(e)) return;
|
|
1087
|
-
I = Tn(E.uponSanitizeAttribute, I, bt, Dt);
|
|
1088
|
-
let r = {
|
|
1089
|
-
attrName: "",
|
|
1090
|
-
attrValue: "",
|
|
1091
|
-
keepAttr: !0,
|
|
1092
|
-
allowedAttributes: I,
|
|
1093
|
-
forceKeepAttr: void 0
|
|
1094
|
-
}, i = n.length, a = J(e.nodeName);
|
|
1095
|
-
for (; i--;) {
|
|
1096
|
-
let o = n[i], s = o.name, c = o.namespaceURI, l = o.value, u = J(s), d = l, f = s === "value" ? d : Oe(d), p = !1;
|
|
1097
|
-
if (r.attrName = u, r.attrValue = f, r.keepAttr = !0, r.forceKeepAttr = void 0, $(E.uponSanitizeAttribute, e, r), f = r.attrValue, Mt && (u === "id" || u === "name") && De(f, Nt) !== 0 && (un(s, e, o), f = Nt + f, p = !0), H && O(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
|
|
1098
|
-
un(s, e, o);
|
|
1099
|
-
continue;
|
|
1100
|
-
}
|
|
1101
|
-
if (u === "attributename" && Te(f, "href")) {
|
|
1102
|
-
un(s, e, o);
|
|
1103
|
-
continue;
|
|
1104
|
-
}
|
|
1105
|
-
if (!r.forceKeepAttr) {
|
|
1106
|
-
if (!r.keepAttr) {
|
|
1107
|
-
un(s, e, o);
|
|
1108
|
-
continue;
|
|
1109
|
-
}
|
|
1110
|
-
if (!B && O(ct, f)) {
|
|
1111
|
-
un(s, e, o);
|
|
1112
|
-
continue;
|
|
1113
|
-
}
|
|
1114
|
-
if (V && (f = _n(f)), !On(a, u, f)) {
|
|
1115
|
-
un(s, e, o);
|
|
1116
|
-
continue;
|
|
1117
|
-
}
|
|
1118
|
-
f = jn(a, u, c, f), f !== d && Mn(e, s, c, f) && p && ye(t.removed);
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
$(E.afterSanitizeAttributes, e, null);
|
|
1122
|
-
}, Pn = function(e) {
|
|
1123
|
-
let t = null, n = gn(e);
|
|
1124
|
-
for ($(E.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(E.uponSanitizeShadowNode, t, null), Dn(t, e), Nn(t), bn(t.content) && Pn(t.content), x(t) === N.element) {
|
|
1125
|
-
let e = te(t);
|
|
1126
|
-
bn(e) && (Fn(e), Pn(e));
|
|
1127
|
-
}
|
|
1128
|
-
$(E.afterSanitizeShadowDOM, e, null);
|
|
1129
|
-
}, Fn = function(e) {
|
|
1130
|
-
let t = [{
|
|
1131
|
-
node: e,
|
|
1132
|
-
shadow: null
|
|
1133
|
-
}];
|
|
1134
|
-
for (; t.length > 0;) {
|
|
1135
|
-
let e = t.pop();
|
|
1136
|
-
if (e.shadow) {
|
|
1137
|
-
Pn(e.shadow);
|
|
1138
|
-
continue;
|
|
1139
|
-
}
|
|
1140
|
-
let n = e.node, r = x(n) === N.element, i = h(n);
|
|
1141
|
-
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
1142
|
-
node: i[e],
|
|
1143
|
-
shadow: null
|
|
1144
|
-
});
|
|
1145
|
-
if (r) {
|
|
1146
|
-
let e = y ? y(n) : null;
|
|
1147
|
-
if (typeof e == "string" && J(e) === "template") {
|
|
1148
|
-
let e = n.content;
|
|
1149
|
-
bn(e) && t.push({
|
|
1150
|
-
node: e,
|
|
1151
|
-
shadow: null
|
|
1152
|
-
});
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
if (r) {
|
|
1156
|
-
let e = te(n);
|
|
1157
|
-
bn(e) && t.push({
|
|
1158
|
-
node: null,
|
|
1159
|
-
shadow: e
|
|
1160
|
-
}, {
|
|
1161
|
-
node: e,
|
|
1162
|
-
shadow: null
|
|
1163
|
-
});
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
};
|
|
1167
|
-
return t.sanitize = function(e) {
|
|
1168
|
-
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
1169
|
-
if (Wt = !e, Wt && (e = "<!-->"), typeof e != "string" && !xn(e) && (e = Ie(e), typeof e != "string")) throw Ne("dirty is not a string, aborting");
|
|
1170
|
-
if (!t.isSupported) return e;
|
|
1171
|
-
Tt ? (F = Et, I = Dt) : rn(n), (E.uponSanitizeElement.length > 0 || E.uponSanitizeAttribute.length > 0) && (F = j(F)), E.uponSanitizeAttribute.length > 0 && (I = j(I)), t.removed = [];
|
|
1172
|
-
let c = Ft && typeof e != "string" && xn(e);
|
|
1173
|
-
if (c) {
|
|
1174
|
-
mn(e);
|
|
1175
|
-
let t = ne(e);
|
|
1176
|
-
if (typeof t == "string") {
|
|
1177
|
-
let n = J(t);
|
|
1178
|
-
if (!F[n] || xt[n]) throw ln(e), Ne("root node is forbidden and cannot be sanitized in-place");
|
|
1179
|
-
}
|
|
1180
|
-
if (yn(e)) throw ln(e), Ne("root node is clobbered and cannot be sanitized in-place");
|
|
1181
|
-
try {
|
|
1182
|
-
Fn(e);
|
|
1183
|
-
} catch (t) {
|
|
1184
|
-
throw ln(e), t;
|
|
1185
|
-
}
|
|
1186
|
-
} else if (xn(e)) i = hn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === N.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Fn(i);
|
|
1187
|
-
else {
|
|
1188
|
-
if (!W && !V && !U && e.indexOf("<") === -1) return S && At ? se(e) : e;
|
|
1189
|
-
if (i = hn(e), !i) return W ? null : At ? C : "";
|
|
1190
|
-
}
|
|
1191
|
-
i && Ot && Z(i.firstChild);
|
|
1192
|
-
let l = c ? e : i;
|
|
1193
|
-
try {
|
|
1194
|
-
let e = gn(l);
|
|
1195
|
-
for (; o = e.nextNode();) Dn(o, l), Nn(o), bn(o.content) && Pn(o.content);
|
|
1196
|
-
} catch (n) {
|
|
1197
|
-
throw c && (ln(e), _e(t.removed, (e) => {
|
|
1198
|
-
e.element && fn(e.element);
|
|
1199
|
-
})), n;
|
|
1200
|
-
}
|
|
1201
|
-
if (c) return _e(t.removed, (e) => {
|
|
1202
|
-
e.element && fn(e.element);
|
|
1203
|
-
}), V && vn(e), e;
|
|
1204
|
-
if (W) {
|
|
1205
|
-
if (V && vn(i), kt) for (s = he.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
1206
|
-
else s = i;
|
|
1207
|
-
return (I.shadowroot || I.shadowrootmode) && (s = ke.call(r, s, !0)), s;
|
|
1208
|
-
}
|
|
1209
|
-
let u = U ? i.outerHTML : i.innerHTML;
|
|
1210
|
-
return U && F["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && O(rt, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), V && (u = _n(u)), S && At ? se(u) : u;
|
|
1211
|
-
}, t.setConfig = function() {
|
|
1212
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1213
|
-
rn(e), Tt = !0, Et = F, Dt = I;
|
|
1214
|
-
}, t.clearConfig = function() {
|
|
1215
|
-
en = null, Tt = !1, Et = null, Dt = null, S = re, C = "";
|
|
1216
|
-
}, t.isValidAttribute = function(e, t, n) {
|
|
1217
|
-
en || rn({});
|
|
1218
|
-
let r = J(e), i = J(t);
|
|
1219
|
-
return On(r, i, n);
|
|
1220
|
-
}, t.addHook = function(e, t) {
|
|
1221
|
-
typeof t == "function" && D(E, e) && be(E[e], t);
|
|
1222
|
-
}, t.removeHook = function(e, t) {
|
|
1223
|
-
if (D(E, e)) {
|
|
1224
|
-
if (t !== void 0) {
|
|
1225
|
-
let n = ve(E[e], t);
|
|
1226
|
-
return n === -1 ? void 0 : xe(E[e], n, 1)[0];
|
|
1227
|
-
}
|
|
1228
|
-
return ye(E[e]);
|
|
1229
|
-
}
|
|
1230
|
-
}, t.removeHooks = function(e) {
|
|
1231
|
-
D(E, e) && (E[e] = []);
|
|
1232
|
-
}, t.removeAllHooks = function() {
|
|
1233
|
-
E = mt();
|
|
1234
|
-
}, t;
|
|
1235
|
-
}
|
|
1236
|
-
var _t = gt(), vt = /^([^\S\n\r]*)-{3}\s*[\n\r](.*?)[\n\r]\1-{3}\s*[\n\r]+/s, F = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, yt = /\s/, I = /* @__PURE__ */ n((e) => {
|
|
1237
|
-
let t = "", n = 0, r = 0;
|
|
1238
|
-
for (; r < e.length;) {
|
|
1239
|
-
let i = e.indexOf("%%", r);
|
|
1240
|
-
if (i === -1) break;
|
|
1241
|
-
let a = e.indexOf("\n", i);
|
|
1242
|
-
if (a === -1) break;
|
|
1243
|
-
let o = i;
|
|
1244
|
-
for (; o > n && yt.test(e[o - 1]);) o--;
|
|
1245
|
-
t += e.slice(n, o) + "\n", n = a + 1, r = n;
|
|
1246
|
-
}
|
|
1247
|
-
return t + e.slice(n);
|
|
1248
|
-
}, "stripAnyComments"), bt = class extends Error {
|
|
1249
|
-
static {
|
|
1250
|
-
n(this, "UnknownDiagramError");
|
|
1251
|
-
}
|
|
1252
|
-
constructor(e) {
|
|
1253
|
-
super(e), this.name = "UnknownDiagramError";
|
|
1254
|
-
}
|
|
1255
|
-
}, L = {}, xt = /* @__PURE__ */ n(function(e, t) {
|
|
1256
|
-
e = I(e.replace(vt, "").replace(F, ""));
|
|
1257
|
-
for (let [n, { detector: r }] of Object.entries(L)) if (r(e, t)) return n;
|
|
1258
|
-
throw new bt(`No diagram type detected matching given configuration for text: ${e}`);
|
|
1259
|
-
}, "detectType"), St = /* @__PURE__ */ n((...e) => {
|
|
1260
|
-
for (let { id: t, detector: n, loader: r } of e) R(t, n, r);
|
|
1261
|
-
}, "registerLazyLoadedDiagrams"), R = /* @__PURE__ */ n((t, n, r) => {
|
|
1262
|
-
L[t] && e.warn(`Detector with key ${t} already exists. Overwriting.`), L[t] = {
|
|
1263
|
-
detector: n,
|
|
1264
|
-
loader: r
|
|
1265
|
-
}, e.debug(`Detector with key ${t} added${r ? " with loader" : ""}`);
|
|
1266
|
-
}, "addDetector"), Ct = /* @__PURE__ */ n((e) => L[e].loader, "getDiagramLoader"), wt = /* @__PURE__ */ n((e, t, { depth: n = 2 } = {}) => {
|
|
1267
|
-
let r = { depth: n };
|
|
1268
|
-
if (Array.isArray(t) && !Array.isArray(e)) return t.forEach((t) => wt(e, t, r)), e;
|
|
1269
|
-
if (Array.isArray(t) && Array.isArray(e)) return t.forEach((t) => {
|
|
1270
|
-
e.includes(t) || e.push(t);
|
|
1271
|
-
}), e;
|
|
1272
|
-
if (e == null || n <= 0) return typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t;
|
|
1273
|
-
if (t != null && typeof e == "object" && typeof t == "object") {
|
|
1274
|
-
let r = e;
|
|
1275
|
-
Object.entries(t).forEach(([t, i]) => {
|
|
1276
|
-
if (typeof i == "object") {
|
|
1277
|
-
if (i === null) return;
|
|
1278
|
-
Object.hasOwn(e, t) || Object.defineProperty(e, t, {
|
|
1279
|
-
value: void 0,
|
|
1280
|
-
writable: !0,
|
|
1281
|
-
enumerable: !0,
|
|
1282
|
-
configurable: !0
|
|
1283
|
-
}), r[t] === void 0 && (r[t] = Array.isArray(i) ? [] : {}), typeof r[t] == "object" && (r[t] = wt(r[t], i, { depth: n - 1 }));
|
|
1284
|
-
} else typeof r[t] != "object" && (Object.hasOwn(e, t) ? r[t] = i : Object.defineProperty(e, t, {
|
|
1285
|
-
value: i,
|
|
1286
|
-
writable: !0,
|
|
1287
|
-
enumerable: !0,
|
|
1288
|
-
configurable: !0
|
|
1289
|
-
}));
|
|
1290
|
-
});
|
|
1291
|
-
}
|
|
1292
|
-
return e;
|
|
1293
|
-
}, "assignWithDepth"), z = wt, B = "#ffffff", V = "#f2f2f2", H = /* @__PURE__ */ n((e, t) => t ? x(e, {
|
|
1294
|
-
s: -40,
|
|
1295
|
-
l: 10
|
|
1296
|
-
}) : x(e, {
|
|
1297
|
-
s: -40,
|
|
1298
|
-
l: -10
|
|
1299
|
-
}), "mkBorder"), U = class {
|
|
1300
|
-
static {
|
|
1301
|
-
n(this, "Theme");
|
|
1302
|
-
}
|
|
1303
|
-
constructor() {
|
|
1304
|
-
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.useGradient = !0, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
1305
|
-
}
|
|
1306
|
-
updateColors() {
|
|
1307
|
-
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
|
|
1308
|
-
h: 180,
|
|
1309
|
-
l: 5
|
|
1310
|
-
}), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || "navy", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || b(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || b(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || y(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 5)), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, {
|
|
1311
|
-
h: 210,
|
|
1312
|
-
l: 150
|
|
1313
|
-
}), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
|
|
1314
|
-
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
|
|
1315
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
1316
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
1317
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1318
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1319
|
-
let e = this.darkMode ? -4 : -1;
|
|
1320
|
-
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
|
|
1321
|
-
h: 180,
|
|
1322
|
-
s: -15,
|
|
1323
|
-
l: e * (5 + t * 3)
|
|
1324
|
-
}), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
|
|
1325
|
-
h: 180,
|
|
1326
|
-
s: -15,
|
|
1327
|
-
l: e * (8 + t * 3)
|
|
1328
|
-
});
|
|
1329
|
-
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || x(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || x(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || x(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || x(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || x(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || x(this.primaryColor, {
|
|
1330
|
-
h: 60,
|
|
1331
|
-
l: -10
|
|
1332
|
-
}), this.pie8 = this.pie8 || x(this.primaryColor, {
|
|
1333
|
-
h: -60,
|
|
1334
|
-
l: -10
|
|
1335
|
-
}), this.pie9 = this.pie9 || x(this.primaryColor, {
|
|
1336
|
-
h: 120,
|
|
1337
|
-
l: 0
|
|
1338
|
-
}), this.pie10 = this.pie10 || x(this.primaryColor, {
|
|
1339
|
-
h: 60,
|
|
1340
|
-
l: -20
|
|
1341
|
-
}), this.pie11 = this.pie11 || x(this.primaryColor, {
|
|
1342
|
-
h: -60,
|
|
1343
|
-
l: -20
|
|
1344
|
-
}), this.pie12 = this.pie12 || x(this.primaryColor, {
|
|
1345
|
-
h: 120,
|
|
1346
|
-
l: -10
|
|
1347
|
-
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? x(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? x(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? x(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? x(this.primaryColor, {
|
|
1348
|
-
h: 60,
|
|
1349
|
-
l: -30
|
|
1350
|
-
}), this.venn5 = this.venn5 ?? x(this.primaryColor, {
|
|
1351
|
-
h: -60,
|
|
1352
|
-
l: -30
|
|
1353
|
-
}), this.venn6 = this.venn6 ?? x(this.secondaryColor, {
|
|
1354
|
-
h: 60,
|
|
1355
|
-
l: -30
|
|
1356
|
-
}), this.venn7 = this.venn7 ?? x(this.primaryColor, {
|
|
1357
|
-
h: 120,
|
|
1358
|
-
l: -30
|
|
1359
|
-
}), this.venn8 = this.venn8 ?? x(this.secondaryColor, {
|
|
1360
|
-
h: 120,
|
|
1361
|
-
l: -30
|
|
1362
|
-
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1363
|
-
domainFontSize: this.cynefin?.domainFontSize || 16,
|
|
1364
|
-
itemFontSize: this.cynefin?.itemFontSize || 12,
|
|
1365
|
-
boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
|
|
1366
|
-
boundaryWidth: this.cynefin?.boundaryWidth || 2,
|
|
1367
|
-
cliffColor: this.cynefin?.cliffColor || "#8B0000",
|
|
1368
|
-
cliffWidth: this.cynefin?.cliffWidth || 4,
|
|
1369
|
-
arrowColor: this.cynefin?.arrowColor || this.lineColor,
|
|
1370
|
-
arrowWidth: this.cynefin?.arrowWidth || 2,
|
|
1371
|
-
complexBg: this.cynefin?.complexBg || "#E8F5E9",
|
|
1372
|
-
complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
|
|
1373
|
-
chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
|
|
1374
|
-
clearBg: this.cynefin?.clearBg || "#FFF8E1",
|
|
1375
|
-
confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
|
|
1376
|
-
textColor: this.cynefin?.textColor || this.textColor,
|
|
1377
|
-
labelColor: this.cynefin?.labelColor || this.primaryTextColor
|
|
1378
|
-
}, this.radar = {
|
|
1379
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1380
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1381
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1382
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1383
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1384
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1385
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1386
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1387
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1388
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1389
|
-
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
1390
|
-
backgroundColor: this.wardley?.backgroundColor || this.background,
|
|
1391
|
-
axisColor: this.wardley?.axisColor || this.lineColor,
|
|
1392
|
-
axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
|
|
1393
|
-
gridColor: this.wardley?.gridColor || this.gridColor,
|
|
1394
|
-
componentFill: this.wardley?.componentFill || this.background,
|
|
1395
|
-
componentStroke: this.wardley?.componentStroke || this.lineColor,
|
|
1396
|
-
componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
|
|
1397
|
-
linkStroke: this.wardley?.linkStroke || this.lineColor,
|
|
1398
|
-
evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
|
|
1399
|
-
annotationStroke: this.wardley?.annotationStroke || this.lineColor,
|
|
1400
|
-
annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
|
|
1401
|
-
annotationFill: this.wardley?.annotationFill || this.background
|
|
1402
|
-
}, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
1403
|
-
r: 5,
|
|
1404
|
-
g: 5,
|
|
1405
|
-
b: 5
|
|
1406
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
1407
|
-
r: 10,
|
|
1408
|
-
g: 10,
|
|
1409
|
-
b: 10
|
|
1410
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
1411
|
-
r: 15,
|
|
1412
|
-
g: 15,
|
|
1413
|
-
b: 15
|
|
1414
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
1415
|
-
r: -5,
|
|
1416
|
-
g: -5,
|
|
1417
|
-
b: -5
|
|
1418
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
1419
|
-
r: -10,
|
|
1420
|
-
g: -10,
|
|
1421
|
-
b: -10
|
|
1422
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
1423
|
-
r: -15,
|
|
1424
|
-
g: -15,
|
|
1425
|
-
b: -15
|
|
1426
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1427
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1428
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1429
|
-
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
1430
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
1431
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1432
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1433
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1434
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1435
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1436
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1437
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1438
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1439
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1440
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
|
|
1441
|
-
}
|
|
1442
|
-
calculate(e) {
|
|
1443
|
-
if (typeof e != "object") {
|
|
1444
|
-
this.updateColors();
|
|
1445
|
-
return;
|
|
1446
|
-
}
|
|
1447
|
-
let t = Object.keys(e);
|
|
1448
|
-
t.forEach((t) => {
|
|
1449
|
-
this[t] = e[t];
|
|
1450
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1451
|
-
this[t] = e[t];
|
|
1452
|
-
}), Object.hasOwn(e, "nodeBorder") && !Object.hasOwn(e, "useGradient") && (this.useGradient = !1);
|
|
1453
|
-
}
|
|
1454
|
-
}, Tt = /* @__PURE__ */ n((e) => {
|
|
1455
|
-
let t = new U();
|
|
1456
|
-
return t.calculate(e), t;
|
|
1457
|
-
}, "getThemeVariables"), Et = class {
|
|
1458
|
-
static {
|
|
1459
|
-
n(this, "Theme");
|
|
1460
|
-
}
|
|
1461
|
-
constructor() {
|
|
1462
|
-
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = h(255, 255, 255, .25), this.arrowheadColor = "calculated", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.clusterBkg = "#302F3D", this.sectionBkgColor = b("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = b(this.sectionBkgColor, 10), this.taskBorderColor = h(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = h(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || y(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || b(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal";
|
|
1463
|
-
}
|
|
1464
|
-
updateColors() {
|
|
1465
|
-
this.secondBkg = y(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = y(this.labelBackground, 25), this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.background, this.taskBkgColor = y(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = S(this.doneTaskBkgColor), this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 });
|
|
1466
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
1467
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10);
|
|
1468
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
|
|
1469
|
-
h: 30,
|
|
1470
|
-
s: -30,
|
|
1471
|
-
l: -(-10 + e * 4)
|
|
1472
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
|
|
1473
|
-
h: 30,
|
|
1474
|
-
s: -30,
|
|
1475
|
-
l: -(-7 + e * 4)
|
|
1476
|
-
});
|
|
1477
|
-
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
|
|
1478
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1479
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
1480
|
-
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.mainContrastColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.mainContrastColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
1481
|
-
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? y(this["cScale" + e], 30);
|
|
1482
|
-
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1483
|
-
domainFontSize: this.cynefin?.domainFontSize || 16,
|
|
1484
|
-
itemFontSize: this.cynefin?.itemFontSize || 12,
|
|
1485
|
-
boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
|
|
1486
|
-
boundaryWidth: this.cynefin?.boundaryWidth || 2,
|
|
1487
|
-
cliffColor: this.cynefin?.cliffColor || "#FF6B6B",
|
|
1488
|
-
cliffWidth: this.cynefin?.cliffWidth || 4,
|
|
1489
|
-
arrowColor: this.cynefin?.arrowColor || this.lineColor,
|
|
1490
|
-
arrowWidth: this.cynefin?.arrowWidth || 2,
|
|
1491
|
-
complexBg: this.cynefin?.complexBg || "#1B5E20",
|
|
1492
|
-
complicatedBg: this.cynefin?.complicatedBg || "#0D47A1",
|
|
1493
|
-
chaoticBg: this.cynefin?.chaoticBg || "#BF360C",
|
|
1494
|
-
clearBg: this.cynefin?.clearBg || "#F57F17",
|
|
1495
|
-
confusionBg: this.cynefin?.confusionBg || "#4A148C",
|
|
1496
|
-
textColor: this.cynefin?.textColor || this.textColor,
|
|
1497
|
-
labelColor: this.cynefin?.labelColor || this.primaryTextColor
|
|
1498
|
-
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
1499
|
-
r: 5,
|
|
1500
|
-
g: 5,
|
|
1501
|
-
b: 5
|
|
1502
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
1503
|
-
r: 10,
|
|
1504
|
-
g: 10,
|
|
1505
|
-
b: 10
|
|
1506
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
1507
|
-
r: 15,
|
|
1508
|
-
g: 15,
|
|
1509
|
-
b: 15
|
|
1510
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
1511
|
-
r: -5,
|
|
1512
|
-
g: -5,
|
|
1513
|
-
b: -5
|
|
1514
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
1515
|
-
r: -10,
|
|
1516
|
-
g: -10,
|
|
1517
|
-
b: -10
|
|
1518
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
1519
|
-
r: -15,
|
|
1520
|
-
g: -15,
|
|
1521
|
-
b: -15
|
|
1522
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1523
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1524
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1525
|
-
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
1526
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
1527
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1528
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1529
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1530
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1531
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1532
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1533
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1534
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1535
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
1536
|
-
}, this.packet = {
|
|
1537
|
-
startByteColor: this.primaryTextColor,
|
|
1538
|
-
endByteColor: this.primaryTextColor,
|
|
1539
|
-
labelColor: this.primaryTextColor,
|
|
1540
|
-
titleColor: this.primaryTextColor,
|
|
1541
|
-
blockStrokeColor: this.primaryTextColor,
|
|
1542
|
-
blockFillColor: this.background
|
|
1543
|
-
}, this.radar = {
|
|
1544
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1545
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1546
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1547
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1548
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1549
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1550
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1551
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1552
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1553
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1554
|
-
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#ff6b6b", this.wardley = {
|
|
1555
|
-
backgroundColor: this.wardley?.backgroundColor || this.background,
|
|
1556
|
-
axisColor: this.wardley?.axisColor || this.lineColor,
|
|
1557
|
-
axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
|
|
1558
|
-
gridColor: this.wardley?.gridColor || this.gridColor,
|
|
1559
|
-
componentFill: this.wardley?.componentFill || this.mainBkg,
|
|
1560
|
-
componentStroke: this.wardley?.componentStroke || this.lineColor,
|
|
1561
|
-
componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
|
|
1562
|
-
linkStroke: this.wardley?.linkStroke || this.lineColor,
|
|
1563
|
-
evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
|
|
1564
|
-
annotationStroke: this.wardley?.annotationStroke || this.lineColor,
|
|
1565
|
-
annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
|
|
1566
|
-
annotationFill: this.wardley?.annotationFill || this.mainBkg
|
|
1567
|
-
}, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = y(this.secondaryColor, 20), this.git1 = y(this.pie2 || this.secondaryColor, 20), this.git2 = y(this.pie3 || this.tertiaryColor, 20), this.git3 = y(this.pie4 || x(this.primaryColor, { h: -30 }), 20), this.git4 = y(this.pie5 || x(this.primaryColor, { h: -60 }), 20), this.git5 = y(this.pie6 || x(this.primaryColor, { h: -90 }), 10), this.git6 = y(this.pie7 || x(this.primaryColor, { h: 60 }), 10), this.git7 = y(this.pie8 || x(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || S(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || S(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "#2d2d2d", this.emUiStroke = this.emUiStroke || "#555", this.emProcessorFill = this.emProcessorFill || y("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || y("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || y("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || y("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || y(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || y(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || y(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
|
|
1568
|
-
}
|
|
1569
|
-
calculate(e) {
|
|
1570
|
-
if (typeof e != "object") {
|
|
1571
|
-
this.updateColors();
|
|
1572
|
-
return;
|
|
1573
|
-
}
|
|
1574
|
-
let t = Object.keys(e);
|
|
1575
|
-
t.forEach((t) => {
|
|
1576
|
-
this[t] = e[t];
|
|
1577
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1578
|
-
this[t] = e[t];
|
|
1579
|
-
});
|
|
1580
|
-
}
|
|
1581
|
-
}, Dt = /* @__PURE__ */ n((e) => {
|
|
1582
|
-
let t = new Et();
|
|
1583
|
-
return t.calculate(e), t;
|
|
1584
|
-
}, "getThemeVariables"), Ot = class {
|
|
1585
|
-
static {
|
|
1586
|
-
n(this, "Theme");
|
|
1587
|
-
}
|
|
1588
|
-
constructor() {
|
|
1589
|
-
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = x(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.clusterBkg = "#FBFBFF", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = h(102, 102, 255, .49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !1, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))", this.updateColors();
|
|
1590
|
-
}
|
|
1591
|
-
updateColors() {
|
|
1592
|
-
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || b(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || b(this.tertiaryColor, 40);
|
|
1593
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 25);
|
|
1594
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e], { h: 180 });
|
|
1595
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
|
|
1596
|
-
h: 30,
|
|
1597
|
-
l: -(5 + e * 5)
|
|
1598
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
|
|
1599
|
-
h: 30,
|
|
1600
|
-
l: -(7 + e * 5)
|
|
1601
|
-
});
|
|
1602
|
-
if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
|
|
1603
|
-
this.cScaleLabel0 = this.cScaleLabel0 || S(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || S(this.labelTextColor);
|
|
1604
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
|
|
1605
|
-
}
|
|
1606
|
-
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || y(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || y(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || x(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || x(this.primaryColor, {
|
|
1607
|
-
h: 60,
|
|
1608
|
-
l: -20
|
|
1609
|
-
}), this.pie8 = this.pie8 || x(this.primaryColor, {
|
|
1610
|
-
h: -60,
|
|
1611
|
-
l: -40
|
|
1612
|
-
}), this.pie9 = this.pie9 || x(this.primaryColor, {
|
|
1613
|
-
h: 120,
|
|
1614
|
-
l: -40
|
|
1615
|
-
}), this.pie10 = this.pie10 || x(this.primaryColor, {
|
|
1616
|
-
h: 60,
|
|
1617
|
-
l: -40
|
|
1618
|
-
}), this.pie11 = this.pie11 || x(this.primaryColor, {
|
|
1619
|
-
h: -90,
|
|
1620
|
-
l: -40
|
|
1621
|
-
}), this.pie12 = this.pie12 || x(this.primaryColor, {
|
|
1622
|
-
h: 120,
|
|
1623
|
-
l: -30
|
|
1624
|
-
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? x(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? x(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? x(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? x(this.primaryColor, {
|
|
1625
|
-
h: 60,
|
|
1626
|
-
l: -30
|
|
1627
|
-
}), this.venn5 = this.venn5 ?? x(this.primaryColor, {
|
|
1628
|
-
h: -60,
|
|
1629
|
-
l: -30
|
|
1630
|
-
}), this.venn6 = this.venn6 ?? x(this.secondaryColor, {
|
|
1631
|
-
h: 60,
|
|
1632
|
-
l: -30
|
|
1633
|
-
}), this.venn7 = this.venn7 ?? x(this.primaryColor, {
|
|
1634
|
-
h: 120,
|
|
1635
|
-
l: -30
|
|
1636
|
-
}), this.venn8 = this.venn8 ?? x(this.secondaryColor, {
|
|
1637
|
-
h: 120,
|
|
1638
|
-
l: -30
|
|
1639
|
-
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1640
|
-
domainFontSize: this.cynefin?.domainFontSize || 16,
|
|
1641
|
-
itemFontSize: this.cynefin?.itemFontSize || 12,
|
|
1642
|
-
boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
|
|
1643
|
-
boundaryWidth: this.cynefin?.boundaryWidth || 2,
|
|
1644
|
-
cliffColor: this.cynefin?.cliffColor || "#8B0000",
|
|
1645
|
-
cliffWidth: this.cynefin?.cliffWidth || 4,
|
|
1646
|
-
arrowColor: this.cynefin?.arrowColor || this.lineColor,
|
|
1647
|
-
arrowWidth: this.cynefin?.arrowWidth || 2,
|
|
1648
|
-
complexBg: this.cynefin?.complexBg || "#E8F5E9",
|
|
1649
|
-
complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
|
|
1650
|
-
chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
|
|
1651
|
-
clearBg: this.cynefin?.clearBg || "#FFF8E1",
|
|
1652
|
-
confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
|
|
1653
|
-
textColor: this.cynefin?.textColor || this.textColor,
|
|
1654
|
-
labelColor: this.cynefin?.labelColor || this.primaryTextColor
|
|
1655
|
-
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
1656
|
-
r: 5,
|
|
1657
|
-
g: 5,
|
|
1658
|
-
b: 5
|
|
1659
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
1660
|
-
r: 10,
|
|
1661
|
-
g: 10,
|
|
1662
|
-
b: 10
|
|
1663
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
1664
|
-
r: 15,
|
|
1665
|
-
g: 15,
|
|
1666
|
-
b: 15
|
|
1667
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
1668
|
-
r: -5,
|
|
1669
|
-
g: -5,
|
|
1670
|
-
b: -5
|
|
1671
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
1672
|
-
r: -10,
|
|
1673
|
-
g: -10,
|
|
1674
|
-
b: -10
|
|
1675
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
1676
|
-
r: -15,
|
|
1677
|
-
g: -15,
|
|
1678
|
-
b: -15
|
|
1679
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
|
|
1680
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1681
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1682
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1683
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1684
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1685
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1686
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1687
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1688
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1689
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1690
|
-
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
1691
|
-
backgroundColor: this.wardley?.backgroundColor || this.background,
|
|
1692
|
-
axisColor: this.wardley?.axisColor || this.lineColor,
|
|
1693
|
-
axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
|
|
1694
|
-
gridColor: this.wardley?.gridColor || this.gridColor,
|
|
1695
|
-
componentFill: this.wardley?.componentFill || this.background,
|
|
1696
|
-
componentStroke: this.wardley?.componentStroke || this.lineColor,
|
|
1697
|
-
componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
|
|
1698
|
-
linkStroke: this.wardley?.linkStroke || this.lineColor,
|
|
1699
|
-
evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
|
|
1700
|
-
annotationStroke: this.wardley?.annotationStroke || this.lineColor,
|
|
1701
|
-
annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
|
|
1702
|
-
annotationFill: this.wardley?.annotationFill || this.background
|
|
1703
|
-
}, this.xyChart = {
|
|
1704
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1705
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1706
|
-
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
1707
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
1708
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1709
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1710
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1711
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1712
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1713
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1714
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1715
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1716
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
1717
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || b(S(this.git0), 25), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || S(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || S(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
1718
|
-
}
|
|
1719
|
-
calculate(e) {
|
|
1720
|
-
if (Object.keys(this).forEach((e) => {
|
|
1721
|
-
this[e] === "calculated" && (this[e] = void 0);
|
|
1722
|
-
}), typeof e != "object") {
|
|
1723
|
-
this.updateColors();
|
|
1724
|
-
return;
|
|
1725
|
-
}
|
|
1726
|
-
let t = Object.keys(e);
|
|
1727
|
-
t.forEach((t) => {
|
|
1728
|
-
this[t] = e[t];
|
|
1729
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1730
|
-
this[t] = e[t];
|
|
1731
|
-
});
|
|
1732
|
-
}
|
|
1733
|
-
}, W = /* @__PURE__ */ n((e) => {
|
|
1734
|
-
let t = new Ot();
|
|
1735
|
-
return t.calculate(e), t;
|
|
1736
|
-
}, "getThemeVariables"), kt = class {
|
|
1737
|
-
static {
|
|
1738
|
-
n(this, "Theme");
|
|
1739
|
-
}
|
|
1740
|
-
constructor() {
|
|
1741
|
-
this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.tertiaryColor = y("#cde498", 10), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.primaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))";
|
|
1742
|
-
}
|
|
1743
|
-
updateColors() {
|
|
1744
|
-
this.actorBorder = b(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || b(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || b(this.tertiaryColor, 40);
|
|
1745
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 25);
|
|
1746
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e], { h: 180 });
|
|
1747
|
-
this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
|
|
1748
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1749
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
|
|
1750
|
-
h: 30,
|
|
1751
|
-
s: -30,
|
|
1752
|
-
l: -(5 + e * 5)
|
|
1753
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
|
|
1754
|
-
h: 30,
|
|
1755
|
-
s: -30,
|
|
1756
|
-
l: -(8 + e * 5)
|
|
1757
|
-
});
|
|
1758
|
-
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || y(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || x(this.tertiaryColor, {
|
|
1759
|
-
h: 40,
|
|
1760
|
-
l: -40
|
|
1761
|
-
}), this.pie7 = this.pie7 || x(this.primaryColor, {
|
|
1762
|
-
h: 60,
|
|
1763
|
-
l: -10
|
|
1764
|
-
}), this.pie8 = this.pie8 || x(this.primaryColor, {
|
|
1765
|
-
h: -60,
|
|
1766
|
-
l: -10
|
|
1767
|
-
}), this.pie9 = this.pie9 || x(this.primaryColor, {
|
|
1768
|
-
h: 120,
|
|
1769
|
-
l: 0
|
|
1770
|
-
}), this.pie10 = this.pie10 || x(this.primaryColor, {
|
|
1771
|
-
h: 60,
|
|
1772
|
-
l: -50
|
|
1773
|
-
}), this.pie11 = this.pie11 || x(this.primaryColor, {
|
|
1774
|
-
h: -60,
|
|
1775
|
-
l: -50
|
|
1776
|
-
}), this.pie12 = this.pie12 || x(this.primaryColor, {
|
|
1777
|
-
h: 120,
|
|
1778
|
-
l: -50
|
|
1779
|
-
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? x(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? x(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? x(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? x(this.primaryColor, {
|
|
1780
|
-
h: 60,
|
|
1781
|
-
l: -30
|
|
1782
|
-
}), this.venn5 = this.venn5 ?? x(this.primaryColor, {
|
|
1783
|
-
h: -60,
|
|
1784
|
-
l: -30
|
|
1785
|
-
}), this.venn6 = this.venn6 ?? x(this.secondaryColor, {
|
|
1786
|
-
h: 60,
|
|
1787
|
-
l: -30
|
|
1788
|
-
}), this.venn7 = this.venn7 ?? x(this.primaryColor, {
|
|
1789
|
-
h: 120,
|
|
1790
|
-
l: -30
|
|
1791
|
-
}), this.venn8 = this.venn8 ?? x(this.secondaryColor, {
|
|
1792
|
-
h: 120,
|
|
1793
|
-
l: -30
|
|
1794
|
-
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1795
|
-
domainFontSize: this.cynefin?.domainFontSize || 16,
|
|
1796
|
-
itemFontSize: this.cynefin?.itemFontSize || 12,
|
|
1797
|
-
boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
|
|
1798
|
-
boundaryWidth: this.cynefin?.boundaryWidth || 2,
|
|
1799
|
-
cliffColor: this.cynefin?.cliffColor || "#8B4513",
|
|
1800
|
-
cliffWidth: this.cynefin?.cliffWidth || 4,
|
|
1801
|
-
arrowColor: this.cynefin?.arrowColor || this.lineColor,
|
|
1802
|
-
arrowWidth: this.cynefin?.arrowWidth || 2,
|
|
1803
|
-
complexBg: this.cynefin?.complexBg || "#C8E6C9",
|
|
1804
|
-
complicatedBg: this.cynefin?.complicatedBg || "#DCEDC8",
|
|
1805
|
-
chaoticBg: this.cynefin?.chaoticBg || "#FFE0B2",
|
|
1806
|
-
clearBg: this.cynefin?.clearBg || "#FFF9C4",
|
|
1807
|
-
confusionBg: this.cynefin?.confusionBg || "#D7CCC8",
|
|
1808
|
-
textColor: this.cynefin?.textColor || this.textColor,
|
|
1809
|
-
labelColor: this.cynefin?.labelColor || this.primaryTextColor
|
|
1810
|
-
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
1811
|
-
r: 5,
|
|
1812
|
-
g: 5,
|
|
1813
|
-
b: 5
|
|
1814
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
1815
|
-
r: 10,
|
|
1816
|
-
g: 10,
|
|
1817
|
-
b: 10
|
|
1818
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
1819
|
-
r: 15,
|
|
1820
|
-
g: 15,
|
|
1821
|
-
b: 15
|
|
1822
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
1823
|
-
r: -5,
|
|
1824
|
-
g: -5,
|
|
1825
|
-
b: -5
|
|
1826
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
1827
|
-
r: -10,
|
|
1828
|
-
g: -10,
|
|
1829
|
-
b: -10
|
|
1830
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
1831
|
-
r: -15,
|
|
1832
|
-
g: -15,
|
|
1833
|
-
b: -15
|
|
1834
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
|
|
1835
|
-
startByteColor: this.primaryTextColor,
|
|
1836
|
-
endByteColor: this.primaryTextColor,
|
|
1837
|
-
labelColor: this.primaryTextColor,
|
|
1838
|
-
titleColor: this.primaryTextColor,
|
|
1839
|
-
blockStrokeColor: this.primaryTextColor,
|
|
1840
|
-
blockFillColor: this.mainBkg
|
|
1841
|
-
}, this.radar = {
|
|
1842
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1843
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1844
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1845
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1846
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1847
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1848
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1849
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1850
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1851
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1852
|
-
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
1853
|
-
backgroundColor: this.wardley?.backgroundColor || this.background,
|
|
1854
|
-
axisColor: this.wardley?.axisColor || this.lineColor,
|
|
1855
|
-
axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
|
|
1856
|
-
gridColor: this.wardley?.gridColor || this.gridColor,
|
|
1857
|
-
componentFill: this.wardley?.componentFill || this.background,
|
|
1858
|
-
componentStroke: this.wardley?.componentStroke || this.lineColor,
|
|
1859
|
-
componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
|
|
1860
|
-
linkStroke: this.wardley?.linkStroke || this.lineColor,
|
|
1861
|
-
evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
|
|
1862
|
-
annotationStroke: this.wardley?.annotationStroke || this.lineColor,
|
|
1863
|
-
annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
|
|
1864
|
-
annotationFill: this.wardley?.annotationFill || this.background
|
|
1865
|
-
}, this.xyChart = {
|
|
1866
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1867
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1868
|
-
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
1869
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
1870
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1871
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1872
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1873
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1874
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1875
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1876
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1877
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1878
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
1879
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || S(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || S(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
1880
|
-
}
|
|
1881
|
-
calculate(e) {
|
|
1882
|
-
if (typeof e != "object") {
|
|
1883
|
-
this.updateColors();
|
|
1884
|
-
return;
|
|
1885
|
-
}
|
|
1886
|
-
let t = Object.keys(e);
|
|
1887
|
-
t.forEach((t) => {
|
|
1888
|
-
this[t] = e[t];
|
|
1889
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1890
|
-
this[t] = e[t];
|
|
1891
|
-
});
|
|
1892
|
-
}
|
|
1893
|
-
}, At = /* @__PURE__ */ n((e) => {
|
|
1894
|
-
let t = new kt();
|
|
1895
|
-
return t.calculate(e), t;
|
|
1896
|
-
}, "getThemeVariables"), jt = class {
|
|
1897
|
-
static {
|
|
1898
|
-
n(this, "Theme");
|
|
1899
|
-
}
|
|
1900
|
-
constructor() {
|
|
1901
|
-
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = y(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.rowOdd = this.rowOdd || y(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
1902
|
-
}
|
|
1903
|
-
updateColors() {
|
|
1904
|
-
this.secondBkg = y(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = y(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
|
|
1905
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
1906
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
1907
|
-
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
|
|
1908
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1909
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, { l: -(8 + e * 5) });
|
|
1910
|
-
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.sectionBkgColor = y(this.contrast, 30), this.sectionBkgColor2 = y(this.contrast, 30), this.taskBorderColor = b(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = y(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = b(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 });
|
|
1911
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
1912
|
-
this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
1913
|
-
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
|
|
1914
|
-
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1915
|
-
domainFontSize: this.cynefin?.domainFontSize || 16,
|
|
1916
|
-
itemFontSize: this.cynefin?.itemFontSize || 12,
|
|
1917
|
-
boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
|
|
1918
|
-
boundaryWidth: this.cynefin?.boundaryWidth || 2,
|
|
1919
|
-
cliffColor: this.cynefin?.cliffColor || "#8B0000",
|
|
1920
|
-
cliffWidth: this.cynefin?.cliffWidth || 4,
|
|
1921
|
-
arrowColor: this.cynefin?.arrowColor || this.lineColor,
|
|
1922
|
-
arrowWidth: this.cynefin?.arrowWidth || 2,
|
|
1923
|
-
complexBg: this.cynefin?.complexBg || "#E8F5E9",
|
|
1924
|
-
complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
|
|
1925
|
-
chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
|
|
1926
|
-
clearBg: this.cynefin?.clearBg || "#FFF8E1",
|
|
1927
|
-
confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
|
|
1928
|
-
textColor: this.cynefin?.textColor || this.textColor,
|
|
1929
|
-
labelColor: this.cynefin?.labelColor || this.primaryTextColor
|
|
1930
|
-
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
1931
|
-
r: 5,
|
|
1932
|
-
g: 5,
|
|
1933
|
-
b: 5
|
|
1934
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
1935
|
-
r: 10,
|
|
1936
|
-
g: 10,
|
|
1937
|
-
b: 10
|
|
1938
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
1939
|
-
r: 15,
|
|
1940
|
-
g: 15,
|
|
1941
|
-
b: 15
|
|
1942
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
1943
|
-
r: -5,
|
|
1944
|
-
g: -5,
|
|
1945
|
-
b: -5
|
|
1946
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
1947
|
-
r: -10,
|
|
1948
|
-
g: -10,
|
|
1949
|
-
b: -10
|
|
1950
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
1951
|
-
r: -15,
|
|
1952
|
-
g: -15,
|
|
1953
|
-
b: -15
|
|
1954
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1955
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1956
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1957
|
-
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
1958
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
1959
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1960
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1961
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1962
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1963
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1964
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1965
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1966
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1967
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
1968
|
-
}, this.radar = {
|
|
1969
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1970
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1971
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1972
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1973
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1974
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1975
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1976
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1977
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1978
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1979
|
-
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
1980
|
-
backgroundColor: this.wardley?.backgroundColor || this.background,
|
|
1981
|
-
axisColor: this.wardley?.axisColor || this.lineColor,
|
|
1982
|
-
axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
|
|
1983
|
-
gridColor: this.wardley?.gridColor || this.gridColor,
|
|
1984
|
-
componentFill: this.wardley?.componentFill || this.background,
|
|
1985
|
-
componentStroke: this.wardley?.componentStroke || this.lineColor,
|
|
1986
|
-
componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
|
|
1987
|
-
linkStroke: this.wardley?.linkStroke || this.lineColor,
|
|
1988
|
-
evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
|
|
1989
|
-
annotationStroke: this.wardley?.annotationStroke || this.lineColor,
|
|
1990
|
-
annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
|
|
1991
|
-
annotationFill: this.wardley?.annotationFill || this.background
|
|
1992
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = b(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || x(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || x(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || x(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || x(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || x(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
1993
|
-
}
|
|
1994
|
-
calculate(e) {
|
|
1995
|
-
if (typeof e != "object") {
|
|
1996
|
-
this.updateColors();
|
|
1997
|
-
return;
|
|
1998
|
-
}
|
|
1999
|
-
let t = Object.keys(e);
|
|
2000
|
-
t.forEach((t) => {
|
|
2001
|
-
this[t] = e[t];
|
|
2002
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
2003
|
-
this[t] = e[t];
|
|
2004
|
-
});
|
|
2005
|
-
}
|
|
2006
|
-
}, Mt = /* @__PURE__ */ n((e) => {
|
|
2007
|
-
let t = new jt();
|
|
2008
|
-
return t.calculate(e), t;
|
|
2009
|
-
}, "getThemeVariables"), Nt = class {
|
|
2010
|
-
static {
|
|
2011
|
-
n(this, "Theme");
|
|
2012
|
-
}
|
|
2013
|
-
constructor() {
|
|
2014
|
-
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 2, this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#000000", this.stateBorder = "#000000", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));", this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
2015
|
-
}
|
|
2016
|
-
updateColors() {
|
|
2017
|
-
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
|
|
2018
|
-
h: 180,
|
|
2019
|
-
l: 5
|
|
2020
|
-
}), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || (_(this.background) ? y(this.background, 4) : b(this.background, 4));
|
|
2021
|
-
let e = "#ECECFE", t = "#E9E9F1", n = x(e, {
|
|
2022
|
-
h: 180,
|
|
2023
|
-
l: 5
|
|
2024
|
-
});
|
|
2025
|
-
if (this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || y(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || e, this.cScale1 = this.cScale1 || t, this.cScale2 = this.cScale2 || n, this.cScale3 = this.cScale3 || x(e, { h: 30 }), this.cScale4 = this.cScale4 || x(e, { h: 60 }), this.cScale5 = this.cScale5 || x(e, { h: 90 }), this.cScale6 = this.cScale6 || x(e, { h: 120 }), this.cScale7 = this.cScale7 || x(e, { h: 150 }), this.cScale8 = this.cScale8 || x(e, {
|
|
2026
|
-
h: 210,
|
|
2027
|
-
l: 150
|
|
2028
|
-
}), this.cScale9 = this.cScale9 || x(e, { h: 270 }), this.cScale10 = this.cScale10 || x(e, { h: 300 }), this.cScale11 = this.cScale11 || x(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
|
|
2029
|
-
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
|
|
2030
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
2031
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
2032
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2033
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
2034
|
-
let r = this.darkMode ? -4 : -1;
|
|
2035
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
|
|
2036
|
-
h: 180,
|
|
2037
|
-
s: -15,
|
|
2038
|
-
l: r * (5 + e * 3)
|
|
2039
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
|
|
2040
|
-
h: 180,
|
|
2041
|
-
s: -15,
|
|
2042
|
-
l: r * (8 + e * 3)
|
|
2043
|
-
});
|
|
2044
|
-
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || x(e, { h: 64 }), this.fillType3 = this.fillType3 || x(t, { h: 64 }), this.fillType4 = this.fillType4 || x(e, { h: -64 }), this.fillType5 = this.fillType5 || x(t, { h: -64 }), this.fillType6 = this.fillType6 || x(e, { h: 128 }), this.fillType7 = this.fillType7 || x(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || x(e, { l: -10 }), this.pie5 = this.pie5 || x(t, { l: -10 }), this.pie6 = this.pie6 || x(n, { l: -10 }), this.pie7 = this.pie7 || x(e, {
|
|
2045
|
-
h: 60,
|
|
2046
|
-
l: -10
|
|
2047
|
-
}), this.pie8 = this.pie8 || x(e, {
|
|
2048
|
-
h: -60,
|
|
2049
|
-
l: -10
|
|
2050
|
-
}), this.pie9 = this.pie9 || x(e, {
|
|
2051
|
-
h: 120,
|
|
2052
|
-
l: 0
|
|
2053
|
-
}), this.pie10 = this.pie10 || x(e, {
|
|
2054
|
-
h: 60,
|
|
2055
|
-
l: -20
|
|
2056
|
-
}), this.pie11 = this.pie11 || x(e, {
|
|
2057
|
-
h: -60,
|
|
2058
|
-
l: -20
|
|
2059
|
-
}), this.pie12 = this.pie12 || x(e, {
|
|
2060
|
-
h: 120,
|
|
2061
|
-
l: -10
|
|
2062
|
-
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || x(e, {
|
|
2063
|
-
r: 5,
|
|
2064
|
-
g: 5,
|
|
2065
|
-
b: 5
|
|
2066
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(e, {
|
|
2067
|
-
r: 10,
|
|
2068
|
-
g: 10,
|
|
2069
|
-
b: 10
|
|
2070
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(e, {
|
|
2071
|
-
r: 15,
|
|
2072
|
-
g: 15,
|
|
2073
|
-
b: 15
|
|
2074
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
2075
|
-
r: -5,
|
|
2076
|
-
g: -5,
|
|
2077
|
-
b: -5
|
|
2078
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
2079
|
-
r: -10,
|
|
2080
|
-
g: -10,
|
|
2081
|
-
b: -10
|
|
2082
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
2083
|
-
r: -15,
|
|
2084
|
-
g: -15,
|
|
2085
|
-
b: -15
|
|
2086
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2087
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
2088
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
2089
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
2090
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
2091
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
2092
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
2093
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
2094
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
2095
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
2096
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
2097
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
2098
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2099
|
-
}, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || x(e, { h: -30 }), this.git4 = this.git4 || x(e, { h: -60 }), this.git5 = this.git5 || x(e, { h: -90 }), this.git6 = this.git6 || x(e, { h: 60 }), this.git7 = this.git7 || x(e, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
2100
|
-
}
|
|
2101
|
-
calculate(e) {
|
|
2102
|
-
if (typeof e != "object") {
|
|
2103
|
-
this.updateColors();
|
|
2104
|
-
return;
|
|
2105
|
-
}
|
|
2106
|
-
let t = Object.keys(e);
|
|
2107
|
-
t.forEach((t) => {
|
|
2108
|
-
this[t] = e[t];
|
|
2109
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
2110
|
-
this[t] = e[t];
|
|
2111
|
-
});
|
|
2112
|
-
}
|
|
2113
|
-
}, Pt = /* @__PURE__ */ n((e) => {
|
|
2114
|
-
let t = new Nt();
|
|
2115
|
-
return t.calculate(e), t;
|
|
2116
|
-
}, "getThemeVariables"), Ft = class {
|
|
2117
|
-
static {
|
|
2118
|
-
n(this, "Theme");
|
|
2119
|
-
}
|
|
2120
|
-
constructor() {
|
|
2121
|
-
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.border1 = "#ccc", this.border2 = h(255, 255, 255, .25), this.arrowheadColor = S(this.background), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 1, this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
2122
|
-
}
|
|
2123
|
-
updateColors() {
|
|
2124
|
-
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
|
|
2125
|
-
h: 180,
|
|
2126
|
-
l: 5
|
|
2127
|
-
}), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.secondBkg = this.secondBkg === "calculated" ? y(this.mainBkg, 16) : this.secondBkg, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || this.secondBkg, this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, {
|
|
2128
|
-
h: 210,
|
|
2129
|
-
l: 150
|
|
2130
|
-
}), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
|
|
2131
|
-
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
|
|
2132
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
2133
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
2134
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2135
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
2136
|
-
let e = this.darkMode ? -4 : -1;
|
|
2137
|
-
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
|
|
2138
|
-
h: 180,
|
|
2139
|
-
s: -15,
|
|
2140
|
-
l: e * (5 + t * 3)
|
|
2141
|
-
}), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
|
|
2142
|
-
h: 180,
|
|
2143
|
-
s: -15,
|
|
2144
|
-
l: e * (8 + t * 3)
|
|
2145
|
-
});
|
|
2146
|
-
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || x(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || x(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || x(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || x(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || x(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || x(this.primaryColor, {
|
|
2147
|
-
h: 60,
|
|
2148
|
-
l: -10
|
|
2149
|
-
}), this.pie8 = this.pie8 || x(this.primaryColor, {
|
|
2150
|
-
h: -60,
|
|
2151
|
-
l: -10
|
|
2152
|
-
}), this.pie9 = this.pie9 || x(this.primaryColor, {
|
|
2153
|
-
h: 120,
|
|
2154
|
-
l: 0
|
|
2155
|
-
}), this.pie10 = this.pie10 || x(this.primaryColor, {
|
|
2156
|
-
h: 60,
|
|
2157
|
-
l: -20
|
|
2158
|
-
}), this.pie11 = this.pie11 || x(this.primaryColor, {
|
|
2159
|
-
h: -60,
|
|
2160
|
-
l: -20
|
|
2161
|
-
}), this.pie12 = this.pie12 || x(this.primaryColor, {
|
|
2162
|
-
h: 120,
|
|
2163
|
-
l: -10
|
|
2164
|
-
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
2165
|
-
r: 5,
|
|
2166
|
-
g: 5,
|
|
2167
|
-
b: 5
|
|
2168
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
2169
|
-
r: 10,
|
|
2170
|
-
g: 10,
|
|
2171
|
-
b: 10
|
|
2172
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
2173
|
-
r: 15,
|
|
2174
|
-
g: 15,
|
|
2175
|
-
b: 15
|
|
2176
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
2177
|
-
r: -5,
|
|
2178
|
-
g: -5,
|
|
2179
|
-
b: -5
|
|
2180
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
2181
|
-
r: -10,
|
|
2182
|
-
g: -10,
|
|
2183
|
-
b: -10
|
|
2184
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
2185
|
-
r: -15,
|
|
2186
|
-
g: -15,
|
|
2187
|
-
b: -15
|
|
2188
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2189
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
2190
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
2191
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
2192
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
2193
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
2194
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
2195
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
2196
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
2197
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
2198
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
2199
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
2200
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2201
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || "#0b0000", this.git1 = this.git1 || "#4d1037", this.git2 = this.git2 || "#3f5258", this.git3 = this.git3 || "#4f2f1b", this.git4 = this.git4 || "#6e0a0a", this.git5 = this.git5 || "#3b0048", this.git6 = this.git6 || "#995a01", this.git7 = this.git7 || "#154706", this.gitDarkMode = !0, this.gitDarkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
2202
|
-
}
|
|
2203
|
-
calculate(e) {
|
|
2204
|
-
if (typeof e != "object") {
|
|
2205
|
-
this.updateColors();
|
|
2206
|
-
return;
|
|
2207
|
-
}
|
|
2208
|
-
let t = Object.keys(e);
|
|
2209
|
-
t.forEach((t) => {
|
|
2210
|
-
this[t] = e[t];
|
|
2211
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
2212
|
-
this[t] = e[t];
|
|
2213
|
-
});
|
|
2214
|
-
}
|
|
2215
|
-
}, It = /* @__PURE__ */ n((e) => {
|
|
2216
|
-
let t = new Ft();
|
|
2217
|
-
return t.calculate(e), t;
|
|
2218
|
-
}, "getThemeVariables"), Lt = class {
|
|
2219
|
-
static {
|
|
2220
|
-
n(this, "Theme");
|
|
2221
|
-
}
|
|
2222
|
-
constructor() {
|
|
2223
|
-
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = H("#28253D", this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.filterColor = "#000000";
|
|
2224
|
-
}
|
|
2225
|
-
updateColors() {
|
|
2226
|
-
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
|
|
2227
|
-
h: 180,
|
|
2228
|
-
l: 5
|
|
2229
|
-
}), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.noteFontWeight = 600, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || (_(this.background) ? y(this.background, 4) : b(this.background, 4));
|
|
2230
|
-
let e = "#ECECFE", t = "#E9E9F1", n = x(e, {
|
|
2231
|
-
h: 180,
|
|
2232
|
-
l: 5
|
|
2233
|
-
});
|
|
2234
|
-
this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || y(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.compositeTitleBackground = "#F9F9FB", this.altBackground = "#F9F9FB", this.stateEdgeLabelBackground = "#FFFFFF", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor;
|
|
2235
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = this.mainBkg;
|
|
2236
|
-
if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
|
|
2237
|
-
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
|
|
2238
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
2239
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
2240
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2241
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
2242
|
-
let r = this.darkMode ? -4 : -1;
|
|
2243
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
|
|
2244
|
-
h: 180,
|
|
2245
|
-
s: -15,
|
|
2246
|
-
l: r * (5 + e * 3)
|
|
2247
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
|
|
2248
|
-
h: 180,
|
|
2249
|
-
s: -15,
|
|
2250
|
-
l: r * (8 + e * 3)
|
|
2251
|
-
});
|
|
2252
|
-
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || x(e, { h: 64 }), this.fillType3 = this.fillType3 || x(t, { h: 64 }), this.fillType4 = this.fillType4 || x(e, { h: -64 }), this.fillType5 = this.fillType5 || x(t, { h: -64 }), this.fillType6 = this.fillType6 || x(e, { h: 128 }), this.fillType7 = this.fillType7 || x(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || x(e, { l: -10 }), this.pie5 = this.pie5 || x(t, { l: -10 }), this.pie6 = this.pie6 || x(n, { l: -10 }), this.pie7 = this.pie7 || x(e, {
|
|
2253
|
-
h: 60,
|
|
2254
|
-
l: -10
|
|
2255
|
-
}), this.pie8 = this.pie8 || x(e, {
|
|
2256
|
-
h: -60,
|
|
2257
|
-
l: -10
|
|
2258
|
-
}), this.pie9 = this.pie9 || x(e, {
|
|
2259
|
-
h: 120,
|
|
2260
|
-
l: 0
|
|
2261
|
-
}), this.pie10 = this.pie10 || x(e, {
|
|
2262
|
-
h: 60,
|
|
2263
|
-
l: -20
|
|
2264
|
-
}), this.pie11 = this.pie11 || x(e, {
|
|
2265
|
-
h: -60,
|
|
2266
|
-
l: -20
|
|
2267
|
-
}), this.pie12 = this.pie12 || x(e, {
|
|
2268
|
-
h: 120,
|
|
2269
|
-
l: -10
|
|
2270
|
-
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || x(e, {
|
|
2271
|
-
r: 5,
|
|
2272
|
-
g: 5,
|
|
2273
|
-
b: 5
|
|
2274
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(e, {
|
|
2275
|
-
r: 10,
|
|
2276
|
-
g: 10,
|
|
2277
|
-
b: 10
|
|
2278
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(e, {
|
|
2279
|
-
r: 15,
|
|
2280
|
-
g: 15,
|
|
2281
|
-
b: 15
|
|
2282
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
2283
|
-
r: -5,
|
|
2284
|
-
g: -5,
|
|
2285
|
-
b: -5
|
|
2286
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
2287
|
-
r: -10,
|
|
2288
|
-
g: -10,
|
|
2289
|
-
b: -10
|
|
2290
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
2291
|
-
r: -15,
|
|
2292
|
-
g: -15,
|
|
2293
|
-
b: -15
|
|
2294
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2295
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
2296
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
2297
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
2298
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
2299
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
2300
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
2301
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
2302
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
2303
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
2304
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
2305
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
2306
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2307
|
-
}, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || x(e, { h: -30 }), this.git4 = this.git4 || x(e, { h: -60 }), this.git5 = this.git5 || x(e, { h: -90 }), this.git6 = this.git6 || x(e, { h: 60 }), this.git7 = this.git7 || x(e, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
2308
|
-
}
|
|
2309
|
-
calculate(e) {
|
|
2310
|
-
if (typeof e != "object") {
|
|
2311
|
-
this.updateColors();
|
|
2312
|
-
return;
|
|
2313
|
-
}
|
|
2314
|
-
let t = Object.keys(e);
|
|
2315
|
-
t.forEach((t) => {
|
|
2316
|
-
this[t] = e[t];
|
|
2317
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
2318
|
-
this[t] = e[t];
|
|
2319
|
-
});
|
|
2320
|
-
}
|
|
2321
|
-
}, Rt = /* @__PURE__ */ n((e) => {
|
|
2322
|
-
let t = new Lt();
|
|
2323
|
-
return t.calculate(e), t;
|
|
2324
|
-
}, "getThemeVariables"), zt = class {
|
|
2325
|
-
static {
|
|
2326
|
-
n(this, "Theme");
|
|
2327
|
-
}
|
|
2328
|
-
constructor() {
|
|
2329
|
-
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.border1 = "#ccc", this.border2 = h(255, 255, 255, .25), this.arrowheadColor = S(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.filterColor = "#FFFFFF";
|
|
2330
|
-
}
|
|
2331
|
-
updateColors() {
|
|
2332
|
-
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
|
|
2333
|
-
h: 180,
|
|
2334
|
-
l: 5
|
|
2335
|
-
}), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.secondBkg = this.secondBkg === "calculated" ? y(this.mainBkg, 16) : this.secondBkg, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || this.secondBkg, this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.compositeBackground = "#16141F", this.altBackground = "#16141F", this.compositeTitleBackground = "#16141F", this.stateEdgeLabelBackground = "#16141F", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, {
|
|
2336
|
-
h: 210,
|
|
2337
|
-
l: 150
|
|
2338
|
-
}), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
|
|
2339
|
-
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
|
|
2340
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
2341
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
2342
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2343
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
2344
|
-
let e = this.darkMode ? -4 : -1;
|
|
2345
|
-
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
|
|
2346
|
-
h: 180,
|
|
2347
|
-
s: -15,
|
|
2348
|
-
l: e * (5 + t * 3)
|
|
2349
|
-
}), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
|
|
2350
|
-
h: 180,
|
|
2351
|
-
s: -15,
|
|
2352
|
-
l: e * (8 + t * 3)
|
|
2353
|
-
});
|
|
2354
|
-
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || x(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || x(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || x(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || x(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || x(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || x(this.primaryColor, {
|
|
2355
|
-
h: 60,
|
|
2356
|
-
l: -10
|
|
2357
|
-
}), this.pie8 = this.pie8 || x(this.primaryColor, {
|
|
2358
|
-
h: -60,
|
|
2359
|
-
l: -10
|
|
2360
|
-
}), this.pie9 = this.pie9 || x(this.primaryColor, {
|
|
2361
|
-
h: 120,
|
|
2362
|
-
l: 0
|
|
2363
|
-
}), this.pie10 = this.pie10 || x(this.primaryColor, {
|
|
2364
|
-
h: 60,
|
|
2365
|
-
l: -20
|
|
2366
|
-
}), this.pie11 = this.pie11 || x(this.primaryColor, {
|
|
2367
|
-
h: -60,
|
|
2368
|
-
l: -20
|
|
2369
|
-
}), this.pie12 = this.pie12 || x(this.primaryColor, {
|
|
2370
|
-
h: 120,
|
|
2371
|
-
l: -10
|
|
2372
|
-
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
2373
|
-
r: 5,
|
|
2374
|
-
g: 5,
|
|
2375
|
-
b: 5
|
|
2376
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
2377
|
-
r: 10,
|
|
2378
|
-
g: 10,
|
|
2379
|
-
b: 10
|
|
2380
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
2381
|
-
r: 15,
|
|
2382
|
-
g: 15,
|
|
2383
|
-
b: 15
|
|
2384
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
2385
|
-
r: -5,
|
|
2386
|
-
g: -5,
|
|
2387
|
-
b: -5
|
|
2388
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
2389
|
-
r: -10,
|
|
2390
|
-
g: -10,
|
|
2391
|
-
b: -10
|
|
2392
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
2393
|
-
r: -15,
|
|
2394
|
-
g: -15,
|
|
2395
|
-
b: -15
|
|
2396
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2397
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
2398
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
2399
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
2400
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
2401
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
2402
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
2403
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
2404
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
2405
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
2406
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
2407
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
2408
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2409
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
2410
|
-
}
|
|
2411
|
-
calculate(e) {
|
|
2412
|
-
if (typeof e != "object") {
|
|
2413
|
-
this.updateColors();
|
|
2414
|
-
return;
|
|
2415
|
-
}
|
|
2416
|
-
let t = Object.keys(e);
|
|
2417
|
-
t.forEach((t) => {
|
|
2418
|
-
this[t] = e[t];
|
|
2419
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
2420
|
-
this[t] = e[t];
|
|
2421
|
-
});
|
|
2422
|
-
}
|
|
2423
|
-
}, Bt = /* @__PURE__ */ n((e) => {
|
|
2424
|
-
let t = new zt();
|
|
2425
|
-
return t.calculate(e), t;
|
|
2426
|
-
}, "getThemeVariables"), Vt = class {
|
|
2427
|
-
static {
|
|
2428
|
-
n(this, "Theme");
|
|
2429
|
-
}
|
|
2430
|
-
constructor() {
|
|
2431
|
-
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = H("#28253D", this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
2432
|
-
"#E879F9",
|
|
2433
|
-
"#2DD4BF",
|
|
2434
|
-
"#FB923C",
|
|
2435
|
-
"#22D3EE",
|
|
2436
|
-
"#4ADE80",
|
|
2437
|
-
"#A78BFA",
|
|
2438
|
-
"#F87171",
|
|
2439
|
-
"#FACC15",
|
|
2440
|
-
"#818CF8",
|
|
2441
|
-
"#A3E635 ",
|
|
2442
|
-
"#38BDF8",
|
|
2443
|
-
"#FB7185"
|
|
2444
|
-
], this.bkgColorArray = [
|
|
2445
|
-
"#FDF4FF",
|
|
2446
|
-
"#F0FDFA",
|
|
2447
|
-
"#FFF7ED",
|
|
2448
|
-
"#ECFEFF",
|
|
2449
|
-
"#F0FDF4",
|
|
2450
|
-
"#F5F3FF",
|
|
2451
|
-
"#FEF2F2",
|
|
2452
|
-
"#FEFCE8",
|
|
2453
|
-
"#EEF2FF",
|
|
2454
|
-
"#F7FEE7",
|
|
2455
|
-
"#F0F9FF",
|
|
2456
|
-
"#FFF1F2"
|
|
2457
|
-
], this.usecaseActorBorder = "#A78BFA", this.usecaseActorBkg = "#F5F3FF", this.usecaseBorder = "#2DD4BF", this.usecaseBkg = "#F0FDFA", this.usecaseBoundaryBorder = "#BDBCCC", this.usecaseBoundaryBkg = "#FAFAFC", this.usecaseIncludeLine = "#38BDF8", this.usecaseExtendLine = "#FB923C", this.filterColor = "#000000";
|
|
2458
|
-
}
|
|
2459
|
-
updateColors() {
|
|
2460
|
-
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
|
|
2461
|
-
h: 180,
|
|
2462
|
-
l: 5
|
|
2463
|
-
}), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || (_(this.background) ? y(this.background, 4) : b(this.background, 4));
|
|
2464
|
-
let e = "#ECECFE", t = x(e, {
|
|
2465
|
-
h: 180,
|
|
2466
|
-
l: 5
|
|
2467
|
-
});
|
|
2468
|
-
this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || y(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateEdgeLabelBackground = this.stateEdgeLabelBackground || "#FFFFFF", this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#F9F9FB", this.compositeTitleBackground = this.compositeTitleBackground || "#F9F9FB", this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad", this.sectionBkgColor = this.sectionBkgColor || this.cScale0, this.sectionBkgColor2 = this.sectionBkgColor2 || this.cScale1, this.altSectionBkgColor = this.altSectionBkgColor || "white";
|
|
2469
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
2470
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
2471
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2472
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
2473
|
-
let n = this.darkMode ? -4 : -1;
|
|
2474
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
|
|
2475
|
-
h: 180,
|
|
2476
|
-
s: -15,
|
|
2477
|
-
l: n * (5 + e * 3)
|
|
2478
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
|
|
2479
|
-
h: 180,
|
|
2480
|
-
s: -15,
|
|
2481
|
-
l: n * (8 + e * 3)
|
|
2482
|
-
});
|
|
2483
|
-
this.classText = this.classText || this.textColor;
|
|
2484
|
-
for (let e = 0; e < 8; e++) this["fillType" + e] = this["fillType" + e] || this.bkgColorArray[e];
|
|
2485
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + (e + 1)] = this["pie" + (e + 1)] || this["cScale" + e];
|
|
2486
|
-
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
2487
|
-
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this.borderColorArray[e % this.borderColorArray.length];
|
|
2488
|
-
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || x(e, {
|
|
2489
|
-
r: 5,
|
|
2490
|
-
g: 5,
|
|
2491
|
-
b: 5
|
|
2492
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(e, {
|
|
2493
|
-
r: 10,
|
|
2494
|
-
g: 10,
|
|
2495
|
-
b: 10
|
|
2496
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(e, {
|
|
2497
|
-
r: 15,
|
|
2498
|
-
g: 15,
|
|
2499
|
-
b: 15
|
|
2500
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
2501
|
-
r: -5,
|
|
2502
|
-
g: -5,
|
|
2503
|
-
b: -5
|
|
2504
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
2505
|
-
r: -10,
|
|
2506
|
-
g: -10,
|
|
2507
|
-
b: -10
|
|
2508
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
2509
|
-
r: -15,
|
|
2510
|
-
g: -15,
|
|
2511
|
-
b: -15
|
|
2512
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2513
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
2514
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
2515
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
2516
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
2517
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
2518
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
2519
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
2520
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
2521
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
2522
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
2523
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
2524
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2525
|
-
}, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || e, this.git1 = this.git1 || "#E9E9F1", this.git2 = this.git2 || t, this.git3 = this.git3 || x(e, { h: -30 }), this.git4 = this.git4 || x(e, { h: -60 }), this.git5 = this.git5 || x(e, { h: -90 }), this.git6 = this.git6 || x(e, { h: 60 }), this.git7 = this.git7 || x(e, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.fontWeight = 600, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
2526
|
-
}
|
|
2527
|
-
calculate(e) {
|
|
2528
|
-
if (typeof e != "object") {
|
|
2529
|
-
this.updateColors();
|
|
2530
|
-
return;
|
|
2531
|
-
}
|
|
2532
|
-
let t = Object.keys(e);
|
|
2533
|
-
t.forEach((t) => {
|
|
2534
|
-
this[t] = e[t];
|
|
2535
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
2536
|
-
this[t] = e[t];
|
|
2537
|
-
});
|
|
2538
|
-
}
|
|
2539
|
-
}, Ht = /* @__PURE__ */ n((e) => {
|
|
2540
|
-
let t = new Vt();
|
|
2541
|
-
return t.calculate(e), t;
|
|
2542
|
-
}, "getThemeVariables"), Ut = class {
|
|
2543
|
-
static {
|
|
2544
|
-
n(this, "Theme");
|
|
2545
|
-
}
|
|
2546
|
-
constructor() {
|
|
2547
|
-
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.border1 = "#ccc", this.border2 = h(255, 255, 255, .25), this.arrowheadColor = S(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
2548
|
-
"#E879F9",
|
|
2549
|
-
"#2DD4BF",
|
|
2550
|
-
"#FB923C",
|
|
2551
|
-
"#22D3EE",
|
|
2552
|
-
"#4ADE80",
|
|
2553
|
-
"#A78BFA",
|
|
2554
|
-
"#F87171",
|
|
2555
|
-
"#FACC15",
|
|
2556
|
-
"#818CF8",
|
|
2557
|
-
"#A3E635 ",
|
|
2558
|
-
"#38BDF8",
|
|
2559
|
-
"#FB7185"
|
|
2560
|
-
], this.bkgColorArray = [], this.usecaseActorBorder = "#A78BFA", this.usecaseBorder = "#2DD4BF", this.usecaseBoundaryBorder = "#BDBCCC", this.usecaseIncludeLine = "#38BDF8", this.usecaseExtendLine = "#FB923C", this.filterColor = "#FFFFFF";
|
|
2561
|
-
}
|
|
2562
|
-
updateColors() {
|
|
2563
|
-
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
|
|
2564
|
-
h: 180,
|
|
2565
|
-
l: 5
|
|
2566
|
-
}), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.secondBkg = this.secondBkg === "calculated" ? y(this.mainBkg, 16) : this.secondBkg, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.flowContainerStroke = this.flowContainerStroke || this.secondaryBorderColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.rootLabelColor = "#FFFFFF", this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || this.secondBkg, this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateEdgeLabelBackground = this.stateEdgeLabelBackground || "#16141F", this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || "#16141F", this.altBackground = this.altBackground || "#16141F", this.compositeTitleBackground = this.compositeTitleBackground || "#16141F", this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad", this.sectionBkgColor = this.sectionBkgColor || this.cScale0, this.sectionBkgColor2 = this.sectionBkgColor2 || this.cScale1, this.altSectionBkgColor = this.altSectionBkgColor || this.background;
|
|
2567
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
|
|
2568
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
2569
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2570
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = b(this["cScale" + e], 75);
|
|
2571
|
-
let e = this.darkMode ? -4 : -1;
|
|
2572
|
-
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
|
|
2573
|
-
h: 180,
|
|
2574
|
-
s: -15,
|
|
2575
|
-
l: e * (5 + t * 3)
|
|
2576
|
-
}), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
|
|
2577
|
-
h: 180,
|
|
2578
|
-
s: -15,
|
|
2579
|
-
l: e * (8 + t * 3)
|
|
2580
|
-
});
|
|
2581
|
-
this.classText = this.classText || this.textColor, [
|
|
2582
|
-
"#701a75",
|
|
2583
|
-
"#134e4a",
|
|
2584
|
-
"#7c2d12",
|
|
2585
|
-
"#581c87",
|
|
2586
|
-
"#14532d",
|
|
2587
|
-
"#4c1d95",
|
|
2588
|
-
"#7f1d1d",
|
|
2589
|
-
"#713f12"
|
|
2590
|
-
].forEach((e, t) => {
|
|
2591
|
-
this["fillType" + t] = this["fillType" + t] || e;
|
|
2592
|
-
});
|
|
2593
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + (e + 1)] = this["pie" + (e + 1)] || this["cScale" + e];
|
|
2594
|
-
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || "#28253D", this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
2595
|
-
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this.borderColorArray[e % this.borderColorArray.length];
|
|
2596
|
-
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
|
|
2597
|
-
r: 5,
|
|
2598
|
-
g: 5,
|
|
2599
|
-
b: 5
|
|
2600
|
-
}), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
|
|
2601
|
-
r: 10,
|
|
2602
|
-
g: 10,
|
|
2603
|
-
b: 10
|
|
2604
|
-
}), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
|
|
2605
|
-
r: 15,
|
|
2606
|
-
g: 15,
|
|
2607
|
-
b: 15
|
|
2608
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
|
|
2609
|
-
r: -5,
|
|
2610
|
-
g: -5,
|
|
2611
|
-
b: -5
|
|
2612
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
|
|
2613
|
-
r: -10,
|
|
2614
|
-
g: -10,
|
|
2615
|
-
b: -10
|
|
2616
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
|
|
2617
|
-
r: -15,
|
|
2618
|
-
g: -15,
|
|
2619
|
-
b: -15
|
|
2620
|
-
}), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2621
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
2622
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
2623
|
-
legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
|
|
2624
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
2625
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
2626
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
2627
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
2628
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
2629
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
2630
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
2631
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
2632
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2633
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.fontWeight = 600, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
|
|
2634
|
-
}
|
|
2635
|
-
calculate(e) {
|
|
2636
|
-
if (typeof e != "object") {
|
|
2637
|
-
this.updateColors();
|
|
2638
|
-
return;
|
|
2639
|
-
}
|
|
2640
|
-
let t = Object.keys(e);
|
|
2641
|
-
t.forEach((t) => {
|
|
2642
|
-
this[t] = e[t];
|
|
2643
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
2644
|
-
this[t] = e[t];
|
|
2645
|
-
});
|
|
2646
|
-
}
|
|
2647
|
-
}, G = {
|
|
2648
|
-
base: { getThemeVariables: Tt },
|
|
2649
|
-
dark: { getThemeVariables: Dt },
|
|
2650
|
-
default: { getThemeVariables: W },
|
|
2651
|
-
forest: { getThemeVariables: At },
|
|
2652
|
-
neutral: { getThemeVariables: Mt },
|
|
2653
|
-
neo: { getThemeVariables: Pt },
|
|
2654
|
-
"neo-dark": { getThemeVariables: It },
|
|
2655
|
-
redux: { getThemeVariables: Rt },
|
|
2656
|
-
"redux-dark": { getThemeVariables: Bt },
|
|
2657
|
-
"redux-color": { getThemeVariables: Ht },
|
|
2658
|
-
"redux-dark-color": { getThemeVariables: /* @__PURE__ */ n((e) => {
|
|
2659
|
-
let t = new Ut();
|
|
2660
|
-
return t.calculate(e), t;
|
|
2661
|
-
}, "getThemeVariables") }
|
|
2662
|
-
}, K = {
|
|
2663
|
-
flowchart: {
|
|
2664
|
-
useMaxWidth: !0,
|
|
2665
|
-
theme: "redux-color",
|
|
2666
|
-
look: "neo",
|
|
2667
|
-
titleTopMargin: 25,
|
|
2668
|
-
subGraphTitleMargin: {
|
|
2669
|
-
top: 0,
|
|
2670
|
-
bottom: 0
|
|
2671
|
-
},
|
|
2672
|
-
diagramPadding: 8,
|
|
2673
|
-
htmlLabels: null,
|
|
2674
|
-
nodeSpacing: 50,
|
|
2675
|
-
rankSpacing: 50,
|
|
2676
|
-
curve: "basis",
|
|
2677
|
-
padding: 15,
|
|
2678
|
-
wrappingWidth: 120,
|
|
2679
|
-
minNodeWidth: 120,
|
|
2680
|
-
inheritDir: !1
|
|
2681
|
-
},
|
|
2682
|
-
swimlane: {
|
|
2683
|
-
useMaxWidth: !0,
|
|
2684
|
-
theme: "redux-color",
|
|
2685
|
-
look: "neo",
|
|
2686
|
-
layout: "swimlane",
|
|
2687
|
-
lineHops: "arc",
|
|
2688
|
-
ignoreCrossLaneEdges: !0,
|
|
2689
|
-
optimizeRanksByCrossings: !0,
|
|
2690
|
-
automaticLaneOrdering: !1
|
|
2691
|
-
},
|
|
2692
|
-
agentflow: {
|
|
2693
|
-
useMaxWidth: !0,
|
|
2694
|
-
theme: "redux-color",
|
|
2695
|
-
look: "neo",
|
|
2696
|
-
titleTopMargin: 25,
|
|
2697
|
-
diagramPadding: 8,
|
|
2698
|
-
nodeSpacing: 50,
|
|
2699
|
-
rankSpacing: 50,
|
|
2700
|
-
wrappingWidth: 120,
|
|
2701
|
-
minNodeWidth: 120
|
|
2702
|
-
},
|
|
2703
|
-
sequence: {
|
|
2704
|
-
useMaxWidth: !0,
|
|
2705
|
-
theme: "redux-color",
|
|
2706
|
-
look: "neo",
|
|
2707
|
-
hideUnusedParticipants: !1,
|
|
2708
|
-
activationWidth: 10,
|
|
2709
|
-
diagramMarginX: 50,
|
|
2710
|
-
diagramMarginY: 10,
|
|
2711
|
-
actorMargin: 50,
|
|
2712
|
-
width: 150,
|
|
2713
|
-
height: 65,
|
|
2714
|
-
boxMargin: 10,
|
|
2715
|
-
boxTextMargin: 5,
|
|
2716
|
-
noteMargin: 10,
|
|
2717
|
-
messageMargin: 35,
|
|
2718
|
-
messageAlign: "center",
|
|
2719
|
-
mirrorActors: !0,
|
|
2720
|
-
forceMenus: !1,
|
|
2721
|
-
bottomMarginAdj: 1,
|
|
2722
|
-
rightAngles: !1,
|
|
2723
|
-
showSequenceNumbers: !1,
|
|
2724
|
-
actorFontSize: 14,
|
|
2725
|
-
actorFontFamily: "\"Open Sans\", sans-serif",
|
|
2726
|
-
actorFontWeight: 400,
|
|
2727
|
-
noteFontSize: 14,
|
|
2728
|
-
noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
2729
|
-
noteFontWeight: 400,
|
|
2730
|
-
noteAlign: "center",
|
|
2731
|
-
messageFontSize: 16,
|
|
2732
|
-
messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
2733
|
-
messageFontWeight: 400,
|
|
2734
|
-
wrap: !1,
|
|
2735
|
-
wrapPadding: 10,
|
|
2736
|
-
labelBoxWidth: 50,
|
|
2737
|
-
labelBoxHeight: 20
|
|
2738
|
-
},
|
|
2739
|
-
gantt: {
|
|
2740
|
-
useMaxWidth: !0,
|
|
2741
|
-
titleTopMargin: 25,
|
|
2742
|
-
barHeight: 20,
|
|
2743
|
-
barGap: 4,
|
|
2744
|
-
topPadding: 50,
|
|
2745
|
-
rightPadding: 75,
|
|
2746
|
-
leftPadding: 75,
|
|
2747
|
-
gridLineStartPadding: 35,
|
|
2748
|
-
fontSize: 11,
|
|
2749
|
-
sectionFontSize: 11,
|
|
2750
|
-
numberSectionStyles: 4,
|
|
2751
|
-
axisFormat: "%Y-%m-%d",
|
|
2752
|
-
topAxis: !1,
|
|
2753
|
-
displayMode: "",
|
|
2754
|
-
weekday: "sunday"
|
|
2755
|
-
},
|
|
2756
|
-
journey: {
|
|
2757
|
-
useMaxWidth: !0,
|
|
2758
|
-
diagramMarginX: 50,
|
|
2759
|
-
diagramMarginY: 10,
|
|
2760
|
-
leftMargin: 150,
|
|
2761
|
-
maxLabelWidth: 360,
|
|
2762
|
-
width: 150,
|
|
2763
|
-
height: 50,
|
|
2764
|
-
boxMargin: 10,
|
|
2765
|
-
boxTextMargin: 5,
|
|
2766
|
-
noteMargin: 10,
|
|
2767
|
-
messageMargin: 35,
|
|
2768
|
-
messageAlign: "center",
|
|
2769
|
-
bottomMarginAdj: 1,
|
|
2770
|
-
rightAngles: !1,
|
|
2771
|
-
taskFontSize: 14,
|
|
2772
|
-
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
2773
|
-
taskMargin: 50,
|
|
2774
|
-
activationWidth: 10,
|
|
2775
|
-
textPlacement: "fo",
|
|
2776
|
-
actorColours: [
|
|
2777
|
-
"#8FBC8F",
|
|
2778
|
-
"#7CFC00",
|
|
2779
|
-
"#00FFFF",
|
|
2780
|
-
"#20B2AA",
|
|
2781
|
-
"#B0E0E6",
|
|
2782
|
-
"#FFFFE0"
|
|
2783
|
-
],
|
|
2784
|
-
sectionFills: [
|
|
2785
|
-
"#191970",
|
|
2786
|
-
"#8B008B",
|
|
2787
|
-
"#4B0082",
|
|
2788
|
-
"#2F4F4F",
|
|
2789
|
-
"#800000",
|
|
2790
|
-
"#8B4513",
|
|
2791
|
-
"#00008B"
|
|
2792
|
-
],
|
|
2793
|
-
sectionColours: ["#fff"],
|
|
2794
|
-
titleColor: "",
|
|
2795
|
-
titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
2796
|
-
titleFontSize: "4ex"
|
|
2797
|
-
},
|
|
2798
|
-
class: {
|
|
2799
|
-
useMaxWidth: !0,
|
|
2800
|
-
theme: "redux-color",
|
|
2801
|
-
look: "neo",
|
|
2802
|
-
titleTopMargin: 25,
|
|
2803
|
-
arrowMarkerAbsolute: !1,
|
|
2804
|
-
dividerMargin: 10,
|
|
2805
|
-
padding: 5,
|
|
2806
|
-
textHeight: 10,
|
|
2807
|
-
htmlLabels: !1,
|
|
2808
|
-
hideEmptyMembersBox: !1,
|
|
2809
|
-
hierarchicalNamespaces: !0
|
|
2810
|
-
},
|
|
2811
|
-
state: {
|
|
2812
|
-
useMaxWidth: !0,
|
|
2813
|
-
theme: "redux-color",
|
|
2814
|
-
look: "neo",
|
|
2815
|
-
layout: "elk",
|
|
2816
|
-
wrappingWidth: 120,
|
|
2817
|
-
minNodeWidth: 120,
|
|
2818
|
-
titleTopMargin: 25,
|
|
2819
|
-
dividerMargin: 10,
|
|
2820
|
-
sizeUnit: 5,
|
|
2821
|
-
padding: 8,
|
|
2822
|
-
textHeight: 10,
|
|
2823
|
-
titleShift: -15,
|
|
2824
|
-
noteMargin: 10,
|
|
2825
|
-
forkWidth: 70,
|
|
2826
|
-
forkHeight: 7,
|
|
2827
|
-
miniPadding: 2,
|
|
2828
|
-
fontSizeFactor: 5.02,
|
|
2829
|
-
fontSize: 24,
|
|
2830
|
-
labelHeight: 16,
|
|
2831
|
-
edgeLengthFactor: "20",
|
|
2832
|
-
compositTitleSize: 35,
|
|
2833
|
-
radius: 5
|
|
2834
|
-
},
|
|
2835
|
-
er: {
|
|
2836
|
-
useMaxWidth: !0,
|
|
2837
|
-
theme: "redux-color",
|
|
2838
|
-
look: "neo",
|
|
2839
|
-
titleTopMargin: 25,
|
|
2840
|
-
diagramPadding: 20,
|
|
2841
|
-
layoutDirection: "TB",
|
|
2842
|
-
minEntityWidth: 100,
|
|
2843
|
-
minEntityHeight: 75,
|
|
2844
|
-
entityPadding: 15,
|
|
2845
|
-
nodeSpacing: 140,
|
|
2846
|
-
rankSpacing: 80,
|
|
2847
|
-
stroke: "gray",
|
|
2848
|
-
fill: "honeydew",
|
|
2849
|
-
fontSize: 12
|
|
2850
|
-
},
|
|
2851
|
-
pie: {
|
|
2852
|
-
useMaxWidth: !0,
|
|
2853
|
-
textPosition: .75,
|
|
2854
|
-
donutHole: 0,
|
|
2855
|
-
legendPosition: "right",
|
|
2856
|
-
highlightSlice: ""
|
|
2857
|
-
},
|
|
2858
|
-
quadrantChart: {
|
|
2859
|
-
useMaxWidth: !0,
|
|
2860
|
-
chartWidth: 500,
|
|
2861
|
-
chartHeight: 500,
|
|
2862
|
-
titleFontSize: 20,
|
|
2863
|
-
titlePadding: 10,
|
|
2864
|
-
quadrantPadding: 5,
|
|
2865
|
-
xAxisLabelPadding: 5,
|
|
2866
|
-
yAxisLabelPadding: 5,
|
|
2867
|
-
xAxisLabelFontSize: 16,
|
|
2868
|
-
yAxisLabelFontSize: 16,
|
|
2869
|
-
quadrantLabelFontSize: 16,
|
|
2870
|
-
quadrantTextTopPadding: 5,
|
|
2871
|
-
pointTextPadding: 5,
|
|
2872
|
-
pointLabelFontSize: 12,
|
|
2873
|
-
pointRadius: 5,
|
|
2874
|
-
xAxisPosition: "top",
|
|
2875
|
-
yAxisPosition: "left",
|
|
2876
|
-
quadrantInternalBorderStrokeWidth: 1,
|
|
2877
|
-
quadrantExternalBorderStrokeWidth: 2
|
|
2878
|
-
},
|
|
2879
|
-
xyChart: {
|
|
2880
|
-
useMaxWidth: !0,
|
|
2881
|
-
width: 700,
|
|
2882
|
-
height: 500,
|
|
2883
|
-
titleFontSize: 20,
|
|
2884
|
-
titlePadding: 10,
|
|
2885
|
-
showDataLabel: !1,
|
|
2886
|
-
showDataLabelOutsideBar: !1,
|
|
2887
|
-
showTitle: !0,
|
|
2888
|
-
showLegend: !0,
|
|
2889
|
-
legendFontSize: 14,
|
|
2890
|
-
legendPadding: 10,
|
|
2891
|
-
xAxis: {
|
|
2892
|
-
$ref: "#/$defs/XYChartAxisConfig",
|
|
2893
|
-
showLabel: !0,
|
|
2894
|
-
labelFontSize: 14,
|
|
2895
|
-
labelPadding: 5,
|
|
2896
|
-
showTitle: !0,
|
|
2897
|
-
titleFontSize: 16,
|
|
2898
|
-
titlePadding: 5,
|
|
2899
|
-
showTick: !0,
|
|
2900
|
-
tickLength: 5,
|
|
2901
|
-
tickWidth: 2,
|
|
2902
|
-
showAxisLine: !0,
|
|
2903
|
-
axisLineWidth: 2,
|
|
2904
|
-
labelRotation: 0
|
|
2905
|
-
},
|
|
2906
|
-
yAxis: {
|
|
2907
|
-
$ref: "#/$defs/XYChartAxisConfig",
|
|
2908
|
-
showLabel: !0,
|
|
2909
|
-
labelFontSize: 14,
|
|
2910
|
-
labelPadding: 5,
|
|
2911
|
-
showTitle: !0,
|
|
2912
|
-
titleFontSize: 16,
|
|
2913
|
-
titlePadding: 5,
|
|
2914
|
-
showTick: !0,
|
|
2915
|
-
tickLength: 5,
|
|
2916
|
-
tickWidth: 2,
|
|
2917
|
-
showAxisLine: !0,
|
|
2918
|
-
axisLineWidth: 2,
|
|
2919
|
-
labelRotation: 0
|
|
2920
|
-
},
|
|
2921
|
-
chartOrientation: "vertical",
|
|
2922
|
-
plotReservedSpacePercent: 50
|
|
2923
|
-
},
|
|
2924
|
-
requirement: {
|
|
2925
|
-
useMaxWidth: !0,
|
|
2926
|
-
theme: "redux-color",
|
|
2927
|
-
look: "neo",
|
|
2928
|
-
rect_fill: "#f9f9f9",
|
|
2929
|
-
text_color: "#333",
|
|
2930
|
-
rect_border_size: "0.5px",
|
|
2931
|
-
rect_border_color: "#bbb",
|
|
2932
|
-
rect_min_width: 200,
|
|
2933
|
-
rect_min_height: 200,
|
|
2934
|
-
fontSize: 14,
|
|
2935
|
-
rect_padding: 10,
|
|
2936
|
-
line_height: 20
|
|
2937
|
-
},
|
|
2938
|
-
mindmap: {
|
|
2939
|
-
useMaxWidth: !0,
|
|
2940
|
-
padding: 10,
|
|
2941
|
-
maxNodeWidth: 200,
|
|
2942
|
-
layoutAlgorithm: "cose-bilkent"
|
|
2943
|
-
},
|
|
2944
|
-
ishikawa: {
|
|
2945
|
-
useMaxWidth: !0,
|
|
2946
|
-
diagramPadding: 20
|
|
2947
|
-
},
|
|
2948
|
-
kanban: {
|
|
2949
|
-
useMaxWidth: !0,
|
|
2950
|
-
padding: 8,
|
|
2951
|
-
sectionWidth: 200,
|
|
2952
|
-
ticketBaseUrl: ""
|
|
2953
|
-
},
|
|
2954
|
-
timeline: {
|
|
2955
|
-
useMaxWidth: !0,
|
|
2956
|
-
diagramMarginX: 50,
|
|
2957
|
-
diagramMarginY: 10,
|
|
2958
|
-
leftMargin: 150,
|
|
2959
|
-
width: 150,
|
|
2960
|
-
height: 50,
|
|
2961
|
-
boxMargin: 10,
|
|
2962
|
-
boxTextMargin: 5,
|
|
2963
|
-
noteMargin: 10,
|
|
2964
|
-
messageMargin: 35,
|
|
2965
|
-
messageAlign: "center",
|
|
2966
|
-
bottomMarginAdj: 1,
|
|
2967
|
-
rightAngles: !1,
|
|
2968
|
-
taskFontSize: 14,
|
|
2969
|
-
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
2970
|
-
taskMargin: 50,
|
|
2971
|
-
activationWidth: 10,
|
|
2972
|
-
textPlacement: "fo",
|
|
2973
|
-
actorColours: [
|
|
2974
|
-
"#8FBC8F",
|
|
2975
|
-
"#7CFC00",
|
|
2976
|
-
"#00FFFF",
|
|
2977
|
-
"#20B2AA",
|
|
2978
|
-
"#B0E0E6",
|
|
2979
|
-
"#FFFFE0"
|
|
2980
|
-
],
|
|
2981
|
-
sectionFills: [
|
|
2982
|
-
"#191970",
|
|
2983
|
-
"#8B008B",
|
|
2984
|
-
"#4B0082",
|
|
2985
|
-
"#2F4F4F",
|
|
2986
|
-
"#800000",
|
|
2987
|
-
"#8B4513",
|
|
2988
|
-
"#00008B"
|
|
2989
|
-
],
|
|
2990
|
-
sectionColours: ["#fff"],
|
|
2991
|
-
disableMulticolor: !1
|
|
2992
|
-
},
|
|
2993
|
-
gitGraph: {
|
|
2994
|
-
useMaxWidth: !0,
|
|
2995
|
-
titleTopMargin: 25,
|
|
2996
|
-
diagramPadding: 8,
|
|
2997
|
-
nodeLabel: {
|
|
2998
|
-
width: 75,
|
|
2999
|
-
height: 100,
|
|
3000
|
-
x: -25,
|
|
3001
|
-
y: 0
|
|
3002
|
-
},
|
|
3003
|
-
mainBranchName: "main",
|
|
3004
|
-
mainBranchOrder: 0,
|
|
3005
|
-
showCommitLabel: !0,
|
|
3006
|
-
showBranches: !0,
|
|
3007
|
-
rotateCommitLabel: !0,
|
|
3008
|
-
parallelCommits: !1,
|
|
3009
|
-
arrowMarkerAbsolute: !1
|
|
3010
|
-
},
|
|
3011
|
-
c4: {
|
|
3012
|
-
useMaxWidth: !0,
|
|
3013
|
-
diagramMarginX: 50,
|
|
3014
|
-
diagramMarginY: 10,
|
|
3015
|
-
c4ShapeMargin: 50,
|
|
3016
|
-
c4ShapePadding: 20,
|
|
3017
|
-
width: 216,
|
|
3018
|
-
height: 60,
|
|
3019
|
-
boxMargin: 10,
|
|
3020
|
-
c4ShapeInRow: 4,
|
|
3021
|
-
nextLinePaddingX: 0,
|
|
3022
|
-
c4BoundaryInRow: 2,
|
|
3023
|
-
personFontSize: 14,
|
|
3024
|
-
personFontFamily: "\"Open Sans\", sans-serif",
|
|
3025
|
-
personFontWeight: "normal",
|
|
3026
|
-
external_personFontSize: 14,
|
|
3027
|
-
external_personFontFamily: "\"Open Sans\", sans-serif",
|
|
3028
|
-
external_personFontWeight: "normal",
|
|
3029
|
-
systemFontSize: 14,
|
|
3030
|
-
systemFontFamily: "\"Open Sans\", sans-serif",
|
|
3031
|
-
systemFontWeight: "normal",
|
|
3032
|
-
external_systemFontSize: 14,
|
|
3033
|
-
external_systemFontFamily: "\"Open Sans\", sans-serif",
|
|
3034
|
-
external_systemFontWeight: "normal",
|
|
3035
|
-
system_dbFontSize: 14,
|
|
3036
|
-
system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
3037
|
-
system_dbFontWeight: "normal",
|
|
3038
|
-
external_system_dbFontSize: 14,
|
|
3039
|
-
external_system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
3040
|
-
external_system_dbFontWeight: "normal",
|
|
3041
|
-
system_queueFontSize: 14,
|
|
3042
|
-
system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
3043
|
-
system_queueFontWeight: "normal",
|
|
3044
|
-
external_system_queueFontSize: 14,
|
|
3045
|
-
external_system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
3046
|
-
external_system_queueFontWeight: "normal",
|
|
3047
|
-
boundaryFontSize: 14,
|
|
3048
|
-
boundaryFontFamily: "\"Open Sans\", sans-serif",
|
|
3049
|
-
boundaryFontWeight: "normal",
|
|
3050
|
-
messageFontSize: 12,
|
|
3051
|
-
messageFontFamily: "\"Open Sans\", sans-serif",
|
|
3052
|
-
messageFontWeight: "normal",
|
|
3053
|
-
containerFontSize: 14,
|
|
3054
|
-
containerFontFamily: "\"Open Sans\", sans-serif",
|
|
3055
|
-
containerFontWeight: "normal",
|
|
3056
|
-
external_containerFontSize: 14,
|
|
3057
|
-
external_containerFontFamily: "\"Open Sans\", sans-serif",
|
|
3058
|
-
external_containerFontWeight: "normal",
|
|
3059
|
-
container_dbFontSize: 14,
|
|
3060
|
-
container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
3061
|
-
container_dbFontWeight: "normal",
|
|
3062
|
-
external_container_dbFontSize: 14,
|
|
3063
|
-
external_container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
3064
|
-
external_container_dbFontWeight: "normal",
|
|
3065
|
-
container_queueFontSize: 14,
|
|
3066
|
-
container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
3067
|
-
container_queueFontWeight: "normal",
|
|
3068
|
-
external_container_queueFontSize: 14,
|
|
3069
|
-
external_container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
3070
|
-
external_container_queueFontWeight: "normal",
|
|
3071
|
-
componentFontSize: 14,
|
|
3072
|
-
componentFontFamily: "\"Open Sans\", sans-serif",
|
|
3073
|
-
componentFontWeight: "normal",
|
|
3074
|
-
external_componentFontSize: 14,
|
|
3075
|
-
external_componentFontFamily: "\"Open Sans\", sans-serif",
|
|
3076
|
-
external_componentFontWeight: "normal",
|
|
3077
|
-
component_dbFontSize: 14,
|
|
3078
|
-
component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
3079
|
-
component_dbFontWeight: "normal",
|
|
3080
|
-
external_component_dbFontSize: 14,
|
|
3081
|
-
external_component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
3082
|
-
external_component_dbFontWeight: "normal",
|
|
3083
|
-
component_queueFontSize: 14,
|
|
3084
|
-
component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
3085
|
-
component_queueFontWeight: "normal",
|
|
3086
|
-
external_component_queueFontSize: 14,
|
|
3087
|
-
external_component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
3088
|
-
external_component_queueFontWeight: "normal",
|
|
3089
|
-
wrap: !0,
|
|
3090
|
-
wrapPadding: 10,
|
|
3091
|
-
person_bg_color: "#08427B",
|
|
3092
|
-
person_border_color: "#073B6F",
|
|
3093
|
-
external_person_bg_color: "#686868",
|
|
3094
|
-
external_person_border_color: "#8A8A8A",
|
|
3095
|
-
system_bg_color: "#1168BD",
|
|
3096
|
-
system_border_color: "#3C7FC0",
|
|
3097
|
-
system_db_bg_color: "#1168BD",
|
|
3098
|
-
system_db_border_color: "#3C7FC0",
|
|
3099
|
-
system_queue_bg_color: "#1168BD",
|
|
3100
|
-
system_queue_border_color: "#3C7FC0",
|
|
3101
|
-
external_system_bg_color: "#999999",
|
|
3102
|
-
external_system_border_color: "#8A8A8A",
|
|
3103
|
-
external_system_db_bg_color: "#999999",
|
|
3104
|
-
external_system_db_border_color: "#8A8A8A",
|
|
3105
|
-
external_system_queue_bg_color: "#999999",
|
|
3106
|
-
external_system_queue_border_color: "#8A8A8A",
|
|
3107
|
-
container_bg_color: "#438DD5",
|
|
3108
|
-
container_border_color: "#3C7FC0",
|
|
3109
|
-
container_db_bg_color: "#438DD5",
|
|
3110
|
-
container_db_border_color: "#3C7FC0",
|
|
3111
|
-
container_queue_bg_color: "#438DD5",
|
|
3112
|
-
container_queue_border_color: "#3C7FC0",
|
|
3113
|
-
external_container_bg_color: "#B3B3B3",
|
|
3114
|
-
external_container_border_color: "#A6A6A6",
|
|
3115
|
-
external_container_db_bg_color: "#B3B3B3",
|
|
3116
|
-
external_container_db_border_color: "#A6A6A6",
|
|
3117
|
-
external_container_queue_bg_color: "#B3B3B3",
|
|
3118
|
-
external_container_queue_border_color: "#A6A6A6",
|
|
3119
|
-
component_bg_color: "#85BBF0",
|
|
3120
|
-
component_border_color: "#78A8D8",
|
|
3121
|
-
component_db_bg_color: "#85BBF0",
|
|
3122
|
-
component_db_border_color: "#78A8D8",
|
|
3123
|
-
component_queue_bg_color: "#85BBF0",
|
|
3124
|
-
component_queue_border_color: "#78A8D8",
|
|
3125
|
-
external_component_bg_color: "#CCCCCC",
|
|
3126
|
-
external_component_border_color: "#BFBFBF",
|
|
3127
|
-
external_component_db_bg_color: "#CCCCCC",
|
|
3128
|
-
external_component_db_border_color: "#BFBFBF",
|
|
3129
|
-
external_component_queue_bg_color: "#CCCCCC",
|
|
3130
|
-
external_component_queue_border_color: "#BFBFBF"
|
|
3131
|
-
},
|
|
3132
|
-
sankey: {
|
|
3133
|
-
useMaxWidth: !0,
|
|
3134
|
-
width: 600,
|
|
3135
|
-
height: 400,
|
|
3136
|
-
linkColor: "gradient",
|
|
3137
|
-
nodeAlignment: "justify",
|
|
3138
|
-
showValues: !0,
|
|
3139
|
-
prefix: "",
|
|
3140
|
-
suffix: "",
|
|
3141
|
-
nodeWidth: 10,
|
|
3142
|
-
nodePadding: 12,
|
|
3143
|
-
labelStyle: "legacy"
|
|
3144
|
-
},
|
|
3145
|
-
block: {
|
|
3146
|
-
useMaxWidth: !0,
|
|
3147
|
-
padding: 8
|
|
3148
|
-
},
|
|
3149
|
-
packet: {
|
|
3150
|
-
useMaxWidth: !0,
|
|
3151
|
-
rowHeight: 32,
|
|
3152
|
-
bitWidth: 32,
|
|
3153
|
-
bitsPerRow: 32,
|
|
3154
|
-
showBits: !0,
|
|
3155
|
-
paddingX: 5,
|
|
3156
|
-
paddingY: 5
|
|
3157
|
-
},
|
|
3158
|
-
treeView: {
|
|
3159
|
-
useMaxWidth: !0,
|
|
3160
|
-
rowIndent: 10,
|
|
3161
|
-
paddingX: 5,
|
|
3162
|
-
paddingY: 5,
|
|
3163
|
-
lineThickness: 1,
|
|
3164
|
-
showIcons: !1,
|
|
3165
|
-
defaultIconPack: "",
|
|
3166
|
-
filenameIcons: {},
|
|
3167
|
-
extensionIcons: {}
|
|
3168
|
-
},
|
|
3169
|
-
architecture: {
|
|
3170
|
-
useMaxWidth: !0,
|
|
3171
|
-
padding: 40,
|
|
3172
|
-
iconSize: 80,
|
|
3173
|
-
fontSize: 16,
|
|
3174
|
-
randomize: !1,
|
|
3175
|
-
nodeSeparation: 75,
|
|
3176
|
-
idealEdgeLengthMultiplier: 1.5,
|
|
3177
|
-
edgeElasticity: .45,
|
|
3178
|
-
numIter: 2500,
|
|
3179
|
-
seed: 1
|
|
3180
|
-
},
|
|
3181
|
-
eventmodeling: {
|
|
3182
|
-
useMaxWidth: !0,
|
|
3183
|
-
padding: 30,
|
|
3184
|
-
rowHeight: 32
|
|
3185
|
-
},
|
|
3186
|
-
radar: {
|
|
3187
|
-
useMaxWidth: !0,
|
|
3188
|
-
width: 600,
|
|
3189
|
-
height: 600,
|
|
3190
|
-
marginTop: 50,
|
|
3191
|
-
marginRight: 50,
|
|
3192
|
-
marginBottom: 50,
|
|
3193
|
-
marginLeft: 50,
|
|
3194
|
-
axisScaleFactor: 1,
|
|
3195
|
-
axisLabelFactor: 1.05,
|
|
3196
|
-
curveTension: .17
|
|
3197
|
-
},
|
|
3198
|
-
usecase: {
|
|
3199
|
-
useMaxWidth: !0,
|
|
3200
|
-
theme: "redux-color",
|
|
3201
|
-
look: "neo",
|
|
3202
|
-
wrappingWidth: 120,
|
|
3203
|
-
minNodeWidth: 120,
|
|
3204
|
-
actorFontSize: 14,
|
|
3205
|
-
actorFontFamily: "\"Open Sans\", sans-serif",
|
|
3206
|
-
actorFontWeight: "normal",
|
|
3207
|
-
usecaseFontSize: 12,
|
|
3208
|
-
usecaseFontFamily: "\"Open Sans\", sans-serif",
|
|
3209
|
-
usecaseFontWeight: "normal",
|
|
3210
|
-
nodeSpacing: 50,
|
|
3211
|
-
rankSpacing: 50,
|
|
3212
|
-
diagramPadding: 20,
|
|
3213
|
-
colorScheme: "role"
|
|
3214
|
-
},
|
|
3215
|
-
venn: {
|
|
3216
|
-
useMaxWidth: !0,
|
|
3217
|
-
theme: "redux-color",
|
|
3218
|
-
look: "neo",
|
|
3219
|
-
width: 800,
|
|
3220
|
-
height: 450,
|
|
3221
|
-
padding: 8,
|
|
3222
|
-
useDebugLayout: !1
|
|
3223
|
-
},
|
|
3224
|
-
cynefin: {
|
|
3225
|
-
useMaxWidth: !0,
|
|
3226
|
-
width: 800,
|
|
3227
|
-
height: 600,
|
|
3228
|
-
padding: 40,
|
|
3229
|
-
showDomainDescriptions: !0,
|
|
3230
|
-
boundaryAmplitude: 8,
|
|
3231
|
-
seed: 0
|
|
3232
|
-
},
|
|
3233
|
-
theme: "default",
|
|
3234
|
-
look: "classic",
|
|
3235
|
-
handDrawnSeed: 0,
|
|
3236
|
-
layout: "elk",
|
|
3237
|
-
maxTextSize: 5e4,
|
|
3238
|
-
maxEdges: 500,
|
|
3239
|
-
darkMode: !1,
|
|
3240
|
-
fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
|
|
3241
|
-
logLevel: 5,
|
|
3242
|
-
securityLevel: "strict",
|
|
3243
|
-
startOnLoad: !0,
|
|
3244
|
-
arrowMarkerAbsolute: !1,
|
|
3245
|
-
secure: [
|
|
3246
|
-
"secure",
|
|
3247
|
-
"securityLevel",
|
|
3248
|
-
"startOnLoad",
|
|
3249
|
-
"maxTextSize",
|
|
3250
|
-
"suppressErrorRendering",
|
|
3251
|
-
"maxEdges"
|
|
3252
|
-
],
|
|
3253
|
-
legacyMathML: !1,
|
|
3254
|
-
forceLegacyMathML: !1,
|
|
3255
|
-
deterministicIds: !1,
|
|
3256
|
-
fontSize: 16,
|
|
3257
|
-
markdownAutoWrap: !0,
|
|
3258
|
-
suppressErrorRendering: !1
|
|
3259
|
-
}, q = {
|
|
3260
|
-
...K,
|
|
3261
|
-
deterministicIDSeed: void 0,
|
|
3262
|
-
elk: {
|
|
3263
|
-
mergeEdges: !1,
|
|
3264
|
-
straightenEdges: !0,
|
|
3265
|
-
lineHops: !0,
|
|
3266
|
-
preset: "default",
|
|
3267
|
-
nodePlacementStrategy: void 0,
|
|
3268
|
-
layeringStrategy: void 0,
|
|
3269
|
-
cycleBreakingStrategy: void 0,
|
|
3270
|
-
layeringLayerBound: 4,
|
|
3271
|
-
nodePlacementAlignment: void 0,
|
|
3272
|
-
forceNodeModelOrder: !1,
|
|
3273
|
-
considerModelOrder: "NODES_AND_EDGES",
|
|
3274
|
-
keepEntryNodeOnTop: !1
|
|
3275
|
-
},
|
|
3276
|
-
themeCSS: void 0,
|
|
3277
|
-
themeVariables: G.default.getThemeVariables(),
|
|
3278
|
-
sequence: {
|
|
3279
|
-
...K.sequence,
|
|
3280
|
-
messageFont: /* @__PURE__ */ n(function() {
|
|
3281
|
-
return {
|
|
3282
|
-
fontFamily: this.messageFontFamily,
|
|
3283
|
-
fontSize: this.messageFontSize,
|
|
3284
|
-
fontWeight: this.messageFontWeight
|
|
3285
|
-
};
|
|
3286
|
-
}, "messageFont"),
|
|
3287
|
-
noteFont: /* @__PURE__ */ n(function() {
|
|
3288
|
-
return {
|
|
3289
|
-
fontFamily: this.noteFontFamily,
|
|
3290
|
-
fontSize: this.noteFontSize,
|
|
3291
|
-
fontWeight: this.noteFontWeight
|
|
3292
|
-
};
|
|
3293
|
-
}, "noteFont"),
|
|
3294
|
-
actorFont: /* @__PURE__ */ n(function() {
|
|
3295
|
-
return {
|
|
3296
|
-
fontFamily: this.actorFontFamily,
|
|
3297
|
-
fontSize: this.actorFontSize,
|
|
3298
|
-
fontWeight: this.actorFontWeight
|
|
3299
|
-
};
|
|
3300
|
-
}, "actorFont")
|
|
3301
|
-
},
|
|
3302
|
-
class: {
|
|
3303
|
-
theme: K.class?.theme,
|
|
3304
|
-
look: K.class?.look,
|
|
3305
|
-
layout: K.class?.layout,
|
|
3306
|
-
hideEmptyMembersBox: !1,
|
|
3307
|
-
hierarchicalNamespaces: !0
|
|
3308
|
-
},
|
|
3309
|
-
gantt: {
|
|
3310
|
-
...K.gantt,
|
|
3311
|
-
tickInterval: void 0,
|
|
3312
|
-
useWidth: void 0
|
|
3313
|
-
},
|
|
3314
|
-
c4: {
|
|
3315
|
-
...K.c4,
|
|
3316
|
-
useWidth: void 0,
|
|
3317
|
-
personFont: /* @__PURE__ */ n(function() {
|
|
3318
|
-
return {
|
|
3319
|
-
fontFamily: this.personFontFamily,
|
|
3320
|
-
fontSize: this.personFontSize,
|
|
3321
|
-
fontWeight: this.personFontWeight
|
|
3322
|
-
};
|
|
3323
|
-
}, "personFont"),
|
|
3324
|
-
flowchart: {
|
|
3325
|
-
...K.flowchart,
|
|
3326
|
-
inheritDir: !1
|
|
3327
|
-
},
|
|
3328
|
-
external_personFont: /* @__PURE__ */ n(function() {
|
|
3329
|
-
return {
|
|
3330
|
-
fontFamily: this.external_personFontFamily,
|
|
3331
|
-
fontSize: this.external_personFontSize,
|
|
3332
|
-
fontWeight: this.external_personFontWeight
|
|
3333
|
-
};
|
|
3334
|
-
}, "external_personFont"),
|
|
3335
|
-
systemFont: /* @__PURE__ */ n(function() {
|
|
3336
|
-
return {
|
|
3337
|
-
fontFamily: this.systemFontFamily,
|
|
3338
|
-
fontSize: this.systemFontSize,
|
|
3339
|
-
fontWeight: this.systemFontWeight
|
|
3340
|
-
};
|
|
3341
|
-
}, "systemFont"),
|
|
3342
|
-
external_systemFont: /* @__PURE__ */ n(function() {
|
|
3343
|
-
return {
|
|
3344
|
-
fontFamily: this.external_systemFontFamily,
|
|
3345
|
-
fontSize: this.external_systemFontSize,
|
|
3346
|
-
fontWeight: this.external_systemFontWeight
|
|
3347
|
-
};
|
|
3348
|
-
}, "external_systemFont"),
|
|
3349
|
-
system_dbFont: /* @__PURE__ */ n(function() {
|
|
3350
|
-
return {
|
|
3351
|
-
fontFamily: this.system_dbFontFamily,
|
|
3352
|
-
fontSize: this.system_dbFontSize,
|
|
3353
|
-
fontWeight: this.system_dbFontWeight
|
|
3354
|
-
};
|
|
3355
|
-
}, "system_dbFont"),
|
|
3356
|
-
external_system_dbFont: /* @__PURE__ */ n(function() {
|
|
3357
|
-
return {
|
|
3358
|
-
fontFamily: this.external_system_dbFontFamily,
|
|
3359
|
-
fontSize: this.external_system_dbFontSize,
|
|
3360
|
-
fontWeight: this.external_system_dbFontWeight
|
|
3361
|
-
};
|
|
3362
|
-
}, "external_system_dbFont"),
|
|
3363
|
-
system_queueFont: /* @__PURE__ */ n(function() {
|
|
3364
|
-
return {
|
|
3365
|
-
fontFamily: this.system_queueFontFamily,
|
|
3366
|
-
fontSize: this.system_queueFontSize,
|
|
3367
|
-
fontWeight: this.system_queueFontWeight
|
|
3368
|
-
};
|
|
3369
|
-
}, "system_queueFont"),
|
|
3370
|
-
external_system_queueFont: /* @__PURE__ */ n(function() {
|
|
3371
|
-
return {
|
|
3372
|
-
fontFamily: this.external_system_queueFontFamily,
|
|
3373
|
-
fontSize: this.external_system_queueFontSize,
|
|
3374
|
-
fontWeight: this.external_system_queueFontWeight
|
|
3375
|
-
};
|
|
3376
|
-
}, "external_system_queueFont"),
|
|
3377
|
-
containerFont: /* @__PURE__ */ n(function() {
|
|
3378
|
-
return {
|
|
3379
|
-
fontFamily: this.containerFontFamily,
|
|
3380
|
-
fontSize: this.containerFontSize,
|
|
3381
|
-
fontWeight: this.containerFontWeight
|
|
3382
|
-
};
|
|
3383
|
-
}, "containerFont"),
|
|
3384
|
-
external_containerFont: /* @__PURE__ */ n(function() {
|
|
3385
|
-
return {
|
|
3386
|
-
fontFamily: this.external_containerFontFamily,
|
|
3387
|
-
fontSize: this.external_containerFontSize,
|
|
3388
|
-
fontWeight: this.external_containerFontWeight
|
|
3389
|
-
};
|
|
3390
|
-
}, "external_containerFont"),
|
|
3391
|
-
container_dbFont: /* @__PURE__ */ n(function() {
|
|
3392
|
-
return {
|
|
3393
|
-
fontFamily: this.container_dbFontFamily,
|
|
3394
|
-
fontSize: this.container_dbFontSize,
|
|
3395
|
-
fontWeight: this.container_dbFontWeight
|
|
3396
|
-
};
|
|
3397
|
-
}, "container_dbFont"),
|
|
3398
|
-
external_container_dbFont: /* @__PURE__ */ n(function() {
|
|
3399
|
-
return {
|
|
3400
|
-
fontFamily: this.external_container_dbFontFamily,
|
|
3401
|
-
fontSize: this.external_container_dbFontSize,
|
|
3402
|
-
fontWeight: this.external_container_dbFontWeight
|
|
3403
|
-
};
|
|
3404
|
-
}, "external_container_dbFont"),
|
|
3405
|
-
container_queueFont: /* @__PURE__ */ n(function() {
|
|
3406
|
-
return {
|
|
3407
|
-
fontFamily: this.container_queueFontFamily,
|
|
3408
|
-
fontSize: this.container_queueFontSize,
|
|
3409
|
-
fontWeight: this.container_queueFontWeight
|
|
3410
|
-
};
|
|
3411
|
-
}, "container_queueFont"),
|
|
3412
|
-
external_container_queueFont: /* @__PURE__ */ n(function() {
|
|
3413
|
-
return {
|
|
3414
|
-
fontFamily: this.external_container_queueFontFamily,
|
|
3415
|
-
fontSize: this.external_container_queueFontSize,
|
|
3416
|
-
fontWeight: this.external_container_queueFontWeight
|
|
3417
|
-
};
|
|
3418
|
-
}, "external_container_queueFont"),
|
|
3419
|
-
componentFont: /* @__PURE__ */ n(function() {
|
|
3420
|
-
return {
|
|
3421
|
-
fontFamily: this.componentFontFamily,
|
|
3422
|
-
fontSize: this.componentFontSize,
|
|
3423
|
-
fontWeight: this.componentFontWeight
|
|
3424
|
-
};
|
|
3425
|
-
}, "componentFont"),
|
|
3426
|
-
external_componentFont: /* @__PURE__ */ n(function() {
|
|
3427
|
-
return {
|
|
3428
|
-
fontFamily: this.external_componentFontFamily,
|
|
3429
|
-
fontSize: this.external_componentFontSize,
|
|
3430
|
-
fontWeight: this.external_componentFontWeight
|
|
3431
|
-
};
|
|
3432
|
-
}, "external_componentFont"),
|
|
3433
|
-
component_dbFont: /* @__PURE__ */ n(function() {
|
|
3434
|
-
return {
|
|
3435
|
-
fontFamily: this.component_dbFontFamily,
|
|
3436
|
-
fontSize: this.component_dbFontSize,
|
|
3437
|
-
fontWeight: this.component_dbFontWeight
|
|
3438
|
-
};
|
|
3439
|
-
}, "component_dbFont"),
|
|
3440
|
-
external_component_dbFont: /* @__PURE__ */ n(function() {
|
|
3441
|
-
return {
|
|
3442
|
-
fontFamily: this.external_component_dbFontFamily,
|
|
3443
|
-
fontSize: this.external_component_dbFontSize,
|
|
3444
|
-
fontWeight: this.external_component_dbFontWeight
|
|
3445
|
-
};
|
|
3446
|
-
}, "external_component_dbFont"),
|
|
3447
|
-
component_queueFont: /* @__PURE__ */ n(function() {
|
|
3448
|
-
return {
|
|
3449
|
-
fontFamily: this.component_queueFontFamily,
|
|
3450
|
-
fontSize: this.component_queueFontSize,
|
|
3451
|
-
fontWeight: this.component_queueFontWeight
|
|
3452
|
-
};
|
|
3453
|
-
}, "component_queueFont"),
|
|
3454
|
-
external_component_queueFont: /* @__PURE__ */ n(function() {
|
|
3455
|
-
return {
|
|
3456
|
-
fontFamily: this.external_component_queueFontFamily,
|
|
3457
|
-
fontSize: this.external_component_queueFontSize,
|
|
3458
|
-
fontWeight: this.external_component_queueFontWeight
|
|
3459
|
-
};
|
|
3460
|
-
}, "external_component_queueFont"),
|
|
3461
|
-
boundaryFont: /* @__PURE__ */ n(function() {
|
|
3462
|
-
return {
|
|
3463
|
-
fontFamily: this.boundaryFontFamily,
|
|
3464
|
-
fontSize: this.boundaryFontSize,
|
|
3465
|
-
fontWeight: this.boundaryFontWeight
|
|
3466
|
-
};
|
|
3467
|
-
}, "boundaryFont"),
|
|
3468
|
-
messageFont: /* @__PURE__ */ n(function() {
|
|
3469
|
-
return {
|
|
3470
|
-
fontFamily: this.messageFontFamily,
|
|
3471
|
-
fontSize: this.messageFontSize,
|
|
3472
|
-
fontWeight: this.messageFontWeight
|
|
3473
|
-
};
|
|
3474
|
-
}, "messageFont")
|
|
3475
|
-
},
|
|
3476
|
-
pie: {
|
|
3477
|
-
...K.pie,
|
|
3478
|
-
useWidth: 984
|
|
3479
|
-
},
|
|
3480
|
-
xyChart: {
|
|
3481
|
-
...K.xyChart,
|
|
3482
|
-
useWidth: void 0
|
|
3483
|
-
},
|
|
3484
|
-
requirement: {
|
|
3485
|
-
...K.requirement,
|
|
3486
|
-
useWidth: void 0
|
|
3487
|
-
},
|
|
3488
|
-
packet: { ...K.packet },
|
|
3489
|
-
eventmodeling: { ...K.eventmodeling },
|
|
3490
|
-
treeView: {
|
|
3491
|
-
...K.treeView,
|
|
3492
|
-
useWidth: void 0
|
|
3493
|
-
},
|
|
3494
|
-
radar: { ...K.radar },
|
|
3495
|
-
usecase: { ...K.usecase },
|
|
3496
|
-
railroad: {
|
|
3497
|
-
...K.railroad,
|
|
3498
|
-
fontSize: void 0,
|
|
3499
|
-
fontFamily: void 0,
|
|
3500
|
-
terminalFill: void 0,
|
|
3501
|
-
terminalStroke: void 0,
|
|
3502
|
-
terminalTextColor: void 0,
|
|
3503
|
-
nonTerminalFill: void 0,
|
|
3504
|
-
nonTerminalStroke: void 0,
|
|
3505
|
-
nonTerminalTextColor: void 0,
|
|
3506
|
-
lineColor: void 0,
|
|
3507
|
-
markerFill: void 0,
|
|
3508
|
-
commentFill: void 0,
|
|
3509
|
-
commentStroke: void 0,
|
|
3510
|
-
commentTextColor: void 0,
|
|
3511
|
-
specialFill: void 0,
|
|
3512
|
-
specialStroke: void 0,
|
|
3513
|
-
ruleNameColor: void 0
|
|
3514
|
-
},
|
|
3515
|
-
ishikawa: { ...K.ishikawa },
|
|
3516
|
-
sankey: {
|
|
3517
|
-
...K.sankey,
|
|
3518
|
-
nodeColors: void 0
|
|
3519
|
-
},
|
|
3520
|
-
treemap: {
|
|
3521
|
-
useMaxWidth: !0,
|
|
3522
|
-
padding: 10,
|
|
3523
|
-
diagramPadding: 8,
|
|
3524
|
-
showValues: !0,
|
|
3525
|
-
nodeWidth: 100,
|
|
3526
|
-
nodeHeight: 40,
|
|
3527
|
-
borderWidth: 1,
|
|
3528
|
-
valueFontSize: 12,
|
|
3529
|
-
labelFontSize: 14,
|
|
3530
|
-
valueFormat: ","
|
|
3531
|
-
},
|
|
3532
|
-
venn: { ...K.venn },
|
|
3533
|
-
cynefin: { ...K.cynefin }
|
|
3534
|
-
}, Wt = /* @__PURE__ */ n((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
|
|
3535
|
-
...n,
|
|
3536
|
-
t + r,
|
|
3537
|
-
...Wt(e[r], "")
|
|
3538
|
-
] : [...n, t + r], []), "keyify"), Gt = new Set(Wt(q, "")), Kt = q, qt = {
|
|
3539
|
-
"flowchart-v2": "flowchart",
|
|
3540
|
-
"flowchart-elk": "flowchart",
|
|
3541
|
-
classDiagram: "class",
|
|
3542
|
-
stateDiagram: "state",
|
|
3543
|
-
xychart: "xyChart",
|
|
3544
|
-
railroadAbnf: "railroad",
|
|
3545
|
-
railroadEbnf: "railroad",
|
|
3546
|
-
railroadPeg: "railroad"
|
|
3547
|
-
}, Jt = /* @__PURE__ */ n((e) => qt[e] ?? e, "getDiagramConfigKey"), Yt = {
|
|
3548
|
-
nodeColors: /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,
|
|
3549
|
-
filenameIcons: /^[\w-]+(?::[\w-]+)?$/,
|
|
3550
|
-
extensionIcons: /^[\w-]+(?::[\w-]+)?$/
|
|
3551
|
-
}, Xt = /* @__PURE__ */ n((t, n) => {
|
|
3552
|
-
for (let r of Object.keys(t)) {
|
|
3553
|
-
let i = t[r];
|
|
3554
|
-
(r.startsWith("__") || r.includes("proto") || r.includes("constr") || typeof i != "string" || !n.test(i)) && (e.debug("sanitize deleting dictionary entry:", r, i), delete t[r]);
|
|
3555
|
-
}
|
|
3556
|
-
}, "sanitizeDictionaryConfig"), Zt = /* @__PURE__ */ n((t) => {
|
|
3557
|
-
if (e.debug("sanitizeDirective called with", t), !(typeof t != "object" || !t)) {
|
|
3558
|
-
if (Array.isArray(t)) {
|
|
3559
|
-
t.forEach((e) => Zt(e));
|
|
3560
|
-
return;
|
|
3561
|
-
}
|
|
3562
|
-
for (let n of Object.keys(t)) {
|
|
3563
|
-
if (e.debug("Checking key", n), n.startsWith("__") || n.includes("proto") || n.includes("constr") || !Gt.has(n) || t[n] == null) {
|
|
3564
|
-
e.debug("sanitize deleting key: ", n), delete t[n];
|
|
3565
|
-
continue;
|
|
3566
|
-
}
|
|
3567
|
-
if (typeof t[n] == "object") {
|
|
3568
|
-
let r = Yt[n];
|
|
3569
|
-
r ? Xt(t[n], r) : (e.debug("sanitizing object", n), Zt(t[n]));
|
|
3570
|
-
continue;
|
|
3571
|
-
}
|
|
3572
|
-
for (let r of [
|
|
3573
|
-
"themeCSS",
|
|
3574
|
-
"fontFamily",
|
|
3575
|
-
"altFontFamily"
|
|
3576
|
-
]) n.includes(r) && (e.debug("sanitizing css option", n), t[n] = Qt(t[n]));
|
|
3577
|
-
}
|
|
3578
|
-
if (t.themeVariables) for (let e of Object.keys(t.themeVariables)) {
|
|
3579
|
-
let n = t.themeVariables[e];
|
|
3580
|
-
n?.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (t.themeVariables[e] = "");
|
|
3581
|
-
}
|
|
3582
|
-
e.debug("After sanitization", t);
|
|
3583
|
-
}
|
|
3584
|
-
}, "sanitizeDirective"), Qt = /* @__PURE__ */ n((e) => {
|
|
3585
|
-
let t = 0, n = 0;
|
|
3586
|
-
for (let r of e) {
|
|
3587
|
-
if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
|
|
3588
|
-
r === "{" ? t++ : r === "}" && n++;
|
|
3589
|
-
}
|
|
3590
|
-
return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
|
|
3591
|
-
}, "sanitizeCss"), $t = Object.freeze(Kt), J = [
|
|
3592
|
-
"theme",
|
|
3593
|
-
"look",
|
|
3594
|
-
"layout"
|
|
3595
|
-
], en = /* @__PURE__ */ new Set([
|
|
3596
|
-
"classic",
|
|
3597
|
-
"handDrawn",
|
|
3598
|
-
"neo"
|
|
3599
|
-
]), tn = /* @__PURE__ */ n((e, t) => e === "theme" ? t === "null" || Object.hasOwn(G, t) : e !== "look" || en.has(t), "isUsableAppearance"), nn = /* @__PURE__ */ n((e, t, n) => {
|
|
3600
|
-
if (e) return [e[t]?.[n], e[n]].find((e) => e !== void 0 && tn(n, e));
|
|
3601
|
-
}, "readAppearance"), rn = /* @__PURE__ */ n((e) => !(e === !1 || [
|
|
3602
|
-
"false",
|
|
3603
|
-
"null",
|
|
3604
|
-
"0"
|
|
3605
|
-
].includes(String(e).trim().toLowerCase())), "evaluate"), Y = z({}, $t), an, on = {}, X = [], sn = z({}, $t), cn, Z = /* @__PURE__ */ n((e, t) => {
|
|
3606
|
-
if (!cn) return;
|
|
3607
|
-
let n = [
|
|
3608
|
-
t,
|
|
3609
|
-
...[...X].reverse(),
|
|
3610
|
-
on,
|
|
3611
|
-
$t
|
|
3612
|
-
], r = e[cn];
|
|
3613
|
-
for (let t of J) for (let i of n) {
|
|
3614
|
-
let n = nn(i, cn, t);
|
|
3615
|
-
if (n !== void 0) {
|
|
3616
|
-
e[t] = n, r?.[t] !== void 0 && (r[t] = n);
|
|
3617
|
-
break;
|
|
3618
|
-
}
|
|
3619
|
-
}
|
|
3620
|
-
}, "resolveAppearance"), Q = /* @__PURE__ */ n((e, t) => {
|
|
3621
|
-
let n = z({}, e), r = {};
|
|
3622
|
-
for (let e of t) gn(e), r = z(r, e);
|
|
3623
|
-
if (n = z(n, r), Z(n, r), (r.theme || n.theme !== e.theme) && n.theme && Object.hasOwn(G, n.theme)) {
|
|
3624
|
-
let e = z(z({}, an).themeVariables || {}, r.themeVariables);
|
|
3625
|
-
n.themeVariables = G[n.theme].getThemeVariables(e);
|
|
3626
|
-
}
|
|
3627
|
-
return sn = n, $(sn), sn;
|
|
3628
|
-
}, "updateCurrentConfig"), ln = /* @__PURE__ */ n((e) => {
|
|
3629
|
-
cn = e === void 0 ? void 0 : Jt(e), Q(Y, X);
|
|
3630
|
-
}, "setDiagramConfigScope"), un = /* @__PURE__ */ n((e) => (Y = z({}, $t), Y = z(Y, e), on = z({}, e), e.theme && Object.hasOwn(G, e.theme) && (Y.themeVariables = G[e.theme].getThemeVariables(e.themeVariables)), Q(Y, X), Y), "setSiteConfig"), dn = /* @__PURE__ */ n((e) => {
|
|
3631
|
-
an = z({}, e);
|
|
3632
|
-
}, "saveConfigFromInitialize"), fn = /* @__PURE__ */ n((e) => (Y = z(Y, e), on = z(on, e), Q(Y, X), Y), "updateSiteConfig"), pn = /* @__PURE__ */ n(() => z({}, Y), "getSiteConfig"), mn = /* @__PURE__ */ n((e) => (Q(sn, [e]), hn()), "setConfig"), hn = /* @__PURE__ */ n(() => z({}, sn), "getConfig"), gn = /* @__PURE__ */ n((t) => {
|
|
3633
|
-
t && (["secure", ...Y.secure ?? []].forEach((n) => {
|
|
3634
|
-
Object.hasOwn(t, n) && (e.debug(`Denied attempt to modify a secure key ${n}`, t[n]), delete t[n]);
|
|
3635
|
-
}), Object.keys(t).forEach((e) => {
|
|
3636
|
-
e.startsWith("__") && delete t[e];
|
|
3637
|
-
}), Object.keys(t).forEach((e) => {
|
|
3638
|
-
typeof t[e] == "string" && (t[e].includes("<") || t[e].includes(">") || t[e].includes("url(data:")) && delete t[e], typeof t[e] == "object" && gn(t[e]);
|
|
3639
|
-
}));
|
|
3640
|
-
}, "sanitize"), _n = /* @__PURE__ */ n((e) => {
|
|
3641
|
-
Zt(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
|
|
3642
|
-
...e.themeVariables,
|
|
3643
|
-
fontFamily: e.fontFamily
|
|
3644
|
-
}), X.push(e), Q(Y, X);
|
|
3645
|
-
}, "addDirective"), vn = /* @__PURE__ */ n((e = Y) => {
|
|
3646
|
-
X = [], cn = void 0, Q(e, X);
|
|
3647
|
-
}, "reset"), yn = {
|
|
3648
|
-
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
|
|
3649
|
-
FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
|
|
3650
|
-
}, bn = {}, xn = /* @__PURE__ */ n((t) => {
|
|
3651
|
-
bn[t] || (e.warn(yn[t]), bn[t] = !0);
|
|
3652
|
-
}, "issueWarning"), $ = /* @__PURE__ */ n((e) => {
|
|
3653
|
-
e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && xn("LAZY_LOAD_DEPRECATED");
|
|
3654
|
-
}, "checkConfig"), Sn = /* @__PURE__ */ n(() => {
|
|
3655
|
-
let e = {};
|
|
3656
|
-
an && (e = z(e, an));
|
|
3657
|
-
for (let t of X) e = z(e, t);
|
|
3658
|
-
return e;
|
|
3659
|
-
}, "getUserDefinedConfig"), Cn = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && xn("FLOWCHART_HTML_LABELS_DEPRECATED"), rn(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), wn = /<\/?br\s*\/?>/gi, Tn = new RegExp(wn.source, "i"), En = /* @__PURE__ */ n((e) => e ? In(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Dn = /* @__PURE__ */ (() => {
|
|
3660
|
-
let e = !1;
|
|
3661
|
-
return () => {
|
|
3662
|
-
e ||= (On(), !0);
|
|
3663
|
-
};
|
|
3664
|
-
})();
|
|
3665
|
-
function On() {
|
|
3666
|
-
let e = "data-temp-href-target";
|
|
3667
|
-
_t.addHook("beforeSanitizeAttributes", (t) => {
|
|
3668
|
-
t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
|
|
3669
|
-
}), _t.addHook("afterSanitizeAttributes", (t) => {
|
|
3670
|
-
t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
|
|
3671
|
-
});
|
|
3672
|
-
}
|
|
3673
|
-
n(On, "setupDompurifyHooks");
|
|
3674
|
-
var kn = /* @__PURE__ */ n((e) => (Dn(), _t.sanitize(e)), "removeScript"), An = /* @__PURE__ */ n((e, t) => {
|
|
3675
|
-
if (Cn(t)) {
|
|
3676
|
-
let n = t.securityLevel;
|
|
3677
|
-
n === "antiscript" || n === "strict" || n === "sandbox" ? e = kn(e) : n !== "loose" && (e = In(e), e = e.replace(/</g, "<").replace(/>/g, ">"), e = e.replace(/=/g, "="), e = Fn(e));
|
|
3678
|
-
}
|
|
3679
|
-
return e;
|
|
3680
|
-
}, "sanitizeMore"), jn = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? _t.sanitize(An(e, t), t.dompurifyConfig).toString() : _t.sanitize(An(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), Mn = /* @__PURE__ */ n((e, t) => typeof e == "string" ? jn(e, t) : e.flat().map((e) => jn(e, t)), "sanitizeTextOrArray"), Nn = /* @__PURE__ */ n((e) => Tn.test(e), "hasBreaks"), Pn = /* @__PURE__ */ n((e) => e.split(wn), "splitBreaks"), Fn = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), In = /* @__PURE__ */ n((e) => e.replace(wn, "#br#"), "breakToPlaceholder"), Ln = /* @__PURE__ */ n((e) => {
|
|
3681
|
-
let t = "";
|
|
3682
|
-
return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
|
|
3683
|
-
}, "getUrl"), Rn = /* @__PURE__ */ n(function(...e) {
|
|
3684
|
-
let t = e.filter((e) => !isNaN(e));
|
|
3685
|
-
return Math.max(...t);
|
|
3686
|
-
}, "getMax"), zn = /* @__PURE__ */ n(function(...e) {
|
|
3687
|
-
let t = e.filter((e) => !isNaN(e));
|
|
3688
|
-
return Math.min(...t);
|
|
3689
|
-
}, "getMin"), Bn = /* @__PURE__ */ n(function(e) {
|
|
3690
|
-
let t = e.split(/(,)/), n = [];
|
|
3691
|
-
for (let e = 0; e < t.length; e++) {
|
|
3692
|
-
let r = t[e];
|
|
3693
|
-
if (r === "," && e > 0 && e + 1 < t.length) {
|
|
3694
|
-
let i = t[e - 1], a = t[e + 1];
|
|
3695
|
-
Hn(i, a) && (r = i + "," + a, e++, n.pop());
|
|
3696
|
-
}
|
|
3697
|
-
n.push(Un(r));
|
|
3698
|
-
}
|
|
3699
|
-
return n.join("");
|
|
3700
|
-
}, "parseGenericTypes"), Vn = /* @__PURE__ */ n((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), Hn = /* @__PURE__ */ n((e, t) => {
|
|
3701
|
-
let n = Vn(e, "~"), r = Vn(t, "~");
|
|
3702
|
-
return n === 1 && r === 1;
|
|
3703
|
-
}, "shouldCombineSets"), Un = /* @__PURE__ */ n((e) => {
|
|
3704
|
-
let t = Vn(e, "~"), n = !1;
|
|
3705
|
-
if (t <= 1) return e;
|
|
3706
|
-
t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
|
|
3707
|
-
let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
3708
|
-
for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
3709
|
-
return n && r.unshift("~"), r.join("");
|
|
3710
|
-
}, "processSet"), Wn = /* @__PURE__ */ n(() => window.MathMLElement !== void 0, "isMathMLSupported"), Gn = /\$\$(.*?)\$\$/g, Kn = /* @__PURE__ */ n((e) => (e.match(Gn)?.length ?? 0) > 0, "hasKatex"), qn = /* @__PURE__ */ n(async (e, t) => {
|
|
3711
|
-
let n = document.createElement("div");
|
|
3712
|
-
n.innerHTML = await Yn(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
|
|
3713
|
-
let r = {
|
|
3714
|
-
width: n.clientWidth,
|
|
3715
|
-
height: n.clientHeight
|
|
3716
|
-
};
|
|
3717
|
-
return n.remove(), r;
|
|
3718
|
-
}, "calculateMathMLDimensions"), Jn = /* @__PURE__ */ n(async (e, t) => {
|
|
3719
|
-
if (!Kn(e)) return e;
|
|
3720
|
-
if (!(Wn() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Gn, "MathML is unsupported in this environment.");
|
|
3721
|
-
{
|
|
3722
|
-
let { default: n } = await import("./katex-BMQ6LGsM.js"), r = t.forceLegacyMathML || !Wn() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
3723
|
-
return e.split(wn).map((e) => Kn(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Gn, (e, t) => n.renderToString(t, {
|
|
3724
|
-
throwOnError: !0,
|
|
3725
|
-
displayMode: !0,
|
|
3726
|
-
output: r
|
|
3727
|
-
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
3728
|
-
}
|
|
3729
|
-
return e.replace(Gn, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
3730
|
-
}, "renderKatexUnsanitized"), Yn = /* @__PURE__ */ n(async (e, t) => jn(await Jn(e, t), t), "renderKatexSanitized"), Xn = {
|
|
3731
|
-
getRows: En,
|
|
3732
|
-
sanitizeText: jn,
|
|
3733
|
-
sanitizeTextOrArray: Mn,
|
|
3734
|
-
hasBreaks: Nn,
|
|
3735
|
-
splitBreaks: Pn,
|
|
3736
|
-
lineBreakRegex: wn,
|
|
3737
|
-
removeScript: kn,
|
|
3738
|
-
getUrl: Ln,
|
|
3739
|
-
evaluate: rn,
|
|
3740
|
-
getMax: Rn,
|
|
3741
|
-
getMin: zn
|
|
3742
|
-
}, Zn = /* @__PURE__ */ n(function(e, t) {
|
|
3743
|
-
for (let n of t) e.attr(n[0], n[1]);
|
|
3744
|
-
}, "d3Attrs"), Qn = /* @__PURE__ */ n(function(e, t, n) {
|
|
3745
|
-
let r = /* @__PURE__ */ new Map();
|
|
3746
|
-
return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
|
|
3747
|
-
}, "calculateSvgSizeAttrs"), $n = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
3748
|
-
Zn(e, Qn(t, n, r));
|
|
3749
|
-
}, "configureSvgSize"), er = /* @__PURE__ */ n(function(t, n, r, i) {
|
|
3750
|
-
let a = n.node().getBBox(), o = a.width, s = a.height;
|
|
3751
|
-
e.info(`SVG bounds: ${o}x${s}`, a);
|
|
3752
|
-
let c = 0, l = 0;
|
|
3753
|
-
e.info(`Graph bounds: ${c}x${l}`, t), c = o + r * 2, l = s + r * 2, e.info(`Calculated bounds: ${c}x${l}`), $n(n, l, c, i);
|
|
3754
|
-
let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
|
|
3755
|
-
n.attr("viewBox", u);
|
|
3756
|
-
}, "setupGraphViewbox"), tr = {};
|
|
3757
|
-
function nr(e) {
|
|
3758
|
-
return [...e.cssRules].map((e) => e.cssText).join("\n");
|
|
3759
|
-
}
|
|
3760
|
-
n(nr, "cssStyleSheetToString");
|
|
3761
|
-
var rr = /* @__PURE__ */ n((t, n, r, i) => {
|
|
3762
|
-
let a = "";
|
|
3763
|
-
return t in tr && tr[t] ? a = tr[t]({
|
|
3764
|
-
...r,
|
|
3765
|
-
svgId: i
|
|
3766
|
-
}) : e.warn(`No theme found for ${t}`), `& {
|
|
3767
|
-
font-family: ${r.fontFamily};
|
|
3768
|
-
font-size: ${r.fontSize};
|
|
3769
|
-
fill: ${r.textColor}
|
|
3770
|
-
}
|
|
3771
|
-
@keyframes edge-animation-frame {
|
|
3772
|
-
from {
|
|
3773
|
-
stroke-dashoffset: 0;
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
@keyframes dash {
|
|
3777
|
-
to {
|
|
3778
|
-
stroke-dashoffset: 0;
|
|
3779
|
-
}
|
|
3780
|
-
}
|
|
3781
|
-
& .edge-animation-slow {
|
|
3782
|
-
stroke-dasharray: 9,5 !important;
|
|
3783
|
-
stroke-dashoffset: 900;
|
|
3784
|
-
animation: dash 50s linear infinite;
|
|
3785
|
-
stroke-linecap: round;
|
|
3786
|
-
}
|
|
3787
|
-
& .edge-animation-fast {
|
|
3788
|
-
stroke-dasharray: 9,5 !important;
|
|
3789
|
-
stroke-dashoffset: 900;
|
|
3790
|
-
animation: dash 20s linear infinite;
|
|
3791
|
-
stroke-linecap: round;
|
|
3792
|
-
}
|
|
3793
|
-
/* Classes common for multiple diagrams */
|
|
3794
|
-
|
|
3795
|
-
& .error-icon {
|
|
3796
|
-
fill: ${r.errorBkgColor};
|
|
3797
|
-
}
|
|
3798
|
-
& .error-text {
|
|
3799
|
-
fill: ${r.errorTextColor};
|
|
3800
|
-
stroke: ${r.errorTextColor};
|
|
3801
|
-
}
|
|
3802
|
-
|
|
3803
|
-
& .edge-thickness-normal {
|
|
3804
|
-
stroke-width: ${r.strokeWidth ?? 1}px;
|
|
3805
|
-
}
|
|
3806
|
-
& .edge-thickness-thick {
|
|
3807
|
-
stroke-width: 3.5px
|
|
3808
|
-
}
|
|
3809
|
-
& .edge-pattern-solid {
|
|
3810
|
-
stroke-dasharray: 0;
|
|
3811
|
-
}
|
|
3812
|
-
& .edge-thickness-invisible {
|
|
3813
|
-
stroke-width: 0;
|
|
3814
|
-
fill: none;
|
|
3815
|
-
}
|
|
3816
|
-
& .edge-pattern-dashed{
|
|
3817
|
-
stroke-dasharray: 3;
|
|
3818
|
-
}
|
|
3819
|
-
.edge-pattern-dotted {
|
|
3820
|
-
stroke-dasharray: 2;
|
|
3821
|
-
}
|
|
3822
|
-
|
|
3823
|
-
& .marker {
|
|
3824
|
-
fill: ${r.lineColor};
|
|
3825
|
-
stroke: ${r.lineColor};
|
|
3826
|
-
}
|
|
3827
|
-
& .marker.cross {
|
|
3828
|
-
stroke: ${r.lineColor};
|
|
3829
|
-
}
|
|
3830
|
-
|
|
3831
|
-
& svg {
|
|
3832
|
-
font-family: ${r.fontFamily};
|
|
3833
|
-
font-size: ${r.fontSize};
|
|
3834
|
-
}
|
|
3835
|
-
& p {
|
|
3836
|
-
margin: 0
|
|
3837
|
-
}
|
|
3838
|
-
|
|
3839
|
-
${a}
|
|
3840
|
-
.node .neo-node {
|
|
3841
|
-
stroke: ${r.nodeBorder};
|
|
3842
|
-
}
|
|
3843
|
-
|
|
3844
|
-
[data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon {
|
|
3845
|
-
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
3846
|
-
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
3847
|
-
}
|
|
3848
|
-
[data-look="neo"].swimlane.cluster rect {
|
|
3849
|
-
filter: none;
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
[data-look="neo"].node path {
|
|
3854
|
-
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
3855
|
-
stroke-width: ${r.strokeWidth ?? 1}px;
|
|
3856
|
-
}
|
|
3857
|
-
|
|
3858
|
-
[data-look="neo"].node .outer-path {
|
|
3859
|
-
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
3860
|
-
}
|
|
3861
|
-
|
|
3862
|
-
[data-look="neo"].node .neo-line path {
|
|
3863
|
-
stroke: ${r.nodeBorder};
|
|
3864
|
-
filter: none;
|
|
3865
|
-
}
|
|
3866
|
-
|
|
3867
|
-
[data-look="neo"].node circle{
|
|
3868
|
-
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
3869
|
-
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
3870
|
-
}
|
|
3871
|
-
|
|
3872
|
-
[data-look="neo"].node circle .state-start{
|
|
3873
|
-
fill: #000000;
|
|
3874
|
-
}
|
|
3875
|
-
|
|
3876
|
-
[data-look="neo"].icon-shape .icon {
|
|
3877
|
-
fill: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
3878
|
-
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
3879
|
-
}
|
|
3880
|
-
|
|
3881
|
-
[data-look="neo"].icon-shape .icon-neo path {
|
|
3882
|
-
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
3883
|
-
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
3884
|
-
}
|
|
3885
|
-
|
|
3886
|
-
${n}
|
|
3887
|
-
`;
|
|
3888
|
-
}, "getStyles"), ir = /* @__PURE__ */ n((e, t) => {
|
|
3889
|
-
t !== void 0 && (tr[e] = t);
|
|
3890
|
-
}, "addStylesForDiagram"), ar = rr, or = {};
|
|
3891
|
-
r(or, {
|
|
3892
|
-
clear: () => dr,
|
|
3893
|
-
getAccDescription: () => hr,
|
|
3894
|
-
getAccTitle: () => pr,
|
|
3895
|
-
getDiagramTitle: () => _r,
|
|
3896
|
-
setAccDescription: () => mr,
|
|
3897
|
-
setAccTitle: () => fr,
|
|
3898
|
-
setDiagramTitle: () => gr
|
|
3899
|
-
});
|
|
3900
|
-
var sr = "", cr = "", lr = "", ur = /* @__PURE__ */ n((e) => jn(e, hn()), "sanitizeText"), dr = /* @__PURE__ */ n(() => {
|
|
3901
|
-
sr = "", lr = "", cr = "";
|
|
3902
|
-
}, "clear"), fr = /* @__PURE__ */ n((e) => {
|
|
3903
|
-
sr = ur(e).replace(/^\s+/g, "");
|
|
3904
|
-
}, "setAccTitle"), pr = /* @__PURE__ */ n(() => sr, "getAccTitle"), mr = /* @__PURE__ */ n((e) => {
|
|
3905
|
-
lr = ur(e).replace(/\n\s+/g, "\n");
|
|
3906
|
-
}, "setAccDescription"), hr = /* @__PURE__ */ n(() => lr, "getAccDescription"), gr = /* @__PURE__ */ n((e) => {
|
|
3907
|
-
cr = ur(e);
|
|
3908
|
-
}, "setDiagramTitle"), _r = /* @__PURE__ */ n(() => cr, "getDiagramTitle"), vr = e, yr = t, br = hn, xr = mn, Sr = $t, Cr = /* @__PURE__ */ n((e) => jn(e, br()), "sanitizeText"), wr = er, Tr = /* @__PURE__ */ n(() => or, "getCommonDb"), Er = {}, Dr = /* @__PURE__ */ n((e, t, n) => {
|
|
3909
|
-
Er[e] && vr.warn(`Diagram with id ${e} already registered. Overwriting.`), Er[e] = t, n && R(e, n), ir(e, t.styles), t.injectUtils?.(vr, yr, br, Cr, wr, Tr(), () => {});
|
|
3910
|
-
}, "registerDiagram"), Or = /* @__PURE__ */ n((e) => {
|
|
3911
|
-
if (e in Er) return Er[e];
|
|
3912
|
-
throw new kr(e);
|
|
3913
|
-
}, "getDiagram"), kr = class extends Error {
|
|
3914
|
-
static {
|
|
3915
|
-
n(this, "DiagramNotFoundError");
|
|
3916
|
-
}
|
|
3917
|
-
constructor(e) {
|
|
3918
|
-
super(`Diagram ${e} not found.`);
|
|
3919
|
-
}
|
|
3920
|
-
};
|
|
3921
|
-
//#endregion
|
|
3922
|
-
export { fn as $, Kn as A, Cr as B, Ct as C, W as D, pn as E, Yn as F, xr as G, mr as H, vn as I, un as J, ln as K, Qt as L, Bn as M, Dr as N, Ln as O, St as P, G as Q, Zt as R, Or as S, Cn as T, fr as U, dn as V, mn as W, wr as X, er as Y, ar as Z, vt as _, dr as a, h as at, hn as b, $n as c, Sr as d, _t as et, Kt as f, rn as g, F as h, qn as i, _ as it, wn as j, Sn as k, nr as l, L as m, _n as n, y as nt, or as o, m as ot, xt as p, gr as q, z as r, v as rt, Xn as s, a as st, bt as t, b as tt, $t as u, hr as v, _r as w, br as x, pr as y, jn as z };
|