adata-ui 0.1.68 → 0.1.69
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/adata-ui.common.js +574 -58
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +574 -58
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/App.vue +2 -1
- package/src/assets/_text_field.scss +17 -1
- package/src/components/MailTo/MailTo.vue +132 -81
- package/src/components/TextArea/TextArea.stories.js +17 -0
- package/src/components/TextArea/TextArea.vue +122 -0
- package/src/components/TextField/TextField.vue +5 -1
- package/src/components/index.js +2 -0
package/dist/adata-ui.umd.js
CHANGED
|
@@ -276,17 +276,6 @@ module.exports = function (obj) {
|
|
|
276
276
|
};
|
|
277
277
|
|
|
278
278
|
|
|
279
|
-
/***/ }),
|
|
280
|
-
|
|
281
|
-
/***/ "09ea":
|
|
282
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
283
|
-
|
|
284
|
-
"use strict";
|
|
285
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MailTo_vue_vue_type_style_index_0_id_8f5ba560_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7208");
|
|
286
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MailTo_vue_vue_type_style_index_0_id_8f5ba560_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MailTo_vue_vue_type_style_index_0_id_8f5ba560_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
287
|
-
/* unused harmony reexport * */
|
|
288
|
-
|
|
289
|
-
|
|
290
279
|
/***/ }),
|
|
291
280
|
|
|
292
281
|
/***/ "0b42":
|
|
@@ -1157,6 +1146,39 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
1157
1146
|
});
|
|
1158
1147
|
|
|
1159
1148
|
|
|
1149
|
+
/***/ }),
|
|
1150
|
+
|
|
1151
|
+
/***/ "2c3e":
|
|
1152
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1153
|
+
|
|
1154
|
+
var global = __webpack_require__("da84");
|
|
1155
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1156
|
+
var MISSED_STICKY = __webpack_require__("9f7f").MISSED_STICKY;
|
|
1157
|
+
var classof = __webpack_require__("c6b6");
|
|
1158
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
1159
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
1160
|
+
|
|
1161
|
+
var RegExpPrototype = RegExp.prototype;
|
|
1162
|
+
var TypeError = global.TypeError;
|
|
1163
|
+
|
|
1164
|
+
// `RegExp.prototype.sticky` getter
|
|
1165
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky
|
|
1166
|
+
if (DESCRIPTORS && MISSED_STICKY) {
|
|
1167
|
+
defineProperty(RegExpPrototype, 'sticky', {
|
|
1168
|
+
configurable: true,
|
|
1169
|
+
get: function () {
|
|
1170
|
+
if (this === RegExpPrototype) return undefined;
|
|
1171
|
+
// We can't use InternalStateModule.getterFor because
|
|
1172
|
+
// we don't add metadata for regexps created by a literal.
|
|
1173
|
+
if (classof(this) === 'RegExp') {
|
|
1174
|
+
return !!getInternalState(this).sticky;
|
|
1175
|
+
}
|
|
1176
|
+
throw TypeError('Incompatible receiver, RegExp required');
|
|
1177
|
+
}
|
|
1178
|
+
});
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
|
|
1160
1182
|
/***/ }),
|
|
1161
1183
|
|
|
1162
1184
|
/***/ "2cf4":
|
|
@@ -1637,6 +1659,212 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
1637
1659
|
|
|
1638
1660
|
// extracted by mini-css-extract-plugin
|
|
1639
1661
|
|
|
1662
|
+
/***/ }),
|
|
1663
|
+
|
|
1664
|
+
/***/ "4d63":
|
|
1665
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1666
|
+
|
|
1667
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1668
|
+
var global = __webpack_require__("da84");
|
|
1669
|
+
var uncurryThis = __webpack_require__("e330");
|
|
1670
|
+
var isForced = __webpack_require__("94ca");
|
|
1671
|
+
var inheritIfRequired = __webpack_require__("7156");
|
|
1672
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1673
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
1674
|
+
var getOwnPropertyNames = __webpack_require__("241c").f;
|
|
1675
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1676
|
+
var isRegExp = __webpack_require__("44e7");
|
|
1677
|
+
var toString = __webpack_require__("577e");
|
|
1678
|
+
var regExpFlags = __webpack_require__("ad6d");
|
|
1679
|
+
var stickyHelpers = __webpack_require__("9f7f");
|
|
1680
|
+
var redefine = __webpack_require__("6eeb");
|
|
1681
|
+
var fails = __webpack_require__("d039");
|
|
1682
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
1683
|
+
var enforceInternalState = __webpack_require__("69f3").enforce;
|
|
1684
|
+
var setSpecies = __webpack_require__("2626");
|
|
1685
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
1686
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
1687
|
+
var UNSUPPORTED_NCG = __webpack_require__("107c");
|
|
1688
|
+
|
|
1689
|
+
var MATCH = wellKnownSymbol('match');
|
|
1690
|
+
var NativeRegExp = global.RegExp;
|
|
1691
|
+
var RegExpPrototype = NativeRegExp.prototype;
|
|
1692
|
+
var SyntaxError = global.SyntaxError;
|
|
1693
|
+
var getFlags = uncurryThis(regExpFlags);
|
|
1694
|
+
var exec = uncurryThis(RegExpPrototype.exec);
|
|
1695
|
+
var charAt = uncurryThis(''.charAt);
|
|
1696
|
+
var replace = uncurryThis(''.replace);
|
|
1697
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
1698
|
+
var stringSlice = uncurryThis(''.slice);
|
|
1699
|
+
// TODO: Use only propper RegExpIdentifierName
|
|
1700
|
+
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
1701
|
+
var re1 = /a/g;
|
|
1702
|
+
var re2 = /a/g;
|
|
1703
|
+
|
|
1704
|
+
// "new" should create a new object, old webkit bug
|
|
1705
|
+
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
|
1706
|
+
|
|
1707
|
+
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
|
|
1708
|
+
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
1709
|
+
|
|
1710
|
+
var BASE_FORCED = DESCRIPTORS &&
|
|
1711
|
+
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
|
1712
|
+
re2[MATCH] = false;
|
|
1713
|
+
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
1714
|
+
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
|
|
1715
|
+
}));
|
|
1716
|
+
|
|
1717
|
+
var handleDotAll = function (string) {
|
|
1718
|
+
var length = string.length;
|
|
1719
|
+
var index = 0;
|
|
1720
|
+
var result = '';
|
|
1721
|
+
var brackets = false;
|
|
1722
|
+
var chr;
|
|
1723
|
+
for (; index <= length; index++) {
|
|
1724
|
+
chr = charAt(string, index);
|
|
1725
|
+
if (chr === '\\') {
|
|
1726
|
+
result += chr + charAt(string, ++index);
|
|
1727
|
+
continue;
|
|
1728
|
+
}
|
|
1729
|
+
if (!brackets && chr === '.') {
|
|
1730
|
+
result += '[\\s\\S]';
|
|
1731
|
+
} else {
|
|
1732
|
+
if (chr === '[') {
|
|
1733
|
+
brackets = true;
|
|
1734
|
+
} else if (chr === ']') {
|
|
1735
|
+
brackets = false;
|
|
1736
|
+
} result += chr;
|
|
1737
|
+
}
|
|
1738
|
+
} return result;
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1741
|
+
var handleNCG = function (string) {
|
|
1742
|
+
var length = string.length;
|
|
1743
|
+
var index = 0;
|
|
1744
|
+
var result = '';
|
|
1745
|
+
var named = [];
|
|
1746
|
+
var names = {};
|
|
1747
|
+
var brackets = false;
|
|
1748
|
+
var ncg = false;
|
|
1749
|
+
var groupid = 0;
|
|
1750
|
+
var groupname = '';
|
|
1751
|
+
var chr;
|
|
1752
|
+
for (; index <= length; index++) {
|
|
1753
|
+
chr = charAt(string, index);
|
|
1754
|
+
if (chr === '\\') {
|
|
1755
|
+
chr = chr + charAt(string, ++index);
|
|
1756
|
+
} else if (chr === ']') {
|
|
1757
|
+
brackets = false;
|
|
1758
|
+
} else if (!brackets) switch (true) {
|
|
1759
|
+
case chr === '[':
|
|
1760
|
+
brackets = true;
|
|
1761
|
+
break;
|
|
1762
|
+
case chr === '(':
|
|
1763
|
+
if (exec(IS_NCG, stringSlice(string, index + 1))) {
|
|
1764
|
+
index += 2;
|
|
1765
|
+
ncg = true;
|
|
1766
|
+
}
|
|
1767
|
+
result += chr;
|
|
1768
|
+
groupid++;
|
|
1769
|
+
continue;
|
|
1770
|
+
case chr === '>' && ncg:
|
|
1771
|
+
if (groupname === '' || hasOwn(names, groupname)) {
|
|
1772
|
+
throw new SyntaxError('Invalid capture group name');
|
|
1773
|
+
}
|
|
1774
|
+
names[groupname] = true;
|
|
1775
|
+
named[named.length] = [groupname, groupid];
|
|
1776
|
+
ncg = false;
|
|
1777
|
+
groupname = '';
|
|
1778
|
+
continue;
|
|
1779
|
+
}
|
|
1780
|
+
if (ncg) groupname += chr;
|
|
1781
|
+
else result += chr;
|
|
1782
|
+
} return [result, named];
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
// `RegExp` constructor
|
|
1786
|
+
// https://tc39.es/ecma262/#sec-regexp-constructor
|
|
1787
|
+
if (isForced('RegExp', BASE_FORCED)) {
|
|
1788
|
+
var RegExpWrapper = function RegExp(pattern, flags) {
|
|
1789
|
+
var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
|
|
1790
|
+
var patternIsRegExp = isRegExp(pattern);
|
|
1791
|
+
var flagsAreUndefined = flags === undefined;
|
|
1792
|
+
var groups = [];
|
|
1793
|
+
var rawPattern = pattern;
|
|
1794
|
+
var rawFlags, dotAll, sticky, handled, result, state;
|
|
1795
|
+
|
|
1796
|
+
if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
|
|
1797
|
+
return pattern;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
|
|
1801
|
+
pattern = pattern.source;
|
|
1802
|
+
if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags(rawPattern);
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
pattern = pattern === undefined ? '' : toString(pattern);
|
|
1806
|
+
flags = flags === undefined ? '' : toString(flags);
|
|
1807
|
+
rawPattern = pattern;
|
|
1808
|
+
|
|
1809
|
+
if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
|
|
1810
|
+
dotAll = !!flags && stringIndexOf(flags, 's') > -1;
|
|
1811
|
+
if (dotAll) flags = replace(flags, /s/g, '');
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
rawFlags = flags;
|
|
1815
|
+
|
|
1816
|
+
if (MISSED_STICKY && 'sticky' in re1) {
|
|
1817
|
+
sticky = !!flags && stringIndexOf(flags, 'y') > -1;
|
|
1818
|
+
if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
if (UNSUPPORTED_NCG) {
|
|
1822
|
+
handled = handleNCG(pattern);
|
|
1823
|
+
pattern = handled[0];
|
|
1824
|
+
groups = handled[1];
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
|
|
1828
|
+
|
|
1829
|
+
if (dotAll || sticky || groups.length) {
|
|
1830
|
+
state = enforceInternalState(result);
|
|
1831
|
+
if (dotAll) {
|
|
1832
|
+
state.dotAll = true;
|
|
1833
|
+
state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
|
|
1834
|
+
}
|
|
1835
|
+
if (sticky) state.sticky = true;
|
|
1836
|
+
if (groups.length) state.groups = groups;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
if (pattern !== rawPattern) try {
|
|
1840
|
+
// fails in old engines, but we have no alternatives for unsupported regex syntax
|
|
1841
|
+
createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
|
|
1842
|
+
} catch (error) { /* empty */ }
|
|
1843
|
+
|
|
1844
|
+
return result;
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
var proxy = function (key) {
|
|
1848
|
+
key in RegExpWrapper || defineProperty(RegExpWrapper, key, {
|
|
1849
|
+
configurable: true,
|
|
1850
|
+
get: function () { return NativeRegExp[key]; },
|
|
1851
|
+
set: function (it) { NativeRegExp[key] = it; }
|
|
1852
|
+
});
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
|
|
1856
|
+
proxy(keys[index++]);
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
RegExpPrototype.constructor = RegExpWrapper;
|
|
1860
|
+
RegExpWrapper.prototype = RegExpPrototype;
|
|
1861
|
+
redefine(global, 'RegExp', RegExpWrapper);
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
1865
|
+
setSpecies('RegExp');
|
|
1866
|
+
|
|
1867
|
+
|
|
1640
1868
|
/***/ }),
|
|
1641
1869
|
|
|
1642
1870
|
/***/ "4d64":
|
|
@@ -2023,6 +2251,17 @@ module.exports = function (argument) {
|
|
|
2023
2251
|
};
|
|
2024
2252
|
|
|
2025
2253
|
|
|
2254
|
+
/***/ }),
|
|
2255
|
+
|
|
2256
|
+
/***/ "57cf":
|
|
2257
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2258
|
+
|
|
2259
|
+
"use strict";
|
|
2260
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MailTo_vue_vue_type_style_index_0_id_2e2b9d69_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("87cd");
|
|
2261
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MailTo_vue_vue_type_style_index_0_id_2e2b9d69_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MailTo_vue_vue_type_style_index_0_id_2e2b9d69_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2262
|
+
/* unused harmony reexport * */
|
|
2263
|
+
|
|
2264
|
+
|
|
2026
2265
|
/***/ }),
|
|
2027
2266
|
|
|
2028
2267
|
/***/ "5899":
|
|
@@ -2458,13 +2697,6 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
2458
2697
|
};
|
|
2459
2698
|
|
|
2460
2699
|
|
|
2461
|
-
/***/ }),
|
|
2462
|
-
|
|
2463
|
-
/***/ "7208":
|
|
2464
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2465
|
-
|
|
2466
|
-
// extracted by mini-css-extract-plugin
|
|
2467
|
-
|
|
2468
2700
|
/***/ }),
|
|
2469
2701
|
|
|
2470
2702
|
/***/ "73ec":
|
|
@@ -2926,6 +3158,13 @@ module.exports = function (it) {
|
|
|
2926
3158
|
|
|
2927
3159
|
/***/ }),
|
|
2928
3160
|
|
|
3161
|
+
/***/ "87cd":
|
|
3162
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3163
|
+
|
|
3164
|
+
// extracted by mini-css-extract-plugin
|
|
3165
|
+
|
|
3166
|
+
/***/ }),
|
|
3167
|
+
|
|
2929
3168
|
/***/ "8875":
|
|
2930
3169
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2931
3170
|
|
|
@@ -6745,6 +6984,39 @@ module.exports = function (input, pref) {
|
|
|
6745
6984
|
module.exports = false;
|
|
6746
6985
|
|
|
6747
6986
|
|
|
6987
|
+
/***/ }),
|
|
6988
|
+
|
|
6989
|
+
/***/ "c607":
|
|
6990
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6991
|
+
|
|
6992
|
+
var global = __webpack_require__("da84");
|
|
6993
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
6994
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
6995
|
+
var classof = __webpack_require__("c6b6");
|
|
6996
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
6997
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
6998
|
+
|
|
6999
|
+
var RegExpPrototype = RegExp.prototype;
|
|
7000
|
+
var TypeError = global.TypeError;
|
|
7001
|
+
|
|
7002
|
+
// `RegExp.prototype.dotAll` getter
|
|
7003
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
|
|
7004
|
+
if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {
|
|
7005
|
+
defineProperty(RegExpPrototype, 'dotAll', {
|
|
7006
|
+
configurable: true,
|
|
7007
|
+
get: function () {
|
|
7008
|
+
if (this === RegExpPrototype) return undefined;
|
|
7009
|
+
// We can't use InternalStateModule.getterFor because
|
|
7010
|
+
// we don't add metadata for regexps created by a literal.
|
|
7011
|
+
if (classof(this) === 'RegExp') {
|
|
7012
|
+
return !!getInternalState(this).dotAll;
|
|
7013
|
+
}
|
|
7014
|
+
throw TypeError('Incompatible receiver, RegExp required');
|
|
7015
|
+
}
|
|
7016
|
+
});
|
|
7017
|
+
}
|
|
7018
|
+
|
|
7019
|
+
|
|
6748
7020
|
/***/ }),
|
|
6749
7021
|
|
|
6750
7022
|
/***/ "c65b":
|
|
@@ -8838,12 +9110,12 @@ var AButton_component = normalizeComponent(
|
|
|
8838
9110
|
)
|
|
8839
9111
|
|
|
8840
9112
|
/* harmony default export */ var AButton = (AButton_component.exports);
|
|
8841
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextField/TextField.vue?vue&type=template&id=
|
|
8842
|
-
var
|
|
8843
|
-
var
|
|
9113
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextField/TextField.vue?vue&type=template&id=4ed49724&
|
|
9114
|
+
var TextFieldvue_type_template_id_4ed49724_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{class:['adt-text-block__field', { error: !!_vm.errorText }]},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.enterPressed.apply(null, arguments)}}}),_c('label',{staticClass:"adt-text-block__label",class:{ 'adt-text-block--ellipsis': _vm.isEllipsis }},[_vm._v(" "+_vm._s(_vm.label)+" "),(_vm.required)?_c('span',{staticClass:"adt-text-block__required"},[_vm._v("*")]):_vm._e()]),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_c('svg',{attrs:{"width":"14","height":"14","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg","id":"icon__attention"}},[_c('path',{attrs:{"d":"M8.5 4C8.5 3.72386 8.27614 3.5 8 3.5C7.72386 3.5 7.5 3.72386 7.5 4H8.5ZM7.5 9C7.5 9.27614 7.72386 9.5 8 9.5C8.27614 9.5 8.5 9.27614 8.5 9H7.5ZM7.5 4V9H8.5V4H7.5Z","fill":"#FF2E43"}}),_c('path',{attrs:{"d":"M8.5 11C8.5 10.7239 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.7239 7.5 11H8.5ZM7.5 11.5C7.5 11.7761 7.72386 12 8 12C8.27614 12 8.5 11.7761 8.5 11.5H7.5ZM7.5 11V11.5H8.5V11H7.5Z","fill":"#FF2E43"}}),_c('circle',{attrs:{"cx":"8","cy":"8","r":"7","stroke":"#FF2E43"}})]),_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
|
|
9115
|
+
var TextFieldvue_type_template_id_4ed49724_staticRenderFns = []
|
|
8844
9116
|
|
|
8845
9117
|
|
|
8846
|
-
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=
|
|
9118
|
+
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=4ed49724&
|
|
8847
9119
|
|
|
8848
9120
|
// EXTERNAL MODULE: ./src/assets/style.scss
|
|
8849
9121
|
var style = __webpack_require__("73ec");
|
|
@@ -8943,6 +9215,10 @@ var style = __webpack_require__("73ec");
|
|
|
8943
9215
|
required: {
|
|
8944
9216
|
type: Boolean,
|
|
8945
9217
|
default: false
|
|
9218
|
+
},
|
|
9219
|
+
isEllipsis: {
|
|
9220
|
+
type: Boolean,
|
|
9221
|
+
default: false
|
|
8946
9222
|
}
|
|
8947
9223
|
},
|
|
8948
9224
|
data: function data() {
|
|
@@ -8976,8 +9252,8 @@ var style = __webpack_require__("73ec");
|
|
|
8976
9252
|
|
|
8977
9253
|
var TextField_component = normalizeComponent(
|
|
8978
9254
|
TextField_TextFieldvue_type_script_lang_js_,
|
|
8979
|
-
|
|
8980
|
-
|
|
9255
|
+
TextFieldvue_type_template_id_4ed49724_render,
|
|
9256
|
+
TextFieldvue_type_template_id_4ed49724_staticRenderFns,
|
|
8981
9257
|
false,
|
|
8982
9258
|
null,
|
|
8983
9259
|
null,
|
|
@@ -8986,6 +9262,155 @@ var TextField_component = normalizeComponent(
|
|
|
8986
9262
|
)
|
|
8987
9263
|
|
|
8988
9264
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
9265
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextArea/TextArea.vue?vue&type=template&id=4e5b3cf7&
|
|
9266
|
+
var TextAreavue_type_template_id_4e5b3cf7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{class:['adt-text-block__field', { error: !!_vm.errorText }]},[_c('textarea',{ref:"textarea",staticClass:"adt-text-block__textarea",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.enterPressed.apply(null, arguments)}}}),_vm._v(" "),_c('label',{staticClass:"adt-text-block__label",class:{ 'adt-text-block--ellipsis': _vm.isEllipsis }},[_vm._v(" "+_vm._s(_vm.label)+" "),(_vm.required)?_c('span',{staticClass:"adt-text-block__required"},[_vm._v("*")]):_vm._e()]),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_c('svg',{attrs:{"width":"14","height":"14","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg","id":"icon__attention"}},[_c('path',{attrs:{"d":"M8.5 4C8.5 3.72386 8.27614 3.5 8 3.5C7.72386 3.5 7.5 3.72386 7.5 4H8.5ZM7.5 9C7.5 9.27614 7.72386 9.5 8 9.5C8.27614 9.5 8.5 9.27614 8.5 9H7.5ZM7.5 4V9H8.5V4H7.5Z","fill":"#FF2E43"}}),_c('path',{attrs:{"d":"M8.5 11C8.5 10.7239 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.7239 7.5 11H8.5ZM7.5 11.5C7.5 11.7761 7.72386 12 8 12C8.27614 12 8.5 11.7761 8.5 11.5H7.5ZM7.5 11V11.5H8.5V11H7.5Z","fill":"#FF2E43"}}),_c('circle',{attrs:{"cx":"8","cy":"8","r":"7","stroke":"#FF2E43"}})]),_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
|
|
9267
|
+
var TextAreavue_type_template_id_4e5b3cf7_staticRenderFns = []
|
|
9268
|
+
|
|
9269
|
+
|
|
9270
|
+
// CONCATENATED MODULE: ./src/components/TextArea/TextArea.vue?vue&type=template&id=4e5b3cf7&
|
|
9271
|
+
|
|
9272
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextArea/TextArea.vue?vue&type=script&lang=js&
|
|
9273
|
+
//
|
|
9274
|
+
//
|
|
9275
|
+
//
|
|
9276
|
+
//
|
|
9277
|
+
//
|
|
9278
|
+
//
|
|
9279
|
+
//
|
|
9280
|
+
//
|
|
9281
|
+
//
|
|
9282
|
+
//
|
|
9283
|
+
//
|
|
9284
|
+
//
|
|
9285
|
+
//
|
|
9286
|
+
//
|
|
9287
|
+
//
|
|
9288
|
+
//
|
|
9289
|
+
//
|
|
9290
|
+
//
|
|
9291
|
+
//
|
|
9292
|
+
//
|
|
9293
|
+
//
|
|
9294
|
+
//
|
|
9295
|
+
//
|
|
9296
|
+
//
|
|
9297
|
+
//
|
|
9298
|
+
//
|
|
9299
|
+
//
|
|
9300
|
+
//
|
|
9301
|
+
//
|
|
9302
|
+
//
|
|
9303
|
+
//
|
|
9304
|
+
//
|
|
9305
|
+
//
|
|
9306
|
+
//
|
|
9307
|
+
//
|
|
9308
|
+
//
|
|
9309
|
+
//
|
|
9310
|
+
//
|
|
9311
|
+
//
|
|
9312
|
+
//
|
|
9313
|
+
//
|
|
9314
|
+
//
|
|
9315
|
+
//
|
|
9316
|
+
//
|
|
9317
|
+
//
|
|
9318
|
+
//
|
|
9319
|
+
//
|
|
9320
|
+
//
|
|
9321
|
+
//
|
|
9322
|
+
//
|
|
9323
|
+
//
|
|
9324
|
+
//
|
|
9325
|
+
//
|
|
9326
|
+
//
|
|
9327
|
+
//
|
|
9328
|
+
//
|
|
9329
|
+
//
|
|
9330
|
+
//
|
|
9331
|
+
//
|
|
9332
|
+
//
|
|
9333
|
+
//
|
|
9334
|
+
//
|
|
9335
|
+
//
|
|
9336
|
+
|
|
9337
|
+
/* harmony default export */ var TextAreavue_type_script_lang_js_ = ({
|
|
9338
|
+
name: "TextArea",
|
|
9339
|
+
props: {
|
|
9340
|
+
errorText: {
|
|
9341
|
+
type: String,
|
|
9342
|
+
default: ""
|
|
9343
|
+
},
|
|
9344
|
+
label: {
|
|
9345
|
+
type: String,
|
|
9346
|
+
required: true
|
|
9347
|
+
},
|
|
9348
|
+
type: {
|
|
9349
|
+
type: String,
|
|
9350
|
+
default: "text"
|
|
9351
|
+
},
|
|
9352
|
+
value: {
|
|
9353
|
+
type: String,
|
|
9354
|
+
default: ""
|
|
9355
|
+
},
|
|
9356
|
+
placeholder: {
|
|
9357
|
+
type: String,
|
|
9358
|
+
default: ""
|
|
9359
|
+
},
|
|
9360
|
+
clearable: {
|
|
9361
|
+
type: Boolean,
|
|
9362
|
+
default: false
|
|
9363
|
+
},
|
|
9364
|
+
required: {
|
|
9365
|
+
type: Boolean,
|
|
9366
|
+
default: false
|
|
9367
|
+
},
|
|
9368
|
+
isEllipsis: {
|
|
9369
|
+
type: Boolean,
|
|
9370
|
+
default: false
|
|
9371
|
+
}
|
|
9372
|
+
},
|
|
9373
|
+
data: function data() {
|
|
9374
|
+
return {
|
|
9375
|
+
showPlaceholder: false
|
|
9376
|
+
};
|
|
9377
|
+
},
|
|
9378
|
+
computed: {
|
|
9379
|
+
inputPlaceholder: function inputPlaceholder() {
|
|
9380
|
+
return this.showPlaceholder ? this.placeholder : "";
|
|
9381
|
+
}
|
|
9382
|
+
},
|
|
9383
|
+
methods: {
|
|
9384
|
+
enterPressed: function enterPressed() {
|
|
9385
|
+
this.$emit("enterPressed", this.value);
|
|
9386
|
+
},
|
|
9387
|
+
inputHandler: function inputHandler(e) {
|
|
9388
|
+
this.$emit("input", e.target.value);
|
|
9389
|
+
}
|
|
9390
|
+
}
|
|
9391
|
+
});
|
|
9392
|
+
// CONCATENATED MODULE: ./src/components/TextArea/TextArea.vue?vue&type=script&lang=js&
|
|
9393
|
+
/* harmony default export */ var TextArea_TextAreavue_type_script_lang_js_ = (TextAreavue_type_script_lang_js_);
|
|
9394
|
+
// CONCATENATED MODULE: ./src/components/TextArea/TextArea.vue
|
|
9395
|
+
|
|
9396
|
+
|
|
9397
|
+
|
|
9398
|
+
|
|
9399
|
+
|
|
9400
|
+
/* normalize component */
|
|
9401
|
+
|
|
9402
|
+
var TextArea_component = normalizeComponent(
|
|
9403
|
+
TextArea_TextAreavue_type_script_lang_js_,
|
|
9404
|
+
TextAreavue_type_template_id_4e5b3cf7_render,
|
|
9405
|
+
TextAreavue_type_template_id_4e5b3cf7_staticRenderFns,
|
|
9406
|
+
false,
|
|
9407
|
+
null,
|
|
9408
|
+
null,
|
|
9409
|
+
null
|
|
9410
|
+
|
|
9411
|
+
)
|
|
9412
|
+
|
|
9413
|
+
/* harmony default export */ var TextArea = (TextArea_component.exports);
|
|
8989
9414
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PasswordField/PasswordField.vue?vue&type=template&id=19736e8c&
|
|
8990
9415
|
var PasswordFieldvue_type_template_id_19736e8c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label))]),(_vm.showPassword)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = false}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 511.992 511.992","id":"openedEye"}},[_c('path',{attrs:{"d":"M510.096 249.937c-4.032-5.867-100.928-143.275-254.101-143.275-131.435 0-248.555 136.619-253.483 142.443-3.349 3.968-3.349 9.792 0 13.781C7.44 268.71 124.56 405.329 255.995 405.329S504.549 268.71 509.477 262.886c3.094-3.669 3.371-8.981.619-12.949zM255.995 383.996c-105.365 0-205.547-100.48-230.997-128 25.408-27.541 125.483-128 230.997-128 123.285 0 210.304 100.331 231.552 127.424-24.534 26.645-125.291 128.576-231.552 128.576z"}}),_c('path',{attrs:{"d":"M255.995 170.662c-47.061 0-85.333 38.272-85.333 85.333s38.272 85.333 85.333 85.333 85.333-38.272 85.333-85.333-38.272-85.333-85.333-85.333zm0 149.334c-35.285 0-64-28.715-64-64s28.715-64 64-64 64 28.715 64 64-28.715 64-64 64z"}})])]):_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = true}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 512.001 512.001","id":"closedEye"}},[_c('path',{attrs:{"d":"M316.332 195.662c-4.16-4.16-10.923-4.16-15.083 0s-4.16 10.944 0 15.083c12.075 12.075 18.752 28.139 18.752 45.248 0 35.285-28.715 64-64 64-17.109 0-33.173-6.656-45.248-18.752-4.16-4.16-10.923-4.16-15.083 0-4.16 4.139-4.16 10.923 0 15.083 16.085 16.128 37.525 25.003 60.331 25.003 47.061 0 85.333-38.272 85.333-85.333 0-22.807-8.874-44.247-25.002-60.332zm-45.462-23.531c-4.843-.853-9.792-1.472-14.869-1.472-47.061 0-85.333 38.272-85.333 85.333 0 5.077.619 10.027 1.493 14.869.917 5.163 5.419 8.811 10.475 8.811.619 0 1.237-.043 1.877-.171 5.781-1.024 9.664-6.571 8.64-12.352-.661-3.627-1.152-7.317-1.152-11.157 0-35.285 28.715-64 64-64 3.84 0 7.531.491 11.157 1.131 5.675 1.152 11.328-2.859 12.352-8.64 1.024-5.781-2.858-11.328-8.64-12.352z"}}),_c('path',{attrs:{"d":"M509.462 249.102c-2.411-2.859-60.117-70.208-139.712-111.445-5.163-2.709-11.669-.661-14.379 4.587-2.709 5.227-.661 11.669 4.587 14.379 61.312 31.744 110.293 81.28 127.04 99.371-25.429 27.541-125.504 128-230.997 128-35.797 0-71.872-8.64-107.264-25.707-5.248-2.581-11.669-.341-14.229 4.971-2.581 5.291-.341 11.669 4.971 14.229 38.293 18.496 77.504 27.84 116.523 27.84 131.435 0 248.555-136.619 253.483-142.443 3.369-3.969 3.348-9.793-.023-13.782zM325.996 118.947c-24.277-8.171-47.829-12.288-69.995-12.288-131.435 0-248.555 136.619-253.483 142.443-3.115 3.669-3.371 9.003-.597 12.992 1.472 2.112 36.736 52.181 97.856 92.779a10.48 10.48 0 005.888 1.792c3.435 0 6.827-1.664 8.875-4.8 3.264-4.885 1.92-11.52-2.987-14.763-44.885-29.845-75.605-65.877-87.104-80.533 24.555-26.667 125.291-128.576 231.552-128.576 19.861 0 41.131 3.755 63.189 11.157 5.589 2.005 11.648-1.088 13.504-6.699 1.878-5.589-1.109-11.626-6.698-13.504z"}}),_c('path',{attrs:{"d":"M444.865 67.128c-4.16-4.16-10.923-4.16-15.083 0L67.116 429.795c-4.16 4.16-4.16 10.923 0 15.083a10.716 10.716 0 007.552 3.115c2.731 0 5.461-1.045 7.531-3.115L444.865 82.211c4.16-4.16 4.16-10.923 0-15.083z"}})])])]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_c('svg',{attrs:{"width":"14","height":"14","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg","id":"icon__attention"}},[_c('path',{attrs:{"d":"M8.5 4C8.5 3.72386 8.27614 3.5 8 3.5C7.72386 3.5 7.5 3.72386 7.5 4H8.5ZM7.5 9C7.5 9.27614 7.72386 9.5 8 9.5C8.27614 9.5 8.5 9.27614 8.5 9H7.5ZM7.5 4V9H8.5V4H7.5Z","fill":"#FF2E43"}}),_c('path',{attrs:{"d":"M8.5 11C8.5 10.7239 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.7239 7.5 11H8.5ZM7.5 11.5C7.5 11.7761 7.72386 12 8 12C8.27614 12 8.5 11.7761 8.5 11.5H7.5ZM7.5 11V11.5H8.5V11H7.5Z","fill":"#FF2E43"}}),_c('circle',{attrs:{"cx":"8","cy":"8","r":"7","stroke":"#FF2E43"}})]),_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
|
|
8991
9416
|
var PasswordFieldvue_type_template_id_19736e8c_staticRenderFns = []
|
|
@@ -11273,38 +11698,34 @@ var SearchTextField_component = normalizeComponent(
|
|
|
11273
11698
|
)
|
|
11274
11699
|
|
|
11275
11700
|
/* harmony default export */ var SearchTextField = (SearchTextField_component.exports);
|
|
11276
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MailTo/MailTo.vue?vue&type=template&id=
|
|
11277
|
-
var
|
|
11278
|
-
var
|
|
11701
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MailTo/MailTo.vue?vue&type=template&id=2e2b9d69&scoped=true&
|
|
11702
|
+
var MailTovue_type_template_id_2e2b9d69_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mail"},[_c('div',{staticClass:"mail__img-wrapper"},[_c('svg',{staticClass:"mail__img",attrs:{"width":"100","height":"85","viewBox":"0 0 100 85","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"clip-path":"url(#clip0_518_22722)"}},[_c('path',{attrs:{"d":"M82.8046 8.94045L4.49388 25.7383C1.69026 26.3397 -0.0932329 29.0916 0.510373 31.8849L11.0206 80.5231C11.6242 83.3164 14.3863 85.0933 17.1899 84.4919L95.5007 67.6941C98.3043 67.0927 100.088 64.3408 99.4842 61.5475L88.974 12.9093C88.3704 10.116 85.6083 8.33906 82.8046 8.94045Z","fill":"white","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"opacity":"0.6","d":"M49.0286 56.5055C44.9588 57.3783 41.6457 53.0141 34.6371 48.6815C20.4367 39.9133 7.646 31.4705 7.646 31.4705L9.48575 40.199L39.0732 58.9098C43.8518 61.3776 51.8161 60.1 55.9974 54.7677C55.0656 54.5138 53.9187 55.458 49.0286 56.5055Z","fill":"#BDC7CE","fill-opacity":"0.4"}}),_c('path',{attrs:{"opacity":"0.6","d":"M22.9133 72.2794C22.1016 72.4542 21.2633 72.4679 20.4463 72.3196C19.6294 72.1713 18.8498 71.8639 18.1522 71.415C17.4546 70.9662 16.8527 70.3847 16.3809 69.7038C15.9092 69.0229 15.5768 68.256 15.4029 67.447L7.49433 30.8586L2.6122 28.2003C1.92726 28.3511 0.0158305 29.581 0.748548 32.9613L10.7916 79.405C10.9655 80.2132 11.2976 80.9794 11.7689 81.6596C12.2401 82.3399 12.8412 82.9211 13.5379 83.3698C14.2346 83.8186 15.0132 84.1262 15.8293 84.275C16.6454 84.4239 17.4828 84.4112 18.2939 84.2375L94.401 67.9151C96.0335 67.5519 97.4571 66.5636 98.3645 65.1636C99.272 63.7637 99.5905 62.0643 99.2513 60.4324L98.3115 56.0919L22.9133 72.2794Z","fill":"#BDC7CE","fill-opacity":"0.4"}}),_c('path',{attrs:{"d":"M1.9668 27.7336L44.0343 54.8397C45.1788 55.5767 46.4581 56.0814 47.7988 56.3248C49.1396 56.5682 50.5153 56.5455 51.8471 56.258C53.179 55.9704 54.4408 55.4238 55.5602 54.6494C56.6796 53.8749 57.6344 52.888 58.3701 51.745L85.3692 9.68939","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M65.7535 40.3973L97.7063 65.5276","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M31.2595 46.9918L13.8813 83.5087","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M85.7678 19.6789C91.222 19.6789 95.6435 15.2736 95.6435 9.83943C95.6435 4.40526 91.222 0 85.7678 0C80.3135 0 75.892 4.40526 75.892 9.83943C75.892 15.2736 80.3135 19.6789 85.7678 19.6789Z","fill":"#E83949"}}),_c('path',{attrs:{"d":"M88.1413 14.433L86.4927 14.7901L85.075 8.20403C84.8998 7.41053 84.7883 6.7916 84.7246 6.32343C84.637 6.45833 84.5335 6.60909 84.406 6.77572C84.2786 6.94236 83.8485 7.48987 83.1158 8.36273L82.0645 7.49781L84.5653 4.49837L85.9352 4.19684L88.1413 14.433Z","fill":"white"}})]),_c('defs',[_c('clipPath',{attrs:{"id":"clip0_518_22722"}},[_c('rect',{attrs:{"width":"100","height":"85","fill":"white"}})])])])]),_c('h2',{staticClass:"mail__title"},[_vm._v("Интересует больше данных?")]),_vm._m(0),_c('form',{staticClass:"mail__form",attrs:{"novalidate":""}},[_c('a-text-field',{staticClass:"mail__form-input",attrs:{"label":"Введите email","error-text":_vm.emailError,"value":_vm.userEmail ? _vm.userEmail : _vm.email,"required":""},on:{"input":_vm.setEmail}}),_c('a-text-field',{directives:[{name:"mask",rawName:"v-mask",value:('8 (###) ###-##-##'),expression:"'8 (###) ###-##-##'"}],staticClass:"mail__form-input",attrs:{"label":"Введите номер телефона"},model:{value:(_vm.phoneNumber),callback:function ($$v) {_vm.phoneNumber=$$v},expression:"phoneNumber"}}),_c('a-text-area',{staticClass:"mail__form-input",attrs:{"label":"Ваш комментарий","error-text":_vm.messageError,"required":""},model:{value:(_vm.message),callback:function ($$v) {_vm.message=$$v},expression:"message"}}),_c('a-button',{staticClass:"mail__form-btn",on:{"click":function($event){$event.preventDefault();return _vm.onSubmitForm.apply(null, arguments)}}},[_vm._v(" Отправить ")])],1)])}
|
|
11703
|
+
var MailTovue_type_template_id_2e2b9d69_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:"mail__text"},[_vm._v(" Мы обязательно ответим вам "),_c('br'),_vm._v(" в кратчайшие сроки. ")])}]
|
|
11704
|
+
|
|
11279
11705
|
|
|
11706
|
+
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=template&id=2e2b9d69&scoped=true&
|
|
11280
11707
|
|
|
11281
|
-
//
|
|
11708
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
|
11709
|
+
var es_regexp_constructor = __webpack_require__("4d63");
|
|
11710
|
+
|
|
11711
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.dot-all.js
|
|
11712
|
+
var es_regexp_dot_all = __webpack_require__("c607");
|
|
11713
|
+
|
|
11714
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.sticky.js
|
|
11715
|
+
var es_regexp_sticky = __webpack_require__("2c3e");
|
|
11282
11716
|
|
|
11283
11717
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MailTo/MailTo.vue?vue&type=script&lang=js&
|
|
11284
|
-
|
|
11285
|
-
|
|
11286
|
-
|
|
11287
|
-
|
|
11288
|
-
|
|
11289
|
-
|
|
11290
|
-
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
//
|
|
11296
|
-
//
|
|
11297
|
-
//
|
|
11298
|
-
//
|
|
11299
|
-
//
|
|
11300
|
-
//
|
|
11301
|
-
//
|
|
11302
|
-
//
|
|
11303
|
-
//
|
|
11304
|
-
//
|
|
11305
|
-
//
|
|
11306
|
-
//
|
|
11307
|
-
//
|
|
11718
|
+
|
|
11719
|
+
|
|
11720
|
+
|
|
11721
|
+
|
|
11722
|
+
|
|
11723
|
+
|
|
11724
|
+
|
|
11725
|
+
|
|
11726
|
+
|
|
11727
|
+
|
|
11728
|
+
|
|
11308
11729
|
//
|
|
11309
11730
|
//
|
|
11310
11731
|
//
|
|
@@ -11364,12 +11785,105 @@ var MailTovue_type_template_id_8f5ba560_scoped_true_staticRenderFns = [function
|
|
|
11364
11785
|
//
|
|
11365
11786
|
//
|
|
11366
11787
|
/* harmony default export */ var MailTovue_type_script_lang_js_ = ({
|
|
11367
|
-
name: "
|
|
11788
|
+
name: "MailToTemplate",
|
|
11789
|
+
props: {
|
|
11790
|
+
userEmail: {
|
|
11791
|
+
type: String,
|
|
11792
|
+
default: ''
|
|
11793
|
+
}
|
|
11794
|
+
},
|
|
11795
|
+
data: function data() {
|
|
11796
|
+
return {
|
|
11797
|
+
email: '',
|
|
11798
|
+
phoneNumber: '',
|
|
11799
|
+
message: '',
|
|
11800
|
+
emailError: '',
|
|
11801
|
+
messageError: ''
|
|
11802
|
+
};
|
|
11803
|
+
},
|
|
11804
|
+
methods: {
|
|
11805
|
+
setEmail: function setEmail(data) {
|
|
11806
|
+
this.email = data;
|
|
11807
|
+
},
|
|
11808
|
+
onSubmitForm: function onSubmitForm() {
|
|
11809
|
+
var regex = new RegExp('^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$');
|
|
11810
|
+
|
|
11811
|
+
if (!this.email.length || !regex.test(this.email)) {
|
|
11812
|
+
this.emailError = 'Введите валидыный email';
|
|
11813
|
+
return;
|
|
11814
|
+
} else {
|
|
11815
|
+
this.emailError = '';
|
|
11816
|
+
}
|
|
11817
|
+
|
|
11818
|
+
if (this.message.length < 20) {
|
|
11819
|
+
this.messageError = 'Введите больше чем 20 символов';
|
|
11820
|
+
return;
|
|
11821
|
+
} else {
|
|
11822
|
+
this.messageError = '';
|
|
11823
|
+
}
|
|
11824
|
+
|
|
11825
|
+
this.requestSupport();
|
|
11826
|
+
},
|
|
11827
|
+
requestSupport: function requestSupport() {
|
|
11828
|
+
var _this = this;
|
|
11829
|
+
|
|
11830
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
11831
|
+
var requestBody, response, result;
|
|
11832
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
11833
|
+
while (1) {
|
|
11834
|
+
switch (_context.prev = _context.next) {
|
|
11835
|
+
case 0:
|
|
11836
|
+
requestBody = {
|
|
11837
|
+
sender_name: _this.email,
|
|
11838
|
+
email: _this.email,
|
|
11839
|
+
phone_number: _this.phoneNumber ? _this.phoneNumber : _this.email,
|
|
11840
|
+
message: _this.message
|
|
11841
|
+
};
|
|
11842
|
+
_context.prev = 1;
|
|
11843
|
+
_context.next = 4;
|
|
11844
|
+
return fetch('https://users.adtdev.kz/api/v1/message/regards', {
|
|
11845
|
+
method: "POST",
|
|
11846
|
+
headers: {
|
|
11847
|
+
'Content-Type': 'application/json'
|
|
11848
|
+
},
|
|
11849
|
+
body: JSON.stringify(requestBody)
|
|
11850
|
+
});
|
|
11851
|
+
|
|
11852
|
+
case 4:
|
|
11853
|
+
response = _context.sent;
|
|
11854
|
+
_context.next = 7;
|
|
11855
|
+
return response.json();
|
|
11856
|
+
|
|
11857
|
+
case 7:
|
|
11858
|
+
result = _context.sent;
|
|
11859
|
+
|
|
11860
|
+
if (result.success) {
|
|
11861
|
+
_this.$emit('success', result);
|
|
11862
|
+
}
|
|
11863
|
+
|
|
11864
|
+
_context.next = 14;
|
|
11865
|
+
break;
|
|
11866
|
+
|
|
11867
|
+
case 11:
|
|
11868
|
+
_context.prev = 11;
|
|
11869
|
+
_context.t0 = _context["catch"](1);
|
|
11870
|
+
|
|
11871
|
+
_this.$emit('error', _context.t0);
|
|
11872
|
+
|
|
11873
|
+
case 14:
|
|
11874
|
+
case "end":
|
|
11875
|
+
return _context.stop();
|
|
11876
|
+
}
|
|
11877
|
+
}
|
|
11878
|
+
}, _callee, null, [[1, 11]]);
|
|
11879
|
+
}))();
|
|
11880
|
+
}
|
|
11881
|
+
}
|
|
11368
11882
|
});
|
|
11369
11883
|
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=script&lang=js&
|
|
11370
11884
|
/* harmony default export */ var MailTo_MailTovue_type_script_lang_js_ = (MailTovue_type_script_lang_js_);
|
|
11371
|
-
// EXTERNAL MODULE: ./src/components/MailTo/MailTo.vue?vue&type=style&index=0&id=
|
|
11372
|
-
var
|
|
11885
|
+
// EXTERNAL MODULE: ./src/components/MailTo/MailTo.vue?vue&type=style&index=0&id=2e2b9d69&lang=scss&scoped=true&
|
|
11886
|
+
var MailTovue_type_style_index_0_id_2e2b9d69_lang_scss_scoped_true_ = __webpack_require__("57cf");
|
|
11373
11887
|
|
|
11374
11888
|
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue
|
|
11375
11889
|
|
|
@@ -11382,11 +11896,11 @@ var MailTovue_type_style_index_0_id_8f5ba560_lang_scss_scoped_true_ = __webpack_
|
|
|
11382
11896
|
|
|
11383
11897
|
var MailTo_component = normalizeComponent(
|
|
11384
11898
|
MailTo_MailTovue_type_script_lang_js_,
|
|
11385
|
-
|
|
11386
|
-
|
|
11899
|
+
MailTovue_type_template_id_2e2b9d69_scoped_true_render,
|
|
11900
|
+
MailTovue_type_template_id_2e2b9d69_scoped_true_staticRenderFns,
|
|
11387
11901
|
false,
|
|
11388
11902
|
null,
|
|
11389
|
-
"
|
|
11903
|
+
"2e2b9d69",
|
|
11390
11904
|
null
|
|
11391
11905
|
|
|
11392
11906
|
)
|
|
@@ -11482,10 +11996,12 @@ var ATable_component = normalizeComponent(
|
|
|
11482
11996
|
|
|
11483
11997
|
|
|
11484
11998
|
|
|
11999
|
+
|
|
11485
12000
|
var Components = {
|
|
11486
12001
|
ACheckbox: ACheckbox,
|
|
11487
12002
|
AButton: AButton,
|
|
11488
12003
|
ATextField: TextField,
|
|
12004
|
+
ATextArea: TextArea,
|
|
11489
12005
|
APasswordField: PasswordField,
|
|
11490
12006
|
AAlert: Alert,
|
|
11491
12007
|
AHeader: Header,
|