@alfadocs/ui-kit 1.71.1 → 1.73.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-BXCpK2_0.js → actions-cell-renderer-B1yaOfQM.js} +3 -3
- package/dist/_chunks/{agenda-tray-CfwylhWf.js → agenda-tray-D-jvptdo.js} +3 -3
- package/dist/_chunks/{ai-credits-exhausted-notice-Bg8NpW2K.js → ai-credits-exhausted-notice-CwZnSACy.js} +2 -2
- package/dist/_chunks/{ai-credits-notice-DQ-r3iQU.js → ai-credits-notice-BNFcQoXo.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-C00i6VhY.js → ai-permission-notice-CoW22jx1.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DzgyoKyk.js → ai-prompt-input-M6u29f87.js} +2 -2
- package/dist/_chunks/{alia-sidebar-DEMMoefU.js → alia-sidebar-DZoyUFW8.js} +292 -286
- package/dist/_chunks/{anamnesis-card-Bey9qQu4.js → anamnesis-card-BcadMmEM.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-rNwSrNWZ.js → anamnesis-summary-rows-BedVmSAB.js} +8 -8
- package/dist/_chunks/{appointment-peek-CpcqB8oO.js → appointment-peek-39BwVMUf.js} +3 -3
- package/dist/_chunks/{appointment-timeline-VFP6HoXT.js → appointment-timeline-CKwMXUid.js} +4 -4
- package/dist/_chunks/{appointment-tray-B3PDER3I.js → appointment-tray-Dwc8MSIQ.js} +3 -3
- package/dist/_chunks/{audio-recorder-4Ll0pwYK.js → audio-recorder-m7Jqvvcl.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-BG3DMly4.js → balance-badge-cell-DG5JWB2p.js} +4 -4
- package/dist/_chunks/{bishop-score-Df8nF1qg.js → bishop-score-CdbU9Nl4.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DjmQ04Ch.js → bmi-calculator-DnfiDh4Q.js} +2 -2
- package/dist/_chunks/{booking-B1pDbERi.js → booking-C-hRVLPy.js} +1404 -1373
- package/dist/_chunks/{button-D-MQxsA_.js → button-DohK_Ak_.js} +40 -27
- package/dist/_chunks/{button-group-DCOJhvm3.js → button-group-ZVb1Q-w4.js} +2 -2
- package/dist/_chunks/{calculator-dialog-BUfaWqvu.js → calculator-dialog-BsVVb8cT.js} +2 -2
- package/dist/_chunks/{calendar-BvOM8rG3.js → calendar-ClB-jWH1.js} +2 -2
- package/dist/_chunks/calendar-appointment-editor-dialog-Lji2y0qJ.js +10986 -0
- package/dist/_chunks/{care-plan-card-DJzbwJLl.js → care-plan-card-BYCPNDvA.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DPJcP34v.js → care-plan-entry-card-4VaY2c96.js} +2 -2
- package/dist/_chunks/{care-plan-header-1HzbkYcR.js → care-plan-header-BzsAg6oY.js} +2 -2
- package/dist/_chunks/{carousel.agent-BaRsN-8H.js → carousel.agent-CkDXR3-8.js} +2 -2
- package/dist/_chunks/{chart-CwmyCuWe.js → chart-D4huJSru.js} +3 -3
- package/dist/_chunks/{chat-input-HtTbUUD6.js → chat-input-DwQ4_WXK.js} +31 -31
- package/dist/_chunks/{chat-message-C2VXQMoB.js → chat-message-CmFJdEre.js} +3 -3
- package/dist/_chunks/{code-block-RSKdF3E-.js → code-block-BTsCXVGI.js} +2 -2
- package/dist/_chunks/{connection-status-BOZC5QU5.js → connection-status-CVyCqxiY.js} +3 -3
- package/dist/_chunks/{contact-profile-card-CAwwOqHl.js → contact-profile-card-DKk94l-d.js} +2 -2
- package/dist/_chunks/{control-room-rail-BB6rCDWI.js → control-room-rail-CKZ2nemY.js} +3 -3
- package/dist/_chunks/{copy-field-BCT7APRE.js → copy-field-hgVSc51W.js} +2 -2
- package/dist/_chunks/{cycle-calculator-D2Y4LvgC.js → cycle-calculator-Ycp3li61.js} +2 -2
- package/dist/_chunks/{dashboard-grid-7JzaiKnk.js → dashboard-grid-DwJ_HV3d.js} +2 -2
- package/dist/_chunks/{data-table-Cty4-Jht.js → data-table-DTKGWUQm.js} +6 -6
- package/dist/_chunks/{data-table-tabs-BfrnefV5.js → data-table-tabs-DlTPtqoI.js} +3 -3
- package/dist/_chunks/{description-list-DQQ2OA_t.js → description-list-BxzDN9o2.js} +2 -2
- package/dist/_chunks/{dev-bypass-button--CPzzRSj.js → dev-bypass-button-B7ePcJcg.js} +2 -2
- package/dist/_chunks/{dialog-D6fkpRc4.js → dialog-C7RWaH08.js} +63 -56
- package/dist/_chunks/{document-preview-513f3iPn.js → document-preview-QEbr7jp1.js} +2 -2
- package/dist/_chunks/{document-scanner-Bd3wbzpI.js → document-scanner-BQP0Rqrt.js} +2 -2
- package/dist/_chunks/{due-date-calculator-41uZDkVR.js → due-date-calculator-B0gyOijA.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-1ijmzNWh.js → editable-currency-cell-renderer-rWYiF4EI.js} +3 -3
- package/dist/_chunks/{editable-description-DnAFi360.js → editable-description-KU56SP4P.js} +3 -3
- package/dist/_chunks/{editor-overlay-CpVO1-Kk.js → editor-overlay-Dc8uVxEp.js} +2 -2
- package/dist/_chunks/{empty-state-pL1qum99.js → empty-state-DwJ5YNzz.js} +2 -2
- package/dist/_chunks/{entity-summary-C2B8yNmc.js → entity-summary-BLxzSSXK.js} +3 -3
- package/dist/_chunks/{error-boundary-Dzgu3O6W.js → error-boundary-tAn_GuCu.js} +2 -2
- package/dist/_chunks/{error-page-DirZKDz2.js → error-page-Bhai-spN.js} +2 -2
- package/dist/_chunks/{face-scheme-CSJdRNad.js → face-scheme-BIPJqw9f.js} +5 -5
- package/dist/_chunks/{fetal-weight-DycD_Vqr.js → fetal-weight-CrtBFJl-.js} +2 -2
- package/dist/_chunks/{field-array-BJYc1xSu.js → field-array-CA-gn526.js} +3 -3
- package/dist/_chunks/{file-manager-D4cPnRhL.js → file-manager-Ct5QpZZI.js} +8 -8
- package/dist/_chunks/{finished-terminal-DuF3xrUv.js → finished-terminal-D8ohcFVS.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-DwHb2nVW.js → fiscal-code-input-BzWmNDnl.js} +2 -2
- package/dist/_chunks/{forgot-password-form-BGPc8TGr.js → forgot-password-form-D6kB72OD.js} +2 -2
- package/dist/_chunks/{freemium-paywall-C73C8Rgd.js → freemium-paywall-CM0zQSDE.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-Du53p8MH.js → gestational-age-calculator-Bu_a-K9z.js} +2 -2
- package/dist/_chunks/{hcg-doubling-DwTcjfke.js → hcg-doubling-BnopYgd-.js} +2 -2
- package/dist/_chunks/{header-_TppWBpK.js → header-l_B8MV0g.js} +2 -2
- package/dist/_chunks/{header-settings-CAC0Yl0t.js → header-settings-DBlTL6Qj.js} +4 -4
- package/dist/_chunks/{heatmap-DbZIQg14.js → heatmap-Ba9cgfSY.js} +6 -6
- package/dist/_chunks/{help-me-write-templates-5WkUfvc_.js → help-me-write-templates-Ds1FY-WY.js} +7 -7
- package/dist/_chunks/{hover-card-CTNhQXWS.js → hover-card-CuRIA4wN.js} +2 -2
- package/dist/_chunks/{icon-button-C_1TgRiK.js → icon-button-S8_weU3g.js} +2 -2
- package/dist/_chunks/{icon-button-group-NIHji7_y.js → icon-button-group-CRKFR48b.js} +4 -8
- package/dist/_chunks/{icon-picker-Dq4O32K8.js → icon-picker-Bkm9m7ju.js} +3 -3
- package/dist/_chunks/{image-cropper-s8ej8cxa.js → image-cropper-Ch80rFdt.js} +2 -2
- package/dist/_chunks/{info-tip-cYszyg6h.js → info-tip-Cfd5SKbY.js} +2 -2
- package/dist/_chunks/{insert-result-h3WL-gMo.js → insert-result-CDMMt7q8.js} +2 -2
- package/dist/_chunks/{key-value-pair-BscGwZsJ.js → key-value-pair-BoXOtBL1.js} +2 -2
- package/dist/_chunks/{kit-extensions-CYvLL4ee.js → kit-extensions-DgBi3tsK.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-DtIsQWDO.js → link-cell-renderer-BDxxpfJM.js} +2 -2
- package/dist/_chunks/loading-guard-C1gbJBA4.js +17 -0
- package/dist/_chunks/{locale-picker-CeveTnDK.js → locale-picker-KT-Vz3bx.js} +3 -3
- package/dist/_chunks/{login-dev-card-CWpoTuVY.js → login-dev-card-pnJbVaoQ.js} +2 -2
- package/dist/_chunks/{map-view-CtohteZD.js → map-view-C6MIVaqn.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-BeWm-Efp.js → marketplace-app-shell-B0ix9yNI.js} +4 -4
- package/dist/_chunks/{message-card-C_ksqIYM.js → message-card-CvCnCssc.js} +3 -3
- package/dist/_chunks/{message-tray-DCoQ4GQb.js → message-tray-IJYvy6Cf.js} +4 -4
- package/dist/_chunks/{notes-panel-BXN46XkF.js → notes-panel-C_QshXyI.js} +5 -5
- package/dist/_chunks/{notification-card-c2oX8j3F.js → notification-card-CPW4poUr.js} +3 -3
- package/dist/_chunks/{notification-tray-Cp18MW5b.js → notification-tray-0OkA2duS.js} +4 -4
- package/dist/_chunks/{optical-prescription-D5c7FBlT.js → optical-prescription-CMM1Y6Xg.js} +2 -2
- package/dist/_chunks/{panel-subview-BPU7220K.js → panel-subview-DCyvn-49.js} +2 -2
- package/dist/_chunks/{patient-details-qWOsn1MX.js → patient-details-Cd_dCqkg.js} +3 -3
- package/dist/_chunks/{patient-field-row-CAl5ydtX.js → patient-field-row-D6Ftm46u.js} +6 -6
- package/dist/_chunks/{patient-search-BADdx3M1.js → patient-search-DuBdxv1w.js} +3 -3
- package/dist/_chunks/{patient-summary-card-BhuRh9AE.js → patient-summary-card-BSOHR4Ol.js} +5 -5
- package/dist/_chunks/{payment-automation-upsell-CiwF5UrC.js → payment-automation-upsell-AQpHOS1X.js} +2 -2
- package/dist/_chunks/{payment-request-card-bysjRZrP.js → payment-request-card-MndSlVoK.js} +3 -3
- package/dist/_chunks/{periodontal-chart-DCcOEYC6.js → periodontal-chart-_y4Ck7_P.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CxdjXFb3.js → periodontal-chart-card-Bx6PeS3b.js} +2 -2
- package/dist/_chunks/{popover-4ZVtH_At.js → popover-Da1ekjV1.js} +2 -2
- package/dist/_chunks/{practice-results-BzThnpnm.js → practice-results-B4Z5q46r.js} +5 -5
- package/dist/_chunks/{pregnancy-dating-EFcFUJkQ.js → pregnancy-dating-CvNFirHt.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-BVvyL-j1.js → pregnancy-weight-gain--Bqv6AWu.js} +2 -2
- package/dist/_chunks/{privacy-lock-CEYJ8ehu.js → privacy-lock-CcrjIbBv.js} +3 -3
- package/dist/_chunks/{privacy-mask-CCz9zuIh.js → privacy-mask-BDVkikTm.js} +2 -2
- package/dist/_chunks/{product-hub-panel-YuFbNPlT.js → product-hub-panel-Blag8t8f.js} +3 -3
- package/dist/_chunks/{public-header.agent-DXRA7ebK.js → public-header.agent-DPPdCBi_.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-4UllIoTQ.js → radiograph-panel.agent-ESnkuDfH.js} +5 -5
- package/dist/_chunks/{registration-form-1B0PTDal.js → registration-form-BGSVMAga.js} +3 -3
- package/dist/_chunks/{reviews-panel-sbsVmmCA.js → reviews-panel-UzQQLb-z.js} +4 -4
- package/dist/_chunks/{rich-text-editor-56dSsyZI.js → rich-text-editor-BXFgcvBW.js} +8 -8
- package/dist/_chunks/{session-countdown-DWY61IcV.js → session-countdown-C4tzbJVc.js} +22 -23
- package/dist/_chunks/{sheet-D2PfJl8n.js → sheet-uZZXaO_S.js} +2 -2
- package/dist/_chunks/sign-in-with-alfadocs-button-DzrNgbWv.js +62 -0
- package/dist/_chunks/{signature-request-DAmNj_uq.js → signature-request-ldmXj2X6.js} +5 -5
- package/dist/_chunks/{signed-out-frame-Rg_GVDnl.js → signed-out-frame-G-3ATOdu.js} +3 -3
- package/dist/_chunks/{slot-grid-D_gix9mJ.js → slot-grid-uA9j7Nik.js} +4 -4
- package/dist/_chunks/{social-sign-in-button-yUqwhnPZ.js → social-sign-in-button-BqYZxbXI.js} +50 -34
- package/dist/_chunks/{streaming-text-DbqKTsmj.js → streaming-text-Nb3Q7L94.js} +2 -2
- package/dist/_chunks/{task-card-Ci2XbLmq.js → task-card-C4HJUKVw.js} +2 -2
- package/dist/_chunks/{task-editor-BomyxGoZ.js → task-editor-BTeUFGUX.js} +201 -201
- package/dist/_chunks/{task-tray-Dnc72nl-.js → task-tray-DZQGhDdc.js} +4 -4
- package/dist/_chunks/{tasks-panel-ATz9JDy8.js → tasks-panel-Cmr0oMvc.js} +6 -6
- package/dist/_chunks/{theme-toggle-DT_Jn4DC.js → theme-toggle-DTrUzIBG.js} +3 -3
- package/dist/_chunks/{toast-6T519aLz.js → toast-BNoN8Qjh.js} +2 -2
- package/dist/_chunks/{token-insert-menu-CQvV4u1m.js → token-insert-menu-DtAnBd0x.js} +2 -2
- package/dist/_chunks/{tool-rail-C-M3eVdY.js → tool-rail-C_9lm0TC.js} +2 -2
- package/dist/_chunks/{tooth-scheme-Dkh4JwzT.js → tooth-scheme-COJJkdsi.js} +2 -2
- package/dist/_chunks/{unit-converter-CIoTmCmP.js → unit-converter-D59L-gkf.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-1gjZuup4.js → use-appointment-details-read-BWbOiLVw.js} +11 -11
- package/dist/_chunks/{voice-control-panel-B8Lrk0C4.js → voice-control-panel-DQJwe6_Q.js} +6 -6
- package/dist/_chunks/{wallet-pay-button-DFP5FW0D.js → wallet-pay-button-DajFzhHK.js} +62 -46
- package/dist/_chunks/{warning-stack-BhHUmRiD.js → warning-stack-3S7e2q07.js} +3 -3
- package/dist/_chunks/{widget-picker-DlNPGcnu.js → widget-picker-B9HpT2Tb.js} +2 -2
- package/dist/_chunks/{workflow-map-ln4_OG8A.js → workflow-map-BcfOwsSB.js} +5 -5
- package/dist/_chunks/{workflow-webhook-action-D6K7Jgc2.js → workflow-webhook-action-BvVPZVpG.js} +182 -187
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/compact-editor-fields.d.ts +2 -1
- package/dist/components/_shared/loading-guard.d.ts +20 -0
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +2 -2
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +8 -0
- package/dist/components/booking/details-form.d.ts +2 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +7 -0
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +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/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +8 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/social-sign-in-button/social-sign-in-button.d.ts +4 -2
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/wallet-pay-button/wallet-pay-button.d.ts +4 -2
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +67 -0
- package/dist/i18n/locales/ar.js +67 -0
- package/dist/i18n/locales/de.d.ts +40 -0
- package/dist/i18n/locales/de.js +40 -0
- package/dist/i18n/locales/el.d.ts +40 -0
- package/dist/i18n/locales/el.js +40 -0
- package/dist/i18n/locales/en.d.ts +40 -0
- package/dist/i18n/locales/en.js +43 -0
- package/dist/i18n/locales/es.d.ts +40 -0
- package/dist/i18n/locales/es.js +40 -0
- package/dist/i18n/locales/fr.d.ts +40 -0
- package/dist/i18n/locales/fr.js +40 -0
- package/dist/i18n/locales/hi.d.ts +40 -0
- package/dist/i18n/locales/hi.js +40 -0
- package/dist/i18n/locales/it.d.ts +40 -0
- package/dist/i18n/locales/it.js +40 -0
- package/dist/i18n/locales/ja.d.ts +40 -0
- package/dist/i18n/locales/ja.js +40 -0
- package/dist/i18n/locales/nl.d.ts +40 -0
- package/dist/i18n/locales/nl.js +40 -0
- package/dist/i18n/locales/pl.d.ts +49 -0
- package/dist/i18n/locales/pl.js +49 -0
- package/dist/i18n/locales/pt.d.ts +40 -0
- package/dist/i18n/locales/pt.js +40 -0
- package/dist/i18n/locales/ro.d.ts +49 -0
- package/dist/i18n/locales/ro.js +49 -0
- package/dist/i18n/locales/ru.d.ts +49 -0
- package/dist/i18n/locales/ru.js +49 -0
- package/dist/i18n/locales/sq.d.ts +40 -0
- package/dist/i18n/locales/sq.js +40 -0
- package/dist/i18n/locales/sv.d.ts +40 -0
- package/dist/i18n/locales/sv.js +40 -0
- package/dist/i18n/locales/tr.d.ts +40 -0
- package/dist/i18n/locales/tr.js +40 -0
- package/dist/i18n/locales/zh.d.ts +40 -0
- package/dist/i18n/locales/zh.js +40 -0
- package/dist/index.js +214 -213
- package/dist/locales/ar.json +67 -0
- package/dist/locales/de.json +40 -0
- package/dist/locales/el.json +40 -0
- package/dist/locales/en.json +40 -0
- package/dist/locales/es.json +40 -0
- package/dist/locales/fr.json +40 -0
- package/dist/locales/hi.json +40 -0
- package/dist/locales/it.json +40 -0
- package/dist/locales/ja.json +40 -0
- package/dist/locales/nl.json +40 -0
- package/dist/locales/pl.json +49 -0
- package/dist/locales/pt.json +40 -0
- package/dist/locales/ro.json +49 -0
- package/dist/locales/ru.json +49 -0
- package/dist/locales/sq.json +40 -0
- package/dist/locales/sv.json +40 -0
- package/dist/locales/tr.json +40 -0
- package/dist/locales/zh.json +40 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar-appointment-editor-dialog.d.ts +19 -0
- package/dist/patterns/calendar/calendar-custom-recurrence.d.ts +54 -0
- package/dist/patterns/calendar/calendar.model.d.ts +35 -1
- package/dist/patterns/calendar/calendar.sheets.d.ts +11 -0
- package/dist/patterns/calendar/index.d.ts +3 -1
- package/dist/patterns/calendar/index.js +18 -17
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/calendar-workspace-Ct8_454k.js +0 -10593
- package/dist/_chunks/sign-in-with-alfadocs-button-CIv0GgeA.js +0 -49
package/dist/_chunks/{workflow-webhook-action-D6K7Jgc2.js → workflow-webhook-action-BvVPZVpG.js}
RENAMED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useTranslation as
|
|
2
|
+
import { forwardRef as qt, useId as N, useRef as i, useState as u, useEffect as C, useCallback as Ht } from "react";
|
|
3
|
+
import { useTranslation as Ye } from "react-i18next";
|
|
4
4
|
import { c as h } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { C as
|
|
5
|
+
import { C as Ue } from "./code-block-BTsCXVGI.js";
|
|
6
6
|
import { A as k } from "./accordion-Ch3xp0mX.js";
|
|
7
7
|
import { A as U } from "./alert-9kEwDza3.js";
|
|
8
|
-
import { B as
|
|
9
|
-
import { B as ue } from "./button-
|
|
10
|
-
import { I as
|
|
11
|
-
import { C as
|
|
12
|
-
import { C as
|
|
13
|
-
import { F as
|
|
8
|
+
import { B as $t } from "./badge-BUk4RjTS.js";
|
|
9
|
+
import { B as ue } from "./button-DohK_Ak_.js";
|
|
10
|
+
import { I as Kt } from "./icon-button-S8_weU3g.js";
|
|
11
|
+
import { C as Ge } from "./card-BA4Ig_kn.js";
|
|
12
|
+
import { C as Xt } from "./checkbox-BjDv-r3o.js";
|
|
13
|
+
import { F as zt } from "./field-array-CA-gn526.js";
|
|
14
14
|
import { F as G } from "./form-field-Ani72sVY.js";
|
|
15
|
-
import { P as
|
|
15
|
+
import { P as Ut } from "./password-input-BokZ_rnT.js";
|
|
16
16
|
import { T as me } from "./text-input-CaG9ApoE.js";
|
|
17
|
-
import { T as
|
|
18
|
-
import { u as
|
|
19
|
-
import { u as
|
|
20
|
-
import { c as
|
|
21
|
-
import { C as
|
|
17
|
+
import { T as Gt } from "./token-insert-menu-DtAnBd0x.js";
|
|
18
|
+
import { u as Qe } from "./use-copy-to-clipboard-Cyfc_dlv.js";
|
|
19
|
+
import { u as Jt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
20
|
+
import { c as Yt } from "./createLucideIcon-DhHxpK9K.js";
|
|
21
|
+
import { C as Ze } from "./check-DrFSN__t.js";
|
|
22
22
|
import { C as he } from "./circle-alert-rGDZ73Wh.js";
|
|
23
|
-
import { C as
|
|
24
|
-
import { S as
|
|
23
|
+
import { C as Ve } from "./copy-vRpqqHtY.js";
|
|
24
|
+
import { S as Qt } from "./send-C5kDJ-Mz.js";
|
|
25
25
|
/**
|
|
26
26
|
* @license lucide-react v1.22.0 - ISC
|
|
27
27
|
*
|
|
28
28
|
* This source code is licensed under the ISC license.
|
|
29
29
|
* See the LICENSE file in the root directory of this source tree.
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const Zt = [
|
|
32
32
|
[
|
|
33
33
|
"path",
|
|
34
34
|
{
|
|
@@ -37,14 +37,14 @@ const Vt = [
|
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
["circle", { cx: "16.5", cy: "7.5", r: ".5", fill: "currentColor", key: "w0ekpg" }]
|
|
40
|
-
],
|
|
40
|
+
], Vt = Yt("key-round", Zt), jo = [
|
|
41
41
|
"url",
|
|
42
42
|
"secret",
|
|
43
43
|
"legalBasisConfirmed",
|
|
44
44
|
"parameters"
|
|
45
|
-
],
|
|
45
|
+
], eo = h(
|
|
46
46
|
"ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-lg)] ds:text-start ds:text-[var(--foreground)]"
|
|
47
|
-
),
|
|
47
|
+
), to = h(
|
|
48
48
|
"ds:m-0 ds:grid ds:gap-x-[var(--spacing-xl)] ds:gap-y-[var(--spacing-md)]",
|
|
49
49
|
{
|
|
50
50
|
variants: {
|
|
@@ -58,57 +58,57 @@ const Vt = [
|
|
|
58
58
|
}
|
|
59
59
|
), fe = h(
|
|
60
60
|
"ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-sm)]"
|
|
61
|
-
), pe = h("type-title-item ds:text-foreground"),
|
|
61
|
+
), pe = h("type-title-item ds:text-foreground"), oo = h(
|
|
62
62
|
"ds:min-w-0 ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:font-mono type-body-sm ds:text-foreground ds:[overflow-wrap:anywhere]"
|
|
63
|
-
), x = h("type-body-sm ds:text-muted-foreground"),
|
|
63
|
+
), x = h("type-body-sm ds:text-muted-foreground"), no = h(
|
|
64
64
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-destructive"
|
|
65
|
-
),
|
|
65
|
+
), ro = h(
|
|
66
66
|
"ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2"
|
|
67
|
-
),
|
|
67
|
+
), so = "https://", ao = 2048, co = 720, ke = {
|
|
68
68
|
salutation: "[[TITOLO]]",
|
|
69
69
|
firstName: "[[NOME]]",
|
|
70
70
|
lastName: "[[COGNOME]]"
|
|
71
|
-
},
|
|
71
|
+
}, et = "wf12-e345-a67", lo = {
|
|
72
72
|
sentAt: "2026-10-12T09:00:00+02:00",
|
|
73
|
-
idempotencyKey:
|
|
73
|
+
idempotencyKey: et,
|
|
74
74
|
practiceId: 1234,
|
|
75
75
|
workflowId: 12,
|
|
76
76
|
workflowActionId: 67,
|
|
77
77
|
workflowEnrollmentId: 345,
|
|
78
78
|
patientId: 5678
|
|
79
|
-
},
|
|
79
|
+
}, io = [
|
|
80
80
|
"Content-Type: application/json",
|
|
81
|
-
`X-AlfaDocs-Idempotency-Key: ${
|
|
81
|
+
`X-AlfaDocs-Idempotency-Key: ${et}`,
|
|
82
82
|
"X-AlfaDocs-Request-Timestamp: 1791788400000",
|
|
83
83
|
"X-AlfaDocs-Signature: sha256=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
|
|
84
84
|
].join(`
|
|
85
|
-
`),
|
|
85
|
+
`), tt = (s) => s === null ? "" : String(s), we = (s) => s.original !== void 0 && s.name === s.original.name && s.value === tt(s.original.value), uo = (s) => s.flatMap((a) => a.original !== void 0 && we(a) ? [[a.original.name, a.original.value]] : a.name.trim() === "" ? [] : [[a.name, a.value]]), mo = (s) => s.length === 0 ? "" : `{${s.map(
|
|
86
86
|
([a, w]) => `${JSON.stringify(a)}:${JSON.stringify(w)}`
|
|
87
|
-
).join(",")}}`,
|
|
87
|
+
).join(",")}}`, fo = () => {
|
|
88
88
|
const s = new Uint8Array(32);
|
|
89
89
|
return globalThis.crypto.getRandomValues(s), Array.from(s, (a) => a.toString(16).padStart(2, "0")).join(
|
|
90
90
|
""
|
|
91
91
|
);
|
|
92
|
-
},
|
|
93
|
-
function
|
|
94
|
-
const { t: l } =
|
|
92
|
+
}, Je = (s) => s != null && s.url ? { kind: "url" } : s != null && s.secret ? { kind: "secret" } : s != null && s.legalBasisConfirmed ? { kind: "legal" } : s != null && s.parameters ? { kind: "parametersError" } : null;
|
|
93
|
+
function po({ name: s, description: a, onCopied: w }) {
|
|
94
|
+
const { t: l } = Ye("ui"), p = N(), { status: L, copy: I } = Qe(), v = L === "copied", D = L === "error";
|
|
95
95
|
return /* @__PURE__ */ d("div", { className: "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
96
96
|
/* @__PURE__ */ d("dt", { className: "ds:flex ds:min-w-0 ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
97
|
-
/* @__PURE__ */ n("code", { dir: "ltr", className:
|
|
97
|
+
/* @__PURE__ */ n("code", { dir: "ltr", className: oo(), children: s }),
|
|
98
98
|
/* @__PURE__ */ n(
|
|
99
|
-
|
|
99
|
+
Kt,
|
|
100
100
|
{
|
|
101
|
-
icon:
|
|
101
|
+
icon: v ? /* @__PURE__ */ n(Ze, {}) : D ? /* @__PURE__ */ n(he, {}) : /* @__PURE__ */ n(Ve, {}),
|
|
102
102
|
size: "sm",
|
|
103
103
|
intent: "ghost",
|
|
104
104
|
"aria-label": l("keyValuePair.copy", { label: s }),
|
|
105
105
|
"aria-describedby": p,
|
|
106
106
|
"data-action": "copy-field",
|
|
107
|
-
"data-copied":
|
|
107
|
+
"data-copied": v ? "true" : void 0,
|
|
108
108
|
onClick: () => void I(s).then(w)
|
|
109
109
|
}
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
v ? /* @__PURE__ */ n("span", { "aria-hidden": "true", className: "type-body-sm ds:text-success", children: l("copyField.copied") }) : D ? /* @__PURE__ */ n("span", { "aria-hidden": "true", className: "type-body-sm ds:text-destructive", children: l("copyField.copyFailed") }) : null
|
|
112
112
|
] }),
|
|
113
113
|
/* @__PURE__ */ n(
|
|
114
114
|
"dd",
|
|
@@ -120,7 +120,7 @@ function ko({ name: s, description: a, onCopied: w }) {
|
|
|
120
120
|
)
|
|
121
121
|
] });
|
|
122
122
|
}
|
|
123
|
-
const
|
|
123
|
+
const ko = qt(
|
|
124
124
|
({
|
|
125
125
|
children: s,
|
|
126
126
|
initialValues: a,
|
|
@@ -129,12 +129,12 @@ const ho = Ht(
|
|
|
129
129
|
fieldNames: p,
|
|
130
130
|
placeholders: L,
|
|
131
131
|
onSendTest: I,
|
|
132
|
-
onValueChange:
|
|
132
|
+
onValueChange: v,
|
|
133
133
|
layout: D = "two-column",
|
|
134
|
-
className:
|
|
135
|
-
...
|
|
134
|
+
className: ot,
|
|
135
|
+
...nt
|
|
136
136
|
}, E) => {
|
|
137
|
-
const { t: o } =
|
|
137
|
+
const { t: o } = Ye("ui"), rt = [
|
|
138
138
|
["patientId", o("workflowWebhookAction.sent.patientId")],
|
|
139
139
|
["practiceId", o("workflowWebhookAction.sent.practiceId")],
|
|
140
140
|
["workflowId", o("workflowWebhookAction.sent.workflowId")],
|
|
@@ -146,7 +146,7 @@ const ho = Ht(
|
|
|
146
146
|
["sentAt", o("workflowWebhookAction.sent.sentAt")],
|
|
147
147
|
["idempotencyKey", o("workflowWebhookAction.sent.idempotencyKey")],
|
|
148
148
|
["parameters", o("workflowWebhookAction.sent.parameters")]
|
|
149
|
-
],
|
|
149
|
+
], st = [
|
|
150
150
|
["X-AlfaDocs-Signature", o("workflowWebhookAction.headers.signature")],
|
|
151
151
|
[
|
|
152
152
|
"X-AlfaDocs-Request-Timestamp",
|
|
@@ -156,7 +156,7 @@ const ho = Ht(
|
|
|
156
156
|
"X-AlfaDocs-Idempotency-Key",
|
|
157
157
|
o("workflowWebhookAction.headers.idempotency")
|
|
158
158
|
]
|
|
159
|
-
], be = N(), ge = N(), ve = N(), ye = N(), Ae = N(),
|
|
159
|
+
], be = N(), ge = N(), ve = N(), ye = N(), Ae = N(), R = L ?? [
|
|
160
160
|
{
|
|
161
161
|
value: ke.salutation,
|
|
162
162
|
label: o("workflowWebhookAction.variableSalutation")
|
|
@@ -169,45 +169,45 @@ const ho = Ht(
|
|
|
169
169
|
value: ke.lastName,
|
|
170
170
|
label: o("workflowWebhookAction.variableLastName")
|
|
171
171
|
}
|
|
172
|
-
], M = i(0),
|
|
172
|
+
], M = i(0), at = () => (M.current += 1, `parameter-${M.current}`), [y, ct] = u(() => (a == null ? void 0 : a.url) ?? ""), [f, We] = u(""), [lt, Ce] = u(!1), [b, J] = u(
|
|
173
173
|
() => Object.entries((a == null ? void 0 : a.parameters) ?? {}).map(([e, t]) => (M.current += 1, {
|
|
174
174
|
key: `parameter-${M.current}`,
|
|
175
175
|
name: e,
|
|
176
|
-
value:
|
|
176
|
+
value: tt(t),
|
|
177
177
|
original: { name: e, value: t }
|
|
178
178
|
}))
|
|
179
|
-
), [
|
|
179
|
+
), [O, it] = u(
|
|
180
180
|
() => (a == null ? void 0 : a.legalBasisConfirmed) ?? !1
|
|
181
|
-
), [
|
|
181
|
+
), [dt, Y] = u(
|
|
182
182
|
() => Object.keys((a == null ? void 0 : a.parameters) ?? {}).length > 0 || !!(l != null && l.parameters)
|
|
183
|
-
), [
|
|
183
|
+
), [ut, mt] = u({}), [Q, ft] = u(!1), [T, xe] = u(() => l ?? {}), [pt, Ne] = u(""), [kt, ht] = u(!1), [wt, bt] = u(
|
|
184
184
|
() => Object.values(l ?? {}).some(Boolean)
|
|
185
185
|
), Ie = i(l);
|
|
186
186
|
C(() => {
|
|
187
|
-
l !== Ie.current && (Ie.current = l, xe(l ?? {}), l != null && l.parameters && Y(!0),
|
|
187
|
+
l !== Ie.current && (Ie.current = l, xe(l ?? {}), l != null && l.parameters && Y(!0), bt(Object.values(l ?? {}).some(Boolean)), W(Je(l)));
|
|
188
188
|
}, [l]);
|
|
189
|
-
const B = (e) =>
|
|
189
|
+
const B = (e) => mt(
|
|
190
190
|
(t) => t[e] ? t : { ...t, [e]: !0 }
|
|
191
|
-
),
|
|
191
|
+
), A = (e) => xe(
|
|
192
192
|
(t) => t[e] ? { ...t, [e]: void 0 } : t
|
|
193
|
-
), P = i(null), Ee = i(null), _ = i(null),
|
|
193
|
+
), P = i(null), Ee = i(null), _ = i(null), Re = i(null), Oe = i(null), Te = i(null), Be = i(null), Z = i(/* @__PURE__ */ new Map()), j = i(/* @__PURE__ */ new Map()), V = i(/* @__PURE__ */ new Set()), ee = i(null);
|
|
194
194
|
C(() => {
|
|
195
195
|
var t;
|
|
196
196
|
const e = ee.current;
|
|
197
197
|
e && (ee.current = null, (t = j.current.get(e.key)) == null || t.setSelectionRange(e.position, e.position));
|
|
198
198
|
});
|
|
199
|
-
const [
|
|
200
|
-
|
|
199
|
+
const [gt, vt] = u(!1);
|
|
200
|
+
Jt(() => {
|
|
201
201
|
const e = P.current;
|
|
202
202
|
if (!e) return;
|
|
203
|
-
const t = () =>
|
|
204
|
-
e.getBoundingClientRect().width >=
|
|
203
|
+
const t = () => vt(
|
|
204
|
+
e.getBoundingClientRect().width >= co
|
|
205
205
|
);
|
|
206
206
|
if (t(), typeof ResizeObserver > "u") return;
|
|
207
207
|
const r = new ResizeObserver(t);
|
|
208
208
|
return r.observe(e), () => r.disconnect();
|
|
209
209
|
}, []);
|
|
210
|
-
const te = D === "two-column" &&
|
|
210
|
+
const te = D === "two-column" && gt, yt = Ht(
|
|
211
211
|
(e) => {
|
|
212
212
|
P.current = e, typeof E == "function" ? E(e) : E && (E.current = e);
|
|
213
213
|
},
|
|
@@ -217,7 +217,7 @@ const ho = Ht(
|
|
|
217
217
|
let t = 0;
|
|
218
218
|
const r = () => {
|
|
219
219
|
var m;
|
|
220
|
-
if (((m =
|
|
220
|
+
if (((m = Be.current) == null ? void 0 : m.closest('[aria-hidden="true"]')) && t < 60) {
|
|
221
221
|
t += 1, window.requestAnimationFrame(r);
|
|
222
222
|
return;
|
|
223
223
|
}
|
|
@@ -225,7 +225,7 @@ const ho = Ht(
|
|
|
225
225
|
};
|
|
226
226
|
window.requestAnimationFrame(r);
|
|
227
227
|
}, oe = () => {
|
|
228
|
-
const e =
|
|
228
|
+
const e = y.trim();
|
|
229
229
|
if (e === "") return o("workflowWebhookAction.urlRequired");
|
|
230
230
|
let t;
|
|
231
231
|
try {
|
|
@@ -233,11 +233,11 @@ const ho = Ht(
|
|
|
233
233
|
} catch {
|
|
234
234
|
return o("workflowWebhookAction.urlInvalid");
|
|
235
235
|
}
|
|
236
|
-
if (!e.startsWith(
|
|
236
|
+
if (!e.startsWith(so)) return o("workflowWebhookAction.urlHttps");
|
|
237
237
|
if (t.hostname === "") return o("workflowWebhookAction.urlInvalid");
|
|
238
238
|
if (t.username !== "" || t.password !== "")
|
|
239
239
|
return o("workflowWebhookAction.urlCredentials");
|
|
240
|
-
}, ne = () => f.trim() === "" && !w ? o("workflowWebhookAction.secretRequired") : void 0,
|
|
240
|
+
}, ne = () => f.trim() === "" && !w ? o("workflowWebhookAction.secretRequired") : void 0, At = () => {
|
|
241
241
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
|
|
242
242
|
for (const r of b) {
|
|
243
243
|
const c = we(r) ? r.name : r.name.trim() === "" ? null : r.name;
|
|
@@ -258,16 +258,16 @@ const ho = Ht(
|
|
|
258
258
|
);
|
|
259
259
|
}
|
|
260
260
|
return e;
|
|
261
|
-
},
|
|
261
|
+
}, Fe = () => O ? void 0 : o("workflowWebhookAction.legalBasisRequired"), re = (e) => Q || ut[e] === !0, Se = At(), Wt = T.url ?? (re("url") ? oe() : void 0), Ct = T.secret ?? (re("secret") ? ne() : void 0), q = T.legalBasisConfirmed ?? (Q ? Fe() : void 0), xt = (e) => re(`parameter:${e}`) ? Se.get(e) : void 0, H = !Q && !wt && !kt, Le = () => {
|
|
262
262
|
if (oe()) return { kind: "url" };
|
|
263
263
|
if (ne()) return { kind: "secret" };
|
|
264
|
-
if (
|
|
265
|
-
const e = b.find((t) =>
|
|
264
|
+
if (Fe()) return { kind: "legal" };
|
|
265
|
+
const e = b.find((t) => Se.has(t.key));
|
|
266
266
|
return e ? { kind: "parameter", key: e.key } : void 0;
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
const [$,
|
|
270
|
-
() =>
|
|
267
|
+
}, De = i(Le);
|
|
268
|
+
De.current = Le;
|
|
269
|
+
const [$, W] = u(
|
|
270
|
+
() => Je(l)
|
|
271
271
|
);
|
|
272
272
|
C(() => {
|
|
273
273
|
if (!$) return;
|
|
@@ -279,11 +279,9 @@ const ho = Ht(
|
|
|
279
279
|
case "secret":
|
|
280
280
|
return _.current;
|
|
281
281
|
case "legal":
|
|
282
|
-
return Be.current;
|
|
283
|
-
case "sendTest":
|
|
284
|
-
return Re.current;
|
|
285
|
-
case "copy":
|
|
286
282
|
return Te.current;
|
|
283
|
+
case "copy":
|
|
284
|
+
return Re.current;
|
|
287
285
|
case "parametersError":
|
|
288
286
|
return Oe.current;
|
|
289
287
|
case "add":
|
|
@@ -300,42 +298,42 @@ const ho = Ht(
|
|
|
300
298
|
const e = (r = P.current) == null ? void 0 : r.closest("form");
|
|
301
299
|
if (!e) return;
|
|
302
300
|
const t = (c) => {
|
|
303
|
-
const m =
|
|
304
|
-
m && (c.preventDefault(),
|
|
301
|
+
const m = De.current();
|
|
302
|
+
m && (c.preventDefault(), ft(!0), m.kind === "parameter" && Y(!0), W({ ...m }));
|
|
305
303
|
};
|
|
306
304
|
return e.addEventListener("submit", t), () => e.removeEventListener("submit", t);
|
|
307
305
|
}, []);
|
|
308
|
-
const
|
|
309
|
-
K.current =
|
|
310
|
-
const
|
|
311
|
-
|
|
312
|
-
const
|
|
306
|
+
const g = uo(b), se = mo(g), K = i(v);
|
|
307
|
+
K.current = v;
|
|
308
|
+
const Me = i(g);
|
|
309
|
+
Me.current = g;
|
|
310
|
+
const Pe = i(!1);
|
|
313
311
|
C(() => {
|
|
314
312
|
var e;
|
|
315
|
-
if (!
|
|
316
|
-
|
|
313
|
+
if (!Pe.current) {
|
|
314
|
+
Pe.current = !0;
|
|
317
315
|
return;
|
|
318
316
|
}
|
|
319
317
|
(e = K.current) == null || e.call(K, {
|
|
320
|
-
url:
|
|
318
|
+
url: y,
|
|
321
319
|
secret: f,
|
|
322
|
-
parameters: Object.fromEntries(
|
|
323
|
-
legalBasisConfirmed:
|
|
320
|
+
parameters: Object.fromEntries(Me.current),
|
|
321
|
+
legalBasisConfirmed: O
|
|
324
322
|
});
|
|
325
|
-
}, [
|
|
323
|
+
}, [y, f, se, O]);
|
|
326
324
|
const {
|
|
327
|
-
status:
|
|
328
|
-
copiedValue:
|
|
329
|
-
copy:
|
|
330
|
-
reset:
|
|
331
|
-
} =
|
|
332
|
-
|
|
333
|
-
}, [
|
|
325
|
+
status: _e,
|
|
326
|
+
copiedValue: Nt,
|
|
327
|
+
copy: It,
|
|
328
|
+
reset: je
|
|
329
|
+
} = Qe(), ae = _e === "copied" && Nt === f, qe = _e === "error", Et = () => {
|
|
330
|
+
je(), We(fo()), Ce(!0), A("secret"), F(o("workflowWebhookAction.secretGenerated")), W({ kind: "copy" });
|
|
331
|
+
}, [He, ce] = u({ kind: "idle" }), S = i(0), Rt = async () => {
|
|
334
332
|
var r;
|
|
335
333
|
if (!I) return;
|
|
336
334
|
const e = oe() ? "url" : ne() ? "secret" : null;
|
|
337
335
|
if (e) {
|
|
338
|
-
B("url"), B("secret"),
|
|
336
|
+
B("url"), B("secret"), ht(!0), W({ kind: e });
|
|
339
337
|
return;
|
|
340
338
|
}
|
|
341
339
|
S.current += 1;
|
|
@@ -343,30 +341,28 @@ const ho = Ht(
|
|
|
343
341
|
ce({ kind: "sending" });
|
|
344
342
|
try {
|
|
345
343
|
const c = await I({
|
|
346
|
-
url:
|
|
344
|
+
url: y.trim(),
|
|
347
345
|
secret: ((r = _.current) == null ? void 0 : r.value) ?? f,
|
|
348
|
-
parameters: Object.fromEntries(
|
|
349
|
-
legalBasisConfirmed:
|
|
346
|
+
parameters: Object.fromEntries(g),
|
|
347
|
+
legalBasisConfirmed: O
|
|
350
348
|
});
|
|
351
|
-
t === S.current &&
|
|
349
|
+
t === S.current && $e({ kind: "done", result: c });
|
|
352
350
|
} catch {
|
|
353
|
-
t === S.current &&
|
|
351
|
+
t === S.current && $e({ kind: "failed" });
|
|
354
352
|
}
|
|
355
|
-
},
|
|
353
|
+
}, $e = (e) => {
|
|
356
354
|
ce(e);
|
|
357
|
-
const t =
|
|
355
|
+
const t = Xe(e);
|
|
358
356
|
t && F(t.text);
|
|
359
|
-
|
|
360
|
-
(!r || r === document.body) && g({ kind: "sendTest" });
|
|
361
|
-
}, X = `${A}
|
|
357
|
+
}, X = `${y}
|
|
362
358
|
${f}
|
|
363
|
-
${se}`,
|
|
359
|
+
${se}`, Ke = i(X);
|
|
364
360
|
C(() => {
|
|
365
|
-
X !==
|
|
361
|
+
X !== Ke.current && (Ke.current = X, S.current += 1, ce(
|
|
366
362
|
(e) => e.kind === "idle" ? e : { kind: "idle" }
|
|
367
363
|
));
|
|
368
364
|
}, [X]);
|
|
369
|
-
const
|
|
365
|
+
const Xe = (e) => {
|
|
370
366
|
if (e.kind === "failed")
|
|
371
367
|
return { ok: !1, text: o("workflowWebhookAction.testFailed") };
|
|
372
368
|
if (e.kind !== "done") return null;
|
|
@@ -384,54 +380,54 @@ ${se}`, Xe = i(X);
|
|
|
384
380
|
};
|
|
385
381
|
}, Ot = async () => {
|
|
386
382
|
var t;
|
|
387
|
-
const e = await
|
|
383
|
+
const e = await It(((t = _.current) == null ? void 0 : t.value) ?? f);
|
|
388
384
|
F(o(e ? "copyField.copySuccess" : "copyField.copyFailed"));
|
|
389
385
|
}, le = (e, t) => {
|
|
390
386
|
J(
|
|
391
387
|
(r) => r.map((c) => c.key === e ? { ...c, ...t } : c)
|
|
392
|
-
),
|
|
393
|
-
},
|
|
394
|
-
const e =
|
|
395
|
-
J((t) => [...t, { key: e, name: "", value: "" }]),
|
|
396
|
-
},
|
|
388
|
+
), A("parameters");
|
|
389
|
+
}, Tt = () => {
|
|
390
|
+
const e = at();
|
|
391
|
+
J((t) => [...t, { key: e, name: "", value: "" }]), W({ kind: "parameter", key: e });
|
|
392
|
+
}, Bt = (e) => {
|
|
397
393
|
const t = b.filter((m, de) => de !== e), r = b[e];
|
|
398
|
-
r && (Z.current.delete(r.key), j.current.delete(r.key), V.current.delete(r.key)), J(t),
|
|
394
|
+
r && (Z.current.delete(r.key), j.current.delete(r.key), V.current.delete(r.key)), J(t), A("parameters");
|
|
399
395
|
const c = t[e] ?? t[e - 1];
|
|
400
|
-
|
|
396
|
+
W(
|
|
401
397
|
c ? { kind: "parameter", key: c.key } : { kind: "add" }
|
|
402
398
|
);
|
|
403
|
-
},
|
|
404
|
-
var
|
|
405
|
-
const r = j.current.get(e.key), c = r !== void 0 && V.current.has(e.key), m = c ? r.selectionStart ?? e.value.length : e.value.length, de = c ? r.selectionEnd ?? m : m,
|
|
406
|
-
ee.current = { key: e.key, position: m + t.length }, le(e.key, { value:
|
|
407
|
-
const
|
|
399
|
+
}, Ft = (e, t) => {
|
|
400
|
+
var ze;
|
|
401
|
+
const r = j.current.get(e.key), c = r !== void 0 && V.current.has(e.key), m = c ? r.selectionStart ?? e.value.length : e.value.length, de = c ? r.selectionEnd ?? m : m, Pt = e.value.slice(0, m) + t + e.value.slice(de);
|
|
402
|
+
ee.current = { key: e.key, position: m + t.length }, le(e.key, { value: Pt });
|
|
403
|
+
const _t = (ze = R.find((jt) => jt.value === t)) == null ? void 0 : ze.label;
|
|
408
404
|
F(
|
|
409
405
|
o("workflowWebhookAction.placeholderInserted", {
|
|
410
|
-
detail:
|
|
406
|
+
detail: _t ?? t
|
|
411
407
|
})
|
|
412
408
|
);
|
|
413
|
-
},
|
|
409
|
+
}, St = (e) => F(o(e ? "copyField.copySuccess" : "copyField.copyFailed")), ie = (e, t, r = 2) => /* @__PURE__ */ n(
|
|
414
410
|
"dl",
|
|
415
411
|
{
|
|
416
412
|
"aria-labelledby": e,
|
|
417
|
-
className:
|
|
413
|
+
className: to({
|
|
418
414
|
columns: te ? r : 1
|
|
419
415
|
}),
|
|
420
416
|
children: t.map(([c, m]) => /* @__PURE__ */ n(
|
|
421
|
-
|
|
417
|
+
po,
|
|
422
418
|
{
|
|
423
419
|
name: c,
|
|
424
420
|
description: m,
|
|
425
|
-
onCopied:
|
|
421
|
+
onCopied: St
|
|
426
422
|
},
|
|
427
423
|
c
|
|
428
424
|
))
|
|
429
425
|
}
|
|
430
|
-
),
|
|
431
|
-
{ ...
|
|
426
|
+
), Lt = JSON.stringify(
|
|
427
|
+
{ ...lo, parameters: Object.fromEntries(g) },
|
|
432
428
|
null,
|
|
433
429
|
2
|
|
434
|
-
),
|
|
430
|
+
), Dt = /* @__PURE__ */ d(
|
|
435
431
|
"div",
|
|
436
432
|
{
|
|
437
433
|
"data-columns": te ? 2 : 1,
|
|
@@ -441,39 +437,39 @@ ${se}`, Xe = i(X);
|
|
|
441
437
|
/* @__PURE__ */ n("h4", { id: ge, className: pe(), children: o("workflowWebhookAction.bodyHeading") }),
|
|
442
438
|
/* @__PURE__ */ n("p", { className: x(), children: o("workflowWebhookAction.sentDescription") }),
|
|
443
439
|
/* @__PURE__ */ n(
|
|
444
|
-
|
|
440
|
+
Ue,
|
|
445
441
|
{
|
|
446
442
|
language: "json",
|
|
447
|
-
code:
|
|
443
|
+
code: Lt,
|
|
448
444
|
copyLabel: o("workflowWebhookAction.copyBody")
|
|
449
445
|
}
|
|
450
446
|
),
|
|
451
|
-
ie(ge,
|
|
447
|
+
ie(ge, rt)
|
|
452
448
|
] }),
|
|
453
449
|
/* @__PURE__ */ d("div", { className: fe(), children: [
|
|
454
450
|
/* @__PURE__ */ n("h4", { id: ve, className: pe(), children: o("workflowWebhookAction.headersHeading") }),
|
|
455
451
|
/* @__PURE__ */ n("p", { className: x(), children: o("workflowWebhookAction.headersDescription") }),
|
|
456
452
|
/* @__PURE__ */ n(
|
|
457
|
-
|
|
453
|
+
Ue,
|
|
458
454
|
{
|
|
459
455
|
language: "http",
|
|
460
|
-
code:
|
|
456
|
+
code: io,
|
|
461
457
|
copyLabel: o("workflowWebhookAction.copyHeaders")
|
|
462
458
|
}
|
|
463
459
|
),
|
|
464
|
-
ie(ve,
|
|
460
|
+
ie(ve, st)
|
|
465
461
|
] })
|
|
466
462
|
]
|
|
467
463
|
}
|
|
468
|
-
), z = p !== void 0,
|
|
464
|
+
), z = p !== void 0, Mt = o(lt ? "workflowWebhookAction.generatedNotice" : w ? "workflowWebhookAction.secretSavedDescription" : "workflowWebhookAction.secretDescription");
|
|
469
465
|
return /* @__PURE__ */ d(
|
|
470
466
|
"div",
|
|
471
467
|
{
|
|
472
|
-
ref:
|
|
473
|
-
...
|
|
468
|
+
ref: yt,
|
|
469
|
+
...nt,
|
|
474
470
|
"data-component": "workflow-webhook-action",
|
|
475
471
|
"data-layout": te ? "two-column" : "one-column",
|
|
476
|
-
className:
|
|
472
|
+
className: eo({ className: ot }),
|
|
477
473
|
children: [
|
|
478
474
|
s ? /* @__PURE__ */ n(
|
|
479
475
|
"div",
|
|
@@ -490,7 +486,7 @@ ${se}`, Xe = i(X);
|
|
|
490
486
|
label: o("workflowWebhookAction.url"),
|
|
491
487
|
description: o("workflowWebhookAction.urlDescription"),
|
|
492
488
|
required: !0,
|
|
493
|
-
error:
|
|
489
|
+
error: Wt,
|
|
494
490
|
announceError: H,
|
|
495
491
|
"data-field": "url",
|
|
496
492
|
children: /* @__PURE__ */ n(
|
|
@@ -502,11 +498,11 @@ ${se}`, Xe = i(X);
|
|
|
502
498
|
inputMode: "url",
|
|
503
499
|
autoComplete: "off",
|
|
504
500
|
spellCheck: !1,
|
|
505
|
-
maxLength:
|
|
501
|
+
maxLength: ao,
|
|
506
502
|
placeholder: "https://",
|
|
507
|
-
value:
|
|
503
|
+
value: y,
|
|
508
504
|
onChange: (e) => {
|
|
509
|
-
|
|
505
|
+
ct(e.target.value), A("url");
|
|
510
506
|
},
|
|
511
507
|
onBlur: (e) => {
|
|
512
508
|
e.target.value !== "" && B("url");
|
|
@@ -525,12 +521,12 @@ ${se}`, Xe = i(X);
|
|
|
525
521
|
G,
|
|
526
522
|
{
|
|
527
523
|
label: o("workflowWebhookAction.secret"),
|
|
528
|
-
description:
|
|
524
|
+
description: Mt,
|
|
529
525
|
...w ? { optional: !0 } : { required: !0 },
|
|
530
|
-
error:
|
|
526
|
+
error: Ct,
|
|
531
527
|
announceError: H,
|
|
532
528
|
children: /* @__PURE__ */ n(
|
|
533
|
-
|
|
529
|
+
Ut,
|
|
534
530
|
{
|
|
535
531
|
ref: _,
|
|
536
532
|
name: z ? p.secret : "",
|
|
@@ -539,7 +535,7 @@ ${se}`, Xe = i(X);
|
|
|
539
535
|
spellCheck: !1,
|
|
540
536
|
value: f,
|
|
541
537
|
onChange: (e) => {
|
|
542
|
-
We(e.target.value), Ce(!1),
|
|
538
|
+
We(e.target.value), Ce(!1), je(), A("secret");
|
|
543
539
|
},
|
|
544
540
|
onBlur: (e) => {
|
|
545
541
|
e.target.value !== "" && B("secret");
|
|
@@ -555,25 +551,25 @@ ${se}`, Xe = i(X);
|
|
|
555
551
|
type: "button",
|
|
556
552
|
intent: "outline",
|
|
557
553
|
size: "sm",
|
|
558
|
-
startIcon: /* @__PURE__ */ n(
|
|
554
|
+
startIcon: /* @__PURE__ */ n(Vt, {}),
|
|
559
555
|
"data-action": "generate-secret",
|
|
560
|
-
onClick:
|
|
556
|
+
onClick: Et,
|
|
561
557
|
children: o("workflowWebhookAction.generate")
|
|
562
558
|
}
|
|
563
559
|
),
|
|
564
560
|
/* @__PURE__ */ n(
|
|
565
561
|
ue,
|
|
566
562
|
{
|
|
567
|
-
ref:
|
|
563
|
+
ref: Re,
|
|
568
564
|
type: "button",
|
|
569
565
|
intent: "outline",
|
|
570
566
|
size: "sm",
|
|
571
567
|
disabled: f === "",
|
|
572
|
-
startIcon: ae ? /* @__PURE__ */ n(
|
|
568
|
+
startIcon: ae ? /* @__PURE__ */ n(Ze, {}) : qe ? /* @__PURE__ */ n(he, {}) : /* @__PURE__ */ n(Ve, {}),
|
|
573
569
|
"data-action": "copy-secret",
|
|
574
570
|
"data-copied": ae ? "true" : void 0,
|
|
575
571
|
onClick: () => void Ot(),
|
|
576
|
-
children: o(ae ? "copyField.copied" :
|
|
572
|
+
children: o(ae ? "copyField.copied" : qe ? "copyField.copyFailed" : "workflowWebhookAction.copySecret")
|
|
577
573
|
}
|
|
578
574
|
)
|
|
579
575
|
] })
|
|
@@ -590,12 +586,11 @@ ${se}`, Xe = i(X);
|
|
|
590
586
|
/* @__PURE__ */ n(
|
|
591
587
|
ue,
|
|
592
588
|
{
|
|
593
|
-
ref: Re,
|
|
594
589
|
type: "button",
|
|
595
590
|
intent: "outline",
|
|
596
591
|
size: "sm",
|
|
597
|
-
startIcon: /* @__PURE__ */ n(
|
|
598
|
-
loading:
|
|
592
|
+
startIcon: /* @__PURE__ */ n(Qt, {}),
|
|
593
|
+
loading: He.kind === "sending",
|
|
599
594
|
"aria-describedby": Ae,
|
|
600
595
|
className: "ds:self-start",
|
|
601
596
|
"data-action": "send-test",
|
|
@@ -604,7 +599,7 @@ ${se}`, Xe = i(X);
|
|
|
604
599
|
}
|
|
605
600
|
),
|
|
606
601
|
(() => {
|
|
607
|
-
const e =
|
|
602
|
+
const e = Xe(He);
|
|
608
603
|
return e ? /* @__PURE__ */ n(
|
|
609
604
|
U,
|
|
610
605
|
{
|
|
@@ -626,14 +621,14 @@ ${se}`, Xe = i(X);
|
|
|
626
621
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
627
622
|
children: [
|
|
628
623
|
/* @__PURE__ */ n(
|
|
629
|
-
|
|
624
|
+
Xt,
|
|
630
625
|
{
|
|
631
|
-
ref:
|
|
626
|
+
ref: Te,
|
|
632
627
|
name: z ? p.legalBasisConfirmed : void 0,
|
|
633
628
|
value: "1",
|
|
634
|
-
checked:
|
|
629
|
+
checked: O,
|
|
635
630
|
onCheckedChange: (e) => {
|
|
636
|
-
|
|
631
|
+
it(e === !0), A("legalBasisConfirmed");
|
|
637
632
|
},
|
|
638
633
|
"aria-required": "true",
|
|
639
634
|
"aria-invalid": q ? !0 : void 0,
|
|
@@ -647,7 +642,7 @@ ${se}`, Xe = i(X);
|
|
|
647
642
|
id: be,
|
|
648
643
|
role: H ? "alert" : void 0,
|
|
649
644
|
"data-slot": "error",
|
|
650
|
-
className:
|
|
645
|
+
className: no(),
|
|
651
646
|
children: [
|
|
652
647
|
/* @__PURE__ */ n(
|
|
653
648
|
he,
|
|
@@ -671,34 +666,34 @@ ${se}`, Xe = i(X);
|
|
|
671
666
|
value: se
|
|
672
667
|
}
|
|
673
668
|
) : null,
|
|
674
|
-
/* @__PURE__ */ n("div", { "data-field": "parameters", "data-slot": "parameters", children: /* @__PURE__ */ n(
|
|
669
|
+
/* @__PURE__ */ n("div", { "data-field": "parameters", "data-slot": "parameters", children: /* @__PURE__ */ n(Ge, { variant: "elevated", children: /* @__PURE__ */ n(
|
|
675
670
|
k,
|
|
676
671
|
{
|
|
677
672
|
type: "single",
|
|
678
673
|
collapsible: !0,
|
|
679
|
-
value:
|
|
674
|
+
value: dt ? "advanced" : "",
|
|
680
675
|
onValueChange: (e) => Y(e === "advanced"),
|
|
681
676
|
children: /* @__PURE__ */ d(k.Item, { value: "advanced", children: [
|
|
682
677
|
/* @__PURE__ */ n(k.Trigger, { "data-action": "toggle-advanced", children: /* @__PURE__ */ d("span", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
683
678
|
/* @__PURE__ */ n("span", { children: o("workflowWebhookAction.advanced") }),
|
|
684
|
-
|
|
685
|
-
total:
|
|
679
|
+
g.length > 0 ? /* @__PURE__ */ n($t, { variant: "neutral", size: "md", children: o("workflowWebhookAction.parameterCount", {
|
|
680
|
+
total: g.length
|
|
686
681
|
}) }) : null
|
|
687
682
|
] }) }),
|
|
688
683
|
/* @__PURE__ */ n(k.Content, { children: /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
|
|
689
684
|
/* @__PURE__ */ n("p", { className: x(), children: o("workflowWebhookAction.advancedDescription") }),
|
|
690
|
-
|
|
685
|
+
T.parameters ? /* @__PURE__ */ n(
|
|
691
686
|
"div",
|
|
692
687
|
{
|
|
693
688
|
ref: Oe,
|
|
694
689
|
tabIndex: -1,
|
|
695
690
|
"data-slot": "error",
|
|
696
691
|
className: "ds:outline-none",
|
|
697
|
-
children: /* @__PURE__ */ n(U, { variant: "error", announce: "off", children: /* @__PURE__ */ n(U.Description, { children:
|
|
692
|
+
children: /* @__PURE__ */ n(U, { variant: "error", announce: "off", children: /* @__PURE__ */ n(U.Description, { children: T.parameters }) })
|
|
698
693
|
}
|
|
699
694
|
) : null,
|
|
700
695
|
/* @__PURE__ */ n(
|
|
701
|
-
|
|
696
|
+
zt,
|
|
702
697
|
{
|
|
703
698
|
legend: o("workflowWebhookAction.parametersLegend"),
|
|
704
699
|
items: b,
|
|
@@ -706,19 +701,19 @@ ${se}`, Xe = i(X);
|
|
|
706
701
|
removeItemLabel: (e) => o("workflowWebhookAction.removeParameter", {
|
|
707
702
|
number: e + 1
|
|
708
703
|
}),
|
|
709
|
-
onAdd:
|
|
710
|
-
onRemove:
|
|
704
|
+
onAdd: Tt,
|
|
705
|
+
onRemove: Bt,
|
|
711
706
|
renderItem: (e, t) => /* @__PURE__ */ d(
|
|
712
707
|
"div",
|
|
713
708
|
{
|
|
714
709
|
"data-parameter-id": e.key,
|
|
715
|
-
className:
|
|
710
|
+
className: ro(),
|
|
716
711
|
children: [
|
|
717
712
|
/* @__PURE__ */ n(
|
|
718
713
|
G,
|
|
719
714
|
{
|
|
720
715
|
label: o("workflowWebhookAction.parameterName"),
|
|
721
|
-
error:
|
|
716
|
+
error: xt(e.key),
|
|
722
717
|
announceError: H,
|
|
723
718
|
children: /* @__PURE__ */ n(
|
|
724
719
|
me,
|
|
@@ -765,17 +760,17 @@ ${se}`, Xe = i(X);
|
|
|
765
760
|
)
|
|
766
761
|
}
|
|
767
762
|
),
|
|
768
|
-
|
|
769
|
-
|
|
763
|
+
R.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:sm:col-span-2", children: /* @__PURE__ */ n(
|
|
764
|
+
Gt,
|
|
770
765
|
{
|
|
771
|
-
tokens:
|
|
766
|
+
tokens: R.map((r) => ({
|
|
772
767
|
value: r.value,
|
|
773
768
|
label: r.label
|
|
774
769
|
})),
|
|
775
770
|
triggerLabel: o(
|
|
776
771
|
"workflowWebhookAction.insertDetail"
|
|
777
772
|
),
|
|
778
|
-
onInsert: (r) =>
|
|
773
|
+
onInsert: (r) => Ft(e, r)
|
|
779
774
|
}
|
|
780
775
|
) }) : null
|
|
781
776
|
]
|
|
@@ -783,7 +778,7 @@ ${se}`, Xe = i(X);
|
|
|
783
778
|
)
|
|
784
779
|
}
|
|
785
780
|
),
|
|
786
|
-
|
|
781
|
+
R.length > 0 ? /* @__PURE__ */ d("div", { className: fe(), children: [
|
|
787
782
|
/* @__PURE__ */ n(
|
|
788
783
|
"h4",
|
|
789
784
|
{
|
|
@@ -795,7 +790,7 @@ ${se}`, Xe = i(X);
|
|
|
795
790
|
/* @__PURE__ */ n("p", { className: x(), children: o("workflowWebhookAction.variablesDescription") }),
|
|
796
791
|
ie(
|
|
797
792
|
ye,
|
|
798
|
-
|
|
793
|
+
R.map(
|
|
799
794
|
(e) => [e.value, e.label]
|
|
800
795
|
),
|
|
801
796
|
3
|
|
@@ -805,18 +800,18 @@ ${se}`, Xe = i(X);
|
|
|
805
800
|
] })
|
|
806
801
|
}
|
|
807
802
|
) }) }),
|
|
808
|
-
/* @__PURE__ */ n("div", { "data-slot": "reference", children: /* @__PURE__ */ n(
|
|
803
|
+
/* @__PURE__ */ n("div", { "data-slot": "reference", children: /* @__PURE__ */ n(Ge, { variant: "elevated", children: /* @__PURE__ */ n(k, { type: "single", collapsible: !0, children: /* @__PURE__ */ d(k.Item, { value: "reference", children: [
|
|
809
804
|
/* @__PURE__ */ n(k.Trigger, { "data-action": "toggle-reference", children: /* @__PURE__ */ n("span", { children: o("workflowWebhookAction.sentHeading") }) }),
|
|
810
|
-
/* @__PURE__ */ n(k.Content, { children:
|
|
805
|
+
/* @__PURE__ */ n(k.Content, { children: Dt })
|
|
811
806
|
] }) }) }) }),
|
|
812
807
|
/* @__PURE__ */ n(
|
|
813
808
|
"span",
|
|
814
809
|
{
|
|
815
|
-
ref:
|
|
810
|
+
ref: Be,
|
|
816
811
|
role: "status",
|
|
817
812
|
"aria-live": "polite",
|
|
818
813
|
className: "ds:sr-only",
|
|
819
|
-
children:
|
|
814
|
+
children: pt
|
|
820
815
|
}
|
|
821
816
|
)
|
|
822
817
|
]
|
|
@@ -824,9 +819,9 @@ ${se}`, Xe = i(X);
|
|
|
824
819
|
);
|
|
825
820
|
}
|
|
826
821
|
);
|
|
827
|
-
|
|
822
|
+
ko.displayName = "WorkflowWebhookAction";
|
|
828
823
|
export {
|
|
829
|
-
|
|
830
|
-
|
|
824
|
+
jo as W,
|
|
825
|
+
ko as a
|
|
831
826
|
};
|
|
832
|
-
//# sourceMappingURL=workflow-webhook-action-
|
|
827
|
+
//# sourceMappingURL=workflow-webhook-action-BvVPZVpG.js.map
|