@medialane/ui 0.396.0 → 0.398.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/components/account/add-guardian-dialog.cjs +3 -2
- package/dist/components/account/add-guardian-dialog.cjs.map +1 -1
- package/dist/components/account/add-guardian-dialog.js +3 -2
- package/dist/components/account/add-guardian-dialog.js.map +1 -1
- package/dist/components/account/input-otp.d.cts +2 -2
- package/dist/components/account/input-otp.d.ts +2 -2
- package/dist/components/approve-mint-dialog.cjs +7 -7
- package/dist/components/approve-mint-dialog.cjs.map +1 -1
- package/dist/components/approve-mint-dialog.js +7 -7
- package/dist/components/approve-mint-dialog.js.map +1 -1
- package/dist/components/asset-picker.cjs +5 -5
- package/dist/components/asset-picker.cjs.map +1 -1
- package/dist/components/asset-picker.js +5 -5
- package/dist/components/asset-picker.js.map +1 -1
- package/dist/components/asset-search-picker.cjs +1 -1
- package/dist/components/asset-search-picker.cjs.map +1 -1
- package/dist/components/asset-search-picker.js +1 -1
- package/dist/components/asset-search-picker.js.map +1 -1
- package/dist/components/button.d.cts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/coin-launch-preview.cjs +1 -1
- package/dist/components/coin-launch-preview.cjs.map +1 -1
- package/dist/components/coin-launch-preview.js +1 -1
- package/dist/components/coin-launch-preview.js.map +1 -1
- package/dist/components/create-aside.cjs +140 -0
- package/dist/components/create-aside.cjs.map +1 -0
- package/dist/components/create-aside.d.cts +101 -0
- package/dist/components/create-aside.d.ts +101 -0
- package/dist/components/create-aside.js +133 -0
- package/dist/components/create-aside.js.map +1 -0
- package/dist/components/create-sponsorship-aside.cjs +1 -1
- package/dist/components/create-sponsorship-aside.cjs.map +1 -1
- package/dist/components/create-sponsorship-aside.js +1 -1
- package/dist/components/create-sponsorship-aside.js.map +1 -1
- package/dist/components/drop/create/asset-editor.cjs +49 -34
- package/dist/components/drop/create/asset-editor.cjs.map +1 -1
- package/dist/components/drop/create/asset-editor.js +50 -35
- package/dist/components/drop/create/asset-editor.js.map +1 -1
- package/dist/components/drop/create/assets-panel.cjs +9 -9
- package/dist/components/drop/create/assets-panel.cjs.map +1 -1
- package/dist/components/drop/create/assets-panel.js +9 -9
- package/dist/components/drop/create/assets-panel.js.map +1 -1
- package/dist/components/drop/create/collection-panel.cjs +20 -8
- package/dist/components/drop/create/collection-panel.cjs.map +1 -1
- package/dist/components/drop/create/collection-panel.js +21 -9
- package/dist/components/drop/create/collection-panel.js.map +1 -1
- package/dist/components/drop/create/drop-create.cjs +2 -2
- package/dist/components/drop/create/drop-create.cjs.map +1 -1
- package/dist/components/drop/create/drop-create.js +2 -2
- package/dist/components/drop/create/drop-create.js.map +1 -1
- package/dist/components/drop/create/drop-fields.cjs +4 -5
- package/dist/components/drop/create/drop-fields.cjs.map +1 -1
- package/dist/components/drop/create/drop-fields.js +4 -5
- package/dist/components/drop/create/drop-fields.js.map +1 -1
- package/dist/components/drop/create/launch-dialog.cjs +1 -1
- package/dist/components/drop/create/launch-dialog.cjs.map +1 -1
- package/dist/components/drop/create/launch-dialog.js +1 -1
- package/dist/components/drop/create/launch-dialog.js.map +1 -1
- package/dist/components/drop/create/settings-panel.cjs +1 -1
- package/dist/components/drop/create/settings-panel.cjs.map +1 -1
- package/dist/components/drop/create/settings-panel.js +1 -1
- package/dist/components/drop/create/settings-panel.js.map +1 -1
- package/dist/components/external-link-field.cjs +1 -2
- package/dist/components/external-link-field.cjs.map +1 -1
- package/dist/components/external-link-field.js +2 -3
- package/dist/components/external-link-field.js.map +1 -1
- package/dist/components/fast-mint/asset-form-parts.cjs +8 -43
- package/dist/components/fast-mint/asset-form-parts.cjs.map +1 -1
- package/dist/components/fast-mint/asset-form-parts.d.cts +7 -10
- package/dist/components/fast-mint/asset-form-parts.d.ts +7 -10
- package/dist/components/fast-mint/asset-form-parts.js +8 -42
- package/dist/components/fast-mint/asset-form-parts.js.map +1 -1
- package/dist/components/fast-mint/collection-section.cjs +8 -9
- package/dist/components/fast-mint/collection-section.cjs.map +1 -1
- package/dist/components/fast-mint/collection-section.d.cts +2 -2
- package/dist/components/fast-mint/collection-section.d.ts +2 -2
- package/dist/components/fast-mint/collection-section.js +8 -9
- package/dist/components/fast-mint/collection-section.js.map +1 -1
- package/dist/components/fast-mint/create-then-add.cjs +4 -5
- package/dist/components/fast-mint/create-then-add.cjs.map +1 -1
- package/dist/components/fast-mint/create-then-add.d.cts +2 -3
- package/dist/components/fast-mint/create-then-add.d.ts +2 -3
- package/dist/components/fast-mint/create-then-add.js +4 -5
- package/dist/components/fast-mint/create-then-add.js.map +1 -1
- package/dist/components/fast-mint/dropzone.cjs +9 -1
- package/dist/components/fast-mint/dropzone.cjs.map +1 -1
- package/dist/components/fast-mint/dropzone.js +9 -1
- package/dist/components/fast-mint/dropzone.js.map +1 -1
- package/dist/components/fast-mint/fast-mint.cjs +69 -58
- package/dist/components/fast-mint/fast-mint.cjs.map +1 -1
- package/dist/components/fast-mint/fast-mint.js +70 -59
- package/dist/components/fast-mint/fast-mint.js.map +1 -1
- package/dist/components/fast-mint/formats/nft.cjs +12 -12
- package/dist/components/fast-mint/formats/nft.cjs.map +1 -1
- package/dist/components/fast-mint/formats/nft.d.cts +2 -0
- package/dist/components/fast-mint/formats/nft.d.ts +2 -0
- package/dist/components/fast-mint/formats/nft.js +12 -12
- package/dist/components/fast-mint/formats/nft.js.map +1 -1
- package/dist/components/fast-mint/formats/pop.cjs +4 -4
- package/dist/components/fast-mint/formats/pop.cjs.map +1 -1
- package/dist/components/fast-mint/formats/pop.d.cts +2 -0
- package/dist/components/fast-mint/formats/pop.d.ts +2 -0
- package/dist/components/fast-mint/formats/pop.js +4 -4
- package/dist/components/fast-mint/formats/pop.js.map +1 -1
- package/dist/components/fast-mint/formats/registry.d.cts +2 -0
- package/dist/components/fast-mint/formats/registry.d.ts +2 -0
- package/dist/components/fast-mint/formats/tiers.cjs +25 -16
- package/dist/components/fast-mint/formats/tiers.cjs.map +1 -1
- package/dist/components/fast-mint/formats/tiers.d.cts +2 -0
- package/dist/components/fast-mint/formats/tiers.d.ts +2 -0
- package/dist/components/fast-mint/formats/tiers.js +25 -16
- package/dist/components/fast-mint/formats/tiers.js.map +1 -1
- package/dist/components/fast-mint/formats/types.cjs.map +1 -1
- package/dist/components/fast-mint/formats/types.d.cts +3 -1
- package/dist/components/fast-mint/formats/types.d.ts +3 -1
- package/dist/components/fast-mint/formats/types.js.map +1 -1
- package/dist/components/fast-mint/ip-type-section.cjs +2 -2
- package/dist/components/fast-mint/ip-type-section.cjs.map +1 -1
- package/dist/components/fast-mint/ip-type-section.js +2 -2
- package/dist/components/fast-mint/ip-type-section.js.map +1 -1
- package/dist/components/fast-mint/success-view.d.cts +2 -0
- package/dist/components/fast-mint/success-view.d.ts +2 -0
- package/dist/components/image-upload-field.cjs +139 -0
- package/dist/components/image-upload-field.cjs.map +1 -0
- package/dist/components/image-upload-field.d.cts +19 -0
- package/dist/components/image-upload-field.d.ts +19 -0
- package/dist/components/image-upload-field.js +105 -0
- package/dist/components/image-upload-field.js.map +1 -0
- package/dist/components/ip-type-fields.cjs +7 -6
- package/dist/components/ip-type-fields.cjs.map +1 -1
- package/dist/components/ip-type-fields.js +7 -6
- package/dist/components/ip-type-fields.js.map +1 -1
- package/dist/components/launchpad/coin-create.cjs +13 -56
- package/dist/components/launchpad/coin-create.cjs.map +1 -1
- package/dist/components/launchpad/coin-create.js +14 -57
- package/dist/components/launchpad/coin-create.js.map +1 -1
- package/dist/components/launchpad/collection-create-form.cjs +28 -87
- package/dist/components/launchpad/collection-create-form.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-form.js +28 -87
- package/dist/components/launchpad/collection-create-form.js.map +1 -1
- package/dist/components/launchpad/collection-create-presets.cjs +31 -37
- package/dist/components/launchpad/collection-create-presets.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-presets.d.cts +0 -3
- package/dist/components/launchpad/collection-create-presets.d.ts +0 -3
- package/dist/components/launchpad/collection-create-presets.js +31 -37
- package/dist/components/launchpad/collection-create-presets.js.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.cjs +21 -105
- package/dist/components/launchpad/edition-mint-fields.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.d.cts +5 -8
- package/dist/components/launchpad/edition-mint-fields.d.ts +5 -8
- package/dist/components/launchpad/edition-mint-fields.js +24 -98
- package/dist/components/launchpad/edition-mint-fields.js.map +1 -1
- package/dist/components/launchpad/edition-mint-schema.cjs +5 -4
- package/dist/components/launchpad/edition-mint-schema.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint-schema.d.cts +6 -6
- package/dist/components/launchpad/edition-mint-schema.d.ts +6 -6
- package/dist/components/launchpad/edition-mint-schema.js +5 -4
- package/dist/components/launchpad/edition-mint-schema.js.map +1 -1
- package/dist/components/launchpad/edition-mint.cjs +36 -52
- package/dist/components/launchpad/edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint.js +36 -52
- package/dist/components/launchpad/edition-mint.js.map +1 -1
- package/dist/components/launchpad/pop-create-fields.cjs +46 -128
- package/dist/components/launchpad/pop-create-fields.cjs.map +1 -1
- package/dist/components/launchpad/pop-create-fields.d.cts +5 -8
- package/dist/components/launchpad/pop-create-fields.d.ts +5 -8
- package/dist/components/launchpad/pop-create-fields.js +46 -120
- package/dist/components/launchpad/pop-create-fields.js.map +1 -1
- package/dist/components/launchpad/pop-create-schema.cjs +2 -2
- package/dist/components/launchpad/pop-create-schema.cjs.map +1 -1
- package/dist/components/launchpad/pop-create-schema.js +2 -2
- package/dist/components/launchpad/pop-create-schema.js.map +1 -1
- package/dist/components/launchpad/pop-create.cjs +24 -36
- package/dist/components/launchpad/pop-create.cjs.map +1 -1
- package/dist/components/launchpad/pop-create.js +24 -36
- package/dist/components/launchpad/pop-create.js.map +1 -1
- package/dist/components/launchpad/remix-mint.cjs +42 -73
- package/dist/components/launchpad/remix-mint.cjs.map +1 -1
- package/dist/components/launchpad/remix-mint.js +43 -74
- package/dist/components/launchpad/remix-mint.js.map +1 -1
- package/dist/components/launchpad/single-edition-mint.cjs +37 -95
- package/dist/components/launchpad/single-edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/single-edition-mint.js +38 -96
- package/dist/components/launchpad/single-edition-mint.js.map +1 -1
- package/dist/components/launchpad/sponsorship-create.cjs +17 -16
- package/dist/components/launchpad/sponsorship-create.cjs.map +1 -1
- package/dist/components/launchpad/sponsorship-create.js +17 -16
- package/dist/components/launchpad/sponsorship-create.js.map +1 -1
- package/dist/components/launchpad/tier-mint-form.cjs +21 -75
- package/dist/components/launchpad/tier-mint-form.cjs.map +1 -1
- package/dist/components/launchpad/tier-mint-form.js +22 -76
- package/dist/components/launchpad/tier-mint-form.js.map +1 -1
- package/dist/components/launchpad/tier-mint-presets.cjs +21 -21
- package/dist/components/launchpad/tier-mint-presets.cjs.map +1 -1
- package/dist/components/launchpad/tier-mint-presets.d.cts +2 -2
- package/dist/components/launchpad/tier-mint-presets.d.ts +2 -2
- package/dist/components/launchpad/tier-mint-presets.js +21 -21
- package/dist/components/launchpad/tier-mint-presets.js.map +1 -1
- package/dist/components/license-terms-builder.cjs +4 -4
- package/dist/components/license-terms-builder.cjs.map +1 -1
- package/dist/components/license-terms-builder.js +4 -4
- package/dist/components/license-terms-builder.js.map +1 -1
- package/dist/components/medialane-collection-card.cjs +1 -1
- package/dist/components/medialane-collection-card.cjs.map +1 -1
- package/dist/components/medialane-collection-card.js +1 -1
- package/dist/components/medialane-collection-card.js.map +1 -1
- package/dist/components/report-dialog.cjs +3 -3
- package/dist/components/report-dialog.cjs.map +1 -1
- package/dist/components/report-dialog.js +3 -3
- package/dist/components/report-dialog.js.map +1 -1
- package/dist/components/transaction-dialog.cjs +2 -2
- package/dist/components/transaction-dialog.cjs.map +1 -1
- package/dist/components/transaction-dialog.js +2 -2
- package/dist/components/transaction-dialog.js.map +1 -1
- package/dist/components/transfer-dialog.cjs +2 -1
- package/dist/components/transfer-dialog.cjs.map +1 -1
- package/dist/components/transfer-dialog.js +2 -1
- package/dist/components/transfer-dialog.js.map +1 -1
- package/dist/components/wallet/export-key-section.cjs +3 -2
- package/dist/components/wallet/export-key-section.cjs.map +1 -1
- package/dist/components/wallet/export-key-section.js +3 -2
- package/dist/components/wallet/export-key-section.js.map +1 -1
- package/dist/data/ip-templates.cjs +3 -3
- package/dist/data/ip-templates.cjs.map +1 -1
- package/dist/data/ip-templates.js +3 -3
- package/dist/data/ip-templates.js.map +1 -1
- package/dist/data/launchpad-services.cjs +21 -21
- package/dist/data/launchpad-services.cjs.map +1 -1
- package/dist/data/launchpad-services.js +21 -21
- package/dist/data/launchpad-services.js.map +1 -1
- package/dist/data/nav-commands.cjs +5 -5
- package/dist/data/nav-commands.cjs.map +1 -1
- package/dist/data/nav-commands.js +5 -5
- package/dist/data/nav-commands.js.map +1 -1
- package/dist/i18n/catalog/pt.cjs +278 -206
- package/dist/i18n/catalog/pt.cjs.map +1 -1
- package/dist/i18n/catalog/pt.js +278 -206
- package/dist/i18n/catalog/pt.js.map +1 -1
- package/dist/i18n/tools/scan.cjs +47 -2
- package/dist/i18n/tools/scan.cjs.map +1 -1
- package/dist/i18n/tools/scan.d.cts +6 -1
- package/dist/i18n/tools/scan.d.ts +6 -1
- package/dist/i18n/tools/scan.js +45 -1
- package/dist/i18n/tools/scan.js.map +1 -1
- package/dist/index.cjs +14 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/dist/utils/drop/draft.cjs +3 -3
- package/dist/utils/drop/draft.cjs.map +1 -1
- package/dist/utils/drop/draft.js +3 -3
- package/dist/utils/drop/draft.js.map +1 -1
- package/dist/utils/ipfs-upload.cjs +13 -8
- package/dist/utils/ipfs-upload.cjs.map +1 -1
- package/dist/utils/ipfs-upload.d.cts +3 -4
- package/dist/utils/ipfs-upload.d.ts +3 -4
- package/dist/utils/ipfs-upload.js +13 -9
- package/dist/utils/ipfs-upload.js.map +1 -1
- package/dist/utils/launchpad-rules.cjs +4 -3
- package/dist/utils/launchpad-rules.cjs.map +1 -1
- package/dist/utils/launchpad-rules.d.cts +1 -1
- package/dist/utils/launchpad-rules.d.ts +1 -1
- package/dist/utils/launchpad-rules.js +4 -3
- package/dist/utils/launchpad-rules.js.map +1 -1
- package/dist/utils/order-form.cjs +3 -2
- package/dist/utils/order-form.cjs.map +1 -1
- package/dist/utils/order-form.js +3 -2
- package/dist/utils/order-form.js.map +1 -1
- package/dist/utils/upload-limits.cjs +10 -4
- package/dist/utils/upload-limits.cjs.map +1 -1
- package/dist/utils/upload-limits.d.cts +2 -1
- package/dist/utils/upload-limits.d.ts +2 -1
- package/dist/utils/upload-limits.js +11 -5
- package/dist/utils/upload-limits.js.map +1 -1
- package/dist/utils/use-file-upload.cjs +105 -0
- package/dist/utils/use-file-upload.cjs.map +1 -0
- package/dist/utils/use-file-upload.d.cts +27 -0
- package/dist/utils/use-file-upload.d.ts +27 -0
- package/dist/utils/use-file-upload.js +81 -0
- package/dist/utils/use-file-upload.js.map +1 -0
- package/dist/utils/use-image-upload.cjs +56 -0
- package/dist/utils/use-image-upload.cjs.map +1 -0
- package/dist/utils/use-image-upload.d.cts +20 -0
- package/dist/utils/use-image-upload.d.ts +20 -0
- package/dist/utils/use-image-upload.js +32 -0
- package/dist/utils/use-image-upload.js.map +1 -0
- package/package.json +1 -1
- package/dist/components/fast-mint/use-ipfs-upload.cjs +0 -64
- package/dist/components/fast-mint/use-ipfs-upload.cjs.map +0 -1
- package/dist/components/fast-mint/use-ipfs-upload.d.cts +0 -9
- package/dist/components/fast-mint/use-ipfs-upload.d.ts +0 -9
- package/dist/components/fast-mint/use-ipfs-upload.js +0 -40
- package/dist/components/fast-mint/use-ipfs-upload.js.map +0 -1
- package/dist/utils/use-launchpad-image-upload.cjs +0 -103
- package/dist/utils/use-launchpad-image-upload.cjs.map +0 -1
- package/dist/utils/use-launchpad-image-upload.d.cts +0 -21
- package/dist/utils/use-launchpad-image-upload.d.ts +0 -21
- package/dist/utils/use-launchpad-image-upload.js +0 -79
- package/dist/utils/use-launchpad-image-upload.js.map +0 -1
package/dist/i18n/tools/scan.cjs
CHANGED
|
@@ -29,7 +29,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
29
29
|
var scan_exports = {};
|
|
30
30
|
__export(scan_exports, {
|
|
31
31
|
readSources: () => readSources,
|
|
32
|
-
scanSentences: () => scanSentences
|
|
32
|
+
scanSentences: () => scanSentences,
|
|
33
|
+
scanUnmarkedMessages: () => scanUnmarkedMessages
|
|
33
34
|
});
|
|
34
35
|
module.exports = __toCommonJS(scan_exports);
|
|
35
36
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
@@ -72,9 +73,53 @@ function readSources(dir, skip = /* @__PURE__ */ new Set(["catalog"])) {
|
|
|
72
73
|
}
|
|
73
74
|
return files;
|
|
74
75
|
}
|
|
76
|
+
const SCHEMA_RULES = /* @__PURE__ */ new Set(["min", "max", "regex", "refine", "superRefine", "email", "url", "length", "addIssue"]);
|
|
77
|
+
function scanUnmarkedMessages(files) {
|
|
78
|
+
const found = [];
|
|
79
|
+
for (const [file, text] of Object.entries(files)) {
|
|
80
|
+
const kind = file.endsWith("x") ? import_typescript.default.ScriptKind.TSX : import_typescript.default.ScriptKind.TS;
|
|
81
|
+
const source = import_typescript.default.createSourceFile(file, text, import_typescript.default.ScriptTarget.Latest, true, kind);
|
|
82
|
+
const report = (node) => {
|
|
83
|
+
if (!node) return;
|
|
84
|
+
if (import_typescript.default.isConditionalExpression(node)) {
|
|
85
|
+
report(node.whenTrue);
|
|
86
|
+
report(node.whenFalse);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
if (import_typescript.default.isParenthesizedExpression(node)) {
|
|
90
|
+
report(node.expression);
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (import_typescript.default.isObjectLiteralExpression(node)) {
|
|
94
|
+
for (const property of node.properties) {
|
|
95
|
+
if (import_typescript.default.isPropertyAssignment(property) && property.name.getText(source) === "message") report(property.initializer);
|
|
96
|
+
}
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
const sentence = literalText(node) ?? (import_typescript.default.isTemplateExpression(node) ? node.getText(source).slice(1, -1) : null);
|
|
100
|
+
if (sentence !== null && /^[A-Z].*\s/.test(sentence)) found.push({ file, text: sentence });
|
|
101
|
+
};
|
|
102
|
+
const visit = (node) => {
|
|
103
|
+
if (import_typescript.default.isCallExpression(node)) {
|
|
104
|
+
const callee = node.expression;
|
|
105
|
+
const method = import_typescript.default.isPropertyAccessExpression(callee) ? callee.name.text : null;
|
|
106
|
+
const name = import_typescript.default.isIdentifier(callee) ? callee.text : null;
|
|
107
|
+
if (method && SCHEMA_RULES.has(method) && !(import_typescript.default.isPropertyAccessExpression(callee) && callee.expression.getText(source) === "Math")) {
|
|
108
|
+
node.arguments.forEach(report);
|
|
109
|
+
}
|
|
110
|
+
if (name && (/^set\w*Error(Msg)?$/.test(name) || /^\w+Field$/.test(name))) node.arguments.forEach(report);
|
|
111
|
+
}
|
|
112
|
+
if (import_typescript.default.isVariableDeclaration(node) && /_MESSAGE$/.test(node.name.getText(source))) report(node.initializer);
|
|
113
|
+
import_typescript.default.forEachChild(node, visit);
|
|
114
|
+
};
|
|
115
|
+
visit(source);
|
|
116
|
+
}
|
|
117
|
+
return found;
|
|
118
|
+
}
|
|
75
119
|
// Annotate the CommonJS export names for ESM import in node:
|
|
76
120
|
0 && (module.exports = {
|
|
77
121
|
readSources,
|
|
78
|
-
scanSentences
|
|
122
|
+
scanSentences,
|
|
123
|
+
scanUnmarkedMessages
|
|
79
124
|
});
|
|
80
125
|
//# sourceMappingURL=scan.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/i18n/tools/scan.ts"],"sourcesContent":["import ts from \"typescript\";\nimport { readdirSync, readFileSync, statSync } from \"node:fs\";\nimport { join } from \"node:path\";\n\nexport interface Scan {\n sentences: Set<string>;\n plurals: Set<string>;\n}\n\nconst literalText = (node: ts.Node | undefined): string | null =>\n node && (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) ? node.text : null;\n\nexport function scanSentences(files: Record<string, string>): Scan {\n const sentences = new Set<string>();\n const plurals = new Set<string>();\n for (const [name, text] of Object.entries(files)) {\n const kind = name.endsWith(\"x\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS;\n const source = ts.createSourceFile(name, text, ts.ScriptTarget.Latest, true, kind);\n const visit = (node: ts.Node) => {\n if (ts.isCallExpression(node)) {\n const callee = node.expression;\n if (ts.isIdentifier(callee) && (callee.text === \"t\" || callee.text === \"msg\")) {\n const sentence = literalText(node.arguments[0]);\n if (sentence !== null) sentences.add(sentence);\n } else if (ts.isPropertyAccessExpression(callee) && ts.isIdentifier(callee.expression) && callee.expression.text === \"t\") {\n const first = literalText(node.arguments[0]);\n if (first !== null && callee.name.text === \"plural\") plurals.add(first);\n if (first !== null && callee.name.text === \"rich\") sentences.add(first);\n }\n }\n ts.forEachChild(node, visit);\n };\n visit(source);\n }\n return { sentences, plurals };\n}\n\nexport function readSources(dir: string, skip: ReadonlySet<string> = new Set([\"catalog\"])): Record<string, string> {\n const files: Record<string, string> = {};\n for (const name of readdirSync(dir)) {\n const path = join(dir, name);\n if (statSync(path).isDirectory()) {\n if (!skip.has(name) && name !== \"node_modules\") Object.assign(files, readSources(path, skip));\n } else if (/\\.tsx?$/.test(name) && !/\\.test\\.tsx?$/.test(name)) {\n files[path] = readFileSync(path, \"utf8\");\n }\n }\n return files;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAe;AACf,qBAAoD;AACpD,uBAAqB;AAOrB,MAAM,cAAc,CAAC,SACnB,SAAS,kBAAAA,QAAG,gBAAgB,IAAI,KAAK,kBAAAA,QAAG,gCAAgC,IAAI,KAAK,KAAK,OAAO;A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B,YAAI,yBAAS,IAAI,EAAE,YAAY,GAAG;AAChC,UAAI,CAAC,KAAK,IAAI,IAAI,KAAK,SAAS,eAAgB,QAAO,OAAO,OAAO,YAAY,MAAM,IAAI,CAAC;AAAA,IAC9F,WAAW,UAAU,KAAK,IAAI,KAAK,CAAC,gBAAgB,KAAK,IAAI,GAAG;AAC9D,YAAM,IAAI,QAAI,6BAAa,MAAM,MAAM;AAAA,IACzC;AAAA,EACF;AACA,SAAO;AACT;","names":["ts"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/i18n/tools/scan.ts"],"sourcesContent":["import ts from \"typescript\";\nimport { readdirSync, readFileSync, statSync } from \"node:fs\";\nimport { join } from \"node:path\";\n\nexport interface Scan {\n sentences: Set<string>;\n plurals: Set<string>;\n}\n\nconst literalText = (node: ts.Node | undefined): string | null =>\n node && (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) ? node.text : null;\n\nexport function scanSentences(files: Record<string, string>): Scan {\n const sentences = new Set<string>();\n const plurals = new Set<string>();\n for (const [name, text] of Object.entries(files)) {\n const kind = name.endsWith(\"x\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS;\n const source = ts.createSourceFile(name, text, ts.ScriptTarget.Latest, true, kind);\n const visit = (node: ts.Node) => {\n if (ts.isCallExpression(node)) {\n const callee = node.expression;\n if (ts.isIdentifier(callee) && (callee.text === \"t\" || callee.text === \"msg\")) {\n const sentence = literalText(node.arguments[0]);\n if (sentence !== null) sentences.add(sentence);\n } else if (ts.isPropertyAccessExpression(callee) && ts.isIdentifier(callee.expression) && callee.expression.text === \"t\") {\n const first = literalText(node.arguments[0]);\n if (first !== null && callee.name.text === \"plural\") plurals.add(first);\n if (first !== null && callee.name.text === \"rich\") sentences.add(first);\n }\n }\n ts.forEachChild(node, visit);\n };\n visit(source);\n }\n return { sentences, plurals };\n}\n\nexport function readSources(dir: string, skip: ReadonlySet<string> = new Set([\"catalog\"])): Record<string, string> {\n const files: Record<string, string> = {};\n for (const name of readdirSync(dir)) {\n const path = join(dir, name);\n if (statSync(path).isDirectory()) {\n if (!skip.has(name) && name !== \"node_modules\") Object.assign(files, readSources(path, skip));\n } else if (/\\.tsx?$/.test(name) && !/\\.test\\.tsx?$/.test(name)) {\n files[path] = readFileSync(path, \"utf8\");\n }\n }\n return files;\n}\n\nexport interface UnmarkedMessage {\n file: string;\n text: string;\n}\n\nconst SCHEMA_RULES = new Set([\"min\", \"max\", \"regex\", \"refine\", \"superRefine\", \"email\", \"url\", \"length\", \"addIssue\"]);\n\nexport function scanUnmarkedMessages(files: Record<string, string>): UnmarkedMessage[] {\n const found: UnmarkedMessage[] = [];\n for (const [file, text] of Object.entries(files)) {\n const kind = file.endsWith(\"x\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS;\n const source = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true, kind);\n const report = (node: ts.Node | undefined): void => {\n if (!node) return;\n if (ts.isConditionalExpression(node)) {\n report(node.whenTrue);\n report(node.whenFalse);\n return;\n }\n if (ts.isParenthesizedExpression(node)) {\n report(node.expression);\n return;\n }\n if (ts.isObjectLiteralExpression(node)) {\n for (const property of node.properties) {\n if (ts.isPropertyAssignment(property) && property.name.getText(source) === \"message\") report(property.initializer);\n }\n return;\n }\n const sentence = literalText(node) ?? (ts.isTemplateExpression(node) ? node.getText(source).slice(1, -1) : null);\n if (sentence !== null && /^[A-Z].*\\s/.test(sentence)) found.push({ file, text: sentence });\n };\n const visit = (node: ts.Node) => {\n if (ts.isCallExpression(node)) {\n const callee = node.expression;\n const method = ts.isPropertyAccessExpression(callee) ? callee.name.text : null;\n const name = ts.isIdentifier(callee) ? callee.text : null;\n if (method && SCHEMA_RULES.has(method) && !(ts.isPropertyAccessExpression(callee) && callee.expression.getText(source) === \"Math\")) {\n node.arguments.forEach(report);\n }\n if (name && (/^set\\w*Error(Msg)?$/.test(name) || /^\\w+Field$/.test(name))) node.arguments.forEach(report);\n }\n if (ts.isVariableDeclaration(node) && /_MESSAG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|
|
|
4
4
|
}
|
|
5
5
|
declare function scanSentences(files: Record<string, string>): Scan;
|
|
6
6
|
declare function readSources(dir: string, skip?: ReadonlySet<string>): Record<string, string>;
|
|
7
|
+
interface UnmarkedMessage {
|
|
8
|
+
file: string;
|
|
9
|
+
text: string;
|
|
10
|
+
}
|
|
11
|
+
declare function scanUnmarkedMessages(files: Record<string, string>): UnmarkedMessage[];
|
|
7
12
|
|
|
8
|
-
export { type Scan, readSources, scanSentences };
|
|
13
|
+
export { type Scan, type UnmarkedMessage, readSources, scanSentences, scanUnmarkedMessages };
|
|
@@ -4,5 +4,10 @@ interface Scan {
|
|
|
4
4
|
}
|
|
5
5
|
declare function scanSentences(files: Record<string, string>): Scan;
|
|
6
6
|
declare function readSources(dir: string, skip?: ReadonlySet<string>): Record<string, string>;
|
|
7
|
+
interface UnmarkedMessage {
|
|
8
|
+
file: string;
|
|
9
|
+
text: string;
|
|
10
|
+
}
|
|
11
|
+
declare function scanUnmarkedMessages(files: Record<string, string>): UnmarkedMessage[];
|
|
7
12
|
|
|
8
|
-
export { type Scan, readSources, scanSentences };
|
|
13
|
+
export { type Scan, type UnmarkedMessage, readSources, scanSentences, scanUnmarkedMessages };
|
package/dist/i18n/tools/scan.js
CHANGED
|
@@ -38,8 +38,52 @@ function readSources(dir, skip = /* @__PURE__ */ new Set(["catalog"])) {
|
|
|
38
38
|
}
|
|
39
39
|
return files;
|
|
40
40
|
}
|
|
41
|
+
const SCHEMA_RULES = /* @__PURE__ */ new Set(["min", "max", "regex", "refine", "superRefine", "email", "url", "length", "addIssue"]);
|
|
42
|
+
function scanUnmarkedMessages(files) {
|
|
43
|
+
const found = [];
|
|
44
|
+
for (const [file, text] of Object.entries(files)) {
|
|
45
|
+
const kind = file.endsWith("x") ? ts.ScriptKind.TSX : ts.ScriptKind.TS;
|
|
46
|
+
const source = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true, kind);
|
|
47
|
+
const report = (node) => {
|
|
48
|
+
if (!node) return;
|
|
49
|
+
if (ts.isConditionalExpression(node)) {
|
|
50
|
+
report(node.whenTrue);
|
|
51
|
+
report(node.whenFalse);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (ts.isParenthesizedExpression(node)) {
|
|
55
|
+
report(node.expression);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
if (ts.isObjectLiteralExpression(node)) {
|
|
59
|
+
for (const property of node.properties) {
|
|
60
|
+
if (ts.isPropertyAssignment(property) && property.name.getText(source) === "message") report(property.initializer);
|
|
61
|
+
}
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const sentence = literalText(node) ?? (ts.isTemplateExpression(node) ? node.getText(source).slice(1, -1) : null);
|
|
65
|
+
if (sentence !== null && /^[A-Z].*\s/.test(sentence)) found.push({ file, text: sentence });
|
|
66
|
+
};
|
|
67
|
+
const visit = (node) => {
|
|
68
|
+
if (ts.isCallExpression(node)) {
|
|
69
|
+
const callee = node.expression;
|
|
70
|
+
const method = ts.isPropertyAccessExpression(callee) ? callee.name.text : null;
|
|
71
|
+
const name = ts.isIdentifier(callee) ? callee.text : null;
|
|
72
|
+
if (method && SCHEMA_RULES.has(method) && !(ts.isPropertyAccessExpression(callee) && callee.expression.getText(source) === "Math")) {
|
|
73
|
+
node.arguments.forEach(report);
|
|
74
|
+
}
|
|
75
|
+
if (name && (/^set\w*Error(Msg)?$/.test(name) || /^\w+Field$/.test(name))) node.arguments.forEach(report);
|
|
76
|
+
}
|
|
77
|
+
if (ts.isVariableDeclaration(node) && /_MESSAGE$/.test(node.name.getText(source))) report(node.initializer);
|
|
78
|
+
ts.forEachChild(node, visit);
|
|
79
|
+
};
|
|
80
|
+
visit(source);
|
|
81
|
+
}
|
|
82
|
+
return found;
|
|
83
|
+
}
|
|
41
84
|
export {
|
|
42
85
|
readSources,
|
|
43
|
-
scanSentences
|
|
86
|
+
scanSentences,
|
|
87
|
+
scanUnmarkedMessages
|
|
44
88
|
};
|
|
45
89
|
//# sourceMappingURL=scan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/i18n/tools/scan.ts"],"sourcesContent":["import ts from \"typescript\";\nimport { readdirSync, readFileSync, statSync } from \"node:fs\";\nimport { join } from \"node:path\";\n\nexport interface Scan {\n sentences: Set<string>;\n plurals: Set<string>;\n}\n\nconst literalText = (node: ts.Node | undefined): string | null =>\n node && (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) ? node.text : null;\n\nexport function scanSentences(files: Record<string, string>): Scan {\n const sentences = new Set<string>();\n const plurals = new Set<string>();\n for (const [name, text] of Object.entries(files)) {\n const kind = name.endsWith(\"x\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS;\n const source = ts.createSourceFile(name, text, ts.ScriptTarget.Latest, true, kind);\n const visit = (node: ts.Node) => {\n if (ts.isCallExpression(node)) {\n const callee = node.expression;\n if (ts.isIdentifier(callee) && (callee.text === \"t\" || callee.text === \"msg\")) {\n const sentence = literalText(node.arguments[0]);\n if (sentence !== null) sentences.add(sentence);\n } else if (ts.isPropertyAccessExpression(callee) && ts.isIdentifier(callee.expression) && callee.expression.text === \"t\") {\n const first = literalText(node.arguments[0]);\n if (first !== null && callee.name.text === \"plural\") plurals.add(first);\n if (first !== null && callee.name.text === \"rich\") sentences.add(first);\n }\n }\n ts.forEachChild(node, visit);\n };\n visit(source);\n }\n return { sentences, plurals };\n}\n\nexport function readSources(dir: string, skip: ReadonlySet<string> = new Set([\"catalog\"])): Record<string, string> {\n const files: Record<string, string> = {};\n for (const name of readdirSync(dir)) {\n const path = join(dir, name);\n if (statSync(path).isDirectory()) {\n if (!skip.has(name) && name !== \"node_modules\") Object.assign(files, readSources(path, skip));\n } else if (/\\.tsx?$/.test(name) && !/\\.test\\.tsx?$/.test(name)) {\n files[path] = readFileSync(path, \"utf8\");\n }\n }\n return files;\n}\n"],"mappings":"AAAA,OAAO,QAAQ;AACf,SAAS,aAAa,cAAc,gBAAgB;AACpD,SAAS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AM,OAAO,KAAK,KAAK,IAAI;AAC3B,QAAI,SAAS,IAAI,EAAE,YAAY,GAAG;AAChC,UAAI,CAAC,KAAK,IAAI,IAAI,KAAK,SAAS,eAAgB,QAAO,OAAO,OAAO,YAAY,MAAM,IAAI,CAAC;AAAA,IAC9F,WAAW,UAAU,KAAK,IAAI,KAAK,CAAC,gBAAgB,KAAK,IAAI,GAAG;AAC9D,YAAM,IAAI,IAAI,aAAa,MAAM,MAAM;AAAA,IACzC;AAAA,EACF;AACA,SAAO;AACT;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/i18n/tools/scan.ts"],"sourcesContent":["import ts from \"typescript\";\nimport { readdirSync, readFileSync, statSync } from \"node:fs\";\nimport { join } from \"node:path\";\n\nexport interface Scan {\n sentences: Set<string>;\n plurals: Set<string>;\n}\n\nconst literalText = (node: ts.Node | undefined): string | null =>\n node && (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) ? node.text : null;\n\nexport function scanSentences(files: Record<string, string>): Scan {\n const sentences = new Set<string>();\n const plurals = new Set<string>();\n for (const [name, text] of Object.entries(files)) {\n const kind = name.endsWith(\"x\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS;\n const source = ts.createSourceFile(name, text, ts.ScriptTarget.Latest, true, kind);\n const visit = (node: ts.Node) => {\n if (ts.isCallExpression(node)) {\n const callee = node.expression;\n if (ts.isIdentifier(callee) && (callee.text === \"t\" || callee.text === \"msg\")) {\n const sentence = literalText(node.arguments[0]);\n if (sentence !== null) sentences.add(sentence);\n } else if (ts.isPropertyAccessExpression(callee) && ts.isIdentifier(callee.expression) && callee.expression.text === \"t\") {\n const first = literalText(node.arguments[0]);\n if (first !== null && callee.name.text === \"plural\") plurals.add(first);\n if (first !== null && callee.name.text === \"rich\") sentences.add(first);\n }\n }\n ts.forEachChild(node, visit);\n };\n visit(source);\n }\n return { sentences, plurals };\n}\n\nexport function readSources(dir: string, skip: ReadonlySet<string> = new Set([\"catalog\"])): Record<string, string> {\n const files: Record<string, string> = {};\n for (const name of readdirSync(dir)) {\n const path = join(dir, name);\n if (statSync(path).isDirectory()) {\n if (!skip.has(name) && name !== \"node_modules\") Object.assign(files, readSources(path, skip));\n } else if (/\\.tsx?$/.test(name) && !/\\.test\\.tsx?$/.test(name)) {\n files[path] = readFileSync(path, \"utf8\");\n }\n }\n return files;\n}\n\nexport interface UnmarkedMessage {\n file: string;\n text: string;\n}\n\nconst SCHEMA_RULES = new Set([\"min\", \"max\", \"regex\", \"refine\", \"superRefine\", \"email\", \"url\", \"length\", \"addIssue\"]);\n\nexport function scanUnmarkedMessages(files: Record<string, string>): UnmarkedMessage[] {\n const found: UnmarkedMessage[] = [];\n for (const [file, text] of Object.entries(files)) {\n const kind = file.endsWith(\"x\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS;\n const source = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true, kind);\n const report = (node: ts.Node | undefined): void => {\n if (!node) return;\n if (ts.isConditionalExpression(node)) {\n report(node.whenTrue);\n report(node.whenFalse);\n return;\n }\n if (ts.isParenthesizedExpression(node)) {\n report(node.expression);\n return;\n }\n if (ts.isObjectLiteralExpression(node)) {\n for (const property of node.properties) {\n if (ts.isPropertyAssignment(property) && property.name.getText(source) === \"message\") report(property.initializer);\n }\n return;\n }\n const sentence = literalText(node) ?? (ts.isTemplateExpression(node) ? node.getText(source).slice(1, -1) : null);\n if (sentence !== null && /^[A-Z].*\\s/.test(sentence)) found.push({ file, text: sentence });\n };\n const visit = (node: ts.Node) => {\n if (ts.isCallExpression(node)) {\n const callee = node.expression;\n const method = ts.isPropertyAccessExpression(callee) ? callee.name.text : null;\n const name = ts.isIdentifier(callee) ? callee.text : null;\n if (method && SCHEMA_RULES.has(method) && !(ts.isPropertyAccessExpression(callee) && callee.expression.getText(source) === \"Math\")) {\n node.arguments.forEach(report);\n }\n if (name && (/^set\\w*Error(Msg)?$/.test(name) || /^\\w+Field$/.test(name))) node.arguments.forEach(report);\n }\n if (ts.isVariableDeclaration(node) && /_MESSAGE$/.test(node.name.getText(source))) report(node.initializer);\n ts.forEachChild(node, visit);\n };\n visit(source);\n }\n return found;\n}\n"],"mappings":"AAAA,OAAO,QAAQ;AACf,SAAS,aAAa,cAAc,gBAAgB;AACpD,SAAS,YAAY;AAOrB,MAAM,cAAc,CAAC,SACnB,SAAS,GAAG,gBAAgB,IAAI,KAAK,GAAG,gCAAgC,IAAI,KAAK,KAAK,OAAO;AAExF,SAAS,cAAc,OAAqC;AACjE,QAAM,YAAY,oBAAI,IAAY;AAClC,QAAM,UAAU,oBAAI,IAAY;AAChC,aAAW,CAAC,MAAM,IAAI,KAAK,OAAO,QAAQ,KAAK,GAAG;AAChD,UAAM,OAAO,KAAK,SAAS,GAAG,IAAI,GAAG,WAAW,MAAM,GAAG,WAAW;AACpE,UAAM,SAAS,GAAG,iBAAiB,MAAM,MAAM,GAAG,aAAa,QAAQ,MAAM,IAAI;AACjF,UAAM,QAAQ,CAAC,SAAkB;AAC/B,UAAI,GAAG,iBAAiB,IAAI,GAAG;AAC7B,cAAM,SAAS,KAAK;AACpB,YAAI,GAAG,aAAa,MAAM,MAAM,OAAO,SAAS,OAAO,OAAO,SAAS,QAAQ;AAC7E,gBAAM,WAAW,YAAY,KAAK,UAAU,CAAC,CAAC;AAC9C,cAAI,aAAa,KAAM,WAAU,IAAI,QAAQ;AAAA,QAC/C,WAAW,GAAG,2BAA2B,MAAM,KAAK,GAAG,aAAa,OAAO,UAAU,KAAK,OAAO,WAAW,SAAS,KAAK;AACxH,gBAAM,QAAQ,YAAY,KAAK,UAAU,CAAC,CAAC;AAC3C,cAAI,UAAU,QAAQ,OAAO,KAAK,SAAS,SAAU,SAAQ,IAAI,KAAK;AACtE,cAAI,UAAU,QAAQ,OAAO,KAAK,SAAS,OAAQ,WAAU,IAAI,KAAK;AAAA,QACxE;AAAA,MACF;AACA,SAAG,aAAa,MAAM,KAAK;AAAA,IAC7B;AACA,UAAM,MAAM;AAAA,EACd;AACA,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AAM,UAAW,QAAO,SAAS,WAAW;AAAA,QACnH;AACA;AAAA,MACF;AACA,YAAM,WAAW,YAAY,IAAI,MAAM,GAAG,qBAAqB,IAAI,IAAI,KAAK,QAAQ,MAAM,EAAE,MAAM,GAAG,EAAE,IAAI;AAC3G,UAAI,aAAa,QAAQ,aAAa,KAAK,QAAQ,EAAG,OAAM,KAAK,EAAE,MAAM,MAAM,SAAS,CAAC;AAAA,IAC3F;AACA,UAAM,QAAQ,CAAC,SAAkB;AAC/B,UAAI,GAAG,iBAAiB,IAAI,GAAG;AAC7B,cAAM,SAAS,KAAK;AACpB,cAAM,SAAS,GAAG,2BAA2B,MAAM,IAAI,OAAO,KAAK,OAAO;AAC1E,cAAM,OAAO,GAAG,aAAa,MAAM,IAAI,OAAO,OAAO;AACrD,YAAI,UAAU,aAAa,IAAI,MAAM,KAAK,EAAE,GAAG,2BAA2B,MAAM,KAAK,OAAO,WAAW,QAAQ,MAAM,MAAM,SAAS;AAClI,eAAK,UAAU,QAAQ,MAAM;AAAA,QAC/B;AACA,YAAI,SAAS,sBAAsB,KAAK,IAAI,KAAK,aAAa,KAAK,IAAI,GAAI,MAAK,UAAU,QAAQ,MAAM;AAAA,MAC1G;AACA,UAAI,GAAG,sBAAsB,IAAI,KAAK,YAAY,KAAK,KAAK,KAAK,QAAQ,MAAM,CAAC,EAAG,QAAO,KAAK,WAAW;AAC1G,SAAG,aAAa,MAAM,KAAK;AAAA,IAC7B;AACA,UAAM,MAAM;AAAA,EACd;AACA,SAAO;AACT;","names":[]}
|
package/dist/index.cjs
CHANGED
|
@@ -78,6 +78,7 @@ __export(index_exports, {
|
|
|
78
78
|
COLLECTION_NAME_CLAIM: () => import_launchpad_services3.COLLECTION_NAME_CLAIM,
|
|
79
79
|
COLLECTION_TYPES: () => import_new_collection_menu.COLLECTION_TYPES,
|
|
80
80
|
CONNECTION_FAILED: () => import_describe_error.CONNECTION_FAILED,
|
|
81
|
+
CREATE_ASIDE_KINDS: () => import_create_aside.CREATE_ASIDE_KINDS,
|
|
81
82
|
CancelOrderConfirm: () => import_cancel_order_confirm.CancelOrderConfirm,
|
|
82
83
|
Card: () => import_card.Card,
|
|
83
84
|
CardContent: () => import_card.CardContent,
|
|
@@ -119,6 +120,7 @@ __export(index_exports, {
|
|
|
119
120
|
CollectionsLoading: () => import_page_skeletons.CollectionsLoading,
|
|
120
121
|
CollectionsPage: () => import_collections_page.CollectionsPage,
|
|
121
122
|
CommentsSection: () => import_comments_section.CommentsSection,
|
|
123
|
+
CreateAside: () => import_create_aside.CreateAside,
|
|
122
124
|
CreateSponsorshipAside: () => import_create_sponsorship_aside.CreateSponsorshipAside,
|
|
123
125
|
CreationRecord: () => import_creation_record.CreationRecord,
|
|
124
126
|
CreatorChip: () => import_creator_chip.CreatorChip,
|
|
@@ -226,6 +228,7 @@ __export(index_exports, {
|
|
|
226
228
|
IP_TYPE_DATA_MAP: () => import_ip_types.IP_TYPE_DATA_MAP,
|
|
227
229
|
IP_TYPE_MAP: () => import_ip_type_badge.IP_TYPE_MAP,
|
|
228
230
|
IconTile: () => import_icon_tile.IconTile,
|
|
231
|
+
ImageUploadField: () => import_image_upload_field.ImageUploadField,
|
|
229
232
|
Input: () => import_input.Input,
|
|
230
233
|
InputOTP: () => import_input_otp.InputOTP,
|
|
231
234
|
InputOTPGroup: () => import_input_otp.InputOTPGroup,
|
|
@@ -551,13 +554,14 @@ __export(index_exports, {
|
|
|
551
554
|
useDropMints: () => import_use_drops.useDropMints,
|
|
552
555
|
useDrops: () => import_use_drops.useDrops,
|
|
553
556
|
useEmailCode: () => import_use_email_code.useEmailCode,
|
|
557
|
+
useFileUpload: () => import_use_file_upload.useFileUpload,
|
|
554
558
|
useFormField: () => import_form.useFormField,
|
|
555
559
|
useFullTokenData: () => import_use_full_token_data.useFullTokenData,
|
|
560
|
+
useImageUpload: () => import_use_image_upload.useImageUpload,
|
|
556
561
|
useImageUrl: () => import_use_image_url.useImageUrl,
|
|
557
562
|
useIntersectionActive: () => import_use_intersection_active.useIntersectionActive,
|
|
558
563
|
useIsMemberOf: () => import_use_tiers.useIsMemberOf,
|
|
559
564
|
useLaunchpadFilter: () => import_launchpad_services.useLaunchpadFilter,
|
|
560
|
-
useLaunchpadImageUpload: () => import_use_launchpad_image_upload.useLaunchpadImageUpload,
|
|
561
565
|
useLeaderboard: () => import_use_rewards.useLeaderboard,
|
|
562
566
|
useMarketplaceFilters: () => import_marketplace_filters.useMarketplaceFilters,
|
|
563
567
|
useMediaWallet: () => import_media_wallet_overlay.useMediaWallet,
|
|
@@ -757,6 +761,7 @@ var import_journey_content = require("./components/journey-content.js");
|
|
|
757
761
|
var import_settings_snapshots = require("./components/settings-snapshots.js");
|
|
758
762
|
var import_route_error = require("./components/route-error.js");
|
|
759
763
|
var import_create_sponsorship_aside = require("./components/create-sponsorship-aside.js");
|
|
764
|
+
var import_create_aside = require("./components/create-aside.js");
|
|
760
765
|
var import_page_skeletons = require("./components/page-skeletons.js");
|
|
761
766
|
var import_rewards_dashboard = require("./components/rewards/rewards-dashboard.js");
|
|
762
767
|
var import_leaderboard_panel = require("./components/rewards/leaderboard-panel.js");
|
|
@@ -830,7 +835,9 @@ var import_transfer_collection_ownership = require("./components/transfer-collec
|
|
|
830
835
|
var import_coin_create = require("./components/launchpad/coin-create.js");
|
|
831
836
|
var import_wallet_required = require("./components/wallet-required.js");
|
|
832
837
|
var import_claim_route_shell = require("./components/claim-route-shell.js");
|
|
833
|
-
var
|
|
838
|
+
var import_use_image_upload = require("./utils/use-image-upload.js");
|
|
839
|
+
var import_use_file_upload = require("./utils/use-file-upload.js");
|
|
840
|
+
var import_image_upload_field = require("./components/image-upload-field.js");
|
|
834
841
|
var import_portfolio_cache = require("./utils/portfolio-cache.js");
|
|
835
842
|
var import_transaction_dialog = require("./components/transaction-dialog.js");
|
|
836
843
|
var import_transaction_success = require("./components/transaction-success.js");
|
|
@@ -983,6 +990,7 @@ var import_asset_accents = require("./utils/asset-accents.js");
|
|
|
983
990
|
COLLECTION_NAME_CLAIM,
|
|
984
991
|
COLLECTION_TYPES,
|
|
985
992
|
CONNECTION_FAILED,
|
|
993
|
+
CREATE_ASIDE_KINDS,
|
|
986
994
|
CancelOrderConfirm,
|
|
987
995
|
Card,
|
|
988
996
|
CardContent,
|
|
@@ -1024,6 +1032,7 @@ var import_asset_accents = require("./utils/asset-accents.js");
|
|
|
1024
1032
|
CollectionsLoading,
|
|
1025
1033
|
CollectionsPage,
|
|
1026
1034
|
CommentsSection,
|
|
1035
|
+
CreateAside,
|
|
1027
1036
|
CreateSponsorshipAside,
|
|
1028
1037
|
CreationRecord,
|
|
1029
1038
|
CreatorChip,
|
|
@@ -1131,6 +1140,7 @@ var import_asset_accents = require("./utils/asset-accents.js");
|
|
|
1131
1140
|
IP_TYPE_DATA_MAP,
|
|
1132
1141
|
IP_TYPE_MAP,
|
|
1133
1142
|
IconTile,
|
|
1143
|
+
ImageUploadField,
|
|
1134
1144
|
Input,
|
|
1135
1145
|
InputOTP,
|
|
1136
1146
|
InputOTPGroup,
|
|
@@ -1456,13 +1466,14 @@ var import_asset_accents = require("./utils/asset-accents.js");
|
|
|
1456
1466
|
useDropMints,
|
|
1457
1467
|
useDrops,
|
|
1458
1468
|
useEmailCode,
|
|
1469
|
+
useFileUpload,
|
|
1459
1470
|
useFormField,
|
|
1460
1471
|
useFullTokenData,
|
|
1472
|
+
useImageUpload,
|
|
1461
1473
|
useImageUrl,
|
|
1462
1474
|
useIntersectionActive,
|
|
1463
1475
|
useIsMemberOf,
|
|
1464
1476
|
useLaunchpadFilter,
|
|
1465
|
-
useLaunchpadImageUpload,
|
|
1466
1477
|
useLeaderboard,
|
|
1467
1478
|
useMarketplaceFilters,
|
|
1468
1479
|
useMediaWallet,
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { cn } from \"./utils/cn.js\";\nexport { formatDisplayPrice, parsePriceDisplay, isStableCurrency, formatUsd, formatUsdPrice, formatSmallDecimal } from \"./utils/format.js\";\nexport { shortenAddress } from \"./utils/address.js\";\nexport { profileIdentity, type ProfileIdentity, type ProfileIdentitySource } from \"./utils/profile-identity.js\";\nexport { ipfsToHttp, DEFAULT_GATEWAY as PINATA_PUBLIC_GATEWAY } from \"./utils/ipfs.js\";\nexport { gatewayChain, gatewayFallbackSrc, installIpfsGatewayFallback, PUBLIC_IMAGE_GATEWAYS } from \"./utils/ipfs-gateway-fallback.js\";\nexport { IpfsGatewayFallback } from \"./components/ipfs-gateway-fallback.js\";\nexport {\n uploadFileToIpfs,\n FILE_UPLOAD_FAILED,\n uploadJsonToIpfs,\n uploadDirectoryToIpfs,\n pinAssetMetadata,\n uploadFailureToast,\n isUserRejection,\n setUploadDiagnosticsReporter,\n type SignedUploadKind,\n type UploadedIpfsFile,\n type UploadDiagnostics,\n type PinAssetMetadataInput,\n type PinnedAsset,\n} from \"./utils/ipfs-upload.js\";\nexport { useIntersectionActive } from \"./utils/use-intersection-active.js\";\nexport { licenseSummary } from \"./utils/license-summary.js\";\nexport {\n isBareExecuteFailure,\n isUserRejectedRequest,\n isWrongNetwork,\n assertCorrectNetwork,\n WrongNetworkError,\n} from \"./utils/wallet-error.js\";\nexport {\n describeError,\n UserFacingError,\n NOT_SUBMITTED,\n NETWORK_BUSY,\n CONNECTION_FAILED,\n} from \"./utils/describe-error.js\";\nexport type { ErrorNotice } from \"./utils/describe-error.js\";\n\nexport { IP_TYPE_DATA, IP_TYPE_DATA_MAP } from \"./data/ip-types.js\";\nexport type { IpTypeData } from \"./data/ip-types.js\";\nexport {\n IP_TYPES, LICENSE_TYPES, GEOGRAPHIC_SCOPES, AI_POLICIES,\n DERIVATIVES_OPTIONS, LICENSE_TRAIT_TYPES,\n} from \"./data/ip.js\";\nexport type { IPType, LicenseType } from \"./data/ip.js\";\nexport {\n IP_TEMPLATES, EMBED_PLATFORM_META, SOCIAL_PLATFORM_META, TEMPLATE_TRAIT_TYPES, DOC_UPLOAD,\n} from \"./data/ip-templates.js\";\nexport type { EmbedPlatform, SocialPlatform, TraitSuggestion, IPTemplate, DocUploadConfig } from \"./data/ip-templates.js\";\nexport { IPTypeDisplay } from \"./components/ip-type-display.js\";\nexport { AssetOverviewContent } from \"./components/asset-overview-content.js\";\nexport { AssetLicenseSummary } from \"./components/asset-license-summary.js\";\nexport { AssetMarketsTab } from \"./components/asset-markets-tab.js\";\nexport { ParentAttributionBanner } from \"./components/parent-attribution-banner.js\";\nexport type { ParentBannerProps } from \"./components/parent-attribution-banner.js\";\nexport { AssetMediaColumn, AssetHeaderBlock, AssetOwnerRow } from \"./components/asset-top-sections.js\";\nexport { ExpandableText } from \"./components/expandable-text.js\";\nexport { CollectionHeader, type CollectionHeaderProps } from \"./components/collection-header.js\";\nexport { CreatorHeader, type CreatorHeaderProps, type CreatorHeaderStat } from \"./components/creator-header.js\";\nexport { AssetPage, AssetPageSkeleton, detectAssetKind, type AssetPageProps, type AssetKind, type AssetMarketContext, type AssetMarketActions } from \"./components/asset-page.js\";\nexport { AssetCommentsDialog, type AssetCommentsDialogProps } from \"./components/asset-comments-dialog.js\";\nexport { CollectionPage, canTransferCollectionOwnership, type CollectionPageProps, type CollectionPageSlots, type CollectionMarketActions } from \"./components/collection-page.js\";\nexport { CollectionFiltersDialog, type CollectionFiltersDialogProps } from \"./components/collection-filters-dialog.js\";\nexport { GatedContentHero, GatedContentPanel, type GatedContent, type GatedContentState } from \"./components/gated-content.js\";\nexport { MakeOfferPicker } from \"./components/make-offer-picker.js\";\nexport { ListingCardMenu } from \"./components/listing-card-menu.js\";\nexport { FloatingCommentsButton } from \"./components/floating-comments-button.js\";\nexport { PageBackdrop } from \"./components/media-header.js\";\nexport { useComments, type UseCommentsResult } from \"./utils/use-comments.js\";\nexport { useFullTokenData } from \"./utils/use-full-token-data.js\";\nexport { useAssetMarketState, type AssetMarketState } from \"./utils/asset-market-state.js\";\nexport { assetAttributes, type AssetAttribute } from \"./utils/asset-attributes.js\";\nexport type { AssetOwnerRowProps } from \"./components/asset-top-sections.js\";\nexport { AssetCollectionBar } from \"./components/asset-collection-bar.js\";\nexport type { AssetCollectionBarProps, AssetCollectionBarSibling } from \"./components/asset-collection-bar.js\";\nexport { AssetUtilityIcons } from \"./components/asset-utility-icons.js\";\nexport type { AssetUtilityIconsProps } from \"./components/asset-utility-icons.js\";\nexport { AssetMarketplacePanel } from \"./components/asset-marketplace-panel.js\";\nexport type { AssetMarketplacePanelProps, ApiOrderLike } from \"./components/asset-marketplace-panel.js\";\nexport { fireConfetti } from \"./utils/media-wallet/confetti.js\";\nexport { useConfetti } from \"./utils/use-confetti.js\";\nexport { useOnOpen } from \"./utils/use-on-open.js\";\nexport { useCoinGuarantees } from \"./utils/use-coin-guarantees.js\";\nexport { useCoinSupply } from \"./utils/use-coin-supply.js\";\nexport { BRAND, BRAND_COLOR } from \"./data/brand.js\";\nexport { LIVING_RENDER_COLLECTIONS, isLivingRenderCollection } from \"./data/living-render-collections.js\";\n\nexport { CurrencyIcon, CurrencyAmount } from \"./components/currency-icon.js\";\nexport type { CurrencyIconProps, CurrencyAmountProps } from \"./components/currency-icon.js\";\n\nexport { IpTypeBadge, IP_TYPE_CONFIG, IP_TYPE_MAP } from \"./components/ip-type-badge.js\";\nexport type { IpTypeBadgeProps, IpTypeConfig } from \"./components/ip-type-badge.js\";\n\nexport { AddressDisplay } from \"./components/address-display.js\";\nexport type { AddressDisplayProps } from \"./components/address-display.js\";\n\nexport { MedialaneLogoFull } from \"./components/brand-logo.js\";\nexport type { MedialaneLogoFullProps } from \"./components/brand-logo.js\";\n\nexport { MotionCard, FadeIn, Stagger, StaggerItem, KineticWords, SPRING, EASE_OUT } from \"./components/motion-primitives.js\";\nexport { PageContainer } from \"./components/page-container.js\";\nexport type { PageContainerProps } from \"./components/page-container.js\";\nexport { PageHeader, PageHeaderSkeleton } from \"./components/page-header.js\";\nexport type { PageHeaderProps } from \"./components/page-header.js\";\nexport { PageState, PageStateSkeleton } from \"./components/page-state.js\";\nexport type { PageStateProps } from \"./components/page-state.js\";\nexport { SectionHeading } from \"./components/section-heading.js\";\nexport type { SectionHeadingProps } from \"./components/section-heading.js\";\nexport { ScrollSection } from \"./components/scroll-section.js\";\nexport type { ScrollSectionProps } from \"./components/scroll-section.js\";\nexport { ShareButton } from \"./components/share-button.js\";\nexport type { ShareButtonProps } from \"./components/share-button.js\";\nexport { CollectionCard, CollectionCardSkeleton } from \"./components/collection-card.js\";\nexport type { CollectionCardProps } from \"./components/collection-card.js\";\nexport { TokenCard, TokenCardSkeleton } from \"./components/token-card.js\";\nexport type { TokenCardProps } from \"./components/token-card.js\";\nexport { AnimatedTokenMedia } from \"./components/animated-token-media.js\";\nexport type { AnimatedTokenMediaProps } from \"./components/animated-token-media.js\";\nexport { ThemeAmbientBackground } from \"./components/theme-ambient-background.js\";\nexport {\n useCollectionFilters, SORT_OPTIONS, CollectionFiltersTrigger, CollectionFiltersBody,\n} from \"./components/collection-filters.js\";\nexport type { TraitSection, CollectionFiltersTriggerProps, CollectionFiltersBodyProps } from \"./components/collection-filters.js\";\nexport {\n DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem,\n DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel,\n DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup,\n DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent,\n DropdownMenuSubTrigger, DropdownMenuRadioGroup,\n} from \"./components/dropdown-menu.js\";\nexport { AssetCard, AssetCardSkeleton } from \"./components/asset-card.js\";\nexport type { AssetCardProps, AssetCardPrice } from \"./components/asset-card.js\";\nexport { AssetPicker } from \"./components/asset-picker.js\";\nexport type { AssetPickerProps, OwnedAsset } from \"./components/asset-picker.js\";\nexport { AssetSearchPicker } from \"./components/asset-search-picker.js\";\nexport type { AssetSearchPickerProps } from \"./components/asset-search-picker.js\";\nexport { LicenseTermsBuilder, EMPTY_SPONSORSHIP_TERMS, MEDIA_TYPES, DURATION_UNITS, toLicenseMetadata, toDurationDays } from \"./components/license-terms-builder.js\";\nexport type { LicenseTermsBuilderProps, SponsorshipTerms, DurationUnit } from \"./components/license-terms-builder.js\";\n\nexport {\n coinKind, coinKindLabel, coinKindLabelPlural, COIN_KINDS, coinAccentToken, coinServiceIds, isCoinService, formatCoinPrice, coinSupply, formatFdvUsd, fdvUsd,\n type CoinKind, type CoinCollectionLike, type CoinPriceLike,\n} from \"./data/coins.js\";\nexport { CoinGuarantees, type CoinGuaranteesProps, type CoinGuaranteesData } from \"./components/coin-guarantees.js\";\nexport { CoinRow, CoinRowSkeleton, CoinAvatar, COIN_GRID, type UseCoinPrice, type CoinRowProps, type CoinMarketStatus } from \"./components/coin-row.js\";\nexport { orderCoins, type CoinPriceSort } from \"./data/coin-order.js\";\nexport {\n CoinsExplorer, CoinsPage,\n type CoinsExplorerProps, type CoinFilter, type CoinSort, type UseCoins, type UsePriceMap, type CoinCounts,\n} from \"./components/coins-explorer.js\";\n\nexport { timeAgo, timeUntil, isExpired } from \"./utils/time.js\";\nexport { toDisplayUrl, toDisplayUrlOrNull, toAbsoluteImageUrl, createImageResolver, type DisplayUrlOptions, type ImageResolver } from \"./utils/ipfs.js\";\nexport { useImageUrl } from \"./utils/use-image-url.js\";\nexport { isSameAddress } from \"./utils/same-address.js\";\nexport { createAppWallet } from \"./utils/app-wallet.js\";\nexport type { AppWalletConfig } from \"./utils/app-wallet.js\";\nexport { detectPasskeySupport } from \"./utils/passkey-support.js\";\nexport type { PasskeySupport } from \"./utils/passkey-support.js\";\nexport { describeWalletFailure, isPasskeyCancelled, passkeyUnsupportedReason } from \"./utils/wallet-failure.js\";\nexport type { PasskeyUnsupportedReason, WalletFailureKind, WalletFailureNotice } from \"./utils/wallet-failure.js\";\nexport {\n RESEND_COOLDOWN_SECONDS,\n canResendCode,\n canVerifyCode,\n emailCodeReducer,\n initialEmailCodeState,\n} from \"./utils/email-code.js\";\nexport type { EmailCodeAction, EmailCodeState, EmailCodeStatus } from \"./utils/email-code.js\";\nexport { useEmailCode } from \"./utils/use-email-code.js\";\nexport type { EmailCode, EmailCodeApi } from \"./utils/use-email-code.js\";\nexport { AccountSection } from \"./components/account/account-section.js\";\nexport type { AccountSectionProps } from \"./components/account/account-section.js\";\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from \"./components/account/input-otp.js\";\nexport { EmailCodeEntry } from \"./components/account/email-code-entry.js\";\nexport type { EmailCodeEntryProps } from \"./components/account/email-code-entry.js\";\nexport { DevicesSection } from \"./components/account/devices-section.js\";\nexport type { DevicesSectionProps } from \"./components/account/devices-section.js\";\nexport { DeviceApprovalDialog } from \"./components/account/device-approval-dialog.js\";\nexport type { DeviceApprovalDialogProps } from \"./components/account/device-approval-dialog.js\";\nexport { GuardianRecoverySection } from \"./components/account/guardian-recovery-section.js\";\nexport type { GuardianRecoverySectionProps } from \"./components/account/guardian-recovery-section.js\";\nexport { AddGuardianDialog } from \"./components/account/add-guardian-dialog.js\";\nexport type { AddGuardianDialogProps } from \"./components/account/add-guardian-dialog.js\";\nexport type { DeviceWallet, GuardianWallet, LoadSealedOwner } from \"./components/account/wallet-types.js\";\nexport { ACTIVITY_TYPE_CONFIG, TYPE_FILTERS } from \"./data/activity.js\";\nexport type { ActivityTypeConfig } from \"./data/activity.js\";\nexport { CollectionShowcase } from \"./components/collection-showcase.js\";\nexport type { CollectionShowcaseProps } from \"./components/collection-showcase.js\";\nexport { ActivityTicker } from \"./components/activity-ticker.js\";\nexport type { ActivityTickerProps } from \"./components/activity-ticker.js\";\nexport { ListingCard, ListingCardSkeleton } from \"./components/listing-card.js\";\nexport { ListingsGrid, type ListingsGridProps } from \"./components/listings-grid.js\";\nexport type { ListingCardProps } from \"./components/listing-card.js\";\nexport {\n MarketplaceTxLink,\n MarketplaceProcessingState,\n MarketplaceSignInGate,\n MarketplaceErrorState,\n MarketplaceDialogHero,\n OrderSummaryHero,\n CurrencyPicker,\n DurationPicker,\n ListingAssetSummary,\n MarketplaceConfirmStep,\n} from \"./components/marketplace-dialog-primitives.js\";\nexport { useSession, refreshSession, sessionEmail, fetchSession } from \"./utils/use-session.js\";\nexport { OrderFields } from \"./components/order-fields.js\";\nexport type { OrderFieldsProps } from \"./components/order-fields.js\";\nexport { LISTABLE_CURRENCIES, orderFormSchema, counterOfferFormSchema } from \"./utils/order-form.js\";\nexport type { OrderFormValues } from \"./utils/order-form.js\";\nexport { ActivityRow } from \"./components/activity-row.js\";\nexport { ActivityTimelineRow } from \"./components/activity-timeline-row.js\";\nexport type { ActivityTimelineRowProps } from \"./components/activity-timeline-row.js\";\nexport type { DraftAsset, DropDraft } from \"./utils/drop/draft.js\";\nexport { getDefaultClaimWindow, suggestLaunchpadSymbol } from \"./utils/launchpad-defaults.js\";\nexport { DropStatusBadge, DropSupplyProgress } from \"./components/drop/drop-status.js\";\nexport { DropCard, DropGrid, DropGridSkeleton } from \"./components/drop/drop-card.js\";\nexport { DropListing } from \"./components/drop/drop-listing.js\";\nexport { DropFeatures } from \"./components/drop/drop-features.js\";\nexport { MyDrops } from \"./components/drop/my-drops.js\";\nexport { MyDropsPage } from \"./components/drop/my-drops-page.js\";\nexport { DropDetailPage } from \"./components/drop/drop-detail-page.js\";\nexport { ActivitiesPage } from \"./components/activities-page.js\";\nexport { PopPage } from \"./components/pop-page.js\";\nexport { DropTokenLink } from \"./components/drop/drop-token-link.js\";\nexport type { DropPhase } from \"./utils/drop/view.js\";\nexport { DropCreate } from \"./components/drop/create/drop-create.js\";\nexport { ExclusiveFields } from \"./components/drop/create/exclusive-fields.js\";\nexport { DropPage } from \"./components/drop/page/drop-page.js\";\nexport { DropActionBox } from \"./components/drop/page/drop-action-box.js\";\nexport { DropActivityList } from \"./components/drop/page/drop-activity.js\";\nexport { claimProofFor } from \"./utils/drop/claim-proof.js\";\nexport type { DropSigner } from \"./utils/drop/types.js\";\nexport { MedialaneAppProvider, useMedialaneApp, type MedialaneApp, type CompanionApp, type AssetRef, type ReportTarget } from \"./components/medialane-app.js\";\nexport { ReportDialog } from \"./components/report-dialog.js\";\nexport { runIntentCalls } from \"./utils/run-intent-calls.js\";\nexport { GATED_CONTENT_TYPES, GATED_CONTENT_TYPE_FALLBACK } from \"./data/gated-content-types.js\";\nexport type { ContentTypeConfig } from \"./data/gated-content-types.js\";\nexport { CollapsibleSection } from \"./components/collapsible-section.js\";\nexport { useUsdPrices, usdPriceFor, usdValueFor } from \"./utils/use-usd-prices.js\";\nexport type { UsdPrices } from \"./utils/use-usd-prices.js\";\nexport type { ActivityRowProps } from \"./components/activity-row.js\";\n\nexport { DiscoverHero } from \"./components/discover-hero.js\";\nexport type { DiscoverHeroProps } from \"./components/discover-hero.js\";\nexport { DiscoverCollectionsStrip } from \"./components/discover-collections-strip.js\";\nexport type { DiscoverCollectionsStripProps } from \"./components/discover-collections-strip.js\";\nexport { DiscoverActivityStrip } from \"./components/discover-feed-section.js\";\nexport type { DiscoverActivityStripProps } from \"./components/discover-feed-section.js\";\nexport { ActivityCard, ActivityCardSkeleton, ACTIVITY_MESSAGES } from \"./components/activity-card.js\";\nexport type { ActivityCardProps } from \"./components/activity-card.js\";\n\nexport { LaunchpadGroupedSections, LaunchpadServiceCard, SERVICE_HUES, useLaunchpadFilter } from \"./components/launchpad-services.js\";\nexport { LaunchpadFilterBar } from \"./components/launchpad-filter-bar.js\";\nexport type { LaunchpadFilterBarProps } from \"./components/launchpad-filter-bar.js\";\nexport { LaunchpadStrip } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadStripProps } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadGroupedSectionsProps, LaunchpadServiceCardProps, ServiceOverride, ServiceOverrides } from \"./components/launchpad-services.js\";\nexport { LAUNCHPAD_ROUTE_OVERRIDES } from \"./components/launchpad-services.js\";\nexport { COLLECTION_NAME_CLAIM, LAUNCHPAD_SERVICE_DEFINITIONS, LAUNCHPAD_SERVICE_GROUPS, getLaunchpadService } from \"./data/launchpad-services.js\";\nexport type { ServiceDefinition, ServiceStatus, ServiceGroup, ServiceGroupDefinition } from \"./data/launchpad-services.js\";\n\nexport { NavCommandMenu, useNavCommandMenu, relevanceFilter, matchCommands } from \"./components/nav-command-menu.js\";\nexport { SearchPage } from \"./components/search-page.js\";\nexport { PortfolioOrders, type PortfolioOrdersView, type PortfolioOrderActions, type UsePortfolioOrderActions } from \"./components/portfolio-orders.js\";\nexport { ArchiveAssetDialog, type ArchiveAssetDialogProps } from \"./components/archive-asset-dialog.js\";\nexport { PortfolioAssets, type PortfolioAssetActions, type UsePortfolioAssetActions } from \"./components/portfolio-assets.js\";\nexport { PortfolioShell, PORTFOLIO_TABS, type PortfolioTab } from \"./components/portfolio-shell.js\";\nexport { SoulboundCard, issuedAt } from \"./components/soulbound-card.js\";\nexport type { SoulboundCardProps } from \"./components/soulbound-card.js\";\nexport { RewardsPage } from \"./components/rewards-page.js\";\nexport { JourneyContent } from \"./components/journey-content.js\";\nexport { PortfolioSnapshot, RewardsSnapshot } from \"./components/settings-snapshots.js\";\nexport { RouteError } from \"./components/route-error.js\";\nexport { CreateSponsorshipAside } from \"./components/create-sponsorship-aside.js\";\nexport { AccountLoading, ActivitiesLoading, CollectionLoading, CollectionsLoading, CreatorLoading, IpTypeLoading, MarketplaceLoading, PortfolioLoading } from \"./components/page-skeletons.js\";\nexport { RewardsDashboard, REWARD_ACTION_LABELS } from \"./components/rewards/rewards-dashboard.js\";\nexport { LeaderboardPanel, type LeaderboardPanelProps } from \"./components/rewards/leaderboard-panel.js\";\nexport { CollectionNameClaim } from \"./components/collection-name-claim.js\";\nexport { CollectionSettings } from \"./components/collection-settings.js\";\nexport { MintLanding, type MintLandingCopy } from \"./components/mint-landing.js\";\nexport { ApproveMintDialog, type ApproveMintDialogProps } from \"./components/approve-mint-dialog.js\";\nexport { DiscoverPage, type DiscoverPageProps } from \"./components/discover-page.js\";\nexport { DiscoverCommunitySection } from \"./components/discover-community-section.js\";\nexport { IpTypeNav } from \"./components/ip-type-nav.js\";\nexport { HomePage, FeaturedListings, type HomePageProps } from \"./components/home-page.js\";\nexport { AccountsPage } from \"./components/accounts-page.js\";\nexport { BackButton } from \"./components/back-button.js\";\nexport type { BackButtonProps } from \"./components/back-button.js\";\nexport { SignInPrompt } from \"./components/sign-in-prompt.js\";\nexport { LaunchpadPage, type LaunchpadPageProps } from \"./components/launchpad-page.js\";\nexport { RemixBrowsePage } from \"./components/remix-browse-page.js\";\nexport { ServiceCollectionsPage } from \"./components/service-collections-page.js\";\nexport { EditionsPage } from \"./components/editions-page.js\";\nexport { DropsPage } from \"./components/drops-page.js\";\nexport { PopMyEventsPage } from \"./components/pop-my-events-page.js\";\nexport { CreatorPage, type CreatorPageProps } from \"./components/creator-page.js\";\nexport { AccountPage, type AccountPageProps } from \"./components/account-page.js\";\nexport { CancelOrderConfirm, type CancelOrderConfirmProps } from \"./components/cancel-order-confirm.js\";\nexport { UnderlineTabs, type UnderlineTab } from \"./components/underline-tabs.js\";\nexport { MoreMenu } from \"./components/more-menu.js\";\nexport { LicenseRequestPage } from \"./components/license-request-page.js\";\nexport { orderUsd } from \"./utils/order-usd.js\";\nexport { getSeenOffers, markOffersAsSeen } from \"./utils/seen-offers.js\";\nexport { NAV_ITEMS, navGroups, type NavItemId, type NavGroupSpec } from \"./data/nav-commands.js\";\nexport { ResultThumbnail } from \"./components/result-thumbnail.js\";\nexport type { NavCommand, NavCommandGroup, NavCommandMenuProps } from \"./components/nav-command-menu.js\";\n\nexport {\n NavBrandButton,\n NavIconButton,\n NavWalletTrigger,\n NavAccountSheet,\n useNavAccountSheet,\n} from \"./components/nav-shell.js\";\nexport type {\n NavBrandButtonProps,\n NavIconButtonProps,\n NavWalletTriggerProps,\n NavAccountSheetProps,\n} from \"./components/nav-shell.js\";\n\nexport { PortfolioHeader } from \"./components/portfolio-header.js\";\nexport type {\n PortfolioHeaderProps,\n PortfolioHeaderScore,\n} from \"./components/portfolio-header.js\";\nexport { derivePortfolioCounts } from \"./utils/portfolio-counts.js\";\nexport type { PortfolioCounts, CountableOrder } from \"./utils/portfolio-counts.js\";\nexport { PortfolioChipFilter } from \"./components/portfolio-chip-filter.js\";\nexport type {\n PortfolioChipFilterProps,\n PortfolioChipFilterOption,\n} from \"./components/portfolio-chip-filter.js\";\n\nexport { ClaimRail } from \"./components/claim-rail.js\";\nexport type { ClaimRailProps } from \"./components/claim-rail.js\";\n\nexport { ServiceFormShell } from \"./components/service-form-shell.js\";\nexport type { ServiceFormShellProps } from \"./components/service-form-shell.js\";\n\nexport { LevelBadge } from \"./components/rewards/level-badge.js\";\nexport type { LevelBadgeProps } from \"./components/rewards/level-badge.js\";\nexport { XpProgress } from \"./components/rewards/xp-progress.js\";\nexport type { XpProgressProps } from \"./components/rewards/xp-progress.js\";\nexport { BadgeShelf } from \"./components/rewards/badge-shelf.js\";\nexport type { BadgeShelfProps, BadgeShelfBadge } from \"./components/rewards/badge-shelf.js\";\nexport { LeaderboardTable, LeaderboardWidget } from \"./components/rewards/leaderboard-table.js\";\nexport type { LeaderboardTableProps, LeaderboardWidgetProps, LeaderboardEntryLike } from \"./components/rewards/leaderboard-table.js\";\nexport { LevelJourneyList } from \"./components/rewards/level-journey-list.js\";\nexport type { LevelJourneyListProps, LevelJourneyListLevel } from \"./components/rewards/level-journey-list.js\";\nexport { BadgeCatalog } from \"./components/rewards/badge-catalog.js\";\nexport type { BadgeCatalogProps, BadgeCatalogBadge } from \"./components/rewards/badge-catalog.js\";\nexport { XpEarned } from \"./components/rewards/xp-earned.js\";\nexport type { XpEarnedProps } from \"./components/rewards/xp-earned.js\";\nexport { useTransaction, isBusyPhase } from \"./utils/use-transaction.js\";\nexport type { TransactionPhase } from \"./utils/use-transaction.js\";\nexport { RewardEarned } from \"./components/rewards/reward-earned.js\";\nexport type { RewardEarnedProps, RewardSnapshot } from \"./components/rewards/reward-earned.js\";\n\nexport { LoadMoreSentinel } from \"./components/load-more-sentinel.js\";\nexport { ActivitiesFeed } from \"./components/activities-feed.js\";\nexport type { LoadMoreSentinelProps } from \"./components/load-more-sentinel.js\";\n\nexport { RewardsSection } from \"./components/rewards-section.js\";\nexport type { RewardsSectionProps } from \"./components/rewards-section.js\";\n\nexport { ActionButton } from \"./components/action-button.js\";\nexport type { ActionButtonProps } from \"./components/action-button.js\";\n\nexport { CoinLaunchPreview } from \"./components/coin-launch-preview.js\";\nexport type { CoinPreviewData } from \"./components/coin-launch-preview.js\";\nexport { CollectionCreateForm } from \"./components/launchpad/collection-create-form.js\";\nexport type { CollectionCreateFormProps } from \"./components/launchpad/collection-create-form.js\";\nexport { CLUB_PRESET, TICKETS_PRESET, EDITIONS_PRESET, SINGLE_PRESET } from \"./components/launchpad/collection-create-presets.js\";\nexport type { CollectionCreatePreset } from \"./components/launchpad/collection-create-presets.js\";\nexport { TierMintForm } from \"./components/launchpad/tier-mint-form.js\";\nexport type { TierMintFormProps } from \"./components/launchpad/tier-mint-form.js\";\nexport { CLUB_TIER_PRESET, TICKETS_TIER_PRESET } from \"./components/launchpad/tier-mint-presets.js\";\nexport type { TierMintPreset } from \"./components/launchpad/tier-mint-presets.js\";\nexport { SingleEditionMint } from \"./components/launchpad/single-edition-mint.js\";\nexport { CollectionPicker } from \"./components/launchpad/collection-picker.js\";\nexport type { CollectionPickerProps } from \"./components/launchpad/collection-picker.js\";\nexport { EditionMint } from \"./components/launchpad/edition-mint.js\";\nexport { RemixMint } from \"./components/launchpad/remix-mint.js\";\nexport { IpTypePage } from \"./components/ip-type-page.js\";\nexport type { IpTypePageProps } from \"./components/ip-type-page.js\";\nexport { CollectionsPage } from \"./components/collections-page.js\";\nexport { SponsorshipCreate } from \"./components/launchpad/sponsorship-create.js\";\nexport { PopCreate } from \"./components/launchpad/pop-create.js\";\nexport { PopClaimButton } from \"./components/pop-claim-button.js\";\nexport { PopBurnButton } from \"./components/pop-burn-button.js\";\nexport { PopManagePage } from \"./components/pop-manage-page.js\";\nexport { CommentsSection } from \"./components/comments-section.js\";\nexport type { CommentsSectionProps } from \"./components/comments-section.js\";\nexport type { PopBurnButtonProps } from \"./components/pop-burn-button.js\";\nexport { SponsorshipOffersPage } from \"./components/sponsorship-offers-page.js\";\nexport { SponsorshipOfferPage } from \"./components/sponsorship-offer-page.js\";\nexport { PortfolioSponsorships } from \"./components/portfolio-sponsorships.js\";\nexport { TransferCollectionOwnership } from \"./components/transfer-collection-ownership.js\";\nexport type { TransferCollectionOwnershipProps } from \"./components/transfer-collection-ownership.js\";\nexport { CoinCreate } from \"./components/launchpad/coin-create.js\";\nexport type { CoinCreateProps } from \"./components/launchpad/coin-create.js\";\nexport { WalletRequired } from \"./components/wallet-required.js\";\nexport type { WalletRequiredProps } from \"./components/wallet-required.js\";\nexport { ClaimRouteShell } from \"./components/claim-route-shell.js\";\nexport { useLaunchpadImageUpload } from \"./utils/use-launchpad-image-upload.js\";\nexport { invalidatePortfolioCache } from \"./utils/portfolio-cache.js\";\nexport { TransactionDialog } from \"./components/transaction-dialog.js\";\nexport type { TransactionDialogProps } from \"./components/transaction-dialog.js\";\nexport { TransactionSuccess, DialogTransactionSuccess } from \"./components/transaction-success.js\";\nexport { TransactionDialogStates } from \"./components/transaction-dialog-states.js\";\nexport { TransferDialog } from \"./components/transfer-dialog.js\";\nexport { MarketplaceSearch, SearchInput } from \"./components/marketplace-search.js\";\nexport { ActiveFilters, FiltersButton, FiltersDialog, useMarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport type { MarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport { useDebouncedValue } from \"./utils/use-debounced-value.js\";\nexport type { TransferDialogProps } from \"./components/transfer-dialog.js\";\nexport type { TransactionDialogStatesProps } from \"./components/transaction-dialog-states.js\";\nexport type { TransactionSuccessProps, TransactionSuccessAction } from \"./components/transaction-success.js\";\nexport { successMessages } from \"./utils/success-messages.js\";\nexport { emptyMessages } from \"./utils/empty-messages.js\";\nexport type { EmptyMessage } from \"./utils/empty-messages.js\";\nexport type { SuccessMessage } from \"./utils/success-messages.js\";\nexport { MedialaneCollectionCard } from \"./components/medialane-collection-card.js\";\nexport type { MedialaneCollectionCardProps } from \"./components/medialane-collection-card.js\";\n\nexport { StatTile, StatPill, StatPillRow } from \"./components/stat-tile.js\";\nexport type { StatTileProps, StatPillProps, StatPillRowItem } from \"./components/stat-tile.js\";\n\n\nexport { HiddenContentBanner } from \"./components/hidden-content-banner.js\";\n\nexport { useRewardsCelebrations } from \"./components/rewards/use-rewards-celebrations.js\";\nexport { LevelUpCelebration } from \"./components/rewards/level-up-celebration.js\";\nexport type { LevelUpCelebrationProps } from \"./components/rewards/level-up-celebration.js\";\nexport { BadgeUnlocked } from \"./components/rewards/badge-unlocked.js\";\nexport type { BadgeUnlockedProps } from \"./components/rewards/badge-unlocked.js\";\n\nexport { Skeleton } from \"./components/skeleton.js\";\nexport { Badge, badgeVariants } from \"./components/badge.js\";\nexport type { BadgeProps } from \"./components/badge.js\";\nexport { Panel, Pill, panelTint, PANEL_INSET } from \"./components/panel.js\";\nexport { IconTile, type IconTileProps } from \"./components/icon-tile.js\";\nexport type { PanelProps, PanelColor, PillProps } from \"./components/panel.js\";\nexport { Label } from \"./components/label.js\";\nexport { Input } from \"./components/input.js\";\nexport { Switch } from \"./components/switch.js\";\nexport { Checkbox } from \"./components/checkbox.js\";\nexport { Alert, AlertTitle, AlertDescription } from \"./components/alert.js\";\nexport { Tabs, TabsList, TabsTrigger, TabsContent } from \"./components/tabs.js\";\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent } from \"./components/card.js\";\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent } from \"./components/collapsible.js\";\nexport { Button, buttonVariants } from \"./components/button.js\";\nexport type { ButtonProps } from \"./components/button.js\";\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from \"./components/popover.js\";\nexport { HelpIcon } from \"./components/help-icon.js\";\nexport { EmptyOrError } from \"./components/empty-or-error.js\";\nexport { NewCollectionMenu, CollectionTypeChoices, COLLECTION_TYPES } from \"./components/new-collection-menu.js\";\nexport { ExternalLinkField } from \"./components/external-link-field.js\";\nexport { PortfolioCollections } from \"./components/portfolio-collections.js\";\nexport { TabEmptyState } from \"./components/tab-empty-state.js\";\nexport type { TabEmptyStateProps } from \"./components/tab-empty-state.js\";\nexport {\n Select, SelectGroup, SelectValue, SelectTrigger, SelectContent,\n SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton,\n} from \"./components/select.js\";\nexport {\n useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField,\n} from \"./components/form.js\";\nexport { Textarea } from \"./components/textarea.js\";\nexport type { TextareaProps } from \"./components/textarea.js\";\nexport {\n Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent,\n SheetHeader, SheetFooter, SheetTitle, SheetDescription,\n} from \"./components/sheet.js\";\n\nexport { ToggleGroup, Section } from \"./components/create-form-primitives.js\";\nexport { OrderSortControl, sortOrders } from \"./components/order-sort-control.js\";\nexport type { OrderSort } from \"./components/order-sort-control.js\";\nexport { PriceHistoryChart } from \"./components/price-history-chart.js\";\nexport type { PriceHistoryChartProps } from \"./components/price-history-chart.js\";\nexport { NavThemeToggle } from \"./components/nav-theme-toggle.js\";\nexport { JsonLd } from \"./components/json-ld.js\";\nexport type { JsonLdProps } from \"./components/json-ld.js\";\nexport { CreationRecord } from \"./components/creation-record.js\";\nexport type { CreationRecordProps } from \"./components/creation-record.js\";\nexport { ClubOwnerActions } from \"./components/club-owner-actions.js\";\nexport type { ClubOwnerActionsProps } from \"./components/club-owner-actions.js\";\nexport { IPTypeFields } from \"./components/ip-type-fields.js\";\nexport type { IPTypeFieldsProps, MetadataField } from \"./components/ip-type-fields.js\";\n\nexport { FastMint } from \"./components/fast-mint/fast-mint.js\";\nexport { Dropzone } from \"./components/fast-mint/dropzone.js\";\nexport type { DropzoneProps } from \"./components/fast-mint/dropzone.js\";\nexport { SuccessView } from \"./components/fast-mint/success-view.js\";\nexport type { SuccessViewProps } from \"./components/fast-mint/success-view.js\";\nexport type {\n MediaKind, FastMintSigner, MintedAsset, FastMintProps,\n} from \"./components/fast-mint/types.js\";\nexport { readBodyWithCap } from \"./utils/proxy-body.js\";\nexport type { CappedBody } from \"./utils/proxy-body.js\";\nexport { formatActivity } from \"./utils/format-activity.js\";\nexport type { FormattedEvent } from \"./utils/format-activity.js\";\n\nexport { queryKeys, queryKeyPrefix, QUERY_PREFIX } from \"./utils/query-keys.js\";\nexport { useCollectionProfile, useCreatorProfile, useCreatorByUsername } from \"./utils/use-profiles.js\";\nexport { useActivities, useActivitiesByAddress } from \"./utils/use-activities.js\";\nexport {\n useCollections, useCollection, useCollectionsByOwner, useCollectionTokens, useNearbyCollectionTokens,\n} from \"./utils/use-collections.js\";\nexport type { CollectionSort } from \"./utils/use-collections.js\";\nexport { CreatorChip } from \"./components/creator-chip.js\";\nexport type { CreatorChipProps } from \"./components/creator-chip.js\";\nexport { CollectionProvenanceTab } from \"./components/collection-provenance-tab.js\";\nexport type { CollectionProvenanceTabProps } from \"./components/collection-provenance-tab.js\";\nexport { PortfolioActivity } from \"./components/portfolio-activity.js\";\nexport type { PortfolioActivityProps } from \"./components/portfolio-activity.js\";\nexport { CreatorScoreInline } from \"./components/creator-score-inline.js\";\nexport type { CreatorScoreInlineProps } from \"./components/creator-score-inline.js\";\n\nexport { useMedialaneClient } from \"./utils/use-medialane-client.js\";\n\nexport { MediaWalletOverlay, useMediaWallet } from \"./components/media-wallet/media-wallet-overlay.js\";\nexport type {\n MediaWalletAppProps,\n MediaWalletHeaderIdentity,\n MediaWalletSession,\n MediaWalletView,\n WalletWriteAction,\n WalletWriteStatus,\n} from \"./components/media-wallet/types.js\";\nexport { useAccounts } from \"./utils/use-accounts.js\";\nexport { useSearch, SEARCH_MIN_LENGTH, type UseSearchOptions } from \"./utils/use-search.js\";\nexport {\n useRewards, useLeaderboard, useRewardsEvents, useRewardsConfig, useRewardsBatch,\n} from \"./utils/use-rewards.js\";\nexport type { UserRewards, LeaderboardEntry, BadgeSummary, LevelSummary } from \"./utils/use-rewards.js\";\n\nexport {\n useOrders, useOrder, useTokenListings, useUserOrders, useCounterOffers,\n useReceivedOffers, useCollectionFloorListings,\n} from \"./utils/use-orders.js\";\nexport { useTokenRemixes } from \"./utils/use-remix-offers.js\";\nexport { useRemixOffers } from \"./utils/use-my-remix-offers.js\";\nexport { useSwapQuote, swapQuoteKey } from \"./utils/use-swap-quote.js\";\nexport { usePaymentOptions, pickPayment, PAYMENT_COINS, type PaymentOption } from \"./utils/use-payment-options.js\";\nexport { PurchasePanel, amountText, editionsAvailable, type PurchasePanelProps } from \"./components/purchase-panel.js\";\nexport type { SwapToken, SwapAmountMode, SwapQuoteSummary } from \"./utils/use-swap-quote.js\";\nexport { RemixesTab } from \"./components/remixes-tab.js\";\nexport type { RemixesTabProps } from \"./components/remixes-tab.js\";\n\nexport { DropCountdown } from \"./components/drop-countdown.js\";\nexport {\n Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger,\n DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription,\n} from \"./components/dialog.js\";\nexport { SelfFundConsentDialog, feeLabelFor } from \"./components/wallet/self-fund-consent-dialog.js\";\nexport { ExportKeySection, type ExportKeySectionProps } from \"./components/wallet/export-key-section.js\";\nexport { useDrops, useMyDrops, useDrop, useDropMints, useDropFee, useDropFile, useDropChain } from \"./utils/use-drops.js\";\nexport type { DropChainState } from \"./utils/use-drops.js\";\nexport { usePopCollections, useMyPopEvents, usePopClaimStatus } from \"./utils/use-pop.js\";\nexport { usePlatformStats } from \"./utils/use-platform-stats.js\";\nexport { useTokensByIpType } from \"./utils/use-tokens-by-ip-type.js\";\nexport { usePriceMap, useCoinPrice } from \"./utils/use-coin-price.js\";\nexport {\n useSponsorshipOffers, useSponsorshipOffer, useSponsorshipBids, useSponsorshipProposals,\n useSponsorshipProposal, usePendingProposalsForAsset, useSponsorshipLicenses, useMySponsorshipDealCounts,\n} from \"./utils/use-sponsorship.js\";\nexport {\n predictNextMembershipId, predictNextTicketId, useMyClubCollections, useMyTicketCollections,\n useMembershipList, useTicketList, useMembershipOnchain, useTicketOnchain, useIsMemberOf,\n type TierOnchain, type TierListItem,\n} from \"./utils/use-tiers.js\";\nexport { useToken, useTokenBalance, useTokenHistory, useTokensByOwner, useOwnedTokens } from \"./utils/use-tokens.js\";\nexport { checkIsOwner } from \"./utils/ownership.js\";\nexport { AssetOwnersPanel } from \"./components/asset-owners-panel.js\";\nexport { AssetUnavailable } from \"./components/asset-unavailable.js\";\nexport { AssetProvenanceTab } from \"./components/asset-provenance-tab.js\";\nexport { ASSET_ACCENTS, type AssetAccent, type AssetAccentName } from \"./utils/asset-accents.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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":["import_ipfs_gateway_fallback","import_ipfs","import_launchpad_services"]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { cn } from \"./utils/cn.js\";\nexport { formatDisplayPrice, parsePriceDisplay, isStableCurrency, formatUsd, formatUsdPrice, formatSmallDecimal } from \"./utils/format.js\";\nexport { shortenAddress } from \"./utils/address.js\";\nexport { profileIdentity, type ProfileIdentity, type ProfileIdentitySource } from \"./utils/profile-identity.js\";\nexport { ipfsToHttp, DEFAULT_GATEWAY as PINATA_PUBLIC_GATEWAY } from \"./utils/ipfs.js\";\nexport { gatewayChain, gatewayFallbackSrc, installIpfsGatewayFallback, PUBLIC_IMAGE_GATEWAYS } from \"./utils/ipfs-gateway-fallback.js\";\nexport { IpfsGatewayFallback } from \"./components/ipfs-gateway-fallback.js\";\nexport {\n uploadFileToIpfs,\n FILE_UPLOAD_FAILED,\n uploadJsonToIpfs,\n uploadDirectoryToIpfs,\n pinAssetMetadata,\n uploadFailureToast,\n isUserRejection,\n setUploadDiagnosticsReporter,\n type SignedUploadKind,\n type UploadedIpfsFile,\n type UploadDiagnostics,\n type PinAssetMetadataInput,\n type PinnedAsset,\n} from \"./utils/ipfs-upload.js\";\nexport { useIntersectionActive } from \"./utils/use-intersection-active.js\";\nexport { licenseSummary } from \"./utils/license-summary.js\";\nexport {\n isBareExecuteFailure,\n isUserRejectedRequest,\n isWrongNetwork,\n assertCorrectNetwork,\n WrongNetworkError,\n} from \"./utils/wallet-error.js\";\nexport {\n describeError,\n UserFacingError,\n NOT_SUBMITTED,\n NETWORK_BUSY,\n CONNECTION_FAILED,\n} from \"./utils/describe-error.js\";\nexport type { ErrorNotice } from \"./utils/describe-error.js\";\n\nexport { IP_TYPE_DATA, IP_TYPE_DATA_MAP } from \"./data/ip-types.js\";\nexport type { IpTypeData } from \"./data/ip-types.js\";\nexport {\n IP_TYPES, LICENSE_TYPES, GEOGRAPHIC_SCOPES, AI_POLICIES,\n DERIVATIVES_OPTIONS, LICENSE_TRAIT_TYPES,\n} from \"./data/ip.js\";\nexport type { IPType, LicenseType } from \"./data/ip.js\";\nexport {\n IP_TEMPLATES, EMBED_PLATFORM_META, SOCIAL_PLATFORM_META, TEMPLATE_TRAIT_TYPES, DOC_UPLOAD,\n} from \"./data/ip-templates.js\";\nexport type { EmbedPlatform, SocialPlatform, TraitSuggestion, IPTemplate, DocUploadConfig } from \"./data/ip-templates.js\";\nexport { IPTypeDisplay } from \"./components/ip-type-display.js\";\nexport { AssetOverviewContent } from \"./components/asset-overview-content.js\";\nexport { AssetLicenseSummary } from \"./components/asset-license-summary.js\";\nexport { AssetMarketsTab } from \"./components/asset-markets-tab.js\";\nexport { ParentAttributionBanner } from \"./components/parent-attribution-banner.js\";\nexport type { ParentBannerProps } from \"./components/parent-attribution-banner.js\";\nexport { AssetMediaColumn, AssetHeaderBlock, AssetOwnerRow } from \"./components/asset-top-sections.js\";\nexport { ExpandableText } from \"./components/expandable-text.js\";\nexport { CollectionHeader, type CollectionHeaderProps } from \"./components/collection-header.js\";\nexport { CreatorHeader, type CreatorHeaderProps, type CreatorHeaderStat } from \"./components/creator-header.js\";\nexport { AssetPage, AssetPageSkeleton, detectAssetKind, type AssetPageProps, type AssetKind, type AssetMarketContext, type AssetMarketActions } from \"./components/asset-page.js\";\nexport { AssetCommentsDialog, type AssetCommentsDialogProps } from \"./components/asset-comments-dialog.js\";\nexport { CollectionPage, canTransferCollectionOwnership, type CollectionPageProps, type CollectionPageSlots, type CollectionMarketActions } from \"./components/collection-page.js\";\nexport { CollectionFiltersDialog, type CollectionFiltersDialogProps } from \"./components/collection-filters-dialog.js\";\nexport { GatedContentHero, GatedContentPanel, type GatedContent, type GatedContentState } from \"./components/gated-content.js\";\nexport { MakeOfferPicker } from \"./components/make-offer-picker.js\";\nexport { ListingCardMenu } from \"./components/listing-card-menu.js\";\nexport { FloatingCommentsButton } from \"./components/floating-comments-button.js\";\nexport { PageBackdrop } from \"./components/media-header.js\";\nexport { useComments, type UseCommentsResult } from \"./utils/use-comments.js\";\nexport { useFullTokenData } from \"./utils/use-full-token-data.js\";\nexport { useAssetMarketState, type AssetMarketState } from \"./utils/asset-market-state.js\";\nexport { assetAttributes, type AssetAttribute } from \"./utils/asset-attributes.js\";\nexport type { AssetOwnerRowProps } from \"./components/asset-top-sections.js\";\nexport { AssetCollectionBar } from \"./components/asset-collection-bar.js\";\nexport type { AssetCollectionBarProps, AssetCollectionBarSibling } from \"./components/asset-collection-bar.js\";\nexport { AssetUtilityIcons } from \"./components/asset-utility-icons.js\";\nexport type { AssetUtilityIconsProps } from \"./components/asset-utility-icons.js\";\nexport { AssetMarketplacePanel } from \"./components/asset-marketplace-panel.js\";\nexport type { AssetMarketplacePanelProps, ApiOrderLike } from \"./components/asset-marketplace-panel.js\";\nexport { fireConfetti } from \"./utils/media-wallet/confetti.js\";\nexport { useConfetti } from \"./utils/use-confetti.js\";\nexport { useOnOpen } from \"./utils/use-on-open.js\";\nexport { useCoinGuarantees } from \"./utils/use-coin-guarantees.js\";\nexport { useCoinSupply } from \"./utils/use-coin-supply.js\";\nexport { BRAND, BRAND_COLOR } from \"./data/brand.js\";\nexport { LIVING_RENDER_COLLECTIONS, isLivingRenderCollection } from \"./data/living-render-collections.js\";\n\nexport { CurrencyIcon, CurrencyAmount } from \"./components/currency-icon.js\";\nexport type { CurrencyIconProps, CurrencyAmountProps } from \"./components/currency-icon.js\";\n\nexport { IpTypeBadge, IP_TYPE_CONFIG, IP_TYPE_MAP } from \"./components/ip-type-badge.js\";\nexport type { IpTypeBadgeProps, IpTypeConfig } from \"./components/ip-type-badge.js\";\n\nexport { AddressDisplay } from \"./components/address-display.js\";\nexport type { AddressDisplayProps } from \"./components/address-display.js\";\n\nexport { MedialaneLogoFull } from \"./components/brand-logo.js\";\nexport type { MedialaneLogoFullProps } from \"./components/brand-logo.js\";\n\nexport { MotionCard, FadeIn, Stagger, StaggerItem, KineticWords, SPRING, EASE_OUT } from \"./components/motion-primitives.js\";\nexport { PageContainer } from \"./components/page-container.js\";\nexport type { PageContainerProps } from \"./components/page-container.js\";\nexport { PageHeader, PageHeaderSkeleton } from \"./components/page-header.js\";\nexport type { PageHeaderProps } from \"./components/page-header.js\";\nexport { PageState, PageStateSkeleton } from \"./components/page-state.js\";\nexport type { PageStateProps } from \"./components/page-state.js\";\nexport { SectionHeading } from \"./components/section-heading.js\";\nexport type { SectionHeadingProps } from \"./components/section-heading.js\";\nexport { ScrollSection } from \"./components/scroll-section.js\";\nexport type { ScrollSectionProps } from \"./components/scroll-section.js\";\nexport { ShareButton } from \"./components/share-button.js\";\nexport type { ShareButtonProps } from \"./components/share-button.js\";\nexport { CollectionCard, CollectionCardSkeleton } from \"./components/collection-card.js\";\nexport type { CollectionCardProps } from \"./components/collection-card.js\";\nexport { TokenCard, TokenCardSkeleton } from \"./components/token-card.js\";\nexport type { TokenCardProps } from \"./components/token-card.js\";\nexport { AnimatedTokenMedia } from \"./components/animated-token-media.js\";\nexport type { AnimatedTokenMediaProps } from \"./components/animated-token-media.js\";\nexport { ThemeAmbientBackground } from \"./components/theme-ambient-background.js\";\nexport {\n useCollectionFilters, SORT_OPTIONS, CollectionFiltersTrigger, CollectionFiltersBody,\n} from \"./components/collection-filters.js\";\nexport type { TraitSection, CollectionFiltersTriggerProps, CollectionFiltersBodyProps } from \"./components/collection-filters.js\";\nexport {\n DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem,\n DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel,\n DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup,\n DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent,\n DropdownMenuSubTrigger, DropdownMenuRadioGroup,\n} from \"./components/dropdown-menu.js\";\nexport { AssetCard, AssetCardSkeleton } from \"./components/asset-card.js\";\nexport type { AssetCardProps, AssetCardPrice } from \"./components/asset-card.js\";\nexport { AssetPicker } from \"./components/asset-picker.js\";\nexport type { AssetPickerProps, OwnedAsset } from \"./components/asset-picker.js\";\nexport { AssetSearchPicker } from \"./components/asset-search-picker.js\";\nexport type { AssetSearchPickerProps } from \"./components/asset-search-picker.js\";\nexport { LicenseTermsBuilder, EMPTY_SPONSORSHIP_TERMS, MEDIA_TYPES, DURATION_UNITS, toLicenseMetadata, toDurationDays } from \"./components/license-terms-builder.js\";\nexport type { LicenseTermsBuilderProps, SponsorshipTerms, DurationUnit } from \"./components/license-terms-builder.js\";\n\nexport {\n coinKind, coinKindLabel, coinKindLabelPlural, COIN_KINDS, coinAccentToken, coinServiceIds, isCoinService, formatCoinPrice, coinSupply, formatFdvUsd, fdvUsd,\n type CoinKind, type CoinCollectionLike, type CoinPriceLike,\n} from \"./data/coins.js\";\nexport { CoinGuarantees, type CoinGuaranteesProps, type CoinGuaranteesData } from \"./components/coin-guarantees.js\";\nexport { CoinRow, CoinRowSkeleton, CoinAvatar, COIN_GRID, type UseCoinPrice, type CoinRowProps, type CoinMarketStatus } from \"./components/coin-row.js\";\nexport { orderCoins, type CoinPriceSort } from \"./data/coin-order.js\";\nexport {\n CoinsExplorer, CoinsPage,\n type CoinsExplorerProps, type CoinFilter, type CoinSort, type UseCoins, type UsePriceMap, type CoinCounts,\n} from \"./components/coins-explorer.js\";\n\nexport { timeAgo, timeUntil, isExpired } from \"./utils/time.js\";\nexport { toDisplayUrl, toDisplayUrlOrNull, toAbsoluteImageUrl, createImageResolver, type DisplayUrlOptions, type ImageResolver } from \"./utils/ipfs.js\";\nexport { useImageUrl } from \"./utils/use-image-url.js\";\nexport { isSameAddress } from \"./utils/same-address.js\";\nexport { createAppWallet } from \"./utils/app-wallet.js\";\nexport type { AppWalletConfig } from \"./utils/app-wallet.js\";\nexport { detectPasskeySupport } from \"./utils/passkey-support.js\";\nexport type { PasskeySupport } from \"./utils/passkey-support.js\";\nexport { describeWalletFailure, isPasskeyCancelled, passkeyUnsupportedReason } from \"./utils/wallet-failure.js\";\nexport type { PasskeyUnsupportedReason, WalletFailureKind, WalletFailureNotice } from \"./utils/wallet-failure.js\";\nexport {\n RESEND_COOLDOWN_SECONDS,\n canResendCode,\n canVerifyCode,\n emailCodeReducer,\n initialEmailCodeState,\n} from \"./utils/email-code.js\";\nexport type { EmailCodeAction, EmailCodeState, EmailCodeStatus } from \"./utils/email-code.js\";\nexport { useEmailCode } from \"./utils/use-email-code.js\";\nexport type { EmailCode, EmailCodeApi } from \"./utils/use-email-code.js\";\nexport { AccountSection } from \"./components/account/account-section.js\";\nexport type { AccountSectionProps } from \"./components/account/account-section.js\";\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from \"./components/account/input-otp.js\";\nexport { EmailCodeEntry } from \"./components/account/email-code-entry.js\";\nexport type { EmailCodeEntryProps } from \"./components/account/email-code-entry.js\";\nexport { DevicesSection } from \"./components/account/devices-section.js\";\nexport type { DevicesSectionProps } from \"./components/account/devices-section.js\";\nexport { DeviceApprovalDialog } from \"./components/account/device-approval-dialog.js\";\nexport type { DeviceApprovalDialogProps } from \"./components/account/device-approval-dialog.js\";\nexport { GuardianRecoverySection } from \"./components/account/guardian-recovery-section.js\";\nexport type { GuardianRecoverySectionProps } from \"./components/account/guardian-recovery-section.js\";\nexport { AddGuardianDialog } from \"./components/account/add-guardian-dialog.js\";\nexport type { AddGuardianDialogProps } from \"./components/account/add-guardian-dialog.js\";\nexport type { DeviceWallet, GuardianWallet, LoadSealedOwner } from \"./components/account/wallet-types.js\";\nexport { ACTIVITY_TYPE_CONFIG, TYPE_FILTERS } from \"./data/activity.js\";\nexport type { ActivityTypeConfig } from \"./data/activity.js\";\nexport { CollectionShowcase } from \"./components/collection-showcase.js\";\nexport type { CollectionShowcaseProps } from \"./components/collection-showcase.js\";\nexport { ActivityTicker } from \"./components/activity-ticker.js\";\nexport type { ActivityTickerProps } from \"./components/activity-ticker.js\";\nexport { ListingCard, ListingCardSkeleton } from \"./components/listing-card.js\";\nexport { ListingsGrid, type ListingsGridProps } from \"./components/listings-grid.js\";\nexport type { ListingCardProps } from \"./components/listing-card.js\";\nexport {\n MarketplaceTxLink,\n MarketplaceProcessingState,\n MarketplaceSignInGate,\n MarketplaceErrorState,\n MarketplaceDialogHero,\n OrderSummaryHero,\n CurrencyPicker,\n DurationPicker,\n ListingAssetSummary,\n MarketplaceConfirmStep,\n} from \"./components/marketplace-dialog-primitives.js\";\nexport { useSession, refreshSession, sessionEmail, fetchSession } from \"./utils/use-session.js\";\nexport { OrderFields } from \"./components/order-fields.js\";\nexport type { OrderFieldsProps } from \"./components/order-fields.js\";\nexport { LISTABLE_CURRENCIES, orderFormSchema, counterOfferFormSchema } from \"./utils/order-form.js\";\nexport type { OrderFormValues } from \"./utils/order-form.js\";\nexport { ActivityRow } from \"./components/activity-row.js\";\nexport { ActivityTimelineRow } from \"./components/activity-timeline-row.js\";\nexport type { ActivityTimelineRowProps } from \"./components/activity-timeline-row.js\";\nexport type { DraftAsset, DropDraft } from \"./utils/drop/draft.js\";\nexport { getDefaultClaimWindow, suggestLaunchpadSymbol } from \"./utils/launchpad-defaults.js\";\nexport { DropStatusBadge, DropSupplyProgress } from \"./components/drop/drop-status.js\";\nexport { DropCard, DropGrid, DropGridSkeleton } from \"./components/drop/drop-card.js\";\nexport { DropListing } from \"./components/drop/drop-listing.js\";\nexport { DropFeatures } from \"./components/drop/drop-features.js\";\nexport { MyDrops } from \"./components/drop/my-drops.js\";\nexport { MyDropsPage } from \"./components/drop/my-drops-page.js\";\nexport { DropDetailPage } from \"./components/drop/drop-detail-page.js\";\nexport { ActivitiesPage } from \"./components/activities-page.js\";\nexport { PopPage } from \"./components/pop-page.js\";\nexport { DropTokenLink } from \"./components/drop/drop-token-link.js\";\nexport type { DropPhase } from \"./utils/drop/view.js\";\nexport { DropCreate } from \"./components/drop/create/drop-create.js\";\nexport { ExclusiveFields } from \"./components/drop/create/exclusive-fields.js\";\nexport { DropPage } from \"./components/drop/page/drop-page.js\";\nexport { DropActionBox } from \"./components/drop/page/drop-action-box.js\";\nexport { DropActivityList } from \"./components/drop/page/drop-activity.js\";\nexport { claimProofFor } from \"./utils/drop/claim-proof.js\";\nexport type { DropSigner } from \"./utils/drop/types.js\";\nexport { MedialaneAppProvider, useMedialaneApp, type MedialaneApp, type CompanionApp, type AssetRef, type ReportTarget } from \"./components/medialane-app.js\";\nexport { ReportDialog } from \"./components/report-dialog.js\";\nexport { runIntentCalls } from \"./utils/run-intent-calls.js\";\nexport { GATED_CONTENT_TYPES, GATED_CONTENT_TYPE_FALLBACK } from \"./data/gated-content-types.js\";\nexport type { ContentTypeConfig } from \"./data/gated-content-types.js\";\nexport { CollapsibleSection } from \"./components/collapsible-section.js\";\nexport { useUsdPrices, usdPriceFor, usdValueFor } from \"./utils/use-usd-prices.js\";\nexport type { UsdPrices } from \"./utils/use-usd-prices.js\";\nexport type { ActivityRowProps } from \"./components/activity-row.js\";\n\nexport { DiscoverHero } from \"./components/discover-hero.js\";\nexport type { DiscoverHeroProps } from \"./components/discover-hero.js\";\nexport { DiscoverCollectionsStrip } from \"./components/discover-collections-strip.js\";\nexport type { DiscoverCollectionsStripProps } from \"./components/discover-collections-strip.js\";\nexport { DiscoverActivityStrip } from \"./components/discover-feed-section.js\";\nexport type { DiscoverActivityStripProps } from \"./components/discover-feed-section.js\";\nexport { ActivityCard, ActivityCardSkeleton, ACTIVITY_MESSAGES } from \"./components/activity-card.js\";\nexport type { ActivityCardProps } from \"./components/activity-card.js\";\n\nexport { LaunchpadGroupedSections, LaunchpadServiceCard, SERVICE_HUES, useLaunchpadFilter } from \"./components/launchpad-services.js\";\nexport { LaunchpadFilterBar } from \"./components/launchpad-filter-bar.js\";\nexport type { LaunchpadFilterBarProps } from \"./components/launchpad-filter-bar.js\";\nexport { LaunchpadStrip } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadStripProps } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadGroupedSectionsProps, LaunchpadServiceCardProps, ServiceOverride, ServiceOverrides } from \"./components/launchpad-services.js\";\nexport { LAUNCHPAD_ROUTE_OVERRIDES } from \"./components/launchpad-services.js\";\nexport { COLLECTION_NAME_CLAIM, LAUNCHPAD_SERVICE_DEFINITIONS, LAUNCHPAD_SERVICE_GROUPS, getLaunchpadService } from \"./data/launchpad-services.js\";\nexport type { ServiceDefinition, ServiceStatus, ServiceGroup, ServiceGroupDefinition } from \"./data/launchpad-services.js\";\n\nexport { NavCommandMenu, useNavCommandMenu, relevanceFilter, matchCommands } from \"./components/nav-command-menu.js\";\nexport { SearchPage } from \"./components/search-page.js\";\nexport { PortfolioOrders, type PortfolioOrdersView, type PortfolioOrderActions, type UsePortfolioOrderActions } from \"./components/portfolio-orders.js\";\nexport { ArchiveAssetDialog, type ArchiveAssetDialogProps } from \"./components/archive-asset-dialog.js\";\nexport { PortfolioAssets, type PortfolioAssetActions, type UsePortfolioAssetActions } from \"./components/portfolio-assets.js\";\nexport { PortfolioShell, PORTFOLIO_TABS, type PortfolioTab } from \"./components/portfolio-shell.js\";\nexport { SoulboundCard, issuedAt } from \"./components/soulbound-card.js\";\nexport type { SoulboundCardProps } from \"./components/soulbound-card.js\";\nexport { RewardsPage } from \"./components/rewards-page.js\";\nexport { JourneyContent } from \"./components/journey-content.js\";\nexport { PortfolioSnapshot, RewardsSnapshot } from \"./components/settings-snapshots.js\";\nexport { RouteError } from \"./components/route-error.js\";\nexport { CreateSponsorshipAside } from \"./components/create-sponsorship-aside.js\";\nexport { CreateAside, CREATE_ASIDE_KINDS } from \"./components/create-aside.js\";\nexport type { CreateAsideKind } from \"./components/create-aside.js\";\nexport { AccountLoading, ActivitiesLoading, CollectionLoading, CollectionsLoading, CreatorLoading, IpTypeLoading, MarketplaceLoading, PortfolioLoading } from \"./components/page-skeletons.js\";\nexport { RewardsDashboard, REWARD_ACTION_LABELS } from \"./components/rewards/rewards-dashboard.js\";\nexport { LeaderboardPanel, type LeaderboardPanelProps } from \"./components/rewards/leaderboard-panel.js\";\nexport { CollectionNameClaim } from \"./components/collection-name-claim.js\";\nexport { CollectionSettings } from \"./components/collection-settings.js\";\nexport { MintLanding, type MintLandingCopy } from \"./components/mint-landing.js\";\nexport { ApproveMintDialog, type ApproveMintDialogProps } from \"./components/approve-mint-dialog.js\";\nexport { DiscoverPage, type DiscoverPageProps } from \"./components/discover-page.js\";\nexport { DiscoverCommunitySection } from \"./components/discover-community-section.js\";\nexport { IpTypeNav } from \"./components/ip-type-nav.js\";\nexport { HomePage, FeaturedListings, type HomePageProps } from \"./components/home-page.js\";\nexport { AccountsPage } from \"./components/accounts-page.js\";\nexport { BackButton } from \"./components/back-button.js\";\nexport type { BackButtonProps } from \"./components/back-button.js\";\nexport { SignInPrompt } from \"./components/sign-in-prompt.js\";\nexport { LaunchpadPage, type LaunchpadPageProps } from \"./components/launchpad-page.js\";\nexport { RemixBrowsePage } from \"./components/remix-browse-page.js\";\nexport { ServiceCollectionsPage } from \"./components/service-collections-page.js\";\nexport { EditionsPage } from \"./components/editions-page.js\";\nexport { DropsPage } from \"./components/drops-page.js\";\nexport { PopMyEventsPage } from \"./components/pop-my-events-page.js\";\nexport { CreatorPage, type CreatorPageProps } from \"./components/creator-page.js\";\nexport { AccountPage, type AccountPageProps } from \"./components/account-page.js\";\nexport { CancelOrderConfirm, type CancelOrderConfirmProps } from \"./components/cancel-order-confirm.js\";\nexport { UnderlineTabs, type UnderlineTab } from \"./components/underline-tabs.js\";\nexport { MoreMenu } from \"./components/more-menu.js\";\nexport { LicenseRequestPage } from \"./components/license-request-page.js\";\nexport { orderUsd } from \"./utils/order-usd.js\";\nexport { getSeenOffers, markOffersAsSeen } from \"./utils/seen-offers.js\";\nexport { NAV_ITEMS, navGroups, type NavItemId, type NavGroupSpec } from \"./data/nav-commands.js\";\nexport { ResultThumbnail } from \"./components/result-thumbnail.js\";\nexport type { NavCommand, NavCommandGroup, NavCommandMenuProps } from \"./components/nav-command-menu.js\";\n\nexport {\n NavBrandButton,\n NavIconButton,\n NavWalletTrigger,\n NavAccountSheet,\n useNavAccountSheet,\n} from \"./components/nav-shell.js\";\nexport type {\n NavBrandButtonProps,\n NavIconButtonProps,\n NavWalletTriggerProps,\n NavAccountSheetProps,\n} from \"./components/nav-shell.js\";\n\nexport { PortfolioHeader } from \"./components/portfolio-header.js\";\nexport type {\n PortfolioHeaderProps,\n PortfolioHeaderScore,\n} from \"./components/portfolio-header.js\";\nexport { derivePortfolioCounts } from \"./utils/portfolio-counts.js\";\nexport type { PortfolioCounts, CountableOrder } from \"./utils/portfolio-counts.js\";\nexport { PortfolioChipFilter } from \"./components/portfolio-chip-filter.js\";\nexport type {\n PortfolioChipFilterProps,\n PortfolioChipFilterOption,\n} from \"./components/portfolio-chip-filter.js\";\n\nexport { ClaimRail } from \"./components/claim-rail.js\";\nexport type { ClaimRailProps } from \"./components/claim-rail.js\";\n\nexport { ServiceFormShell } from \"./components/service-form-shell.js\";\nexport type { ServiceFormShellProps } from \"./components/service-form-shell.js\";\n\nexport { LevelBadge } from \"./components/rewards/level-badge.js\";\nexport type { LevelBadgeProps } from \"./components/rewards/level-badge.js\";\nexport { XpProgress } from \"./components/rewards/xp-progress.js\";\nexport type { XpProgressProps } from \"./components/rewards/xp-progress.js\";\nexport { BadgeShelf } from \"./components/rewards/badge-shelf.js\";\nexport type { BadgeShelfProps, BadgeShelfBadge } from \"./components/rewards/badge-shelf.js\";\nexport { LeaderboardTable, LeaderboardWidget } from \"./components/rewards/leaderboard-table.js\";\nexport type { LeaderboardTableProps, LeaderboardWidgetProps, LeaderboardEntryLike } from \"./components/rewards/leaderboard-table.js\";\nexport { LevelJourneyList } from \"./components/rewards/level-journey-list.js\";\nexport type { LevelJourneyListProps, LevelJourneyListLevel } from \"./components/rewards/level-journey-list.js\";\nexport { BadgeCatalog } from \"./components/rewards/badge-catalog.js\";\nexport type { BadgeCatalogProps, BadgeCatalogBadge } from \"./components/rewards/badge-catalog.js\";\nexport { XpEarned } from \"./components/rewards/xp-earned.js\";\nexport type { XpEarnedProps } from \"./components/rewards/xp-earned.js\";\nexport { useTransaction, isBusyPhase } from \"./utils/use-transaction.js\";\nexport type { TransactionPhase } from \"./utils/use-transaction.js\";\nexport { RewardEarned } from \"./components/rewards/reward-earned.js\";\nexport type { RewardEarnedProps, RewardSnapshot } from \"./components/rewards/reward-earned.js\";\n\nexport { LoadMoreSentinel } from \"./components/load-more-sentinel.js\";\nexport { ActivitiesFeed } from \"./components/activities-feed.js\";\nexport type { LoadMoreSentinelProps } from \"./components/load-more-sentinel.js\";\n\nexport { RewardsSection } from \"./components/rewards-section.js\";\nexport type { RewardsSectionProps } from \"./components/rewards-section.js\";\n\nexport { ActionButton } from \"./components/action-button.js\";\nexport type { ActionButtonProps } from \"./components/action-button.js\";\n\nexport { CoinLaunchPreview } from \"./components/coin-launch-preview.js\";\nexport type { CoinPreviewData } from \"./components/coin-launch-preview.js\";\nexport { CollectionCreateForm } from \"./components/launchpad/collection-create-form.js\";\nexport type { CollectionCreateFormProps } from \"./components/launchpad/collection-create-form.js\";\nexport { CLUB_PRESET, TICKETS_PRESET, EDITIONS_PRESET, SINGLE_PRESET } from \"./components/launchpad/collection-create-presets.js\";\nexport type { CollectionCreatePreset } from \"./components/launchpad/collection-create-presets.js\";\nexport { TierMintForm } from \"./components/launchpad/tier-mint-form.js\";\nexport type { TierMintFormProps } from \"./components/launchpad/tier-mint-form.js\";\nexport { CLUB_TIER_PRESET, TICKETS_TIER_PRESET } from \"./components/launchpad/tier-mint-presets.js\";\nexport type { TierMintPreset } from \"./components/launchpad/tier-mint-presets.js\";\nexport { SingleEditionMint } from \"./components/launchpad/single-edition-mint.js\";\nexport { CollectionPicker } from \"./components/launchpad/collection-picker.js\";\nexport type { CollectionPickerProps } from \"./components/launchpad/collection-picker.js\";\nexport { EditionMint } from \"./components/launchpad/edition-mint.js\";\nexport { RemixMint } from \"./components/launchpad/remix-mint.js\";\nexport { IpTypePage } from \"./components/ip-type-page.js\";\nexport type { IpTypePageProps } from \"./components/ip-type-page.js\";\nexport { CollectionsPage } from \"./components/collections-page.js\";\nexport { SponsorshipCreate } from \"./components/launchpad/sponsorship-create.js\";\nexport { PopCreate } from \"./components/launchpad/pop-create.js\";\nexport { PopClaimButton } from \"./components/pop-claim-button.js\";\nexport { PopBurnButton } from \"./components/pop-burn-button.js\";\nexport { PopManagePage } from \"./components/pop-manage-page.js\";\nexport { CommentsSection } from \"./components/comments-section.js\";\nexport type { CommentsSectionProps } from \"./components/comments-section.js\";\nexport type { PopBurnButtonProps } from \"./components/pop-burn-button.js\";\nexport { SponsorshipOffersPage } from \"./components/sponsorship-offers-page.js\";\nexport { SponsorshipOfferPage } from \"./components/sponsorship-offer-page.js\";\nexport { PortfolioSponsorships } from \"./components/portfolio-sponsorships.js\";\nexport { TransferCollectionOwnership } from \"./components/transfer-collection-ownership.js\";\nexport type { TransferCollectionOwnershipProps } from \"./components/transfer-collection-ownership.js\";\nexport { CoinCreate } from \"./components/launchpad/coin-create.js\";\nexport type { CoinCreateProps } from \"./components/launchpad/coin-create.js\";\nexport { WalletRequired } from \"./components/wallet-required.js\";\nexport type { WalletRequiredProps } from \"./components/wallet-required.js\";\nexport { ClaimRouteShell } from \"./components/claim-route-shell.js\";\nexport { useImageUpload } from \"./utils/use-image-upload.js\";\nexport { useFileUpload } from \"./utils/use-file-upload.js\";\nexport type { FileUpload, FileUploadOptions, FileUploadStatus } from \"./utils/use-file-upload.js\";\nexport { ImageUploadField } from \"./components/image-upload-field.js\";\nexport type { ImageUploadFieldProps } from \"./components/image-upload-field.js\";\nexport { invalidatePortfolioCache } from \"./utils/portfolio-cache.js\";\nexport { TransactionDialog } from \"./components/transaction-dialog.js\";\nexport type { TransactionDialogProps } from \"./components/transaction-dialog.js\";\nexport { TransactionSuccess, DialogTransactionSuccess } from \"./components/transaction-success.js\";\nexport { TransactionDialogStates } from \"./components/transaction-dialog-states.js\";\nexport { TransferDialog } from \"./components/transfer-dialog.js\";\nexport { MarketplaceSearch, SearchInput } from \"./components/marketplace-search.js\";\nexport { ActiveFilters, FiltersButton, FiltersDialog, useMarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport type { MarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport { useDebouncedValue } from \"./utils/use-debounced-value.js\";\nexport type { TransferDialogProps } from \"./components/transfer-dialog.js\";\nexport type { TransactionDialogStatesProps } from \"./components/transaction-dialog-states.js\";\nexport type { TransactionSuccessProps, TransactionSuccessAction } from \"./components/transaction-success.js\";\nexport { successMessages } from \"./utils/success-messages.js\";\nexport { emptyMessages } from \"./utils/empty-messages.js\";\nexport type { EmptyMessage } from \"./utils/empty-messages.js\";\nexport type { SuccessMessage } from \"./utils/success-messages.js\";\nexport { MedialaneCollectionCard } from \"./components/medialane-collection-card.js\";\nexport type { MedialaneCollectionCardProps } from \"./components/medialane-collection-card.js\";\n\nexport { StatTile, StatPill, StatPillRow } from \"./components/stat-tile.js\";\nexport type { StatTileProps, StatPillProps, StatPillRowItem } from \"./components/stat-tile.js\";\n\n\nexport { HiddenContentBanner } from \"./components/hidden-content-banner.js\";\n\nexport { useRewardsCelebrations } from \"./components/rewards/use-rewards-celebrations.js\";\nexport { LevelUpCelebration } from \"./components/rewards/level-up-celebration.js\";\nexport type { LevelUpCelebrationProps } from \"./components/rewards/level-up-celebration.js\";\nexport { BadgeUnlocked } from \"./components/rewards/badge-unlocked.js\";\nexport type { BadgeUnlockedProps } from \"./components/rewards/badge-unlocked.js\";\n\nexport { Skeleton } from \"./components/skeleton.js\";\nexport { Badge, badgeVariants } from \"./components/badge.js\";\nexport type { BadgeProps } from \"./components/badge.js\";\nexport { Panel, Pill, panelTint, PANEL_INSET } from \"./components/panel.js\";\nexport { IconTile, type IconTileProps } from \"./components/icon-tile.js\";\nexport type { PanelProps, PanelColor, PillProps } from \"./components/panel.js\";\nexport { Label } from \"./components/label.js\";\nexport { Input } from \"./components/input.js\";\nexport { Switch } from \"./components/switch.js\";\nexport { Checkbox } from \"./components/checkbox.js\";\nexport { Alert, AlertTitle, AlertDescription } from \"./components/alert.js\";\nexport { Tabs, TabsList, TabsTrigger, TabsContent } from \"./components/tabs.js\";\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent } from \"./components/card.js\";\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent } from \"./components/collapsible.js\";\nexport { Button, buttonVariants } from \"./components/button.js\";\nexport type { ButtonProps } from \"./components/button.js\";\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from \"./components/popover.js\";\nexport { HelpIcon } from \"./components/help-icon.js\";\nexport { EmptyOrError } from \"./components/empty-or-error.js\";\nexport { NewCollectionMenu, CollectionTypeChoices, COLLECTION_TYPES } from \"./components/new-collection-menu.js\";\nexport { ExternalLinkField } from \"./components/external-link-field.js\";\nexport { PortfolioCollections } from \"./components/portfolio-collections.js\";\nexport { TabEmptyState } from \"./components/tab-empty-state.js\";\nexport type { TabEmptyStateProps } from \"./components/tab-empty-state.js\";\nexport {\n Select, SelectGroup, SelectValue, SelectTrigger, SelectContent,\n SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton,\n} from \"./components/select.js\";\nexport {\n useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField,\n} from \"./components/form.js\";\nexport { Textarea } from \"./components/textarea.js\";\nexport type { TextareaProps } from \"./components/textarea.js\";\nexport {\n Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent,\n SheetHeader, SheetFooter, SheetTitle, SheetDescription,\n} from \"./components/sheet.js\";\n\nexport { ToggleGroup, Section } from \"./components/create-form-primitives.js\";\nexport { OrderSortControl, sortOrders } from \"./components/order-sort-control.js\";\nexport type { OrderSort } from \"./components/order-sort-control.js\";\nexport { PriceHistoryChart } from \"./components/price-history-chart.js\";\nexport type { PriceHistoryChartProps } from \"./components/price-history-chart.js\";\nexport { NavThemeToggle } from \"./components/nav-theme-toggle.js\";\nexport { JsonLd } from \"./components/json-ld.js\";\nexport type { JsonLdProps } from \"./components/json-ld.js\";\nexport { CreationRecord } from \"./components/creation-record.js\";\nexport type { CreationRecordProps } from \"./components/creation-record.js\";\nexport { ClubOwnerActions } from \"./components/club-owner-actions.js\";\nexport type { ClubOwnerActionsProps } from \"./components/club-owner-actions.js\";\nexport { IPTypeFields } from \"./components/ip-type-fields.js\";\nexport type { IPTypeFieldsProps, MetadataField } from \"./components/ip-type-fields.js\";\n\nexport { FastMint } from \"./components/fast-mint/fast-mint.js\";\nexport { Dropzone } from \"./components/fast-mint/dropzone.js\";\nexport type { DropzoneProps } from \"./components/fast-mint/dropzone.js\";\nexport { SuccessView } from \"./components/fast-mint/success-view.js\";\nexport type { SuccessViewProps } from \"./components/fast-mint/success-view.js\";\nexport type {\n MediaKind, FastMintSigner, MintedAsset, FastMintProps,\n} from \"./components/fast-mint/types.js\";\nexport { readBodyWithCap } from \"./utils/proxy-body.js\";\nexport type { CappedBody } from \"./utils/proxy-body.js\";\nexport { formatActivity } from \"./utils/format-activity.js\";\nexport type { FormattedEvent } from \"./utils/format-activity.js\";\n\nexport { queryKeys, queryKeyPrefix, QUERY_PREFIX } from \"./utils/query-keys.js\";\nexport { useCollectionProfile, useCreatorProfile, useCreatorByUsername } from \"./utils/use-profiles.js\";\nexport { useActivities, useActivitiesByAddress } from \"./utils/use-activities.js\";\nexport {\n useCollections, useCollection, useCollectionsByOwner, useCollectionTokens, useNearbyCollectionTokens,\n} from \"./utils/use-collections.js\";\nexport type { CollectionSort } from \"./utils/use-collections.js\";\nexport { CreatorChip } from \"./components/creator-chip.js\";\nexport type { CreatorChipProps } from \"./components/creator-chip.js\";\nexport { CollectionProvenanceTab } from \"./components/collection-provenance-tab.js\";\nexport type { CollectionProvenanceTabProps } from \"./components/collection-provenance-tab.js\";\nexport { PortfolioActivity } from \"./components/portfolio-activity.js\";\nexport type { PortfolioActivityProps } from \"./components/portfolio-activity.js\";\nexport { CreatorScoreInline } from \"./components/creator-score-inline.js\";\nexport type { CreatorScoreInlineProps } from \"./components/creator-score-inline.js\";\n\nexport { useMedialaneClient } from \"./utils/use-medialane-client.js\";\n\nexport { MediaWalletOverlay, useMediaWallet } from \"./components/media-wallet/media-wallet-overlay.js\";\nexport type {\n MediaWalletAppProps,\n MediaWalletHeaderIdentity,\n MediaWalletSession,\n MediaWalletView,\n WalletWriteAction,\n WalletWriteStatus,\n} from \"./components/media-wallet/types.js\";\nexport { useAccounts } from \"./utils/use-accounts.js\";\nexport { useSearch, SEARCH_MIN_LENGTH, type UseSearchOptions } from \"./utils/use-search.js\";\nexport {\n useRewards, useLeaderboard, useRewardsEvents, useRewardsConfig, useRewardsBatch,\n} from \"./utils/use-rewards.js\";\nexport type { UserRewards, LeaderboardEntry, BadgeSummary, LevelSummary } from \"./utils/use-rewards.js\";\n\nexport {\n useOrders, useOrder, useTokenListings, useUserOrders, useCounterOffers,\n useReceivedOffers, useCollectionFloorListings,\n} from \"./utils/use-orders.js\";\nexport { useTokenRemixes } from \"./utils/use-remix-offers.js\";\nexport { useRemixOffers } from \"./utils/use-my-remix-offers.js\";\nexport { useSwapQuote, swapQuoteKey } from \"./utils/use-swap-quote.js\";\nexport { usePaymentOptions, pickPayment, PAYMENT_COINS, type PaymentOption } from \"./utils/use-payment-options.js\";\nexport { PurchasePanel, amountText, editionsAvailable, type PurchasePanelProps } from \"./components/purchase-panel.js\";\nexport type { SwapToken, SwapAmountMode, SwapQuoteSummary } from \"./utils/use-swap-quote.js\";\nexport { RemixesTab } from \"./components/remixes-tab.js\";\nexport type { RemixesTabProps } from \"./components/remixes-tab.js\";\n\nexport { DropCountdown } from \"./components/drop-countdown.js\";\nexport {\n Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger,\n DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription,\n} from \"./components/dialog.js\";\nexport { SelfFundConsentDialog, feeLabelFor } from \"./components/wallet/self-fund-consent-dialog.js\";\nexport { ExportKeySection, type ExportKeySectionProps } from \"./components/wallet/export-key-section.js\";\nexport { useDrops, useMyDrops, useDrop, useDropMints, useDropFee, useDropFile, useDropChain } from \"./utils/use-drops.js\";\nexport type { DropChainState } from \"./utils/use-drops.js\";\nexport { usePopCollections, useMyPopEvents, usePopClaimStatus } from \"./utils/use-pop.js\";\nexport { usePlatformStats } from \"./utils/use-platform-stats.js\";\nexport { useTokensByIpType } from \"./utils/use-tokens-by-ip-type.js\";\nexport { usePriceMap, useCoinPrice } from \"./utils/use-coin-price.js\";\nexport {\n useSponsorshipOffers, useSponsorshipOffer, useSponsorshipBids, useSponsorshipProposals,\n useSponsorshipProposal, usePendingProposalsForAsset, useSponsorshipLicenses, useMySponsorshipDealCounts,\n} from \"./utils/use-sponsorship.js\";\nexport {\n predictNextMembershipId, predictNextTicketId, useMyClubCollections, useMyTicketCollections,\n useMembershipList, useTicketList, useMembershipOnchain, useTicketOnchain, useIsMemberOf,\n type TierOnchain, type TierListItem,\n} from \"./utils/use-tiers.js\";\nexport { useToken, useTokenBalance, useTokenHistory, useTokensByOwner, useOwnedTokens } from \"./utils/use-tokens.js\";\nexport { checkIsOwner } from \"./utils/ownership.js\";\nexport { AssetOwnersPanel } from \"./components/asset-owners-panel.js\";\nexport { AssetUnavailable } from \"./components/asset-unavailable.js\";\nexport { AssetProvenanceTab } from \"./components/asset-provenance-tab.js\";\nexport { ASSET_ACCENTS, type AssetAccent, type AssetAccentName } from \"./utils/asset-accents.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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;AAE5B,uCAAwC;AAExC,gCAAkC;AAElC,kCAAmC;AAGnC,kCAAmC;AAEnC,kCAAmD;AASnD,0BAA4B;AAC5B,wBAAoE;AACpE,yBAEO;AAGP,wBAGO;AACP,8BAAgC;AAChC,iCAA+B;AAC/B,4BAA2C;AAC3C,iCAAkF;AAClF,4BAAsF;AAEtF,yBAA2B;AAG3B,4BAA8B;AAC9B,oBAGO;AACP,sCAAmD;AACnD,gCAA6D;AAC7D,uBAAmG;AAEnG,qBAAqE;AACrE,gCAAiC;AACjC,mCAAkC;AAClC,4BAA0C;AAC1C,6BAGO;AACP,uBAIO;AACP,wBAA6F;AAC7F,uBAA6B;AAC7B,gCAAiC;AACjC,+BAAiC;AACjC,kCAAmC;AACnC,2BAAsE;","names":["import_ipfs_gateway_fallback","import_ipfs","import_launchpad_services"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -144,6 +144,7 @@ export { JourneyContent } from './components/journey-content.cjs';
|
|
|
144
144
|
export { PortfolioSnapshot, RewardsSnapshot } from './components/settings-snapshots.cjs';
|
|
145
145
|
export { RouteError } from './components/route-error.cjs';
|
|
146
146
|
export { CreateSponsorshipAside } from './components/create-sponsorship-aside.cjs';
|
|
147
|
+
export { CREATE_ASIDE_KINDS, CreateAside, CreateAsideKind } from './components/create-aside.cjs';
|
|
147
148
|
export { AccountLoading, ActivitiesLoading, CollectionLoading, CollectionsLoading, CreatorLoading, IpTypeLoading, MarketplaceLoading, PortfolioLoading } from './components/page-skeletons.cjs';
|
|
148
149
|
export { REWARD_ACTION_LABELS, RewardsDashboard } from './components/rewards/rewards-dashboard.cjs';
|
|
149
150
|
export { LeaderboardPanel, LeaderboardPanelProps } from './components/rewards/leaderboard-panel.cjs';
|
|
@@ -217,7 +218,9 @@ export { TransferCollectionOwnership, TransferCollectionOwnershipProps } from '.
|
|
|
217
218
|
export { CoinCreate, CoinCreateProps } from './components/launchpad/coin-create.cjs';
|
|
218
219
|
export { WalletRequired, WalletRequiredProps } from './components/wallet-required.cjs';
|
|
219
220
|
export { ClaimRouteShell } from './components/claim-route-shell.cjs';
|
|
220
|
-
export {
|
|
221
|
+
export { useImageUpload } from './utils/use-image-upload.cjs';
|
|
222
|
+
export { FileUpload, FileUploadOptions, FileUploadStatus, useFileUpload } from './utils/use-file-upload.cjs';
|
|
223
|
+
export { ImageUploadField, ImageUploadFieldProps } from './components/image-upload-field.cjs';
|
|
221
224
|
export { invalidatePortfolioCache } from './utils/portfolio-cache.cjs';
|
|
222
225
|
export { TransactionDialog, TransactionDialogProps } from './components/transaction-dialog.cjs';
|
|
223
226
|
export { DialogTransactionSuccess, TransactionSuccess, TransactionSuccessAction, TransactionSuccessProps } from './components/transaction-success.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ export { JourneyContent } from './components/journey-content.js';
|
|
|
144
144
|
export { PortfolioSnapshot, RewardsSnapshot } from './components/settings-snapshots.js';
|
|
145
145
|
export { RouteError } from './components/route-error.js';
|
|
146
146
|
export { CreateSponsorshipAside } from './components/create-sponsorship-aside.js';
|
|
147
|
+
export { CREATE_ASIDE_KINDS, CreateAside, CreateAsideKind } from './components/create-aside.js';
|
|
147
148
|
export { AccountLoading, ActivitiesLoading, CollectionLoading, CollectionsLoading, CreatorLoading, IpTypeLoading, MarketplaceLoading, PortfolioLoading } from './components/page-skeletons.js';
|
|
148
149
|
export { REWARD_ACTION_LABELS, RewardsDashboard } from './components/rewards/rewards-dashboard.js';
|
|
149
150
|
export { LeaderboardPanel, LeaderboardPanelProps } from './components/rewards/leaderboard-panel.js';
|
|
@@ -217,7 +218,9 @@ export { TransferCollectionOwnership, TransferCollectionOwnershipProps } from '.
|
|
|
217
218
|
export { CoinCreate, CoinCreateProps } from './components/launchpad/coin-create.js';
|
|
218
219
|
export { WalletRequired, WalletRequiredProps } from './components/wallet-required.js';
|
|
219
220
|
export { ClaimRouteShell } from './components/claim-route-shell.js';
|
|
220
|
-
export {
|
|
221
|
+
export { useImageUpload } from './utils/use-image-upload.js';
|
|
222
|
+
export { FileUpload, FileUploadOptions, FileUploadStatus, useFileUpload } from './utils/use-file-upload.js';
|
|
223
|
+
export { ImageUploadField, ImageUploadFieldProps } from './components/image-upload-field.js';
|
|
221
224
|
export { invalidatePortfolioCache } from './utils/portfolio-cache.js';
|
|
222
225
|
export { TransactionDialog, TransactionDialogProps } from './components/transaction-dialog.js';
|
|
223
226
|
export { DialogTransactionSuccess, TransactionSuccess, TransactionSuccessAction, TransactionSuccessProps } from './components/transaction-success.js';
|