@alfadocs/ui-kit-debug 0.73.0 → 0.77.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/dist/_chunks/actions-cell-renderer-DLrcSTK_.js +1546 -0
- package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js.map +1 -0
- package/dist/_chunks/{address-fields-COyjgqxA.js → address-fields-7k59FnJ6.js} +2 -2
- package/dist/_chunks/{address-fields-COyjgqxA.js.map → address-fields-7k59FnJ6.js.map} +1 -1
- package/dist/_chunks/{ai-prompt-input-DFm58UjY.js → ai-prompt-input-DziJCGLe.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DFm58UjY.js.map → ai-prompt-input-DziJCGLe.js.map} +1 -1
- package/dist/_chunks/{audio-recorder-CjAY0GAc.js → audio-recorder-Cc3KuL9y.js} +2 -2
- package/dist/_chunks/{audio-recorder-CjAY0GAc.js.map → audio-recorder-Cc3KuL9y.js.map} +1 -1
- package/dist/_chunks/{bishop-score-Bs6t6Zv1.js → bishop-score-DDW5-gb9.js} +2 -2
- package/dist/_chunks/{bishop-score-Bs6t6Zv1.js.map → bishop-score-DDW5-gb9.js.map} +1 -1
- package/dist/_chunks/{booking-CWnZhZ5g.js → booking-CLmeXtGv.js} +3 -3
- package/dist/_chunks/{booking-CWnZhZ5g.js.map → booking-CLmeXtGv.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-CfIP3Vc1.js → care-plan-card-BrwhyIJI.js} +2 -2
- package/dist/_chunks/{care-plan-card-CfIP3Vc1.js.map → care-plan-card-BrwhyIJI.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-CRbS-G00.js → care-plan-entry-card-DWEdCQM3.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-CRbS-G00.js.map → care-plan-entry-card-DWEdCQM3.js.map} +1 -1
- package/dist/_chunks/{country-select-DYHDLEjG.js → country-select-BN9nedAp.js} +2 -2
- package/dist/_chunks/{country-select-DYHDLEjG.js.map → country-select-BN9nedAp.js.map} +1 -1
- package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
- package/dist/_chunks/data-table-tabs-BEUXiRlu.js.map +1 -0
- package/dist/_chunks/document-preview-CvHnHf6T.js +243 -0
- package/dist/_chunks/document-preview-CvHnHf6T.js.map +1 -0
- package/dist/_chunks/{document-scanner-BE6Jz4Ob.js → document-scanner-B6h1Ir56.js} +2 -2
- package/dist/_chunks/{document-scanner-BE6Jz4Ob.js.map → document-scanner-B6h1Ir56.js.map} +1 -1
- package/dist/_chunks/{field-value-DCXJXKab.js → field-value-DHG6gEKS.js} +2 -2
- package/dist/_chunks/{field-value-DCXJXKab.js.map → field-value-DHG6gEKS.js.map} +1 -1
- package/dist/_chunks/file-Cwe9VC1A.js +40 -0
- package/dist/_chunks/file-Cwe9VC1A.js.map +1 -0
- package/dist/_chunks/file-manager-DfTG7bxx.js +1771 -0
- package/dist/_chunks/file-manager-DfTG7bxx.js.map +1 -0
- package/dist/_chunks/{file-upload-B2SXhRiN.js → file-upload-DENvuhfs.js} +98 -129
- package/dist/_chunks/file-upload-DENvuhfs.js.map +1 -0
- package/dist/_chunks/flag-Cnmivlrl.js +641 -0
- package/dist/_chunks/{flag-DZ6V7-hU.js.map → flag-Cnmivlrl.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-C9Dfis4I.js → gestational-age-calculator-BpYw-WF-.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-C9Dfis4I.js.map → gestational-age-calculator-BpYw-WF-.js.map} +1 -1
- package/dist/_chunks/{header-settings-CRQDCYgr.js → header-settings-DMfdx0Vq.js} +2 -2
- package/dist/_chunks/{header-settings-CRQDCYgr.js.map → header-settings-DMfdx0Vq.js.map} +1 -1
- package/dist/_chunks/{icon-picker-BePK27S-.js → icon-picker-CM9ubkew.js} +2 -2
- package/dist/_chunks/{icon-picker-BePK27S-.js.map → icon-picker-CM9ubkew.js.map} +1 -1
- package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
- package/dist/_chunks/link-cell-renderer-BQGUs45d.js.map +1 -0
- package/dist/_chunks/{locale-picker-Cbfqc0_N.js → locale-picker-EyvPrwDc.js} +3 -3
- package/dist/_chunks/{locale-picker-Cbfqc0_N.js.map → locale-picker-EyvPrwDc.js.map} +1 -1
- package/dist/_chunks/{marketplace-app-shell-Dm6S-hun.js → marketplace-app-shell-Bxq1PYAj.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-Dm6S-hun.js.map → marketplace-app-shell-Bxq1PYAj.js.map} +1 -1
- package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
- package/dist/_chunks/{muscle-scheme-B9MIkuj0.js.map → muscle-scheme-CFBE2dme.js.map} +1 -1
- package/dist/_chunks/{notes-panel-B_8-Mebz.js → notes-panel-Cvdp818a.js} +2 -2
- package/dist/_chunks/{notes-panel-B_8-Mebz.js.map → notes-panel-Cvdp818a.js.map} +1 -1
- package/dist/_chunks/{optical-prescription-BQ75_kf6.js → optical-prescription-BEjYQjiO.js} +2 -2
- package/dist/_chunks/{optical-prescription-BQ75_kf6.js.map → optical-prescription-BEjYQjiO.js.map} +1 -1
- package/dist/_chunks/{patient-details-JkOI3Ijd.js → patient-details-zy76MRh7.js} +5 -5
- package/dist/_chunks/{patient-details-JkOI3Ijd.js.map → patient-details-zy76MRh7.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-CQOLMH3E.js → patient-summary-card-D6kgdTNn.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CQOLMH3E.js.map → patient-summary-card-D6kgdTNn.js.map} +1 -1
- package/dist/_chunks/{patient-table-B_mOe-ZT.js → patient-table-DweKjiXg.js} +122 -118
- package/dist/_chunks/patient-table-DweKjiXg.js.map +1 -0
- package/dist/_chunks/periodontal-chart-CYBhr9vc.js +1305 -0
- package/dist/_chunks/periodontal-chart-CYBhr9vc.js.map +1 -0
- package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
- package/dist/_chunks/periodontal-diagnosis-cco40xTa.js.map +1 -0
- package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
- package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js.map +1 -0
- package/dist/_chunks/{phone-input-dtnrvnZf.js → phone-input-D00ZBAm-.js} +2 -2
- package/dist/_chunks/{phone-input-dtnrvnZf.js.map → phone-input-D00ZBAm-.js.map} +1 -1
- package/dist/_chunks/{popover-DGTKfLWh.js → popover-Cc0a69sw.js} +31 -28
- package/dist/_chunks/{popover-DGTKfLWh.js.map → popover-Cc0a69sw.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-IsDVfqJX.js → pregnancy-dating-msMl_6wz.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-IsDVfqJX.js.map → pregnancy-dating-msMl_6wz.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-e488ooH8.js → radiograph-panel.agent-CxF9pVxd.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-e488ooH8.js.map → radiograph-panel.agent-CxF9pVxd.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-CgA2bYwi.js → rich-text-editor-CCWjNkbx.js} +186 -177
- package/dist/_chunks/rich-text-editor-CCWjNkbx.js.map +1 -0
- package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
- package/dist/_chunks/{select-BmCbJMJS.js.map → select-BW5ecXlX.js.map} +1 -1
- package/dist/_chunks/{sidebar-CtU35PIX.js → sidebar-C0PbwJBc.js} +357 -320
- package/dist/_chunks/sidebar-C0PbwJBc.js.map +1 -0
- package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
- package/dist/_chunks/signature-request-C-mskXwi.js.map +1 -0
- package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
- package/dist/_chunks/{tabs-DVQ941Sj.js.map → tabs-CVTukWRD.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-LCK5ZXvU.js → tasks-panel-CjGAhIN8.js} +2 -2
- package/dist/_chunks/{tasks-panel-LCK5ZXvU.js.map → tasks-panel-CjGAhIN8.js.map} +1 -1
- package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
- package/dist/_chunks/tooth-data-BwuoKFf4.js.map +1 -0
- package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
- package/dist/_chunks/tooth-scheme-BzJ6rcte.js.map +1 -0
- package/dist/_chunks/{unit-converter-3uL_tMCm.js → unit-converter-CSLWFDQh.js} +2 -2
- package/dist/_chunks/{unit-converter-3uL_tMCm.js.map → unit-converter-CSLWFDQh.js.map} +1 -1
- package/dist/agent-catalog.json +1430 -213
- package/dist/agent-i18n/en.json +86 -5
- package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/filters/number-filter.d.ts.map +1 -1
- package/dist/components/data-table/index.js +35 -34
- package/dist/components/data-table/index.js.map +1 -1
- package/dist/components/data-table/toolbar.d.ts +1 -1
- package/dist/components/data-table/toolbar.d.ts.map +1 -1
- package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
- package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts.map +1 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts.map +1 -0
- package/dist/components/data-table-tabs/index.d.ts +5 -0
- package/dist/components/data-table-tabs/index.d.ts.map +1 -0
- package/dist/components/data-table-tabs/index.js +8 -0
- package/dist/components/data-table-tabs/index.js.map +1 -0
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts.map +1 -0
- package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
- package/dist/components/document-preview/document-preview.agent.d.ts.map +1 -0
- package/dist/components/document-preview/document-preview.d.ts +64 -0
- package/dist/components/document-preview/document-preview.d.ts.map +1 -0
- package/dist/components/document-preview/index.d.ts +4 -0
- package/dist/components/document-preview/index.d.ts.map +1 -0
- package/dist/components/document-preview/index.js +6 -0
- package/dist/components/document-preview/index.js.map +1 -0
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/file-manager/dialogs.d.ts +48 -0
- package/dist/components/file-manager/dialogs.d.ts.map +1 -0
- package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
- package/dist/components/file-manager/file-manager.agent.d.ts.map +1 -0
- package/dist/components/file-manager/file-manager.d.ts +82 -0
- package/dist/components/file-manager/file-manager.d.ts.map +1 -0
- package/dist/components/file-manager/folder-tree.d.ts +12 -0
- package/dist/components/file-manager/folder-tree.d.ts.map +1 -0
- package/dist/components/file-manager/index.d.ts +5 -0
- package/dist/components/file-manager/index.d.ts.map +1 -0
- package/dist/components/file-manager/index.js +6 -0
- package/dist/components/file-manager/index.js.map +1 -0
- package/dist/components/file-manager/list-view.d.ts +49 -0
- package/dist/components/file-manager/list-view.d.ts.map +1 -0
- package/dist/components/file-manager/toolbar.d.ts +15 -0
- package/dist/components/file-manager/toolbar.d.ts.map +1 -0
- package/dist/components/file-manager/types.d.ts +167 -0
- package/dist/components/file-manager/types.d.ts.map +1 -0
- package/dist/components/file-manager/utils.d.ts +34 -0
- package/dist/components/file-manager/utils.d.ts.map +1 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/flag/flag.d.ts.map +1 -1
- package/dist/components/flag/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-card/message-card.d.ts +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/columns.d.ts.map +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/payment-card.d.ts +1 -1
- package/dist/components/payment-card/payment-request-card.d.ts +1 -1
- package/dist/components/periodontal-chart/index.d.ts +6 -0
- package/dist/components/periodontal-chart/index.d.ts.map +1 -0
- package/dist/components/periodontal-chart/index.js +23 -0
- package/dist/components/periodontal-chart/index.js.map +1 -0
- package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +164 -0
- package/dist/components/periodontal-chart/periodontal-chart-data.d.ts.map +1 -0
- package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts.map +1 -0
- package/dist/components/periodontal-chart/periodontal-chart.d.ts +71 -0
- package/dist/components/periodontal-chart/periodontal-chart.d.ts.map +1 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
- package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
- package/dist/components/periodontal-diagnosis/index.d.ts.map +1 -0
- package/dist/components/periodontal-diagnosis/index.js +13 -0
- package/dist/components/periodontal-diagnosis/index.js.map +1 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts.map +1 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts.map +1 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
- package/dist/components/periodontal-risk-chart/index.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/index.js +9 -0
- package/dist/components/periodontal-risk-chart/index.js.map +1 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts.map +1 -0
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -0
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/product-hub-panel.d.ts +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +9 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/skeleton-scheme/index.js +5 -13
- package/dist/components/skeleton-scheme/index.js.map +1 -1
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +29 -28
- package/dist/components/tooth-scheme/index.js.map +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +321 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +321 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +321 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +321 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +321 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +321 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +321 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +321 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +321 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +321 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +321 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +321 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +321 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +321 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +321 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +321 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +321 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +321 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +321 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +321 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +321 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +321 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +321 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +321 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +321 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +321 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +321 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +321 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +321 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +321 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +321 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +321 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +321 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +321 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +321 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +321 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +834 -783
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +321 -0
- package/dist/locales/de.json +321 -0
- package/dist/locales/el.json +321 -0
- package/dist/locales/en.json +321 -0
- package/dist/locales/es.json +321 -0
- package/dist/locales/fr.json +321 -0
- package/dist/locales/hi.json +321 -0
- package/dist/locales/it.json +321 -0
- package/dist/locales/ja.json +321 -0
- package/dist/locales/nl.json +321 -0
- package/dist/locales/pl.json +321 -0
- package/dist/locales/pt.json +321 -0
- package/dist/locales/ro.json +321 -0
- package/dist/locales/ru.json +321 -0
- package/dist/locales/sq.json +321 -0
- package/dist/locales/sv.json +321 -0
- package/dist/locales/tr.json +321 -0
- package/dist/locales/zh.json +321 -0
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.d.ts +3 -0
- package/dist/patterns/signature-request/index.d.ts.map +1 -0
- package/dist/patterns/signature-request/index.js +5 -0
- package/dist/patterns/signature-request/index.js.map +1 -0
- package/dist/patterns/signature-request/signature-request.d.ts +81 -0
- package/dist/patterns/signature-request/signature-request.d.ts.map +1 -0
- package/dist/tokens.css +1 -1
- package/package.json +29 -1
- package/dist/_chunks/columns-2-8lq4-b8e.js +0 -15
- package/dist/_chunks/columns-2-8lq4-b8e.js.map +0 -1
- package/dist/_chunks/file-upload-B2SXhRiN.js.map +0 -1
- package/dist/_chunks/flag-DZ6V7-hU.js +0 -637
- package/dist/_chunks/link-cell-renderer-CLI7sBkX.js +0 -2210
- package/dist/_chunks/link-cell-renderer-CLI7sBkX.js.map +0 -1
- package/dist/_chunks/patient-table-B_mOe-ZT.js.map +0 -1
- package/dist/_chunks/rich-text-editor-CgA2bYwi.js.map +0 -1
- package/dist/_chunks/sidebar-CtU35PIX.js.map +0 -1
- package/dist/_chunks/tooth-scheme-CX49GycY.js +0 -2133
- package/dist/_chunks/tooth-scheme-CX49GycY.js.map +0 -1
|
@@ -16,169 +16,178 @@ import { M as ft } from "./mic-CUklMZGF.js";
|
|
|
16
16
|
import { S as Wt } from "./send-C5kDJ-Mz.js";
|
|
17
17
|
import { B as ie } from "./button-CPGiR_bH.js";
|
|
18
18
|
import { a as pt } from "./tooltip-DvmfrNvB.js";
|
|
19
|
-
import { P as q } from "./popover-
|
|
19
|
+
import { P as q } from "./popover-Cc0a69sw.js";
|
|
20
20
|
import { D as Ae } from "./dropdown-menu-DU-Hrf33.js";
|
|
21
21
|
import { D as B } from "./dialog-UbKJCi1X.js";
|
|
22
22
|
import { C as We } from "./color-picker-D-tUwxxT.js";
|
|
23
23
|
import { T as Ie } from "./text-input-CUvCb6ST.js";
|
|
24
24
|
import { C as Xt } from "./checkbox-BuZ1u__2.js";
|
|
25
|
-
import { F as Ut } from "./file-upload-
|
|
25
|
+
import { F as Ut } from "./file-upload-DENvuhfs.js";
|
|
26
26
|
import { c as T } from "./createLucideIcon-DhHxpK9K.js";
|
|
27
27
|
import { E as Qt } from "./ellipsis-dRo9ouSU.js";
|
|
28
28
|
import { H as Zt } from "./highlighter-DSkckT2Q.js";
|
|
29
29
|
import { I as Yt } from "./image-B_5MNK0x.js";
|
|
30
30
|
import { C as Jt } from "./chevron-down-DWE7GSq9.js";
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { A as rr } from "./astroid-BN4f5VXU.js";
|
|
31
|
+
import { T as er } from "./trash-2-uumy3fy1.js";
|
|
32
|
+
import { A as tr } from "./astroid-BN4f5VXU.js";
|
|
34
33
|
/**
|
|
35
34
|
* @license lucide-react v1.22.0 - ISC
|
|
36
35
|
*
|
|
37
36
|
* This source code is licensed under the ISC license.
|
|
38
37
|
* See the LICENSE file in the root directory of this source tree.
|
|
39
38
|
*/
|
|
40
|
-
const
|
|
39
|
+
const rr = [
|
|
41
40
|
["path", { d: "M4 20h16", key: "14thso" }],
|
|
42
41
|
["path", { d: "m6 16 6-12 6 12", key: "1b4byz" }],
|
|
43
42
|
["path", { d: "M8 12h8", key: "1wcyev" }]
|
|
44
|
-
],
|
|
43
|
+
], nr = T("baseline", rr);
|
|
45
44
|
/**
|
|
46
45
|
* @license lucide-react v1.22.0 - ISC
|
|
47
46
|
*
|
|
48
47
|
* This source code is licensed under the ISC license.
|
|
49
48
|
* See the LICENSE file in the root directory of this source tree.
|
|
50
49
|
*/
|
|
51
|
-
const
|
|
50
|
+
const or = [
|
|
52
51
|
["rect", { width: "13", height: "7", x: "3", y: "3", rx: "1", key: "11xb64" }],
|
|
53
52
|
["path", { d: "m22 15-3-3 3-3", key: "26chmm" }],
|
|
54
53
|
["rect", { width: "13", height: "7", x: "3", y: "14", rx: "1", key: "k6ky7n" }]
|
|
55
|
-
],
|
|
54
|
+
], ir = T("between-horizontal-end", or);
|
|
56
55
|
/**
|
|
57
56
|
* @license lucide-react v1.22.0 - ISC
|
|
58
57
|
*
|
|
59
58
|
* This source code is licensed under the ISC license.
|
|
60
59
|
* See the LICENSE file in the root directory of this source tree.
|
|
61
60
|
*/
|
|
62
|
-
const
|
|
61
|
+
const ar = [
|
|
63
62
|
["rect", { width: "13", height: "7", x: "8", y: "3", rx: "1", key: "pkso9a" }],
|
|
64
63
|
["path", { d: "m2 9 3 3-3 3", key: "1agib5" }],
|
|
65
64
|
["rect", { width: "13", height: "7", x: "8", y: "14", rx: "1", key: "1q5fc1" }]
|
|
66
|
-
],
|
|
65
|
+
], sr = T("between-horizontal-start", ar);
|
|
67
66
|
/**
|
|
68
67
|
* @license lucide-react v1.22.0 - ISC
|
|
69
68
|
*
|
|
70
69
|
* This source code is licensed under the ISC license.
|
|
71
70
|
* See the LICENSE file in the root directory of this source tree.
|
|
72
71
|
*/
|
|
73
|
-
const
|
|
72
|
+
const lr = [
|
|
74
73
|
["rect", { width: "7", height: "13", x: "3", y: "3", rx: "1", key: "1fdu0f" }],
|
|
75
74
|
["path", { d: "m9 22 3-3 3 3", key: "17z65a" }],
|
|
76
75
|
["rect", { width: "7", height: "13", x: "14", y: "3", rx: "1", key: "1squn4" }]
|
|
77
|
-
],
|
|
76
|
+
], cr = T("between-vertical-end", lr);
|
|
78
77
|
/**
|
|
79
78
|
* @license lucide-react v1.22.0 - ISC
|
|
80
79
|
*
|
|
81
80
|
* This source code is licensed under the ISC license.
|
|
82
81
|
* See the LICENSE file in the root directory of this source tree.
|
|
83
82
|
*/
|
|
84
|
-
const
|
|
83
|
+
const dr = [
|
|
85
84
|
["rect", { width: "7", height: "13", x: "3", y: "8", rx: "1", key: "1fjrkv" }],
|
|
86
85
|
["path", { d: "m15 2-3 3-3-3", key: "1uh6eb" }],
|
|
87
86
|
["rect", { width: "7", height: "13", x: "14", y: "8", rx: "1", key: "w3fjg8" }]
|
|
88
|
-
],
|
|
87
|
+
], ur = T("between-vertical-start", dr);
|
|
89
88
|
/**
|
|
90
89
|
* @license lucide-react v1.22.0 - ISC
|
|
91
90
|
*
|
|
92
91
|
* This source code is licensed under the ISC license.
|
|
93
92
|
* See the LICENSE file in the root directory of this source tree.
|
|
94
93
|
*/
|
|
95
|
-
const
|
|
94
|
+
const mr = [
|
|
96
95
|
[
|
|
97
96
|
"path",
|
|
98
97
|
{ d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8", key: "mg9rjx" }
|
|
99
98
|
]
|
|
100
|
-
],
|
|
99
|
+
], hr = T("bold", mr);
|
|
101
100
|
/**
|
|
102
101
|
* @license lucide-react v1.22.0 - ISC
|
|
103
102
|
*
|
|
104
103
|
* This source code is licensed under the ISC license.
|
|
105
104
|
* See the LICENSE file in the root directory of this source tree.
|
|
106
105
|
*/
|
|
107
|
-
const
|
|
106
|
+
const gr = [
|
|
107
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
108
|
+
["path", { d: "M12 3v18", key: "108xh3" }]
|
|
109
|
+
], fr = T("columns-2", gr);
|
|
110
|
+
/**
|
|
111
|
+
* @license lucide-react v1.22.0 - ISC
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the ISC license.
|
|
114
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
+
*/
|
|
116
|
+
const pr = [
|
|
108
117
|
["path", { d: "M4 12h8", key: "17cfdx" }],
|
|
109
118
|
["path", { d: "M4 18V6", key: "1rz3zl" }],
|
|
110
119
|
["path", { d: "M12 18V6", key: "zqpxq5" }],
|
|
111
120
|
["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1", key: "9jr5yi" }]
|
|
112
|
-
],
|
|
121
|
+
], br = T("heading-2", pr);
|
|
113
122
|
/**
|
|
114
123
|
* @license lucide-react v1.22.0 - ISC
|
|
115
124
|
*
|
|
116
125
|
* This source code is licensed under the ISC license.
|
|
117
126
|
* See the LICENSE file in the root directory of this source tree.
|
|
118
127
|
*/
|
|
119
|
-
const
|
|
128
|
+
const yr = [
|
|
120
129
|
["path", { d: "M4 12h8", key: "17cfdx" }],
|
|
121
130
|
["path", { d: "M4 18V6", key: "1rz3zl" }],
|
|
122
131
|
["path", { d: "M12 18V6", key: "zqpxq5" }],
|
|
123
132
|
["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2", key: "68ncm8" }],
|
|
124
133
|
["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2", key: "1ejuhz" }]
|
|
125
|
-
],
|
|
134
|
+
], vr = T("heading-3", yr);
|
|
126
135
|
/**
|
|
127
136
|
* @license lucide-react v1.22.0 - ISC
|
|
128
137
|
*
|
|
129
138
|
* This source code is licensed under the ISC license.
|
|
130
139
|
* See the LICENSE file in the root directory of this source tree.
|
|
131
140
|
*/
|
|
132
|
-
const
|
|
141
|
+
const wr = [
|
|
133
142
|
["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
|
|
134
143
|
["line", { x1: "14", x2: "5", y1: "20", y2: "20", key: "bu0au3" }],
|
|
135
144
|
["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
|
|
136
|
-
],
|
|
145
|
+
], kr = T("italic", wr);
|
|
137
146
|
/**
|
|
138
147
|
* @license lucide-react v1.22.0 - ISC
|
|
139
148
|
*
|
|
140
149
|
* This source code is licensed under the ISC license.
|
|
141
150
|
* See the LICENSE file in the root directory of this source tree.
|
|
142
151
|
*/
|
|
143
|
-
const
|
|
152
|
+
const xr = [
|
|
144
153
|
["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
|
|
145
154
|
["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
|
|
146
|
-
],
|
|
155
|
+
], Cr = T("link", xr);
|
|
147
156
|
/**
|
|
148
157
|
* @license lucide-react v1.22.0 - ISC
|
|
149
158
|
*
|
|
150
159
|
* This source code is licensed under the ISC license.
|
|
151
160
|
* See the LICENSE file in the root directory of this source tree.
|
|
152
161
|
*/
|
|
153
|
-
const
|
|
162
|
+
const Nr = [
|
|
154
163
|
["path", { d: "M11 5h10", key: "1cz7ny" }],
|
|
155
164
|
["path", { d: "M11 12h10", key: "1438ji" }],
|
|
156
165
|
["path", { d: "M11 19h10", key: "11t30w" }],
|
|
157
166
|
["path", { d: "M4 4h1v5", key: "10yrso" }],
|
|
158
167
|
["path", { d: "M4 9h2", key: "r1h2o0" }],
|
|
159
168
|
["path", { d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02", key: "xtkcd5" }]
|
|
160
|
-
],
|
|
169
|
+
], Mr = T("list-ordered", Nr);
|
|
161
170
|
/**
|
|
162
171
|
* @license lucide-react v1.22.0 - ISC
|
|
163
172
|
*
|
|
164
173
|
* This source code is licensed under the ISC license.
|
|
165
174
|
* See the LICENSE file in the root directory of this source tree.
|
|
166
175
|
*/
|
|
167
|
-
const
|
|
176
|
+
const zr = [
|
|
168
177
|
["path", { d: "M3 5h.01", key: "18ugdj" }],
|
|
169
178
|
["path", { d: "M3 12h.01", key: "nlz23k" }],
|
|
170
179
|
["path", { d: "M3 19h.01", key: "noohij" }],
|
|
171
180
|
["path", { d: "M8 5h13", key: "1pao27" }],
|
|
172
181
|
["path", { d: "M8 12h13", key: "1za7za" }],
|
|
173
182
|
["path", { d: "M8 19h13", key: "m83p4d" }]
|
|
174
|
-
],
|
|
183
|
+
], Tr = T("list", zr);
|
|
175
184
|
/**
|
|
176
185
|
* @license lucide-react v1.22.0 - ISC
|
|
177
186
|
*
|
|
178
187
|
* This source code is licensed under the ISC license.
|
|
179
188
|
* See the LICENSE file in the root directory of this source tree.
|
|
180
189
|
*/
|
|
181
|
-
const
|
|
190
|
+
const _r = [
|
|
182
191
|
["path", { d: "M11 7 6 2", key: "1jwth8" }],
|
|
183
192
|
["path", { d: "M18.992 12H2.041", key: "xw1gg" }],
|
|
184
193
|
[
|
|
@@ -195,25 +204,25 @@ const Tr = [
|
|
|
195
204
|
key: "1nk1rd"
|
|
196
205
|
}
|
|
197
206
|
]
|
|
198
|
-
],
|
|
207
|
+
], Er = T("paint-bucket", _r);
|
|
199
208
|
/**
|
|
200
209
|
* @license lucide-react v1.22.0 - ISC
|
|
201
210
|
*
|
|
202
211
|
* This source code is licensed under the ISC license.
|
|
203
212
|
* See the LICENSE file in the root directory of this source tree.
|
|
204
213
|
*/
|
|
205
|
-
const
|
|
214
|
+
const Ar = [
|
|
206
215
|
["rect", { width: "16", height: "6", x: "2", y: "2", rx: "2", key: "jcyz7m" }],
|
|
207
216
|
["path", { d: "M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2", key: "1b9h7c" }],
|
|
208
217
|
["rect", { width: "4", height: "6", x: "8", y: "16", rx: "1", key: "d6e7yl" }]
|
|
209
|
-
],
|
|
218
|
+
], Rr = T("paint-roller", Ar);
|
|
210
219
|
/**
|
|
211
220
|
* @license lucide-react v1.22.0 - ISC
|
|
212
221
|
*
|
|
213
222
|
* This source code is licensed under the ISC license.
|
|
214
223
|
* See the LICENSE file in the root directory of this source tree.
|
|
215
224
|
*/
|
|
216
|
-
const
|
|
225
|
+
const Sr = [
|
|
217
226
|
[
|
|
218
227
|
"path",
|
|
219
228
|
{
|
|
@@ -225,68 +234,68 @@ const Rr = [
|
|
|
225
234
|
["circle", { cx: "17.5", cy: "10.5", r: ".5", fill: "currentColor", key: "f64h9f" }],
|
|
226
235
|
["circle", { cx: "6.5", cy: "12.5", r: ".5", fill: "currentColor", key: "qy21gx" }],
|
|
227
236
|
["circle", { cx: "8.5", cy: "7.5", r: ".5", fill: "currentColor", key: "fotxhn" }]
|
|
228
|
-
],
|
|
237
|
+
], Ir = T("palette", Sr);
|
|
229
238
|
/**
|
|
230
239
|
* @license lucide-react v1.22.0 - ISC
|
|
231
240
|
*
|
|
232
241
|
* This source code is licensed under the ISC license.
|
|
233
242
|
* See the LICENSE file in the root directory of this source tree.
|
|
234
243
|
*/
|
|
235
|
-
const
|
|
244
|
+
const Lr = [
|
|
236
245
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
237
246
|
["path", { d: "M9 3v18", key: "fh3hqa" }]
|
|
238
|
-
],
|
|
247
|
+
], Hr = T("panel-left", Lr);
|
|
239
248
|
/**
|
|
240
249
|
* @license lucide-react v1.22.0 - ISC
|
|
241
250
|
*
|
|
242
251
|
* This source code is licensed under the ISC license.
|
|
243
252
|
* See the LICENSE file in the root directory of this source tree.
|
|
244
253
|
*/
|
|
245
|
-
const
|
|
254
|
+
const $r = [
|
|
246
255
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
247
256
|
["path", { d: "M15 3v18", key: "14nvp0" }]
|
|
248
|
-
],
|
|
257
|
+
], Dr = T("panel-right", $r);
|
|
249
258
|
/**
|
|
250
259
|
* @license lucide-react v1.22.0 - ISC
|
|
251
260
|
*
|
|
252
261
|
* This source code is licensed under the ISC license.
|
|
253
262
|
* See the LICENSE file in the root directory of this source tree.
|
|
254
263
|
*/
|
|
255
|
-
const
|
|
264
|
+
const Pr = [
|
|
256
265
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
257
266
|
["path", { d: "M14 9h1", key: "l0svgy" }],
|
|
258
267
|
["path", { d: "M19 9h2", key: "te2zfg" }],
|
|
259
268
|
["path", { d: "M3 9h2", key: "1h4ldw" }],
|
|
260
269
|
["path", { d: "M9 9h1", key: "15jzuz" }]
|
|
261
|
-
],
|
|
270
|
+
], Or = T("panel-top-dashed", Pr);
|
|
262
271
|
/**
|
|
263
272
|
* @license lucide-react v1.22.0 - ISC
|
|
264
273
|
*
|
|
265
274
|
* This source code is licensed under the ISC license.
|
|
266
275
|
* See the LICENSE file in the root directory of this source tree.
|
|
267
276
|
*/
|
|
268
|
-
const
|
|
277
|
+
const qr = [
|
|
269
278
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
270
279
|
["path", { d: "M3 9h18", key: "1pudct" }]
|
|
271
|
-
],
|
|
280
|
+
], jr = T("panel-top", qr);
|
|
272
281
|
/**
|
|
273
282
|
* @license lucide-react v1.22.0 - ISC
|
|
274
283
|
*
|
|
275
284
|
* This source code is licensed under the ISC license.
|
|
276
285
|
* See the LICENSE file in the root directory of this source tree.
|
|
277
286
|
*/
|
|
278
|
-
const
|
|
287
|
+
const Fr = [
|
|
279
288
|
["path", { d: "M13 4v16", key: "8vvj80" }],
|
|
280
289
|
["path", { d: "M17 4v16", key: "7dpous" }],
|
|
281
290
|
["path", { d: "M19 4H9.5a4.5 4.5 0 0 0 0 9H13", key: "sh4n9v" }]
|
|
282
|
-
],
|
|
291
|
+
], Br = T("pilcrow", Fr);
|
|
283
292
|
/**
|
|
284
293
|
* @license lucide-react v1.22.0 - ISC
|
|
285
294
|
*
|
|
286
295
|
* This source code is licensed under the ISC license.
|
|
287
296
|
* See the LICENSE file in the root directory of this source tree.
|
|
288
297
|
*/
|
|
289
|
-
const
|
|
298
|
+
const Kr = [
|
|
290
299
|
[
|
|
291
300
|
"path",
|
|
292
301
|
{
|
|
@@ -301,101 +310,101 @@ const Br = [
|
|
|
301
310
|
key: "1ymkrd"
|
|
302
311
|
}
|
|
303
312
|
]
|
|
304
|
-
],
|
|
313
|
+
], Vr = T("quote", Kr);
|
|
305
314
|
/**
|
|
306
315
|
* @license lucide-react v1.22.0 - ISC
|
|
307
316
|
*
|
|
308
317
|
* This source code is licensed under the ISC license.
|
|
309
318
|
* See the LICENSE file in the root directory of this source tree.
|
|
310
319
|
*/
|
|
311
|
-
const
|
|
320
|
+
const Gr = [
|
|
312
321
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
313
322
|
["path", { d: "M3 12h18", key: "1i2n21" }]
|
|
314
|
-
],
|
|
323
|
+
], Wr = T("rows-2", Gr);
|
|
315
324
|
/**
|
|
316
325
|
* @license lucide-react v1.22.0 - ISC
|
|
317
326
|
*
|
|
318
327
|
* This source code is licensed under the ISC license.
|
|
319
328
|
* See the LICENSE file in the root directory of this source tree.
|
|
320
329
|
*/
|
|
321
|
-
const
|
|
330
|
+
const Xr = [
|
|
322
331
|
["path", { d: "m6 16 6-12 6 12", key: "1b4byz" }],
|
|
323
332
|
["path", { d: "M8 12h8", key: "1wcyev" }],
|
|
324
333
|
["path", { d: "m16 20 2 2 4-4", key: "13tcca" }]
|
|
325
|
-
],
|
|
334
|
+
], Ur = T("spell-check", Xr);
|
|
326
335
|
/**
|
|
327
336
|
* @license lucide-react v1.22.0 - ISC
|
|
328
337
|
*
|
|
329
338
|
* This source code is licensed under the ISC license.
|
|
330
339
|
* See the LICENSE file in the root directory of this source tree.
|
|
331
340
|
*/
|
|
332
|
-
const
|
|
341
|
+
const Qr = [
|
|
333
342
|
["path", { d: "M16 4H9a3 3 0 0 0-2.83 4", key: "43sutm" }],
|
|
334
343
|
["path", { d: "M14 12a4 4 0 0 1 0 8H6", key: "nlfj13" }],
|
|
335
344
|
["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
|
|
336
|
-
],
|
|
345
|
+
], Zr = T("strikethrough", Qr);
|
|
337
346
|
/**
|
|
338
347
|
* @license lucide-react v1.22.0 - ISC
|
|
339
348
|
*
|
|
340
349
|
* This source code is licensed under the ISC license.
|
|
341
350
|
* See the LICENSE file in the root directory of this source tree.
|
|
342
351
|
*/
|
|
343
|
-
const
|
|
352
|
+
const Yr = [
|
|
344
353
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
345
354
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
346
355
|
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
347
356
|
["path", { d: "M3 15h18", key: "5xshup" }]
|
|
348
|
-
],
|
|
357
|
+
], Jr = T("table", Yr);
|
|
349
358
|
/**
|
|
350
359
|
* @license lucide-react v1.22.0 - ISC
|
|
351
360
|
*
|
|
352
361
|
* This source code is licensed under the ISC license.
|
|
353
362
|
* See the LICENSE file in the root directory of this source tree.
|
|
354
363
|
*/
|
|
355
|
-
const
|
|
364
|
+
const en = [
|
|
356
365
|
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
357
366
|
["path", { d: "M17 12H7", key: "16if0g" }],
|
|
358
367
|
["path", { d: "M19 19H5", key: "vjpgq2" }]
|
|
359
|
-
],
|
|
368
|
+
], tn = T("text-align-center", en);
|
|
360
369
|
/**
|
|
361
370
|
* @license lucide-react v1.22.0 - ISC
|
|
362
371
|
*
|
|
363
372
|
* This source code is licensed under the ISC license.
|
|
364
373
|
* See the LICENSE file in the root directory of this source tree.
|
|
365
374
|
*/
|
|
366
|
-
const
|
|
375
|
+
const rn = [
|
|
367
376
|
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
368
377
|
["path", { d: "M21 12H9", key: "dn1m92" }],
|
|
369
378
|
["path", { d: "M21 19H7", key: "4cu937" }]
|
|
370
|
-
],
|
|
379
|
+
], nn = T("text-align-end", rn);
|
|
371
380
|
/**
|
|
372
381
|
* @license lucide-react v1.22.0 - ISC
|
|
373
382
|
*
|
|
374
383
|
* This source code is licensed under the ISC license.
|
|
375
384
|
* See the LICENSE file in the root directory of this source tree.
|
|
376
385
|
*/
|
|
377
|
-
const
|
|
386
|
+
const on = [
|
|
378
387
|
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
379
388
|
["path", { d: "M15 12H3", key: "6jk70r" }],
|
|
380
389
|
["path", { d: "M17 19H3", key: "z6ezky" }]
|
|
381
|
-
],
|
|
390
|
+
], an = T("text-align-start", on);
|
|
382
391
|
/**
|
|
383
392
|
* @license lucide-react v1.22.0 - ISC
|
|
384
393
|
*
|
|
385
394
|
* This source code is licensed under the ISC license.
|
|
386
395
|
* See the LICENSE file in the root directory of this source tree.
|
|
387
396
|
*/
|
|
388
|
-
const
|
|
397
|
+
const sn = [
|
|
389
398
|
["path", { d: "M6 4v6a6 6 0 0 0 12 0V4", key: "9kb039" }],
|
|
390
399
|
["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
|
|
391
|
-
],
|
|
400
|
+
], ln = T("underline", sn);
|
|
392
401
|
/**
|
|
393
402
|
* @license lucide-react v1.22.0 - ISC
|
|
394
403
|
*
|
|
395
404
|
* This source code is licensed under the ISC license.
|
|
396
405
|
* See the LICENSE file in the root directory of this source tree.
|
|
397
406
|
*/
|
|
398
|
-
const
|
|
407
|
+
const cn = [
|
|
399
408
|
[
|
|
400
409
|
"path",
|
|
401
410
|
{
|
|
@@ -410,14 +419,14 @@ const ln = [
|
|
|
410
419
|
["path", { d: "M7 8H3", key: "zfb6yr" }],
|
|
411
420
|
["path", { d: "M21 16h-4", key: "1cnmox" }],
|
|
412
421
|
["path", { d: "M11 3H9", key: "1obp7u" }]
|
|
413
|
-
],
|
|
422
|
+
], dn = T("wand-sparkles", cn);
|
|
414
423
|
/**
|
|
415
424
|
* @license lucide-react v1.22.0 - ISC
|
|
416
425
|
*
|
|
417
426
|
* This source code is licensed under the ISC license.
|
|
418
427
|
* See the LICENSE file in the root directory of this source tree.
|
|
419
428
|
*/
|
|
420
|
-
const
|
|
429
|
+
const un = [
|
|
421
430
|
[
|
|
422
431
|
"path",
|
|
423
432
|
{
|
|
@@ -425,7 +434,7 @@ const dn = [
|
|
|
425
434
|
key: "1ngwbx"
|
|
426
435
|
}
|
|
427
436
|
]
|
|
428
|
-
],
|
|
437
|
+
], mn = T("wrench", un), hn = {
|
|
429
438
|
id: "rich-text-editor",
|
|
430
439
|
capabilities: ["edit_inline"],
|
|
431
440
|
state: {
|
|
@@ -562,7 +571,7 @@ const dn = [
|
|
|
562
571
|
description: "Sourced from the id prop."
|
|
563
572
|
}
|
|
564
573
|
}
|
|
565
|
-
},
|
|
574
|
+
}, gn = "ds:aria-pressed:!bg-[var(--destructive)] ds:aria-pressed:!text-[var(--destructive-foreground)]", ce = "ds:!size-[var(--min-target-size)]", fn = "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)]", pn = "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--destructive)]", ct = [
|
|
566
575
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
567
576
|
"ds:bg-[color-mix(in_srgb,var(--background)_70%,transparent)]",
|
|
568
577
|
"ds:p-[var(--spacing-sm)] ds:[max-block-size:10rem] ds:overflow-y-auto",
|
|
@@ -571,7 +580,7 @@ const dn = [
|
|
|
571
580
|
function dt(o, i) {
|
|
572
581
|
return i ? o ? /\s$/.test(o) ? `${o}${i}` : `${o} ${i}` : i : o;
|
|
573
582
|
}
|
|
574
|
-
function
|
|
583
|
+
function bn({
|
|
575
584
|
open: o,
|
|
576
585
|
onClose: i,
|
|
577
586
|
onRequestAiDraft: g,
|
|
@@ -720,7 +729,7 @@ function pn({
|
|
|
720
729
|
{
|
|
721
730
|
size: "md",
|
|
722
731
|
intent: "outline",
|
|
723
|
-
className: x ? `${ce} ${
|
|
732
|
+
className: x ? `${ce} ${gn}` : ce,
|
|
724
733
|
icon: x ? /* @__PURE__ */ e(Se, { className: "ds:fill-current" }) : /* @__PURE__ */ e(ft, {}),
|
|
725
734
|
"aria-pressed": x,
|
|
726
735
|
"aria-label": u(x ? "editor.ai.dictateStop" : "editor.ai.dictateStart"),
|
|
@@ -742,50 +751,50 @@ function pn({
|
|
|
742
751
|
)
|
|
743
752
|
] }),
|
|
744
753
|
b ? /* @__PURE__ */ e("p", { className: "ds:sr-only", role: "status", "aria-live": "polite", children: X }) : null,
|
|
745
|
-
$ ? /* @__PURE__ */ e("p", { id: C, role: "alert", className:
|
|
754
|
+
$ ? /* @__PURE__ */ e("p", { id: C, role: "alert", className: pn, children: u("editor.ai.error") }) : d ? /* @__PURE__ */ e("p", { className: fn, children: d }) : null
|
|
746
755
|
] })
|
|
747
756
|
}
|
|
748
757
|
);
|
|
749
758
|
}
|
|
750
|
-
const
|
|
759
|
+
const yn = {
|
|
751
760
|
bold: {
|
|
752
761
|
id: "bold",
|
|
753
|
-
icon: /* @__PURE__ */ e(
|
|
762
|
+
icon: /* @__PURE__ */ e(hr, {}),
|
|
754
763
|
label: ["editor.bold", "Bold"],
|
|
755
764
|
command: ["module.inline.format", { tag: "b" }],
|
|
756
765
|
toggle: "bold"
|
|
757
766
|
},
|
|
758
767
|
italic: {
|
|
759
768
|
id: "italic",
|
|
760
|
-
icon: /* @__PURE__ */ e(
|
|
769
|
+
icon: /* @__PURE__ */ e(kr, {}),
|
|
761
770
|
label: ["editor.italic", "Italic"],
|
|
762
771
|
command: ["module.inline.format", { tag: "i" }],
|
|
763
772
|
toggle: "italic"
|
|
764
773
|
},
|
|
765
774
|
underline: {
|
|
766
775
|
id: "underline",
|
|
767
|
-
icon: /* @__PURE__ */ e(
|
|
776
|
+
icon: /* @__PURE__ */ e(ln, {}),
|
|
768
777
|
label: ["editor.underline", "Underline"],
|
|
769
778
|
command: ["module.inline.format", { tag: "u" }],
|
|
770
779
|
toggle: "underline"
|
|
771
780
|
},
|
|
772
781
|
strike: {
|
|
773
782
|
id: "strike",
|
|
774
|
-
icon: /* @__PURE__ */ e(
|
|
783
|
+
icon: /* @__PURE__ */ e(Zr, {}),
|
|
775
784
|
label: ["editor.strike", "Strikethrough"],
|
|
776
785
|
command: ["module.inline.format", { tag: "del" }],
|
|
777
786
|
toggle: "strike"
|
|
778
787
|
},
|
|
779
788
|
ul: {
|
|
780
789
|
id: "ul",
|
|
781
|
-
icon: /* @__PURE__ */ e(
|
|
790
|
+
icon: /* @__PURE__ */ e(Tr, {}),
|
|
782
791
|
label: ["editor.list.bullet", "Bulleted list"],
|
|
783
792
|
command: ["module.list.toggle", "ul"],
|
|
784
793
|
toggle: "ul"
|
|
785
794
|
},
|
|
786
795
|
ol: {
|
|
787
796
|
id: "ol",
|
|
788
|
-
icon: /* @__PURE__ */ e(
|
|
797
|
+
icon: /* @__PURE__ */ e(Mr, {}),
|
|
789
798
|
label: ["editor.list.ordered", "Numbered list"],
|
|
790
799
|
command: ["module.list.toggle", "ol"],
|
|
791
800
|
toggle: "ol"
|
|
@@ -794,28 +803,28 @@ const bn = {
|
|
|
794
803
|
{
|
|
795
804
|
id: "paragraph",
|
|
796
805
|
tag: "p",
|
|
797
|
-
icon: /* @__PURE__ */ e(
|
|
806
|
+
icon: /* @__PURE__ */ e(Br, {}),
|
|
798
807
|
label: ["editor.paragraph", "Paragraph"]
|
|
799
808
|
},
|
|
800
809
|
{
|
|
801
810
|
id: "h2",
|
|
802
811
|
tag: "h2",
|
|
803
|
-
icon: /* @__PURE__ */ e(
|
|
812
|
+
icon: /* @__PURE__ */ e(br, {}),
|
|
804
813
|
label: ["editor.heading2", "Heading 2"]
|
|
805
814
|
},
|
|
806
815
|
{
|
|
807
816
|
id: "h3",
|
|
808
817
|
tag: "h3",
|
|
809
|
-
icon: /* @__PURE__ */ e(
|
|
818
|
+
icon: /* @__PURE__ */ e(vr, {}),
|
|
810
819
|
label: ["editor.heading3", "Heading 3"]
|
|
811
820
|
},
|
|
812
821
|
{
|
|
813
822
|
id: "quote",
|
|
814
823
|
tag: "blockquote",
|
|
815
|
-
icon: /* @__PURE__ */ e(
|
|
824
|
+
icon: /* @__PURE__ */ e(Vr, {}),
|
|
816
825
|
label: ["editor.quote", "Quote"]
|
|
817
826
|
}
|
|
818
|
-
],
|
|
827
|
+
], vn = {
|
|
819
828
|
minimal: ["bold", "italic", "underline", "link"],
|
|
820
829
|
standard: [
|
|
821
830
|
"format",
|
|
@@ -832,69 +841,69 @@ const bn = {
|
|
|
832
841
|
{
|
|
833
842
|
id: "rowAbove",
|
|
834
843
|
command: "plugin.table.addRowAbove",
|
|
835
|
-
icon: /* @__PURE__ */ e(
|
|
844
|
+
icon: /* @__PURE__ */ e(sr, {}),
|
|
836
845
|
label: ["editor.table.rowAbove", "Add row above"]
|
|
837
846
|
},
|
|
838
847
|
{
|
|
839
848
|
id: "rowBelow",
|
|
840
849
|
command: "plugin.table.addRowBelow",
|
|
841
|
-
icon: /* @__PURE__ */ e(
|
|
850
|
+
icon: /* @__PURE__ */ e(ir, {}),
|
|
842
851
|
label: ["editor.table.rowBelow", "Add row below"]
|
|
843
852
|
},
|
|
844
853
|
{
|
|
845
854
|
id: "colLeft",
|
|
846
855
|
command: "plugin.table.addColumnLeft",
|
|
847
|
-
icon: /* @__PURE__ */ e(
|
|
856
|
+
icon: /* @__PURE__ */ e(ur, {}),
|
|
848
857
|
label: ["editor.table.columnLeft", "Add column left"]
|
|
849
858
|
},
|
|
850
859
|
{
|
|
851
860
|
id: "colRight",
|
|
852
861
|
command: "plugin.table.addColumnRight",
|
|
853
|
-
icon: /* @__PURE__ */ e(
|
|
862
|
+
icon: /* @__PURE__ */ e(cr, {}),
|
|
854
863
|
label: ["editor.table.columnRight", "Add column right"]
|
|
855
864
|
},
|
|
856
865
|
{
|
|
857
866
|
id: "addHead",
|
|
858
867
|
command: "plugin.table.addHead",
|
|
859
|
-
icon: /* @__PURE__ */ e(
|
|
868
|
+
icon: /* @__PURE__ */ e(jr, {}),
|
|
860
869
|
label: ["editor.table.addHeader", "Add header row"]
|
|
861
870
|
},
|
|
862
871
|
{
|
|
863
872
|
id: "deleteHead",
|
|
864
873
|
command: "plugin.table.deleteHead",
|
|
865
|
-
icon: /* @__PURE__ */ e(
|
|
874
|
+
icon: /* @__PURE__ */ e(Or, {}),
|
|
866
875
|
label: ["editor.table.deleteHeader", "Remove header row"]
|
|
867
876
|
},
|
|
868
877
|
{
|
|
869
878
|
id: "deleteRow",
|
|
870
879
|
command: "plugin.table.deleteRow",
|
|
871
|
-
icon: /* @__PURE__ */ e(
|
|
880
|
+
icon: /* @__PURE__ */ e(Wr, {}),
|
|
872
881
|
label: ["editor.table.deleteRow", "Delete row"]
|
|
873
882
|
},
|
|
874
883
|
{
|
|
875
884
|
id: "deleteColumn",
|
|
876
885
|
command: "plugin.table.deleteColumn",
|
|
877
|
-
icon: /* @__PURE__ */ e(
|
|
886
|
+
icon: /* @__PURE__ */ e(fr, {}),
|
|
878
887
|
label: ["editor.table.deleteColumn", "Delete column"]
|
|
879
888
|
},
|
|
880
889
|
{
|
|
881
890
|
id: "deleteTable",
|
|
882
891
|
command: "plugin.table.deleteTable",
|
|
883
|
-
icon: /* @__PURE__ */ e(
|
|
892
|
+
icon: /* @__PURE__ */ e(er, {}),
|
|
884
893
|
label: ["editor.table.deleteTable", "Delete table"]
|
|
885
894
|
}
|
|
886
|
-
], Re = 6,
|
|
895
|
+
], Re = 6, wn = Ge(
|
|
887
896
|
[
|
|
888
897
|
"ds:@container/toolbar",
|
|
889
898
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
890
899
|
"ds:bg-[var(--background)] ds:p-[var(--spacing-xs)]",
|
|
891
900
|
"ds:shadow-[var(--shadow-md)]"
|
|
892
901
|
].join(" ")
|
|
893
|
-
),
|
|
902
|
+
), kn = "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", Xe = "ds:self-stretch ds:[inline-size:var(--border-width-sm)] ds:bg-[var(--border)] ds:[margin-inline:var(--spacing-2xs)]", ve = "ds:text-[length:var(--font-size-sm)] ds:font-medium ds:text-[color:var(--foreground)]";
|
|
894
903
|
function Le(o) {
|
|
895
904
|
return o.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
896
905
|
}
|
|
897
|
-
function
|
|
906
|
+
function xn({
|
|
898
907
|
run: o,
|
|
899
908
|
active: i,
|
|
900
909
|
onTriggerDown: g
|
|
@@ -927,7 +936,7 @@ function kn({
|
|
|
927
936
|
)) })
|
|
928
937
|
] });
|
|
929
938
|
}
|
|
930
|
-
function
|
|
939
|
+
function Cn({
|
|
931
940
|
insertHtml: o,
|
|
932
941
|
saveSelection: i,
|
|
933
942
|
restoreSelection: g,
|
|
@@ -949,7 +958,7 @@ function xn({
|
|
|
949
958
|
{
|
|
950
959
|
size: "sm",
|
|
951
960
|
intent: "ghost",
|
|
952
|
-
icon: /* @__PURE__ */ e(
|
|
961
|
+
icon: /* @__PURE__ */ e(Cr, {}),
|
|
953
962
|
"aria-label": m("editor.link.insert", "Insert link"),
|
|
954
963
|
onMouseDown: () => {
|
|
955
964
|
i(), E(c());
|
|
@@ -1000,7 +1009,7 @@ function xn({
|
|
|
1000
1009
|
] })
|
|
1001
1010
|
] });
|
|
1002
1011
|
}
|
|
1003
|
-
function
|
|
1012
|
+
function Nn({
|
|
1004
1013
|
insertHtml: o,
|
|
1005
1014
|
saveSelection: i,
|
|
1006
1015
|
restoreSelection: g,
|
|
@@ -1083,7 +1092,7 @@ function Cn({
|
|
|
1083
1092
|
] })
|
|
1084
1093
|
] });
|
|
1085
1094
|
}
|
|
1086
|
-
function
|
|
1095
|
+
function Mn({
|
|
1087
1096
|
run: o,
|
|
1088
1097
|
saveSelection: i,
|
|
1089
1098
|
restoreSelection: g
|
|
@@ -1103,7 +1112,7 @@ function Nn({
|
|
|
1103
1112
|
{
|
|
1104
1113
|
size: "sm",
|
|
1105
1114
|
intent: "ghost",
|
|
1106
|
-
icon: /* @__PURE__ */ e(
|
|
1115
|
+
icon: /* @__PURE__ */ e(Ir, {}),
|
|
1107
1116
|
"aria-label": c("editor.textColor", "Text colour"),
|
|
1108
1117
|
onMouseDown: (w) => {
|
|
1109
1118
|
w.preventDefault(), i();
|
|
@@ -1125,7 +1134,7 @@ function Nn({
|
|
|
1125
1134
|
] })
|
|
1126
1135
|
] });
|
|
1127
1136
|
}
|
|
1128
|
-
function
|
|
1137
|
+
function zn({
|
|
1129
1138
|
run: o,
|
|
1130
1139
|
saveSelection: i,
|
|
1131
1140
|
restoreSelection: g
|
|
@@ -1167,11 +1176,11 @@ function Mn({
|
|
|
1167
1176
|
] })
|
|
1168
1177
|
] });
|
|
1169
1178
|
}
|
|
1170
|
-
function
|
|
1179
|
+
function Tn(o, i) {
|
|
1171
1180
|
const g = Array.from({ length: i }, () => "<td><br></td>").join("");
|
|
1172
1181
|
return `<table><tbody>${Array.from({ length: o }, () => `<tr>${g}</tr>`).join("")}</tbody></table>`;
|
|
1173
1182
|
}
|
|
1174
|
-
function
|
|
1183
|
+
function _n({
|
|
1175
1184
|
run: o,
|
|
1176
1185
|
insertTable: i,
|
|
1177
1186
|
active: g
|
|
@@ -1183,7 +1192,7 @@ function Tn({
|
|
|
1183
1192
|
{
|
|
1184
1193
|
size: "sm",
|
|
1185
1194
|
intent: "ghost",
|
|
1186
|
-
icon: /* @__PURE__ */ e(
|
|
1195
|
+
icon: /* @__PURE__ */ e(Jr, {}),
|
|
1187
1196
|
"aria-label": c("editor.table.insert", "Insert table"),
|
|
1188
1197
|
onMouseDown: (u) => u.preventDefault()
|
|
1189
1198
|
}
|
|
@@ -1232,7 +1241,7 @@ function Tn({
|
|
|
1232
1241
|
c: E
|
|
1233
1242
|
}),
|
|
1234
1243
|
onMouseEnter: () => d({ r: C, c: E }),
|
|
1235
|
-
onClick: () => i(
|
|
1244
|
+
onClick: () => i(Tn(C, E)),
|
|
1236
1245
|
className: `ds:size-5 ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--border)] ${L ? "ds:bg-[var(--primary)]" : "ds:bg-[var(--muted)]"}`
|
|
1237
1246
|
},
|
|
1238
1247
|
w
|
|
@@ -1247,12 +1256,12 @@ function Tn({
|
|
|
1247
1256
|
] }) })
|
|
1248
1257
|
] });
|
|
1249
1258
|
}
|
|
1250
|
-
const
|
|
1259
|
+
const En = Object.fromEntries(bt.map((o) => [o.id, o])), An = [
|
|
1251
1260
|
"ds:absolute ds:z-20 ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
1252
1261
|
"ds:[inset-block-start:var(--rte-tt-top)] ds:[inset-inline-start:var(--rte-tt-start)]",
|
|
1253
1262
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
1254
1263
|
"ds:bg-[var(--popover)] ds:p-[var(--spacing-2xs)] ds:shadow-[var(--shadow-lg)]"
|
|
1255
|
-
].join(" "),
|
|
1264
|
+
].join(" "), Rn = "#fde68a";
|
|
1256
1265
|
function ut({
|
|
1257
1266
|
scope: o,
|
|
1258
1267
|
icon: i,
|
|
@@ -1261,7 +1270,7 @@ function ut({
|
|
|
1261
1270
|
saveTableCell: m,
|
|
1262
1271
|
applyTableBackground: d
|
|
1263
1272
|
}) {
|
|
1264
|
-
const { t: b } = ee(), [u, w] = _(
|
|
1273
|
+
const { t: b } = ee(), [u, w] = _(Rn);
|
|
1265
1274
|
return /* @__PURE__ */ v(
|
|
1266
1275
|
q,
|
|
1267
1276
|
{
|
|
@@ -1306,7 +1315,7 @@ function ut({
|
|
|
1306
1315
|
}
|
|
1307
1316
|
);
|
|
1308
1317
|
}
|
|
1309
|
-
function
|
|
1318
|
+
function Sn({
|
|
1310
1319
|
active: o,
|
|
1311
1320
|
run: i,
|
|
1312
1321
|
areaRef: g,
|
|
@@ -1359,7 +1368,7 @@ function Rn({
|
|
|
1359
1368
|
{
|
|
1360
1369
|
role: "group",
|
|
1361
1370
|
"aria-label": u("editor.table.toolbar", "Table tools"),
|
|
1362
|
-
className: `${
|
|
1371
|
+
className: `${An} ${C.rtl ? "ds:translate-x-1/2" : "ds:-translate-x-1/2"}`,
|
|
1363
1372
|
style: {
|
|
1364
1373
|
"--rte-tt-top": `${C.top}px`,
|
|
1365
1374
|
"--rte-tt-start": `${C.start}px`
|
|
@@ -1371,7 +1380,7 @@ function Rn({
|
|
|
1371
1380
|
ut,
|
|
1372
1381
|
{
|
|
1373
1382
|
scope: "cell",
|
|
1374
|
-
icon: /* @__PURE__ */ e(
|
|
1383
|
+
icon: /* @__PURE__ */ e(Er, {}),
|
|
1375
1384
|
label: u("editor.table.cellColor", "Cell colour"),
|
|
1376
1385
|
onOpenChange: $,
|
|
1377
1386
|
saveTableCell: d,
|
|
@@ -1382,7 +1391,7 @@ function Rn({
|
|
|
1382
1391
|
ut,
|
|
1383
1392
|
{
|
|
1384
1393
|
scope: "row",
|
|
1385
|
-
icon: /* @__PURE__ */ e(
|
|
1394
|
+
icon: /* @__PURE__ */ e(Rr, {}),
|
|
1386
1395
|
label: u("editor.table.rowColor", "Row colour"),
|
|
1387
1396
|
onOpenChange: $,
|
|
1388
1397
|
saveTableCell: d,
|
|
@@ -1390,7 +1399,7 @@ function Rn({
|
|
|
1390
1399
|
}
|
|
1391
1400
|
)
|
|
1392
1401
|
] }) : a.map((A) => {
|
|
1393
|
-
const x =
|
|
1402
|
+
const x = En[A];
|
|
1394
1403
|
return /* @__PURE__ */ e(
|
|
1395
1404
|
F,
|
|
1396
1405
|
{
|
|
@@ -1421,43 +1430,43 @@ const Ke = [
|
|
|
1421
1430
|
function mt(o, i) {
|
|
1422
1431
|
return i.find((g) => o.classList.contains(g)) ?? "";
|
|
1423
1432
|
}
|
|
1424
|
-
function
|
|
1433
|
+
function In(o) {
|
|
1425
1434
|
const i = o.closest(".redactor-in"), g = i instanceof HTMLElement ? i.clientWidth : 0, c = o.getBoundingClientRect().width;
|
|
1426
1435
|
return g <= 0 || c <= 0 ? we : Math.round(Math.min(we, c / g * 100));
|
|
1427
1436
|
}
|
|
1428
|
-
const Ve = 10, we = 100,
|
|
1437
|
+
const Ve = 10, we = 100, Ln = 5, Hn = 10, ht = (o) => Math.min(we, Math.max(Ve, Math.round(o))), $n = [
|
|
1429
1438
|
{
|
|
1430
1439
|
id: "wysiwyg-img-inline",
|
|
1431
|
-
icon: /* @__PURE__ */ e(
|
|
1440
|
+
icon: /* @__PURE__ */ e(nr, {}),
|
|
1432
1441
|
label: ["editor.image.inline", "Inline with text"]
|
|
1433
1442
|
},
|
|
1434
1443
|
{
|
|
1435
1444
|
id: "wysiwyg-img-wrap-left",
|
|
1436
|
-
icon: /* @__PURE__ */ e(
|
|
1445
|
+
icon: /* @__PURE__ */ e(Hr, {}),
|
|
1437
1446
|
label: ["editor.image.wrapLeft", "Wrap left"]
|
|
1438
1447
|
},
|
|
1439
1448
|
{
|
|
1440
1449
|
id: "wysiwyg-img-wrap-right",
|
|
1441
|
-
icon: /* @__PURE__ */ e(
|
|
1450
|
+
icon: /* @__PURE__ */ e(Dr, {}),
|
|
1442
1451
|
label: ["editor.image.wrapRight", "Wrap right"]
|
|
1443
1452
|
}
|
|
1444
|
-
],
|
|
1453
|
+
], Dn = [
|
|
1445
1454
|
{
|
|
1446
1455
|
id: "wysiwyg-img-align-left",
|
|
1447
|
-
icon: /* @__PURE__ */ e(
|
|
1456
|
+
icon: /* @__PURE__ */ e(an, {}),
|
|
1448
1457
|
label: ["editor.image.alignLeft", "Align left"]
|
|
1449
1458
|
},
|
|
1450
1459
|
{
|
|
1451
1460
|
id: "wysiwyg-img-align-center",
|
|
1452
|
-
icon: /* @__PURE__ */ e(
|
|
1461
|
+
icon: /* @__PURE__ */ e(tn, {}),
|
|
1453
1462
|
label: ["editor.image.alignCenter", "Align centre"]
|
|
1454
1463
|
},
|
|
1455
1464
|
{
|
|
1456
1465
|
id: "wysiwyg-img-align-right",
|
|
1457
|
-
icon: /* @__PURE__ */ e(
|
|
1466
|
+
icon: /* @__PURE__ */ e(nn, {}),
|
|
1458
1467
|
label: ["editor.image.alignRight", "Align right"]
|
|
1459
1468
|
}
|
|
1460
|
-
],
|
|
1469
|
+
], Pn = [
|
|
1461
1470
|
{
|
|
1462
1471
|
id: "tl",
|
|
1463
1472
|
pos: "ds:[inset-block-start:calc(var(--spacing-md)*-0.5)] ds:[inset-inline-start:calc(var(--spacing-md)*-0.5)]",
|
|
@@ -1490,14 +1499,14 @@ const Ve = 10, we = 100, In = 5, Ln = 10, ht = (o) => Math.min(we, Math.max(Ve,
|
|
|
1490
1499
|
labelKey: "editor.image.resizeBottomEnd",
|
|
1491
1500
|
labelFallback: "Resize image, bottom-end corner"
|
|
1492
1501
|
}
|
|
1493
|
-
],
|
|
1502
|
+
], On = [
|
|
1494
1503
|
"ds:absolute ds:z-20 ds:pointer-events-none",
|
|
1495
1504
|
"ds:[inset-block-start:var(--rte-img-top)] ds:[inset-inline-start:var(--rte-img-start)]",
|
|
1496
1505
|
"ds:[inline-size:var(--rte-img-width)] ds:[block-size:var(--rte-img-height)]",
|
|
1497
1506
|
"ds:rounded-[var(--radius-2xs)]",
|
|
1498
1507
|
"ds:[outline-style:solid] ds:[outline-width:var(--border-width-md)]",
|
|
1499
1508
|
"ds:[outline-color:var(--accent)] ds:[outline-offset:var(--focus-ring-offset)]"
|
|
1500
|
-
].join(" "),
|
|
1509
|
+
].join(" "), qn = [
|
|
1501
1510
|
"ds:absolute ds:pointer-events-auto ds:touch-none",
|
|
1502
1511
|
"ds:[inline-size:var(--spacing-md)] ds:[block-size:var(--spacing-md)]",
|
|
1503
1512
|
"ds:rounded-[var(--radius-2xs)] ds:shadow-[var(--shadow-sm)]",
|
|
@@ -1506,13 +1515,13 @@ const Ve = 10, we = 100, In = 5, Ln = 10, ht = (o) => Math.min(we, Math.max(Ve,
|
|
|
1506
1515
|
"ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)]",
|
|
1507
1516
|
"ds:focus-visible:[outline-offset:var(--focus-ring-offset)]",
|
|
1508
1517
|
"ds:forced-colors:bg-[CanvasText]"
|
|
1509
|
-
].join(" "),
|
|
1518
|
+
].join(" "), jn = [
|
|
1510
1519
|
"ds:absolute ds:z-20 ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
1511
1520
|
"ds:[inset-block-start:var(--rte-img-bar-top)] ds:[inset-inline-start:var(--rte-img-center)]",
|
|
1512
1521
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
1513
1522
|
"ds:bg-[var(--popover)] ds:p-[var(--spacing-2xs)] ds:shadow-[var(--shadow-lg)]"
|
|
1514
1523
|
].join(" ");
|
|
1515
|
-
function
|
|
1524
|
+
function Fn({
|
|
1516
1525
|
areaRef: o,
|
|
1517
1526
|
activeImageEl: i,
|
|
1518
1527
|
applyImageClass: g,
|
|
@@ -1538,7 +1547,7 @@ function jn({
|
|
|
1538
1547
|
height: H.height,
|
|
1539
1548
|
center: Math.max(0, U),
|
|
1540
1549
|
barTop: P,
|
|
1541
|
-
pct:
|
|
1550
|
+
pct: In(i),
|
|
1542
1551
|
rtl: X
|
|
1543
1552
|
});
|
|
1544
1553
|
};
|
|
@@ -1589,7 +1598,7 @@ function jn({
|
|
|
1589
1598
|
(l) => {
|
|
1590
1599
|
if (!d) return;
|
|
1591
1600
|
let a = null;
|
|
1592
|
-
const f = l.shiftKey ?
|
|
1601
|
+
const f = l.shiftKey ? Hn : Ln;
|
|
1593
1602
|
switch (l.key) {
|
|
1594
1603
|
// Up / right always grow; down / left always shrink — independent of
|
|
1595
1604
|
// which corner has focus, so the gesture reads the same everywhere.
|
|
@@ -1623,14 +1632,14 @@ function jn({
|
|
|
1623
1632
|
/* @__PURE__ */ e(
|
|
1624
1633
|
"div",
|
|
1625
1634
|
{
|
|
1626
|
-
className:
|
|
1635
|
+
className: On,
|
|
1627
1636
|
style: {
|
|
1628
1637
|
"--rte-img-top": `${d.top}px`,
|
|
1629
1638
|
"--rte-img-start": `${d.start}px`,
|
|
1630
1639
|
"--rte-img-width": `${d.width}px`,
|
|
1631
1640
|
"--rte-img-height": `${d.height}px`
|
|
1632
1641
|
},
|
|
1633
|
-
children:
|
|
1642
|
+
children: Pn.map((l) => /* @__PURE__ */ e(
|
|
1634
1643
|
"div",
|
|
1635
1644
|
{
|
|
1636
1645
|
role: "slider",
|
|
@@ -1641,7 +1650,7 @@ function jn({
|
|
|
1641
1650
|
"aria-valuemax": we,
|
|
1642
1651
|
"aria-valuenow": d.pct,
|
|
1643
1652
|
"aria-valuetext": $,
|
|
1644
|
-
className: `${
|
|
1653
|
+
className: `${qn} ${l.pos} ${l.cursor}`,
|
|
1645
1654
|
onPointerDown: w(l),
|
|
1646
1655
|
onPointerMove: C,
|
|
1647
1656
|
onPointerUp: E,
|
|
@@ -1657,12 +1666,12 @@ function jn({
|
|
|
1657
1666
|
{
|
|
1658
1667
|
role: "group",
|
|
1659
1668
|
"aria-label": m("editor.image.toolbar", "Image tools"),
|
|
1660
|
-
className: `${
|
|
1669
|
+
className: `${jn} ${d.rtl ? "ds:translate-x-1/2" : "ds:-translate-x-1/2"}`,
|
|
1661
1670
|
style: {
|
|
1662
1671
|
"--rte-img-bar-top": `${d.barTop}px`,
|
|
1663
1672
|
"--rte-img-center": `${d.center}px`
|
|
1664
1673
|
},
|
|
1665
|
-
children: [
|
|
1674
|
+
children: [$n, Dn].map((l, a) => /* @__PURE__ */ v(He, { children: [
|
|
1666
1675
|
a > 0 ? /* @__PURE__ */ e("span", { "aria-hidden": "true", className: Xe }) : null,
|
|
1667
1676
|
l.map((f) => {
|
|
1668
1677
|
const A = a === 0 ? I === f.id : N === f.id;
|
|
@@ -1685,7 +1694,7 @@ function jn({
|
|
|
1685
1694
|
) })
|
|
1686
1695
|
] });
|
|
1687
1696
|
}
|
|
1688
|
-
function
|
|
1697
|
+
function Bn({
|
|
1689
1698
|
run: o,
|
|
1690
1699
|
active: i,
|
|
1691
1700
|
preset: g,
|
|
@@ -1700,9 +1709,9 @@ function Fn({
|
|
|
1700
1709
|
enableTable: L = !1,
|
|
1701
1710
|
showExtensions: I = !1
|
|
1702
1711
|
}) {
|
|
1703
|
-
const { t: N } = ee(), $ = (P) => P.preventDefault(), l = (P) =>
|
|
1712
|
+
const { t: N } = ee(), $ = (P) => P.preventDefault(), l = (P) => vn[g].includes(P), a = (P) => {
|
|
1704
1713
|
if (!l(P)) return null;
|
|
1705
|
-
const y =
|
|
1714
|
+
const y = yn[P];
|
|
1706
1715
|
return /* @__PURE__ */ e(
|
|
1707
1716
|
F,
|
|
1708
1717
|
{
|
|
@@ -1722,7 +1731,7 @@ function Fn({
|
|
|
1722
1731
|
a("underline"),
|
|
1723
1732
|
a("strike"),
|
|
1724
1733
|
C ? /* @__PURE__ */ e(
|
|
1725
|
-
|
|
1734
|
+
Mn,
|
|
1726
1735
|
{
|
|
1727
1736
|
run: o,
|
|
1728
1737
|
saveSelection: d,
|
|
@@ -1731,7 +1740,7 @@ function Fn({
|
|
|
1731
1740
|
"colour"
|
|
1732
1741
|
) : null,
|
|
1733
1742
|
C ? /* @__PURE__ */ e(
|
|
1734
|
-
|
|
1743
|
+
zn,
|
|
1735
1744
|
{
|
|
1736
1745
|
run: o,
|
|
1737
1746
|
saveSelection: d,
|
|
@@ -1741,7 +1750,7 @@ function Fn({
|
|
|
1741
1750
|
) : null
|
|
1742
1751
|
].filter(Boolean), S = A || x.length > 0, Y = [a("ul"), a("ol")].filter(Boolean), H = [
|
|
1743
1752
|
l("link") ? /* @__PURE__ */ e(
|
|
1744
|
-
|
|
1753
|
+
Cn,
|
|
1745
1754
|
{
|
|
1746
1755
|
insertHtml: c,
|
|
1747
1756
|
saveSelection: d,
|
|
@@ -1751,7 +1760,7 @@ function Fn({
|
|
|
1751
1760
|
"link"
|
|
1752
1761
|
) : null,
|
|
1753
1762
|
E ? /* @__PURE__ */ e(
|
|
1754
|
-
|
|
1763
|
+
Nn,
|
|
1755
1764
|
{
|
|
1756
1765
|
insertHtml: c,
|
|
1757
1766
|
saveSelection: d,
|
|
@@ -1761,7 +1770,7 @@ function Fn({
|
|
|
1761
1770
|
"image"
|
|
1762
1771
|
) : null,
|
|
1763
1772
|
L ? /* @__PURE__ */ e(
|
|
1764
|
-
|
|
1773
|
+
_n,
|
|
1765
1774
|
{
|
|
1766
1775
|
run: o,
|
|
1767
1776
|
insertTable: m,
|
|
@@ -1775,7 +1784,7 @@ function Fn({
|
|
|
1775
1784
|
{
|
|
1776
1785
|
size: "sm",
|
|
1777
1786
|
intent: "ghost",
|
|
1778
|
-
icon: /* @__PURE__ */ e(
|
|
1787
|
+
icon: /* @__PURE__ */ e(mn, {}),
|
|
1779
1788
|
"aria-label": N("editor.extensions", "Editor extensions"),
|
|
1780
1789
|
disabled: !0,
|
|
1781
1790
|
onMouseDown: $
|
|
@@ -1792,14 +1801,14 @@ function Fn({
|
|
|
1792
1801
|
// Outer element is the query container + visual chrome; the flex row is an
|
|
1793
1802
|
// inner child so `container-type` never lands on the flex parent (which
|
|
1794
1803
|
// would blockify the inline controls).
|
|
1795
|
-
/* @__PURE__ */ e("div", { className:
|
|
1804
|
+
/* @__PURE__ */ e("div", { className: wn(), "data-component": "editor-toolbar", children: /* @__PURE__ */ v(
|
|
1796
1805
|
"div",
|
|
1797
1806
|
{
|
|
1798
1807
|
role: "group",
|
|
1799
1808
|
"aria-label": N("editor.toolbarLabel"),
|
|
1800
|
-
className:
|
|
1809
|
+
className: kn,
|
|
1801
1810
|
children: [
|
|
1802
|
-
A ? /* @__PURE__ */ e(
|
|
1811
|
+
A ? /* @__PURE__ */ e(xn, { run: o, active: i, onTriggerDown: $ }) : null,
|
|
1803
1812
|
A && x.length > 0 ? /* @__PURE__ */ e(f, {}) : null,
|
|
1804
1813
|
x,
|
|
1805
1814
|
K ? /* @__PURE__ */ v(ke, { children: [
|
|
@@ -1836,13 +1845,13 @@ function Be(o = "") {
|
|
|
1836
1845
|
const g = i.replace(/<br\s*\/?>/gi, "").replace(/ /gi, "").replace(/<[^>]+>/g, "").trim();
|
|
1837
1846
|
return g === "" && /<img\b[^>]*>/i.test(i) ? i : g === "" ? "" : i;
|
|
1838
1847
|
}
|
|
1839
|
-
function
|
|
1848
|
+
function Kn(o) {
|
|
1840
1849
|
return o.replace(
|
|
1841
1850
|
/<img(?![^>]*\sloading=)([^>]*)>/gi,
|
|
1842
1851
|
'<img loading="lazy"$1>'
|
|
1843
1852
|
);
|
|
1844
1853
|
}
|
|
1845
|
-
function
|
|
1854
|
+
function Vn(o) {
|
|
1846
1855
|
if (!o || typeof o != "object") return;
|
|
1847
1856
|
const i = o, g = (c) => {
|
|
1848
1857
|
if (c && typeof c == "object" && "url" in c) {
|
|
@@ -1852,13 +1861,13 @@ function Kn(o) {
|
|
|
1852
1861
|
};
|
|
1853
1862
|
return typeof i.url == "string" ? i.url : g(i.file) ?? g(i.data) ?? Object.values(i).map(g).find(Boolean);
|
|
1854
1863
|
}
|
|
1855
|
-
function
|
|
1864
|
+
function Gn(o) {
|
|
1856
1865
|
if (o) return o;
|
|
1857
1866
|
if (typeof window > "u") return null;
|
|
1858
1867
|
const i = window;
|
|
1859
1868
|
return i.$R ?? i.Redactor ?? null;
|
|
1860
1869
|
}
|
|
1861
|
-
const
|
|
1870
|
+
const Wn = {
|
|
1862
1871
|
bold: ["module.inline.format", { tag: "b" }],
|
|
1863
1872
|
italic: ["module.inline.format", { tag: "i" }],
|
|
1864
1873
|
strikethrough: ["module.inline.format", { tag: "del" }],
|
|
@@ -1867,17 +1876,17 @@ const Gn = {
|
|
|
1867
1876
|
heading: ["module.block.format", { tag: "h2" }],
|
|
1868
1877
|
quote: ["module.block.format", { tag: "blockquote" }],
|
|
1869
1878
|
paragraph: ["module.block.format", { tag: "p" }]
|
|
1870
|
-
},
|
|
1879
|
+
}, Xn = {
|
|
1871
1880
|
zh: "zh_cn",
|
|
1872
1881
|
pt: "pt_br"
|
|
1873
1882
|
};
|
|
1874
|
-
function
|
|
1883
|
+
function Un(o) {
|
|
1875
1884
|
const i = o.split("-")[0];
|
|
1876
|
-
return
|
|
1885
|
+
return Xn[i] ?? i ?? "en";
|
|
1877
1886
|
}
|
|
1878
|
-
const
|
|
1887
|
+
const Qn = Ge(
|
|
1879
1888
|
"redactor-theme-alfadocs ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]"
|
|
1880
|
-
),
|
|
1889
|
+
), Zn = Ge(
|
|
1881
1890
|
[
|
|
1882
1891
|
"ds:block ds:[inline-size:100%]",
|
|
1883
1892
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
@@ -1900,7 +1909,7 @@ const Un = Ge(
|
|
|
1900
1909
|
"ds:focus-visible:outline-solid",
|
|
1901
1910
|
"ds:focus-visible:outline-[var(--primary-foreground)]",
|
|
1902
1911
|
"ds:focus-visible:[outline-offset:calc(var(--focus-ring-width)*-1)]"
|
|
1903
|
-
].join(" "),
|
|
1912
|
+
].join(" "), Yn = `${vt} ds:hover:bg-[color-mix(in_srgb,var(--primary-foreground)_15%,transparent)]`, Jn = `${vt} ds:bg-[var(--destructive)] ds:hover:bg-[color-mix(in_srgb,var(--destructive)_88%,var(--primary-foreground))]`, eo = Pt(
|
|
1904
1913
|
({
|
|
1905
1914
|
id: o,
|
|
1906
1915
|
defaultValue: i,
|
|
@@ -2213,7 +2222,7 @@ const Un = Ge(
|
|
|
2213
2222
|
signal: r
|
|
2214
2223
|
});
|
|
2215
2224
|
if (!s.ok) throw new Error(`Image upload failed (${s.status}).`);
|
|
2216
|
-
const h =
|
|
2225
|
+
const h = Vn(await s.json());
|
|
2217
2226
|
if (!h) throw new Error("Image upload response contained no URL.");
|
|
2218
2227
|
return h;
|
|
2219
2228
|
},
|
|
@@ -2298,14 +2307,14 @@ const Un = Ge(
|
|
|
2298
2307
|
const t = V.current;
|
|
2299
2308
|
if (!t) return;
|
|
2300
2309
|
t.value = Nt.current;
|
|
2301
|
-
const r =
|
|
2310
|
+
const r = Gn(L);
|
|
2302
2311
|
if (!r) {
|
|
2303
2312
|
te(!0);
|
|
2304
2313
|
return;
|
|
2305
2314
|
}
|
|
2306
2315
|
G.current = r;
|
|
2307
2316
|
const n = {
|
|
2308
|
-
lang: $ ??
|
|
2317
|
+
lang: $ ?? Un(K.language || "en"),
|
|
2309
2318
|
// The kit renders its OWN toolbar (EditorToolbar) and drives Redactor
|
|
2310
2319
|
// via the command API, so Redactor's native toolbar is suppressed.
|
|
2311
2320
|
toolbar: !1,
|
|
@@ -2332,7 +2341,7 @@ const Un = Ge(
|
|
|
2332
2341
|
callbacks: {
|
|
2333
2342
|
...h,
|
|
2334
2343
|
changed(z) {
|
|
2335
|
-
const W = Be(
|
|
2344
|
+
const W = Be(Kn(z)), Ee = oe(W);
|
|
2336
2345
|
he.current = !0, Q.current && (fe.current && clearTimeout(fe.current), fe.current = setTimeout(() => {
|
|
2337
2346
|
var ye;
|
|
2338
2347
|
(ye = Q.current) == null || ye.call(Q, { html: Ee, markdown: "" });
|
|
@@ -2404,7 +2413,7 @@ const Un = Ge(
|
|
|
2404
2413
|
},
|
|
2405
2414
|
insertAtCursor: se,
|
|
2406
2415
|
applyFormat(t) {
|
|
2407
|
-
const r =
|
|
2416
|
+
const r = Wn[t];
|
|
2408
2417
|
r && ue(...r);
|
|
2409
2418
|
},
|
|
2410
2419
|
focus() {
|
|
@@ -2424,7 +2433,7 @@ const Un = Ge(
|
|
|
2424
2433
|
}),
|
|
2425
2434
|
[y, ae, re, se, ue]
|
|
2426
2435
|
);
|
|
2427
|
-
Ot(X, () => qe, [qe]), Ft(
|
|
2436
|
+
Ot(X, () => qe, [qe]), Ft(hn, qe, o);
|
|
2428
2437
|
const $t = k(
|
|
2429
2438
|
(t) => {
|
|
2430
2439
|
var r;
|
|
@@ -2461,19 +2470,19 @@ const Un = Ge(
|
|
|
2461
2470
|
key: "proofread",
|
|
2462
2471
|
// While running, the segment becomes a STOP/cancel button (progress is
|
|
2463
2472
|
// shown by the scrim spinner).
|
|
2464
|
-
icon: ne === "proofread" ? /* @__PURE__ */ e(Se, { "aria-hidden": "true", className: "ds:size-5 ds:fill-current" }) : /* @__PURE__ */ e(
|
|
2473
|
+
icon: ne === "proofread" ? /* @__PURE__ */ e(Se, { "aria-hidden": "true", className: "ds:size-5 ds:fill-current" }) : /* @__PURE__ */ e(Ur, { "aria-hidden": "true", className: "ds:size-5" }),
|
|
2465
2474
|
label: ne === "proofread" ? R("common.cancel") : R("editor.ai.proofread", "Check spelling & grammar"),
|
|
2466
2475
|
onClick: ne === "proofread" ? at : () => it("proofread", Y),
|
|
2467
2476
|
running: ne === "proofread"
|
|
2468
2477
|
}), H && me.push({
|
|
2469
2478
|
key: "format",
|
|
2470
|
-
icon: ne === "format" ? /* @__PURE__ */ e(Se, { "aria-hidden": "true", className: "ds:size-5 ds:fill-current" }) : /* @__PURE__ */ e(
|
|
2479
|
+
icon: ne === "format" ? /* @__PURE__ */ e(Se, { "aria-hidden": "true", className: "ds:size-5 ds:fill-current" }) : /* @__PURE__ */ e(dn, { "aria-hidden": "true", className: "ds:size-5" }),
|
|
2471
2480
|
label: ne === "format" ? R("common.cancel") : R("editor.ai.autoFormat", "Auto-format document"),
|
|
2472
2481
|
onClick: ne === "format" ? at : () => it("format", H),
|
|
2473
2482
|
running: ne === "format"
|
|
2474
2483
|
}), f && me.push({
|
|
2475
2484
|
key: "write",
|
|
2476
|
-
icon: /* @__PURE__ */ e(
|
|
2485
|
+
icon: /* @__PURE__ */ e(tr, { "aria-hidden": "true", className: "ds:size-5" }),
|
|
2477
2486
|
label: R("editor.ai.helpMeWrite"),
|
|
2478
2487
|
onClick: () => {
|
|
2479
2488
|
Ze(), Ue(!0);
|
|
@@ -2482,13 +2491,13 @@ const Un = Ge(
|
|
|
2482
2491
|
"div",
|
|
2483
2492
|
{
|
|
2484
2493
|
ref: M,
|
|
2485
|
-
className: [
|
|
2494
|
+
className: [Qn(), E].filter(Boolean).join(" "),
|
|
2486
2495
|
"data-component": "rich-text-editor",
|
|
2487
2496
|
"data-component-id": o,
|
|
2488
2497
|
"data-min-height": w,
|
|
2489
2498
|
children: [
|
|
2490
2499
|
!j && !b ? /* @__PURE__ */ e(
|
|
2491
|
-
|
|
2500
|
+
Bn,
|
|
2492
2501
|
{
|
|
2493
2502
|
run: ue,
|
|
2494
2503
|
active: Qe,
|
|
@@ -2517,7 +2526,7 @@ const Un = Ge(
|
|
|
2517
2526
|
placeholder: Dt,
|
|
2518
2527
|
onChange: j ? $t : void 0,
|
|
2519
2528
|
readOnly: j ? b : void 0,
|
|
2520
|
-
className: j ?
|
|
2529
|
+
className: j ? Zn() : void 0
|
|
2521
2530
|
}
|
|
2522
2531
|
),
|
|
2523
2532
|
je ? /* @__PURE__ */ e(
|
|
@@ -2547,13 +2556,13 @@ const Un = Ge(
|
|
|
2547
2556
|
disabled: je && !t.running || void 0,
|
|
2548
2557
|
"aria-label": t.label,
|
|
2549
2558
|
title: t.label,
|
|
2550
|
-
className: t.recording ?
|
|
2559
|
+
className: t.recording ? Jn : Yn,
|
|
2551
2560
|
children: t.icon
|
|
2552
2561
|
}
|
|
2553
2562
|
)
|
|
2554
2563
|
] }, t.key)) }) : null,
|
|
2555
2564
|
f ? /* @__PURE__ */ e(
|
|
2556
|
-
|
|
2565
|
+
bn,
|
|
2557
2566
|
{
|
|
2558
2567
|
open: wt,
|
|
2559
2568
|
onClose: () => Ue(!1),
|
|
@@ -2568,7 +2577,7 @@ const Un = Ge(
|
|
|
2568
2577
|
) : null
|
|
2569
2578
|
] }),
|
|
2570
2579
|
!j && !b && ((N == null ? void 0 : N.includes("table")) ?? !1) ? /* @__PURE__ */ e(
|
|
2571
|
-
|
|
2580
|
+
Sn,
|
|
2572
2581
|
{
|
|
2573
2582
|
active: Qe,
|
|
2574
2583
|
run: ue,
|
|
@@ -2580,7 +2589,7 @@ const Un = Ge(
|
|
|
2580
2589
|
}
|
|
2581
2590
|
) : null,
|
|
2582
2591
|
!j && !b ? /* @__PURE__ */ e(
|
|
2583
|
-
|
|
2592
|
+
Fn,
|
|
2584
2593
|
{
|
|
2585
2594
|
areaRef: O,
|
|
2586
2595
|
activeImageEl: xt,
|
|
@@ -2603,10 +2612,10 @@ const Un = Ge(
|
|
|
2603
2612
|
);
|
|
2604
2613
|
}
|
|
2605
2614
|
);
|
|
2606
|
-
|
|
2615
|
+
eo.displayName = "RichTextEditor";
|
|
2607
2616
|
export {
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2617
|
+
eo as R,
|
|
2618
|
+
hn as r,
|
|
2619
|
+
Qn as w
|
|
2611
2620
|
};
|
|
2612
|
-
//# sourceMappingURL=rich-text-editor-
|
|
2621
|
+
//# sourceMappingURL=rich-text-editor-CCWjNkbx.js.map
|