@drawbridge/components 0.1.0 → 0.1.1
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/advertisement.mjs +4 -4
- package/dist/bridge/advertisements.mjs +3 -3
- package/dist/bridge/fields.mjs +7 -7
- package/dist/bridge/form-subdomain-embed.mjs +9 -9
- package/dist/bridge/form-subdomain-header.mjs +3 -3
- package/dist/bridge/form-subdomain-issue.mjs +10 -10
- package/dist/bridge/form-subdomain-prize.mjs +7 -7
- package/dist/bridge/form-subdomain-shop-modal.mjs +13 -13
- package/dist/bridge/form-subdomain-shop.mjs +1 -1
- package/dist/bridge/form-subdomain.mjs +16 -16
- package/dist/bridge/product-tile.mjs +2 -2
- package/dist/bridge/share-button.mjs +1 -1
- package/dist/bridge/template-layout.mjs +14 -14
- package/dist/bridge/template-modal.mjs +15 -15
- package/dist/bridge/template-not-found.mjs +1 -1
- package/dist/bridge/template-subdomain-gallery.mjs +5 -5
- package/dist/bridge/template-subdomain-link.mjs +1 -1
- package/dist/bridge/template-subdomain.mjs +7 -7
- package/dist/dashboard/accordion.mjs +5 -5
- package/dist/dashboard/card-affiliate.mjs +11 -11
- package/dist/dashboard/card-connection.mjs +5 -5
- package/dist/dashboard/card-integration.mjs +6 -6
- package/dist/dashboard/card-metric.mjs +3 -3
- package/dist/dashboard/card-note.mjs +4 -4
- package/dist/dashboard/card-order.mjs +1 -1
- package/dist/dashboard/card-overage.mjs +4 -4
- package/dist/dashboard/card-payment-method.mjs +1 -1
- package/dist/dashboard/card-plan.mjs +5 -5
- package/dist/dashboard/card-product.mjs +1 -1
- package/dist/dashboard/card-score.mjs +2 -2
- package/dist/dashboard/card-setting.mjs +2 -2
- package/dist/dashboard/card-task.mjs +3 -3
- package/dist/dashboard/card-template.mjs +1 -1
- package/dist/dashboard/card-tile.mjs +7 -7
- package/dist/dashboard/card-utm.mjs +4 -4
- package/dist/dashboard/carousel-tiles.mjs +2 -2
- package/dist/dashboard/code-formatter.mjs +2 -2
- package/dist/dashboard/drawer-subscription.mjs +14 -14
- package/dist/dashboard/drawer.mjs +4 -4
- package/dist/dashboard/dropdown.mjs +4 -4
- package/dist/dashboard/form-action.mjs +4 -4
- package/dist/dashboard/form-address.mjs +6 -6
- package/dist/dashboard/form-admin-campaign.mjs +8 -8
- package/dist/dashboard/form-admin-invoice-refund.mjs +8 -8
- package/dist/dashboard/form-admin-oauth.mjs +11 -11
- package/dist/dashboard/form-admin-organization.mjs +8 -8
- package/dist/dashboard/form-admin-provider.mjs +10 -10
- package/dist/dashboard/form-admin-referrer.mjs +7 -7
- package/dist/dashboard/form-admin-subscription-custom.mjs +11 -11
- package/dist/dashboard/form-admin-template.mjs +11 -11
- package/dist/dashboard/form-admin-user-credit.mjs +7 -7
- package/dist/dashboard/form-admin-user-permissions.mjs +7 -7
- package/dist/dashboard/form-admin-user-status.mjs +7 -7
- package/dist/dashboard/form-admin-utm.mjs +12 -12
- package/dist/dashboard/form-ai.mjs +16 -16
- package/dist/dashboard/form-auth.mjs +11 -11
- package/dist/dashboard/form-credit.mjs +1 -1
- package/dist/dashboard/form-file-upload.mjs +14 -14
- package/dist/dashboard/form-file.mjs +11 -11
- package/dist/dashboard/form-filters-analytics.mjs +9 -9
- package/dist/dashboard/form-filters.mjs +9 -9
- package/dist/dashboard/form-note.mjs +7 -7
- package/dist/dashboard/form-notification.mjs +5 -5
- package/dist/dashboard/form-organization-affiliate.mjs +8 -8
- package/dist/dashboard/form-organization-brand.mjs +9 -9
- package/dist/dashboard/form-organization-campaign-advertisement.mjs +14 -14
- package/dist/dashboard/form-organization-campaign-agreement.mjs +11 -11
- package/dist/dashboard/form-organization-campaign-draw.mjs +12 -12
- package/dist/dashboard/form-organization-campaign-field-email.mjs +10 -10
- package/dist/dashboard/form-organization-campaign-field-name.mjs +7 -7
- package/dist/dashboard/form-organization-campaign-field-number.mjs +8 -8
- package/dist/dashboard/form-organization-campaign-field-phone.mjs +9 -9
- package/dist/dashboard/form-organization-campaign-field-select.mjs +9 -9
- package/dist/dashboard/form-organization-campaign-field-text.mjs +8 -8
- package/dist/dashboard/form-organization-campaign-field-textarea.mjs +8 -8
- package/dist/dashboard/form-organization-campaign-integration-age.mjs +8 -8
- package/dist/dashboard/form-organization-campaign-integration-enable.mjs +5 -5
- package/dist/dashboard/form-organization-campaign-integration-geocode.mjs +9 -9
- package/dist/dashboard/form-organization-campaign-integration-gtm.mjs +8 -8
- package/dist/dashboard/form-organization-campaign-lead.mjs +7 -7
- package/dist/dashboard/form-organization-campaign-link.mjs +11 -11
- package/dist/dashboard/form-organization-campaign-page-affiliates.mjs +6 -6
- package/dist/dashboard/form-organization-campaign-page-embed.mjs +7 -7
- package/dist/dashboard/form-organization-campaign-page-preview.mjs +8 -8
- package/dist/dashboard/form-organization-campaign-page-qr.mjs +14 -14
- package/dist/dashboard/form-organization-campaign-page-share.mjs +15 -15
- package/dist/dashboard/form-organization-campaign-page-slug.mjs +8 -8
- package/dist/dashboard/form-organization-campaign-page.mjs +10 -10
- package/dist/dashboard/form-organization-campaign-prize-edit.mjs +16 -16
- package/dist/dashboard/form-organization-campaign-prize.mjs +7 -7
- package/dist/dashboard/form-organization-campaign-range.mjs +10 -10
- package/dist/dashboard/form-organization-campaign.mjs +13 -13
- package/dist/dashboard/form-organization-connection.mjs +14 -14
- package/dist/dashboard/form-organization-export.mjs +9 -9
- package/dist/dashboard/form-organization-file-frame.mjs +9 -9
- package/dist/dashboard/form-organization-file.mjs +11 -11
- package/dist/dashboard/form-organization-identity.mjs +15 -15
- package/dist/dashboard/form-organization-member.mjs +9 -9
- package/dist/dashboard/form-organization-segment.mjs +12 -12
- package/dist/dashboard/form-organization-workflow.mjs +18 -18
- package/dist/dashboard/form-organization.mjs +11 -11
- package/dist/dashboard/form-otc.mjs +7 -7
- package/dist/dashboard/form-payment-methods.mjs +7 -7
- package/dist/dashboard/form-profile.mjs +7 -7
- package/dist/dashboard/form-stripe-promotion.mjs +7 -7
- package/dist/dashboard/form-stripe.mjs +5 -5
- package/dist/dashboard/form-verify-prize.mjs +13 -13
- package/dist/dashboard/google.mjs +5 -5
- package/dist/dashboard/guard-navigation.mjs +3 -3
- package/dist/dashboard/guide.mjs +4 -4
- package/dist/dashboard/iframe.mjs +1 -1
- package/dist/dashboard/input-address-saved.mjs +7 -7
- package/dist/dashboard/input-array.mjs +5 -5
- package/dist/dashboard/input-color.mjs +2 -2
- package/dist/dashboard/input-combobox.mjs +5 -5
- package/dist/dashboard/input-date.mjs +4 -4
- package/dist/dashboard/input-editor.mjs +6 -6
- package/dist/dashboard/input-fields.mjs +20 -20
- package/dist/dashboard/input-file.mjs +6 -6
- package/dist/dashboard/input-font.mjs +6 -6
- package/dist/dashboard/input-group-ai.mjs +5 -5
- package/dist/dashboard/input-radio.mjs +2 -2
- package/dist/dashboard/input-resource.mjs +5 -5
- package/dist/dashboard/input-secret.mjs +6 -6
- package/dist/dashboard/input-time.mjs +2 -2
- package/dist/dashboard/lib/table-actions.mjs +1 -1
- package/dist/dashboard/lib/uppy.mjs +1 -1
- package/dist/dashboard/link-back.mjs +4 -4
- package/dist/dashboard/link.mjs +1 -1
- package/dist/dashboard/list-resource.mjs +4 -4
- package/dist/dashboard/list.mjs +3 -3
- package/dist/dashboard/menu.js +65 -9
- package/dist/dashboard/menu.mjs +76 -21
- package/dist/dashboard/modal.mjs +5 -5
- package/dist/dashboard/notes.mjs +7 -7
- package/dist/dashboard/notice.mjs +3 -3
- package/dist/dashboard/paged.mjs +7 -7
- package/dist/dashboard/provider-resource.mjs +2 -2
- package/dist/dashboard/provider-ui.mjs +6 -6
- package/dist/dashboard/provider.mjs +1 -1
- package/dist/dashboard/recharts.mjs +1 -1
- package/dist/dashboard/steps.mjs +6 -6
- package/dist/dashboard/swatch.mjs +3 -3
- package/dist/dashboard/table-cell-title.mjs +6 -6
- package/dist/dashboard/table.mjs +15 -15
- package/dist/dashboard/template-dashboard.mjs +13 -13
- package/dist/dashboard/template-not-found.mjs +3 -3
- package/dist/dashboard/template-socket.mjs +3 -3
- package/dist/dashboard/template-suspended.mjs +1 -1
- package/dist/dashboard/template-ui.mjs +12 -12
- package/dist/dashboard/wrapper-ai.mjs +1 -1
- package/dist/icons/social.mjs +14 -14
- package/dist/input-checkbox.mjs +3 -3
- package/dist/input-group.mjs +2 -2
- package/dist/input-name.mjs +2 -2
- package/dist/input-number.mjs +4 -4
- package/dist/input-phone.mjs +2 -2
- package/dist/input-select.mjs +2 -2
- package/dist/input-text.mjs +1 -1
- package/dist/input-textarea.mjs +1 -1
- package/dist/product.mjs +6 -6
- package/dist/provider-font.mjs +1 -1
- package/dist/shared/badge.mjs +1 -1
- package/dist/shared/button.mjs +2 -2
- package/dist/shared/card-asset.mjs +3 -3
- package/dist/shared/card-prize.mjs +4 -4
- package/dist/shared/carousel.mjs +2 -2
- package/dist/shared/copy-to-clipboard.mjs +4 -4
- package/dist/shared/empty.mjs +1 -1
- package/dist/shared/error.mjs +1 -1
- package/dist/shared/fieldset.mjs +1 -1
- package/dist/shared/input-checkbox-list.mjs +3 -3
- package/dist/shared/input-range.mjs +1 -1
- package/dist/shared/input-switch.mjs +2 -2
- package/dist/shared/input-url.mjs +1 -1
- package/dist/shared/lib/helpers.mjs +2 -2
- package/dist/shared/lib/icon-labels.mjs +7 -7
- package/dist/shared/lib/yup.mjs +1 -1
- package/dist/shared/loader.mjs +2 -2
- package/dist/shared/overlay.mjs +2 -2
- package/dist/shared/sortable.mjs +1 -1
- package/dist/shared/tabs.mjs +3 -3
- package/dist/video.mjs +2 -2
- package/package.json +299 -3
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useState } from "react";
|
|
3
3
|
import { cdnSrc } from "@drawbridge/drawbridge-utils/cdn";
|
|
4
|
-
import { fileTypes } from "../shared/lib/helpers";
|
|
5
|
-
import { FormAiImage } from "./form-ai";
|
|
6
|
-
import FormFileUpload from "./form-file-upload";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import Loader from "../icons/loader";
|
|
9
|
-
import Tabs from "../shared/tabs";
|
|
10
|
-
import Empty from "../shared/empty";
|
|
11
|
-
import InputText from "../input-text";
|
|
12
|
-
import Badge from "../shared/badge";
|
|
4
|
+
import { fileTypes } from "../shared/lib/helpers.mjs";
|
|
5
|
+
import { FormAiImage } from "./form-ai.mjs";
|
|
6
|
+
import FormFileUpload from "./form-file-upload.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import Loader from "../icons/loader.mjs";
|
|
9
|
+
import Tabs from "../shared/tabs.mjs";
|
|
10
|
+
import Empty from "../shared/empty.mjs";
|
|
11
|
+
import InputText from "../input-text.mjs";
|
|
12
|
+
import Badge from "../shared/badge.mjs";
|
|
13
13
|
import Image from "next/image";
|
|
14
|
-
import Paged from "./paged";
|
|
15
|
-
import Button from "../shared/button";
|
|
14
|
+
import Paged from "./paged.mjs";
|
|
15
|
+
import Button from "../shared/button.mjs";
|
|
16
16
|
import { useQueryClient } from "@tanstack/react-query";
|
|
17
17
|
let timeout;
|
|
18
18
|
const FileButton = ({ file, onChange }) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { useForm, useWatch, Controller } from "../shared/lib/form";
|
|
3
|
+
import { useForm, useWatch, Controller } from "../shared/lib/form.mjs";
|
|
4
4
|
import { capitalize } from "@drawbridge/drawbridge-utils";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputDate, { InputDateRange } from "./input-date";
|
|
9
|
-
import InputResource from "./input-resource";
|
|
10
|
-
import InputCombobox from "./input-combobox";
|
|
11
|
-
import Tabs from "../shared/tabs";
|
|
12
|
-
import Button from "../shared/button";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputDate, { InputDateRange } from "./input-date.mjs";
|
|
9
|
+
import InputResource from "./input-resource.mjs";
|
|
10
|
+
import InputCombobox from "./input-combobox.mjs";
|
|
11
|
+
import Tabs from "../shared/tabs.mjs";
|
|
12
|
+
import Button from "../shared/button.mjs";
|
|
13
13
|
const FormFiltersAnalytics = ({
|
|
14
14
|
filters = {},
|
|
15
15
|
inputs,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
3
|
-
import Form from "../shared/form";
|
|
4
|
-
import Fieldset from "../shared/fieldset";
|
|
5
|
-
import Button from "../shared/button";
|
|
6
|
-
import InputGroup from "../input-group";
|
|
7
|
-
import InputText from "../input-text";
|
|
8
|
-
import InputCombobox from "./input-combobox";
|
|
9
|
-
import InputResource from "./input-resource";
|
|
10
|
-
import { InputDateRange } from "./input-date";
|
|
2
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
3
|
+
import Form from "../shared/form.mjs";
|
|
4
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
5
|
+
import Button from "../shared/button.mjs";
|
|
6
|
+
import InputGroup from "../input-group.mjs";
|
|
7
|
+
import InputText from "../input-text.mjs";
|
|
8
|
+
import InputCombobox from "./input-combobox.mjs";
|
|
9
|
+
import InputResource from "./input-resource.mjs";
|
|
10
|
+
import { InputDateRange } from "./input-date.mjs";
|
|
11
11
|
const FormFiltersGroup = ({
|
|
12
12
|
control,
|
|
13
13
|
items,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputText from "../input-text";
|
|
9
|
-
import Button from "../shared/button";
|
|
3
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputText from "../input-text.mjs";
|
|
9
|
+
import Button from "../shared/button.mjs";
|
|
10
10
|
const FormNote = ({
|
|
11
11
|
endpoint = "",
|
|
12
12
|
onError,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Fragment, useCallback } from "react";
|
|
4
|
-
import { Controller, useWatch } from "../shared/lib/form";
|
|
5
|
-
import InputGroup from "../input-group";
|
|
6
|
-
import InputText from "../input-text";
|
|
7
|
-
import InputEditor from "./input-editor";
|
|
8
|
-
import CardScore from "./card-score";
|
|
4
|
+
import { Controller, useWatch } from "../shared/lib/form.mjs";
|
|
5
|
+
import InputGroup from "../input-group.mjs";
|
|
6
|
+
import InputText from "../input-text.mjs";
|
|
7
|
+
import InputEditor from "./input-editor.mjs";
|
|
8
|
+
import CardScore from "./card-score.mjs";
|
|
9
9
|
const errorAt = (errors, path) => {
|
|
10
10
|
var _a;
|
|
11
11
|
return (_a = String(path).split(".").reduce((carry, key) => carry == null ? void 0 : carry[key], errors)) == null ? void 0 : _a.message;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
3
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
5
|
import { slugify } from "@drawbridge/drawbridge-utils/slugify";
|
|
6
|
-
import Form from "../shared/form";
|
|
7
|
-
import Fieldset from "../shared/fieldset";
|
|
8
|
-
import InputGroup from "../input-group";
|
|
9
|
-
import InputText from "../input-text";
|
|
10
|
-
import CardTask from "./card-task";
|
|
11
|
-
import Button from "../shared/button";
|
|
6
|
+
import Form from "../shared/form.mjs";
|
|
7
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
8
|
+
import InputGroup from "../input-group.mjs";
|
|
9
|
+
import InputText from "../input-text.mjs";
|
|
10
|
+
import CardTask from "./card-task.mjs";
|
|
11
|
+
import Button from "../shared/button.mjs";
|
|
12
12
|
const FormOrganizationAffiliate = ({
|
|
13
13
|
onError,
|
|
14
14
|
onSuccess,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, FormProvider, Controller } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Accordion from "./accordion";
|
|
6
|
-
import Form from "../shared/form";
|
|
7
|
-
import Fieldset from "../shared/fieldset";
|
|
8
|
-
import InputGroup from "../input-group";
|
|
9
|
-
import InputText from "../input-text";
|
|
10
|
-
import { InputFieldsImages, InputFieldsStyle, schemas } from "./input-fields";
|
|
11
|
-
import Button from "../shared/button";
|
|
3
|
+
import { useForm, FormProvider, Controller } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Accordion from "./accordion.mjs";
|
|
6
|
+
import Form from "../shared/form.mjs";
|
|
7
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
8
|
+
import InputGroup from "../input-group.mjs";
|
|
9
|
+
import InputText from "../input-text.mjs";
|
|
10
|
+
import { InputFieldsImages, InputFieldsStyle, schemas } from "./input-fields.mjs";
|
|
11
|
+
import Button from "../shared/button.mjs";
|
|
12
12
|
const FormOrganizationBrand = ({
|
|
13
13
|
disabled,
|
|
14
14
|
onError,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
3
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
5
|
import { useQueryClient } from "@tanstack/react-query";
|
|
6
6
|
import { regex } from "@drawbridge/drawbridge-utils";
|
|
7
|
-
import { advertisementPreview } from "../shared/lib/helpers";
|
|
8
|
-
import Form from "../shared/form";
|
|
9
|
-
import Fieldset from "../shared/fieldset";
|
|
10
|
-
import InputGroup from "../input-group";
|
|
11
|
-
import InputText from "../input-text";
|
|
12
|
-
import InputCombobox from "./input-combobox";
|
|
13
|
-
import InputSwitch from "../shared/input-switch";
|
|
14
|
-
import InputFile from "./input-file";
|
|
15
|
-
import InputUrl from "../shared/input-url";
|
|
16
|
-
import CopyToClipboard from "../shared/copy-to-clipboard";
|
|
17
|
-
import Badge from "../shared/badge";
|
|
18
|
-
import Button from "../shared/button";
|
|
7
|
+
import { advertisementPreview } from "../shared/lib/helpers.mjs";
|
|
8
|
+
import Form from "../shared/form.mjs";
|
|
9
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
10
|
+
import InputGroup from "../input-group.mjs";
|
|
11
|
+
import InputText from "../input-text.mjs";
|
|
12
|
+
import InputCombobox from "./input-combobox.mjs";
|
|
13
|
+
import InputSwitch from "../shared/input-switch.mjs";
|
|
14
|
+
import InputFile from "./input-file.mjs";
|
|
15
|
+
import InputUrl from "../shared/input-url.mjs";
|
|
16
|
+
import CopyToClipboard from "../shared/copy-to-clipboard.mjs";
|
|
17
|
+
import Badge from "../shared/badge.mjs";
|
|
18
|
+
import Button from "../shared/button.mjs";
|
|
19
19
|
const FormOrganizationCampaignAdvertisementEdit = ({
|
|
20
20
|
disabled,
|
|
21
21
|
onError,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller, useWatch } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
3
|
+
import { useForm, Controller, useWatch } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
5
|
import { regex } from "@drawbridge/drawbridge-utils";
|
|
6
|
-
import Form from "../shared/form";
|
|
7
|
-
import Fieldset from "../shared/fieldset";
|
|
8
|
-
import InputGroup from "../input-group";
|
|
9
|
-
import InputSwitch from "../shared/input-switch";
|
|
10
|
-
import InputText from "../input-text";
|
|
11
|
-
import InputUrl from "../shared/input-url";
|
|
12
|
-
import InputCheckbox from "../input-checkbox";
|
|
13
|
-
import CardSection from "./card-section";
|
|
14
|
-
import Button from "../shared/button";
|
|
6
|
+
import Form from "../shared/form.mjs";
|
|
7
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
8
|
+
import InputGroup from "../input-group.mjs";
|
|
9
|
+
import InputSwitch from "../shared/input-switch.mjs";
|
|
10
|
+
import InputText from "../input-text.mjs";
|
|
11
|
+
import InputUrl from "../shared/input-url.mjs";
|
|
12
|
+
import InputCheckbox from "../input-checkbox.mjs";
|
|
13
|
+
import CardSection from "./card-section.mjs";
|
|
14
|
+
import Button from "../shared/button.mjs";
|
|
15
15
|
const FormOrganizationCampaignAgreement = ({
|
|
16
16
|
disabled,
|
|
17
17
|
enforceLink,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
3
|
import { useQueryClient } from "@tanstack/react-query";
|
|
4
|
-
import { useForm, Controller, useWatch } from "../shared/lib/form";
|
|
5
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
4
|
+
import { useForm, Controller, useWatch } from "../shared/lib/form.mjs";
|
|
5
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
6
6
|
import { formatDateString } from "@drawbridge/drawbridge-utils";
|
|
7
|
-
import { formatDateTime } from "../shared/lib/helpers";
|
|
8
|
-
import Form from "../shared/form";
|
|
9
|
-
import Fieldset from "../shared/fieldset";
|
|
10
|
-
import InputGroup from "../input-group";
|
|
11
|
-
import InputDate from "./input-date";
|
|
12
|
-
import InputResource from "./input-resource";
|
|
13
|
-
import InputCombobox from "./input-combobox";
|
|
14
|
-
import Tabs from "../shared/tabs";
|
|
15
|
-
import Badge from "../shared/badge";
|
|
16
|
-
import Button from "../shared/button";
|
|
7
|
+
import { formatDateTime } from "../shared/lib/helpers.mjs";
|
|
8
|
+
import Form from "../shared/form.mjs";
|
|
9
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
10
|
+
import InputGroup from "../input-group.mjs";
|
|
11
|
+
import InputDate from "./input-date.mjs";
|
|
12
|
+
import InputResource from "./input-resource.mjs";
|
|
13
|
+
import InputCombobox from "./input-combobox.mjs";
|
|
14
|
+
import Tabs from "../shared/tabs.mjs";
|
|
15
|
+
import Badge from "../shared/badge.mjs";
|
|
16
|
+
import Button from "../shared/button.mjs";
|
|
17
17
|
const options = {
|
|
18
18
|
day: "numeric",
|
|
19
19
|
month: "numeric",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment } from "react";
|
|
3
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
3
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
4
4
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
5
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
6
6
|
import { regex } from "@drawbridge/drawbridge-utils";
|
|
7
|
-
import Form from "../shared/form";
|
|
8
|
-
import Fieldset from "../shared/fieldset";
|
|
9
|
-
import InputGroup from "../input-group";
|
|
10
|
-
import InputText from "../input-text";
|
|
11
|
-
import InputSwitch from "../shared/input-switch";
|
|
12
|
-
import { InputArray, InputArrayButton, InputArrayControl } from "./input-array";
|
|
13
|
-
import Trash from "../icons/trash";
|
|
14
|
-
import Button from "../shared/button";
|
|
7
|
+
import Form from "../shared/form.mjs";
|
|
8
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
9
|
+
import InputGroup from "../input-group.mjs";
|
|
10
|
+
import InputText from "../input-text.mjs";
|
|
11
|
+
import InputSwitch from "../shared/input-switch.mjs";
|
|
12
|
+
import { InputArray, InputArrayButton, InputArrayControl } from "./input-array.mjs";
|
|
13
|
+
import Trash from "../icons/trash.mjs";
|
|
14
|
+
import Button from "../shared/button.mjs";
|
|
15
15
|
const FormOrganizationCampaignFieldEmail = ({
|
|
16
16
|
disabled,
|
|
17
17
|
onError,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
2
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
3
3
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputCombobox from "./input-combobox";
|
|
9
|
-
import Button from "../shared/button";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputCombobox from "./input-combobox.mjs";
|
|
9
|
+
import Button from "../shared/button.mjs";
|
|
10
10
|
const data = {
|
|
11
11
|
name: {
|
|
12
12
|
label: "Full name",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
2
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
3
3
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputText from "../input-text";
|
|
9
|
-
import InputNumber from "../input-number";
|
|
10
|
-
import Button from "../shared/button";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputText from "../input-text.mjs";
|
|
9
|
+
import InputNumber from "../input-number.mjs";
|
|
10
|
+
import Button from "../shared/button.mjs";
|
|
11
11
|
const FormOrganizationCampaignFieldNumber = ({
|
|
12
12
|
disabled,
|
|
13
13
|
onError,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
2
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
3
3
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
4
4
|
import { useQueryClient } from "@tanstack/react-query";
|
|
5
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
6
|
-
import Form from "../shared/form";
|
|
7
|
-
import Fieldset from "../shared/fieldset";
|
|
8
|
-
import InputGroup from "../input-group";
|
|
9
|
-
import InputText from "../input-text";
|
|
10
|
-
import InputCheckboxList from "../shared/input-checkbox-list";
|
|
11
|
-
import InputSwitch from "../shared/input-switch";
|
|
12
|
-
import Button from "../shared/button";
|
|
5
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
6
|
+
import Form from "../shared/form.mjs";
|
|
7
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
8
|
+
import InputGroup from "../input-group.mjs";
|
|
9
|
+
import InputText from "../input-text.mjs";
|
|
10
|
+
import InputCheckboxList from "../shared/input-checkbox-list.mjs";
|
|
11
|
+
import InputSwitch from "../shared/input-switch.mjs";
|
|
12
|
+
import Button from "../shared/button.mjs";
|
|
13
13
|
const FormOrganizationCampaignFieldPhone = ({
|
|
14
14
|
disabled,
|
|
15
15
|
onError,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
2
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
3
3
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputText from "../input-text";
|
|
9
|
-
import { InputArrayButton, InputArrayControl, InputArraySortable } from "./input-array";
|
|
10
|
-
import Trash from "../icons/trash";
|
|
11
|
-
import Button from "../shared/button";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputText from "../input-text.mjs";
|
|
9
|
+
import { InputArrayButton, InputArrayControl, InputArraySortable } from "./input-array.mjs";
|
|
10
|
+
import Trash from "../icons/trash.mjs";
|
|
11
|
+
import Button from "../shared/button.mjs";
|
|
12
12
|
const FormOrganizationCampaignFieldSelect = ({
|
|
13
13
|
disabled,
|
|
14
14
|
onError,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
2
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
3
3
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputText from "../input-text";
|
|
9
|
-
import InputNumber from "../input-number";
|
|
10
|
-
import Button from "../shared/button";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputText from "../input-text.mjs";
|
|
9
|
+
import InputNumber from "../input-number.mjs";
|
|
10
|
+
import Button from "../shared/button.mjs";
|
|
11
11
|
const defaultValues = {
|
|
12
12
|
attributes: {
|
|
13
13
|
max: 150
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
2
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
3
3
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputText from "../input-text";
|
|
9
|
-
import InputNumber from "../input-number";
|
|
10
|
-
import Button from "../shared/button";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputText from "../input-text.mjs";
|
|
9
|
+
import InputNumber from "../input-number.mjs";
|
|
10
|
+
import Button from "../shared/button.mjs";
|
|
11
11
|
const defaultValues = {
|
|
12
12
|
attributes: {
|
|
13
13
|
max: 300,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputNumber from "../input-number";
|
|
9
|
-
import InputSwitch from "../shared/input-switch";
|
|
10
|
-
import Button from "../shared/button";
|
|
3
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputNumber from "../input-number.mjs";
|
|
9
|
+
import InputSwitch from "../shared/input-switch.mjs";
|
|
10
|
+
import Button from "../shared/button.mjs";
|
|
11
11
|
const FormOrganizationCampaignIntegrationAge = ({
|
|
12
12
|
disabled,
|
|
13
13
|
onSuccess,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import Button from "../shared/button";
|
|
3
|
+
import { useForm } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import Button from "../shared/button.mjs";
|
|
8
8
|
const FormOrganizationCampaignIntegrationEnable = ({
|
|
9
9
|
disabled,
|
|
10
10
|
onSuccess,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputSwitch from "../shared/input-switch";
|
|
3
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputSwitch from "../shared/input-switch.mjs";
|
|
9
9
|
import dynamic from "next/dynamic";
|
|
10
|
-
const InputMap = dynamic(() => import("./google").then((m) => m.InputMap), { loading: () => /* @__PURE__ */ jsx(LoaderDynamic, {}), ssr: false });
|
|
11
|
-
import { LoaderDynamic } from "../shared/loader";
|
|
12
|
-
import Button from "../shared/button";
|
|
10
|
+
const InputMap = dynamic(() => import("./google.mjs").then((m) => m.InputMap), { loading: () => /* @__PURE__ */ jsx(LoaderDynamic, {}), ssr: false });
|
|
11
|
+
import { LoaderDynamic } from "../shared/loader.mjs";
|
|
12
|
+
import Button from "../shared/button.mjs";
|
|
13
13
|
const FormOrganizationCampaignIntegrationGeocode = ({
|
|
14
14
|
disabled,
|
|
15
15
|
onSuccess,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
4
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
5
|
-
import Form from "../shared/form";
|
|
6
|
-
import Fieldset from "../shared/fieldset";
|
|
7
|
-
import InputGroup from "../input-group";
|
|
8
|
-
import InputSwitch from "../shared/input-switch";
|
|
9
|
-
import InputText from "../input-text";
|
|
10
|
-
import Button from "../shared/button";
|
|
3
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
4
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
5
|
+
import Form from "../shared/form.mjs";
|
|
6
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
7
|
+
import InputGroup from "../input-group.mjs";
|
|
8
|
+
import InputSwitch from "../shared/input-switch.mjs";
|
|
9
|
+
import InputText from "../input-text.mjs";
|
|
10
|
+
import Button from "../shared/button.mjs";
|
|
11
11
|
const FormOrganizationCampaignIntegrationGtm = ({
|
|
12
12
|
disabled,
|
|
13
13
|
onSuccess,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { useForm, Controller } from "../shared/lib/form";
|
|
3
|
+
import { useForm, Controller } from "../shared/lib/form.mjs";
|
|
4
4
|
import { useQueryClient } from "@tanstack/react-query";
|
|
5
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
6
|
-
import Form from "../shared/form";
|
|
7
|
-
import Fieldset from "../shared/fieldset";
|
|
8
|
-
import InputGroup from "../input-group";
|
|
9
|
-
import InputCombobox from "./input-combobox";
|
|
10
|
-
import Button from "../shared/button";
|
|
5
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
6
|
+
import Form from "../shared/form.mjs";
|
|
7
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
8
|
+
import InputGroup from "../input-group.mjs";
|
|
9
|
+
import InputCombobox from "./input-combobox.mjs";
|
|
10
|
+
import Button from "../shared/button.mjs";
|
|
11
11
|
const FormOrganizationCampaignLead = ({
|
|
12
12
|
onError,
|
|
13
13
|
onSuccess,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { request } from "@drawbridge/drawbridge-utils/fetch";
|
|
3
|
-
import { Controller, useForm } from "../shared/lib/form";
|
|
3
|
+
import { Controller, useForm } from "../shared/lib/form.mjs";
|
|
4
4
|
import { regex } from "@drawbridge/drawbridge-utils";
|
|
5
5
|
import { matchSocial } from "@drawbridge/drawbridge-utils/social";
|
|
6
|
-
import yup, { resolver } from "../shared/lib/yup";
|
|
7
|
-
import Form from "../shared/form";
|
|
8
|
-
import Fieldset from "../shared/fieldset";
|
|
9
|
-
import InputGroup from "../input-group";
|
|
10
|
-
import InputText from "../input-text";
|
|
11
|
-
import InputFile from "./input-file";
|
|
12
|
-
import InputUrl from "../shared/input-url";
|
|
13
|
-
import LinkIcon from "../icons/link";
|
|
14
|
-
import { icons } from "../icons/social";
|
|
15
|
-
import Button from "../shared/button";
|
|
6
|
+
import yup, { resolver } from "../shared/lib/yup.mjs";
|
|
7
|
+
import Form from "../shared/form.mjs";
|
|
8
|
+
import Fieldset from "../shared/fieldset.mjs";
|
|
9
|
+
import InputGroup from "../input-group.mjs";
|
|
10
|
+
import InputText from "../input-text.mjs";
|
|
11
|
+
import InputFile from "./input-file.mjs";
|
|
12
|
+
import InputUrl from "../shared/input-url.mjs";
|
|
13
|
+
import LinkIcon from "../icons/link.mjs";
|
|
14
|
+
import { icons } from "../icons/social.mjs";
|
|
15
|
+
import Button from "../shared/button.mjs";
|
|
16
16
|
const UrlRow = ({ icon: Icon, id, onChange, value }) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
17
17
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center w-10 h-10 rounded border border-gray bg-white shrink-0", children: /* @__PURE__ */ jsx(
|
|
18
18
|
Icon,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useQueryClient } from "@tanstack/react-query";
|
|
3
|
-
import CopyToClipboard from "../shared/copy-to-clipboard";
|
|
4
|
-
import External from "../icons/external";
|
|
5
|
-
import Empty from "../shared/empty";
|
|
6
|
-
import Link from "./link";
|
|
7
|
-
import Button from "../shared/button";
|
|
8
|
-
import { useModal } from "./lib/hooks";
|
|
3
|
+
import CopyToClipboard from "../shared/copy-to-clipboard.mjs";
|
|
4
|
+
import External from "../icons/external.mjs";
|
|
5
|
+
import Empty from "../shared/empty.mjs";
|
|
6
|
+
import Link from "./link.mjs";
|
|
7
|
+
import Button from "../shared/button.mjs";
|
|
8
|
+
import { useModal } from "./lib/hooks.mjs";
|
|
9
9
|
const iconClassName = "w-5 h-5 shrink-0";
|
|
10
10
|
const FormOrganizationCampaignPageAffiliates = ({
|
|
11
11
|
affiliates = [],
|