@player-ui/common-types-plugin 0.7.0 → 0.7.1-next.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/common-types-plugin.dev.js +254 -275
- package/dist/common-types-plugin.prod.js +1 -1
- package/dist/index.cjs.js +5 -7
- package/dist/index.esm.js +5 -7
- package/dist/xlr/BooleanType.json +1 -1
- package/dist/xlr/CollectionType.json +1 -1
- package/dist/xlr/DateType.json +1 -1
- package/dist/xlr/IntegerNNType.json +1 -1
- package/dist/xlr/IntegerPosType.json +1 -1
- package/dist/xlr/IntegerType.json +1 -1
- package/dist/xlr/PhoneType.json +1 -1
- package/dist/xlr/StringType.json +1 -1
- package/package.json +3 -3
- package/src/formats/utils.ts +6 -7
package/dist/index.cjs.js
CHANGED
|
@@ -379,13 +379,11 @@ const formatAsEnum = (value, acceptedValues, options) => {
|
|
|
379
379
|
if (overlap === 0) {
|
|
380
380
|
return validCompletions;
|
|
381
381
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
}
|
|
388
|
-
];
|
|
382
|
+
validCompletions.push({
|
|
383
|
+
count: overlap,
|
|
384
|
+
target: validValue
|
|
385
|
+
});
|
|
386
|
+
return validCompletions;
|
|
389
387
|
}, []).sort((e) => e.count);
|
|
390
388
|
if (autoCompletionsByOverlapCount.length === 0) {
|
|
391
389
|
return void 0;
|
package/dist/index.esm.js
CHANGED
|
@@ -375,13 +375,11 @@ const formatAsEnum = (value, acceptedValues, options) => {
|
|
|
375
375
|
if (overlap === 0) {
|
|
376
376
|
return validCompletions;
|
|
377
377
|
}
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}
|
|
384
|
-
];
|
|
378
|
+
validCompletions.push({
|
|
379
|
+
count: overlap,
|
|
380
|
+
target: validValue
|
|
381
|
+
});
|
|
382
|
+
return validCompletions;
|
|
385
383
|
}, []).sort((e) => e.count);
|
|
386
384
|
if (autoCompletionsByOverlapCount.length === 0) {
|
|
387
385
|
return void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "BooleanType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "CollectionType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
package/dist/xlr/DateType.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "DateType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "IntegerNNType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "IntegerPosType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "IntegerType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
package/dist/xlr/PhoneType.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "PhoneType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
package/dist/xlr/StringType.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"source": "/home/
|
|
2
|
+
"source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
|
|
3
3
|
"name": "StringType",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@player-ui/common-types-plugin",
|
|
3
|
-
"version": "0.7.0",
|
|
3
|
+
"version": "0.7.1-next.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@player-ui/player": "0.7.0"
|
|
9
|
+
"@player-ui/player": "0.7.1-next.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@player-ui/types-provider-plugin": "0.7.0",
|
|
12
|
+
"@player-ui/types-provider-plugin": "0.7.1-next.0",
|
|
13
13
|
"@babel/runtime": "7.15.4"
|
|
14
14
|
},
|
|
15
15
|
"main": "dist/index.cjs.js",
|
package/src/formats/utils.ts
CHANGED
|
@@ -103,13 +103,12 @@ export const formatAsEnum = (
|
|
|
103
103
|
return validCompletions;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
];
|
|
106
|
+
validCompletions.push({
|
|
107
|
+
count: overlap,
|
|
108
|
+
target: validValue,
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
return validCompletions;
|
|
113
112
|
}, [])
|
|
114
113
|
.sort((e) => e.count);
|
|
115
114
|
|