@alfadocs/ui-kit-debug 1.78.0 → 1.80.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/{address-fields-BUPRs3n-.js → address-fields-GnoSkvh6.js} +2 -2
- package/dist/_chunks/{address-fields-BUPRs3n-.js.map → address-fields-GnoSkvh6.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-rows-vNDyE5HW.js → anamnesis-summary-rows-lONg-zja.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-vNDyE5HW.js.map → anamnesis-summary-rows-lONg-zja.js.map} +1 -1
- package/dist/_chunks/{bishop-score-CdbU9Nl4.js → bishop-score-C5di6oAV.js} +2 -2
- package/dist/_chunks/{bishop-score-CdbU9Nl4.js.map → bishop-score-C5di6oAV.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-DnfiDh4Q.js → bmi-calculator-BIExHBZV.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DnfiDh4Q.js.map → bmi-calculator-BIExHBZV.js.map} +1 -1
- package/dist/_chunks/{booking-Cz_QjIJe.js → booking-By4I_1A-.js} +1766 -1749
- package/dist/_chunks/booking-By4I_1A-.js.map +1 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-cvUpUjj-.js → calendar-appointment-editor-dialog-DhTTWgXw.js} +3 -3
- package/dist/_chunks/{calendar-appointment-editor-dialog-cvUpUjj-.js.map → calendar-appointment-editor-dialog-DhTTWgXw.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-HO3s5InI.js → cycle-calculator-CQkjVSD2.js} +2 -2
- package/dist/_chunks/{cycle-calculator-HO3s5InI.js.map → cycle-calculator-CQkjVSD2.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-CDWTSblh.js → due-date-calculator-NjTlmoFK.js} +2 -2
- package/dist/_chunks/{due-date-calculator-CDWTSblh.js.map → due-date-calculator-NjTlmoFK.js.map} +1 -1
- package/dist/_chunks/{fetal-weight-CrtBFJl-.js → fetal-weight-Brl3n4LN.js} +2 -2
- package/dist/_chunks/{fetal-weight-CrtBFJl-.js.map → fetal-weight-Brl3n4LN.js.map} +1 -1
- package/dist/_chunks/{forgot-password-form-BSOZVrZG.js → forgot-password-form-BQPvDS7i.js} +2 -2
- package/dist/_chunks/{forgot-password-form-BSOZVrZG.js.map → forgot-password-form-BQPvDS7i.js.map} +1 -1
- package/dist/_chunks/form-field-CyHfOVKF.js +185 -0
- package/dist/_chunks/form-field-CyHfOVKF.js.map +1 -0
- package/dist/_chunks/{gestational-age-calculator-CTHeJJdb.js → gestational-age-calculator-Dr9hdDta.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CTHeJJdb.js.map → gestational-age-calculator-Dr9hdDta.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-BBk-a33g.js → hcg-doubling-K41Wy7LB.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BBk-a33g.js.map → hcg-doubling-K41Wy7LB.js.map} +1 -1
- package/dist/_chunks/{help-me-write-templates-Ds1FY-WY.js → help-me-write-templates-BJSf24xS.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-Ds1FY-WY.js.map → help-me-write-templates-BJSf24xS.js.map} +1 -1
- package/dist/_chunks/key-round-DIgsnJSg.js +21 -0
- package/dist/_chunks/key-round-DIgsnJSg.js.map +1 -0
- package/dist/_chunks/{kit-extensions-sNTZWkoo.js → kit-extensions-a0G4COFH.js} +6 -6
- package/dist/_chunks/{kit-extensions-sNTZWkoo.js.map → kit-extensions-a0G4COFH.js.map} +1 -1
- package/dist/_chunks/login-dev-card-CvLHj-_N.js +353 -0
- package/dist/_chunks/login-dev-card-CvLHj-_N.js.map +1 -0
- package/dist/_chunks/{practice-results-BnY2EkzI.js → practice-results-CtOanuzZ.js} +659 -615
- package/dist/_chunks/practice-results-CtOanuzZ.js.map +1 -0
- package/dist/_chunks/{pregnancy-dating-JBAUbM40.js → pregnancy-dating-BHvfDxz4.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-JBAUbM40.js.map → pregnancy-dating-BHvfDxz4.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain--Bqv6AWu.js → pregnancy-weight-gain-BeQRxwdP.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain--Bqv6AWu.js.map → pregnancy-weight-gain-BeQRxwdP.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-DQh2SX8G.js → radiograph-panel.agent-BQ95uFCd.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-DQh2SX8G.js.map → radiograph-panel.agent-BQ95uFCd.js.map} +1 -1
- package/dist/_chunks/registration-form-CNBfUduG.js +1337 -0
- package/dist/_chunks/registration-form-CNBfUduG.js.map +1 -0
- package/dist/_chunks/reset-password-form-Cf9QPEJu.js +367 -0
- package/dist/_chunks/reset-password-form-Cf9QPEJu.js.map +1 -0
- package/dist/_chunks/{send-registration-link-form-__DWY62q.js → send-registration-link-form-vTn1HxjA.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-__DWY62q.js.map → send-registration-link-form-vTn1HxjA.js.map} +1 -1
- package/dist/_chunks/{task-editor-CRhfwP9T.js → task-editor-Cpw-NmND.js} +2 -2
- package/dist/_chunks/{task-editor-CRhfwP9T.js.map → task-editor-Cpw-NmND.js.map} +1 -1
- package/dist/_chunks/{unit-converter-D59L-gkf.js → unit-converter-BH5ueIhT.js} +2 -2
- package/dist/_chunks/{unit-converter-D59L-gkf.js.map → unit-converter-BH5ueIhT.js.map} +1 -1
- package/dist/_chunks/{voice-control-panel-DQJwe6_Q.js → voice-control-panel-BziKE-KK.js} +2 -2
- package/dist/_chunks/{voice-control-panel-DQJwe6_Q.js.map → voice-control-panel-BziKE-KK.js.map} +1 -1
- package/dist/_chunks/{workflow-webhook-action-BvVPZVpG.js → workflow-webhook-action-DulCpCRz.js} +96 -111
- package/dist/_chunks/workflow-webhook-action-DulCpCRz.js.map +1 -0
- package/dist/agent-catalog.json +91 -5
- package/dist/agent-i18n/en.json +11 -2
- package/dist/components/address-fields/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 +16 -1
- package/dist/components/booking/booking-types.d.ts.map +1 -1
- package/dist/components/booking/booking.d.ts.map +1 -1
- package/dist/components/booking/cascade.d.ts +3 -0
- package/dist/components/booking/cascade.d.ts.map +1 -1
- package/dist/components/booking/details-form.d.ts +2 -0
- package/dist/components/booking/details-form.d.ts.map +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/form-field/form-field.d.ts +6 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -1
- package/dist/components/form-field/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/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +19 -2
- package/dist/components/practice-results/practice-results.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/task-editor/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/i18n/locales/ar.d.ts +28 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +30 -2
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +28 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +30 -2
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +28 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +30 -2
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +28 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +29 -1
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +28 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +30 -2
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +28 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +30 -2
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +28 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +30 -2
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +28 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +30 -2
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +28 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +30 -2
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +28 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +30 -2
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +28 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +30 -2
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +28 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +30 -2
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +28 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +30 -2
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +28 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +30 -2
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +28 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +30 -2
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +28 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +30 -2
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +28 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +30 -2
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +28 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +30 -2
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +90 -87
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +30 -2
- package/dist/locales/de.json +30 -2
- package/dist/locales/el.json +30 -2
- package/dist/locales/en.json +29 -1
- package/dist/locales/es.json +30 -2
- package/dist/locales/fr.json +30 -2
- package/dist/locales/hi.json +30 -2
- package/dist/locales/it.json +30 -2
- package/dist/locales/ja.json +30 -2
- package/dist/locales/nl.json +30 -2
- package/dist/locales/pl.json +30 -2
- package/dist/locales/pt.json +30 -2
- package/dist/locales/ro.json +30 -2
- package/dist/locales/ru.json +30 -2
- package/dist/locales/sq.json +30 -2
- package/dist/locales/sv.json +30 -2
- package/dist/locales/tr.json +30 -2
- package/dist/locales/zh.json +30 -2
- package/dist/patterns/_shared/password-policy.d.ts +3 -0
- package/dist/patterns/_shared/password-policy.d.ts.map +1 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/login-form/login-form.d.ts +24 -7
- package/dist/patterns/login-form/login-form.d.ts.map +1 -1
- package/dist/patterns/registration-form/index.d.ts +1 -1
- package/dist/patterns/registration-form/index.d.ts.map +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/registration-form/registration-form.d.ts +27 -0
- package/dist/patterns/registration-form/registration-form.d.ts.map +1 -1
- package/dist/patterns/reset-password-form/index.d.ts +3 -0
- package/dist/patterns/reset-password-form/index.d.ts.map +1 -0
- package/dist/patterns/reset-password-form/index.js +6 -0
- package/dist/patterns/reset-password-form/index.js.map +1 -0
- package/dist/patterns/reset-password-form/reset-password-form.d.ts +108 -0
- package/dist/patterns/reset-password-form/reset-password-form.d.ts.map +1 -0
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/booking-Cz_QjIJe.js.map +0 -1
- package/dist/_chunks/form-field-Ani72sVY.js +0 -176
- package/dist/_chunks/form-field-Ani72sVY.js.map +0 -1
- package/dist/_chunks/login-dev-card-DRxTPkE9.js +0 -332
- package/dist/_chunks/login-dev-card-DRxTPkE9.js.map +0 -1
- package/dist/_chunks/practice-results-BnY2EkzI.js.map +0 -1
- package/dist/_chunks/registration-form-xORq2s4p.js +0 -1310
- package/dist/_chunks/registration-form-xORq2s4p.js.map +0 -1
- package/dist/_chunks/workflow-webhook-action-BvVPZVpG.js.map +0 -1
package/dist/_chunks/{workflow-webhook-action-BvVPZVpG.js → workflow-webhook-action-DulCpCRz.js}
RENAMED
|
@@ -1,50 +1,35 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as Ht, useId as N, useRef as i, useState as u, useEffect as C, useCallback as _t } from "react";
|
|
3
3
|
import { useTranslation as Ye } from "react-i18next";
|
|
4
4
|
import { c as h } from "./index-D2ZczOXr.js";
|
|
5
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
|
|
8
|
+
import { B as Kt } from "./badge-BUk4RjTS.js";
|
|
9
9
|
import { B as ue } from "./button-DohK_Ak_.js";
|
|
10
|
-
import { I as
|
|
10
|
+
import { I as $t } from "./icon-button-S8_weU3g.js";
|
|
11
11
|
import { C as Ge } from "./card-BA4Ig_kn.js";
|
|
12
12
|
import { C as Xt } from "./checkbox-BjDv-r3o.js";
|
|
13
13
|
import { F as zt } from "./field-array-CA-gn526.js";
|
|
14
|
-
import { F as G } from "./form-field-
|
|
14
|
+
import { F as G } from "./form-field-CyHfOVKF.js";
|
|
15
15
|
import { P as Ut } from "./password-input-BokZ_rnT.js";
|
|
16
16
|
import { T as me } from "./text-input-CaG9ApoE.js";
|
|
17
17
|
import { T as Gt } from "./token-insert-menu-DtAnBd0x.js";
|
|
18
18
|
import { u as Qe } from "./use-copy-to-clipboard-Cyfc_dlv.js";
|
|
19
19
|
import { u as Jt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
20
|
-
import {
|
|
20
|
+
import { K as Yt } from "./key-round-DIgsnJSg.js";
|
|
21
21
|
import { C as Ze } from "./check-DrFSN__t.js";
|
|
22
22
|
import { C as he } from "./circle-alert-rGDZ73Wh.js";
|
|
23
23
|
import { C as Ve } from "./copy-vRpqqHtY.js";
|
|
24
24
|
import { S as Qt } from "./send-C5kDJ-Mz.js";
|
|
25
|
-
|
|
26
|
-
* @license lucide-react v1.22.0 - ISC
|
|
27
|
-
*
|
|
28
|
-
* This source code is licensed under the ISC license.
|
|
29
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
30
|
-
*/
|
|
31
|
-
const Zt = [
|
|
32
|
-
[
|
|
33
|
-
"path",
|
|
34
|
-
{
|
|
35
|
-
d: "M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",
|
|
36
|
-
key: "1s6t7t"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
["circle", { cx: "16.5", cy: "7.5", r: ".5", fill: "currentColor", key: "w0ekpg" }]
|
|
40
|
-
], Vt = Yt("key-round", Zt), jo = [
|
|
25
|
+
const Mo = [
|
|
41
26
|
"url",
|
|
42
27
|
"secret",
|
|
43
28
|
"legalBasisConfirmed",
|
|
44
29
|
"parameters"
|
|
45
|
-
],
|
|
30
|
+
], Zt = h(
|
|
46
31
|
"ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-lg)] ds:text-start ds:text-[var(--foreground)]"
|
|
47
|
-
),
|
|
32
|
+
), Vt = h(
|
|
48
33
|
"ds:m-0 ds:grid ds:gap-x-[var(--spacing-xl)] ds:gap-y-[var(--spacing-md)]",
|
|
49
34
|
{
|
|
50
35
|
variants: {
|
|
@@ -58,17 +43,17 @@ const Zt = [
|
|
|
58
43
|
}
|
|
59
44
|
), fe = h(
|
|
60
45
|
"ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-sm)]"
|
|
61
|
-
), pe = h("type-title-item ds:text-foreground"),
|
|
46
|
+
), pe = h("type-title-item ds:text-foreground"), eo = h(
|
|
62
47
|
"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"),
|
|
48
|
+
), x = h("type-body-sm ds:text-muted-foreground"), to = h(
|
|
64
49
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-destructive"
|
|
65
|
-
),
|
|
50
|
+
), oo = h(
|
|
66
51
|
"ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2"
|
|
67
|
-
),
|
|
52
|
+
), no = "https://", ro = 2048, so = 720, ke = {
|
|
68
53
|
salutation: "[[TITOLO]]",
|
|
69
54
|
firstName: "[[NOME]]",
|
|
70
55
|
lastName: "[[COGNOME]]"
|
|
71
|
-
}, et = "wf12-e345-a67",
|
|
56
|
+
}, et = "wf12-e345-a67", ao = {
|
|
72
57
|
sentAt: "2026-10-12T09:00:00+02:00",
|
|
73
58
|
idempotencyKey: et,
|
|
74
59
|
practiceId: 1234,
|
|
@@ -76,27 +61,27 @@ const Zt = [
|
|
|
76
61
|
workflowActionId: 67,
|
|
77
62
|
workflowEnrollmentId: 345,
|
|
78
63
|
patientId: 5678
|
|
79
|
-
},
|
|
64
|
+
}, co = [
|
|
80
65
|
"Content-Type: application/json",
|
|
81
66
|
`X-AlfaDocs-Idempotency-Key: ${et}`,
|
|
82
67
|
"X-AlfaDocs-Request-Timestamp: 1791788400000",
|
|
83
68
|
"X-AlfaDocs-Signature: sha256=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
|
|
84
69
|
].join(`
|
|
85
|
-
`), tt = (s) => s === null ? "" : String(s), we = (s) => s.original !== void 0 && s.name === s.original.name && s.value === tt(s.original.value),
|
|
70
|
+
`), tt = (s) => s === null ? "" : String(s), we = (s) => s.original !== void 0 && s.name === s.original.name && s.value === tt(s.original.value), lo = (s) => s.flatMap((a) => a.original !== void 0 && we(a) ? [[a.original.name, a.original.value]] : a.name.trim() === "" ? [] : [[a.name, a.value]]), io = (s) => s.length === 0 ? "" : `{${s.map(
|
|
86
71
|
([a, w]) => `${JSON.stringify(a)}:${JSON.stringify(w)}`
|
|
87
|
-
).join(",")}}`,
|
|
72
|
+
).join(",")}}`, uo = () => {
|
|
88
73
|
const s = new Uint8Array(32);
|
|
89
74
|
return globalThis.crypto.getRandomValues(s), Array.from(s, (a) => a.toString(16).padStart(2, "0")).join(
|
|
90
75
|
""
|
|
91
76
|
);
|
|
92
77
|
}, 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
|
|
78
|
+
function mo({ name: s, description: a, onCopied: w }) {
|
|
94
79
|
const { t: l } = Ye("ui"), p = N(), { status: L, copy: I } = Qe(), v = L === "copied", D = L === "error";
|
|
95
80
|
return /* @__PURE__ */ d("div", { className: "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
96
81
|
/* @__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:
|
|
82
|
+
/* @__PURE__ */ n("code", { dir: "ltr", className: eo(), children: s }),
|
|
98
83
|
/* @__PURE__ */ n(
|
|
99
|
-
|
|
84
|
+
$t,
|
|
100
85
|
{
|
|
101
86
|
icon: v ? /* @__PURE__ */ n(Ze, {}) : D ? /* @__PURE__ */ n(he, {}) : /* @__PURE__ */ n(Ve, {}),
|
|
102
87
|
size: "sm",
|
|
@@ -120,7 +105,7 @@ function po({ name: s, description: a, onCopied: w }) {
|
|
|
120
105
|
)
|
|
121
106
|
] });
|
|
122
107
|
}
|
|
123
|
-
const
|
|
108
|
+
const fo = Ht(
|
|
124
109
|
({
|
|
125
110
|
children: s,
|
|
126
111
|
initialValues: a,
|
|
@@ -169,9 +154,9 @@ const ko = qt(
|
|
|
169
154
|
value: ke.lastName,
|
|
170
155
|
label: o("workflowWebhookAction.variableLastName")
|
|
171
156
|
}
|
|
172
|
-
],
|
|
173
|
-
() => Object.entries((a == null ? void 0 : a.parameters) ?? {}).map(([e, t]) => (
|
|
174
|
-
key: `parameter-${
|
|
157
|
+
], P = i(0), at = () => (P.current += 1, `parameter-${P.current}`), [y, ct] = u(() => (a == null ? void 0 : a.url) ?? ""), [f, We] = u(""), [lt, Ce] = u(!1), [b, J] = u(
|
|
158
|
+
() => Object.entries((a == null ? void 0 : a.parameters) ?? {}).map(([e, t]) => (P.current += 1, {
|
|
159
|
+
key: `parameter-${P.current}`,
|
|
175
160
|
name: e,
|
|
176
161
|
value: tt(t),
|
|
177
162
|
original: { name: e, value: t }
|
|
@@ -190,26 +175,26 @@ const ko = qt(
|
|
|
190
175
|
(t) => t[e] ? t : { ...t, [e]: !0 }
|
|
191
176
|
), A = (e) => xe(
|
|
192
177
|
(t) => t[e] ? { ...t, [e]: void 0 } : t
|
|
193
|
-
),
|
|
178
|
+
), M = i(null), Ee = i(null), j = i(null), Re = i(null), Oe = i(null), Te = i(null), Be = i(null), Z = i(/* @__PURE__ */ new Map()), q = i(/* @__PURE__ */ new Map()), V = i(/* @__PURE__ */ new Set()), ee = i(null);
|
|
194
179
|
C(() => {
|
|
195
180
|
var t;
|
|
196
181
|
const e = ee.current;
|
|
197
|
-
e && (ee.current = null, (t =
|
|
182
|
+
e && (ee.current = null, (t = q.current.get(e.key)) == null || t.setSelectionRange(e.position, e.position));
|
|
198
183
|
});
|
|
199
184
|
const [gt, vt] = u(!1);
|
|
200
185
|
Jt(() => {
|
|
201
|
-
const e =
|
|
186
|
+
const e = M.current;
|
|
202
187
|
if (!e) return;
|
|
203
188
|
const t = () => vt(
|
|
204
|
-
e.getBoundingClientRect().width >=
|
|
189
|
+
e.getBoundingClientRect().width >= so
|
|
205
190
|
);
|
|
206
191
|
if (t(), typeof ResizeObserver > "u") return;
|
|
207
192
|
const r = new ResizeObserver(t);
|
|
208
193
|
return r.observe(e), () => r.disconnect();
|
|
209
194
|
}, []);
|
|
210
|
-
const te = D === "two-column" && gt, yt =
|
|
195
|
+
const te = D === "two-column" && gt, yt = _t(
|
|
211
196
|
(e) => {
|
|
212
|
-
|
|
197
|
+
M.current = e, typeof E == "function" ? E(e) : E && (E.current = e);
|
|
213
198
|
},
|
|
214
199
|
[E]
|
|
215
200
|
), F = (e) => {
|
|
@@ -233,7 +218,7 @@ const ko = qt(
|
|
|
233
218
|
} catch {
|
|
234
219
|
return o("workflowWebhookAction.urlInvalid");
|
|
235
220
|
}
|
|
236
|
-
if (!e.startsWith(
|
|
221
|
+
if (!e.startsWith(no)) return o("workflowWebhookAction.urlHttps");
|
|
237
222
|
if (t.hostname === "") return o("workflowWebhookAction.urlInvalid");
|
|
238
223
|
if (t.username !== "" || t.password !== "")
|
|
239
224
|
return o("workflowWebhookAction.urlCredentials");
|
|
@@ -258,7 +243,7 @@ const ko = qt(
|
|
|
258
243
|
);
|
|
259
244
|
}
|
|
260
245
|
return e;
|
|
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),
|
|
246
|
+
}, 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), H = T.legalBasisConfirmed ?? (Q ? Fe() : void 0), xt = (e) => re(`parameter:${e}`) ? Se.get(e) : void 0, _ = !Q && !wt && !kt, Le = () => {
|
|
262
247
|
if (oe()) return { kind: "url" };
|
|
263
248
|
if (ne()) return { kind: "secret" };
|
|
264
249
|
if (Fe()) return { kind: "legal" };
|
|
@@ -266,18 +251,18 @@ const ko = qt(
|
|
|
266
251
|
return e ? { kind: "parameter", key: e.key } : void 0;
|
|
267
252
|
}, De = i(Le);
|
|
268
253
|
De.current = Le;
|
|
269
|
-
const [
|
|
254
|
+
const [K, W] = u(
|
|
270
255
|
() => Je(l)
|
|
271
256
|
);
|
|
272
257
|
C(() => {
|
|
273
|
-
if (
|
|
258
|
+
if (!K) return;
|
|
274
259
|
const e = (() => {
|
|
275
260
|
var t;
|
|
276
|
-
switch (
|
|
261
|
+
switch (K.kind) {
|
|
277
262
|
case "url":
|
|
278
263
|
return Ee.current;
|
|
279
264
|
case "secret":
|
|
280
|
-
return
|
|
265
|
+
return j.current;
|
|
281
266
|
case "legal":
|
|
282
267
|
return Te.current;
|
|
283
268
|
case "copy":
|
|
@@ -285,17 +270,17 @@ const ko = qt(
|
|
|
285
270
|
case "parametersError":
|
|
286
271
|
return Oe.current;
|
|
287
272
|
case "add":
|
|
288
|
-
return (t =
|
|
273
|
+
return (t = M.current) == null ? void 0 : t.querySelector(
|
|
289
274
|
'[data-slot="parameters"] [data-component="field-array"] > button'
|
|
290
275
|
);
|
|
291
276
|
case "parameter":
|
|
292
|
-
return Z.current.get(
|
|
277
|
+
return Z.current.get(K.key);
|
|
293
278
|
}
|
|
294
279
|
})();
|
|
295
280
|
e == null || e.focus();
|
|
296
|
-
}, [
|
|
281
|
+
}, [K]), C(() => {
|
|
297
282
|
var r;
|
|
298
|
-
const e = (r =
|
|
283
|
+
const e = (r = M.current) == null ? void 0 : r.closest("form");
|
|
299
284
|
if (!e) return;
|
|
300
285
|
const t = (c) => {
|
|
301
286
|
const m = De.current();
|
|
@@ -303,32 +288,32 @@ const ko = qt(
|
|
|
303
288
|
};
|
|
304
289
|
return e.addEventListener("submit", t), () => e.removeEventListener("submit", t);
|
|
305
290
|
}, []);
|
|
306
|
-
const g =
|
|
307
|
-
|
|
308
|
-
const
|
|
309
|
-
|
|
310
|
-
const
|
|
291
|
+
const g = lo(b), se = io(g), $ = i(v);
|
|
292
|
+
$.current = v;
|
|
293
|
+
const Pe = i(g);
|
|
294
|
+
Pe.current = g;
|
|
295
|
+
const Me = i(!1);
|
|
311
296
|
C(() => {
|
|
312
297
|
var e;
|
|
313
|
-
if (!
|
|
314
|
-
|
|
298
|
+
if (!Me.current) {
|
|
299
|
+
Me.current = !0;
|
|
315
300
|
return;
|
|
316
301
|
}
|
|
317
|
-
(e =
|
|
302
|
+
(e = $.current) == null || e.call($, {
|
|
318
303
|
url: y,
|
|
319
304
|
secret: f,
|
|
320
|
-
parameters: Object.fromEntries(
|
|
305
|
+
parameters: Object.fromEntries(Pe.current),
|
|
321
306
|
legalBasisConfirmed: O
|
|
322
307
|
});
|
|
323
308
|
}, [y, f, se, O]);
|
|
324
309
|
const {
|
|
325
|
-
status:
|
|
310
|
+
status: je,
|
|
326
311
|
copiedValue: Nt,
|
|
327
312
|
copy: It,
|
|
328
|
-
reset:
|
|
329
|
-
} = Qe(), ae =
|
|
330
|
-
|
|
331
|
-
}, [
|
|
313
|
+
reset: qe
|
|
314
|
+
} = Qe(), ae = je === "copied" && Nt === f, He = je === "error", Et = () => {
|
|
315
|
+
qe(), We(uo()), Ce(!0), A("secret"), F(o("workflowWebhookAction.secretGenerated")), W({ kind: "copy" });
|
|
316
|
+
}, [_e, ce] = u({ kind: "idle" }), S = i(0), Rt = async () => {
|
|
332
317
|
var r;
|
|
333
318
|
if (!I) return;
|
|
334
319
|
const e = oe() ? "url" : ne() ? "secret" : null;
|
|
@@ -342,23 +327,23 @@ const ko = qt(
|
|
|
342
327
|
try {
|
|
343
328
|
const c = await I({
|
|
344
329
|
url: y.trim(),
|
|
345
|
-
secret: ((r =
|
|
330
|
+
secret: ((r = j.current) == null ? void 0 : r.value) ?? f,
|
|
346
331
|
parameters: Object.fromEntries(g),
|
|
347
332
|
legalBasisConfirmed: O
|
|
348
333
|
});
|
|
349
|
-
t === S.current &&
|
|
334
|
+
t === S.current && Ke({ kind: "done", result: c });
|
|
350
335
|
} catch {
|
|
351
|
-
t === S.current &&
|
|
336
|
+
t === S.current && Ke({ kind: "failed" });
|
|
352
337
|
}
|
|
353
|
-
},
|
|
338
|
+
}, Ke = (e) => {
|
|
354
339
|
ce(e);
|
|
355
340
|
const t = Xe(e);
|
|
356
341
|
t && F(t.text);
|
|
357
342
|
}, X = `${y}
|
|
358
343
|
${f}
|
|
359
|
-
${se}`,
|
|
344
|
+
${se}`, $e = i(X);
|
|
360
345
|
C(() => {
|
|
361
|
-
X !==
|
|
346
|
+
X !== $e.current && ($e.current = X, S.current += 1, ce(
|
|
362
347
|
(e) => e.kind === "idle" ? e : { kind: "idle" }
|
|
363
348
|
));
|
|
364
349
|
}, [X]);
|
|
@@ -380,7 +365,7 @@ ${se}`, Ke = i(X);
|
|
|
380
365
|
};
|
|
381
366
|
}, Ot = async () => {
|
|
382
367
|
var t;
|
|
383
|
-
const e = await It(((t =
|
|
368
|
+
const e = await It(((t = j.current) == null ? void 0 : t.value) ?? f);
|
|
384
369
|
F(o(e ? "copyField.copySuccess" : "copyField.copyFailed"));
|
|
385
370
|
}, le = (e, t) => {
|
|
386
371
|
J(
|
|
@@ -391,30 +376,30 @@ ${se}`, Ke = i(X);
|
|
|
391
376
|
J((t) => [...t, { key: e, name: "", value: "" }]), W({ kind: "parameter", key: e });
|
|
392
377
|
}, Bt = (e) => {
|
|
393
378
|
const t = b.filter((m, de) => de !== e), r = b[e];
|
|
394
|
-
r && (Z.current.delete(r.key),
|
|
379
|
+
r && (Z.current.delete(r.key), q.current.delete(r.key), V.current.delete(r.key)), J(t), A("parameters");
|
|
395
380
|
const c = t[e] ?? t[e - 1];
|
|
396
381
|
W(
|
|
397
382
|
c ? { kind: "parameter", key: c.key } : { kind: "add" }
|
|
398
383
|
);
|
|
399
384
|
}, Ft = (e, t) => {
|
|
400
385
|
var ze;
|
|
401
|
-
const r =
|
|
402
|
-
ee.current = { key: e.key, position: m + t.length }, le(e.key, { value:
|
|
403
|
-
const
|
|
386
|
+
const r = q.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, Mt = e.value.slice(0, m) + t + e.value.slice(de);
|
|
387
|
+
ee.current = { key: e.key, position: m + t.length }, le(e.key, { value: Mt });
|
|
388
|
+
const jt = (ze = R.find((qt) => qt.value === t)) == null ? void 0 : ze.label;
|
|
404
389
|
F(
|
|
405
390
|
o("workflowWebhookAction.placeholderInserted", {
|
|
406
|
-
detail:
|
|
391
|
+
detail: jt ?? t
|
|
407
392
|
})
|
|
408
393
|
);
|
|
409
394
|
}, St = (e) => F(o(e ? "copyField.copySuccess" : "copyField.copyFailed")), ie = (e, t, r = 2) => /* @__PURE__ */ n(
|
|
410
395
|
"dl",
|
|
411
396
|
{
|
|
412
397
|
"aria-labelledby": e,
|
|
413
|
-
className:
|
|
398
|
+
className: Vt({
|
|
414
399
|
columns: te ? r : 1
|
|
415
400
|
}),
|
|
416
401
|
children: t.map(([c, m]) => /* @__PURE__ */ n(
|
|
417
|
-
|
|
402
|
+
mo,
|
|
418
403
|
{
|
|
419
404
|
name: c,
|
|
420
405
|
description: m,
|
|
@@ -424,7 +409,7 @@ ${se}`, Ke = i(X);
|
|
|
424
409
|
))
|
|
425
410
|
}
|
|
426
411
|
), Lt = JSON.stringify(
|
|
427
|
-
{ ...
|
|
412
|
+
{ ...ao, parameters: Object.fromEntries(g) },
|
|
428
413
|
null,
|
|
429
414
|
2
|
|
430
415
|
), Dt = /* @__PURE__ */ d(
|
|
@@ -453,7 +438,7 @@ ${se}`, Ke = i(X);
|
|
|
453
438
|
Ue,
|
|
454
439
|
{
|
|
455
440
|
language: "http",
|
|
456
|
-
code:
|
|
441
|
+
code: co,
|
|
457
442
|
copyLabel: o("workflowWebhookAction.copyHeaders")
|
|
458
443
|
}
|
|
459
444
|
),
|
|
@@ -461,7 +446,7 @@ ${se}`, Ke = i(X);
|
|
|
461
446
|
] })
|
|
462
447
|
]
|
|
463
448
|
}
|
|
464
|
-
), z = p !== void 0,
|
|
449
|
+
), z = p !== void 0, Pt = o(lt ? "workflowWebhookAction.generatedNotice" : w ? "workflowWebhookAction.secretSavedDescription" : "workflowWebhookAction.secretDescription");
|
|
465
450
|
return /* @__PURE__ */ d(
|
|
466
451
|
"div",
|
|
467
452
|
{
|
|
@@ -469,7 +454,7 @@ ${se}`, Ke = i(X);
|
|
|
469
454
|
...nt,
|
|
470
455
|
"data-component": "workflow-webhook-action",
|
|
471
456
|
"data-layout": te ? "two-column" : "one-column",
|
|
472
|
-
className:
|
|
457
|
+
className: Zt({ className: ot }),
|
|
473
458
|
children: [
|
|
474
459
|
s ? /* @__PURE__ */ n(
|
|
475
460
|
"div",
|
|
@@ -487,7 +472,7 @@ ${se}`, Ke = i(X);
|
|
|
487
472
|
description: o("workflowWebhookAction.urlDescription"),
|
|
488
473
|
required: !0,
|
|
489
474
|
error: Wt,
|
|
490
|
-
announceError:
|
|
475
|
+
announceError: _,
|
|
491
476
|
"data-field": "url",
|
|
492
477
|
children: /* @__PURE__ */ n(
|
|
493
478
|
me,
|
|
@@ -498,7 +483,7 @@ ${se}`, Ke = i(X);
|
|
|
498
483
|
inputMode: "url",
|
|
499
484
|
autoComplete: "off",
|
|
500
485
|
spellCheck: !1,
|
|
501
|
-
maxLength:
|
|
486
|
+
maxLength: ro,
|
|
502
487
|
placeholder: "https://",
|
|
503
488
|
value: y,
|
|
504
489
|
onChange: (e) => {
|
|
@@ -521,21 +506,21 @@ ${se}`, Ke = i(X);
|
|
|
521
506
|
G,
|
|
522
507
|
{
|
|
523
508
|
label: o("workflowWebhookAction.secret"),
|
|
524
|
-
description:
|
|
509
|
+
description: Pt,
|
|
525
510
|
...w ? { optional: !0 } : { required: !0 },
|
|
526
511
|
error: Ct,
|
|
527
|
-
announceError:
|
|
512
|
+
announceError: _,
|
|
528
513
|
children: /* @__PURE__ */ n(
|
|
529
514
|
Ut,
|
|
530
515
|
{
|
|
531
|
-
ref:
|
|
516
|
+
ref: j,
|
|
532
517
|
name: z ? p.secret : "",
|
|
533
518
|
dir: "ltr",
|
|
534
519
|
autoComplete: "new-password",
|
|
535
520
|
spellCheck: !1,
|
|
536
521
|
value: f,
|
|
537
522
|
onChange: (e) => {
|
|
538
|
-
We(e.target.value), Ce(!1),
|
|
523
|
+
We(e.target.value), Ce(!1), qe(), A("secret");
|
|
539
524
|
},
|
|
540
525
|
onBlur: (e) => {
|
|
541
526
|
e.target.value !== "" && B("secret");
|
|
@@ -551,7 +536,7 @@ ${se}`, Ke = i(X);
|
|
|
551
536
|
type: "button",
|
|
552
537
|
intent: "outline",
|
|
553
538
|
size: "sm",
|
|
554
|
-
startIcon: /* @__PURE__ */ n(
|
|
539
|
+
startIcon: /* @__PURE__ */ n(Yt, {}),
|
|
555
540
|
"data-action": "generate-secret",
|
|
556
541
|
onClick: Et,
|
|
557
542
|
children: o("workflowWebhookAction.generate")
|
|
@@ -565,11 +550,11 @@ ${se}`, Ke = i(X);
|
|
|
565
550
|
intent: "outline",
|
|
566
551
|
size: "sm",
|
|
567
552
|
disabled: f === "",
|
|
568
|
-
startIcon: ae ? /* @__PURE__ */ n(Ze, {}) :
|
|
553
|
+
startIcon: ae ? /* @__PURE__ */ n(Ze, {}) : He ? /* @__PURE__ */ n(he, {}) : /* @__PURE__ */ n(Ve, {}),
|
|
569
554
|
"data-action": "copy-secret",
|
|
570
555
|
"data-copied": ae ? "true" : void 0,
|
|
571
556
|
onClick: () => void Ot(),
|
|
572
|
-
children: o(ae ? "copyField.copied" :
|
|
557
|
+
children: o(ae ? "copyField.copied" : He ? "copyField.copyFailed" : "workflowWebhookAction.copySecret")
|
|
573
558
|
}
|
|
574
559
|
)
|
|
575
560
|
] })
|
|
@@ -590,7 +575,7 @@ ${se}`, Ke = i(X);
|
|
|
590
575
|
intent: "outline",
|
|
591
576
|
size: "sm",
|
|
592
577
|
startIcon: /* @__PURE__ */ n(Qt, {}),
|
|
593
|
-
loading:
|
|
578
|
+
loading: _e.kind === "sending",
|
|
594
579
|
"aria-describedby": Ae,
|
|
595
580
|
className: "ds:self-start",
|
|
596
581
|
"data-action": "send-test",
|
|
@@ -599,7 +584,7 @@ ${se}`, Ke = i(X);
|
|
|
599
584
|
}
|
|
600
585
|
),
|
|
601
586
|
(() => {
|
|
602
|
-
const e = Xe(
|
|
587
|
+
const e = Xe(_e);
|
|
603
588
|
return e ? /* @__PURE__ */ n(
|
|
604
589
|
U,
|
|
605
590
|
{
|
|
@@ -631,18 +616,18 @@ ${se}`, Ke = i(X);
|
|
|
631
616
|
it(e === !0), A("legalBasisConfirmed");
|
|
632
617
|
},
|
|
633
618
|
"aria-required": "true",
|
|
634
|
-
"aria-invalid":
|
|
635
|
-
"aria-describedby":
|
|
619
|
+
"aria-invalid": H ? !0 : void 0,
|
|
620
|
+
"aria-describedby": H ? be : void 0,
|
|
636
621
|
label: o("workflowWebhookAction.legalBasis")
|
|
637
622
|
}
|
|
638
623
|
),
|
|
639
|
-
|
|
624
|
+
H ? /* @__PURE__ */ d(
|
|
640
625
|
"p",
|
|
641
626
|
{
|
|
642
627
|
id: be,
|
|
643
|
-
role:
|
|
628
|
+
role: _ ? "alert" : void 0,
|
|
644
629
|
"data-slot": "error",
|
|
645
|
-
className:
|
|
630
|
+
className: to(),
|
|
646
631
|
children: [
|
|
647
632
|
/* @__PURE__ */ n(
|
|
648
633
|
he,
|
|
@@ -651,7 +636,7 @@ ${se}`, Ke = i(X);
|
|
|
651
636
|
className: "ds:size-4 ds:shrink-0"
|
|
652
637
|
}
|
|
653
638
|
),
|
|
654
|
-
/* @__PURE__ */ n("span", { children:
|
|
639
|
+
/* @__PURE__ */ n("span", { children: H })
|
|
655
640
|
]
|
|
656
641
|
}
|
|
657
642
|
) : null
|
|
@@ -676,7 +661,7 @@ ${se}`, Ke = i(X);
|
|
|
676
661
|
children: /* @__PURE__ */ d(k.Item, { value: "advanced", children: [
|
|
677
662
|
/* @__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: [
|
|
678
663
|
/* @__PURE__ */ n("span", { children: o("workflowWebhookAction.advanced") }),
|
|
679
|
-
g.length > 0 ? /* @__PURE__ */ n(
|
|
664
|
+
g.length > 0 ? /* @__PURE__ */ n(Kt, { variant: "neutral", size: "md", children: o("workflowWebhookAction.parameterCount", {
|
|
680
665
|
total: g.length
|
|
681
666
|
}) }) : null
|
|
682
667
|
] }) }),
|
|
@@ -707,14 +692,14 @@ ${se}`, Ke = i(X);
|
|
|
707
692
|
"div",
|
|
708
693
|
{
|
|
709
694
|
"data-parameter-id": e.key,
|
|
710
|
-
className:
|
|
695
|
+
className: oo(),
|
|
711
696
|
children: [
|
|
712
697
|
/* @__PURE__ */ n(
|
|
713
698
|
G,
|
|
714
699
|
{
|
|
715
700
|
label: o("workflowWebhookAction.parameterName"),
|
|
716
701
|
error: xt(e.key),
|
|
717
|
-
announceError:
|
|
702
|
+
announceError: _,
|
|
718
703
|
children: /* @__PURE__ */ n(
|
|
719
704
|
me,
|
|
720
705
|
{
|
|
@@ -743,7 +728,7 @@ ${se}`, Ke = i(X);
|
|
|
743
728
|
me,
|
|
744
729
|
{
|
|
745
730
|
ref: (r) => {
|
|
746
|
-
r &&
|
|
731
|
+
r && q.current.set(e.key, r);
|
|
747
732
|
},
|
|
748
733
|
"aria-label": o(
|
|
749
734
|
"workflowWebhookAction.parameterValueOf",
|
|
@@ -819,9 +804,9 @@ ${se}`, Ke = i(X);
|
|
|
819
804
|
);
|
|
820
805
|
}
|
|
821
806
|
);
|
|
822
|
-
|
|
807
|
+
fo.displayName = "WorkflowWebhookAction";
|
|
823
808
|
export {
|
|
824
|
-
|
|
825
|
-
|
|
809
|
+
Mo as W,
|
|
810
|
+
fo as a
|
|
826
811
|
};
|
|
827
|
-
//# sourceMappingURL=workflow-webhook-action-
|
|
812
|
+
//# sourceMappingURL=workflow-webhook-action-DulCpCRz.js.map
|