@limetech/lime-crm-building-blocks 1.6.2 → 1.7.1
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/_nodeUtil-d0211145.js +232 -0
- package/dist/cjs/{platform-da6aa193.js → index-56288277.js} +1 -2268
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-date-picker_2.cjs.entry.js +94 -300
- package/dist/cjs/limebb-example-date-picker-date.cjs.entry.js +2 -1
- package/dist/cjs/limebb-example-date-picker-datetime.cjs.entry.js +2 -1
- package/dist/cjs/limebb-example-date-picker-time.cjs.entry.js +2 -1
- package/dist/cjs/limebb-example-date-picker-week.cjs.entry.js +2 -1
- package/dist/cjs/limebb-example-locale-picker-multiple.cjs.entry.js +22 -0
- package/dist/cjs/limebb-example-locale-picker.cjs.entry.js +22 -0
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +3214 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/platform-27260fcd.js +2271 -0
- package/dist/cjs/platform-e0102f73.js +33 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/currency-picker/currency-picker.js +4 -2
- package/dist/collection/components/date-picker/date-picker.js +6 -22
- package/dist/collection/components/date-picker/from-server-date.js +12 -0
- package/dist/collection/components/date-picker/to-server-date.js +19 -0
- package/dist/collection/components/date-range/date-range.js +4 -4
- package/dist/collection/components/locale-picker/examples/locale-picker-multiple.js +45 -0
- package/dist/collection/components/locale-picker/examples/locale-picker.js +45 -0
- package/dist/collection/components/locale-picker/examples/platform.js +28 -0
- package/dist/collection/components/locale-picker/language-picker.types.js +1 -0
- package/dist/collection/components/locale-picker/language.js +26 -0
- package/dist/collection/components/locale-picker/locale-picker.js +289 -0
- package/dist/components/_nodeUtil.js +223 -0
- package/dist/components/currency-picker.js +1 -1
- package/dist/components/date-picker.js +36 -21
- package/dist/components/date-range.js +2 -2
- package/dist/components/example-value.js +1 -222
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/{esm/platform-3d6784d3.js → components/index2.js} +1 -2268
- package/dist/components/limebb-example-locale-picker-multiple.d.ts +11 -0
- package/dist/components/limebb-example-locale-picker-multiple.js +43 -0
- package/dist/components/limebb-example-locale-picker.d.ts +11 -0
- package/dist/components/limebb-example-locale-picker.js +43 -0
- package/dist/components/limebb-locale-picker.d.ts +11 -0
- package/dist/components/limebb-locale-picker.js +6 -0
- package/dist/components/locale-picker.js +3236 -0
- package/dist/components/platform.js +4 -9754
- package/dist/components/platform2.js +32 -0
- package/dist/esm/_nodeUtil-75d499c3.js +223 -0
- package/dist/esm/index-0d7a82e7.js +9752 -0
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-date-picker_2.entry.js +93 -299
- package/dist/esm/limebb-example-date-picker-date.entry.js +2 -1
- package/dist/esm/limebb-example-date-picker-datetime.entry.js +2 -1
- package/dist/esm/limebb-example-date-picker-time.entry.js +2 -1
- package/dist/esm/limebb-example-date-picker-week.entry.js +2 -1
- package/dist/esm/limebb-example-locale-picker-multiple.entry.js +18 -0
- package/dist/esm/limebb-example-locale-picker.entry.js +18 -0
- package/dist/esm/limebb-locale-picker.entry.js +3210 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/platform-38637844.js +2269 -0
- package/dist/esm/platform-d26b763d.js +31 -0
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/p-1152b64f.js +1 -0
- package/dist/lime-crm-building-blocks/p-13cfc8f8.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-15e3fb8b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-1e1f73b8.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-332a1e41.js +1 -0
- package/dist/lime-crm-building-blocks/p-4eedc543.js +1 -0
- package/dist/lime-crm-building-blocks/p-7c32edeb.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-974a8cb4.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-b36350a8.js +1 -0
- package/dist/lime-crm-building-blocks/p-bd5efb45.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-c7de9e22.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-f7f97c63.entry.js +1 -0
- package/dist/types/components/date-picker/date-picker.d.ts +0 -2
- package/dist/types/components/date-picker/from-server-date.d.ts +2 -0
- package/dist/types/components/date-picker/to-server-date.d.ts +14 -0
- package/dist/types/components/locale-picker/examples/locale-picker-multiple.d.ts +10 -0
- package/dist/types/components/locale-picker/examples/locale-picker.d.ts +10 -0
- package/dist/types/components/locale-picker/examples/platform.d.ts +1 -0
- package/dist/types/components/locale-picker/language-picker.types.d.ts +1 -0
- package/dist/types/components/locale-picker/language.d.ts +3 -0
- package/dist/types/components/locale-picker/locale-picker.d.ts +60 -0
- package/dist/types/components.d.ts +141 -0
- package/dist/types/interface.d.ts +1 -0
- package/package.json +5 -5
- package/dist/lime-crm-building-blocks/p-17f28ef7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-90d9d53f.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-964fc84e.js +0 -1
- package/dist/lime-crm-building-blocks/p-ad48f51b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-c952561e.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d0e34418.entry.js +0 -1
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/** Detect free variable `global` from Node.js. */
|
|
4
|
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
5
|
+
|
|
6
|
+
/** Detect free variable `self`. */
|
|
7
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
8
|
+
|
|
9
|
+
/** Used as a reference to the global object. */
|
|
10
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
11
|
+
|
|
12
|
+
/** Built-in value references. */
|
|
13
|
+
var Symbol = root.Symbol;
|
|
14
|
+
|
|
15
|
+
/** Used for built-in method references. */
|
|
16
|
+
var objectProto$1 = Object.prototype;
|
|
17
|
+
|
|
18
|
+
/** Used to check objects for own properties. */
|
|
19
|
+
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Used to resolve the
|
|
23
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
24
|
+
* of values.
|
|
25
|
+
*/
|
|
26
|
+
var nativeObjectToString$1 = objectProto$1.toString;
|
|
27
|
+
|
|
28
|
+
/** Built-in value references. */
|
|
29
|
+
var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
33
|
+
*
|
|
34
|
+
* @private
|
|
35
|
+
* @param {*} value The value to query.
|
|
36
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
37
|
+
*/
|
|
38
|
+
function getRawTag(value) {
|
|
39
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag$1),
|
|
40
|
+
tag = value[symToStringTag$1];
|
|
41
|
+
|
|
42
|
+
try {
|
|
43
|
+
value[symToStringTag$1] = undefined;
|
|
44
|
+
var unmasked = true;
|
|
45
|
+
} catch (e) {}
|
|
46
|
+
|
|
47
|
+
var result = nativeObjectToString$1.call(value);
|
|
48
|
+
if (unmasked) {
|
|
49
|
+
if (isOwn) {
|
|
50
|
+
value[symToStringTag$1] = tag;
|
|
51
|
+
} else {
|
|
52
|
+
delete value[symToStringTag$1];
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** Used for built-in method references. */
|
|
59
|
+
var objectProto = Object.prototype;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Used to resolve the
|
|
63
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
64
|
+
* of values.
|
|
65
|
+
*/
|
|
66
|
+
var nativeObjectToString = objectProto.toString;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
70
|
+
*
|
|
71
|
+
* @private
|
|
72
|
+
* @param {*} value The value to convert.
|
|
73
|
+
* @returns {string} Returns the converted string.
|
|
74
|
+
*/
|
|
75
|
+
function objectToString(value) {
|
|
76
|
+
return nativeObjectToString.call(value);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** `Object#toString` result references. */
|
|
80
|
+
var nullTag = '[object Null]',
|
|
81
|
+
undefinedTag = '[object Undefined]';
|
|
82
|
+
|
|
83
|
+
/** Built-in value references. */
|
|
84
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
88
|
+
*
|
|
89
|
+
* @private
|
|
90
|
+
* @param {*} value The value to query.
|
|
91
|
+
* @returns {string} Returns the `toStringTag`.
|
|
92
|
+
*/
|
|
93
|
+
function baseGetTag(value) {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
96
|
+
}
|
|
97
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
98
|
+
? getRawTag(value)
|
|
99
|
+
: objectToString(value);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
104
|
+
* and has a `typeof` result of "object".
|
|
105
|
+
*
|
|
106
|
+
* @static
|
|
107
|
+
* @memberOf _
|
|
108
|
+
* @since 4.0.0
|
|
109
|
+
* @category Lang
|
|
110
|
+
* @param {*} value The value to check.
|
|
111
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
112
|
+
* @example
|
|
113
|
+
*
|
|
114
|
+
* _.isObjectLike({});
|
|
115
|
+
* // => true
|
|
116
|
+
*
|
|
117
|
+
* _.isObjectLike([1, 2, 3]);
|
|
118
|
+
* // => true
|
|
119
|
+
*
|
|
120
|
+
* _.isObjectLike(_.noop);
|
|
121
|
+
* // => false
|
|
122
|
+
*
|
|
123
|
+
* _.isObjectLike(null);
|
|
124
|
+
* // => false
|
|
125
|
+
*/
|
|
126
|
+
function isObjectLike(value) {
|
|
127
|
+
return value != null && typeof value == 'object';
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Checks if `value` is classified as an `Array` object.
|
|
132
|
+
*
|
|
133
|
+
* @static
|
|
134
|
+
* @memberOf _
|
|
135
|
+
* @since 0.1.0
|
|
136
|
+
* @category Lang
|
|
137
|
+
* @param {*} value The value to check.
|
|
138
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
139
|
+
* @example
|
|
140
|
+
*
|
|
141
|
+
* _.isArray([1, 2, 3]);
|
|
142
|
+
* // => true
|
|
143
|
+
*
|
|
144
|
+
* _.isArray(document.body.children);
|
|
145
|
+
* // => false
|
|
146
|
+
*
|
|
147
|
+
* _.isArray('abc');
|
|
148
|
+
* // => false
|
|
149
|
+
*
|
|
150
|
+
* _.isArray(_.noop);
|
|
151
|
+
* // => false
|
|
152
|
+
*/
|
|
153
|
+
var isArray = Array.isArray;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Checks if `value` is the
|
|
157
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
158
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
159
|
+
*
|
|
160
|
+
* @static
|
|
161
|
+
* @memberOf _
|
|
162
|
+
* @since 0.1.0
|
|
163
|
+
* @category Lang
|
|
164
|
+
* @param {*} value The value to check.
|
|
165
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
166
|
+
* @example
|
|
167
|
+
*
|
|
168
|
+
* _.isObject({});
|
|
169
|
+
* // => true
|
|
170
|
+
*
|
|
171
|
+
* _.isObject([1, 2, 3]);
|
|
172
|
+
* // => true
|
|
173
|
+
*
|
|
174
|
+
* _.isObject(_.noop);
|
|
175
|
+
* // => true
|
|
176
|
+
*
|
|
177
|
+
* _.isObject(null);
|
|
178
|
+
* // => false
|
|
179
|
+
*/
|
|
180
|
+
function isObject(value) {
|
|
181
|
+
var type = typeof value;
|
|
182
|
+
return value != null && (type == 'object' || type == 'function');
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
187
|
+
*
|
|
188
|
+
* @private
|
|
189
|
+
* @param {Function} func The function to cap arguments for.
|
|
190
|
+
* @returns {Function} Returns the new capped function.
|
|
191
|
+
*/
|
|
192
|
+
function baseUnary(func) {
|
|
193
|
+
return function(value) {
|
|
194
|
+
return func(value);
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** Detect free variable `exports`. */
|
|
199
|
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
200
|
+
|
|
201
|
+
/** Detect free variable `module`. */
|
|
202
|
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
203
|
+
|
|
204
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
205
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
206
|
+
|
|
207
|
+
/** Detect free variable `process` from Node.js. */
|
|
208
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
209
|
+
|
|
210
|
+
/** Used to access faster Node.js helpers. */
|
|
211
|
+
var nodeUtil = (function() {
|
|
212
|
+
try {
|
|
213
|
+
// Use `util.types` for Node.js 10+.
|
|
214
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
215
|
+
|
|
216
|
+
if (types) {
|
|
217
|
+
return types;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
221
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
222
|
+
} catch (e) {}
|
|
223
|
+
}());
|
|
224
|
+
|
|
225
|
+
exports.Symbol = Symbol;
|
|
226
|
+
exports.baseGetTag = baseGetTag;
|
|
227
|
+
exports.baseUnary = baseUnary;
|
|
228
|
+
exports.isArray = isArray;
|
|
229
|
+
exports.isObject = isObject;
|
|
230
|
+
exports.isObjectLike = isObjectLike;
|
|
231
|
+
exports.nodeUtil = nodeUtil;
|
|
232
|
+
exports.root = root;
|