@swarm.ing/pieui 2.1.4 → 2.1.6
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/README.md +595 -124
- package/dist/cli.js +2208 -14
- package/dist/code/commands/listEvents.d.ts.map +1 -1
- package/dist/code/commands/registry.d.ts.map +1 -1
- package/dist/components/PieCard/index.d.ts +1 -1
- package/dist/components/PieCard/index.d.ts.map +1 -1
- package/dist/components/PieCard/types/index.d.ts +11 -0
- package/dist/components/PieCard/types/index.d.ts.map +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/max/index.esm.js +1 -1
- package/dist/max/index.js +1 -1
- package/dist/native/PieNativeRoot.d.ts +15 -0
- package/dist/native/PieNativeRoot.d.ts.map +1 -0
- package/dist/native/components/AutoRedirectCard.d.ts +10 -0
- package/dist/native/components/AutoRedirectCard.d.ts.map +1 -0
- package/dist/native/components/BoxCard.d.ts +13 -0
- package/dist/native/components/BoxCard.d.ts.map +1 -0
- package/dist/native/components/DeviceStorageCard.d.ts +12 -0
- package/dist/native/components/DeviceStorageCard.d.ts.map +1 -0
- package/dist/native/components/HTMLEmbedCard.d.ts +11 -0
- package/dist/native/components/HTMLEmbedCard.d.ts.map +1 -0
- package/dist/native/components/HiddenCard.d.ts +11 -0
- package/dist/native/components/HiddenCard.d.ts.map +1 -0
- package/dist/native/components/IOEventsCard.d.ts +11 -0
- package/dist/native/components/IOEventsCard.d.ts.map +1 -0
- package/dist/native/components/OneOfCard.d.ts +12 -0
- package/dist/native/components/OneOfCard.d.ts.map +1 -0
- package/dist/native/components/SequenceCard.d.ts +12 -0
- package/dist/native/components/SequenceCard.d.ts.map +1 -0
- package/dist/native/components/SessionStorageCard.d.ts +9 -0
- package/dist/native/components/SessionStorageCard.d.ts.map +1 -0
- package/dist/native/components/index.d.ts +13 -0
- package/dist/native/components/index.d.ts.map +1 -0
- package/dist/native/index.d.ts +41 -0
- package/dist/native/index.d.ts.map +1 -0
- package/dist/native/index.esm.js +3 -0
- package/dist/native/index.js +3 -0
- package/dist/platform/clientSources.d.ts +4 -0
- package/dist/platform/clientSources.d.ts.map +1 -0
- package/dist/platform/clientSources.native.d.ts +4 -0
- package/dist/platform/clientSources.native.d.ts.map +1 -0
- package/dist/platform/clientSources.web.d.ts +10 -0
- package/dist/platform/clientSources.web.d.ts.map +1 -0
- package/dist/platform/nativeConfig.d.ts +63 -0
- package/dist/platform/nativeConfig.d.ts.map +1 -0
- package/dist/platform/nativeFormStore.d.ts +12 -0
- package/dist/platform/nativeFormStore.d.ts.map +1 -0
- package/dist/platform/types.d.ts +39 -0
- package/dist/platform/types.d.ts.map +1 -0
- package/dist/providers/SocketIOInitProvider.d.ts.map +1 -1
- package/dist/telegram/index.esm.js +1 -1
- package/dist/telegram/index.js +1 -1
- package/dist/tests/centrifugeRecovery.test.d.ts +2 -0
- package/dist/tests/centrifugeRecovery.test.d.ts.map +1 -0
- package/dist/tests/clientSources.test.d.ts +2 -0
- package/dist/tests/clientSources.test.d.ts.map +1 -0
- package/dist/tests/clientSourcesNative.test.d.ts +12 -0
- package/dist/tests/clientSourcesNative.test.d.ts.map +1 -0
- package/dist/tests/piecardRecovery.test.d.ts +2 -0
- package/dist/tests/piecardRecovery.test.d.ts.map +1 -0
- package/dist/util/ajaxCommonUtils.d.ts.map +1 -1
- package/dist/util/centrifuge.d.ts +5 -0
- package/dist/util/centrifuge.d.ts.map +1 -1
- package/dist/util/centrifugeRecovery.d.ts +26 -0
- package/dist/util/centrifugeRecovery.d.ts.map +1 -0
- package/dist/util/globalForm.d.ts +4 -5
- package/dist/util/globalForm.d.ts.map +1 -1
- package/dist/util/waitForSidAvailable.d.ts.map +1 -1
- package/package.json +17 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centrifugeRecovery.d.ts","sourceRoot":"","sources":["../../src/util/centrifugeRecovery.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B,yEAAyE;IACzE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAE1D;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAEpE"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Submits the hidden global PieUI form (`#piedata_global_form`) that is
|
|
3
|
-
* rendered by every PieRoot variant.
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* No-ops on the server and when the form element has not been mounted yet.
|
|
3
|
+
* rendered by every PieRoot variant. Delegates to the active platform's
|
|
4
|
+
* `ClientSources` implementation, which no-ops when the form is not mounted
|
|
5
|
+
* (and on the server). On React Native there is no HTML form; the native
|
|
6
|
+
* implementation supplies its own submission strategy.
|
|
8
7
|
*/
|
|
9
8
|
export declare const submitGlobalForm: () => void;
|
|
10
9
|
//# sourceMappingURL=globalForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalForm.d.ts","sourceRoot":"","sources":["../../src/util/globalForm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"globalForm.d.ts","sourceRoot":"","sources":["../../src/util/globalForm.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,YAE5B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitForSidAvailable.d.ts","sourceRoot":"","sources":["../../src/util/waitForSidAvailable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"waitForSidAvailable.d.ts","sourceRoot":"","sources":["../../src/util/waitForSidAvailable.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAgB,gBAAgB,SAE/B;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAe3D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swarm.ing/pieui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "A React component library featuring PieCard component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
"require": "./dist/telegram/index.js",
|
|
40
40
|
"types": "./dist/telegram/index.d.ts"
|
|
41
41
|
},
|
|
42
|
+
"./native": {
|
|
43
|
+
"react-native": "./dist/native/index.esm.js",
|
|
44
|
+
"import": "./dist/native/index.esm.js",
|
|
45
|
+
"require": "./dist/native/index.js",
|
|
46
|
+
"types": "./dist/native/index.d.ts"
|
|
47
|
+
},
|
|
42
48
|
"./max": {
|
|
43
49
|
"import": "./dist/max/index.esm.js",
|
|
44
50
|
"require": "./dist/max/index.js",
|
|
@@ -61,8 +67,8 @@
|
|
|
61
67
|
}
|
|
62
68
|
},
|
|
63
69
|
"scripts": {
|
|
64
|
-
"build": "rm -rf ./dist && rm -rf pieui-*.tgz && bun run build:clean && NODE_ENV=production bun run build:esm && NODE_ENV=production bun run build:cjs && NODE_ENV=production bun run build:components:esm && NODE_ENV=production bun run build:components:cjs && NODE_ENV=production bun run build:agent:esm && NODE_ENV=production bun run build:agent:cjs && NODE_ENV=production bun run build:telegram:esm && NODE_ENV=production bun run build:telegram:cjs && NODE_ENV=production bun run build:max:esm && NODE_ENV=production bun run build:max:cjs && NODE_ENV=production bun run build:storybook:esm && NODE_ENV=production bun run build:storybook:cjs && NODE_ENV=production bun run build:storybook:addon:esm && NODE_ENV=production bun run build:storybook:addon:cjs && NODE_ENV=production bun run build:storybook:addon:manager:esm && NODE_ENV=production bun run build:storybook:addon:manager:cjs && NODE_ENV=production bun run build:storybook:addon:preset && bun run build:banner && NODE_ENV=production bun run build:types && NODE_ENV=production bun run build:cli && bun src/cli.ts postbuild --src-dir src --out-dir dist && bun pm pack",
|
|
65
|
-
"build:banner": "node -e \"const fs=require('fs');['dist/index.esm.js','dist/index.js','dist/components/index.esm.js','dist/components/index.js','dist/agent/index.esm.js','dist/agent/index.js','dist/telegram/index.esm.js','dist/telegram/index.js','dist/max/index.esm.js','dist/max/index.js','dist/storybook/index.esm.js','dist/storybook/index.js','dist/storybook/addon/index.esm.js','dist/storybook/addon/index.js'].forEach(f=>{if(fs.existsSync(f)){fs.writeFileSync(f,'\\\"use client\\\";\\n'+fs.readFileSync(f,'utf8'))}})\"",
|
|
70
|
+
"build": "rm -rf ./dist && rm -rf pieui-*.tgz && bun run build:clean && NODE_ENV=production bun run build:esm && NODE_ENV=production bun run build:cjs && NODE_ENV=production bun run build:components:esm && NODE_ENV=production bun run build:components:cjs && NODE_ENV=production bun run build:agent:esm && NODE_ENV=production bun run build:agent:cjs && NODE_ENV=production bun run build:telegram:esm && NODE_ENV=production bun run build:telegram:cjs && NODE_ENV=production bun run build:native:esm && NODE_ENV=production bun run build:native:cjs && NODE_ENV=production bun run build:max:esm && NODE_ENV=production bun run build:max:cjs && NODE_ENV=production bun run build:storybook:esm && NODE_ENV=production bun run build:storybook:cjs && NODE_ENV=production bun run build:storybook:addon:esm && NODE_ENV=production bun run build:storybook:addon:cjs && NODE_ENV=production bun run build:storybook:addon:manager:esm && NODE_ENV=production bun run build:storybook:addon:manager:cjs && NODE_ENV=production bun run build:storybook:addon:preset && bun run build:banner && NODE_ENV=production bun run build:types && NODE_ENV=production bun run build:cli && bun src/cli.ts postbuild --src-dir src --out-dir dist && bun pm pack",
|
|
71
|
+
"build:banner": "node -e \"const fs=require('fs');['dist/index.esm.js','dist/index.js','dist/components/index.esm.js','dist/components/index.js','dist/agent/index.esm.js','dist/agent/index.js','dist/telegram/index.esm.js','dist/telegram/index.js','dist/native/index.esm.js','dist/native/index.js','dist/max/index.esm.js','dist/max/index.js','dist/storybook/index.esm.js','dist/storybook/index.js','dist/storybook/addon/index.esm.js','dist/storybook/addon/index.js'].forEach(f=>{if(fs.existsSync(f)){fs.writeFileSync(f,'\\\"use client\\\";\\n'+fs.readFileSync(f,'utf8'))}})\"",
|
|
66
72
|
"build:clean": "rm -rf dist",
|
|
67
73
|
"build:esm": "bun build src/index.ts --outfile dist/index.esm.js --format esm --target browser --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
68
74
|
"build:cjs": "bun build src/index.ts --outfile dist/index.js --format cjs --target node --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
@@ -72,6 +78,8 @@
|
|
|
72
78
|
"build:agent:cjs": "bun build src/agent/index.ts --outfile dist/agent/index.js --format cjs --target node --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
73
79
|
"build:telegram:esm": "bun build src/telegram/index.ts --outfile dist/telegram/index.esm.js --format esm --target browser --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
74
80
|
"build:telegram:cjs": "bun build src/telegram/index.ts --outfile dist/telegram/index.js --format cjs --target node --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
81
|
+
"build:native:esm": "bun build src/native/index.ts --outfile dist/native/index.esm.js --format esm --target browser --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
82
|
+
"build:native:cjs": "bun build src/native/index.ts --outfile dist/native/index.js --format cjs --target node --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
75
83
|
"build:max:esm": "bun build src/max/index.ts --outfile dist/max/index.esm.js --format esm --target browser --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
76
84
|
"build:max:cjs": "bun build src/max/index.ts --outfile dist/max/index.js --format cjs --target node --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
77
85
|
"build:storybook:esm": "bun build src/storybook/index.tsx --outfile dist/storybook/index.esm.js --format esm --target browser --jsx=automatic --jsx-import-source=react --minify --packages=external",
|
|
@@ -124,11 +132,15 @@
|
|
|
124
132
|
"peerDependencies": {
|
|
125
133
|
"react": ">=19",
|
|
126
134
|
"react-dom": ">=19",
|
|
127
|
-
"@openai/agents": "^0.4.5"
|
|
135
|
+
"@openai/agents": "^0.4.5",
|
|
136
|
+
"react-native": ">=0.74"
|
|
128
137
|
},
|
|
129
138
|
"peerDependenciesMeta": {
|
|
130
139
|
"@openai/agents": {
|
|
131
140
|
"optional": true
|
|
141
|
+
},
|
|
142
|
+
"react-native": {
|
|
143
|
+
"optional": true
|
|
132
144
|
}
|
|
133
145
|
},
|
|
134
146
|
"devDependencies": {
|
|
@@ -147,6 +159,7 @@
|
|
|
147
159
|
"happy-dom": "^20.8.9",
|
|
148
160
|
"lint-staged": "^16.2.7",
|
|
149
161
|
"postcss": "8",
|
|
162
|
+
"react-native": "0.85.3",
|
|
150
163
|
"tailwindcss": "3",
|
|
151
164
|
"typescript": ">=5",
|
|
152
165
|
"typescript-json-schema": "^0.67.1"
|