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.common.js
CHANGED
|
@@ -267,17 +267,6 @@ module.exports = function (obj) {
|
|
|
267
267
|
};
|
|
268
268
|
|
|
269
269
|
|
|
270
|
-
/***/ }),
|
|
271
|
-
|
|
272
|
-
/***/ "09ea":
|
|
273
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
274
|
-
|
|
275
|
-
"use strict";
|
|
276
|
-
/* 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");
|
|
277
|
-
/* 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__);
|
|
278
|
-
/* unused harmony reexport * */
|
|
279
|
-
|
|
280
|
-
|
|
281
270
|
/***/ }),
|
|
282
271
|
|
|
283
272
|
/***/ "0b42":
|
|
@@ -1148,6 +1137,39 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
1148
1137
|
});
|
|
1149
1138
|
|
|
1150
1139
|
|
|
1140
|
+
/***/ }),
|
|
1141
|
+
|
|
1142
|
+
/***/ "2c3e":
|
|
1143
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1144
|
+
|
|
1145
|
+
var global = __webpack_require__("da84");
|
|
1146
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1147
|
+
var MISSED_STICKY = __webpack_require__("9f7f").MISSED_STICKY;
|
|
1148
|
+
var classof = __webpack_require__("c6b6");
|
|
1149
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
1150
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
1151
|
+
|
|
1152
|
+
var RegExpPrototype = RegExp.prototype;
|
|
1153
|
+
var TypeError = global.TypeError;
|
|
1154
|
+
|
|
1155
|
+
// `RegExp.prototype.sticky` getter
|
|
1156
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky
|
|
1157
|
+
if (DESCRIPTORS && MISSED_STICKY) {
|
|
1158
|
+
defineProperty(RegExpPrototype, 'sticky', {
|
|
1159
|
+
configurable: true,
|
|
1160
|
+
get: function () {
|
|
1161
|
+
if (this === RegExpPrototype) return undefined;
|
|
1162
|
+
// We can't use InternalStateModule.getterFor because
|
|
1163
|
+
// we don't add metadata for regexps created by a literal.
|
|
1164
|
+
if (classof(this) === 'RegExp') {
|
|
1165
|
+
return !!getInternalState(this).sticky;
|
|
1166
|
+
}
|
|
1167
|
+
throw TypeError('Incompatible receiver, RegExp required');
|
|
1168
|
+
}
|
|
1169
|
+
});
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
|
|
1151
1173
|
/***/ }),
|
|
1152
1174
|
|
|
1153
1175
|
/***/ "2cf4":
|
|
@@ -1628,6 +1650,212 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
1628
1650
|
|
|
1629
1651
|
// extracted by mini-css-extract-plugin
|
|
1630
1652
|
|
|
1653
|
+
/***/ }),
|
|
1654
|
+
|
|
1655
|
+
/***/ "4d63":
|
|
1656
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1657
|
+
|
|
1658
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1659
|
+
var global = __webpack_require__("da84");
|
|
1660
|
+
var uncurryThis = __webpack_require__("e330");
|
|
1661
|
+
var isForced = __webpack_require__("94ca");
|
|
1662
|
+
var inheritIfRequired = __webpack_require__("7156");
|
|
1663
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1664
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
1665
|
+
var getOwnPropertyNames = __webpack_require__("241c").f;
|
|
1666
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1667
|
+
var isRegExp = __webpack_require__("44e7");
|
|
1668
|
+
var toString = __webpack_require__("577e");
|
|
1669
|
+
var regExpFlags = __webpack_require__("ad6d");
|
|
1670
|
+
var stickyHelpers = __webpack_require__("9f7f");
|
|
1671
|
+
var redefine = __webpack_require__("6eeb");
|
|
1672
|
+
var fails = __webpack_require__("d039");
|
|
1673
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
1674
|
+
var enforceInternalState = __webpack_require__("69f3").enforce;
|
|
1675
|
+
var setSpecies = __webpack_require__("2626");
|
|
1676
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
1677
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
1678
|
+
var UNSUPPORTED_NCG = __webpack_require__("107c");
|
|
1679
|
+
|
|
1680
|
+
var MATCH = wellKnownSymbol('match');
|
|
1681
|
+
var NativeRegExp = global.RegExp;
|
|
1682
|
+
var RegExpPrototype = NativeRegExp.prototype;
|
|
1683
|
+
var SyntaxError = global.SyntaxError;
|
|
1684
|
+
var getFlags = uncurryThis(regExpFlags);
|
|
1685
|
+
var exec = uncurryThis(RegExpPrototype.exec);
|
|
1686
|
+
var charAt = uncurryThis(''.charAt);
|
|
1687
|
+
var replace = uncurryThis(''.replace);
|
|
1688
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
1689
|
+
var stringSlice = uncurryThis(''.slice);
|
|
1690
|
+
// TODO: Use only propper RegExpIdentifierName
|
|
1691
|
+
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
1692
|
+
var re1 = /a/g;
|
|
1693
|
+
var re2 = /a/g;
|
|
1694
|
+
|
|
1695
|
+
// "new" should create a new object, old webkit bug
|
|
1696
|
+
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
|
1697
|
+
|
|
1698
|
+
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
|
|
1699
|
+
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
1700
|
+
|
|
1701
|
+
var BASE_FORCED = DESCRIPTORS &&
|
|
1702
|
+
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
|
1703
|
+
re2[MATCH] = false;
|
|
1704
|
+
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
1705
|
+
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
|
|
1706
|
+
}));
|
|
1707
|
+
|
|
1708
|
+
var handleDotAll = function (string) {
|
|
1709
|
+
var length = string.length;
|
|
1710
|
+
var index = 0;
|
|
1711
|
+
var result = '';
|
|
1712
|
+
var brackets = false;
|
|
1713
|
+
var chr;
|
|
1714
|
+
for (; index <= length; index++) {
|
|
1715
|
+
chr = charAt(string, index);
|
|
1716
|
+
if (chr === '\\') {
|
|
1717
|
+
result += chr + charAt(string, ++index);
|
|
1718
|
+
continue;
|
|
1719
|
+
}
|
|
1720
|
+
if (!brackets && chr === '.') {
|
|
1721
|
+
result += '[\\s\\S]';
|
|
1722
|
+
} else {
|
|
1723
|
+
if (chr === '[') {
|
|
1724
|
+
brackets = true;
|
|
1725
|
+
} else if (chr === ']') {
|
|
1726
|
+
brackets = false;
|
|
1727
|
+
} result += chr;
|
|
1728
|
+
}
|
|
1729
|
+
} return result;
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
var handleNCG = function (string) {
|
|
1733
|
+
var length = string.length;
|
|
1734
|
+
var index = 0;
|
|
1735
|
+
var result = '';
|
|
1736
|
+
var named = [];
|
|
1737
|
+
var names = {};
|
|
1738
|
+
var brackets = false;
|
|
1739
|
+
var ncg = false;
|
|
1740
|
+
var groupid = 0;
|
|
1741
|
+
var groupname = '';
|
|
1742
|
+
var chr;
|
|
1743
|
+
for (; index <= length; index++) {
|
|
1744
|
+
chr = charAt(string, index);
|
|
1745
|
+
if (chr === '\\') {
|
|
1746
|
+
chr = chr + charAt(string, ++index);
|
|
1747
|
+
} else if (chr === ']') {
|
|
1748
|
+
brackets = false;
|
|
1749
|
+
} else if (!brackets) switch (true) {
|
|
1750
|
+
case chr === '[':
|
|
1751
|
+
brackets = true;
|
|
1752
|
+
break;
|
|
1753
|
+
case chr === '(':
|
|
1754
|
+
if (exec(IS_NCG, stringSlice(string, index + 1))) {
|
|
1755
|
+
index += 2;
|
|
1756
|
+
ncg = true;
|
|
1757
|
+
}
|
|
1758
|
+
result += chr;
|
|
1759
|
+
groupid++;
|
|
1760
|
+
continue;
|
|
1761
|
+
case chr === '>' && ncg:
|
|
1762
|
+
if (groupname === '' || hasOwn(names, groupname)) {
|
|
1763
|
+
throw new SyntaxError('Invalid capture group name');
|
|
1764
|
+
}
|
|
1765
|
+
names[groupname] = true;
|
|
1766
|
+
named[named.length] = [groupname, groupid];
|
|
1767
|
+
ncg = false;
|
|
1768
|
+
groupname = '';
|
|
1769
|
+
continue;
|
|
1770
|
+
}
|
|
1771
|
+
if (ncg) groupname += chr;
|
|
1772
|
+
else result += chr;
|
|
1773
|
+
} return [result, named];
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
// `RegExp` constructor
|
|
1777
|
+
// https://tc39.es/ecma262/#sec-regexp-constructor
|
|
1778
|
+
if (isForced('RegExp', BASE_FORCED)) {
|
|
1779
|
+
var RegExpWrapper = function RegExp(pattern, flags) {
|
|
1780
|
+
var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
|
|
1781
|
+
var patternIsRegExp = isRegExp(pattern);
|
|
1782
|
+
var flagsAreUndefined = flags === undefined;
|
|
1783
|
+
var groups = [];
|
|
1784
|
+
var rawPattern = pattern;
|
|
1785
|
+
var rawFlags, dotAll, sticky, handled, result, state;
|
|
1786
|
+
|
|
1787
|
+
if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
|
|
1788
|
+
return pattern;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
|
|
1792
|
+
pattern = pattern.source;
|
|
1793
|
+
if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags(rawPattern);
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
pattern = pattern === undefined ? '' : toString(pattern);
|
|
1797
|
+
flags = flags === undefined ? '' : toString(flags);
|
|
1798
|
+
rawPattern = pattern;
|
|
1799
|
+
|
|
1800
|
+
if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
|
|
1801
|
+
dotAll = !!flags && stringIndexOf(flags, 's') > -1;
|
|
1802
|
+
if (dotAll) flags = replace(flags, /s/g, '');
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
rawFlags = flags;
|
|
1806
|
+
|
|
1807
|
+
if (MISSED_STICKY && 'sticky' in re1) {
|
|
1808
|
+
sticky = !!flags && stringIndexOf(flags, 'y') > -1;
|
|
1809
|
+
if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
if (UNSUPPORTED_NCG) {
|
|
1813
|
+
handled = handleNCG(pattern);
|
|
1814
|
+
pattern = handled[0];
|
|
1815
|
+
groups = handled[1];
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
|
|
1819
|
+
|
|
1820
|
+
if (dotAll || sticky || groups.length) {
|
|
1821
|
+
state = enforceInternalState(result);
|
|
1822
|
+
if (dotAll) {
|
|
1823
|
+
state.dotAll = true;
|
|
1824
|
+
state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
|
|
1825
|
+
}
|
|
1826
|
+
if (sticky) state.sticky = true;
|
|
1827
|
+
if (groups.length) state.groups = groups;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
if (pattern !== rawPattern) try {
|
|
1831
|
+
// fails in old engines, but we have no alternatives for unsupported regex syntax
|
|
1832
|
+
createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
|
|
1833
|
+
} catch (error) { /* empty */ }
|
|
1834
|
+
|
|
1835
|
+
return result;
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
var proxy = function (key) {
|
|
1839
|
+
key in RegExpWrapper || defineProperty(RegExpWrapper, key, {
|
|
1840
|
+
configurable: true,
|
|
1841
|
+
get: function () { return NativeRegExp[key]; },
|
|
1842
|
+
set: function (it) { NativeRegExp[key] = it; }
|
|
1843
|
+
});
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
|
|
1847
|
+
proxy(keys[index++]);
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
RegExpPrototype.constructor = RegExpWrapper;
|
|
1851
|
+
RegExpWrapper.prototype = RegExpPrototype;
|
|
1852
|
+
redefine(global, 'RegExp', RegExpWrapper);
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
1856
|
+
setSpecies('RegExp');
|
|
1857
|
+
|
|
1858
|
+
|
|
1631
1859
|
/***/ }),
|
|
1632
1860
|
|
|
1633
1861
|
/***/ "4d64":
|
|
@@ -2014,6 +2242,17 @@ module.exports = function (argument) {
|
|
|
2014
2242
|
};
|
|
2015
2243
|
|
|
2016
2244
|
|
|
2245
|
+
/***/ }),
|
|
2246
|
+
|
|
2247
|
+
/***/ "57cf":
|
|
2248
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2249
|
+
|
|
2250
|
+
"use strict";
|
|
2251
|
+
/* 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");
|
|
2252
|
+
/* 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__);
|
|
2253
|
+
/* unused harmony reexport * */
|
|
2254
|
+
|
|
2255
|
+
|
|
2017
2256
|
/***/ }),
|
|
2018
2257
|
|
|
2019
2258
|
/***/ "5899":
|
|
@@ -2449,13 +2688,6 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
2449
2688
|
};
|
|
2450
2689
|
|
|
2451
2690
|
|
|
2452
|
-
/***/ }),
|
|
2453
|
-
|
|
2454
|
-
/***/ "7208":
|
|
2455
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2456
|
-
|
|
2457
|
-
// extracted by mini-css-extract-plugin
|
|
2458
|
-
|
|
2459
2691
|
/***/ }),
|
|
2460
2692
|
|
|
2461
2693
|
/***/ "73ec":
|
|
@@ -2917,6 +3149,13 @@ module.exports = function (it) {
|
|
|
2917
3149
|
|
|
2918
3150
|
/***/ }),
|
|
2919
3151
|
|
|
3152
|
+
/***/ "87cd":
|
|
3153
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3154
|
+
|
|
3155
|
+
// extracted by mini-css-extract-plugin
|
|
3156
|
+
|
|
3157
|
+
/***/ }),
|
|
3158
|
+
|
|
2920
3159
|
/***/ "8875":
|
|
2921
3160
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2922
3161
|
|
|
@@ -6736,6 +6975,39 @@ module.exports = function (input, pref) {
|
|
|
6736
6975
|
module.exports = false;
|
|
6737
6976
|
|
|
6738
6977
|
|
|
6978
|
+
/***/ }),
|
|
6979
|
+
|
|
6980
|
+
/***/ "c607":
|
|
6981
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6982
|
+
|
|
6983
|
+
var global = __webpack_require__("da84");
|
|
6984
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
6985
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
6986
|
+
var classof = __webpack_require__("c6b6");
|
|
6987
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
6988
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
6989
|
+
|
|
6990
|
+
var RegExpPrototype = RegExp.prototype;
|
|
6991
|
+
var TypeError = global.TypeError;
|
|
6992
|
+
|
|
6993
|
+
// `RegExp.prototype.dotAll` getter
|
|
6994
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
|
|
6995
|
+
if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {
|
|
6996
|
+
defineProperty(RegExpPrototype, 'dotAll', {
|
|
6997
|
+
configurable: true,
|
|
6998
|
+
get: function () {
|
|
6999
|
+
if (this === RegExpPrototype) return undefined;
|
|
7000
|
+
// We can't use InternalStateModule.getterFor because
|
|
7001
|
+
// we don't add metadata for regexps created by a literal.
|
|
7002
|
+
if (classof(this) === 'RegExp') {
|
|
7003
|
+
return !!getInternalState(this).dotAll;
|
|
7004
|
+
}
|
|
7005
|
+
throw TypeError('Incompatible receiver, RegExp required');
|
|
7006
|
+
}
|
|
7007
|
+
});
|
|
7008
|
+
}
|
|
7009
|
+
|
|
7010
|
+
|
|
6739
7011
|
/***/ }),
|
|
6740
7012
|
|
|
6741
7013
|
/***/ "c65b":
|
|
@@ -8829,12 +9101,12 @@ var AButton_component = normalizeComponent(
|
|
|
8829
9101
|
)
|
|
8830
9102
|
|
|
8831
9103
|
/* harmony default export */ var AButton = (AButton_component.exports);
|
|
8832
|
-
// 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=
|
|
8833
|
-
var
|
|
8834
|
-
var
|
|
9104
|
+
// 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&
|
|
9105
|
+
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()])}
|
|
9106
|
+
var TextFieldvue_type_template_id_4ed49724_staticRenderFns = []
|
|
8835
9107
|
|
|
8836
9108
|
|
|
8837
|
-
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=
|
|
9109
|
+
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=4ed49724&
|
|
8838
9110
|
|
|
8839
9111
|
// EXTERNAL MODULE: ./src/assets/style.scss
|
|
8840
9112
|
var style = __webpack_require__("73ec");
|
|
@@ -8934,6 +9206,10 @@ var style = __webpack_require__("73ec");
|
|
|
8934
9206
|
required: {
|
|
8935
9207
|
type: Boolean,
|
|
8936
9208
|
default: false
|
|
9209
|
+
},
|
|
9210
|
+
isEllipsis: {
|
|
9211
|
+
type: Boolean,
|
|
9212
|
+
default: false
|
|
8937
9213
|
}
|
|
8938
9214
|
},
|
|
8939
9215
|
data: function data() {
|
|
@@ -8967,8 +9243,8 @@ var style = __webpack_require__("73ec");
|
|
|
8967
9243
|
|
|
8968
9244
|
var TextField_component = normalizeComponent(
|
|
8969
9245
|
TextField_TextFieldvue_type_script_lang_js_,
|
|
8970
|
-
|
|
8971
|
-
|
|
9246
|
+
TextFieldvue_type_template_id_4ed49724_render,
|
|
9247
|
+
TextFieldvue_type_template_id_4ed49724_staticRenderFns,
|
|
8972
9248
|
false,
|
|
8973
9249
|
null,
|
|
8974
9250
|
null,
|
|
@@ -8977,6 +9253,155 @@ var TextField_component = normalizeComponent(
|
|
|
8977
9253
|
)
|
|
8978
9254
|
|
|
8979
9255
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
9256
|
+
// 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&
|
|
9257
|
+
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()])}
|
|
9258
|
+
var TextAreavue_type_template_id_4e5b3cf7_staticRenderFns = []
|
|
9259
|
+
|
|
9260
|
+
|
|
9261
|
+
// CONCATENATED MODULE: ./src/components/TextArea/TextArea.vue?vue&type=template&id=4e5b3cf7&
|
|
9262
|
+
|
|
9263
|
+
// 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&
|
|
9264
|
+
//
|
|
9265
|
+
//
|
|
9266
|
+
//
|
|
9267
|
+
//
|
|
9268
|
+
//
|
|
9269
|
+
//
|
|
9270
|
+
//
|
|
9271
|
+
//
|
|
9272
|
+
//
|
|
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
|
+
/* harmony default export */ var TextAreavue_type_script_lang_js_ = ({
|
|
9329
|
+
name: "TextArea",
|
|
9330
|
+
props: {
|
|
9331
|
+
errorText: {
|
|
9332
|
+
type: String,
|
|
9333
|
+
default: ""
|
|
9334
|
+
},
|
|
9335
|
+
label: {
|
|
9336
|
+
type: String,
|
|
9337
|
+
required: true
|
|
9338
|
+
},
|
|
9339
|
+
type: {
|
|
9340
|
+
type: String,
|
|
9341
|
+
default: "text"
|
|
9342
|
+
},
|
|
9343
|
+
value: {
|
|
9344
|
+
type: String,
|
|
9345
|
+
default: ""
|
|
9346
|
+
},
|
|
9347
|
+
placeholder: {
|
|
9348
|
+
type: String,
|
|
9349
|
+
default: ""
|
|
9350
|
+
},
|
|
9351
|
+
clearable: {
|
|
9352
|
+
type: Boolean,
|
|
9353
|
+
default: false
|
|
9354
|
+
},
|
|
9355
|
+
required: {
|
|
9356
|
+
type: Boolean,
|
|
9357
|
+
default: false
|
|
9358
|
+
},
|
|
9359
|
+
isEllipsis: {
|
|
9360
|
+
type: Boolean,
|
|
9361
|
+
default: false
|
|
9362
|
+
}
|
|
9363
|
+
},
|
|
9364
|
+
data: function data() {
|
|
9365
|
+
return {
|
|
9366
|
+
showPlaceholder: false
|
|
9367
|
+
};
|
|
9368
|
+
},
|
|
9369
|
+
computed: {
|
|
9370
|
+
inputPlaceholder: function inputPlaceholder() {
|
|
9371
|
+
return this.showPlaceholder ? this.placeholder : "";
|
|
9372
|
+
}
|
|
9373
|
+
},
|
|
9374
|
+
methods: {
|
|
9375
|
+
enterPressed: function enterPressed() {
|
|
9376
|
+
this.$emit("enterPressed", this.value);
|
|
9377
|
+
},
|
|
9378
|
+
inputHandler: function inputHandler(e) {
|
|
9379
|
+
this.$emit("input", e.target.value);
|
|
9380
|
+
}
|
|
9381
|
+
}
|
|
9382
|
+
});
|
|
9383
|
+
// CONCATENATED MODULE: ./src/components/TextArea/TextArea.vue?vue&type=script&lang=js&
|
|
9384
|
+
/* harmony default export */ var TextArea_TextAreavue_type_script_lang_js_ = (TextAreavue_type_script_lang_js_);
|
|
9385
|
+
// CONCATENATED MODULE: ./src/components/TextArea/TextArea.vue
|
|
9386
|
+
|
|
9387
|
+
|
|
9388
|
+
|
|
9389
|
+
|
|
9390
|
+
|
|
9391
|
+
/* normalize component */
|
|
9392
|
+
|
|
9393
|
+
var TextArea_component = normalizeComponent(
|
|
9394
|
+
TextArea_TextAreavue_type_script_lang_js_,
|
|
9395
|
+
TextAreavue_type_template_id_4e5b3cf7_render,
|
|
9396
|
+
TextAreavue_type_template_id_4e5b3cf7_staticRenderFns,
|
|
9397
|
+
false,
|
|
9398
|
+
null,
|
|
9399
|
+
null,
|
|
9400
|
+
null
|
|
9401
|
+
|
|
9402
|
+
)
|
|
9403
|
+
|
|
9404
|
+
/* harmony default export */ var TextArea = (TextArea_component.exports);
|
|
8980
9405
|
// 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&
|
|
8981
9406
|
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()])}
|
|
8982
9407
|
var PasswordFieldvue_type_template_id_19736e8c_staticRenderFns = []
|
|
@@ -11264,38 +11689,34 @@ var SearchTextField_component = normalizeComponent(
|
|
|
11264
11689
|
)
|
|
11265
11690
|
|
|
11266
11691
|
/* harmony default export */ var SearchTextField = (SearchTextField_component.exports);
|
|
11267
|
-
// 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=
|
|
11268
|
-
var
|
|
11269
|
-
var
|
|
11692
|
+
// 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&
|
|
11693
|
+
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)])}
|
|
11694
|
+
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(" в кратчайшие сроки. ")])}]
|
|
11695
|
+
|
|
11270
11696
|
|
|
11697
|
+
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=template&id=2e2b9d69&scoped=true&
|
|
11271
11698
|
|
|
11272
|
-
//
|
|
11699
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
|
11700
|
+
var es_regexp_constructor = __webpack_require__("4d63");
|
|
11701
|
+
|
|
11702
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.dot-all.js
|
|
11703
|
+
var es_regexp_dot_all = __webpack_require__("c607");
|
|
11704
|
+
|
|
11705
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.sticky.js
|
|
11706
|
+
var es_regexp_sticky = __webpack_require__("2c3e");
|
|
11273
11707
|
|
|
11274
11708
|
// 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&
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
-
|
|
11280
|
-
|
|
11281
|
-
|
|
11282
|
-
|
|
11283
|
-
|
|
11284
|
-
|
|
11285
|
-
|
|
11286
|
-
//
|
|
11287
|
-
//
|
|
11288
|
-
//
|
|
11289
|
-
//
|
|
11290
|
-
//
|
|
11291
|
-
//
|
|
11292
|
-
//
|
|
11293
|
-
//
|
|
11294
|
-
//
|
|
11295
|
-
//
|
|
11296
|
-
//
|
|
11297
|
-
//
|
|
11298
|
-
//
|
|
11709
|
+
|
|
11710
|
+
|
|
11711
|
+
|
|
11712
|
+
|
|
11713
|
+
|
|
11714
|
+
|
|
11715
|
+
|
|
11716
|
+
|
|
11717
|
+
|
|
11718
|
+
|
|
11719
|
+
|
|
11299
11720
|
//
|
|
11300
11721
|
//
|
|
11301
11722
|
//
|
|
@@ -11355,12 +11776,105 @@ var MailTovue_type_template_id_8f5ba560_scoped_true_staticRenderFns = [function
|
|
|
11355
11776
|
//
|
|
11356
11777
|
//
|
|
11357
11778
|
/* harmony default export */ var MailTovue_type_script_lang_js_ = ({
|
|
11358
|
-
name: "
|
|
11779
|
+
name: "MailToTemplate",
|
|
11780
|
+
props: {
|
|
11781
|
+
userEmail: {
|
|
11782
|
+
type: String,
|
|
11783
|
+
default: ''
|
|
11784
|
+
}
|
|
11785
|
+
},
|
|
11786
|
+
data: function data() {
|
|
11787
|
+
return {
|
|
11788
|
+
email: '',
|
|
11789
|
+
phoneNumber: '',
|
|
11790
|
+
message: '',
|
|
11791
|
+
emailError: '',
|
|
11792
|
+
messageError: ''
|
|
11793
|
+
};
|
|
11794
|
+
},
|
|
11795
|
+
methods: {
|
|
11796
|
+
setEmail: function setEmail(data) {
|
|
11797
|
+
this.email = data;
|
|
11798
|
+
},
|
|
11799
|
+
onSubmitForm: function onSubmitForm() {
|
|
11800
|
+
var regex = new RegExp('^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$');
|
|
11801
|
+
|
|
11802
|
+
if (!this.email.length || !regex.test(this.email)) {
|
|
11803
|
+
this.emailError = 'Введите валидыный email';
|
|
11804
|
+
return;
|
|
11805
|
+
} else {
|
|
11806
|
+
this.emailError = '';
|
|
11807
|
+
}
|
|
11808
|
+
|
|
11809
|
+
if (this.message.length < 20) {
|
|
11810
|
+
this.messageError = 'Введите больше чем 20 символов';
|
|
11811
|
+
return;
|
|
11812
|
+
} else {
|
|
11813
|
+
this.messageError = '';
|
|
11814
|
+
}
|
|
11815
|
+
|
|
11816
|
+
this.requestSupport();
|
|
11817
|
+
},
|
|
11818
|
+
requestSupport: function requestSupport() {
|
|
11819
|
+
var _this = this;
|
|
11820
|
+
|
|
11821
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
11822
|
+
var requestBody, response, result;
|
|
11823
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
11824
|
+
while (1) {
|
|
11825
|
+
switch (_context.prev = _context.next) {
|
|
11826
|
+
case 0:
|
|
11827
|
+
requestBody = {
|
|
11828
|
+
sender_name: _this.email,
|
|
11829
|
+
email: _this.email,
|
|
11830
|
+
phone_number: _this.phoneNumber ? _this.phoneNumber : _this.email,
|
|
11831
|
+
message: _this.message
|
|
11832
|
+
};
|
|
11833
|
+
_context.prev = 1;
|
|
11834
|
+
_context.next = 4;
|
|
11835
|
+
return fetch('https://users.adtdev.kz/api/v1/message/regards', {
|
|
11836
|
+
method: "POST",
|
|
11837
|
+
headers: {
|
|
11838
|
+
'Content-Type': 'application/json'
|
|
11839
|
+
},
|
|
11840
|
+
body: JSON.stringify(requestBody)
|
|
11841
|
+
});
|
|
11842
|
+
|
|
11843
|
+
case 4:
|
|
11844
|
+
response = _context.sent;
|
|
11845
|
+
_context.next = 7;
|
|
11846
|
+
return response.json();
|
|
11847
|
+
|
|
11848
|
+
case 7:
|
|
11849
|
+
result = _context.sent;
|
|
11850
|
+
|
|
11851
|
+
if (result.success) {
|
|
11852
|
+
_this.$emit('success', result);
|
|
11853
|
+
}
|
|
11854
|
+
|
|
11855
|
+
_context.next = 14;
|
|
11856
|
+
break;
|
|
11857
|
+
|
|
11858
|
+
case 11:
|
|
11859
|
+
_context.prev = 11;
|
|
11860
|
+
_context.t0 = _context["catch"](1);
|
|
11861
|
+
|
|
11862
|
+
_this.$emit('error', _context.t0);
|
|
11863
|
+
|
|
11864
|
+
case 14:
|
|
11865
|
+
case "end":
|
|
11866
|
+
return _context.stop();
|
|
11867
|
+
}
|
|
11868
|
+
}
|
|
11869
|
+
}, _callee, null, [[1, 11]]);
|
|
11870
|
+
}))();
|
|
11871
|
+
}
|
|
11872
|
+
}
|
|
11359
11873
|
});
|
|
11360
11874
|
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=script&lang=js&
|
|
11361
11875
|
/* harmony default export */ var MailTo_MailTovue_type_script_lang_js_ = (MailTovue_type_script_lang_js_);
|
|
11362
|
-
// EXTERNAL MODULE: ./src/components/MailTo/MailTo.vue?vue&type=style&index=0&id=
|
|
11363
|
-
var
|
|
11876
|
+
// EXTERNAL MODULE: ./src/components/MailTo/MailTo.vue?vue&type=style&index=0&id=2e2b9d69&lang=scss&scoped=true&
|
|
11877
|
+
var MailTovue_type_style_index_0_id_2e2b9d69_lang_scss_scoped_true_ = __webpack_require__("57cf");
|
|
11364
11878
|
|
|
11365
11879
|
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue
|
|
11366
11880
|
|
|
@@ -11373,11 +11887,11 @@ var MailTovue_type_style_index_0_id_8f5ba560_lang_scss_scoped_true_ = __webpack_
|
|
|
11373
11887
|
|
|
11374
11888
|
var MailTo_component = normalizeComponent(
|
|
11375
11889
|
MailTo_MailTovue_type_script_lang_js_,
|
|
11376
|
-
|
|
11377
|
-
|
|
11890
|
+
MailTovue_type_template_id_2e2b9d69_scoped_true_render,
|
|
11891
|
+
MailTovue_type_template_id_2e2b9d69_scoped_true_staticRenderFns,
|
|
11378
11892
|
false,
|
|
11379
11893
|
null,
|
|
11380
|
-
"
|
|
11894
|
+
"2e2b9d69",
|
|
11381
11895
|
null
|
|
11382
11896
|
|
|
11383
11897
|
)
|
|
@@ -11473,10 +11987,12 @@ var ATable_component = normalizeComponent(
|
|
|
11473
11987
|
|
|
11474
11988
|
|
|
11475
11989
|
|
|
11990
|
+
|
|
11476
11991
|
var Components = {
|
|
11477
11992
|
ACheckbox: ACheckbox,
|
|
11478
11993
|
AButton: AButton,
|
|
11479
11994
|
ATextField: TextField,
|
|
11995
|
+
ATextArea: TextArea,
|
|
11480
11996
|
APasswordField: PasswordField,
|
|
11481
11997
|
AAlert: Alert,
|
|
11482
11998
|
AHeader: Header,
|