@carbon/vue 3.0.4-alpha.0 → 3.0.5-alpha.0
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/carbon-vue-3.common.js +1186 -219
- package/dist/carbon-vue-3.common.js.map +1 -1
- package/dist/carbon-vue-3.umd.js +1186 -219
- package/dist/carbon-vue-3.umd.js.map +1 -1
- package/dist/carbon-vue-3.umd.min.js +2 -2
- package/dist/carbon-vue-3.umd.min.js.map +1 -1
- package/package.json +2 -2
- package/src/components/CvCheckbox/CvCheckbox.vue +0 -2
- package/src/components/CvTextArea/CvTextArea.stories.js +174 -0
- package/src/components/CvTextArea/CvTextArea.vue +107 -0
- package/src/components/CvTextArea/index.js +4 -0
- package/src/components/CvTextInput/CvTextInput.stories.js +245 -0
- package/src/components/CvTextInput/CvTextInput.vue +217 -0
- package/src/components/CvTextInput/const.js +2 -0
- package/src/components/CvTextInput/index.js +4 -0
- package/src/components/CvTile/CvTile.stories.mdx +156 -0
- package/src/components/CvTile/CvTile.vue +67 -0
- package/src/components/CvTile/CvTileClickable.vue +23 -0
- package/src/components/CvTile/CvTileExpandable.vue +103 -0
- package/src/components/CvTile/CvTileSelectable.vue +52 -0
- package/src/components/CvTile/CvTileStandard.vue +7 -0
- package/src/components/CvTile/index.js +4 -0
|
@@ -550,6 +550,58 @@ var createSVGComponent = function createSVGComponent(name, svgAttrs, svgContent)
|
|
|
550
550
|
|
|
551
551
|
|
|
552
552
|
|
|
553
|
+
/***/ }),
|
|
554
|
+
|
|
555
|
+
/***/ 8094:
|
|
556
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
557
|
+
|
|
558
|
+
"use strict";
|
|
559
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
560
|
+
/* harmony export */ "Z": function() { return /* binding */ WarningAltFilled16; }
|
|
561
|
+
/* harmony export */ });
|
|
562
|
+
/* harmony import */ var _utils_148d018d_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(468);
|
|
563
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3797);
|
|
564
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
|
|
565
|
+
/**
|
|
566
|
+
* Copyright IBM Corp. 2019, 2020
|
|
567
|
+
*
|
|
568
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
569
|
+
* LICENSE file in the root directory of this source tree.
|
|
570
|
+
*
|
|
571
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
572
|
+
*/
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
var WarningAltFilled16 = (0,_utils_148d018d_js__WEBPACK_IMPORTED_MODULE_1__.c)(WarningAltFilled16, {
|
|
578
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
579
|
+
"viewBox": "0 0 32 32",
|
|
580
|
+
"fill": "currentColor",
|
|
581
|
+
"width": 16,
|
|
582
|
+
"height": 16
|
|
583
|
+
}, [{
|
|
584
|
+
"elem": "path",
|
|
585
|
+
"attrs": {
|
|
586
|
+
"fill": "none",
|
|
587
|
+
"d": "M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z",
|
|
588
|
+
"data-icon-path": "inner-path"
|
|
589
|
+
}
|
|
590
|
+
}, {
|
|
591
|
+
"elem": "path",
|
|
592
|
+
"attrs": {
|
|
593
|
+
"d": "M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"
|
|
594
|
+
}
|
|
595
|
+
}, {
|
|
596
|
+
"elem": "path",
|
|
597
|
+
"attrs": {
|
|
598
|
+
"d": "M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"
|
|
599
|
+
}
|
|
600
|
+
}]);
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
553
605
|
/***/ }),
|
|
554
606
|
|
|
555
607
|
/***/ 8870:
|
|
@@ -819,7 +871,7 @@ var CvButtonConsts = {
|
|
|
819
871
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
820
872
|
|
|
821
873
|
"use strict";
|
|
822
|
-
/* harmony import */ var _CvCheckbox_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
874
|
+
/* harmony import */ var _CvCheckbox_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5478);
|
|
823
875
|
|
|
824
876
|
|
|
825
877
|
/* harmony default export */ __webpack_exports__["Z"] = (_CvCheckbox_vue__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
@@ -1698,6 +1750,155 @@ var carbonPrefix = 'bx'; // carbonSettings.prefix;
|
|
|
1698
1750
|
|
|
1699
1751
|
|
|
1700
1752
|
|
|
1753
|
+
/***/ }),
|
|
1754
|
+
|
|
1755
|
+
/***/ 9019:
|
|
1756
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1757
|
+
|
|
1758
|
+
"use strict";
|
|
1759
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1760
|
+
/* harmony export */ "N": function() { return /* binding */ props; },
|
|
1761
|
+
/* harmony export */ "w": function() { return /* binding */ useCheck; }
|
|
1762
|
+
/* harmony export */ });
|
|
1763
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6699);
|
|
1764
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1765
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2023);
|
|
1766
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1767
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6992);
|
|
1768
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
1769
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1539);
|
|
1770
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
1771
|
+
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(189);
|
|
1772
|
+
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
1773
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8783);
|
|
1774
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
1775
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3948);
|
|
1776
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
1777
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1038);
|
|
1778
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
1779
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3797);
|
|
1780
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_8__);
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
/*
|
|
1791
|
+
* Provides common checkbox behaviour
|
|
1792
|
+
*/
|
|
1793
|
+
|
|
1794
|
+
var props = {
|
|
1795
|
+
modelValue: {
|
|
1796
|
+
type: [Array, Boolean],
|
|
1797
|
+
default: undefined
|
|
1798
|
+
},
|
|
1799
|
+
mixed: {
|
|
1800
|
+
type: Boolean,
|
|
1801
|
+
default: null
|
|
1802
|
+
},
|
|
1803
|
+
checked: {
|
|
1804
|
+
type: Boolean,
|
|
1805
|
+
default: undefined
|
|
1806
|
+
},
|
|
1807
|
+
name: String,
|
|
1808
|
+
value: {
|
|
1809
|
+
type: String,
|
|
1810
|
+
required: true
|
|
1811
|
+
}
|
|
1812
|
+
};
|
|
1813
|
+
function useCheck(props, emit) {
|
|
1814
|
+
var isArrayModel = (0,vue__WEBPACK_IMPORTED_MODULE_8__.computed)(function () {
|
|
1815
|
+
return Array.isArray(props.modelValue.value);
|
|
1816
|
+
}); // Maintain the state of the checkbox
|
|
1817
|
+
|
|
1818
|
+
var dataChecked = (0,vue__WEBPACK_IMPORTED_MODULE_8__.ref)(undefined);
|
|
1819
|
+
var isChecked = (0,vue__WEBPACK_IMPORTED_MODULE_8__.computed)({
|
|
1820
|
+
get: function get() {
|
|
1821
|
+
if (props.modelValue.value !== undefined) {
|
|
1822
|
+
// model value always comes first
|
|
1823
|
+
if (isArrayModel.value) {
|
|
1824
|
+
if (props.modelValue.value.includes((0,vue__WEBPACK_IMPORTED_MODULE_8__.unref)(props.value))) {
|
|
1825
|
+
return true;
|
|
1826
|
+
} else {
|
|
1827
|
+
return false;
|
|
1828
|
+
}
|
|
1829
|
+
} else {
|
|
1830
|
+
return (0,vue__WEBPACK_IMPORTED_MODULE_8__.unref)(props.modelValue);
|
|
1831
|
+
}
|
|
1832
|
+
} else {
|
|
1833
|
+
if (dataChecked.value !== undefined) {
|
|
1834
|
+
return dataChecked.value;
|
|
1835
|
+
} else if (dataMixed.value) {
|
|
1836
|
+
return 'mixed';
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
return false;
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
set: function set(checked) {
|
|
1843
|
+
if (isArrayModel.value) {
|
|
1844
|
+
var modelSet = new Set(props.modelValue.value);
|
|
1845
|
+
|
|
1846
|
+
if (!checked) {
|
|
1847
|
+
modelSet.delete(props.value.value);
|
|
1848
|
+
} else {
|
|
1849
|
+
modelSet.add(props.value.value);
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
dataChecked.value = Array.from(modelSet);
|
|
1853
|
+
} else {
|
|
1854
|
+
dataChecked.value = checked ? true : undefined;
|
|
1855
|
+
|
|
1856
|
+
if (dataChecked.value !== undefined) {
|
|
1857
|
+
dataMixed.value = false;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
});
|
|
1862
|
+
(0,vue__WEBPACK_IMPORTED_MODULE_8__.onMounted)(function () {
|
|
1863
|
+
if (props.modelValue.value === undefined) {
|
|
1864
|
+
isChecked.value = props.checked.value;
|
|
1865
|
+
}
|
|
1866
|
+
}); // Maintain the state of the aria-checkbox
|
|
1867
|
+
|
|
1868
|
+
var dataMixed = (0,vue__WEBPACK_IMPORTED_MODULE_8__.ref)(props.mixed.value);
|
|
1869
|
+
(0,vue__WEBPACK_IMPORTED_MODULE_8__.watch)(props.mixed, function (val) {
|
|
1870
|
+
dataMixed.value = val;
|
|
1871
|
+
|
|
1872
|
+
if (dataMixed.value && props.checked.value !== true) {
|
|
1873
|
+
isChecked.value = false; // reset check state so mixed takes
|
|
1874
|
+
}
|
|
1875
|
+
});
|
|
1876
|
+
(0,vue__WEBPACK_IMPORTED_MODULE_8__.watch)(props.checked, function (val) {
|
|
1877
|
+
if (props.modelValue.value === undefined) isChecked.value = val;
|
|
1878
|
+
|
|
1879
|
+
if (!val && dataMixed.value) {
|
|
1880
|
+
dataMixed.value = true;
|
|
1881
|
+
}
|
|
1882
|
+
}); // Watch for change
|
|
1883
|
+
|
|
1884
|
+
function onChangeInner(checkedVal) {
|
|
1885
|
+
isChecked.value = checkedVal;
|
|
1886
|
+
emit('update:modelValue', dataChecked.value || false); // or false in case dataChecked is undefined
|
|
1887
|
+
|
|
1888
|
+
emit('change', checkedVal);
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
function onChange(ev) {
|
|
1892
|
+
onChangeInner(ev.target.checked);
|
|
1893
|
+
} // expose managed state as return value
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
return {
|
|
1897
|
+
onChange: onChange,
|
|
1898
|
+
isChecked: isChecked
|
|
1899
|
+
};
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1701
1902
|
/***/ }),
|
|
1702
1903
|
|
|
1703
1904
|
/***/ 1853:
|
|
@@ -3085,7 +3286,7 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(CvIconButtonvue
|
|
|
3085
3286
|
|
|
3086
3287
|
/***/ }),
|
|
3087
3288
|
|
|
3088
|
-
/***/
|
|
3289
|
+
/***/ 5478:
|
|
3089
3290
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3090
3291
|
|
|
3091
3292
|
"use strict";
|
|
@@ -3107,184 +3308,49 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
3107
3308
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
3108
3309
|
// EXTERNAL MODULE: ./src/global/settings.js
|
|
3109
3310
|
var settings = __webpack_require__(606);
|
|
3110
|
-
// EXTERNAL MODULE: ./
|
|
3111
|
-
var
|
|
3112
|
-
// EXTERNAL MODULE: ./
|
|
3113
|
-
var
|
|
3114
|
-
|
|
3115
|
-
var es_array_iterator = __webpack_require__(6992);
|
|
3116
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
3117
|
-
var es_object_to_string = __webpack_require__(1539);
|
|
3118
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.js
|
|
3119
|
-
var es_set = __webpack_require__(189);
|
|
3120
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
3121
|
-
var es_string_iterator = __webpack_require__(8783);
|
|
3122
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
3123
|
-
var web_dom_collections_iterator = __webpack_require__(3948);
|
|
3124
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
3125
|
-
var es_array_from = __webpack_require__(1038);
|
|
3126
|
-
;// CONCATENATED MODULE: ./src/use/cvCheck.js
|
|
3311
|
+
// EXTERNAL MODULE: ./src/use/cvCheck.js
|
|
3312
|
+
var cvCheck = __webpack_require__(9019);
|
|
3313
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
3314
|
+
var use_cvId = __webpack_require__(1853);
|
|
3315
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvCheckbox/CvCheckbox.vue?vue&type=script&setup=true&lang=js
|
|
3127
3316
|
|
|
3128
3317
|
|
|
3129
3318
|
|
|
3130
3319
|
|
|
3320
|
+
var _hoisted_1 = ["checked", "aria-checked", "value", "id"];
|
|
3321
|
+
var _hoisted_2 = ["for"];
|
|
3131
3322
|
|
|
3132
3323
|
|
|
3133
3324
|
|
|
3134
3325
|
|
|
3326
|
+
/* harmony default export */ var CvCheckboxvue_type_script_setup_true_lang_js = ({
|
|
3327
|
+
__name: 'CvCheckbox',
|
|
3328
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
3329
|
+
hideLabel: {
|
|
3330
|
+
type: Boolean,
|
|
3331
|
+
default: null
|
|
3332
|
+
},
|
|
3333
|
+
label: {
|
|
3334
|
+
type: String,
|
|
3335
|
+
default: null
|
|
3336
|
+
},
|
|
3337
|
+
formItem: {
|
|
3338
|
+
type: Boolean,
|
|
3339
|
+
default: true
|
|
3340
|
+
},
|
|
3341
|
+
inline: {
|
|
3342
|
+
type: Boolean,
|
|
3343
|
+
default: false
|
|
3344
|
+
}
|
|
3345
|
+
}, cvCheck/* props */.N), use_cvId/* props */.N),
|
|
3346
|
+
emits: ['update:modelValue', 'change'],
|
|
3347
|
+
setup: function setup(__props, _ref) {
|
|
3348
|
+
var _this = this;
|
|
3135
3349
|
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
*/
|
|
3350
|
+
var emit = _ref.emit;
|
|
3351
|
+
var props = __props; // Track focus
|
|
3139
3352
|
|
|
3140
|
-
var
|
|
3141
|
-
modelValue: {
|
|
3142
|
-
type: [Array, Boolean],
|
|
3143
|
-
default: undefined
|
|
3144
|
-
},
|
|
3145
|
-
mixed: {
|
|
3146
|
-
type: Boolean,
|
|
3147
|
-
default: null
|
|
3148
|
-
},
|
|
3149
|
-
checked: {
|
|
3150
|
-
type: Boolean,
|
|
3151
|
-
default: undefined
|
|
3152
|
-
},
|
|
3153
|
-
name: String,
|
|
3154
|
-
value: {
|
|
3155
|
-
type: String,
|
|
3156
|
-
required: true
|
|
3157
|
-
}
|
|
3158
|
-
};
|
|
3159
|
-
function useCheck(props, emit) {
|
|
3160
|
-
var isArrayModel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
3161
|
-
return Array.isArray(props.modelValue.value);
|
|
3162
|
-
}); // Maintain the state of the checkbox
|
|
3163
|
-
|
|
3164
|
-
var dataChecked = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(undefined);
|
|
3165
|
-
var isChecked = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)({
|
|
3166
|
-
get: function get() {
|
|
3167
|
-
if (props.modelValue.value !== undefined) {
|
|
3168
|
-
// model value always comes first
|
|
3169
|
-
if (isArrayModel.value) {
|
|
3170
|
-
if (props.modelValue.value.includes((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(props.value))) {
|
|
3171
|
-
return true;
|
|
3172
|
-
} else {
|
|
3173
|
-
return false;
|
|
3174
|
-
}
|
|
3175
|
-
} else {
|
|
3176
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(props.modelValue);
|
|
3177
|
-
}
|
|
3178
|
-
} else {
|
|
3179
|
-
if (dataChecked.value !== undefined) {
|
|
3180
|
-
return dataChecked.value;
|
|
3181
|
-
} else if (dataMixed.value) {
|
|
3182
|
-
return 'mixed';
|
|
3183
|
-
}
|
|
3184
|
-
|
|
3185
|
-
return false;
|
|
3186
|
-
}
|
|
3187
|
-
},
|
|
3188
|
-
set: function set(checked) {
|
|
3189
|
-
if (isArrayModel.value) {
|
|
3190
|
-
var modelSet = new Set(props.modelValue.value);
|
|
3191
|
-
|
|
3192
|
-
if (!checked) {
|
|
3193
|
-
modelSet.delete(props.value.value);
|
|
3194
|
-
} else {
|
|
3195
|
-
modelSet.add(props.value.value);
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
|
-
dataChecked.value = Array.from(modelSet);
|
|
3199
|
-
} else {
|
|
3200
|
-
dataChecked.value = checked ? true : undefined;
|
|
3201
|
-
|
|
3202
|
-
if (dataChecked.value !== undefined) {
|
|
3203
|
-
dataMixed.value = false;
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
}
|
|
3207
|
-
});
|
|
3208
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(function () {
|
|
3209
|
-
if (props.modelValue.value === undefined) {
|
|
3210
|
-
isChecked.value = props.checked.value;
|
|
3211
|
-
}
|
|
3212
|
-
}); // Maintain the state of the aria-checkbox
|
|
3213
|
-
|
|
3214
|
-
var dataMixed = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.mixed.value);
|
|
3215
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(props.mixed, function (val) {
|
|
3216
|
-
dataMixed.value = val;
|
|
3217
|
-
|
|
3218
|
-
if (dataMixed.value && props.checked.value !== true) {
|
|
3219
|
-
isChecked.value = false; // reset check state so mixed takes
|
|
3220
|
-
}
|
|
3221
|
-
});
|
|
3222
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(props.checked, function (val) {
|
|
3223
|
-
if (props.modelValue.value === undefined) isChecked.value = val;
|
|
3224
|
-
|
|
3225
|
-
if (!val && dataMixed.value) {
|
|
3226
|
-
dataMixed.value = true;
|
|
3227
|
-
}
|
|
3228
|
-
}); // Watch for change
|
|
3229
|
-
|
|
3230
|
-
function onChangeInner(checkedVal) {
|
|
3231
|
-
isChecked.value = checkedVal;
|
|
3232
|
-
emit('update:modelValue', dataChecked.value || false); // or false in case dataChecked is undefined
|
|
3233
|
-
|
|
3234
|
-
emit('change', checkedVal);
|
|
3235
|
-
}
|
|
3236
|
-
|
|
3237
|
-
function onChange(ev) {
|
|
3238
|
-
onChangeInner(ev.target.checked);
|
|
3239
|
-
} // expose managed state as return value
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
return {
|
|
3243
|
-
onChange: onChange,
|
|
3244
|
-
isChecked: isChecked
|
|
3245
|
-
};
|
|
3246
|
-
}
|
|
3247
|
-
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
3248
|
-
var use_cvId = __webpack_require__(1853);
|
|
3249
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvCheckbox/CvCheckbox.vue?vue&type=script&setup=true&lang=js
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
var _hoisted_1 = ["checked", "aria-checked", "value", "id"];
|
|
3255
|
-
var _hoisted_2 = ["for"];
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
/* harmony default export */ var CvCheckboxvue_type_script_setup_true_lang_js = ({
|
|
3261
|
-
__name: 'CvCheckbox',
|
|
3262
|
-
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
3263
|
-
hideLabel: {
|
|
3264
|
-
type: Boolean,
|
|
3265
|
-
default: null
|
|
3266
|
-
},
|
|
3267
|
-
label: {
|
|
3268
|
-
type: String,
|
|
3269
|
-
default: null
|
|
3270
|
-
},
|
|
3271
|
-
formItem: {
|
|
3272
|
-
type: Boolean,
|
|
3273
|
-
default: true
|
|
3274
|
-
},
|
|
3275
|
-
inline: {
|
|
3276
|
-
type: Boolean,
|
|
3277
|
-
default: false
|
|
3278
|
-
}
|
|
3279
|
-
}, props), use_cvId/* props */.N),
|
|
3280
|
-
emits: ['update:modelValue', 'change'],
|
|
3281
|
-
setup: function setup(__props, _ref) {
|
|
3282
|
-
var _this = this;
|
|
3283
|
-
|
|
3284
|
-
var emit = _ref.emit;
|
|
3285
|
-
var props = __props; // Track focus
|
|
3286
|
-
|
|
3287
|
-
var hasFocus = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
3353
|
+
var hasFocus = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
3288
3354
|
|
|
3289
3355
|
function onFocus() {
|
|
3290
3356
|
hasFocus = true;
|
|
@@ -3296,7 +3362,7 @@ var _hoisted_2 = ["for"];
|
|
|
3296
3362
|
|
|
3297
3363
|
var cvId = (0,use_cvId/* useCvId */.l)(props);
|
|
3298
3364
|
|
|
3299
|
-
var _useCheck = useCheck((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRefs)(props), emit),
|
|
3365
|
+
var _useCheck = (0,cvCheck/* useCheck */.w)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRefs)(props), emit),
|
|
3300
3366
|
onChange = _useCheck.onChange,
|
|
3301
3367
|
isChecked = _useCheck.isChecked;
|
|
3302
3368
|
|
|
@@ -12658,8 +12724,8 @@ var CaretRight16 = (0,utils_148d018d.c)(CaretRight16, {
|
|
|
12658
12724
|
|
|
12659
12725
|
|
|
12660
12726
|
|
|
12661
|
-
// EXTERNAL MODULE: ./src/components/CvSelect/CvSelect.vue +
|
|
12662
|
-
var CvSelect = __webpack_require__(
|
|
12727
|
+
// EXTERNAL MODULE: ./src/components/CvSelect/CvSelect.vue + 2 modules
|
|
12728
|
+
var CvSelect = __webpack_require__(6661);
|
|
12663
12729
|
;// CONCATENATED MODULE: ./src/components/CvSelect/index.js
|
|
12664
12730
|
|
|
12665
12731
|
|
|
@@ -12999,7 +13065,7 @@ const __exports__ = CvPaginationvue_type_script_setup_true_lang_js;
|
|
|
12999
13065
|
|
|
13000
13066
|
/***/ }),
|
|
13001
13067
|
|
|
13002
|
-
/***/
|
|
13068
|
+
/***/ 6661:
|
|
13003
13069
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13004
13070
|
|
|
13005
13071
|
"use strict";
|
|
@@ -13027,48 +13093,8 @@ var settings = __webpack_require__(606);
|
|
|
13027
13093
|
var _16 = __webpack_require__(4325);
|
|
13028
13094
|
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--filled/16.js
|
|
13029
13095
|
var warning_filled_16 = __webpack_require__(8870);
|
|
13030
|
-
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/
|
|
13031
|
-
var
|
|
13032
|
-
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/warning--alt--filled/16.js
|
|
13033
|
-
/**
|
|
13034
|
-
* Copyright IBM Corp. 2019, 2020
|
|
13035
|
-
*
|
|
13036
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
13037
|
-
* LICENSE file in the root directory of this source tree.
|
|
13038
|
-
*
|
|
13039
|
-
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
13040
|
-
*/
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13044
|
-
|
|
13045
|
-
var WarningAltFilled16 = (0,utils_148d018d.c)(WarningAltFilled16, {
|
|
13046
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13047
|
-
"viewBox": "0 0 32 32",
|
|
13048
|
-
"fill": "currentColor",
|
|
13049
|
-
"width": 16,
|
|
13050
|
-
"height": 16
|
|
13051
|
-
}, [{
|
|
13052
|
-
"elem": "path",
|
|
13053
|
-
"attrs": {
|
|
13054
|
-
"fill": "none",
|
|
13055
|
-
"d": "M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z",
|
|
13056
|
-
"data-icon-path": "inner-path"
|
|
13057
|
-
}
|
|
13058
|
-
}, {
|
|
13059
|
-
"elem": "path",
|
|
13060
|
-
"attrs": {
|
|
13061
|
-
"d": "M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"
|
|
13062
|
-
}
|
|
13063
|
-
}, {
|
|
13064
|
-
"elem": "path",
|
|
13065
|
-
"attrs": {
|
|
13066
|
-
"d": "M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"
|
|
13067
|
-
}
|
|
13068
|
-
}]);
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13096
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--alt--filled/16.js
|
|
13097
|
+
var warning_alt_filled_16 = __webpack_require__(8094);
|
|
13072
13098
|
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
13073
13099
|
var use_cvId = __webpack_require__(1853);
|
|
13074
13100
|
// EXTERNAL MODULE: ./src/components/CvWrapper/CvWrapper.js
|
|
@@ -13282,7 +13308,7 @@ var _hoisted_4 = ["id", "value"];
|
|
|
13282
13308
|
}, null, 8, ["class"]), isInvalid.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(warning_filled_16/* default */.Z), {
|
|
13283
13309
|
key: 0,
|
|
13284
13310
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--select__invalid-icon"))
|
|
13285
|
-
}, null, 8, ["class"])) : isWarning.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(
|
|
13311
|
+
}, null, 8, ["class"])) : isWarning.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(warning_alt_filled_16/* default */.Z), {
|
|
13286
13312
|
key: 1,
|
|
13287
13313
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--select__invalid-icon ").concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--select__invalid-icon--warning"))
|
|
13288
13314
|
}, null, 8, ["class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 10, _hoisted_3), isInvalid.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
@@ -13795,6 +13821,940 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(CvTagvue_type_s
|
|
|
13795
13821
|
|
|
13796
13822
|
/***/ }),
|
|
13797
13823
|
|
|
13824
|
+
/***/ 4722:
|
|
13825
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13826
|
+
|
|
13827
|
+
"use strict";
|
|
13828
|
+
// ESM COMPAT FLAG
|
|
13829
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13830
|
+
|
|
13831
|
+
// EXPORTS
|
|
13832
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
13833
|
+
"default": function() { return /* binding */ CvTextArea; }
|
|
13834
|
+
});
|
|
13835
|
+
|
|
13836
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
13837
|
+
var defineProperty = __webpack_require__(9130);
|
|
13838
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
13839
|
+
var objectSpread2 = __webpack_require__(5145);
|
|
13840
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
13841
|
+
var es_object_assign = __webpack_require__(9601);
|
|
13842
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
13843
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
13844
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--filled/16.js
|
|
13845
|
+
var _16 = __webpack_require__(8870);
|
|
13846
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
13847
|
+
var settings = __webpack_require__(606);
|
|
13848
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
13849
|
+
var use_cvId = __webpack_require__(1853);
|
|
13850
|
+
// EXTERNAL MODULE: ./src/use/cvTheme.js
|
|
13851
|
+
var cvTheme = __webpack_require__(3610);
|
|
13852
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvTextArea/CvTextArea.vue?vue&type=script&setup=true&lang=js
|
|
13853
|
+
|
|
13854
|
+
|
|
13855
|
+
|
|
13856
|
+
|
|
13857
|
+
var _hoisted_1 = ["for"];
|
|
13858
|
+
var _hoisted_2 = ["data-invalid"];
|
|
13859
|
+
var _hoisted_3 = ["aria-invalid", "aria-describedby", "id", "value"];
|
|
13860
|
+
var _hoisted_4 = ["id"];
|
|
13861
|
+
|
|
13862
|
+
|
|
13863
|
+
|
|
13864
|
+
|
|
13865
|
+
|
|
13866
|
+
var __default__ = {
|
|
13867
|
+
inheritAttrs: false
|
|
13868
|
+
};
|
|
13869
|
+
/* harmony default export */ var CvTextAreavue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
13870
|
+
__name: 'CvTextArea',
|
|
13871
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
13872
|
+
helperText: {
|
|
13873
|
+
type: String,
|
|
13874
|
+
default: undefined
|
|
13875
|
+
},
|
|
13876
|
+
hideLabel: {
|
|
13877
|
+
type: Boolean,
|
|
13878
|
+
default: false
|
|
13879
|
+
},
|
|
13880
|
+
invalidMessage: {
|
|
13881
|
+
type: String,
|
|
13882
|
+
default: undefined
|
|
13883
|
+
},
|
|
13884
|
+
label: String,
|
|
13885
|
+
modelValue: String
|
|
13886
|
+
}, use_cvId/* props */.N), cvTheme/* props */.N),
|
|
13887
|
+
setup: function setup(__props) {
|
|
13888
|
+
var props = __props;
|
|
13889
|
+
var cvId = (0,use_cvId/* useCvId */.l)(props); // DOM
|
|
13890
|
+
|
|
13891
|
+
var slots = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useSlots)(); // Data
|
|
13892
|
+
|
|
13893
|
+
var isHelper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
13894
|
+
var isInvalid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
13895
|
+
var isLight = (0,cvTheme/* useIsLight */.h)(props); // Computed
|
|
13896
|
+
|
|
13897
|
+
var errorId = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
13898
|
+
return "error-".concat(cvId.value);
|
|
13899
|
+
}); // Methods
|
|
13900
|
+
|
|
13901
|
+
function checkSlots() {
|
|
13902
|
+
var _props$invalidMessage, _props$helperText;
|
|
13903
|
+
|
|
13904
|
+
// NOTE: this.$slots is not reactive so needs to be managed on updated
|
|
13905
|
+
isInvalid.value = !!((_props$invalidMessage = props.invalidMessage) !== null && _props$invalidMessage !== void 0 && _props$invalidMessage.length || slots['invalid-message']);
|
|
13906
|
+
isHelper.value = !isInvalid.value && !!((_props$helperText = props.helperText) !== null && _props$helperText !== void 0 && _props$helperText.length || slots['helper-text']);
|
|
13907
|
+
} // Life Hooks
|
|
13908
|
+
|
|
13909
|
+
|
|
13910
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeMount)(checkSlots);
|
|
13911
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUpdate)(checkSlots);
|
|
13912
|
+
return function (_ctx, _cache) {
|
|
13913
|
+
var _ref, _ref2;
|
|
13914
|
+
|
|
13915
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
13916
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("cv-text-area ".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form-item"))
|
|
13917
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("label", {
|
|
13918
|
+
for: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
13919
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--label"), (_ref = {}, (0,defineProperty/* default */.Z)(_ref, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--label--disabled"), _ctx.$attrs.disabled), (0,defineProperty/* default */.Z)(_ref, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--visually-hidden"), __props.hideLabel), _ref)])
|
|
13920
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.label), 11, _hoisted_1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
13921
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-area__wrapper")),
|
|
13922
|
+
"data-invalid": isInvalid.value
|
|
13923
|
+
}, [isInvalid.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(_16/* default */.Z), {
|
|
13924
|
+
key: 0,
|
|
13925
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-area__invalid-icon"))
|
|
13926
|
+
}, null, 8, ["class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("textarea", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
|
|
13927
|
+
"aria-invalid": isInvalid.value,
|
|
13928
|
+
"aria-describedby": isInvalid.value ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(errorId) : undefined,
|
|
13929
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
13930
|
+
class: ["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-area"), (_ref2 = {}, (0,defineProperty/* default */.Z)(_ref2, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-area--invalid"), isInvalid.value), (0,defineProperty/* default */.Z)(_ref2, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-area--light"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isLight)), _ref2)]
|
|
13931
|
+
}, _ctx.$attrs, {
|
|
13932
|
+
value: __props.modelValue,
|
|
13933
|
+
onInput: _cache[0] || (_cache[0] = function ($event) {
|
|
13934
|
+
return _ctx.$emit('update:modelValue', $event.target.value);
|
|
13935
|
+
})
|
|
13936
|
+
}), null, 16, _hoisted_3)], 10, _hoisted_2), isInvalid.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
13937
|
+
key: 0,
|
|
13938
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(errorId),
|
|
13939
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form-requirement"))
|
|
13940
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "invalid-message", {}, function () {
|
|
13941
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.invalidMessage), 1)];
|
|
13942
|
+
})], 10, _hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), isHelper.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
13943
|
+
key: 1,
|
|
13944
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form__helper-text"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form__helper-text--disabled"), _ctx.$attrs.disabled)])
|
|
13945
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "helper-text", {}, function () {
|
|
13946
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.helperText), 1)];
|
|
13947
|
+
})], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 2);
|
|
13948
|
+
};
|
|
13949
|
+
}
|
|
13950
|
+
}));
|
|
13951
|
+
;// CONCATENATED MODULE: ./src/components/CvTextArea/CvTextArea.vue?vue&type=script&setup=true&lang=js
|
|
13952
|
+
|
|
13953
|
+
;// CONCATENATED MODULE: ./src/components/CvTextArea/CvTextArea.vue
|
|
13954
|
+
|
|
13955
|
+
|
|
13956
|
+
|
|
13957
|
+
const __exports__ = CvTextAreavue_type_script_setup_true_lang_js;
|
|
13958
|
+
|
|
13959
|
+
/* harmony default export */ var CvTextArea = (__exports__);
|
|
13960
|
+
|
|
13961
|
+
/***/ }),
|
|
13962
|
+
|
|
13963
|
+
/***/ 6123:
|
|
13964
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13965
|
+
|
|
13966
|
+
"use strict";
|
|
13967
|
+
// ESM COMPAT FLAG
|
|
13968
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13969
|
+
|
|
13970
|
+
// EXPORTS
|
|
13971
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
13972
|
+
"default": function() { return /* binding */ CvTextInput; }
|
|
13973
|
+
});
|
|
13974
|
+
|
|
13975
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
13976
|
+
var defineProperty = __webpack_require__(9130);
|
|
13977
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
13978
|
+
var objectSpread2 = __webpack_require__(5145);
|
|
13979
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
13980
|
+
var es_object_assign = __webpack_require__(9601);
|
|
13981
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
13982
|
+
var es_array_concat = __webpack_require__(2222);
|
|
13983
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
13984
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
13985
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--filled/16.js
|
|
13986
|
+
var _16 = __webpack_require__(8870);
|
|
13987
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--alt--filled/16.js
|
|
13988
|
+
var warning_alt_filled_16 = __webpack_require__(8094);
|
|
13989
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/utils-148d018d.js + 1 modules
|
|
13990
|
+
var utils_148d018d = __webpack_require__(468);
|
|
13991
|
+
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/view--off/16.js
|
|
13992
|
+
/**
|
|
13993
|
+
* Copyright IBM Corp. 2019, 2020
|
|
13994
|
+
*
|
|
13995
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
13996
|
+
* LICENSE file in the root directory of this source tree.
|
|
13997
|
+
*
|
|
13998
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
13999
|
+
*/
|
|
14000
|
+
|
|
14001
|
+
|
|
14002
|
+
|
|
14003
|
+
|
|
14004
|
+
var ViewOff16 = (0,utils_148d018d.c)(ViewOff16, {
|
|
14005
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14006
|
+
"viewBox": "0 0 16 16",
|
|
14007
|
+
"fill": "currentColor",
|
|
14008
|
+
"width": 16,
|
|
14009
|
+
"height": 16
|
|
14010
|
+
}, [{
|
|
14011
|
+
"elem": "path",
|
|
14012
|
+
"attrs": {
|
|
14013
|
+
"d": "M2.6,11.3l0.7-0.7C2.6,9.8,1.9,9,1.5,8c1-2.5,3.8-4.5,6.5-4.5c0.7,0,1.4,0.1,2,0.4l0.8-0.8C9.9,2.7,9,2.5,8,2.5\tC4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3C1,9.3,1.7,10.4,2.6,11.3z"
|
|
14014
|
+
}
|
|
14015
|
+
}, {
|
|
14016
|
+
"elem": "path",
|
|
14017
|
+
"attrs": {
|
|
14018
|
+
"d": "M6 7.9c.1-1 .9-1.8 1.8-1.8l.9-.9C7.2 4.7 5.5 5.6 5.1 7.2 5 7.7 5 8.3 5.1 8.8L6 7.9zM15.5 7.8c-.6-1.5-1.6-2.8-2.9-3.7L15 1.7 14.3 1 1 14.3 1.7 15l2.6-2.6c1.1.7 2.4 1 3.7 1.1 3.3-.1 6.3-2.2 7.5-5.3C15.5 8.1 15.5 7.9 15.5 7.8zM10 8c0 1.1-.9 2-2 2-.3 0-.7-.1-1-.3L9.7 7C9.9 7.3 10 7.6 10 8zM8 12.5c-1 0-2.1-.3-3-.8l1.3-1.3c1.4.9 3.2.6 4.2-.8.7-1 .7-2.4 0-3.4l1.4-1.4c1.1.8 2 1.9 2.6 3.2C13.4 10.5 10.6 12.5 8 12.5z"
|
|
14019
|
+
}
|
|
14020
|
+
}]);
|
|
14021
|
+
|
|
14022
|
+
|
|
14023
|
+
|
|
14024
|
+
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/view/16.js
|
|
14025
|
+
/**
|
|
14026
|
+
* Copyright IBM Corp. 2019, 2020
|
|
14027
|
+
*
|
|
14028
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14029
|
+
* LICENSE file in the root directory of this source tree.
|
|
14030
|
+
*
|
|
14031
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
14032
|
+
*/
|
|
14033
|
+
|
|
14034
|
+
|
|
14035
|
+
|
|
14036
|
+
|
|
14037
|
+
var View16 = (0,utils_148d018d.c)(View16, {
|
|
14038
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14039
|
+
"viewBox": "0 0 16 16",
|
|
14040
|
+
"fill": "currentColor",
|
|
14041
|
+
"width": 16,
|
|
14042
|
+
"height": 16
|
|
14043
|
+
}, [{
|
|
14044
|
+
"elem": "path",
|
|
14045
|
+
"attrs": {
|
|
14046
|
+
"d": "M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3\tc3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5\tC13.4,10.5,10.6,12.5,8,12.5z"
|
|
14047
|
+
}
|
|
14048
|
+
}, {
|
|
14049
|
+
"elem": "path",
|
|
14050
|
+
"attrs": {
|
|
14051
|
+
"d": "M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z"
|
|
14052
|
+
}
|
|
14053
|
+
}]);
|
|
14054
|
+
|
|
14055
|
+
|
|
14056
|
+
|
|
14057
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14058
|
+
var settings = __webpack_require__(606);
|
|
14059
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
14060
|
+
var use_cvId = __webpack_require__(1853);
|
|
14061
|
+
// EXTERNAL MODULE: ./src/use/cvTheme.js
|
|
14062
|
+
var cvTheme = __webpack_require__(3610);
|
|
14063
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
14064
|
+
var es_array_iterator = __webpack_require__(6992);
|
|
14065
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
14066
|
+
var es_object_to_string = __webpack_require__(1539);
|
|
14067
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.js
|
|
14068
|
+
var es_set = __webpack_require__(189);
|
|
14069
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
14070
|
+
var es_string_iterator = __webpack_require__(8783);
|
|
14071
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
14072
|
+
var web_dom_collections_iterator = __webpack_require__(3948);
|
|
14073
|
+
;// CONCATENATED MODULE: ./src/components/CvTextInput/const.js
|
|
14074
|
+
|
|
14075
|
+
|
|
14076
|
+
|
|
14077
|
+
|
|
14078
|
+
|
|
14079
|
+
// Currently available types for CvTextInput
|
|
14080
|
+
var inputTypes = new Set(['password', 'text']);
|
|
14081
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvTextInput/CvTextInput.vue?vue&type=script&setup=true&lang=js
|
|
14082
|
+
|
|
14083
|
+
|
|
14084
|
+
|
|
14085
|
+
|
|
14086
|
+
|
|
14087
|
+
var _hoisted_1 = ["for"];
|
|
14088
|
+
var _hoisted_2 = ["data-invalid"];
|
|
14089
|
+
var _hoisted_3 = ["id", "type", "value", "data-toggle-password-visibility"];
|
|
14090
|
+
var _hoisted_4 = ["disabled"];
|
|
14091
|
+
|
|
14092
|
+
|
|
14093
|
+
|
|
14094
|
+
|
|
14095
|
+
|
|
14096
|
+
|
|
14097
|
+
var __default__ = {
|
|
14098
|
+
inheritAttrs: false
|
|
14099
|
+
};
|
|
14100
|
+
/* harmony default export */ var CvTextInputvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
14101
|
+
__name: 'CvTextInput',
|
|
14102
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
14103
|
+
helperText: {
|
|
14104
|
+
type: String,
|
|
14105
|
+
default: undefined
|
|
14106
|
+
},
|
|
14107
|
+
hideLabel: {
|
|
14108
|
+
type: Boolean,
|
|
14109
|
+
default: false
|
|
14110
|
+
},
|
|
14111
|
+
invalidMessage: {
|
|
14112
|
+
type: String,
|
|
14113
|
+
default: undefined
|
|
14114
|
+
},
|
|
14115
|
+
label: String,
|
|
14116
|
+
modelValue: String,
|
|
14117
|
+
passwordHideLabel: {
|
|
14118
|
+
type: String,
|
|
14119
|
+
default: 'Hide password'
|
|
14120
|
+
},
|
|
14121
|
+
passwordShowLabel: {
|
|
14122
|
+
type: String,
|
|
14123
|
+
default: 'Show password'
|
|
14124
|
+
},
|
|
14125
|
+
passwordVisible: {
|
|
14126
|
+
type: Boolean,
|
|
14127
|
+
default: undefined
|
|
14128
|
+
},
|
|
14129
|
+
type: {
|
|
14130
|
+
type: String,
|
|
14131
|
+
default: 'text',
|
|
14132
|
+
validator: function validator(value) {
|
|
14133
|
+
return inputTypes.has(value);
|
|
14134
|
+
}
|
|
14135
|
+
},
|
|
14136
|
+
warnText: {
|
|
14137
|
+
type: String,
|
|
14138
|
+
default: undefined
|
|
14139
|
+
}
|
|
14140
|
+
}, use_cvId/* props */.N), cvTheme/* props */.N),
|
|
14141
|
+
setup: function setup(__props) {
|
|
14142
|
+
var props = __props;
|
|
14143
|
+
var cvId = (0,use_cvId/* useCvId */.l)(props); // DOM Elements
|
|
14144
|
+
|
|
14145
|
+
var input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
14146
|
+
var slots = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useSlots)(); // Data
|
|
14147
|
+
|
|
14148
|
+
var isInvalid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
14149
|
+
var isWarn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
14150
|
+
var isHelper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
14151
|
+
var isLight = (0,cvTheme/* useIsLight */.h)(props);
|
|
14152
|
+
var dataType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.type);
|
|
14153
|
+
var dataPasswordVisible = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false); // Computed Values
|
|
14154
|
+
|
|
14155
|
+
var isPassword = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14156
|
+
return props.type === 'password';
|
|
14157
|
+
});
|
|
14158
|
+
var isPasswordVisible = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14159
|
+
return isPassword.value && dataPasswordVisible.value;
|
|
14160
|
+
});
|
|
14161
|
+
var passwordHideShowLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14162
|
+
return isPasswordVisible.value ? props.passwordHideLabel : props.passwordShowLabel;
|
|
14163
|
+
}); // Watchers
|
|
14164
|
+
|
|
14165
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14166
|
+
return props.passwordVisible;
|
|
14167
|
+
}, function (newValue) {
|
|
14168
|
+
if (newValue !== dataPasswordVisible.value) {
|
|
14169
|
+
togglePasswordVisibility();
|
|
14170
|
+
}
|
|
14171
|
+
});
|
|
14172
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14173
|
+
return props.type;
|
|
14174
|
+
}, function (newValue) {
|
|
14175
|
+
dataType.value = newValue;
|
|
14176
|
+
}); // Methods
|
|
14177
|
+
|
|
14178
|
+
function togglePasswordVisibility() {
|
|
14179
|
+
var currentValue = input.value.value;
|
|
14180
|
+
dataPasswordVisible.value = !dataPasswordVisible.value;
|
|
14181
|
+
dataType.value = dataPasswordVisible.value ? 'text' : 'password';
|
|
14182
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(function () {
|
|
14183
|
+
input.value.value = currentValue;
|
|
14184
|
+
});
|
|
14185
|
+
}
|
|
14186
|
+
|
|
14187
|
+
function checkSlots() {
|
|
14188
|
+
var _props$invalidMessage, _props$warnText, _props$helperText;
|
|
14189
|
+
|
|
14190
|
+
// NOTE: slots is not reactive so needs to be managed on updated
|
|
14191
|
+
isInvalid.value = !!((_props$invalidMessage = props.invalidMessage) !== null && _props$invalidMessage !== void 0 && _props$invalidMessage.length || slots['invalid-message']);
|
|
14192
|
+
isWarn.value = !isInvalid.value && !!((_props$warnText = props.warnText) !== null && _props$warnText !== void 0 && _props$warnText.length || slots['warn-text']);
|
|
14193
|
+
isHelper.value = !isInvalid.value && !isWarn.value && !!((_props$helperText = props.helperText) !== null && _props$helperText !== void 0 && _props$helperText.length || slots['helper-text']);
|
|
14194
|
+
} // Lifecycle Hooks
|
|
14195
|
+
|
|
14196
|
+
|
|
14197
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeMount)(function () {
|
|
14198
|
+
checkSlots(); // update initial state for dataPasswordVisible & dataType
|
|
14199
|
+
|
|
14200
|
+
if (isPassword.value && props.passwordVisible) {
|
|
14201
|
+
dataPasswordVisible.value = true;
|
|
14202
|
+
dataType.value = 'text';
|
|
14203
|
+
}
|
|
14204
|
+
});
|
|
14205
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUpdate)(checkSlots);
|
|
14206
|
+
return function (_ctx, _cache) {
|
|
14207
|
+
var _ref2, _ref4;
|
|
14208
|
+
|
|
14209
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
14210
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['cv-text-input', "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form-item"), "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input-wrapper"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--password-input-wrapper"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isPassword))])
|
|
14211
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("label", {
|
|
14212
|
+
for: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
14213
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--label"), (_ref2 = {}, (0,defineProperty/* default */.Z)(_ref2, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--label--disabled"), _ctx.$attrs.disabled), (0,defineProperty/* default */.Z)(_ref2, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--visually-hidden"), __props.hideLabel), _ref2)])
|
|
14214
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.label), 11, _hoisted_1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14215
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input__field-wrapper"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input__field-wrapper--warning"), isWarn.value)]),
|
|
14216
|
+
"data-invalid": isInvalid.value
|
|
14217
|
+
}, [isInvalid.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(_16/* default */.Z), {
|
|
14218
|
+
key: 0,
|
|
14219
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input__invalid-icon"))
|
|
14220
|
+
}, null, 8, ["class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), isWarn.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(warning_alt_filled_16/* default */.Z), {
|
|
14221
|
+
key: 1,
|
|
14222
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input__invalid-icon ").concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input__invalid-icon--warning"))
|
|
14223
|
+
}, null, 8, ["class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("input", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
|
|
14224
|
+
ref_key: "input",
|
|
14225
|
+
ref: input,
|
|
14226
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
14227
|
+
class: ["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input"), (_ref4 = {}, (0,defineProperty/* default */.Z)(_ref4, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input--invalid"), isInvalid.value), (0,defineProperty/* default */.Z)(_ref4, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input--light"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isLight)), (0,defineProperty/* default */.Z)(_ref4, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input--warning"), isWarn.value), (0,defineProperty/* default */.Z)(_ref4, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--password-input"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isPassword)), _ref4)]
|
|
14228
|
+
}, _ctx.$attrs, {
|
|
14229
|
+
type: dataType.value,
|
|
14230
|
+
value: __props.modelValue,
|
|
14231
|
+
"data-toggle-password-visibility": (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isPassword),
|
|
14232
|
+
onInput: _cache[0] || (_cache[0] = function ($event) {
|
|
14233
|
+
return _ctx.$emit('update:modelValue', $event.target.value);
|
|
14234
|
+
})
|
|
14235
|
+
}), null, 16, _hoisted_3), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isPassword) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("button", {
|
|
14236
|
+
key: 2,
|
|
14237
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--btn"), "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--btn--icon-only"), "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--text-input--password__visibility__toggle"), "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tooltip__trigger"), "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tooltip--a11y"), "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tooltip--bottom"), "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tooltip--align-center"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--btn--disabled"), _ctx.$attrs.disabled)]),
|
|
14238
|
+
onClick: togglePasswordVisibility,
|
|
14239
|
+
type: "button",
|
|
14240
|
+
disabled: _ctx.$attrs.disabled
|
|
14241
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
14242
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--assistive-text"))
|
|
14243
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(passwordHideShowLabel)), 3), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isPasswordVisible) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(ViewOff16), {
|
|
14244
|
+
key: 0,
|
|
14245
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--icon-visibility-off"))
|
|
14246
|
+
}, null, 8, ["class"])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(View16), {
|
|
14247
|
+
key: 1,
|
|
14248
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--icon-visibility-on"))
|
|
14249
|
+
}, null, 8, ["class"]))], 10, _hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 10, _hoisted_2), isInvalid.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
14250
|
+
key: 0,
|
|
14251
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form-requirement"))
|
|
14252
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "invalid-message", {}, function () {
|
|
14253
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.invalidMessage), 1)];
|
|
14254
|
+
})], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), isWarn.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
14255
|
+
key: 1,
|
|
14256
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form__requirement"))
|
|
14257
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "warn-text", {}, function () {
|
|
14258
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.warnText), 1)];
|
|
14259
|
+
})], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), isHelper.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
14260
|
+
key: 2,
|
|
14261
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form__helper-text"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--form__helper-text--disabled"), _ctx.$attrs.disabled)])
|
|
14262
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "helper-text", {}, function () {
|
|
14263
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.helperText), 1)];
|
|
14264
|
+
})], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 2);
|
|
14265
|
+
};
|
|
14266
|
+
}
|
|
14267
|
+
}));
|
|
14268
|
+
;// CONCATENATED MODULE: ./src/components/CvTextInput/CvTextInput.vue?vue&type=script&setup=true&lang=js
|
|
14269
|
+
|
|
14270
|
+
;// CONCATENATED MODULE: ./src/components/CvTextInput/CvTextInput.vue
|
|
14271
|
+
|
|
14272
|
+
|
|
14273
|
+
|
|
14274
|
+
const __exports__ = CvTextInputvue_type_script_setup_true_lang_js;
|
|
14275
|
+
|
|
14276
|
+
/* harmony default export */ var CvTextInput = (__exports__);
|
|
14277
|
+
|
|
14278
|
+
/***/ }),
|
|
14279
|
+
|
|
14280
|
+
/***/ 3637:
|
|
14281
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14282
|
+
|
|
14283
|
+
"use strict";
|
|
14284
|
+
// ESM COMPAT FLAG
|
|
14285
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14286
|
+
|
|
14287
|
+
// EXPORTS
|
|
14288
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14289
|
+
"default": function() { return /* binding */ CvTile; }
|
|
14290
|
+
});
|
|
14291
|
+
|
|
14292
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14293
|
+
var defineProperty = __webpack_require__(9130);
|
|
14294
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14295
|
+
var objectSpread2 = __webpack_require__(5145);
|
|
14296
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
14297
|
+
var es_array_includes = __webpack_require__(6699);
|
|
14298
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14299
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
14300
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14301
|
+
var settings = __webpack_require__(606);
|
|
14302
|
+
// EXTERNAL MODULE: ./src/use/cvTheme.js
|
|
14303
|
+
var cvTheme = __webpack_require__(3610);
|
|
14304
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileStandard.vue + 2 modules
|
|
14305
|
+
var CvTileStandard = __webpack_require__(2245);
|
|
14306
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileClickable.vue + 2 modules
|
|
14307
|
+
var CvTileClickable = __webpack_require__(8930);
|
|
14308
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileSelectable.vue + 3 modules
|
|
14309
|
+
var CvTileSelectable = __webpack_require__(3393);
|
|
14310
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileExpandable.vue + 2 modules
|
|
14311
|
+
var CvTileExpandable = __webpack_require__(5248);
|
|
14312
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvTile/CvTile.vue?vue&type=script&setup=true&lang=js
|
|
14313
|
+
|
|
14314
|
+
|
|
14315
|
+
|
|
14316
|
+
|
|
14317
|
+
|
|
14318
|
+
|
|
14319
|
+
|
|
14320
|
+
|
|
14321
|
+
|
|
14322
|
+
|
|
14323
|
+
|
|
14324
|
+
/* harmony default export */ var CvTilevue_type_script_setup_true_lang_js = ({
|
|
14325
|
+
__name: 'CvTile',
|
|
14326
|
+
props: (0,objectSpread2/* default */.Z)({
|
|
14327
|
+
expanded: Boolean,
|
|
14328
|
+
selected: Boolean,
|
|
14329
|
+
tileCollapsedLabel: {
|
|
14330
|
+
type: String,
|
|
14331
|
+
default: 'Tile collapsed'
|
|
14332
|
+
},
|
|
14333
|
+
tileExpandedLabel: {
|
|
14334
|
+
type: String,
|
|
14335
|
+
default: 'Tile expanded'
|
|
14336
|
+
},
|
|
14337
|
+
kind: {
|
|
14338
|
+
type: String,
|
|
14339
|
+
default: '',
|
|
14340
|
+
validator: function validator(value) {
|
|
14341
|
+
return ['clickable', 'expandable', 'selectable', 'standard', ''].includes(value);
|
|
14342
|
+
}
|
|
14343
|
+
}
|
|
14344
|
+
}, cvTheme/* props */.N),
|
|
14345
|
+
setup: function setup(__props) {
|
|
14346
|
+
var props = __props;
|
|
14347
|
+
var tagType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14348
|
+
switch (props.kind) {
|
|
14349
|
+
case 'clickable':
|
|
14350
|
+
return CvTileClickable["default"];
|
|
14351
|
+
|
|
14352
|
+
case 'selectable':
|
|
14353
|
+
return CvTileSelectable["default"];
|
|
14354
|
+
|
|
14355
|
+
case 'expandable':
|
|
14356
|
+
return CvTileExpandable["default"];
|
|
14357
|
+
|
|
14358
|
+
default:
|
|
14359
|
+
return CvTileStandard["default"];
|
|
14360
|
+
}
|
|
14361
|
+
});
|
|
14362
|
+
var isLight = (0,cvTheme/* useIsLight */.h)(props);
|
|
14363
|
+
/**
|
|
14364
|
+
* If the prop is defined on the tagType pass it along otherwise, discard it.
|
|
14365
|
+
* @param {string} prop
|
|
14366
|
+
* @param {any} value
|
|
14367
|
+
* @returns {*|undefined}
|
|
14368
|
+
*/
|
|
14369
|
+
|
|
14370
|
+
function checkProp(prop, value) {
|
|
14371
|
+
return prop in (tagType.value.props || {}) ? value : undefined;
|
|
14372
|
+
}
|
|
14373
|
+
|
|
14374
|
+
return function (_ctx, _cache) {
|
|
14375
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(tagType)), {
|
|
14376
|
+
checked: checkProp('checked', __props.selected),
|
|
14377
|
+
expanded: checkProp('expanded', __props.expanded),
|
|
14378
|
+
tileCollapsedLabel: checkProp('tileCollapsedLabel', __props.tileCollapsedLabel),
|
|
14379
|
+
tileExpandedLabel: checkProp('tileCollapsedLabel', __props.tileExpandedLabel),
|
|
14380
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["cv-tile ".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile--light"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isLight))])
|
|
14381
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
14382
|
+
_: 2
|
|
14383
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, function (_, name) {
|
|
14384
|
+
return {
|
|
14385
|
+
name: name,
|
|
14386
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function (slotData) {
|
|
14387
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, name, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)(slotData)))];
|
|
14388
|
+
})
|
|
14389
|
+
};
|
|
14390
|
+
})]), 1032, ["checked", "expanded", "tileCollapsedLabel", "tileExpandedLabel", "class"]);
|
|
14391
|
+
};
|
|
14392
|
+
}
|
|
14393
|
+
});
|
|
14394
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTile.vue?vue&type=script&setup=true&lang=js
|
|
14395
|
+
|
|
14396
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTile.vue
|
|
14397
|
+
|
|
14398
|
+
|
|
14399
|
+
|
|
14400
|
+
const __exports__ = CvTilevue_type_script_setup_true_lang_js;
|
|
14401
|
+
|
|
14402
|
+
/* harmony default export */ var CvTile = (__exports__);
|
|
14403
|
+
|
|
14404
|
+
/***/ }),
|
|
14405
|
+
|
|
14406
|
+
/***/ 8930:
|
|
14407
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14408
|
+
|
|
14409
|
+
"use strict";
|
|
14410
|
+
// ESM COMPAT FLAG
|
|
14411
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14412
|
+
|
|
14413
|
+
// EXPORTS
|
|
14414
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14415
|
+
"default": function() { return /* binding */ CvTileClickable; }
|
|
14416
|
+
});
|
|
14417
|
+
|
|
14418
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14419
|
+
var objectSpread2 = __webpack_require__(5145);
|
|
14420
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14421
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
14422
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14423
|
+
var settings = __webpack_require__(606);
|
|
14424
|
+
// EXTERNAL MODULE: ./src/use/cvLink.js
|
|
14425
|
+
var cvLink = __webpack_require__(8266);
|
|
14426
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvTile/CvTileClickable.vue?vue&type=script&setup=true&lang=js
|
|
14427
|
+
|
|
14428
|
+
|
|
14429
|
+
|
|
14430
|
+
|
|
14431
|
+
/* harmony default export */ var CvTileClickablevue_type_script_setup_true_lang_js = ({
|
|
14432
|
+
__name: 'CvTileClickable',
|
|
14433
|
+
props: (0,objectSpread2/* default */.Z)({}, cvLink/* props */.NQ),
|
|
14434
|
+
setup: function setup(__props) {
|
|
14435
|
+
var props = __props;
|
|
14436
|
+
var tagType = (0,cvLink/* useTagType */.af)(props);
|
|
14437
|
+
var linkProps = (0,cvLink/* useLinkProps */.eY)(props);
|
|
14438
|
+
return function (_ctx, _cache) {
|
|
14439
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(tagType)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
|
|
14440
|
+
ref: "target",
|
|
14441
|
+
"data-tile": "clickable",
|
|
14442
|
+
class: "cv-tile-clickable ".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile--clickable")
|
|
14443
|
+
}, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _ctx.$attrs), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(linkProps)), {
|
|
14444
|
+
tabindex: "0"
|
|
14445
|
+
}), {
|
|
14446
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function () {
|
|
14447
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")];
|
|
14448
|
+
}),
|
|
14449
|
+
_: 3
|
|
14450
|
+
}, 16, ["class"]);
|
|
14451
|
+
};
|
|
14452
|
+
}
|
|
14453
|
+
});
|
|
14454
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileClickable.vue?vue&type=script&setup=true&lang=js
|
|
14455
|
+
|
|
14456
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileClickable.vue
|
|
14457
|
+
|
|
14458
|
+
|
|
14459
|
+
|
|
14460
|
+
const __exports__ = CvTileClickablevue_type_script_setup_true_lang_js;
|
|
14461
|
+
|
|
14462
|
+
/* harmony default export */ var CvTileClickable = (__exports__);
|
|
14463
|
+
|
|
14464
|
+
/***/ }),
|
|
14465
|
+
|
|
14466
|
+
/***/ 5248:
|
|
14467
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14468
|
+
|
|
14469
|
+
"use strict";
|
|
14470
|
+
// ESM COMPAT FLAG
|
|
14471
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14472
|
+
|
|
14473
|
+
// EXPORTS
|
|
14474
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14475
|
+
"default": function() { return /* binding */ CvTileExpandable; }
|
|
14476
|
+
});
|
|
14477
|
+
|
|
14478
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14479
|
+
var defineProperty = __webpack_require__(9130);
|
|
14480
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
14481
|
+
var esm_typeof = __webpack_require__(6536);
|
|
14482
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14483
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
14484
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14485
|
+
var settings = __webpack_require__(606);
|
|
14486
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/chevron--down/16.js
|
|
14487
|
+
var _16 = __webpack_require__(4325);
|
|
14488
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvTile/CvTileExpandable.vue?vue&type=script&setup=true&lang=js
|
|
14489
|
+
|
|
14490
|
+
|
|
14491
|
+
|
|
14492
|
+
|
|
14493
|
+
|
|
14494
|
+
|
|
14495
|
+
/* harmony default export */ var CvTileExpandablevue_type_script_setup_true_lang_js = ({
|
|
14496
|
+
__name: 'CvTileExpandable',
|
|
14497
|
+
props: {
|
|
14498
|
+
expanded: Boolean,
|
|
14499
|
+
tileCollapsedLabel: String,
|
|
14500
|
+
tileExpandedLabel: String
|
|
14501
|
+
},
|
|
14502
|
+
emits: ['expanded'],
|
|
14503
|
+
setup: function setup(__props, _ref) {
|
|
14504
|
+
var emit = _ref.emit;
|
|
14505
|
+
var props = __props;
|
|
14506
|
+
var data = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
14507
|
+
styleObject: {
|
|
14508
|
+
maxHeight: 'initial'
|
|
14509
|
+
},
|
|
14510
|
+
initialized: false,
|
|
14511
|
+
internalExpanded: props.expanded
|
|
14512
|
+
});
|
|
14513
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14514
|
+
return props.expanded;
|
|
14515
|
+
}, function (val) {
|
|
14516
|
+
if (val !== data.internalExpanded) {
|
|
14517
|
+
toggle(val);
|
|
14518
|
+
}
|
|
14519
|
+
});
|
|
14520
|
+
var chevronLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14521
|
+
return data.internalExpanded ? props.tileExpandedLabel : props.tileCollapsedLabel;
|
|
14522
|
+
});
|
|
14523
|
+
var el = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(null);
|
|
14524
|
+
var belowFold = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(null);
|
|
14525
|
+
|
|
14526
|
+
function toggle(force) {
|
|
14527
|
+
var currentHeight = el === null || el === void 0 ? void 0 : el.value.getBoundingClientRect().height;
|
|
14528
|
+
|
|
14529
|
+
if (!data.initialized) {
|
|
14530
|
+
data.styleObject.maxHeight = "".concat(currentHeight, "px");
|
|
14531
|
+
data.initialized = true;
|
|
14532
|
+
}
|
|
14533
|
+
|
|
14534
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(function () {
|
|
14535
|
+
var forceType = (0,esm_typeof/* default */.Z)(force);
|
|
14536
|
+
|
|
14537
|
+
data.internalExpanded = forceType === 'boolean' ? force : !data.internalExpanded;
|
|
14538
|
+
var belowFoldHeight = belowFold === null || belowFold === void 0 ? void 0 : belowFold.value.getBoundingClientRect().height;
|
|
14539
|
+
|
|
14540
|
+
if (data.internalExpanded) {
|
|
14541
|
+
currentHeight += belowFoldHeight;
|
|
14542
|
+
} else {
|
|
14543
|
+
currentHeight -= belowFoldHeight;
|
|
14544
|
+
}
|
|
14545
|
+
|
|
14546
|
+
data.styleObject.maxHeight = "".concat(currentHeight, "px");
|
|
14547
|
+
});
|
|
14548
|
+
}
|
|
14549
|
+
|
|
14550
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14551
|
+
return data.internalExpanded;
|
|
14552
|
+
}, function (val) {
|
|
14553
|
+
emit('expanded', val);
|
|
14554
|
+
});
|
|
14555
|
+
return function (_ctx, _cache) {
|
|
14556
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("button", {
|
|
14557
|
+
type: "button",
|
|
14558
|
+
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(data.styleObject),
|
|
14559
|
+
onClick: toggle,
|
|
14560
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["cv-tile-expandable ".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile--expandable"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile--is-expanded"), data.internalExpanded)]),
|
|
14561
|
+
ref_key: "el",
|
|
14562
|
+
ref: el
|
|
14563
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14564
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile-content"))
|
|
14565
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
14566
|
+
"data-tile-atf": "",
|
|
14567
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile-content__above-the-fold")),
|
|
14568
|
+
ref: "aboveFold"
|
|
14569
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14570
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile__chevron"))
|
|
14571
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(chevronLabel)), 1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(_16/* default */.Z))], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withDirectives)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
14572
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile-content__below-the-fold")),
|
|
14573
|
+
ref_key: "belowFold",
|
|
14574
|
+
ref: belowFold
|
|
14575
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "below")], 2), [[external_commonjs_vue_commonjs2_vue_root_Vue_.vShow, data.internalExpanded || data.initialized]])], 2)], 6);
|
|
14576
|
+
};
|
|
14577
|
+
}
|
|
14578
|
+
});
|
|
14579
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileExpandable.vue?vue&type=script&setup=true&lang=js
|
|
14580
|
+
|
|
14581
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileExpandable.vue
|
|
14582
|
+
|
|
14583
|
+
|
|
14584
|
+
|
|
14585
|
+
const __exports__ = CvTileExpandablevue_type_script_setup_true_lang_js;
|
|
14586
|
+
|
|
14587
|
+
/* harmony default export */ var CvTileExpandable = (__exports__);
|
|
14588
|
+
|
|
14589
|
+
/***/ }),
|
|
14590
|
+
|
|
14591
|
+
/***/ 3393:
|
|
14592
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14593
|
+
|
|
14594
|
+
"use strict";
|
|
14595
|
+
// ESM COMPAT FLAG
|
|
14596
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14597
|
+
|
|
14598
|
+
// EXPORTS
|
|
14599
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14600
|
+
"default": function() { return /* binding */ CvTileSelectable; }
|
|
14601
|
+
});
|
|
14602
|
+
|
|
14603
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14604
|
+
var defineProperty = __webpack_require__(9130);
|
|
14605
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14606
|
+
var objectSpread2 = __webpack_require__(5145);
|
|
14607
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14608
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
14609
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14610
|
+
var settings = __webpack_require__(606);
|
|
14611
|
+
// EXTERNAL MODULE: ./src/use/cvCheck.js
|
|
14612
|
+
var cvCheck = __webpack_require__(9019);
|
|
14613
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
14614
|
+
var cvId = __webpack_require__(1853);
|
|
14615
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/utils-148d018d.js + 1 modules
|
|
14616
|
+
var utils_148d018d = __webpack_require__(468);
|
|
14617
|
+
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/checkmark--filled/16.js
|
|
14618
|
+
/**
|
|
14619
|
+
* Copyright IBM Corp. 2019, 2020
|
|
14620
|
+
*
|
|
14621
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14622
|
+
* LICENSE file in the root directory of this source tree.
|
|
14623
|
+
*
|
|
14624
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
14625
|
+
*/
|
|
14626
|
+
|
|
14627
|
+
|
|
14628
|
+
|
|
14629
|
+
|
|
14630
|
+
var CheckmarkFilled16 = (0,utils_148d018d.c)(CheckmarkFilled16, {
|
|
14631
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14632
|
+
"viewBox": "0 0 16 16",
|
|
14633
|
+
"fill": "currentColor",
|
|
14634
|
+
"width": 16,
|
|
14635
|
+
"height": 16
|
|
14636
|
+
}, [{
|
|
14637
|
+
"elem": "path",
|
|
14638
|
+
"attrs": {
|
|
14639
|
+
"d": "M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"
|
|
14640
|
+
}
|
|
14641
|
+
}, {
|
|
14642
|
+
"elem": "path",
|
|
14643
|
+
"attrs": {
|
|
14644
|
+
"d": "M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z",
|
|
14645
|
+
"data-icon-path": "inner-path",
|
|
14646
|
+
"opacity": "0"
|
|
14647
|
+
}
|
|
14648
|
+
}]);
|
|
14649
|
+
|
|
14650
|
+
|
|
14651
|
+
|
|
14652
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvTile/CvTileSelectable.vue?vue&type=script&setup=true&lang=js
|
|
14653
|
+
|
|
14654
|
+
|
|
14655
|
+
|
|
14656
|
+
var _hoisted_1 = ["for", "aria-label", "data-contained-checkbox-state"];
|
|
14657
|
+
var _hoisted_2 = ["id", "checked", "aria-checked"];
|
|
14658
|
+
|
|
14659
|
+
|
|
14660
|
+
|
|
14661
|
+
|
|
14662
|
+
|
|
14663
|
+
/* harmony default export */ var CvTileSelectablevue_type_script_setup_true_lang_js = ({
|
|
14664
|
+
__name: 'CvTileSelectable',
|
|
14665
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
14666
|
+
ariaLabel: {
|
|
14667
|
+
type: String,
|
|
14668
|
+
default: 'tile'
|
|
14669
|
+
}
|
|
14670
|
+
}, cvCheck/* props */.N), cvId/* props */.N),
|
|
14671
|
+
emits: ['update:modelValue', 'change'],
|
|
14672
|
+
setup: function setup(__props, _ref) {
|
|
14673
|
+
var emit = _ref.emit;
|
|
14674
|
+
var props = __props;
|
|
14675
|
+
var uid = (0,cvId/* useCvId */.l)(props, true);
|
|
14676
|
+
|
|
14677
|
+
var _useCheck = (0,cvCheck/* useCheck */.w)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRefs)(props), emit),
|
|
14678
|
+
onChange = _useCheck.onChange,
|
|
14679
|
+
isChecked = _useCheck.isChecked;
|
|
14680
|
+
|
|
14681
|
+
return function (_ctx, _cache) {
|
|
14682
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("label", {
|
|
14683
|
+
for: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(uid),
|
|
14684
|
+
"aria-label": __props.ariaLabel,
|
|
14685
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["cv-tile-selectable ".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile--selectable"), (0,defineProperty/* default */.Z)({}, "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile--is-selected"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isChecked))]),
|
|
14686
|
+
"data-tile": "selectable",
|
|
14687
|
+
tabindex: "0",
|
|
14688
|
+
"data-contained-checkbox-state": (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isChecked)
|
|
14689
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("input", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
|
|
14690
|
+
tabindex: "-1",
|
|
14691
|
+
"data-tile-input": "",
|
|
14692
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(uid),
|
|
14693
|
+
type: "checkbox",
|
|
14694
|
+
checked: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isChecked) === true,
|
|
14695
|
+
"aria-checked": "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isChecked)),
|
|
14696
|
+
class: "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile-input")
|
|
14697
|
+
}, _ctx.$attrs, {
|
|
14698
|
+
onChange: _cache[0] || (_cache[0] = function () {
|
|
14699
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(onChange) && (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(onChange).apply(void 0, arguments);
|
|
14700
|
+
})
|
|
14701
|
+
}), null, 16, _hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14702
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile__checkmark"))
|
|
14703
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(CheckmarkFilled16))], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14704
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)("".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile-content"))
|
|
14705
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")], 2)], 10, _hoisted_1);
|
|
14706
|
+
};
|
|
14707
|
+
}
|
|
14708
|
+
});
|
|
14709
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileSelectable.vue?vue&type=script&setup=true&lang=js
|
|
14710
|
+
|
|
14711
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileSelectable.vue
|
|
14712
|
+
|
|
14713
|
+
|
|
14714
|
+
|
|
14715
|
+
const __exports__ = CvTileSelectablevue_type_script_setup_true_lang_js;
|
|
14716
|
+
|
|
14717
|
+
/* harmony default export */ var CvTileSelectable = (__exports__);
|
|
14718
|
+
|
|
14719
|
+
/***/ }),
|
|
14720
|
+
|
|
14721
|
+
/***/ 2245:
|
|
14722
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14723
|
+
|
|
14724
|
+
"use strict";
|
|
14725
|
+
// ESM COMPAT FLAG
|
|
14726
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14727
|
+
|
|
14728
|
+
// EXPORTS
|
|
14729
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14730
|
+
"default": function() { return /* binding */ CvTileStandard; }
|
|
14731
|
+
});
|
|
14732
|
+
|
|
14733
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14734
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(3797);
|
|
14735
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CvTile/CvTileStandard.vue?vue&type=template&id=1c43abe2
|
|
14736
|
+
|
|
14737
|
+
var _hoisted_1 = {
|
|
14738
|
+
class: "cv-tile-standard"
|
|
14739
|
+
};
|
|
14740
|
+
function render(_ctx, _cache) {
|
|
14741
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", _hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")]);
|
|
14742
|
+
}
|
|
14743
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileStandard.vue?vue&type=template&id=1c43abe2
|
|
14744
|
+
|
|
14745
|
+
// EXTERNAL MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js
|
|
14746
|
+
var exportHelper = __webpack_require__(8118);
|
|
14747
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileStandard.vue
|
|
14748
|
+
|
|
14749
|
+
const script = {}
|
|
14750
|
+
|
|
14751
|
+
;
|
|
14752
|
+
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(script, [['render',render]])
|
|
14753
|
+
|
|
14754
|
+
/* harmony default export */ var CvTileStandard = (__exports__);
|
|
14755
|
+
|
|
14756
|
+
/***/ }),
|
|
14757
|
+
|
|
13798
14758
|
/***/ 5957:
|
|
13799
14759
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13800
14760
|
|
|
@@ -26691,7 +27651,7 @@ var map = {
|
|
|
26691
27651
|
"./CvButton/CvButton.vue": 7013,
|
|
26692
27652
|
"./CvButton/CvButtonSet.vue": 3466,
|
|
26693
27653
|
"./CvButton/CvIconButton.vue": 4080,
|
|
26694
|
-
"./CvCheckbox/CvCheckbox.vue":
|
|
27654
|
+
"./CvCheckbox/CvCheckbox.vue": 5478,
|
|
26695
27655
|
"./CvCodeSnippet/CvCodeSnippet.vue": 6305,
|
|
26696
27656
|
"./CvCodeSnippet/CvCodeSnippetSkeleton.vue": 1823,
|
|
26697
27657
|
"./CvComboBox/CvComboBox.vue": 357,
|
|
@@ -26717,11 +27677,18 @@ var map = {
|
|
|
26717
27677
|
"./CvOverflowMenu/CvOverflowMenu.vue": 3389,
|
|
26718
27678
|
"./CvOverflowMenu/CvOverflowMenuItem.vue": 2012,
|
|
26719
27679
|
"./CvPagination/CvPagination.vue": 5740,
|
|
26720
|
-
"./CvSelect/CvSelect.vue":
|
|
27680
|
+
"./CvSelect/CvSelect.vue": 6661,
|
|
26721
27681
|
"./CvSelect/CvSelectOptgroup.vue": 2620,
|
|
26722
27682
|
"./CvSelect/CvSelectOption.vue": 6585,
|
|
26723
27683
|
"./CvSkeletonText/CvSkeletonText.vue": 2244,
|
|
26724
27684
|
"./CvTag/CvTag.vue": 2132,
|
|
27685
|
+
"./CvTextArea/CvTextArea.vue": 4722,
|
|
27686
|
+
"./CvTextInput/CvTextInput.vue": 6123,
|
|
27687
|
+
"./CvTile/CvTile.vue": 3637,
|
|
27688
|
+
"./CvTile/CvTileClickable.vue": 8930,
|
|
27689
|
+
"./CvTile/CvTileExpandable.vue": 5248,
|
|
27690
|
+
"./CvTile/CvTileSelectable.vue": 3393,
|
|
27691
|
+
"./CvTile/CvTileStandard.vue": 2245,
|
|
26725
27692
|
"./CvUIShell/CvHeader.vue": 5957,
|
|
26726
27693
|
"./CvUIShell/CvHeaderGlobalAction.vue": 5625,
|
|
26727
27694
|
"./CvUIShell/CvHeaderMenu.vue": 1367,
|