@drawbridge/components 0.1.12 → 0.1.14
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/components/styles.css +364 -2
- package/dist/advertisement.js +3 -1
- package/dist/advertisement.mjs +3 -1
- package/dist/bridge/advertisements.js +2 -0
- package/dist/bridge/advertisements.mjs +2 -0
- package/dist/bridge/countdown.js +2 -1
- package/dist/bridge/countdown.mjs +2 -1
- package/dist/bridge/form-subdomain-embed.js +18 -20
- package/dist/bridge/form-subdomain-embed.mjs +18 -20
- package/dist/bridge/form-subdomain-header.js +24 -1
- package/dist/bridge/form-subdomain-header.mjs +24 -1
- package/dist/bridge/form-subdomain-missions.js +538 -0
- package/dist/bridge/form-subdomain-missions.mjs +502 -0
- package/dist/bridge/form-subdomain.js +530 -220
- package/dist/bridge/form-subdomain.mjs +533 -222
- package/dist/bridge/lib/entry.js +59 -0
- package/dist/bridge/lib/entry.mjs +29 -0
- package/dist/bridge/lib/location.js +38 -0
- package/dist/bridge/lib/location.mjs +13 -0
- package/dist/bridge/lib/order.js +71 -0
- package/dist/bridge/lib/order.mjs +44 -0
- package/dist/bridge/lib/url.js +9 -0
- package/dist/bridge/lib/url.mjs +7 -0
- package/dist/bridge/share-button.js +5 -3
- package/dist/bridge/share-button.mjs +5 -3
- package/dist/bridge/subdomain-content.js +7 -6
- package/dist/bridge/subdomain-content.mjs +7 -6
- package/dist/bridge/template-layout.js +59 -21
- package/dist/bridge/template-layout.mjs +59 -21
- package/dist/bridge/template-modal.js +42 -76
- package/dist/bridge/template-modal.mjs +39 -73
- package/dist/bridge/template-preview.js +208 -0
- package/dist/bridge/template-preview.mjs +173 -0
- package/dist/bridge/template-subdomain-gallery.js +6 -2
- package/dist/bridge/template-subdomain-gallery.mjs +6 -2
- package/dist/bridge/template-subdomain-link.js +6 -1
- package/dist/bridge/template-subdomain-link.mjs +6 -1
- package/dist/bridge/template-subdomain.js +20 -15
- package/dist/bridge/template-subdomain.mjs +20 -15
- package/dist/dashboard/accordion.js +74 -39
- package/dist/dashboard/accordion.mjs +74 -39
- package/dist/dashboard/avatar.js +109 -3
- package/dist/dashboard/avatar.mjs +106 -4
- package/dist/dashboard/buttons-subscription.js +384 -0
- package/dist/dashboard/buttons-subscription.mjs +349 -0
- package/dist/dashboard/card-campaign-switch.js +265 -0
- package/dist/dashboard/card-campaign-switch.mjs +231 -0
- package/dist/dashboard/card-order.js +28 -11
- package/dist/dashboard/card-order.mjs +28 -11
- package/dist/dashboard/card-section.js +26 -2
- package/dist/dashboard/card-section.mjs +26 -2
- package/dist/dashboard/card-tile.js +6 -7
- package/dist/dashboard/card-tile.mjs +6 -7
- package/dist/dashboard/connection-workflows.js +196 -0
- package/dist/dashboard/connection-workflows.mjs +162 -0
- package/dist/dashboard/device.js +95 -0
- package/dist/dashboard/device.mjs +72 -0
- package/dist/dashboard/form-admin-campaign.js +19 -50
- package/dist/dashboard/form-admin-campaign.mjs +20 -51
- package/dist/dashboard/form-ai.js +9 -6
- package/dist/dashboard/form-ai.mjs +9 -6
- package/dist/dashboard/form-auth.js +35 -25
- package/dist/dashboard/form-auth.mjs +36 -26
- package/dist/dashboard/form-file.js +10 -1
- package/dist/dashboard/form-file.mjs +10 -1
- package/dist/dashboard/form-filters-analytics.js +14 -1
- package/dist/dashboard/form-filters-analytics.mjs +15 -2
- package/dist/dashboard/form-organization-campaign-advertisement.js +15 -1
- package/dist/dashboard/form-organization-campaign-advertisement.mjs +16 -2
- package/dist/dashboard/form-organization-campaign-agreement.js +215 -164
- package/dist/dashboard/form-organization-campaign-agreement.mjs +215 -164
- package/dist/dashboard/form-organization-campaign-field-email.js +0 -34
- package/dist/dashboard/form-organization-campaign-field-email.mjs +0 -34
- package/dist/dashboard/form-organization-campaign-field-list.js +466 -0
- package/dist/dashboard/form-organization-campaign-field-list.mjs +437 -0
- package/dist/dashboard/form-organization-campaign-field-phone.js +0 -34
- package/dist/dashboard/form-organization-campaign-field-phone.mjs +0 -34
- package/dist/dashboard/form-organization-campaign-field-remove.js +66 -0
- package/dist/dashboard/form-organization-campaign-field-remove.mjs +33 -0
- package/dist/dashboard/form-organization-campaign-integration-age.js +6 -12
- package/dist/dashboard/form-organization-campaign-integration-age.mjs +6 -12
- package/dist/dashboard/form-organization-campaign-integration-enable.js +52 -24
- package/dist/dashboard/form-organization-campaign-integration-enable.mjs +54 -26
- package/dist/dashboard/form-organization-campaign-integration-geocode.js +6 -12
- package/dist/dashboard/form-organization-campaign-integration-geocode.mjs +6 -12
- package/dist/dashboard/form-organization-campaign-integration-gtm.js +6 -12
- package/dist/dashboard/form-organization-campaign-integration-gtm.mjs +6 -12
- package/dist/dashboard/form-organization-campaign-link.js +7 -1
- package/dist/dashboard/form-organization-campaign-link.mjs +7 -1
- package/dist/dashboard/form-organization-campaign-mission.js +291 -0
- package/dist/dashboard/form-organization-campaign-mission.mjs +258 -0
- package/dist/dashboard/form-organization-campaign-page-embed.js +13 -2
- package/dist/dashboard/form-organization-campaign-page-embed.mjs +12 -1
- package/dist/dashboard/form-organization-campaign-page.js +20 -11
- package/dist/dashboard/form-organization-campaign-page.mjs +20 -11
- package/dist/dashboard/form-organization-campaign-prize-edit.js +12 -1
- package/dist/dashboard/form-organization-campaign-prize-edit.mjs +12 -1
- package/dist/dashboard/form-organization-campaign-section.js +223 -0
- package/dist/dashboard/form-organization-campaign-section.mjs +194 -0
- package/dist/dashboard/form-organization-campaign.js +114 -469
- package/dist/dashboard/form-organization-campaign.mjs +113 -467
- package/dist/dashboard/form-organization-export.js +4 -7
- package/dist/dashboard/form-organization-export.mjs +4 -7
- package/dist/dashboard/form-organization-identity.js +46 -51
- package/dist/dashboard/form-organization-identity.mjs +46 -51
- package/dist/dashboard/form-organization-workflow.js +518 -686
- package/dist/dashboard/form-organization-workflow.mjs +517 -682
- package/dist/dashboard/form-organization.js +82 -110
- package/dist/dashboard/form-organization.mjs +81 -109
- package/dist/dashboard/form-otc.js +4 -5
- package/dist/dashboard/form-otc.mjs +4 -5
- package/dist/dashboard/form-payment-methods.js +20 -9
- package/dist/dashboard/form-payment-methods.mjs +20 -9
- package/dist/dashboard/form-stripe.js +30 -0
- package/dist/dashboard/form-stripe.mjs +26 -0
- package/dist/dashboard/input-array.js +4 -2
- package/dist/dashboard/input-array.mjs +4 -2
- package/dist/dashboard/input-combobox.js +7 -3
- package/dist/dashboard/input-combobox.mjs +7 -3
- package/dist/dashboard/input-date.js +7 -0
- package/dist/dashboard/input-date.mjs +7 -0
- package/dist/dashboard/input-fields.js +80 -20
- package/dist/dashboard/input-fields.mjs +80 -20
- package/dist/dashboard/input-file.js +21 -1
- package/dist/dashboard/input-file.mjs +21 -1
- package/dist/dashboard/input-font.js +10 -1
- package/dist/dashboard/input-font.mjs +10 -1
- package/dist/dashboard/lib/item-list.js +57 -0
- package/dist/dashboard/lib/item-list.mjs +33 -0
- package/dist/dashboard/lib/menu.js +50 -0
- package/dist/dashboard/lib/menu.mjs +26 -0
- package/dist/dashboard/locked.js +82 -0
- package/dist/dashboard/locked.mjs +53 -0
- package/dist/dashboard/menu.js +72 -19
- package/dist/dashboard/menu.mjs +72 -19
- package/dist/dashboard/note-ai.js +69 -0
- package/dist/dashboard/note-ai.mjs +36 -0
- package/dist/dashboard/preview.js +419 -0
- package/dist/dashboard/preview.mjs +384 -0
- package/dist/dashboard/steps.js +39 -13
- package/dist/dashboard/steps.mjs +37 -12
- package/dist/dashboard/table-contacts.js +136 -0
- package/dist/dashboard/table-contacts.mjs +103 -0
- package/dist/dashboard/template-not-found.js +4 -2
- package/dist/dashboard/template-not-found.mjs +4 -2
- package/dist/dashboard/template-socket.js +51 -7
- package/dist/dashboard/template-socket.mjs +51 -7
- package/dist/icons/desktop.js +46 -0
- package/dist/icons/desktop.mjs +27 -0
- package/dist/icons/phone.js +46 -0
- package/dist/icons/phone.mjs +27 -0
- package/dist/icons/puzzle-piece.js +46 -0
- package/dist/icons/puzzle-piece.mjs +27 -0
- package/dist/icons/tablet.js +46 -0
- package/dist/icons/tablet.mjs +27 -0
- package/dist/icons/users.js +46 -0
- package/dist/icons/users.mjs +27 -0
- package/dist/input-checkbox.js +1 -0
- package/dist/input-checkbox.mjs +1 -0
- package/dist/input-code.js +101 -0
- package/dist/input-code.mjs +78 -0
- package/dist/input-text.js +2 -1
- package/dist/input-text.mjs +2 -1
- package/dist/shared/input-checkbox-list.js +0 -1
- package/dist/shared/input-checkbox-list.mjs +0 -1
- package/dist/shared/input-switch.js +6 -1
- package/dist/shared/input-switch.mjs +6 -1
- package/dist/shared/lib/campaign.js +117 -0
- package/dist/shared/lib/campaign.mjs +91 -0
- package/dist/shared/lib/helpers.js +14 -2
- package/dist/shared/lib/helpers.mjs +13 -2
- package/package.json +133 -13
- package/types/bridge/form-subdomain-header.d.ts +2 -0
- package/types/bridge/form-subdomain-missions.d.ts +36 -0
- package/types/bridge/form-subdomain.d.ts +23 -1
- package/types/bridge/lib/entry.d.ts +26 -0
- package/types/bridge/lib/location.d.ts +13 -0
- package/types/bridge/lib/order.d.ts +30 -0
- package/types/bridge/lib/url.d.ts +19 -0
- package/types/bridge/template-modal.d.ts +1 -1
- package/types/bridge/template-preview.d.ts +10 -0
- package/types/bridge/template-subdomain-link.d.ts +2 -0
- package/types/dashboard/accordion.d.ts +2 -0
- package/types/dashboard/avatar.d.ts +18 -2
- package/types/dashboard/buttons-subscription.d.ts +22 -0
- package/types/dashboard/card-campaign-switch.d.ts +32 -0
- package/types/dashboard/card-order.d.ts +11 -0
- package/types/dashboard/card-section.d.ts +2 -0
- package/types/dashboard/connection-workflows.d.ts +33 -0
- package/types/dashboard/device.d.ts +12 -0
- package/types/dashboard/form-admin-campaign.d.ts +3 -2
- package/types/dashboard/form-ai.d.ts +2 -2
- package/types/dashboard/form-organization-campaign-agreement.d.ts +18 -12
- package/types/dashboard/form-organization-campaign-field-email.d.ts +1 -2
- package/types/dashboard/form-organization-campaign-field-list.d.ts +36 -0
- package/types/dashboard/form-organization-campaign-field-phone.d.ts +1 -2
- package/types/dashboard/form-organization-campaign-field-remove.d.ts +22 -0
- package/types/dashboard/form-organization-campaign-field-select.d.ts +2 -1
- package/types/dashboard/form-organization-campaign-field-textarea.d.ts +2 -1
- package/types/dashboard/form-organization-campaign-integration-age.d.ts +3 -3
- package/types/dashboard/form-organization-campaign-integration-enable.d.ts +3 -3
- package/types/dashboard/form-organization-campaign-mission.d.ts +40 -0
- package/types/dashboard/form-organization-campaign-section.d.ts +27 -0
- package/types/dashboard/form-organization-campaign.d.ts +27 -17
- package/types/dashboard/form-organization-identity.d.ts +2 -0
- package/types/dashboard/form-organization-workflow.d.ts +43 -47
- package/types/dashboard/form-organization.d.ts +7 -2
- package/types/dashboard/form-stripe.d.ts +3 -0
- package/types/dashboard/input-combobox.d.ts +2 -0
- package/types/dashboard/input-date.d.ts +2 -0
- package/types/dashboard/input-fields.d.ts +3 -2
- package/types/dashboard/input-file.d.ts +4 -0
- package/types/dashboard/lib/item-list.d.ts +14 -0
- package/types/dashboard/lib/menu.d.ts +17 -0
- package/types/dashboard/locked.d.ts +10 -0
- package/types/dashboard/menu.d.ts +10 -2
- package/types/dashboard/note-ai.d.ts +15 -0
- package/types/dashboard/preview.d.ts +33 -0
- package/types/dashboard/steps.d.ts +19 -4
- package/types/dashboard/table-cell-title.d.ts +2 -2
- package/types/dashboard/table-contacts.d.ts +2 -0
- package/types/icons/desktop.d.ts +5 -0
- package/types/icons/phone.d.ts +5 -0
- package/types/icons/puzzle-piece.d.ts +5 -0
- package/types/icons/tablet.d.ts +5 -0
- package/types/icons/users.d.ts +5 -0
- package/types/input-code.d.ts +23 -0
- package/types/shared/input-switch.d.ts +2 -0
- package/types/shared/lib/campaign.d.ts +35 -0
- package/types/shared/lib/helpers.d.ts +3 -0
- package/dist/dashboard/card-integration.js +0 -187
- package/dist/dashboard/card-integration.mjs +0 -158
- package/dist/dashboard/iframe.js +0 -159
- package/dist/dashboard/iframe.mjs +0 -130
- package/types/dashboard/card-integration.d.ts +0 -24
- package/types/dashboard/iframe.d.ts +0 -18
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var table_contacts_exports = {};
|
|
29
|
+
__export(table_contacts_exports, {
|
|
30
|
+
contactColumns: () => contactColumns
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(table_contacts_exports);
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
+
var import_drawbridge_utils = require("@drawbridge/drawbridge-utils");
|
|
35
|
+
var import_table_cell_title = __toESM(require("./table-cell-title"));
|
|
36
|
+
const contactColumns = [
|
|
37
|
+
// The name, or the first address when there is none. The Email column
|
|
38
|
+
// stays: a contact's address variants wrap there, and the title's second
|
|
39
|
+
// line is one line that would clip them.
|
|
40
|
+
{
|
|
41
|
+
accessorKey: "names",
|
|
42
|
+
header: "Name",
|
|
43
|
+
cell: ({ row, getValue }) => {
|
|
44
|
+
var _a, _b, _c;
|
|
45
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
46
|
+
import_table_cell_title.default,
|
|
47
|
+
{
|
|
48
|
+
...{
|
|
49
|
+
title: ((_a = getValue()) == null ? void 0 : _a[0]) || ((_c = (_b = row.original) == null ? void 0 : _b.emails) == null ? void 0 : _c[0]) || "\u2014"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
},
|
|
54
|
+
enableSorting: false
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
accessorKey: "emails",
|
|
58
|
+
header: "Email",
|
|
59
|
+
// Contacts accumulate address variants (jaime@, jaime+2@, jaime+3@), so let
|
|
60
|
+
// this cell wrap instead of truncating to one line — otherwise the last
|
|
61
|
+
// variant is clipped with no way to read it. whitespace-normal! overrides
|
|
62
|
+
// the table's default `truncate` (white-space:nowrap). The meta className
|
|
63
|
+
// REPLACES TableCell's 'px-4 text-left' default, so restate it.
|
|
64
|
+
meta: {
|
|
65
|
+
className: "px-4 text-left whitespace-normal! wrap-break-word"
|
|
66
|
+
},
|
|
67
|
+
cell: ({ getValue }) => {
|
|
68
|
+
var _a;
|
|
69
|
+
return ((_a = getValue()) == null ? void 0 : _a.join(", ")) || "\u2014";
|
|
70
|
+
},
|
|
71
|
+
enableSorting: false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
accessorKey: "phones",
|
|
75
|
+
header: "Phone",
|
|
76
|
+
meta: {
|
|
77
|
+
className: "px-4 text-left whitespace-normal! wrap-break-word"
|
|
78
|
+
},
|
|
79
|
+
cell: ({ getValue }) => {
|
|
80
|
+
var _a;
|
|
81
|
+
return ((_a = getValue()) == null ? void 0 : _a.map((p) => p.number).join(", ")) || "\u2014";
|
|
82
|
+
},
|
|
83
|
+
enableSorting: false
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
accessorKey: "campaigns",
|
|
87
|
+
header: "Campaigns",
|
|
88
|
+
cell: ({ getValue }) => {
|
|
89
|
+
var _a;
|
|
90
|
+
return ((_a = getValue()) == null ? void 0 : _a.length) || 0;
|
|
91
|
+
},
|
|
92
|
+
enableSorting: false
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "totals.submissions",
|
|
96
|
+
accessorKey: "totals.submissions",
|
|
97
|
+
header: "Submissions",
|
|
98
|
+
enableSorting: true
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: "totals.entries",
|
|
102
|
+
accessorKey: "totals.entries",
|
|
103
|
+
header: "Entries",
|
|
104
|
+
enableSorting: true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: "totals.draws",
|
|
108
|
+
accessorKey: "totals.draws",
|
|
109
|
+
header: "Draws",
|
|
110
|
+
enableSorting: true
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
// `.total` is EVERY purchase — campaign-driven and discount-code alike.
|
|
114
|
+
// These were `totals.orders` / `totals.gross`, flat numbers that counted
|
|
115
|
+
// only campaign-driven sales while being headed "Orders" and "Revenue", so
|
|
116
|
+
// a redemption this person made showed here as nothing at all.
|
|
117
|
+
id: "totals.orders.total",
|
|
118
|
+
accessorKey: "totals.orders.total",
|
|
119
|
+
header: "Orders",
|
|
120
|
+
enableSorting: true
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "totals.gross.total",
|
|
124
|
+
accessorKey: "totals.gross.total",
|
|
125
|
+
header: "Revenue",
|
|
126
|
+
cell: ({ getValue }) => {
|
|
127
|
+
const amount = getValue();
|
|
128
|
+
return amount ? (0, import_drawbridge_utils.formatCurrency)({ value: amount }) : "\u2014";
|
|
129
|
+
},
|
|
130
|
+
enableSorting: true
|
|
131
|
+
}
|
|
132
|
+
];
|
|
133
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
134
|
+
0 && (module.exports = {
|
|
135
|
+
contactColumns
|
|
136
|
+
});
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { formatCurrency } from "@drawbridge/drawbridge-utils";
|
|
3
|
+
import TableCellTitle from "./table-cell-title.mjs";
|
|
4
|
+
const contactColumns = [
|
|
5
|
+
// The name, or the first address when there is none. The Email column
|
|
6
|
+
// stays: a contact's address variants wrap there, and the title's second
|
|
7
|
+
// line is one line that would clip them.
|
|
8
|
+
{
|
|
9
|
+
accessorKey: "names",
|
|
10
|
+
header: "Name",
|
|
11
|
+
cell: ({ row, getValue }) => {
|
|
12
|
+
var _a, _b, _c;
|
|
13
|
+
return /* @__PURE__ */ jsx(
|
|
14
|
+
TableCellTitle,
|
|
15
|
+
{
|
|
16
|
+
...{
|
|
17
|
+
title: ((_a = getValue()) == null ? void 0 : _a[0]) || ((_c = (_b = row.original) == null ? void 0 : _b.emails) == null ? void 0 : _c[0]) || "\u2014"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
},
|
|
22
|
+
enableSorting: false
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
accessorKey: "emails",
|
|
26
|
+
header: "Email",
|
|
27
|
+
// Contacts accumulate address variants (jaime@, jaime+2@, jaime+3@), so let
|
|
28
|
+
// this cell wrap instead of truncating to one line — otherwise the last
|
|
29
|
+
// variant is clipped with no way to read it. whitespace-normal! overrides
|
|
30
|
+
// the table's default `truncate` (white-space:nowrap). The meta className
|
|
31
|
+
// REPLACES TableCell's 'px-4 text-left' default, so restate it.
|
|
32
|
+
meta: {
|
|
33
|
+
className: "px-4 text-left whitespace-normal! wrap-break-word"
|
|
34
|
+
},
|
|
35
|
+
cell: ({ getValue }) => {
|
|
36
|
+
var _a;
|
|
37
|
+
return ((_a = getValue()) == null ? void 0 : _a.join(", ")) || "\u2014";
|
|
38
|
+
},
|
|
39
|
+
enableSorting: false
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
accessorKey: "phones",
|
|
43
|
+
header: "Phone",
|
|
44
|
+
meta: {
|
|
45
|
+
className: "px-4 text-left whitespace-normal! wrap-break-word"
|
|
46
|
+
},
|
|
47
|
+
cell: ({ getValue }) => {
|
|
48
|
+
var _a;
|
|
49
|
+
return ((_a = getValue()) == null ? void 0 : _a.map((p) => p.number).join(", ")) || "\u2014";
|
|
50
|
+
},
|
|
51
|
+
enableSorting: false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
accessorKey: "campaigns",
|
|
55
|
+
header: "Campaigns",
|
|
56
|
+
cell: ({ getValue }) => {
|
|
57
|
+
var _a;
|
|
58
|
+
return ((_a = getValue()) == null ? void 0 : _a.length) || 0;
|
|
59
|
+
},
|
|
60
|
+
enableSorting: false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "totals.submissions",
|
|
64
|
+
accessorKey: "totals.submissions",
|
|
65
|
+
header: "Submissions",
|
|
66
|
+
enableSorting: true
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: "totals.entries",
|
|
70
|
+
accessorKey: "totals.entries",
|
|
71
|
+
header: "Entries",
|
|
72
|
+
enableSorting: true
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "totals.draws",
|
|
76
|
+
accessorKey: "totals.draws",
|
|
77
|
+
header: "Draws",
|
|
78
|
+
enableSorting: true
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
// `.total` is EVERY purchase — campaign-driven and discount-code alike.
|
|
82
|
+
// These were `totals.orders` / `totals.gross`, flat numbers that counted
|
|
83
|
+
// only campaign-driven sales while being headed "Orders" and "Revenue", so
|
|
84
|
+
// a redemption this person made showed here as nothing at all.
|
|
85
|
+
id: "totals.orders.total",
|
|
86
|
+
accessorKey: "totals.orders.total",
|
|
87
|
+
header: "Orders",
|
|
88
|
+
enableSorting: true
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: "totals.gross.total",
|
|
92
|
+
accessorKey: "totals.gross.total",
|
|
93
|
+
header: "Revenue",
|
|
94
|
+
cell: ({ getValue }) => {
|
|
95
|
+
const amount = getValue();
|
|
96
|
+
return amount ? formatCurrency({ value: amount }) : "\u2014";
|
|
97
|
+
},
|
|
98
|
+
enableSorting: true
|
|
99
|
+
}
|
|
100
|
+
];
|
|
101
|
+
export {
|
|
102
|
+
contactColumns
|
|
103
|
+
};
|
|
@@ -98,14 +98,16 @@ const TemplateNotFound = ({
|
|
|
98
98
|
"div",
|
|
99
99
|
{
|
|
100
100
|
...{
|
|
101
|
-
|
|
101
|
+
// Its own width, centred: not stretched to the heading's.
|
|
102
|
+
className: "flex justify-center pt-6"
|
|
102
103
|
},
|
|
103
104
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
104
105
|
import_button.default,
|
|
105
106
|
{
|
|
106
107
|
...{
|
|
107
108
|
element: import_link.default,
|
|
108
|
-
href
|
|
109
|
+
href,
|
|
110
|
+
inline: true
|
|
109
111
|
},
|
|
110
112
|
children: button
|
|
111
113
|
}
|
|
@@ -66,14 +66,16 @@ const TemplateNotFound = ({
|
|
|
66
66
|
"div",
|
|
67
67
|
{
|
|
68
68
|
...{
|
|
69
|
-
|
|
69
|
+
// Its own width, centred: not stretched to the heading's.
|
|
70
|
+
className: "flex justify-center pt-6"
|
|
70
71
|
},
|
|
71
72
|
children: /* @__PURE__ */ jsx(
|
|
72
73
|
Button,
|
|
73
74
|
{
|
|
74
75
|
...{
|
|
75
76
|
element: Link,
|
|
76
|
-
href
|
|
77
|
+
href,
|
|
78
|
+
inline: true
|
|
77
79
|
},
|
|
78
80
|
children: button
|
|
79
81
|
}
|
|
@@ -300,6 +300,12 @@ const TemplateSocketOrganization = ({
|
|
|
300
300
|
queryClient.invalidateQueries({
|
|
301
301
|
queryKey: ["organization-workflow", params.organization]
|
|
302
302
|
});
|
|
303
|
+
queryClient.invalidateQueries({
|
|
304
|
+
queryKey: ["menu", "campaign", params.organization]
|
|
305
|
+
});
|
|
306
|
+
queryClient.invalidateQueries({
|
|
307
|
+
queryKey: ["organization-affiliate-campaigns"]
|
|
308
|
+
});
|
|
303
309
|
},
|
|
304
310
|
// A sending domain or SMS number changed state without the browser
|
|
305
311
|
// asking. Registration is asynchronous — the api writes the row and
|
|
@@ -311,6 +317,9 @@ const TemplateSocketOrganization = ({
|
|
|
311
317
|
queryClient.invalidateQueries({
|
|
312
318
|
queryKey: ["organization", params.organization]
|
|
313
319
|
});
|
|
320
|
+
queryClient.invalidateQueries({
|
|
321
|
+
queryKey: ["organization-campaign-missions"]
|
|
322
|
+
});
|
|
314
323
|
},
|
|
315
324
|
"organization.connections": () => {
|
|
316
325
|
queryClient.invalidateQueries({
|
|
@@ -326,7 +335,7 @@ const TemplateSocketOrganization = ({
|
|
|
326
335
|
queryKey: ["organization-workflows", params.organization]
|
|
327
336
|
});
|
|
328
337
|
queryClient.invalidateQueries({
|
|
329
|
-
queryKey: ["organization-workflow
|
|
338
|
+
queryKey: ["organization-workflow", params.organization]
|
|
330
339
|
});
|
|
331
340
|
queryClient.invalidateQueries({
|
|
332
341
|
queryKey: ["organization-campaign-products", params.organization]
|
|
@@ -468,13 +477,42 @@ const TemplateSocketOrganization = ({
|
|
|
468
477
|
queryClient.invalidateQueries({
|
|
469
478
|
queryKey: ["organization-members", params.organization]
|
|
470
479
|
});
|
|
480
|
+
queryClient.invalidateQueries({
|
|
481
|
+
queryKey: ["organization-analytics"]
|
|
482
|
+
});
|
|
483
|
+
queryClient.invalidateQueries({
|
|
484
|
+
queryKey: ["organization-brands", params.organization]
|
|
485
|
+
});
|
|
486
|
+
queryClient.invalidateQueries({
|
|
487
|
+
queryKey: ["organization-brand"]
|
|
488
|
+
});
|
|
489
|
+
queryClient.invalidateQueries({
|
|
490
|
+
queryKey: ["organization-affiliates", params.organization]
|
|
491
|
+
});
|
|
492
|
+
queryClient.invalidateQueries({
|
|
493
|
+
queryKey: ["organization-affiliate"]
|
|
494
|
+
});
|
|
495
|
+
queryClient.invalidateQueries({
|
|
496
|
+
queryKey: ["organization-affiliate-campaigns"]
|
|
497
|
+
});
|
|
498
|
+
queryClient.invalidateQueries({
|
|
499
|
+
queryKey: ["list-resource", "affiliate"]
|
|
500
|
+
});
|
|
501
|
+
queryClient.invalidateQueries({
|
|
502
|
+
queryKey: ["campaign-advertisements", params.organization]
|
|
503
|
+
});
|
|
504
|
+
queryClient.invalidateQueries({
|
|
505
|
+
queryKey: ["organization-campaign-advertisement"]
|
|
506
|
+
});
|
|
471
507
|
},
|
|
472
508
|
// @story workflows/list
|
|
473
509
|
// Sync emits this on every workflow status change, on delete, and when
|
|
474
|
-
// a run-time issue is written or cleared. The open
|
|
475
|
-
// it, the
|
|
476
|
-
//
|
|
477
|
-
//
|
|
510
|
+
// a run-time issue is written or cleared. The open trigger page shows
|
|
511
|
+
// it, the campaign's Workflows page and a connection's Workflows drawer
|
|
512
|
+
// and error card carry it ( all under the two prefixes below ), the
|
|
513
|
+
// campaign's and the Dashboard's Next steps are built server-side off
|
|
514
|
+
// the campaign and the organization, and the Campaigns and Workflows
|
|
515
|
+
// dots off the two menus — so all of them refetch.
|
|
478
516
|
"organization.workflows": () => {
|
|
479
517
|
queryClient.invalidateQueries({
|
|
480
518
|
queryKey: ["organization-workflows", params.organization]
|
|
@@ -485,11 +523,17 @@ const TemplateSocketOrganization = ({
|
|
|
485
523
|
queryClient.invalidateQueries({
|
|
486
524
|
queryKey: ["organization", params.organization]
|
|
487
525
|
});
|
|
526
|
+
queryClient.invalidateQueries({
|
|
527
|
+
queryKey: ["campaign", params.campaign]
|
|
528
|
+
});
|
|
488
529
|
queryClient.invalidateQueries({
|
|
489
530
|
queryKey: ["menu", "organization", params.organization]
|
|
490
531
|
});
|
|
491
532
|
queryClient.invalidateQueries({
|
|
492
|
-
queryKey: ["
|
|
533
|
+
queryKey: ["menu", "campaign", params.organization]
|
|
534
|
+
});
|
|
535
|
+
queryClient.invalidateQueries({
|
|
536
|
+
queryKey: ["campaign-sections"]
|
|
493
537
|
});
|
|
494
538
|
queryClient.invalidateQueries({
|
|
495
539
|
queryKey: ["organizations"]
|
|
@@ -523,7 +567,6 @@ const TemplateSocketOrganization = ({
|
|
|
523
567
|
["organization-campaign-products", params == null ? void 0 : params.organization],
|
|
524
568
|
["organization-workflows", params == null ? void 0 : params.organization],
|
|
525
569
|
["organization-workflow", params == null ? void 0 : params.organization],
|
|
526
|
-
["organization-workflow-catalog", params == null ? void 0 : params.organization],
|
|
527
570
|
["organization-workflow-steps"],
|
|
528
571
|
["organization-contacts", params == null ? void 0 : params.organization],
|
|
529
572
|
["organization-exports", params == null ? void 0 : params.organization],
|
|
@@ -534,6 +577,7 @@ const TemplateSocketOrganization = ({
|
|
|
534
577
|
["organization-segments", params == null ? void 0 : params.organization],
|
|
535
578
|
["organization-affiliates", params == null ? void 0 : params.organization],
|
|
536
579
|
["organization-analytics"],
|
|
580
|
+
["organization-affiliate-campaigns"],
|
|
537
581
|
["list-resource", "affiliate"],
|
|
538
582
|
["menu", "organization", params == null ? void 0 : params.organization],
|
|
539
583
|
["menu", "campaign", params == null ? void 0 : params.organization]
|
|
@@ -265,6 +265,12 @@ const TemplateSocketOrganization = ({
|
|
|
265
265
|
queryClient.invalidateQueries({
|
|
266
266
|
queryKey: ["organization-workflow", params.organization]
|
|
267
267
|
});
|
|
268
|
+
queryClient.invalidateQueries({
|
|
269
|
+
queryKey: ["menu", "campaign", params.organization]
|
|
270
|
+
});
|
|
271
|
+
queryClient.invalidateQueries({
|
|
272
|
+
queryKey: ["organization-affiliate-campaigns"]
|
|
273
|
+
});
|
|
268
274
|
},
|
|
269
275
|
// A sending domain or SMS number changed state without the browser
|
|
270
276
|
// asking. Registration is asynchronous — the api writes the row and
|
|
@@ -276,6 +282,9 @@ const TemplateSocketOrganization = ({
|
|
|
276
282
|
queryClient.invalidateQueries({
|
|
277
283
|
queryKey: ["organization", params.organization]
|
|
278
284
|
});
|
|
285
|
+
queryClient.invalidateQueries({
|
|
286
|
+
queryKey: ["organization-campaign-missions"]
|
|
287
|
+
});
|
|
279
288
|
},
|
|
280
289
|
"organization.connections": () => {
|
|
281
290
|
queryClient.invalidateQueries({
|
|
@@ -291,7 +300,7 @@ const TemplateSocketOrganization = ({
|
|
|
291
300
|
queryKey: ["organization-workflows", params.organization]
|
|
292
301
|
});
|
|
293
302
|
queryClient.invalidateQueries({
|
|
294
|
-
queryKey: ["organization-workflow
|
|
303
|
+
queryKey: ["organization-workflow", params.organization]
|
|
295
304
|
});
|
|
296
305
|
queryClient.invalidateQueries({
|
|
297
306
|
queryKey: ["organization-campaign-products", params.organization]
|
|
@@ -433,13 +442,42 @@ const TemplateSocketOrganization = ({
|
|
|
433
442
|
queryClient.invalidateQueries({
|
|
434
443
|
queryKey: ["organization-members", params.organization]
|
|
435
444
|
});
|
|
445
|
+
queryClient.invalidateQueries({
|
|
446
|
+
queryKey: ["organization-analytics"]
|
|
447
|
+
});
|
|
448
|
+
queryClient.invalidateQueries({
|
|
449
|
+
queryKey: ["organization-brands", params.organization]
|
|
450
|
+
});
|
|
451
|
+
queryClient.invalidateQueries({
|
|
452
|
+
queryKey: ["organization-brand"]
|
|
453
|
+
});
|
|
454
|
+
queryClient.invalidateQueries({
|
|
455
|
+
queryKey: ["organization-affiliates", params.organization]
|
|
456
|
+
});
|
|
457
|
+
queryClient.invalidateQueries({
|
|
458
|
+
queryKey: ["organization-affiliate"]
|
|
459
|
+
});
|
|
460
|
+
queryClient.invalidateQueries({
|
|
461
|
+
queryKey: ["organization-affiliate-campaigns"]
|
|
462
|
+
});
|
|
463
|
+
queryClient.invalidateQueries({
|
|
464
|
+
queryKey: ["list-resource", "affiliate"]
|
|
465
|
+
});
|
|
466
|
+
queryClient.invalidateQueries({
|
|
467
|
+
queryKey: ["campaign-advertisements", params.organization]
|
|
468
|
+
});
|
|
469
|
+
queryClient.invalidateQueries({
|
|
470
|
+
queryKey: ["organization-campaign-advertisement"]
|
|
471
|
+
});
|
|
436
472
|
},
|
|
437
473
|
// @story workflows/list
|
|
438
474
|
// Sync emits this on every workflow status change, on delete, and when
|
|
439
|
-
// a run-time issue is written or cleared. The open
|
|
440
|
-
// it, the
|
|
441
|
-
//
|
|
442
|
-
//
|
|
475
|
+
// a run-time issue is written or cleared. The open trigger page shows
|
|
476
|
+
// it, the campaign's Workflows page and a connection's Workflows drawer
|
|
477
|
+
// and error card carry it ( all under the two prefixes below ), the
|
|
478
|
+
// campaign's and the Dashboard's Next steps are built server-side off
|
|
479
|
+
// the campaign and the organization, and the Campaigns and Workflows
|
|
480
|
+
// dots off the two menus — so all of them refetch.
|
|
443
481
|
"organization.workflows": () => {
|
|
444
482
|
queryClient.invalidateQueries({
|
|
445
483
|
queryKey: ["organization-workflows", params.organization]
|
|
@@ -450,11 +488,17 @@ const TemplateSocketOrganization = ({
|
|
|
450
488
|
queryClient.invalidateQueries({
|
|
451
489
|
queryKey: ["organization", params.organization]
|
|
452
490
|
});
|
|
491
|
+
queryClient.invalidateQueries({
|
|
492
|
+
queryKey: ["campaign", params.campaign]
|
|
493
|
+
});
|
|
453
494
|
queryClient.invalidateQueries({
|
|
454
495
|
queryKey: ["menu", "organization", params.organization]
|
|
455
496
|
});
|
|
456
497
|
queryClient.invalidateQueries({
|
|
457
|
-
queryKey: ["
|
|
498
|
+
queryKey: ["menu", "campaign", params.organization]
|
|
499
|
+
});
|
|
500
|
+
queryClient.invalidateQueries({
|
|
501
|
+
queryKey: ["campaign-sections"]
|
|
458
502
|
});
|
|
459
503
|
queryClient.invalidateQueries({
|
|
460
504
|
queryKey: ["organizations"]
|
|
@@ -488,7 +532,6 @@ const TemplateSocketOrganization = ({
|
|
|
488
532
|
["organization-campaign-products", params == null ? void 0 : params.organization],
|
|
489
533
|
["organization-workflows", params == null ? void 0 : params.organization],
|
|
490
534
|
["organization-workflow", params == null ? void 0 : params.organization],
|
|
491
|
-
["organization-workflow-catalog", params == null ? void 0 : params.organization],
|
|
492
535
|
["organization-workflow-steps"],
|
|
493
536
|
["organization-contacts", params == null ? void 0 : params.organization],
|
|
494
537
|
["organization-exports", params == null ? void 0 : params.organization],
|
|
@@ -499,6 +542,7 @@ const TemplateSocketOrganization = ({
|
|
|
499
542
|
["organization-segments", params == null ? void 0 : params.organization],
|
|
500
543
|
["organization-affiliates", params == null ? void 0 : params.organization],
|
|
501
544
|
["organization-analytics"],
|
|
545
|
+
["organization-affiliate-campaigns"],
|
|
502
546
|
["list-resource", "affiliate"],
|
|
503
547
|
["menu", "organization", params == null ? void 0 : params.organization],
|
|
504
548
|
["menu", "campaign", params == null ? void 0 : params.organization]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var desktop_exports = {};
|
|
19
|
+
__export(desktop_exports, {
|
|
20
|
+
default: () => desktop_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(desktop_exports);
|
|
23
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
24
|
+
const Desktop = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
25
|
+
"svg",
|
|
26
|
+
{
|
|
27
|
+
...{
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeWidth: 1.5,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
...props
|
|
33
|
+
},
|
|
34
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
35
|
+
"path",
|
|
36
|
+
{
|
|
37
|
+
...{
|
|
38
|
+
d: "M5.25 3.75h13.5A2.25 2.25 0 0 1 21 6v8.25a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 14.25V6a2.25 2.25 0 0 1 2.25-2.25ZM12 16.5v3.75M8.25 20.25h7.5",
|
|
39
|
+
strokeLinecap: "round",
|
|
40
|
+
strokeLinejoin: "round"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
var desktop_default = Desktop;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const Desktop = (props) => /* @__PURE__ */ jsx(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
...{
|
|
6
|
+
fill: "none",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeWidth: 1.5,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
...props
|
|
11
|
+
},
|
|
12
|
+
children: /* @__PURE__ */ jsx(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
...{
|
|
16
|
+
d: "M5.25 3.75h13.5A2.25 2.25 0 0 1 21 6v8.25a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 14.25V6a2.25 2.25 0 0 1 2.25-2.25ZM12 16.5v3.75M8.25 20.25h7.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
var desktop_default = Desktop;
|
|
25
|
+
export {
|
|
26
|
+
desktop_default as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var phone_exports = {};
|
|
19
|
+
__export(phone_exports, {
|
|
20
|
+
default: () => phone_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(phone_exports);
|
|
23
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
24
|
+
const Phone = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
25
|
+
"svg",
|
|
26
|
+
{
|
|
27
|
+
...{
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeWidth: 1.5,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
...props
|
|
33
|
+
},
|
|
34
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
35
|
+
"path",
|
|
36
|
+
{
|
|
37
|
+
...{
|
|
38
|
+
d: "M9 2.25h6a2.25 2.25 0 0 1 2.25 2.25v15A2.25 2.25 0 0 1 15 21.75H9a2.25 2.25 0 0 1-2.25-2.25v-15A2.25 2.25 0 0 1 9 2.25ZM11.25 18.75h1.5",
|
|
39
|
+
strokeLinecap: "round",
|
|
40
|
+
strokeLinejoin: "round"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
var phone_default = Phone;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const Phone = (props) => /* @__PURE__ */ jsx(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
...{
|
|
6
|
+
fill: "none",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeWidth: 1.5,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
...props
|
|
11
|
+
},
|
|
12
|
+
children: /* @__PURE__ */ jsx(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
...{
|
|
16
|
+
d: "M9 2.25h6a2.25 2.25 0 0 1 2.25 2.25v15A2.25 2.25 0 0 1 15 21.75H9a2.25 2.25 0 0 1-2.25-2.25v-15A2.25 2.25 0 0 1 9 2.25ZM11.25 18.75h1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
var phone_default = Phone;
|
|
25
|
+
export {
|
|
26
|
+
phone_default as default
|
|
27
|
+
};
|