adata-ui 0.1.50 → 0.1.53
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 +982 -249
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +982 -249
- 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/dist/img/arrow-down.72dc66a4.svg +3 -0
- package/dist/img/arrow-up.95ee7d72.svg +3 -0
- package/dist/img/dollor.7d00f847.svg +54 -0
- package/dist/img/euro.1362dfb6.svg +15 -0
- package/dist/img/ruble.c27b58e5.svg +12 -0
- package/package.json +1 -1
- package/src/App.vue +1 -2
- package/src/assets/icons/arrow-down.svg +3 -0
- package/src/assets/icons/arrow-up.svg +3 -0
- package/src/assets/icons/dollor.svg +54 -0
- package/src/assets/icons/euro.svg +15 -0
- package/src/assets/icons/ruble.svg +12 -0
- package/src/assets/style.scss +1 -1
- package/src/components/Checkbox/ACheckbox.vue +114 -0
- package/src/components/Checkbox/Checkbox.stories.js +15 -0
- package/src/components/Header/Header.vue +363 -125
- package/src/components/Header/InfoHeader.vue +215 -0
- package/src/components/Header/Profile.vue +0 -14
- package/src/components/Table/ATable.vue +117 -0
- package/src/components/Table/Table.stories.js +15 -0
- package/src/components/index.js +4 -0
- package/src/configs/profileDropDown.js +7 -0
package/dist/adata-ui.umd.js
CHANGED
|
@@ -317,6 +317,13 @@ module.exports = function (originalArray) {
|
|
|
317
317
|
};
|
|
318
318
|
|
|
319
319
|
|
|
320
|
+
/***/ }),
|
|
321
|
+
|
|
322
|
+
/***/ "0c9a":
|
|
323
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
324
|
+
|
|
325
|
+
// extracted by mini-css-extract-plugin
|
|
326
|
+
|
|
320
327
|
/***/ }),
|
|
321
328
|
|
|
322
329
|
/***/ "0cb2":
|
|
@@ -498,6 +505,13 @@ module.exports = function (argument) {
|
|
|
498
505
|
};
|
|
499
506
|
|
|
500
507
|
|
|
508
|
+
/***/ }),
|
|
509
|
+
|
|
510
|
+
/***/ "17ad":
|
|
511
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
512
|
+
|
|
513
|
+
// extracted by mini-css-extract-plugin
|
|
514
|
+
|
|
501
515
|
/***/ }),
|
|
502
516
|
|
|
503
517
|
/***/ "17c2":
|
|
@@ -1133,6 +1147,17 @@ if (!version && userAgent) {
|
|
|
1133
1147
|
module.exports = version;
|
|
1134
1148
|
|
|
1135
1149
|
|
|
1150
|
+
/***/ }),
|
|
1151
|
+
|
|
1152
|
+
/***/ "32db":
|
|
1153
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1154
|
+
|
|
1155
|
+
"use strict";
|
|
1156
|
+
/* 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_InfoHeader_vue_vue_type_style_index_0_id_6078a202_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5b1b");
|
|
1157
|
+
/* 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_InfoHeader_vue_vue_type_style_index_0_id_6078a202_scoped_true_lang_scss___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_InfoHeader_vue_vue_type_style_index_0_id_6078a202_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
1158
|
+
/* unused harmony reexport * */
|
|
1159
|
+
|
|
1160
|
+
|
|
1136
1161
|
/***/ }),
|
|
1137
1162
|
|
|
1138
1163
|
/***/ "342f":
|
|
@@ -1216,6 +1241,17 @@ module.exports = function (argument) {
|
|
|
1216
1241
|
};
|
|
1217
1242
|
|
|
1218
1243
|
|
|
1244
|
+
/***/ }),
|
|
1245
|
+
|
|
1246
|
+
/***/ "3c75":
|
|
1247
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1248
|
+
|
|
1249
|
+
"use strict";
|
|
1250
|
+
/* 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_ATable_vue_vue_type_style_index_0_id_b3cc1b06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("17ad");
|
|
1251
|
+
/* 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_ATable_vue_vue_type_style_index_0_id_b3cc1b06_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_ATable_vue_vue_type_style_index_0_id_b3cc1b06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1252
|
+
/* unused harmony reexport * */
|
|
1253
|
+
|
|
1254
|
+
|
|
1219
1255
|
/***/ }),
|
|
1220
1256
|
|
|
1221
1257
|
/***/ "3ca3":
|
|
@@ -1945,6 +1981,13 @@ module.exports = function (it) {
|
|
|
1945
1981
|
};
|
|
1946
1982
|
|
|
1947
1983
|
|
|
1984
|
+
/***/ }),
|
|
1985
|
+
|
|
1986
|
+
/***/ "5b1b":
|
|
1987
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1988
|
+
|
|
1989
|
+
// extracted by mini-css-extract-plugin
|
|
1990
|
+
|
|
1948
1991
|
/***/ }),
|
|
1949
1992
|
|
|
1950
1993
|
/***/ "5c6c":
|
|
@@ -1984,6 +2027,13 @@ module.exports = {
|
|
|
1984
2027
|
};
|
|
1985
2028
|
|
|
1986
2029
|
|
|
2030
|
+
/***/ }),
|
|
2031
|
+
|
|
2032
|
+
/***/ "5ff2":
|
|
2033
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2034
|
+
|
|
2035
|
+
module.exports = __webpack_require__.p + "img/euro.1362dfb6.svg";
|
|
2036
|
+
|
|
1987
2037
|
/***/ }),
|
|
1988
2038
|
|
|
1989
2039
|
/***/ "605d":
|
|
@@ -2637,6 +2687,17 @@ var WeakMap = global.WeakMap;
|
|
|
2637
2687
|
module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
|
|
2638
2688
|
|
|
2639
2689
|
|
|
2690
|
+
/***/ }),
|
|
2691
|
+
|
|
2692
|
+
/***/ "7fe7":
|
|
2693
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2694
|
+
|
|
2695
|
+
"use strict";
|
|
2696
|
+
/* 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_ACheckbox_vue_vue_type_style_index_0_id_88de6b42_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0c9a");
|
|
2697
|
+
/* 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_ACheckbox_vue_vue_type_style_index_0_id_88de6b42_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_ACheckbox_vue_vue_type_style_index_0_id_88de6b42_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2698
|
+
/* unused harmony reexport * */
|
|
2699
|
+
|
|
2700
|
+
|
|
2640
2701
|
/***/ }),
|
|
2641
2702
|
|
|
2642
2703
|
/***/ "825a":
|
|
@@ -3794,6 +3855,77 @@ try {
|
|
|
3794
3855
|
}
|
|
3795
3856
|
|
|
3796
3857
|
|
|
3858
|
+
/***/ }),
|
|
3859
|
+
|
|
3860
|
+
/***/ "99af":
|
|
3861
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3862
|
+
|
|
3863
|
+
"use strict";
|
|
3864
|
+
|
|
3865
|
+
var $ = __webpack_require__("23e7");
|
|
3866
|
+
var global = __webpack_require__("da84");
|
|
3867
|
+
var fails = __webpack_require__("d039");
|
|
3868
|
+
var isArray = __webpack_require__("e8b5");
|
|
3869
|
+
var isObject = __webpack_require__("861d");
|
|
3870
|
+
var toObject = __webpack_require__("7b0b");
|
|
3871
|
+
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
3872
|
+
var createProperty = __webpack_require__("8418");
|
|
3873
|
+
var arraySpeciesCreate = __webpack_require__("65f0");
|
|
3874
|
+
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
3875
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
3876
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
3877
|
+
|
|
3878
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
3879
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
3880
|
+
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
3881
|
+
var TypeError = global.TypeError;
|
|
3882
|
+
|
|
3883
|
+
// We can't use this feature detection in V8 since it causes
|
|
3884
|
+
// deoptimization and serious performance degradation
|
|
3885
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
3886
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
3887
|
+
var array = [];
|
|
3888
|
+
array[IS_CONCAT_SPREADABLE] = false;
|
|
3889
|
+
return array.concat()[0] !== array;
|
|
3890
|
+
});
|
|
3891
|
+
|
|
3892
|
+
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
3893
|
+
|
|
3894
|
+
var isConcatSpreadable = function (O) {
|
|
3895
|
+
if (!isObject(O)) return false;
|
|
3896
|
+
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
3897
|
+
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
3898
|
+
};
|
|
3899
|
+
|
|
3900
|
+
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
3901
|
+
|
|
3902
|
+
// `Array.prototype.concat` method
|
|
3903
|
+
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
3904
|
+
// with adding support of @@isConcatSpreadable and @@species
|
|
3905
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
3906
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3907
|
+
concat: function concat(arg) {
|
|
3908
|
+
var O = toObject(this);
|
|
3909
|
+
var A = arraySpeciesCreate(O, 0);
|
|
3910
|
+
var n = 0;
|
|
3911
|
+
var i, k, length, len, E;
|
|
3912
|
+
for (i = -1, length = arguments.length; i < length; i++) {
|
|
3913
|
+
E = i === -1 ? O : arguments[i];
|
|
3914
|
+
if (isConcatSpreadable(E)) {
|
|
3915
|
+
len = lengthOfArrayLike(E);
|
|
3916
|
+
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
3917
|
+
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
3918
|
+
} else {
|
|
3919
|
+
if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
3920
|
+
createProperty(A, n++, E);
|
|
3921
|
+
}
|
|
3922
|
+
}
|
|
3923
|
+
A.length = n;
|
|
3924
|
+
return A;
|
|
3925
|
+
}
|
|
3926
|
+
});
|
|
3927
|
+
|
|
3928
|
+
|
|
3797
3929
|
/***/ }),
|
|
3798
3930
|
|
|
3799
3931
|
/***/ "9a1f":
|
|
@@ -3961,6 +4093,13 @@ module.exports = function (argument) {
|
|
|
3961
4093
|
};
|
|
3962
4094
|
|
|
3963
4095
|
|
|
4096
|
+
/***/ }),
|
|
4097
|
+
|
|
4098
|
+
/***/ "a3f8":
|
|
4099
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4100
|
+
|
|
4101
|
+
module.exports = __webpack_require__.p + "img/arrow-up.95ee7d72.svg";
|
|
4102
|
+
|
|
3964
4103
|
/***/ }),
|
|
3965
4104
|
|
|
3966
4105
|
/***/ "a4a1":
|
|
@@ -6429,6 +6568,13 @@ module.exports = function (input, pref) {
|
|
|
6429
6568
|
module.exports = false;
|
|
6430
6569
|
|
|
6431
6570
|
|
|
6571
|
+
/***/ }),
|
|
6572
|
+
|
|
6573
|
+
/***/ "c54b":
|
|
6574
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6575
|
+
|
|
6576
|
+
module.exports = __webpack_require__.p + "img/ruble.c27b58e5.svg";
|
|
6577
|
+
|
|
6432
6578
|
/***/ }),
|
|
6433
6579
|
|
|
6434
6580
|
/***/ "c65b":
|
|
@@ -6492,6 +6638,13 @@ module.exports = function (stack, dropEntries) {
|
|
|
6492
6638
|
};
|
|
6493
6639
|
|
|
6494
6640
|
|
|
6641
|
+
/***/ }),
|
|
6642
|
+
|
|
6643
|
+
/***/ "c874":
|
|
6644
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6645
|
+
|
|
6646
|
+
module.exports = __webpack_require__.p + "img/arrow-down.72dc66a4.svg";
|
|
6647
|
+
|
|
6495
6648
|
/***/ }),
|
|
6496
6649
|
|
|
6497
6650
|
/***/ "c8ba":
|
|
@@ -6697,6 +6850,13 @@ var defineWellKnownSymbol = __webpack_require__("746f");
|
|
|
6697
6850
|
defineWellKnownSymbol('iterator');
|
|
6698
6851
|
|
|
6699
6852
|
|
|
6853
|
+
/***/ }),
|
|
6854
|
+
|
|
6855
|
+
/***/ "d293":
|
|
6856
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6857
|
+
|
|
6858
|
+
module.exports = __webpack_require__.p + "img/dollor.7d00f847.svg";
|
|
6859
|
+
|
|
6700
6860
|
/***/ }),
|
|
6701
6861
|
|
|
6702
6862
|
/***/ "d2bb":
|
|
@@ -7980,20 +8140,21 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
7980
8140
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
7981
8141
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
7982
8142
|
|
|
7983
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/
|
|
7984
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.
|
|
7985
|
-
'btn',
|
|
7986
|
-
("btn_" + _vm.variant),
|
|
7987
|
-
("size_" + _vm.size) ],attrs:{"href":_vm.url,"event":_vm.event ? 'click' : ''}},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)}
|
|
8143
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Checkbox/ACheckbox.vue?vue&type=template&id=88de6b42&scoped=true&
|
|
8144
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:"a-checkbox",attrs:{"for":_vm.fakeHash}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.model),expression:"model"}],staticClass:"a-checkbox__input",attrs:{"type":"checkbox","id":_vm.fakeHash,"disabled":_vm.disabled},domProps:{"value":_vm.inputValue,"checked":Array.isArray(_vm.model)?_vm._i(_vm.model,_vm.inputValue)>-1:(_vm.model)},on:{"change":function($event){var $$a=_vm.model,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=_vm.inputValue,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.model=$$a.concat([$$v]))}else{$$i>-1&&(_vm.model=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.model=$$c}}}}),_c('span',{staticClass:"checkmark"}),_c('span',{staticClass:"a-checkbox__label"},[_vm._v(_vm._s(_vm.label))])])}
|
|
7988
8145
|
var staticRenderFns = []
|
|
7989
8146
|
|
|
7990
8147
|
|
|
7991
|
-
// CONCATENATED MODULE: ./src/components/
|
|
8148
|
+
// CONCATENATED MODULE: ./src/components/Checkbox/ACheckbox.vue?vue&type=template&id=88de6b42&scoped=true&
|
|
7992
8149
|
|
|
7993
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.
|
|
7994
|
-
var
|
|
8150
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8151
|
+
var es_number_constructor = __webpack_require__("a9e3");
|
|
8152
|
+
|
|
8153
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
8154
|
+
var es_array_concat = __webpack_require__("99af");
|
|
8155
|
+
|
|
8156
|
+
// 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/Checkbox/ACheckbox.vue?vue&type=script&lang=js&
|
|
7995
8157
|
|
|
7996
|
-
// 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/Button/AButton.vue?vue&type=script&lang=js&
|
|
7997
8158
|
|
|
7998
8159
|
//
|
|
7999
8160
|
//
|
|
@@ -8010,43 +8171,49 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
8010
8171
|
//
|
|
8011
8172
|
//
|
|
8012
8173
|
//
|
|
8013
|
-
|
|
8014
|
-
//
|
|
8015
|
-
//
|
|
8016
|
-
/* harmony default export */ var AButtonvue_type_script_lang_js_ = ({
|
|
8017
|
-
name: "AButton",
|
|
8174
|
+
/* harmony default export */ var ACheckboxvue_type_script_lang_js_ = ({
|
|
8018
8175
|
props: {
|
|
8019
|
-
|
|
8020
|
-
type: String,
|
|
8021
|
-
default:
|
|
8022
|
-
validator: function validator(value) {
|
|
8023
|
-
return ['white', 'grey', 'yellow', 'red', 'green', 'blue_outlined', 'blue'].includes(value);
|
|
8024
|
-
}
|
|
8176
|
+
id: {
|
|
8177
|
+
type: [String, Number],
|
|
8178
|
+
default: null
|
|
8025
8179
|
},
|
|
8026
|
-
|
|
8027
|
-
type: String,
|
|
8028
|
-
default:
|
|
8029
|
-
validator: function validator(value) {
|
|
8030
|
-
return ['sm', 'md', 'extra_sm'].includes(value);
|
|
8031
|
-
}
|
|
8180
|
+
inputValue: {
|
|
8181
|
+
type: [String, Boolean],
|
|
8182
|
+
default: null
|
|
8032
8183
|
},
|
|
8033
|
-
|
|
8034
|
-
type:
|
|
8184
|
+
value: {
|
|
8185
|
+
type: Array,
|
|
8186
|
+
default: function _default() {
|
|
8187
|
+
return [];
|
|
8188
|
+
}
|
|
8035
8189
|
},
|
|
8036
|
-
|
|
8037
|
-
type:
|
|
8038
|
-
default:
|
|
8190
|
+
label: {
|
|
8191
|
+
type: String,
|
|
8192
|
+
default: ""
|
|
8039
8193
|
},
|
|
8040
8194
|
disabled: {
|
|
8041
8195
|
type: Boolean,
|
|
8042
8196
|
default: false
|
|
8043
8197
|
}
|
|
8198
|
+
},
|
|
8199
|
+
computed: {
|
|
8200
|
+
fakeHash: function fakeHash() {
|
|
8201
|
+
return "".concat(this.id, "_").concat(this.label, "_checkbox");
|
|
8202
|
+
},
|
|
8203
|
+
model: {
|
|
8204
|
+
get: function get() {
|
|
8205
|
+
return this.value;
|
|
8206
|
+
},
|
|
8207
|
+
set: function set(value) {
|
|
8208
|
+
this.$emit("input", value);
|
|
8209
|
+
}
|
|
8210
|
+
}
|
|
8044
8211
|
}
|
|
8045
8212
|
});
|
|
8046
|
-
// CONCATENATED MODULE: ./src/components/
|
|
8047
|
-
/* harmony default export */ var
|
|
8048
|
-
// EXTERNAL MODULE: ./src/components/
|
|
8049
|
-
var
|
|
8213
|
+
// CONCATENATED MODULE: ./src/components/Checkbox/ACheckbox.vue?vue&type=script&lang=js&
|
|
8214
|
+
/* harmony default export */ var Checkbox_ACheckboxvue_type_script_lang_js_ = (ACheckboxvue_type_script_lang_js_);
|
|
8215
|
+
// EXTERNAL MODULE: ./src/components/Checkbox/ACheckbox.vue?vue&type=style&index=0&id=88de6b42&lang=scss&scoped=true&
|
|
8216
|
+
var ACheckboxvue_type_style_index_0_id_88de6b42_lang_scss_scoped_true_ = __webpack_require__("7fe7");
|
|
8050
8217
|
|
|
8051
8218
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
8052
8219
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -8148,7 +8315,7 @@ function normalizeComponent (
|
|
|
8148
8315
|
}
|
|
8149
8316
|
}
|
|
8150
8317
|
|
|
8151
|
-
// CONCATENATED MODULE: ./src/components/
|
|
8318
|
+
// CONCATENATED MODULE: ./src/components/Checkbox/ACheckbox.vue
|
|
8152
8319
|
|
|
8153
8320
|
|
|
8154
8321
|
|
|
@@ -8158,17 +8325,106 @@ function normalizeComponent (
|
|
|
8158
8325
|
/* normalize component */
|
|
8159
8326
|
|
|
8160
8327
|
var component = normalizeComponent(
|
|
8161
|
-
|
|
8328
|
+
Checkbox_ACheckboxvue_type_script_lang_js_,
|
|
8162
8329
|
render,
|
|
8163
8330
|
staticRenderFns,
|
|
8164
8331
|
false,
|
|
8165
8332
|
null,
|
|
8333
|
+
"88de6b42",
|
|
8334
|
+
null
|
|
8335
|
+
|
|
8336
|
+
)
|
|
8337
|
+
|
|
8338
|
+
/* harmony default export */ var ACheckbox = (component.exports);
|
|
8339
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Button/AButton.vue?vue&type=template&id=4fa0b10a&
|
|
8340
|
+
var AButtonvue_type_template_id_4fa0b10a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.url ? 'a' : 'button',_vm._g(_vm._b({tag:"component",class:[
|
|
8341
|
+
'btn',
|
|
8342
|
+
("btn_" + _vm.variant),
|
|
8343
|
+
("size_" + _vm.size) ],attrs:{"href":_vm.url,"event":_vm.event ? 'click' : ''}},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)}
|
|
8344
|
+
var AButtonvue_type_template_id_4fa0b10a_staticRenderFns = []
|
|
8345
|
+
|
|
8346
|
+
|
|
8347
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=template&id=4fa0b10a&
|
|
8348
|
+
|
|
8349
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
8350
|
+
var es_array_includes = __webpack_require__("caad");
|
|
8351
|
+
|
|
8352
|
+
// 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/Button/AButton.vue?vue&type=script&lang=js&
|
|
8353
|
+
|
|
8354
|
+
//
|
|
8355
|
+
//
|
|
8356
|
+
//
|
|
8357
|
+
//
|
|
8358
|
+
//
|
|
8359
|
+
//
|
|
8360
|
+
//
|
|
8361
|
+
//
|
|
8362
|
+
//
|
|
8363
|
+
//
|
|
8364
|
+
//
|
|
8365
|
+
//
|
|
8366
|
+
//
|
|
8367
|
+
//
|
|
8368
|
+
//
|
|
8369
|
+
//
|
|
8370
|
+
//
|
|
8371
|
+
//
|
|
8372
|
+
/* harmony default export */ var AButtonvue_type_script_lang_js_ = ({
|
|
8373
|
+
name: "AButton",
|
|
8374
|
+
props: {
|
|
8375
|
+
variant: {
|
|
8376
|
+
type: String,
|
|
8377
|
+
default: "yellow",
|
|
8378
|
+
validator: function validator(value) {
|
|
8379
|
+
return ['white', 'grey', 'yellow', 'red', 'green', 'blue_outlined', 'blue'].includes(value);
|
|
8380
|
+
}
|
|
8381
|
+
},
|
|
8382
|
+
size: {
|
|
8383
|
+
type: String,
|
|
8384
|
+
default: "md",
|
|
8385
|
+
validator: function validator(value) {
|
|
8386
|
+
return ['sm', 'md', 'extra_sm'].includes(value);
|
|
8387
|
+
}
|
|
8388
|
+
},
|
|
8389
|
+
url: {
|
|
8390
|
+
type: String
|
|
8391
|
+
},
|
|
8392
|
+
event: {
|
|
8393
|
+
type: Boolean,
|
|
8394
|
+
default: true
|
|
8395
|
+
},
|
|
8396
|
+
disabled: {
|
|
8397
|
+
type: Boolean,
|
|
8398
|
+
default: false
|
|
8399
|
+
}
|
|
8400
|
+
}
|
|
8401
|
+
});
|
|
8402
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=script&lang=js&
|
|
8403
|
+
/* harmony default export */ var Button_AButtonvue_type_script_lang_js_ = (AButtonvue_type_script_lang_js_);
|
|
8404
|
+
// EXTERNAL MODULE: ./src/components/Button/AButton.vue?vue&type=style&index=0&lang=scss&
|
|
8405
|
+
var AButtonvue_type_style_index_0_lang_scss_ = __webpack_require__("8dca");
|
|
8406
|
+
|
|
8407
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue
|
|
8408
|
+
|
|
8409
|
+
|
|
8410
|
+
|
|
8411
|
+
|
|
8412
|
+
|
|
8413
|
+
|
|
8414
|
+
/* normalize component */
|
|
8415
|
+
|
|
8416
|
+
var AButton_component = normalizeComponent(
|
|
8417
|
+
Button_AButtonvue_type_script_lang_js_,
|
|
8418
|
+
AButtonvue_type_template_id_4fa0b10a_render,
|
|
8419
|
+
AButtonvue_type_template_id_4fa0b10a_staticRenderFns,
|
|
8420
|
+
false,
|
|
8421
|
+
null,
|
|
8166
8422
|
null,
|
|
8167
8423
|
null
|
|
8168
8424
|
|
|
8169
8425
|
)
|
|
8170
8426
|
|
|
8171
|
-
/* harmony default export */ var AButton = (
|
|
8427
|
+
/* harmony default export */ var AButton = (AButton_component.exports);
|
|
8172
8428
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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=068cf2f4&
|
|
8173
8429
|
var TextFieldvue_type_template_id_068cf2f4_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"},[_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()])}
|
|
8174
8430
|
var TextFieldvue_type_template_id_068cf2f4_staticRenderFns = []
|
|
@@ -8482,49 +8738,25 @@ var Alert_component = normalizeComponent(
|
|
|
8482
8738
|
)
|
|
8483
8739
|
|
|
8484
8740
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8485
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Header.vue?vue&type=template&id=
|
|
8486
|
-
var
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8741
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Header.vue?vue&type=template&id=34976661&
|
|
8742
|
+
var Headervue_type_template_id_34976661_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{class:{ sticky: _vm.isSticky }},[_c('InfoHeader',{attrs:{"weather":_vm.weather,"currencies":_vm.currencies,"system-message":_vm.systemMessage,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"is-open-notification":_vm.isOpenNotification,"is-authenticated":_vm.isAuthenticated},on:{"closeNotification":_vm.closeNotification}}),_c('div',{staticClass:"header",class:{ bordered: _vm.isBordered }},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.main[_vm.mode]}},[_c('svg',{staticClass:"adata-logo",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),(_vm.headerItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.headerItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{ active: item.key === _vm.activeTabKey },attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"mode":_vm.mode,"isAuthenticated":_vm.isAuthenticated,"email":_vm.email,"loginUrl":_vm.loginUrl,"activeTabKey":_vm.activeTabKey},on:{"showBalanceModal":function (val) {
|
|
8743
|
+
_vm.$emit('showBalanceModal', val);
|
|
8744
|
+
},"setShowModal":function (val) {
|
|
8745
|
+
_vm.$emit('setShowModal', val);
|
|
8746
|
+
},"logout":function($event){return _vm.$emit('logout')},"setIsReplenishModal":function (val) {
|
|
8747
|
+
_vm.$emit('setIsReplenishModal', val);
|
|
8748
|
+
}}}),_c('div',{staticClass:"menu_mobile--switcher",on:{"click":_vm.changeValue}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z","fill":"#2C3E50"}})])])],2)]),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8749
|
+
var animationClass = ref.animationClass;
|
|
8750
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.headerItems.length > 0 && _vm.isOpen),expression:"headerItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"menu-wrapper"},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_c('div',{staticClass:"menu__link"},_vm._l((_vm.headerItems),function(item,index){return _c('a',{key:index,staticClass:"menu_mobile-wrapper",class:{ 'active-burger-tab': item.key === _vm.activeTabKey },attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0)]),_c('div',{staticClass:"menu-mobile__info"},[_c('div',{staticClass:"menu-mobile__info-header"},[_c('span',[_vm._v("Валюта")]),_c('span',[_vm._v("Покупка")]),_c('span',[_vm._v("Продажа")])]),_c('div',{staticClass:"menu-mobile__info-body"},_vm._l((_vm.currencies),function(currency,index){return _c('div',{key:index,staticClass:"menu-mobile__info-row"},[_c('div',{staticClass:"menu-mobile__info-column"},[(currency.currency === 'USD')?_c('img',{attrs:{"src":__webpack_require__("d293"),"alt":""}}):_vm._e(),(currency.currency === 'EUR')?_c('img',{attrs:{"src":__webpack_require__("5ff2"),"alt":""}}):_vm._e(),(currency.currency === 'RUB')?_c('img',{attrs:{"src":__webpack_require__("c54b"),"alt":""}}):_vm._e(),_c('span',[_vm._v(_vm._s(currency.currency))])]),_c('div',{staticClass:"menu-mobile__info-column"},[_c('span',[_vm._v(_vm._s(currency.buy))]),(currency.buy_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})]),_c('div',{staticClass:"menu-mobile__info-column"},[_c('span',[_vm._v(_vm._s(currency.sell))]),(currency.sell_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})])])}),0),_c('div',{staticClass:"menu-mobile__info-footer"},[_c('div',{staticClass:"menu-mobile__info-footer-item"},[_c('span',{staticClass:"menu-mobile__info-footer-title"},[_vm._v("Cуточный лимит запросов:")]),_c('span',{staticClass:"menu-mobile__info-footer-circle"},[_vm._v(_vm._s(_vm.requestCount))])]),_c('div',{staticClass:"menu-mobile__info-footer-item"},[_c('span',{staticClass:"menu-mobile__info-footer-title"},[_vm._v("Остаток дней:")]),_c('span',{staticClass:"menu-mobile__info-footer-circle"},[_vm._v(_vm._s(_vm.daysRemaining))])])])])])]}}])})],1)],1)}
|
|
8751
|
+
var Headervue_type_template_id_34976661_staticRenderFns = []
|
|
8491
8752
|
|
|
8492
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=2f3f105a&
|
|
8493
8753
|
|
|
8494
|
-
//
|
|
8495
|
-
var es_number_constructor = __webpack_require__("a9e3");
|
|
8754
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=34976661&
|
|
8496
8755
|
|
|
8497
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.
|
|
8498
|
-
var
|
|
8756
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8757
|
+
var es_promise = __webpack_require__("e6cf");
|
|
8499
8758
|
|
|
8500
|
-
//
|
|
8501
|
-
var es_regexp_exec = __webpack_require__("ac1f");
|
|
8502
|
-
|
|
8503
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8504
|
-
var es_string_replace = __webpack_require__("5319");
|
|
8505
|
-
|
|
8506
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8507
|
-
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8508
|
-
|
|
8509
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Profile.vue?vue&type=template&id=de1784de&
|
|
8510
|
-
var Profilevue_type_template_id_de1784de_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"profile",class:{ active: _vm.active }},[_c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () {_vm.active = false}),expression:"() => {active = false}"}]},[_c('div',{staticClass:"profile__inner"},[(_vm.requestCount !== null && _vm.isAuthenticated)?_c('div',{staticClass:"requests__link"},[_vm._v(" Суточный лимит запросов: "),_c('span',[_vm._v(" "+_vm._s(_vm.requestCount)+" "+_vm._s((_vm.daysRemaining === null || _vm.daysRemaining === '-') ? '' : ("(" + _vm.daysRemaining + ")"))+" ")])]):_vm._e(),_c('div',{staticClass:"profile__item",on:{"click":function($event){_vm.active = !_vm.active}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('span',{staticClass:"desktop"},[_vm._v(_vm._s(_vm.email))]),_c('svg',{staticClass:"desktop arrow-svg",class:{ rotate: _vm.active },attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"none","d":"M0 0h16v16H0z"}}),_c('path',{attrs:{"fill":"none","d":"M3 6.5L8 10l5-3.5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 8a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-1.023 4.344a5 5 0 10-4.954 0C5.757 13.417 3 16.874 3 20.974V21h1.543v-.026c0-4.106 3.339-7.435 7.457-7.435 4.119 0 7.457 3.329 7.457 7.435V21H21v-.026c0-4.1-2.757-7.557-6.523-8.63z","fill":"#2C3E50"}})])]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",attrs:{"href":_vm.loginUrl}},[_c('svg',{staticClass:"desktop",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"#fff","d":"M0 0h16v16H0z","stroke":"none"}}),_c('path',{attrs:{"d":"M8 10l2-2.054L8.077 6","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 4.1V2h8v12H6v-1.65M9 8H2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M13 7.94L17.06 12 13 16.06 11.94 15l3-3-3-3L13 7.94z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M8.25 2.25h13.5v19.5H8.25v-4.5h1.5v3h10.5V3.75H9.75v3h-1.5v-4.5z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.25 11.25h13.5v1.5H2.25v-1.5z","fill":"#2C3E50"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8511
|
-
var animationClass = ref.animationClass;
|
|
8512
|
-
return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem[_vm.mode])?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem[_vm.mode], elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"gray-text profile-menu__item",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"profile-menu__item__children"},[_vm._v(_vm._s(elem.name)+" "),(elem.children.length > 0)?_c('span',[_c('svg',{class:{'rotated': elem.opened},attrs:{"width":"12","height":"8","viewBox":"0 0 12 8","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1 1.5L6 6.5L11 1.5","stroke":"#69797D","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('SlideToggle',{class:animationClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8513
|
-
var animationClass = ref.animationClass;
|
|
8514
|
-
return [(elem.opened)?_c('div',[_vm._l((elem.children),function(child,idx){return [(child[_vm.mode])?_c('div',{key:idx + 'link',staticClass:"profile-menu__item__child",on:{"click":function($event){return _vm.handleClick(child[_vm.mode], child.name)}}},[_c('span',[_c('svg',{attrs:{"width":"4","height":"4","viewBox":"0 0 4 4","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"2","cy":"2","r":"2","fill":"#2C3E50"}})]),_vm._v(" "+_vm._s(child.name)+" ")])]):_vm._e()]})],2):_vm._e()]}}],null,true)})],1):_vm._e()])}),0):_vm._e(),_c('div',{staticClass:"exit",on:{"click":_vm.logout}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M11 10l2-2.054L11.077 6M10 11.9V14H2V2h8v1.65M12 8H5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_vm._v(" Выход ")])])]):_vm._e()]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8515
|
-
var animationClass = ref.animationClass;
|
|
8516
|
-
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated && _vm.active),expression:"isAuthenticated && active"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head"},[_c('p',[_vm._v("Профиль пользователя")]),_c('svg',{attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","id":"close_hamburger"},on:{"click":function($event){$event.stopPropagation();_vm.active = !_vm.active}}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.listDropDown.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[(!elem.link)?_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{directives:[{name:"show",rawName:"v-show",value:(!elem.withoutArray),expression:"!elem.withoutArray"}],attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]):_vm._e(),(elem.link)?_c('div',{staticClass:"profile-menu-mobile__balance-items"},[_c('div',{staticClass:"profile-menu-mobile__balance-items__upper-text"},[_vm._v(" "+_vm._s(elem.name.substr(0, 15))+" ")]),_c('div',{staticClass:"profile-menu-mobile__balance__bot-text"},[_vm._v(" "+_vm._s(elem.name.substr(15))+" ")])]):_vm._e(),(elem.link)?_c('span',{staticClass:"profile-menu-mobile__balance",on:{"click":function($event){return _vm.$emit('showBalanceModal', true)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"profile-menu-mobile__links",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8517
|
-
var animationClass = ref.animationClass;
|
|
8518
|
-
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.someMobileOpened.length > 0 && _vm.chosenElem && _vm.chosenElem.children.length > 0),expression:"someMobileOpened.length > 0 && chosenElem && chosenElem.children.length > 0"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head mobile-table-head-chosen"},[_c('div',{on:{"click":function($event){_vm.chosenElem.opened = false}}},[_c('svg',{staticClass:"rotated",attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]),_c('p',[_vm._v(_vm._s(_vm.chosenElem.name))])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.chosenElem.children.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.chosenElem.children),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])})],1)])}
|
|
8519
|
-
var Profilevue_type_template_id_de1784de_staticRenderFns = []
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=de1784de&
|
|
8523
|
-
|
|
8524
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8525
|
-
var es_promise = __webpack_require__("e6cf");
|
|
8526
|
-
|
|
8527
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
8759
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
8528
8760
|
|
|
8529
8761
|
|
|
8530
8762
|
|
|
@@ -8563,6 +8795,154 @@ function _asyncToGenerator(fn) {
|
|
|
8563
8795
|
});
|
|
8564
8796
|
};
|
|
8565
8797
|
}
|
|
8798
|
+
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
8799
|
+
var runtime = __webpack_require__("96cf");
|
|
8800
|
+
|
|
8801
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
8802
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
8803
|
+
|
|
8804
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
8805
|
+
var es_regexp_exec = __webpack_require__("ac1f");
|
|
8806
|
+
|
|
8807
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8808
|
+
var es_string_replace = __webpack_require__("5319");
|
|
8809
|
+
|
|
8810
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8811
|
+
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8812
|
+
|
|
8813
|
+
// CONCATENATED MODULE: ./src/configs/profileDropDown.js
|
|
8814
|
+
var profileDropDown = [{
|
|
8815
|
+
id: 1,
|
|
8816
|
+
name: "Общие настройки",
|
|
8817
|
+
dev: "https://adtdev.kz/profile?tab=general",
|
|
8818
|
+
staging: "https://adada.kz/profile?tab=general",
|
|
8819
|
+
prod: "https://adata.kz/profile?tab=general",
|
|
8820
|
+
disabled: false,
|
|
8821
|
+
withoutArray: true
|
|
8822
|
+
}, {
|
|
8823
|
+
id: 2,
|
|
8824
|
+
name: "Увеличить лимит запросов",
|
|
8825
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
8826
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
8827
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
8828
|
+
disabled: false,
|
|
8829
|
+
withoutArray: true
|
|
8830
|
+
}, {
|
|
8831
|
+
id: 3,
|
|
8832
|
+
name: "Текущий баланс: 0 ₸",
|
|
8833
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
8834
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
8835
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
8836
|
+
link: "Пополнить",
|
|
8837
|
+
disabled: true,
|
|
8838
|
+
withoutArray: true
|
|
8839
|
+
}, {
|
|
8840
|
+
id: 4,
|
|
8841
|
+
name: "Историй платежей",
|
|
8842
|
+
dev: "https://adtdev.kz/profile?tab=payments",
|
|
8843
|
+
staging: "https://adada.kz/profile?tab=payments",
|
|
8844
|
+
prod: "https://adata.kz/profile?tab=payments",
|
|
8845
|
+
disabled: false,
|
|
8846
|
+
withoutArray: true
|
|
8847
|
+
}, {
|
|
8848
|
+
id: 5,
|
|
8849
|
+
name: "Контрагенты",
|
|
8850
|
+
opened: false,
|
|
8851
|
+
children: [{
|
|
8852
|
+
id: 8,
|
|
8853
|
+
name: "Избранные",
|
|
8854
|
+
dev: "https://pk.adtdev.kz/profile/favorites",
|
|
8855
|
+
staging: "https://pk.adada.kz/profile/favorites",
|
|
8856
|
+
prod: "https://pk.adata.kz/profile/favorites"
|
|
8857
|
+
}, {
|
|
8858
|
+
id: 9,
|
|
8859
|
+
name: "История просмотров",
|
|
8860
|
+
dev: "https://pk.adtdev.kz/profile/browsing-history",
|
|
8861
|
+
staging: "https://pk.adada.kz/profile/browsing-history",
|
|
8862
|
+
prod: "https://pk.adata.kz/profile/browsing-history"
|
|
8863
|
+
}, {
|
|
8864
|
+
id: 10,
|
|
8865
|
+
name: "Мои отчеты",
|
|
8866
|
+
dev: "https://pk.adtdev.kz/profile/my-reports",
|
|
8867
|
+
staging: "https://pk.adada.kz/profile/my-reports",
|
|
8868
|
+
prod: "https://pk.adata.kz/profile/my-reports"
|
|
8869
|
+
}],
|
|
8870
|
+
disabled: false
|
|
8871
|
+
}, {
|
|
8872
|
+
id: 6,
|
|
8873
|
+
name: "Работа",
|
|
8874
|
+
opened: false,
|
|
8875
|
+
children: [{
|
|
8876
|
+
id: 10,
|
|
8877
|
+
name: "Профиль",
|
|
8878
|
+
dev: "https://work.adtdev.kz/profile/account",
|
|
8879
|
+
staging: "https://work.adada.kz/profile/account",
|
|
8880
|
+
prod: "https://work.adata.kz/profile/account"
|
|
8881
|
+
}, // {
|
|
8882
|
+
// id: 11,
|
|
8883
|
+
// name: "Создать резюме",
|
|
8884
|
+
// url: "https://work.adata.kz/user/create"
|
|
8885
|
+
// },
|
|
8886
|
+
{
|
|
8887
|
+
id: 12,
|
|
8888
|
+
name: "Отклики",
|
|
8889
|
+
dev: "https://work.adtdev.kz/profile/application",
|
|
8890
|
+
staging: "https://work.adada.kz/profile/application",
|
|
8891
|
+
prod: "https://work.adata.kz/profile/application"
|
|
8892
|
+
}, {
|
|
8893
|
+
id: 13,
|
|
8894
|
+
name: "Предложения",
|
|
8895
|
+
dev: "https://work.adtdev.kz/profile/offer",
|
|
8896
|
+
staging: "https://work.adada.kz/profile/offer",
|
|
8897
|
+
prod: "https://work.adata.kz/profile/offer"
|
|
8898
|
+
}],
|
|
8899
|
+
disabled: false
|
|
8900
|
+
}, {
|
|
8901
|
+
id: 7,
|
|
8902
|
+
name: "Тендеры",
|
|
8903
|
+
opened: false,
|
|
8904
|
+
children: [{
|
|
8905
|
+
id: 17,
|
|
8906
|
+
name: "Шаблоны поиска",
|
|
8907
|
+
dev: "https://tender.adtdev.kz/profile/search-profile",
|
|
8908
|
+
staging: "https://tender.adada.kz/profile/search-profile",
|
|
8909
|
+
prod: "https://tender.adata.kz/profile/search-profile"
|
|
8910
|
+
}, {
|
|
8911
|
+
id: 17,
|
|
8912
|
+
name: "Избранные",
|
|
8913
|
+
dev: "https://tender.adtdev.kz/profile/favourites",
|
|
8914
|
+
staging: "https://tender.adada.kz/profile/favourites",
|
|
8915
|
+
prod: "https://tender.adata.kz/profile/favourites"
|
|
8916
|
+
}],
|
|
8917
|
+
disabled: false
|
|
8918
|
+
} // {
|
|
8919
|
+
// id: 8,
|
|
8920
|
+
// name: "Штрафы",
|
|
8921
|
+
// url: 'https://avto.adata.kz',
|
|
8922
|
+
// key: 'fines'
|
|
8923
|
+
// },
|
|
8924
|
+
// {
|
|
8925
|
+
// id: 9,
|
|
8926
|
+
// name: "Маркетинг",
|
|
8927
|
+
// url: 'https://marketing.adata.kz',
|
|
8928
|
+
// key: 'marketing'
|
|
8929
|
+
// }
|
|
8930
|
+
];
|
|
8931
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Profile.vue?vue&type=template&id=cad026e6&
|
|
8932
|
+
var Profilevue_type_template_id_cad026e6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"profile",class:{ active: _vm.active }},[_c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () {_vm.active = false}),expression:"() => {active = false}"}]},[_c('div',{staticClass:"profile__inner"},[_c('div',{staticClass:"profile__item",on:{"click":function($event){_vm.active = !_vm.active}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('span',{staticClass:"desktop"},[_vm._v(_vm._s(_vm.email))]),_c('svg',{staticClass:"desktop arrow-svg",class:{ rotate: _vm.active },attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"none","d":"M0 0h16v16H0z"}}),_c('path',{attrs:{"fill":"none","d":"M3 6.5L8 10l5-3.5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 8a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-1.023 4.344a5 5 0 10-4.954 0C5.757 13.417 3 16.874 3 20.974V21h1.543v-.026c0-4.106 3.339-7.435 7.457-7.435 4.119 0 7.457 3.329 7.457 7.435V21H21v-.026c0-4.1-2.757-7.557-6.523-8.63z","fill":"#2C3E50"}})])]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",attrs:{"href":_vm.loginUrl}},[_c('svg',{staticClass:"desktop",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"#fff","d":"M0 0h16v16H0z","stroke":"none"}}),_c('path',{attrs:{"d":"M8 10l2-2.054L8.077 6","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 4.1V2h8v12H6v-1.65M9 8H2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M13 7.94L17.06 12 13 16.06 11.94 15l3-3-3-3L13 7.94z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M8.25 2.25h13.5v19.5H8.25v-4.5h1.5v3h10.5V3.75H9.75v3h-1.5v-4.5z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.25 11.25h13.5v1.5H2.25v-1.5z","fill":"#2C3E50"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8933
|
+
var animationClass = ref.animationClass;
|
|
8934
|
+
return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem[_vm.mode])?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem[_vm.mode], elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"gray-text profile-menu__item",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"profile-menu__item__children"},[_vm._v(_vm._s(elem.name)+" "),(elem.children.length > 0)?_c('span',[_c('svg',{class:{'rotated': elem.opened},attrs:{"width":"12","height":"8","viewBox":"0 0 12 8","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1 1.5L6 6.5L11 1.5","stroke":"#69797D","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('SlideToggle',{class:animationClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8935
|
+
var animationClass = ref.animationClass;
|
|
8936
|
+
return [(elem.opened)?_c('div',[_vm._l((elem.children),function(child,idx){return [(child[_vm.mode])?_c('div',{key:idx + 'link',staticClass:"profile-menu__item__child",on:{"click":function($event){return _vm.handleClick(child[_vm.mode], child.name)}}},[_c('span',[_c('svg',{attrs:{"width":"4","height":"4","viewBox":"0 0 4 4","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"2","cy":"2","r":"2","fill":"#2C3E50"}})]),_vm._v(" "+_vm._s(child.name)+" ")])]):_vm._e()]})],2):_vm._e()]}}],null,true)})],1):_vm._e()])}),0):_vm._e(),_c('div',{staticClass:"exit",on:{"click":_vm.logout}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M11 10l2-2.054L11.077 6M10 11.9V14H2V2h8v1.65M12 8H5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_vm._v(" Выход ")])])]):_vm._e()]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8937
|
+
var animationClass = ref.animationClass;
|
|
8938
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated && _vm.active),expression:"isAuthenticated && active"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head"},[_c('p',[_vm._v("Профиль пользователя")]),_c('svg',{attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","id":"close_hamburger"},on:{"click":function($event){$event.stopPropagation();_vm.active = !_vm.active}}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.listDropDown.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[(!elem.link)?_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{directives:[{name:"show",rawName:"v-show",value:(!elem.withoutArray),expression:"!elem.withoutArray"}],attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]):_vm._e(),(elem.link)?_c('div',{staticClass:"profile-menu-mobile__balance-items"},[_c('div',{staticClass:"profile-menu-mobile__balance-items__upper-text"},[_vm._v(" "+_vm._s(elem.name.substr(0, 15))+" ")]),_c('div',{staticClass:"profile-menu-mobile__balance__bot-text"},[_vm._v(" "+_vm._s(elem.name.substr(15))+" ")])]):_vm._e(),(elem.link)?_c('span',{staticClass:"profile-menu-mobile__balance",on:{"click":function($event){return _vm.$emit('showBalanceModal', true)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"profile-menu-mobile__links",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8939
|
+
var animationClass = ref.animationClass;
|
|
8940
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.someMobileOpened.length > 0 && _vm.chosenElem && _vm.chosenElem.children.length > 0),expression:"someMobileOpened.length > 0 && chosenElem && chosenElem.children.length > 0"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head mobile-table-head-chosen"},[_c('div',{on:{"click":function($event){_vm.chosenElem.opened = false}}},[_c('svg',{staticClass:"rotated",attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]),_c('p',[_vm._v(_vm._s(_vm.chosenElem.name))])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.chosenElem.children.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.chosenElem.children),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])})],1)])}
|
|
8941
|
+
var Profilevue_type_template_id_cad026e6_staticRenderFns = []
|
|
8942
|
+
|
|
8943
|
+
|
|
8944
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=cad026e6&
|
|
8945
|
+
|
|
8566
8946
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
8567
8947
|
function _arrayLikeToArray(arr, len) {
|
|
8568
8948
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -8650,9 +9030,6 @@ function _nonIterableSpread() {
|
|
|
8650
9030
|
function _toConsumableArray(arr) {
|
|
8651
9031
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
8652
9032
|
}
|
|
8653
|
-
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
8654
|
-
var runtime = __webpack_require__("96cf");
|
|
8655
|
-
|
|
8656
9033
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
8657
9034
|
var es_array_find = __webpack_require__("7db0");
|
|
8658
9035
|
|
|
@@ -8851,13 +9228,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
8851
9228
|
|
|
8852
9229
|
|
|
8853
9230
|
|
|
8854
|
-
|
|
8855
|
-
//
|
|
8856
|
-
//
|
|
8857
|
-
//
|
|
8858
|
-
//
|
|
8859
|
-
//
|
|
8860
|
-
//
|
|
8861
9231
|
//
|
|
8862
9232
|
//
|
|
8863
9233
|
//
|
|
@@ -9108,14 +9478,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9108
9478
|
type: Boolean,
|
|
9109
9479
|
default: false
|
|
9110
9480
|
},
|
|
9111
|
-
requestCount: {
|
|
9112
|
-
type: Number,
|
|
9113
|
-
default: null
|
|
9114
|
-
},
|
|
9115
|
-
daysRemaining: {
|
|
9116
|
-
type: String,
|
|
9117
|
-
default: null
|
|
9118
|
-
},
|
|
9119
9481
|
email: {
|
|
9120
9482
|
type: String,
|
|
9121
9483
|
default: ""
|
|
@@ -9244,8 +9606,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
9244
9606
|
|
|
9245
9607
|
var Profile_component = normalizeComponent(
|
|
9246
9608
|
Header_Profilevue_type_script_lang_js_,
|
|
9247
|
-
|
|
9248
|
-
|
|
9609
|
+
Profilevue_type_template_id_cad026e6_render,
|
|
9610
|
+
Profilevue_type_template_id_cad026e6_staticRenderFns,
|
|
9249
9611
|
false,
|
|
9250
9612
|
null,
|
|
9251
9613
|
null,
|
|
@@ -9254,118 +9616,147 @@ var Profile_component = normalizeComponent(
|
|
|
9254
9616
|
)
|
|
9255
9617
|
|
|
9256
9618
|
/* harmony default export */ var Profile = (Profile_component.exports);
|
|
9257
|
-
// CONCATENATED MODULE: ./src/
|
|
9258
|
-
var
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
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
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9619
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/InfoHeader.vue?vue&type=template&id=6078a202&scoped=true&
|
|
9620
|
+
var InfoHeadervue_type_template_id_6078a202_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"info"},[_c('transition',{attrs:{"name":"fade"}},[(_vm.isOpenNotification)?_c('div',{staticClass:"info-notification"},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"info-notification__wrapper"},[_c('div',{staticClass:"info-notification__content"},[_c('svg',{attrs:{"id":"note-svg","width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6","stroke":"white"}}),_c('path',{attrs:{"d":"M9.6613 11.1367L9.54952 11.5936C9.21418 11.726 8.94631 11.8267 8.74685 11.896C8.54716 11.9654 8.31514 12 8.05079 12C7.64483 12 7.32906 11.9006 7.10386 11.703C6.87865 11.5047 6.76601 11.2534 6.76601 10.9485C6.76601 10.8305 6.77418 10.7091 6.79117 10.5854C6.80831 10.4616 6.83556 10.3222 6.87284 10.1663L7.29192 8.68297C7.32921 8.54094 7.3609 8.40636 7.38628 8.27909C7.41202 8.15261 7.42442 8.03624 7.42442 7.93149C7.42442 7.74206 7.3852 7.60956 7.30712 7.53507C7.22904 7.46079 7.08005 7.42307 6.85886 7.42307C6.75052 7.42307 6.63917 7.44042 6.52567 7.47398C6.41167 7.50768 6.31423 7.54023 6.23242 7.57049L6.34449 7.11319C6.61902 7.00141 6.88144 6.90569 7.13246 6.82625C7.38348 6.74659 7.62066 6.70672 7.84501 6.70672C8.24818 6.70672 8.55928 6.80416 8.77775 6.99904C8.99622 7.19406 9.10542 7.44688 9.10542 7.75841C9.10542 7.82287 9.09825 7.93644 9.08283 8.09877C9.06777 8.26145 9.03974 8.41051 8.99887 8.5461L8.58158 10.0235C8.54738 10.1421 8.51662 10.2778 8.48988 10.4304C8.46227 10.5821 8.44908 10.6979 8.44908 10.7757C8.44908 10.9718 8.49282 11.1058 8.5805 11.177C8.66884 11.2482 8.82098 11.2836 9.03709 11.2836C9.13854 11.2836 9.25398 11.2656 9.38225 11.2302C9.51016 11.1949 9.60344 11.1638 9.6613 11.1367ZM9.76713 4.93424C9.76713 5.19164 9.67012 5.41147 9.47517 5.59223C9.28072 5.77363 9.04641 5.8644 8.7723 5.8644C8.49733 5.8644 8.26245 5.77363 8.06577 5.59223C7.86946 5.4114 7.77109 5.19164 7.77109 4.93424C7.77109 4.67734 7.86946 4.45716 8.06577 4.27411C8.26209 4.09134 8.4974 4 8.7723 4C9.04634 4 9.28072 4.09156 9.47517 4.27411C9.67026 4.45716 9.76713 4.67742 9.76713 4.93424Z","fill":"white"}})]),_c('span',[_vm._v(_vm._s(_vm.systemMessage))])]),_c('div',{staticClass:"info-notification__close",on:{"click":_vm.closeNotification}},[_c('svg',{attrs:{"id":"close-notification","width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M2.99902 2.99951L12.9997 13.0002","stroke":"white","stroke-linecap":"round"}}),_c('path',{attrs:{"d":"M13 2.99951L2.99934 13.0002","stroke":"white","stroke-linecap":"round"}})])])])])]):_vm._e()]),(!_vm.isOpenNotification)?_c('div',{staticClass:"info-header"},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"info-header__list"},[_c('div',{staticClass:"info-header__item"},[(_vm.currencies)?_vm._l((_vm.currencies),function(currency,index){return _c('div',{key:index,staticClass:"info-header__item-elem"},[(currency.currency === 'USD')?_c('img',{attrs:{"src":__webpack_require__("d293"),"alt":""}}):_vm._e(),(currency.currency === 'EUR')?_c('img',{attrs:{"src":__webpack_require__("5ff2"),"alt":""}}):_vm._e(),(currency.currency === 'RUB')?_c('img',{attrs:{"src":__webpack_require__("c54b"),"alt":""}}):_vm._e(),_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__result"},[_vm._v(_vm._s(currency.sell))]),(currency.sell_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})]),_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__result"},[_vm._v(_vm._s(currency.buy))]),(currency.buy_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})])])}):_vm._e()],2),(_vm.isAuthenticated)?_c('div',{staticClass:"info-header__item"},[_c('div',{staticClass:"info-header__item-elem"},[_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__title"},[_vm._v("Cуточный лимит запросов:")]),_c('span',{staticClass:"info-header__result info-header__result_circled"},[_vm._v(_vm._s(_vm.requestCount))])]),_c('div',{staticClass:"divider"}),_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__title"},[_vm._v("остаток дней:")]),_c('span',{staticClass:"info-header__result info-header__result_circled"},[_vm._v(_vm._s(_vm.daysRemaining))])])])]):_vm._e()])])]):_vm._e()],1)}
|
|
9621
|
+
var InfoHeadervue_type_template_id_6078a202_scoped_true_staticRenderFns = []
|
|
9622
|
+
|
|
9623
|
+
|
|
9624
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue?vue&type=template&id=6078a202&scoped=true&
|
|
9625
|
+
|
|
9626
|
+
// 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/Header/InfoHeader.vue?vue&type=script&lang=js&
|
|
9627
|
+
|
|
9628
|
+
//
|
|
9629
|
+
//
|
|
9630
|
+
//
|
|
9631
|
+
//
|
|
9632
|
+
//
|
|
9633
|
+
//
|
|
9634
|
+
//
|
|
9635
|
+
//
|
|
9636
|
+
//
|
|
9637
|
+
//
|
|
9638
|
+
//
|
|
9639
|
+
//
|
|
9640
|
+
//
|
|
9641
|
+
//
|
|
9642
|
+
//
|
|
9643
|
+
//
|
|
9644
|
+
//
|
|
9645
|
+
//
|
|
9646
|
+
//
|
|
9647
|
+
//
|
|
9648
|
+
//
|
|
9649
|
+
//
|
|
9650
|
+
//
|
|
9651
|
+
//
|
|
9652
|
+
//
|
|
9653
|
+
//
|
|
9654
|
+
//
|
|
9655
|
+
//
|
|
9656
|
+
//
|
|
9657
|
+
//
|
|
9658
|
+
//
|
|
9659
|
+
//
|
|
9660
|
+
//
|
|
9661
|
+
//
|
|
9662
|
+
//
|
|
9663
|
+
//
|
|
9664
|
+
//
|
|
9665
|
+
//
|
|
9666
|
+
//
|
|
9667
|
+
//
|
|
9668
|
+
//
|
|
9669
|
+
//
|
|
9670
|
+
//
|
|
9671
|
+
//
|
|
9672
|
+
//
|
|
9673
|
+
//
|
|
9674
|
+
//
|
|
9675
|
+
//
|
|
9676
|
+
//
|
|
9677
|
+
//
|
|
9678
|
+
//
|
|
9679
|
+
//
|
|
9680
|
+
//
|
|
9681
|
+
//
|
|
9682
|
+
//
|
|
9683
|
+
//
|
|
9684
|
+
//
|
|
9685
|
+
//
|
|
9686
|
+
//
|
|
9687
|
+
//
|
|
9688
|
+
//
|
|
9689
|
+
//
|
|
9690
|
+
//
|
|
9691
|
+
//
|
|
9692
|
+
/* harmony default export */ var InfoHeadervue_type_script_lang_js_ = ({
|
|
9693
|
+
name: "InfoHeader",
|
|
9694
|
+
props: {
|
|
9695
|
+
requestCount: {
|
|
9696
|
+
type: [String, Number],
|
|
9697
|
+
default: null
|
|
9698
|
+
},
|
|
9699
|
+
daysRemaining: {
|
|
9700
|
+
type: [String, Number],
|
|
9701
|
+
default: null
|
|
9702
|
+
},
|
|
9703
|
+
isAuthenticated: {
|
|
9704
|
+
type: Boolean,
|
|
9705
|
+
default: false
|
|
9706
|
+
},
|
|
9707
|
+
isOpenNotification: {
|
|
9708
|
+
type: Boolean,
|
|
9709
|
+
default: false
|
|
9710
|
+
},
|
|
9711
|
+
weather: {
|
|
9712
|
+
type: Array,
|
|
9713
|
+
default: function _default() {
|
|
9714
|
+
return [];
|
|
9715
|
+
}
|
|
9716
|
+
},
|
|
9717
|
+
currencies: {
|
|
9718
|
+
type: Array,
|
|
9719
|
+
default: function _default() {
|
|
9720
|
+
return [];
|
|
9721
|
+
}
|
|
9722
|
+
},
|
|
9723
|
+
systemMessage: {
|
|
9724
|
+
type: String,
|
|
9725
|
+
default: ''
|
|
9726
|
+
}
|
|
9727
|
+
},
|
|
9728
|
+
methods: {
|
|
9729
|
+
closeNotification: function closeNotification() {
|
|
9730
|
+
this.$emit("closeNotification", this.isOpenNotification);
|
|
9731
|
+
}
|
|
9732
|
+
}
|
|
9733
|
+
});
|
|
9734
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue?vue&type=script&lang=js&
|
|
9735
|
+
/* harmony default export */ var Header_InfoHeadervue_type_script_lang_js_ = (InfoHeadervue_type_script_lang_js_);
|
|
9736
|
+
// EXTERNAL MODULE: ./src/components/Header/InfoHeader.vue?vue&type=style&index=0&id=6078a202&scoped=true&lang=scss&
|
|
9737
|
+
var InfoHeadervue_type_style_index_0_id_6078a202_scoped_true_lang_scss_ = __webpack_require__("32db");
|
|
9738
|
+
|
|
9739
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue
|
|
9740
|
+
|
|
9741
|
+
|
|
9742
|
+
|
|
9743
|
+
|
|
9744
|
+
|
|
9745
|
+
|
|
9746
|
+
/* normalize component */
|
|
9747
|
+
|
|
9748
|
+
var InfoHeader_component = normalizeComponent(
|
|
9749
|
+
Header_InfoHeadervue_type_script_lang_js_,
|
|
9750
|
+
InfoHeadervue_type_template_id_6078a202_scoped_true_render,
|
|
9751
|
+
InfoHeadervue_type_template_id_6078a202_scoped_true_staticRenderFns,
|
|
9752
|
+
false,
|
|
9753
|
+
null,
|
|
9754
|
+
"6078a202",
|
|
9755
|
+
null
|
|
9756
|
+
|
|
9757
|
+
)
|
|
9758
|
+
|
|
9759
|
+
/* harmony default export */ var InfoHeader = (InfoHeader_component.exports);
|
|
9369
9760
|
// 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/Header/Header.vue?vue&type=script&lang=js&
|
|
9370
9761
|
|
|
9371
9762
|
|
|
@@ -9373,6 +9764,105 @@ var profileDropDown = [{
|
|
|
9373
9764
|
|
|
9374
9765
|
|
|
9375
9766
|
|
|
9767
|
+
|
|
9768
|
+
|
|
9769
|
+
|
|
9770
|
+
//
|
|
9771
|
+
//
|
|
9772
|
+
//
|
|
9773
|
+
//
|
|
9774
|
+
//
|
|
9775
|
+
//
|
|
9776
|
+
//
|
|
9777
|
+
//
|
|
9778
|
+
//
|
|
9779
|
+
//
|
|
9780
|
+
//
|
|
9781
|
+
//
|
|
9782
|
+
//
|
|
9783
|
+
//
|
|
9784
|
+
//
|
|
9785
|
+
//
|
|
9786
|
+
//
|
|
9787
|
+
//
|
|
9788
|
+
//
|
|
9789
|
+
//
|
|
9790
|
+
//
|
|
9791
|
+
//
|
|
9792
|
+
//
|
|
9793
|
+
//
|
|
9794
|
+
//
|
|
9795
|
+
//
|
|
9796
|
+
//
|
|
9797
|
+
//
|
|
9798
|
+
//
|
|
9799
|
+
//
|
|
9800
|
+
//
|
|
9801
|
+
//
|
|
9802
|
+
//
|
|
9803
|
+
//
|
|
9804
|
+
//
|
|
9805
|
+
//
|
|
9806
|
+
//
|
|
9807
|
+
//
|
|
9808
|
+
//
|
|
9809
|
+
//
|
|
9810
|
+
//
|
|
9811
|
+
//
|
|
9812
|
+
//
|
|
9813
|
+
//
|
|
9814
|
+
//
|
|
9815
|
+
//
|
|
9816
|
+
//
|
|
9817
|
+
//
|
|
9818
|
+
//
|
|
9819
|
+
//
|
|
9820
|
+
//
|
|
9821
|
+
//
|
|
9822
|
+
//
|
|
9823
|
+
//
|
|
9824
|
+
//
|
|
9825
|
+
//
|
|
9826
|
+
//
|
|
9827
|
+
//
|
|
9828
|
+
//
|
|
9829
|
+
//
|
|
9830
|
+
//
|
|
9831
|
+
//
|
|
9832
|
+
//
|
|
9833
|
+
//
|
|
9834
|
+
//
|
|
9835
|
+
//
|
|
9836
|
+
//
|
|
9837
|
+
//
|
|
9838
|
+
//
|
|
9839
|
+
//
|
|
9840
|
+
//
|
|
9841
|
+
//
|
|
9842
|
+
//
|
|
9843
|
+
//
|
|
9844
|
+
//
|
|
9845
|
+
//
|
|
9846
|
+
//
|
|
9847
|
+
//
|
|
9848
|
+
//
|
|
9849
|
+
//
|
|
9850
|
+
//
|
|
9851
|
+
//
|
|
9852
|
+
//
|
|
9853
|
+
//
|
|
9854
|
+
//
|
|
9855
|
+
//
|
|
9856
|
+
//
|
|
9857
|
+
//
|
|
9858
|
+
//
|
|
9859
|
+
//
|
|
9860
|
+
//
|
|
9861
|
+
//
|
|
9862
|
+
//
|
|
9863
|
+
//
|
|
9864
|
+
//
|
|
9865
|
+
//
|
|
9376
9866
|
//
|
|
9377
9867
|
//
|
|
9378
9868
|
//
|
|
@@ -9451,8 +9941,10 @@ var profileDropDown = [{
|
|
|
9451
9941
|
|
|
9452
9942
|
|
|
9453
9943
|
|
|
9944
|
+
|
|
9454
9945
|
/* harmony default export */ var Headervue_type_script_lang_js_ = ({
|
|
9455
9946
|
components: {
|
|
9947
|
+
InfoHeader: InfoHeader,
|
|
9456
9948
|
Profile: Profile,
|
|
9457
9949
|
MobileToggle: VerticalMobileToggle
|
|
9458
9950
|
},
|
|
@@ -9461,7 +9953,7 @@ var profileDropDown = [{
|
|
|
9461
9953
|
type: String,
|
|
9462
9954
|
required: true,
|
|
9463
9955
|
validator: function validator(value) {
|
|
9464
|
-
return [
|
|
9956
|
+
return ["prod", "dev", "staging"].indexOf(value) !== -1;
|
|
9465
9957
|
}
|
|
9466
9958
|
},
|
|
9467
9959
|
isAuthenticated: {
|
|
@@ -9472,16 +9964,16 @@ var profileDropDown = [{
|
|
|
9472
9964
|
type: Boolean,
|
|
9473
9965
|
default: false
|
|
9474
9966
|
},
|
|
9475
|
-
|
|
9967
|
+
isSticky: {
|
|
9476
9968
|
type: Boolean,
|
|
9477
9969
|
default: false
|
|
9478
9970
|
},
|
|
9479
9971
|
requestCount: {
|
|
9480
|
-
type: Number,
|
|
9972
|
+
type: [String, Number],
|
|
9481
9973
|
default: null
|
|
9482
9974
|
},
|
|
9483
9975
|
daysRemaining: {
|
|
9484
|
-
type: String,
|
|
9976
|
+
type: [String, Number],
|
|
9485
9977
|
default: null
|
|
9486
9978
|
},
|
|
9487
9979
|
email: {
|
|
@@ -9507,69 +9999,232 @@ var profileDropDown = [{
|
|
|
9507
9999
|
return {
|
|
9508
10000
|
profileDropDown: profileDropDown,
|
|
9509
10001
|
main: {
|
|
9510
|
-
dev:
|
|
9511
|
-
prod:
|
|
9512
|
-
staging:
|
|
10002
|
+
dev: "https://adtdev.kz",
|
|
10003
|
+
prod: "https://adata.kz",
|
|
10004
|
+
staging: "https://adada.kz"
|
|
9513
10005
|
},
|
|
9514
|
-
|
|
10006
|
+
headerItems: [{
|
|
9515
10007
|
id: 1,
|
|
9516
10008
|
name: "Контрагенты",
|
|
9517
|
-
dev:
|
|
9518
|
-
prod:
|
|
9519
|
-
staging:
|
|
9520
|
-
key:
|
|
10009
|
+
dev: "https://pk.adtdev.kz",
|
|
10010
|
+
prod: "https://pk.adata.kz",
|
|
10011
|
+
staging: "https://pk.adada.kz",
|
|
10012
|
+
key: "counterparty"
|
|
9521
10013
|
}, {
|
|
9522
10014
|
id: 2,
|
|
9523
10015
|
name: "Тендеры",
|
|
9524
|
-
dev:
|
|
9525
|
-
prod:
|
|
9526
|
-
staging:
|
|
9527
|
-
key:
|
|
10016
|
+
dev: "https://tender.adtdev.kz",
|
|
10017
|
+
prod: "https://tender.adata.kz",
|
|
10018
|
+
staging: "https://tender.adada.kz",
|
|
10019
|
+
key: "tenders"
|
|
9528
10020
|
}, {
|
|
9529
10021
|
id: 3,
|
|
9530
10022
|
name: "Работа",
|
|
9531
|
-
dev:
|
|
9532
|
-
prod:
|
|
9533
|
-
staging:
|
|
9534
|
-
key:
|
|
10023
|
+
dev: "https://work.adtdev.kz",
|
|
10024
|
+
prod: "https://work.adata.kz",
|
|
10025
|
+
staging: "https://work.adada.kz",
|
|
10026
|
+
key: "work"
|
|
9535
10027
|
}, {
|
|
9536
10028
|
id: 4,
|
|
9537
10029
|
name: "Штрафы",
|
|
9538
|
-
dev:
|
|
9539
|
-
prod:
|
|
9540
|
-
staging:
|
|
9541
|
-
key:
|
|
10030
|
+
dev: "https://avto.adtdev.kz",
|
|
10031
|
+
prod: "https://avto.adata.kz",
|
|
10032
|
+
staging: "https://avto.adada.kz",
|
|
10033
|
+
key: "fines"
|
|
9542
10034
|
}, {
|
|
9543
10035
|
id: 5,
|
|
9544
10036
|
name: "Маркетинг",
|
|
9545
|
-
dev:
|
|
9546
|
-
prod:
|
|
9547
|
-
staging:
|
|
9548
|
-
key:
|
|
10037
|
+
dev: "https://marketing.adtdev.kz",
|
|
10038
|
+
prod: "https://marketing.adata.kz",
|
|
10039
|
+
staging: "https://marketing.adada.kz",
|
|
10040
|
+
key: "marketing"
|
|
9549
10041
|
}],
|
|
9550
|
-
isOpen: false
|
|
10042
|
+
isOpen: false,
|
|
10043
|
+
weather: null,
|
|
10044
|
+
currencies: null,
|
|
10045
|
+
systemMessage: null,
|
|
10046
|
+
timer: null,
|
|
10047
|
+
isOpenNotification: false
|
|
9551
10048
|
};
|
|
9552
10049
|
},
|
|
10050
|
+
created: function created() {
|
|
10051
|
+
this.fetchCurrencies();
|
|
10052
|
+
this.fetchWeather();
|
|
10053
|
+
},
|
|
9553
10054
|
mounted: function mounted() {
|
|
9554
10055
|
this.setBalance(this.balance);
|
|
10056
|
+
this.timer = setTimeout(this.fetchNotification, 3000);
|
|
10057
|
+
},
|
|
10058
|
+
watch: {
|
|
10059
|
+
balance: function balance(newBalance) {
|
|
10060
|
+
this.setBalance(newBalance);
|
|
10061
|
+
},
|
|
10062
|
+
isOpenNotification: function isOpenNotification() {
|
|
10063
|
+
if (!this.isOpenNotification) {
|
|
10064
|
+
clearTimeout(this.timer);
|
|
10065
|
+
}
|
|
10066
|
+
}
|
|
9555
10067
|
},
|
|
9556
10068
|
methods: {
|
|
10069
|
+
fetchNotification: function fetchNotification() {
|
|
10070
|
+
var _this = this;
|
|
10071
|
+
|
|
10072
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
10073
|
+
var response, _yield$response$json, data;
|
|
10074
|
+
|
|
10075
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
10076
|
+
while (1) {
|
|
10077
|
+
switch (_context.prev = _context.next) {
|
|
10078
|
+
case 0:
|
|
10079
|
+
_context.prev = 0;
|
|
10080
|
+
_context.next = 3;
|
|
10081
|
+
return fetch('https://users.adtdev.kz/api/v1/system-messages/active-list/?module_name=counterparty');
|
|
10082
|
+
|
|
10083
|
+
case 3:
|
|
10084
|
+
response = _context.sent;
|
|
10085
|
+
_context.next = 6;
|
|
10086
|
+
return response.json();
|
|
10087
|
+
|
|
10088
|
+
case 6:
|
|
10089
|
+
_yield$response$json = _context.sent;
|
|
10090
|
+
data = _yield$response$json.data;
|
|
10091
|
+
|
|
10092
|
+
if (data.details.length) {
|
|
10093
|
+
_this.systemMessage = data.details[0].message;
|
|
10094
|
+
_this.isOpenNotification = true;
|
|
10095
|
+
}
|
|
10096
|
+
|
|
10097
|
+
_context.next = 14;
|
|
10098
|
+
break;
|
|
10099
|
+
|
|
10100
|
+
case 11:
|
|
10101
|
+
_context.prev = 11;
|
|
10102
|
+
_context.t0 = _context["catch"](0);
|
|
10103
|
+
console.log(_context.t0.message);
|
|
10104
|
+
|
|
10105
|
+
case 14:
|
|
10106
|
+
case "end":
|
|
10107
|
+
return _context.stop();
|
|
10108
|
+
}
|
|
10109
|
+
}
|
|
10110
|
+
}, _callee, null, [[0, 11]]);
|
|
10111
|
+
}))();
|
|
10112
|
+
},
|
|
10113
|
+
fetchCurrencies: function fetchCurrencies() {
|
|
10114
|
+
var _this2 = this;
|
|
10115
|
+
|
|
10116
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
10117
|
+
var response, _yield$response$json2, data;
|
|
10118
|
+
|
|
10119
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
10120
|
+
while (1) {
|
|
10121
|
+
switch (_context2.prev = _context2.next) {
|
|
10122
|
+
case 0:
|
|
10123
|
+
_context2.prev = 0;
|
|
10124
|
+
_context2.next = 3;
|
|
10125
|
+
return fetch('https://users.adata.kz/api/v1/information/currency');
|
|
10126
|
+
|
|
10127
|
+
case 3:
|
|
10128
|
+
response = _context2.sent;
|
|
10129
|
+
_context2.next = 6;
|
|
10130
|
+
return response.json();
|
|
10131
|
+
|
|
10132
|
+
case 6:
|
|
10133
|
+
_yield$response$json2 = _context2.sent;
|
|
10134
|
+
data = _yield$response$json2.data;
|
|
10135
|
+
|
|
10136
|
+
if (data.currencies) {
|
|
10137
|
+
_this2.currencies = data.currencies;
|
|
10138
|
+
}
|
|
10139
|
+
|
|
10140
|
+
_context2.next = 14;
|
|
10141
|
+
break;
|
|
10142
|
+
|
|
10143
|
+
case 11:
|
|
10144
|
+
_context2.prev = 11;
|
|
10145
|
+
_context2.t0 = _context2["catch"](0);
|
|
10146
|
+
console.log(_context2.t0.message);
|
|
10147
|
+
|
|
10148
|
+
case 14:
|
|
10149
|
+
case "end":
|
|
10150
|
+
return _context2.stop();
|
|
10151
|
+
}
|
|
10152
|
+
}
|
|
10153
|
+
}, _callee2, null, [[0, 11]]);
|
|
10154
|
+
}))();
|
|
10155
|
+
},
|
|
10156
|
+
fetchWeather: function fetchWeather() {
|
|
10157
|
+
var _this3 = this;
|
|
10158
|
+
|
|
10159
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
10160
|
+
var response, _yield$response$json3, data;
|
|
10161
|
+
|
|
10162
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
10163
|
+
while (1) {
|
|
10164
|
+
switch (_context3.prev = _context3.next) {
|
|
10165
|
+
case 0:
|
|
10166
|
+
_context3.prev = 0;
|
|
10167
|
+
_context3.next = 3;
|
|
10168
|
+
return fetch('https://users.adata.kz/api/v1/information/weather');
|
|
10169
|
+
|
|
10170
|
+
case 3:
|
|
10171
|
+
response = _context3.sent;
|
|
10172
|
+
_context3.next = 6;
|
|
10173
|
+
return response.json();
|
|
10174
|
+
|
|
10175
|
+
case 6:
|
|
10176
|
+
_yield$response$json3 = _context3.sent;
|
|
10177
|
+
data = _yield$response$json3.data;
|
|
10178
|
+
|
|
10179
|
+
if (data.cities) {
|
|
10180
|
+
_this3.weather = data.cities;
|
|
10181
|
+
}
|
|
10182
|
+
|
|
10183
|
+
_context3.next = 14;
|
|
10184
|
+
break;
|
|
10185
|
+
|
|
10186
|
+
case 11:
|
|
10187
|
+
_context3.prev = 11;
|
|
10188
|
+
_context3.t0 = _context3["catch"](0);
|
|
10189
|
+
console.log(_context3.t0.message);
|
|
10190
|
+
|
|
10191
|
+
case 14:
|
|
10192
|
+
case "end":
|
|
10193
|
+
return _context3.stop();
|
|
10194
|
+
}
|
|
10195
|
+
}
|
|
10196
|
+
}, _callee3, null, [[0, 11]]);
|
|
10197
|
+
}))();
|
|
10198
|
+
},
|
|
10199
|
+
closeNotification: function closeNotification(option) {
|
|
10200
|
+
this.isOpenNotification = !option;
|
|
10201
|
+
},
|
|
9557
10202
|
changeValue: function changeValue() {
|
|
9558
10203
|
this.isOpen = !this.isOpen;
|
|
9559
|
-
this.$emit(
|
|
10204
|
+
this.$emit("menuOpen", this.isOpen);
|
|
9560
10205
|
},
|
|
9561
10206
|
setBalance: function setBalance(balance) {
|
|
9562
10207
|
if (balance !== 0) {
|
|
9563
|
-
this.profileDropDown[2].name =
|
|
10208
|
+
this.profileDropDown[2].name = "Текущий баланс: " + this.thousandSeparator(balance) + " ₸";
|
|
9564
10209
|
}
|
|
9565
10210
|
},
|
|
9566
10211
|
thousandSeparator: function thousandSeparator(val) {
|
|
9567
|
-
return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") :
|
|
9568
|
-
}
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
10212
|
+
return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "";
|
|
10213
|
+
},
|
|
10214
|
+
defineIconState: function defineIconState(name) {
|
|
10215
|
+
return name === "DOWN" ? "@/assets/icons/arrow-down.svg" : "@/assets/icons/arrow-up.svg";
|
|
10216
|
+
},
|
|
10217
|
+
defineIconEntity: function defineIconEntity(name) {
|
|
10218
|
+
switch (name) {
|
|
10219
|
+
case 'USD':
|
|
10220
|
+
return "@/assets/icons/dollor.svg";
|
|
10221
|
+
|
|
10222
|
+
case 'EUR':
|
|
10223
|
+
return "@/assets/icons/euro.svg";
|
|
10224
|
+
|
|
10225
|
+
case 'RUB':
|
|
10226
|
+
return "@/assets/icons/ruble.svg";
|
|
10227
|
+
}
|
|
9573
10228
|
}
|
|
9574
10229
|
}
|
|
9575
10230
|
});
|
|
@@ -9589,8 +10244,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
9589
10244
|
|
|
9590
10245
|
var Header_component = normalizeComponent(
|
|
9591
10246
|
Header_Headervue_type_script_lang_js_,
|
|
9592
|
-
|
|
9593
|
-
|
|
10247
|
+
Headervue_type_template_id_34976661_render,
|
|
10248
|
+
Headervue_type_template_id_34976661_staticRenderFns,
|
|
9594
10249
|
false,
|
|
9595
10250
|
null,
|
|
9596
10251
|
null,
|
|
@@ -10104,6 +10759,80 @@ var MailTo_component = normalizeComponent(
|
|
|
10104
10759
|
)
|
|
10105
10760
|
|
|
10106
10761
|
/* harmony default export */ var MailTo = (MailTo_component.exports);
|
|
10762
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Table/ATable.vue?vue&type=template&id=b3cc1b06&scoped=true&
|
|
10763
|
+
var ATablevue_type_template_id_b3cc1b06_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:"a-table"},[_c('thead',[_c('tr',_vm._l((_vm.cols),function(col,i){return _c('th',{key:i},[_vm._v(_vm._s(col.name))])}),0)]),_vm._l((_vm.rows),function(row,i){return _c('tbody',{key:i},[_c('tr',_vm._l((_vm.cols),function(col){return _c('td',{key:col.key,attrs:{"data-label":("" + (col.name))}},[_vm._t('key-' + col.key,function(){return [_vm._v(" "+_vm._s(row[col.key] || _vm.defaultEmpty)+" ")]},{"row":row})],2)}),0)])})],2)}
|
|
10764
|
+
var ATablevue_type_template_id_b3cc1b06_scoped_true_staticRenderFns = []
|
|
10765
|
+
|
|
10766
|
+
|
|
10767
|
+
// CONCATENATED MODULE: ./src/components/Table/ATable.vue?vue&type=template&id=b3cc1b06&scoped=true&
|
|
10768
|
+
|
|
10769
|
+
// 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/Table/ATable.vue?vue&type=script&lang=js&
|
|
10770
|
+
|
|
10771
|
+
//
|
|
10772
|
+
//
|
|
10773
|
+
//
|
|
10774
|
+
//
|
|
10775
|
+
//
|
|
10776
|
+
//
|
|
10777
|
+
//
|
|
10778
|
+
//
|
|
10779
|
+
//
|
|
10780
|
+
//
|
|
10781
|
+
//
|
|
10782
|
+
//
|
|
10783
|
+
//
|
|
10784
|
+
//
|
|
10785
|
+
//
|
|
10786
|
+
//
|
|
10787
|
+
//
|
|
10788
|
+
//
|
|
10789
|
+
//
|
|
10790
|
+
/* harmony default export */ var ATablevue_type_script_lang_js_ = ({
|
|
10791
|
+
props: {
|
|
10792
|
+
cols: {
|
|
10793
|
+
type: Array,
|
|
10794
|
+
default: function _default() {
|
|
10795
|
+
return [];
|
|
10796
|
+
}
|
|
10797
|
+
},
|
|
10798
|
+
rows: {
|
|
10799
|
+
type: Array,
|
|
10800
|
+
default: function _default() {
|
|
10801
|
+
return [];
|
|
10802
|
+
}
|
|
10803
|
+
},
|
|
10804
|
+
defaultEmpty: {
|
|
10805
|
+
type: [String, Number],
|
|
10806
|
+
default: "Нет данных"
|
|
10807
|
+
}
|
|
10808
|
+
}
|
|
10809
|
+
});
|
|
10810
|
+
// CONCATENATED MODULE: ./src/components/Table/ATable.vue?vue&type=script&lang=js&
|
|
10811
|
+
/* harmony default export */ var Table_ATablevue_type_script_lang_js_ = (ATablevue_type_script_lang_js_);
|
|
10812
|
+
// EXTERNAL MODULE: ./src/components/Table/ATable.vue?vue&type=style&index=0&id=b3cc1b06&lang=scss&scoped=true&
|
|
10813
|
+
var ATablevue_type_style_index_0_id_b3cc1b06_lang_scss_scoped_true_ = __webpack_require__("3c75");
|
|
10814
|
+
|
|
10815
|
+
// CONCATENATED MODULE: ./src/components/Table/ATable.vue
|
|
10816
|
+
|
|
10817
|
+
|
|
10818
|
+
|
|
10819
|
+
|
|
10820
|
+
|
|
10821
|
+
|
|
10822
|
+
/* normalize component */
|
|
10823
|
+
|
|
10824
|
+
var ATable_component = normalizeComponent(
|
|
10825
|
+
Table_ATablevue_type_script_lang_js_,
|
|
10826
|
+
ATablevue_type_template_id_b3cc1b06_scoped_true_render,
|
|
10827
|
+
ATablevue_type_template_id_b3cc1b06_scoped_true_staticRenderFns,
|
|
10828
|
+
false,
|
|
10829
|
+
null,
|
|
10830
|
+
"b3cc1b06",
|
|
10831
|
+
null
|
|
10832
|
+
|
|
10833
|
+
)
|
|
10834
|
+
|
|
10835
|
+
/* harmony default export */ var ATable = (ATable_component.exports);
|
|
10107
10836
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
10108
10837
|
|
|
10109
10838
|
|
|
@@ -10117,7 +10846,10 @@ var MailTo_component = normalizeComponent(
|
|
|
10117
10846
|
|
|
10118
10847
|
|
|
10119
10848
|
|
|
10849
|
+
|
|
10850
|
+
|
|
10120
10851
|
var Components = {
|
|
10852
|
+
ACheckbox: ACheckbox,
|
|
10121
10853
|
AButton: AButton,
|
|
10122
10854
|
ATextField: TextField,
|
|
10123
10855
|
APasswordField: PasswordField,
|
|
@@ -10125,7 +10857,8 @@ var Components = {
|
|
|
10125
10857
|
AHeader: Header,
|
|
10126
10858
|
AFooter: Footer,
|
|
10127
10859
|
ASearchTextField: SearchTextField,
|
|
10128
|
-
AMailTo: MailTo
|
|
10860
|
+
AMailTo: MailTo,
|
|
10861
|
+
ATable: ATable
|
|
10129
10862
|
};
|
|
10130
10863
|
Object.keys(Components).forEach(function (name) {
|
|
10131
10864
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(name, Components[name]);
|