@player-ui/common-types-plugin 0.7.1 → 0.7.2--canary.314.10078
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 +27 -76
- package/dist/common-types-plugin.prod.js +1 -1
- package/dist/index.cjs.js +24 -73
- package/dist/index.d.ts +2 -32
- package/dist/index.esm.js +25 -73
- 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/data-types/types.ts +8 -18
- package/src/index.ts +2 -2
- package/src/data-types/refs.ts +0 -33
|
@@ -5132,8 +5132,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
5132
5132
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
5133
5133
|
});
|
|
5134
5134
|
};
|
|
5135
|
-
const PLAYER_VERSION = "0.7.
|
|
5136
|
-
const COMMIT = "
|
|
5135
|
+
const PLAYER_VERSION = "0.7.2--canary.314.10078";
|
|
5136
|
+
const COMMIT = "0a7f5f8a810b0c286934000ab7061e838a59e2e9";
|
|
5137
5137
|
const _Player = class {
|
|
5138
5138
|
constructor(config) {
|
|
5139
5139
|
this.logger = new TapableLogger();
|
|
@@ -5455,7 +5455,7 @@ Player.info = {
|
|
|
5455
5455
|
/*!********************************************************************************!*\
|
|
5456
5456
|
!*** ./bazel-out/k8-fastbuild/bin/plugins/common-types/core/dist/index.esm.js ***!
|
|
5457
5457
|
\********************************************************************************/
|
|
5458
|
-
/*! exports provided: CommonTypesPlugin, PLACEHOLDER, createMaskedNumericFormatter,
|
|
5458
|
+
/*! exports provided: CommonTypesPlugin, PLACEHOLDER, createMaskedNumericFormatter, dataTypes, formatAsEnum, formatAsMasked, formats, removeFormatCharactersFromMaskedString, validators */
|
|
5459
5459
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5460
5460
|
|
|
5461
5461
|
"use strict";
|
|
@@ -5463,7 +5463,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5463
5463
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonTypesPlugin", function() { return CommonTypesPlugin; });
|
|
5464
5464
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PLACEHOLDER", function() { return PLACEHOLDER; });
|
|
5465
5465
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createMaskedNumericFormatter", function() { return createMaskedNumericFormatter; });
|
|
5466
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dataRefs", function() { return refs; });
|
|
5467
5466
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dataTypes", function() { return dataTypes; });
|
|
5468
5467
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formatAsEnum", function() { return formatAsEnum; });
|
|
5469
5468
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formatAsMasked", function() { return formatAsMasked; });
|
|
@@ -5657,63 +5656,8 @@ var validators = /*#__PURE__*/Object.freeze({
|
|
|
5657
5656
|
zip: zip
|
|
5658
5657
|
});
|
|
5659
5658
|
|
|
5660
|
-
const
|
|
5661
|
-
type: "BooleanType"
|
|
5662
|
-
};
|
|
5663
|
-
const IntegerTypeRef = {
|
|
5664
|
-
type: "IntegerType"
|
|
5665
|
-
};
|
|
5666
|
-
const IntegerPosTypeRef = {
|
|
5667
|
-
type: "IntegerPosType"
|
|
5668
|
-
};
|
|
5669
|
-
const IntegerNNTypeRef = {
|
|
5670
|
-
type: "IntegerNNType"
|
|
5671
|
-
};
|
|
5672
|
-
const StringTypeRef = {
|
|
5673
|
-
type: "StringType"
|
|
5674
|
-
};
|
|
5675
|
-
const CollectionTypeRef = {
|
|
5676
|
-
type: "CollectionType"
|
|
5677
|
-
};
|
|
5678
|
-
const DateTypeRef = {
|
|
5679
|
-
type: "DateType"
|
|
5680
|
-
};
|
|
5681
|
-
const PhoneTypeRef = {
|
|
5682
|
-
type: "PhoneType"
|
|
5683
|
-
};
|
|
5684
|
-
|
|
5685
|
-
var refs = /*#__PURE__*/Object.freeze({
|
|
5686
|
-
__proto__: null,
|
|
5687
|
-
BooleanTypeRef: BooleanTypeRef,
|
|
5688
|
-
IntegerTypeRef: IntegerTypeRef,
|
|
5689
|
-
IntegerPosTypeRef: IntegerPosTypeRef,
|
|
5690
|
-
IntegerNNTypeRef: IntegerNNTypeRef,
|
|
5691
|
-
StringTypeRef: StringTypeRef,
|
|
5692
|
-
CollectionTypeRef: CollectionTypeRef,
|
|
5693
|
-
DateTypeRef: DateTypeRef,
|
|
5694
|
-
PhoneTypeRef: PhoneTypeRef
|
|
5695
|
-
});
|
|
5696
|
-
|
|
5697
|
-
var __defProp$1 = Object.defineProperty;
|
|
5698
|
-
var __defProps$1 = Object.defineProperties;
|
|
5699
|
-
var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
|
|
5700
|
-
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
5701
|
-
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
5702
|
-
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
5703
|
-
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5704
|
-
var __spreadValues$1 = (a, b) => {
|
|
5705
|
-
for (var prop in b || (b = {}))
|
|
5706
|
-
if (__hasOwnProp$1.call(b, prop))
|
|
5707
|
-
__defNormalProp$1(a, prop, b[prop]);
|
|
5708
|
-
if (__getOwnPropSymbols$1)
|
|
5709
|
-
for (var prop of __getOwnPropSymbols$1(b)) {
|
|
5710
|
-
if (__propIsEnum$1.call(b, prop))
|
|
5711
|
-
__defNormalProp$1(a, prop, b[prop]);
|
|
5712
|
-
}
|
|
5713
|
-
return a;
|
|
5714
|
-
};
|
|
5715
|
-
var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
|
|
5716
|
-
const BooleanType = __spreadProps$1(__spreadValues$1({}, BooleanTypeRef), {
|
|
5659
|
+
const BooleanType = {
|
|
5660
|
+
type: "BooleanType",
|
|
5717
5661
|
default: false,
|
|
5718
5662
|
validation: [
|
|
5719
5663
|
{
|
|
@@ -5722,8 +5666,9 @@ const BooleanType = __spreadProps$1(__spreadValues$1({}, BooleanTypeRef), {
|
|
|
5722
5666
|
options: [true, false]
|
|
5723
5667
|
}
|
|
5724
5668
|
]
|
|
5725
|
-
}
|
|
5726
|
-
const IntegerType =
|
|
5669
|
+
};
|
|
5670
|
+
const IntegerType = {
|
|
5671
|
+
type: "IntegerType",
|
|
5727
5672
|
validation: [
|
|
5728
5673
|
{
|
|
5729
5674
|
type: "integer"
|
|
@@ -5732,8 +5677,9 @@ const IntegerType = __spreadProps$1(__spreadValues$1({}, IntegerTypeRef), {
|
|
|
5732
5677
|
format: {
|
|
5733
5678
|
type: "integer"
|
|
5734
5679
|
}
|
|
5735
|
-
}
|
|
5736
|
-
const IntegerPosType =
|
|
5680
|
+
};
|
|
5681
|
+
const IntegerPosType = {
|
|
5682
|
+
type: "IntegerPosType",
|
|
5737
5683
|
validation: [
|
|
5738
5684
|
{
|
|
5739
5685
|
type: "integer"
|
|
@@ -5746,8 +5692,9 @@ const IntegerPosType = __spreadProps$1(__spreadValues$1({}, IntegerPosTypeRef),
|
|
|
5746
5692
|
format: {
|
|
5747
5693
|
type: "integer"
|
|
5748
5694
|
}
|
|
5749
|
-
}
|
|
5750
|
-
const IntegerNNType =
|
|
5695
|
+
};
|
|
5696
|
+
const IntegerNNType = {
|
|
5697
|
+
type: "IntegerNNType",
|
|
5751
5698
|
validation: [
|
|
5752
5699
|
{
|
|
5753
5700
|
type: "integer"
|
|
@@ -5760,8 +5707,9 @@ const IntegerNNType = __spreadProps$1(__spreadValues$1({}, IntegerNNTypeRef), {
|
|
|
5760
5707
|
format: {
|
|
5761
5708
|
type: "integer"
|
|
5762
5709
|
}
|
|
5763
|
-
}
|
|
5764
|
-
const StringType =
|
|
5710
|
+
};
|
|
5711
|
+
const StringType = {
|
|
5712
|
+
type: "StringType",
|
|
5765
5713
|
default: "",
|
|
5766
5714
|
validation: [
|
|
5767
5715
|
{
|
|
@@ -5771,15 +5719,17 @@ const StringType = __spreadProps$1(__spreadValues$1({}, StringTypeRef), {
|
|
|
5771
5719
|
format: {
|
|
5772
5720
|
type: "string"
|
|
5773
5721
|
}
|
|
5774
|
-
}
|
|
5775
|
-
const CollectionType =
|
|
5722
|
+
};
|
|
5723
|
+
const CollectionType = {
|
|
5724
|
+
type: "CollectionType",
|
|
5776
5725
|
validation: [
|
|
5777
5726
|
{
|
|
5778
5727
|
type: "collection"
|
|
5779
5728
|
}
|
|
5780
5729
|
]
|
|
5781
|
-
}
|
|
5782
|
-
const DateType =
|
|
5730
|
+
};
|
|
5731
|
+
const DateType = {
|
|
5732
|
+
type: "DateType",
|
|
5783
5733
|
validation: [
|
|
5784
5734
|
{
|
|
5785
5735
|
type: "string"
|
|
@@ -5788,8 +5738,9 @@ const DateType = __spreadProps$1(__spreadValues$1({}, DateTypeRef), {
|
|
|
5788
5738
|
format: {
|
|
5789
5739
|
type: "date"
|
|
5790
5740
|
}
|
|
5791
|
-
}
|
|
5792
|
-
const PhoneType =
|
|
5741
|
+
};
|
|
5742
|
+
const PhoneType = {
|
|
5743
|
+
type: "PhoneType",
|
|
5793
5744
|
validation: [
|
|
5794
5745
|
{
|
|
5795
5746
|
type: "phone"
|
|
@@ -5798,7 +5749,7 @@ const PhoneType = __spreadProps$1(__spreadValues$1({}, PhoneTypeRef), {
|
|
|
5798
5749
|
format: {
|
|
5799
5750
|
type: "phone"
|
|
5800
5751
|
}
|
|
5801
|
-
}
|
|
5752
|
+
};
|
|
5802
5753
|
|
|
5803
5754
|
var dataTypes = /*#__PURE__*/Object.freeze({
|
|
5804
5755
|
__proto__: null,
|