@pickaxeproject/react 6.0.1-8 → 6.0.2
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/cjs/common/utils.js +1 -1
- package/dist/cjs/components/Pickaxe/Chat/History/Message.js +1 -1
- package/dist/cjs/components/Pickaxe/Chat/History/index.js +1 -1
- package/dist/cjs/components/Pickaxe/Chat/Input.js +1 -1
- package/dist/cjs/components/Pickaxe/Chat/index.js +1 -1
- package/dist/cjs/components/Pickaxe/Form/Questions/Submit.js +1 -1
- package/dist/cjs/components/Pickaxe/Provider.js +1 -1
- package/dist/cjs/components/Pickaxe/common/PickaxeUpgradeCard.js +1 -1
- package/dist/cjs/components/Pickaxe/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.js +1 -1
- package/dist/cjs/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.js +1 -1
- package/dist/cjs/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.js +1 -1
- package/dist/cjs/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.js +1 -1
- package/dist/cjs/src/common/utils.d.ts +0 -2
- package/dist/cjs/src/components/Pickaxe/Provider.d.ts +2 -5
- package/dist/cjs/src/components/Pickaxe/ResponseProvider.d.ts +3 -6
- package/dist/cjs/src/components/Pickaxe/common/PickaxeUpgradeCard.d.ts +1 -1
- package/dist/cjs/src/hooks/pickaxe/usePickaxeContext.d.ts +0 -1
- package/dist/cjs/src/types/response.d.ts +0 -8
- package/dist/esm/common/utils.js +1 -1
- package/dist/esm/components/Pickaxe/Chat/History/Message.js +1 -1
- package/dist/esm/components/Pickaxe/Chat/History/index.js +1 -1
- package/dist/esm/components/Pickaxe/Chat/Input.js +1 -1
- package/dist/esm/components/Pickaxe/Chat/index.js +1 -1
- package/dist/esm/components/Pickaxe/Form/Questions/Submit.js +1 -1
- package/dist/esm/components/Pickaxe/Provider.js +1 -1
- package/dist/esm/components/Pickaxe/common/PickaxeUpgradeCard.js +1 -1
- package/dist/esm/components/Pickaxe/index.js +1 -1
- package/dist/esm/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.js +1 -1
- package/dist/esm/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.js +1 -1
- package/dist/esm/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.js +1 -1
- package/dist/esm/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.js +1 -1
- package/dist/esm/src/common/utils.d.ts +0 -2
- package/dist/esm/src/components/Pickaxe/Provider.d.ts +2 -5
- package/dist/esm/src/components/Pickaxe/ResponseProvider.d.ts +3 -6
- package/dist/esm/src/components/Pickaxe/common/PickaxeUpgradeCard.d.ts +1 -1
- package/dist/esm/src/hooks/pickaxe/usePickaxeContext.d.ts +0 -1
- package/dist/esm/src/types/response.d.ts +0 -8
- package/package.json +203 -206
- package/dist/cjs/components/Icons/pencil.svg.js +0 -1
- package/dist/cjs/components/Pickaxe/common/AccessGroupCardPreview.js +0 -1
- package/dist/cjs/components/Pickaxe/common/PickaxeAvatar.js +0 -1
- package/dist/cjs/components/Pickaxe/common/PickaxeCommon.js +0 -1
- package/dist/cjs/components/Pickaxe/common/PickaxeCurrency.js +0 -1
- package/dist/cjs/src/components/Pickaxe/common/AccessGroupCardPreview.d.ts +0 -9
- package/dist/cjs/src/components/Pickaxe/common/PickaxeAvatar.d.ts +0 -16
- package/dist/cjs/src/components/Pickaxe/common/PickaxeCommon.d.ts +0 -2
- package/dist/cjs/src/components/Pickaxe/common/PickaxeCurrency.d.ts +0 -7
- package/dist/esm/components/Icons/pencil.svg.js +0 -1
- package/dist/esm/components/Pickaxe/common/AccessGroupCardPreview.js +0 -1
- package/dist/esm/components/Pickaxe/common/PickaxeAvatar.js +0 -1
- package/dist/esm/components/Pickaxe/common/PickaxeCommon.js +0 -1
- package/dist/esm/components/Pickaxe/common/PickaxeCurrency.js +0 -1
- package/dist/esm/src/components/Pickaxe/common/AccessGroupCardPreview.d.ts +0 -9
- package/dist/esm/src/components/Pickaxe/common/PickaxeAvatar.d.ts +0 -16
- package/dist/esm/src/components/Pickaxe/common/PickaxeCommon.d.ts +0 -2
- package/dist/esm/src/components/Pickaxe/common/PickaxeCurrency.d.ts +0 -7
|
@@ -3,12 +3,9 @@ import type { MemoryStoredChatMessage, MemoryStoredFormResponse } from "../../ty
|
|
|
3
3
|
import { type ReactNode } from "react";
|
|
4
4
|
export type ResponseStatus = "fetching" | "streaming" | "idle";
|
|
5
5
|
export type PickaxeLimitData = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
limitLink?: string;
|
|
10
|
-
limitCTA: string;
|
|
11
|
-
accessGroupId: string;
|
|
6
|
+
html: string;
|
|
7
|
+
cta: string;
|
|
8
|
+
ctaLink: string;
|
|
12
9
|
};
|
|
13
10
|
type ResponseContextType = {
|
|
14
11
|
messages: MemoryStoredChatMessage[];
|
|
@@ -3,5 +3,5 @@ interface PickaxeUpgradeCardProps {
|
|
|
3
3
|
iconClassName?: string;
|
|
4
4
|
htmlClassName?: string;
|
|
5
5
|
}
|
|
6
|
-
declare const PickaxeUpgradeCard: ({ className, iconClassName, htmlClassName, }: PickaxeUpgradeCardProps) => import("react/jsx-runtime").JSX.Element
|
|
6
|
+
declare const PickaxeUpgradeCard: ({ className, iconClassName, htmlClassName, }: PickaxeUpgradeCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default PickaxeUpgradeCard;
|
|
@@ -10,7 +10,6 @@ export declare const usePickaxeContext: () => {
|
|
|
10
10
|
deploymentType?: import("../../components/Pickaxe/Provider").PickaxeDeploymentEmbedType | undefined;
|
|
11
11
|
deploymentDimensions?: import("../../components/Pickaxe/Provider").PickaxeDeploymentDimensions | undefined;
|
|
12
12
|
deploymentMisc?: import("../../components/Pickaxe/Provider").PickaxeDeploymentMisc | undefined;
|
|
13
|
-
portalId?: string | undefined;
|
|
14
13
|
pickaxe: import("../../types/pickaxe").LimitedPickaxe | null;
|
|
15
14
|
styles: import("../../components/Pickaxe/Provider").PickaxeProviderStyles;
|
|
16
15
|
colors: import("../../components/Pickaxe/Provider").PickaxeProviderColors;
|
|
@@ -9,11 +9,3 @@ export type MemoryStoredFormResponse = {
|
|
|
9
9
|
messageCount: number;
|
|
10
10
|
sentAt: Date;
|
|
11
11
|
};
|
|
12
|
-
export interface LimitData {
|
|
13
|
-
limitMessage: string;
|
|
14
|
-
buyUses?: any[];
|
|
15
|
-
upgradeGroups?: any[];
|
|
16
|
-
limitLink?: string;
|
|
17
|
-
accessGroupId?: string;
|
|
18
|
-
limitCTA?: string;
|
|
19
|
-
}
|
package/package.json
CHANGED
|
@@ -1,207 +1,204 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
"node": ">=18"
|
|
206
|
-
}
|
|
207
|
-
}
|
|
2
|
+
"name": "@pickaxeproject/react",
|
|
3
|
+
"version": "6.0.2",
|
|
4
|
+
"description": "Client utility library for Pickaxe",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/pickaxeproject/v2-pickaxe-react.git"
|
|
8
|
+
},
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/esm/index.js",
|
|
13
|
+
"require": "./dist/cjs/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./embed": {
|
|
16
|
+
"import": "./dist/esm/embed/index.js",
|
|
17
|
+
"require": "./dist/cjs/embed/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./prose.css": "./dist/esm/prose.css"
|
|
20
|
+
},
|
|
21
|
+
"main": "dist/cjs/index.js",
|
|
22
|
+
"module": "dist/esm/index.js",
|
|
23
|
+
"types": "dist/esm/src/index.d.ts",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"browserslist": [
|
|
28
|
+
"> 1%",
|
|
29
|
+
"not dead",
|
|
30
|
+
"not edge <= 18",
|
|
31
|
+
"not ie 11",
|
|
32
|
+
"not op_mini all"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@babel/runtime": "^7.20.7",
|
|
36
|
+
"@modelcontextprotocol/sdk": "1.20.2",
|
|
37
|
+
"franc-min": "^6.2.0",
|
|
38
|
+
"jose": "^6.1.3",
|
|
39
|
+
"lucide-react": "^0.563.0",
|
|
40
|
+
"pkce-challenge": "3.0.0",
|
|
41
|
+
"react-speech-recognition": "^4.0.1",
|
|
42
|
+
"regenerator-runtime": "^0.14.1",
|
|
43
|
+
"remove-markdown": "^0.6.3"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@babel/core": "^7.20.12",
|
|
47
|
+
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
48
|
+
"@babel/preset-env": "^7.20.2",
|
|
49
|
+
"@babel/preset-react": "^7.18.6",
|
|
50
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
51
|
+
"@changesets/cli": "^2.26.0",
|
|
52
|
+
"@chromatic-com/storybook": "3.2.3",
|
|
53
|
+
"@mdx-js/react": "^3.1.0",
|
|
54
|
+
"@nem035/gpt-3-encoder": "^1.1.7",
|
|
55
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
56
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
57
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
58
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
59
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
60
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
61
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
62
|
+
"@rollup/plugin-terser": "^0.3.0",
|
|
63
|
+
"@storybook/addon-a11y": "^8.5.3",
|
|
64
|
+
"@storybook/addon-docs": "^8.5.3",
|
|
65
|
+
"@storybook/addon-essentials": "^8.5.3",
|
|
66
|
+
"@storybook/addon-interactions": "^8.5.3",
|
|
67
|
+
"@storybook/addon-links": "^8.5.3",
|
|
68
|
+
"@storybook/addon-themes": "^8.5.3",
|
|
69
|
+
"@storybook/blocks": "^8.5.3",
|
|
70
|
+
"@storybook/react": "^8.5.3",
|
|
71
|
+
"@storybook/react-vite": "^8.5.3",
|
|
72
|
+
"@storybook/test": "^8.5.3",
|
|
73
|
+
"@svgr/rollup": "^8.1.0",
|
|
74
|
+
"@tailwindcss/container-queries": "^0.1.1",
|
|
75
|
+
"@tanstack/react-query": "^4.36.1",
|
|
76
|
+
"@types/hast": "^3.0.4",
|
|
77
|
+
"@types/katex": "^0.16.7",
|
|
78
|
+
"@types/node": "^18.11.18",
|
|
79
|
+
"@types/react": "^18.0.26",
|
|
80
|
+
"@types/react-dom": "^18.0.10",
|
|
81
|
+
"@types/react-speech-recognition": "^3.9.6",
|
|
82
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
83
|
+
"@types/uuid": "^10.0.0",
|
|
84
|
+
"@types/webfontloader": "^1.6.38",
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
|
86
|
+
"@typescript-eslint/parser": "^5.48.1",
|
|
87
|
+
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
88
|
+
"autoprefixer": "^10.4.20",
|
|
89
|
+
"axios": "^1.7.9",
|
|
90
|
+
"babel-loader": "^9.1.2",
|
|
91
|
+
"clsx": "^2.1.1",
|
|
92
|
+
"copy-to-clipboard": "^3.3.3",
|
|
93
|
+
"cross-env": "^7.0.3",
|
|
94
|
+
"csv-to-markdown-table": "^1.5.0",
|
|
95
|
+
"date-fns": "^3.6.0",
|
|
96
|
+
"docx": "^9.5.1",
|
|
97
|
+
"eslint": "8.31.0",
|
|
98
|
+
"eslint-config-prettier": "^8.6.0",
|
|
99
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
100
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
101
|
+
"eslint-plugin-react": "^7.32.0",
|
|
102
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
103
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
104
|
+
"eventsource-parser": "^3.0.2",
|
|
105
|
+
"file-saver": "^2.0.5",
|
|
106
|
+
"framer-motion": "^11.17.0",
|
|
107
|
+
"husky": "^8.0.3",
|
|
108
|
+
"isomorphic-dompurify": "^2.20.0",
|
|
109
|
+
"katex": "^0.16.19",
|
|
110
|
+
"lottie-react": "^2.4.0",
|
|
111
|
+
"mermaid": "^11.7.0",
|
|
112
|
+
"postcss": "^8.4.49",
|
|
113
|
+
"prettier": "^3.5.3",
|
|
114
|
+
"prismjs": "^1.29.0",
|
|
115
|
+
"react": "^18.2.0",
|
|
116
|
+
"react-dom": "^18.2.0",
|
|
117
|
+
"react-intersection-observer": "^9.14.1",
|
|
118
|
+
"react-markdown": "^9.0.3",
|
|
119
|
+
"react-resizable-panels": "^3.0.3",
|
|
120
|
+
"react-syntax-highlighter": "^15.6.1",
|
|
121
|
+
"react-textarea-autosize": "^8.5.9",
|
|
122
|
+
"react-to-print": "^3.1.1",
|
|
123
|
+
"react-tooltip": "^5.28.0",
|
|
124
|
+
"react-virtualized-auto-sizer": "^1.0.25",
|
|
125
|
+
"rehype-katex": "^7.0.1",
|
|
126
|
+
"rehype-raw": "^7.0.0",
|
|
127
|
+
"remark-gfm": "^4.0.0",
|
|
128
|
+
"remark-math": "^6.0.0",
|
|
129
|
+
"rollup": "^2.79.1",
|
|
130
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
131
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
132
|
+
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
133
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
134
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
135
|
+
"storybook": "^8.5.3",
|
|
136
|
+
"tailwind-merge": "^2.6.0",
|
|
137
|
+
"tailwind-scrollbar": "^3.1.0",
|
|
138
|
+
"tailwindcss": "^3.4.17",
|
|
139
|
+
"tslib": "^2.4.1",
|
|
140
|
+
"ttypescript": "^1.5.15",
|
|
141
|
+
"typescript": "^4.9.4",
|
|
142
|
+
"typescript-transform-paths": "^3.4.6",
|
|
143
|
+
"unist-util-visit": "^5.0.0",
|
|
144
|
+
"uuid": "^11.1.0",
|
|
145
|
+
"vite": "^6.0.7",
|
|
146
|
+
"vite-plugin-node-polyfills": "^0.24.0",
|
|
147
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
148
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
149
|
+
"webfontloader": "^1.6.28",
|
|
150
|
+
"webpack": "^5.75.0",
|
|
151
|
+
"webpack-cli": "^5.0.1"
|
|
152
|
+
},
|
|
153
|
+
"peerDependencies": {
|
|
154
|
+
"@nem035/gpt-3-encoder": "^1.1.7",
|
|
155
|
+
"@tailwindcss/container-queries": "^0.1.1",
|
|
156
|
+
"@tanstack/react-query": "^4.36.1",
|
|
157
|
+
"axios": "^1.7.9",
|
|
158
|
+
"clsx": "^2.1.1",
|
|
159
|
+
"copy-to-clipboard": "^3.3.3",
|
|
160
|
+
"csv-to-markdown-table": "^1.5.0",
|
|
161
|
+
"date-fns": "^3.6.0",
|
|
162
|
+
"docx": "^9.5.1",
|
|
163
|
+
"eventsource-parser": "^3.0.2",
|
|
164
|
+
"file-saver": "^2.0.5",
|
|
165
|
+
"framer-motion": "^11.17.0",
|
|
166
|
+
"isomorphic-dompurify": "^2.20.0",
|
|
167
|
+
"katex": "^0.16.19",
|
|
168
|
+
"lottie-react": "^2.4.0",
|
|
169
|
+
"prismjs": "^1.29.0",
|
|
170
|
+
"react": "^16.8.0 || ^17 || ^18",
|
|
171
|
+
"react-dom": "^16.8.0 || ^17 || ^18",
|
|
172
|
+
"react-intersection-observer": "^9.14.1",
|
|
173
|
+
"react-markdown": "^9.0.3",
|
|
174
|
+
"react-syntax-highlighter": "^15.6.1",
|
|
175
|
+
"react-textarea-autosize": "^8.5.9",
|
|
176
|
+
"react-to-print": "^3.1.1",
|
|
177
|
+
"react-tooltip": "^5.28.0",
|
|
178
|
+
"react-virtualized-auto-sizer": "^1.0.25",
|
|
179
|
+
"rehype-katex": "^7.0.1",
|
|
180
|
+
"rehype-raw": "^7.0.0",
|
|
181
|
+
"remark-gfm": "^4.0.0",
|
|
182
|
+
"remark-math": "^6.0.0",
|
|
183
|
+
"tailwind-merge": "^2.6.0",
|
|
184
|
+
"tailwind-scrollbar": "^3.1.0",
|
|
185
|
+
"unist-util-visit": "^5.0.0",
|
|
186
|
+
"uuid": "^11.1.0",
|
|
187
|
+
"webfontloader": "^1.6.28"
|
|
188
|
+
},
|
|
189
|
+
"engines": {
|
|
190
|
+
"node": ">=18"
|
|
191
|
+
},
|
|
192
|
+
"scripts": {
|
|
193
|
+
"build": "cross-env NODE_ENV=production rollup -c",
|
|
194
|
+
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
|
|
195
|
+
"lint:format": "prettier --check src/**/*",
|
|
196
|
+
"lint:staged": "pnpm run lint && pnpm run lint:format",
|
|
197
|
+
"format": "prettier --write .",
|
|
198
|
+
"changeset": "changeset",
|
|
199
|
+
"release": "changeset publish",
|
|
200
|
+
"dev": "storybook dev -p 6006",
|
|
201
|
+
"storybook": "storybook dev -p 6006",
|
|
202
|
+
"build-storybook": "storybook build"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}Object.defineProperty(exports,"__esModule",{value:!0});var r,t=e(require("react"));function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},n.apply(null,arguments)}var a=e=>t.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},e),r||(r=t.createElement("path",{fill:"currentColor",d:"m11.06 6.02.92.92L2.92 16H2v-.92zM14.66 0c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41L15.37.29c-.2-.2-.45-.29-.71-.29m-3.6 3.19L0 14.25V18h3.75L14.81 6.94z"})));exports.default=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("react"),t=require("../../../hooks/pickaxe/usePickaxeContext.js"),a=require("./PickaxeButton.js"),r=require("./PickaxeCommon.js"),n=require("./PickaxeCurrency.js"),o=require("./PickaxeAvatar.js"),c=require("../Addons/Auth/hooks/useAuthContext.js"),l=require("../../../common/api/pickaxe.js"),d=require("../../../common/utils.js"),u=require("../../../hooks/pickaxe/useResponseContext.js");exports.default=({data:x,children:m,upgradeUrl:p})=>{var f;const{limitData:j}=u.useResponseContext(),{colors:b,sender:v,pickaxe:h}=t.usePickaxeContext(),{token:k}=c.useAuthContext(),y=i.useMemo((()=>{var e;return null!==(e=x.displayName)&&void 0!==e?e:x.name}),[x]),g=i.useMemo((()=>{var e;return null!==(e=x.displayDescription)&&void 0!==e?e:x.description}),[x]),O=i.useMemo((()=>{var e;const{price:s,priceInterval:i,currency:t}=x;if(!s)return{price:"Free",suffix:""};const a=r.intervalToSuffix(i,!0);return{price:`${(null!==(e=n.currencyOptions.find((e=>e.id===t)))&&void 0!==e?e:n.currencyOptions[0]).symbol}${s.toLocaleString()}`,suffix:a}}),[x]),w=i.useMemo((()=>{const{limit:e,limitInterval:s}=x;if(e===r.STUDIO_INFINITY_VALUE)return{limit:"Unlimited",suffix:""};const i=r.intervalToSuffix(s,!0);return{limit:e.toLocaleString(),suffix:i}}),[x]);return s.jsxs("div",Object.assign({className:"relative flex min-h-[260px] w-[220px] shrink-0 snap-center flex-col justify-between rounded-xl border p-4 shadow-sm",style:{backgroundColor:b.secondary,color:b.secondaryText}},{children:[m,s.jsxs("div",Object.assign({className:"flex flex-col"},{children:[s.jsxs("div",Object.assign({className:"flex flex-col"},{children:[s.jsxs(o.Avatar,Object.assign({className:"h-8 w-8"},{children:[s.jsx(o.AvatarImage,{src:null!==(f=x.image)&&void 0!==f?f:"",alt:y}),s.jsx(o.AvatarFallback,{})]})),s.jsx("p",Object.assign({className:"mt-2 text-sm font-semibold line-clamp-1",title:y},{children:y})),Boolean(g)&&s.jsx("p",Object.assign({className:"mt-1 text-[10px] opacity-70 line-clamp-2 leading-tight"},{children:g})),s.jsxs("p",Object.assign({className:"mt-2 text-base font-semibold"},{children:[O.price,s.jsx("span",Object.assign({className:"text-xs font-normal opacity-70"},{children:O.suffix}))]}))]})),s.jsxs("div",Object.assign({className:"mt-3 flex flex-col border-t py-2",style:{borderTopColor:b.secondaryText}},{children:[s.jsx("span",Object.assign({className:"text-[10px] font-bold opacity-50"},{children:"USES"})),s.jsxs("p",Object.assign({className:"text-base font-semibold"},{children:[w.limit,s.jsx("span",Object.assign({className:"text-xs font-normal opacity-70"},{children:w.suffix}))]}))]}))]})),s.jsx(a.default,Object.assign({variant:"primary",className:"w-full mt-2 min-h-[32px] text-xs",onClick:()=>{k?e.__awaiter(void 0,void 0,void 0,(function*(){try{const e=yield l.default.post("/access_group_checkout",{data:{studioUserId:v||void 0,studioId:null==h?void 0:h.studioid,accessGroupId:x.accessGroupId,successUrl:document.URL,isEmbed:d.isInIframe(),studioSessionToken:k}});if(e.data.success){const s=e.data.url;if(s)if(d.isInIframe())try{window.open(s,"_blank")}catch(e){window.open(s,"_blank")}else window.location.href=s;else window.location.reload()}else{const s=e.data.error;alert(s)}}catch(e){alert(e)}})):window.open(p||`${null==j?void 0:j.limitLink}?redirectUrl=${document.URL}`)}},{children:x.ctaButtonText}))]}))};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),a=require("react/jsx-runtime"),s=require("react"),r=require("../../../common/cn.js"),t=require("@radix-ui/react-avatar");function l(e){if(e&&e.__esModule)return e;var a=Object.create(null);return e&&Object.keys(e).forEach((function(s){if("default"!==s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(a,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}})),a.default=e,Object.freeze(a)}var c=l(s),n=l(t);const d=c.forwardRef(((s,t)=>{var{className:l}=s,c=e.__rest(s,["className"]);return a.jsx(n.Root,Object.assign({ref:t,className:r.default("relative flex h-6 w-6 shrink-0 overflow-hidden rounded-full",l)},c))}));d.displayName=n.Root.displayName;const i=c.forwardRef(((s,t)=>{var{className:l}=s,c=e.__rest(s,["className"]);return a.jsx(n.Image,Object.assign({ref:t,className:r.default("aspect-square h-full w-full",l)},c))}));i.displayName=n.Image.displayName;const u=c.forwardRef(((s,t)=>{var{className:l}=s,c=e.__rest(s,["className"]);return a.jsx(n.Fallback,Object.assign({ref:t,className:r.default("flex h-full w-full select-none items-center justify-center rounded-full bg-muted text-sm text-muted-foreground",l)},c))}));u.displayName=n.Fallback.displayName;const o=c.forwardRef(((s,t)=>{var{className:l,data:c,max:n=5,avatarClassName:o}=s,m=e.__rest(s,["className","data","max","avatarClassName"]);const f=n&&c.length>n,x=f?c.slice(0,n):c,j=f?c.length-n:0;return a.jsxs("div",Object.assign({ref:t,className:r.default("flex items-center",l)},m,{children:[x.map((({src:e,initials:s},t)=>a.jsx("div",Object.assign({className:r.default(0!==t&&"-ml-2","rounded-full border-2 border-background"),style:{zIndex:x.length-t}},{children:a.jsxs(d,Object.assign({},o&&{className:o},{children:[a.jsx(i,{src:e}),a.jsx(u,Object.assign({className:"text-xs"},{children:s}))]}))}),t))),f&&a.jsxs("div",Object.assign({className:r.default("text-sm text-muted-foreground",0!==x.length&&"ml-1"),style:{zIndex:0}},{children:["+",j]}))]}))}));o.displayName="AvatarGroup",exports.Avatar=d,exports.AvatarFallback=u,exports.AvatarGroup=o,exports.AvatarImage=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.STUDIO_INFINITY_VALUE=-1337,exports.intervalToSuffix=(e,r=!1)=>"day"===e?r?"/daily":"/day":"week"===e?r?"/weekly":"/wk":"month"===e?r?"/monthly":"/mo":"year"===e?r?"/yearly":"/yr":"";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.currencyOptions=[{id:"usd",label:"US Dollar ($)",min:.5,symbol:"$",decimals:2},{id:"eur",label:"Euro (€)",min:.5,symbol:"€",decimals:2},{id:"gbp",label:"British Pound (£)",min:.3,symbol:"£",decimals:2},{id:"jpy",label:"Japanese Yen (¥)",min:50,symbol:"¥",decimals:0},{id:"aud",label:"Australian Dollar ($)",min:.5,symbol:"A$",decimals:2},{id:"cad",label:"Canadian Dollar ($)",min:.5,symbol:"C$",decimals:2},{id:"cny",label:"Chinese Yuan (¥)",min:3,symbol:"CN¥",decimals:2},{id:"chf",label:"Swiss Franc (Fr)",min:.5,symbol:"Fr",decimals:2},{id:"inr",label:"Indian Rupee (₹)",min:.5,symbol:"₹",decimals:2},{id:"sgd",label:"Singapore Dollar ($)",min:.5,symbol:"S$",decimals:2},{id:"hkd",label:"Hong Kong Dollar ($)",min:4,symbol:"HK$",decimals:2},{id:"krw",label:"South Korean Won (₩)",min:500,symbol:"₩",decimals:0},{id:"nzd",label:"New Zealand Dollar ($)",min:.5,symbol:"NZ$",decimals:2},{id:"zar",label:"South African Rand (R)",min:5,symbol:"R",decimals:2},{id:"brl",label:"Brazilian Real (R$)",min:.5,symbol:"R$",decimals:2},{id:"mxn",label:"Mexican Peso ($)",min:10,symbol:"MX$",decimals:2},{id:"sek",label:"Swedish Krona (kr)",min:3,symbol:"kr",decimals:2},{id:"nok",label:"Norwegian Krone (kr)",min:3,symbol:"kr",decimals:2},{id:"try",label:"Turkish Lira (₺)",min:.5,symbol:"₺",decimals:2},{id:"thb",label:"Thai Baht (฿)",min:10,symbol:"฿",decimals:2},{id:"pln",label:"Polish Złoty (zł)",min:2,symbol:"zł",decimals:2},{id:"myr",label:"Malaysian Ringgit (RM)",min:2,symbol:"RM",decimals:2},{id:"idr",label:"Indonesian Rupiah (Rp)",min:5e3,symbol:"Rp",decimals:2},{id:"czk",label:"Czech Koruna (Kč)",min:15,symbol:"Kč",decimals:2},{id:"bgn",label:"Bulgarian Lev (лв)",min:1,symbol:"лв",decimals:2},{id:"rub",label:"Russian Ruble (₽)",min:30,symbol:"₽",decimals:2}];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
interface AccessGroupCardPreviewProps {
|
|
3
|
-
data: any;
|
|
4
|
-
accessGroupId?: string;
|
|
5
|
-
upgradeUrl?: string | null;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare const AccessGroupCardPreview: ({ data, children, upgradeUrl, }: AccessGroupCardPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default AccessGroupCardPreview;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
-
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
5
|
-
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
-
export type AvatarGroupItem = {
|
|
7
|
-
src?: string;
|
|
8
|
-
initials: string;
|
|
9
|
-
};
|
|
10
|
-
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
11
|
-
data: AvatarGroupItem[];
|
|
12
|
-
max?: number;
|
|
13
|
-
avatarClassName?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
export { Avatar, AvatarImage, AvatarFallback, AvatarGroup };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as r from"react";var e;function t(){return t=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},t.apply(null,arguments)}var n=n=>r.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},n),e||(e=r.createElement("path",{fill:"currentColor",d:"m11.06 6.02.92.92L2.92 16H2v-.92zM14.66 0c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41L15.37.29c-.2-.2-.45-.29-.71-.29m-3.6 3.19L0 14.25V18h3.75L14.81 6.94z"})));export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__awaiter as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useMemo as s}from"react";import{usePickaxeContext as o}from"../../../hooks/pickaxe/usePickaxeContext.js";import r from"./PickaxeButton.js";import{STUDIO_INFINITY_VALUE as a,intervalToSuffix as n}from"./PickaxeCommon.js";import{currencyOptions as c}from"./PickaxeCurrency.js";import{Avatar as l,AvatarImage as d,AvatarFallback as m}from"./PickaxeAvatar.js";import{useAuthContext as p}from"../Addons/Auth/hooks/useAuthContext.js";import u from"../../../common/api/pickaxe.js";import{isInIframe as f}from"../../../common/utils.js";import{useResponseContext as x}from"../../../hooks/pickaxe/useResponseContext.js";const b=({data:b,children:h,upgradeUrl:j})=>{var v;const{limitData:g}=x(),{colors:k,sender:y,pickaxe:w}=o(),{token:N}=p(),O=s((()=>{var e;return null!==(e=b.displayName)&&void 0!==e?e:b.name}),[b]),C=s((()=>{var e;return null!==(e=b.displayDescription)&&void 0!==e?e:b.description}),[b]),U=s((()=>{var e;const{price:t,priceInterval:i,currency:s}=b;if(!t)return{price:"Free",suffix:""};const o=n(i,!0);return{price:`${(null!==(e=c.find((e=>e.id===s)))&&void 0!==e?e:c[0]).symbol}${t.toLocaleString()}`,suffix:o}}),[b]),I=s((()=>{const{limit:e,limitInterval:t}=b;if(e===a)return{limit:"Unlimited",suffix:""};const i=n(t,!0);return{limit:e.toLocaleString(),suffix:i}}),[b]);return t("div",Object.assign({className:"relative flex min-h-[260px] w-[220px] shrink-0 snap-center flex-col justify-between rounded-xl border p-4 shadow-sm",style:{backgroundColor:k.secondary,color:k.secondaryText}},{children:[h,t("div",Object.assign({className:"flex flex-col"},{children:[t("div",Object.assign({className:"flex flex-col"},{children:[t(l,Object.assign({className:"h-8 w-8"},{children:[i(d,{src:null!==(v=b.image)&&void 0!==v?v:"",alt:O}),i(m,{})]})),i("p",Object.assign({className:"mt-2 text-sm font-semibold line-clamp-1",title:O},{children:O})),Boolean(C)&&i("p",Object.assign({className:"mt-1 text-[10px] opacity-70 line-clamp-2 leading-tight"},{children:C})),t("p",Object.assign({className:"mt-2 text-base font-semibold"},{children:[U.price,i("span",Object.assign({className:"text-xs font-normal opacity-70"},{children:U.suffix}))]}))]})),t("div",Object.assign({className:"mt-3 flex flex-col border-t py-2",style:{borderTopColor:k.secondaryText}},{children:[i("span",Object.assign({className:"text-[10px] font-bold opacity-50"},{children:"USES"})),t("p",Object.assign({className:"text-base font-semibold"},{children:[I.limit,i("span",Object.assign({className:"text-xs font-normal opacity-70"},{children:I.suffix}))]}))]}))]})),i(r,Object.assign({variant:"primary",className:"w-full mt-2 min-h-[32px] text-xs",onClick:()=>{N?e(void 0,void 0,void 0,(function*(){try{const e=yield u.post("/access_group_checkout",{data:{studioUserId:y||void 0,studioId:null==w?void 0:w.studioid,accessGroupId:b.accessGroupId,successUrl:document.URL,isEmbed:f(),studioSessionToken:N}});if(e.data.success){const t=e.data.url;if(t)if(f())try{window.open(t,"_blank")}catch(e){window.open(t,"_blank")}else window.location.href=t;else window.location.reload()}else{const t=e.data.error;alert(t)}}catch(e){alert(e)}})):window.open(j||`${null==g?void 0:g.limitLink}?redirectUrl=${document.URL}`)}},{children:b.ctaButtonText}))]}))};export{b as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__rest as a}from"../../../_virtual/_tslib.js";import{jsx as e,jsxs as s}from"react/jsx-runtime";import*as r from"react";import l from"../../../common/cn.js";import*as t from"@radix-ui/react-avatar";const m=r.forwardRef(((s,r)=>{var{className:m}=s,c=a(s,["className"]);return e(t.Root,Object.assign({ref:r,className:l("relative flex h-6 w-6 shrink-0 overflow-hidden rounded-full",m)},c))}));m.displayName=t.Root.displayName;const c=r.forwardRef(((s,r)=>{var{className:m}=s,c=a(s,["className"]);return e(t.Image,Object.assign({ref:r,className:l("aspect-square h-full w-full",m)},c))}));c.displayName=t.Image.displayName;const n=r.forwardRef(((s,r)=>{var{className:m}=s,c=a(s,["className"]);return e(t.Fallback,Object.assign({ref:r,className:l("flex h-full w-full select-none items-center justify-center rounded-full bg-muted text-sm text-muted-foreground",m)},c))}));n.displayName=t.Fallback.displayName;const i=r.forwardRef(((r,t)=>{var{className:i,data:d,max:o=5,avatarClassName:f}=r,u=a(r,["className","data","max","avatarClassName"]);const N=o&&d.length>o,g=N?d.slice(0,o):d,p=N?d.length-o:0;return s("div",Object.assign({ref:t,className:l("flex items-center",i)},u,{children:[g.map((({src:a,initials:r},t)=>e("div",Object.assign({className:l(0!==t&&"-ml-2","rounded-full border-2 border-background"),style:{zIndex:g.length-t}},{children:s(m,Object.assign({},f&&{className:f},{children:[e(c,{src:a}),e(n,Object.assign({className:"text-xs"},{children:r}))]}))}),t))),N&&s("div",Object.assign({className:l("text-sm text-muted-foreground",0!==g.length&&"ml-1"),style:{zIndex:0}},{children:["+",p]}))]}))}));i.displayName="AvatarGroup";export{m as Avatar,n as AvatarFallback,i as AvatarGroup,c as AvatarImage};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const y=(y,e=!1)=>"day"===y?e?"/daily":"/day":"week"===y?e?"/weekly":"/wk":"month"===y?e?"/monthly":"/mo":"year"===y?e?"/yearly":"/yr":"",e=-1337;export{e as STUDIO_INFINITY_VALUE,y as intervalToSuffix};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const l=[{id:"usd",label:"US Dollar ($)",min:.5,symbol:"$",decimals:2},{id:"eur",label:"Euro (€)",min:.5,symbol:"€",decimals:2},{id:"gbp",label:"British Pound (£)",min:.3,symbol:"£",decimals:2},{id:"jpy",label:"Japanese Yen (¥)",min:50,symbol:"¥",decimals:0},{id:"aud",label:"Australian Dollar ($)",min:.5,symbol:"A$",decimals:2},{id:"cad",label:"Canadian Dollar ($)",min:.5,symbol:"C$",decimals:2},{id:"cny",label:"Chinese Yuan (¥)",min:3,symbol:"CN¥",decimals:2},{id:"chf",label:"Swiss Franc (Fr)",min:.5,symbol:"Fr",decimals:2},{id:"inr",label:"Indian Rupee (₹)",min:.5,symbol:"₹",decimals:2},{id:"sgd",label:"Singapore Dollar ($)",min:.5,symbol:"S$",decimals:2},{id:"hkd",label:"Hong Kong Dollar ($)",min:4,symbol:"HK$",decimals:2},{id:"krw",label:"South Korean Won (₩)",min:500,symbol:"₩",decimals:0},{id:"nzd",label:"New Zealand Dollar ($)",min:.5,symbol:"NZ$",decimals:2},{id:"zar",label:"South African Rand (R)",min:5,symbol:"R",decimals:2},{id:"brl",label:"Brazilian Real (R$)",min:.5,symbol:"R$",decimals:2},{id:"mxn",label:"Mexican Peso ($)",min:10,symbol:"MX$",decimals:2},{id:"sek",label:"Swedish Krona (kr)",min:3,symbol:"kr",decimals:2},{id:"nok",label:"Norwegian Krone (kr)",min:3,symbol:"kr",decimals:2},{id:"try",label:"Turkish Lira (₺)",min:.5,symbol:"₺",decimals:2},{id:"thb",label:"Thai Baht (฿)",min:10,symbol:"฿",decimals:2},{id:"pln",label:"Polish Złoty (zł)",min:2,symbol:"zł",decimals:2},{id:"myr",label:"Malaysian Ringgit (RM)",min:2,symbol:"RM",decimals:2},{id:"idr",label:"Indonesian Rupiah (Rp)",min:5e3,symbol:"Rp",decimals:2},{id:"czk",label:"Czech Koruna (Kč)",min:15,symbol:"Kč",decimals:2},{id:"bgn",label:"Bulgarian Lev (лв)",min:1,symbol:"лв",decimals:2},{id:"rub",label:"Russian Ruble (₽)",min:30,symbol:"₽",decimals:2}];export{l as currencyOptions};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
interface AccessGroupCardPreviewProps {
|
|
3
|
-
data: any;
|
|
4
|
-
accessGroupId?: string;
|
|
5
|
-
upgradeUrl?: string | null;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare const AccessGroupCardPreview: ({ data, children, upgradeUrl, }: AccessGroupCardPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default AccessGroupCardPreview;
|