@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
package/dist/carbon-vue-3.umd.js
CHANGED
|
@@ -560,6 +560,58 @@ var createSVGComponent = function createSVGComponent(name, svgAttrs, svgContent)
|
|
|
560
560
|
|
|
561
561
|
|
|
562
562
|
|
|
563
|
+
/***/ }),
|
|
564
|
+
|
|
565
|
+
/***/ 8094:
|
|
566
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
567
|
+
|
|
568
|
+
"use strict";
|
|
569
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
570
|
+
/* harmony export */ "Z": function() { return /* binding */ WarningAltFilled16; }
|
|
571
|
+
/* harmony export */ });
|
|
572
|
+
/* harmony import */ var _utils_148d018d_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(468);
|
|
573
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7203);
|
|
574
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
|
|
575
|
+
/**
|
|
576
|
+
* Copyright IBM Corp. 2019, 2020
|
|
577
|
+
*
|
|
578
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
579
|
+
* LICENSE file in the root directory of this source tree.
|
|
580
|
+
*
|
|
581
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
582
|
+
*/
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
var WarningAltFilled16 = (0,_utils_148d018d_js__WEBPACK_IMPORTED_MODULE_1__.c)(WarningAltFilled16, {
|
|
588
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
589
|
+
"viewBox": "0 0 32 32",
|
|
590
|
+
"fill": "currentColor",
|
|
591
|
+
"width": 16,
|
|
592
|
+
"height": 16
|
|
593
|
+
}, [{
|
|
594
|
+
"elem": "path",
|
|
595
|
+
"attrs": {
|
|
596
|
+
"fill": "none",
|
|
597
|
+
"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",
|
|
598
|
+
"data-icon-path": "inner-path"
|
|
599
|
+
}
|
|
600
|
+
}, {
|
|
601
|
+
"elem": "path",
|
|
602
|
+
"attrs": {
|
|
603
|
+
"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"
|
|
604
|
+
}
|
|
605
|
+
}, {
|
|
606
|
+
"elem": "path",
|
|
607
|
+
"attrs": {
|
|
608
|
+
"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"
|
|
609
|
+
}
|
|
610
|
+
}]);
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
563
615
|
/***/ }),
|
|
564
616
|
|
|
565
617
|
/***/ 8870:
|
|
@@ -829,7 +881,7 @@ var CvButtonConsts = {
|
|
|
829
881
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
830
882
|
|
|
831
883
|
"use strict";
|
|
832
|
-
/* harmony import */ var _CvCheckbox_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
884
|
+
/* harmony import */ var _CvCheckbox_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2413);
|
|
833
885
|
|
|
834
886
|
|
|
835
887
|
/* harmony default export */ __webpack_exports__["Z"] = (_CvCheckbox_vue__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
@@ -1708,6 +1760,155 @@ var carbonPrefix = 'bx'; // carbonSettings.prefix;
|
|
|
1708
1760
|
|
|
1709
1761
|
|
|
1710
1762
|
|
|
1763
|
+
/***/ }),
|
|
1764
|
+
|
|
1765
|
+
/***/ 7839:
|
|
1766
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1767
|
+
|
|
1768
|
+
"use strict";
|
|
1769
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1770
|
+
/* harmony export */ "N": function() { return /* binding */ props; },
|
|
1771
|
+
/* harmony export */ "w": function() { return /* binding */ useCheck; }
|
|
1772
|
+
/* harmony export */ });
|
|
1773
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6699);
|
|
1774
|
+
/* 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__);
|
|
1775
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2023);
|
|
1776
|
+
/* 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__);
|
|
1777
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6992);
|
|
1778
|
+
/* 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__);
|
|
1779
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1539);
|
|
1780
|
+
/* 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__);
|
|
1781
|
+
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(189);
|
|
1782
|
+
/* 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__);
|
|
1783
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8783);
|
|
1784
|
+
/* 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__);
|
|
1785
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3948);
|
|
1786
|
+
/* 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__);
|
|
1787
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1038);
|
|
1788
|
+
/* 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__);
|
|
1789
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7203);
|
|
1790
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_8__);
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
/*
|
|
1801
|
+
* Provides common checkbox behaviour
|
|
1802
|
+
*/
|
|
1803
|
+
|
|
1804
|
+
var props = {
|
|
1805
|
+
modelValue: {
|
|
1806
|
+
type: [Array, Boolean],
|
|
1807
|
+
default: undefined
|
|
1808
|
+
},
|
|
1809
|
+
mixed: {
|
|
1810
|
+
type: Boolean,
|
|
1811
|
+
default: null
|
|
1812
|
+
},
|
|
1813
|
+
checked: {
|
|
1814
|
+
type: Boolean,
|
|
1815
|
+
default: undefined
|
|
1816
|
+
},
|
|
1817
|
+
name: String,
|
|
1818
|
+
value: {
|
|
1819
|
+
type: String,
|
|
1820
|
+
required: true
|
|
1821
|
+
}
|
|
1822
|
+
};
|
|
1823
|
+
function useCheck(props, emit) {
|
|
1824
|
+
var isArrayModel = (0,vue__WEBPACK_IMPORTED_MODULE_8__.computed)(function () {
|
|
1825
|
+
return Array.isArray(props.modelValue.value);
|
|
1826
|
+
}); // Maintain the state of the checkbox
|
|
1827
|
+
|
|
1828
|
+
var dataChecked = (0,vue__WEBPACK_IMPORTED_MODULE_8__.ref)(undefined);
|
|
1829
|
+
var isChecked = (0,vue__WEBPACK_IMPORTED_MODULE_8__.computed)({
|
|
1830
|
+
get: function get() {
|
|
1831
|
+
if (props.modelValue.value !== undefined) {
|
|
1832
|
+
// model value always comes first
|
|
1833
|
+
if (isArrayModel.value) {
|
|
1834
|
+
if (props.modelValue.value.includes((0,vue__WEBPACK_IMPORTED_MODULE_8__.unref)(props.value))) {
|
|
1835
|
+
return true;
|
|
1836
|
+
} else {
|
|
1837
|
+
return false;
|
|
1838
|
+
}
|
|
1839
|
+
} else {
|
|
1840
|
+
return (0,vue__WEBPACK_IMPORTED_MODULE_8__.unref)(props.modelValue);
|
|
1841
|
+
}
|
|
1842
|
+
} else {
|
|
1843
|
+
if (dataChecked.value !== undefined) {
|
|
1844
|
+
return dataChecked.value;
|
|
1845
|
+
} else if (dataMixed.value) {
|
|
1846
|
+
return 'mixed';
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
return false;
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
set: function set(checked) {
|
|
1853
|
+
if (isArrayModel.value) {
|
|
1854
|
+
var modelSet = new Set(props.modelValue.value);
|
|
1855
|
+
|
|
1856
|
+
if (!checked) {
|
|
1857
|
+
modelSet.delete(props.value.value);
|
|
1858
|
+
} else {
|
|
1859
|
+
modelSet.add(props.value.value);
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
dataChecked.value = Array.from(modelSet);
|
|
1863
|
+
} else {
|
|
1864
|
+
dataChecked.value = checked ? true : undefined;
|
|
1865
|
+
|
|
1866
|
+
if (dataChecked.value !== undefined) {
|
|
1867
|
+
dataMixed.value = false;
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
});
|
|
1872
|
+
(0,vue__WEBPACK_IMPORTED_MODULE_8__.onMounted)(function () {
|
|
1873
|
+
if (props.modelValue.value === undefined) {
|
|
1874
|
+
isChecked.value = props.checked.value;
|
|
1875
|
+
}
|
|
1876
|
+
}); // Maintain the state of the aria-checkbox
|
|
1877
|
+
|
|
1878
|
+
var dataMixed = (0,vue__WEBPACK_IMPORTED_MODULE_8__.ref)(props.mixed.value);
|
|
1879
|
+
(0,vue__WEBPACK_IMPORTED_MODULE_8__.watch)(props.mixed, function (val) {
|
|
1880
|
+
dataMixed.value = val;
|
|
1881
|
+
|
|
1882
|
+
if (dataMixed.value && props.checked.value !== true) {
|
|
1883
|
+
isChecked.value = false; // reset check state so mixed takes
|
|
1884
|
+
}
|
|
1885
|
+
});
|
|
1886
|
+
(0,vue__WEBPACK_IMPORTED_MODULE_8__.watch)(props.checked, function (val) {
|
|
1887
|
+
if (props.modelValue.value === undefined) isChecked.value = val;
|
|
1888
|
+
|
|
1889
|
+
if (!val && dataMixed.value) {
|
|
1890
|
+
dataMixed.value = true;
|
|
1891
|
+
}
|
|
1892
|
+
}); // Watch for change
|
|
1893
|
+
|
|
1894
|
+
function onChangeInner(checkedVal) {
|
|
1895
|
+
isChecked.value = checkedVal;
|
|
1896
|
+
emit('update:modelValue', dataChecked.value || false); // or false in case dataChecked is undefined
|
|
1897
|
+
|
|
1898
|
+
emit('change', checkedVal);
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
function onChange(ev) {
|
|
1902
|
+
onChangeInner(ev.target.checked);
|
|
1903
|
+
} // expose managed state as return value
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
return {
|
|
1907
|
+
onChange: onChange,
|
|
1908
|
+
isChecked: isChecked
|
|
1909
|
+
};
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1711
1912
|
/***/ }),
|
|
1712
1913
|
|
|
1713
1914
|
/***/ 780:
|
|
@@ -3095,7 +3296,7 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(CvIconButtonvue
|
|
|
3095
3296
|
|
|
3096
3297
|
/***/ }),
|
|
3097
3298
|
|
|
3098
|
-
/***/
|
|
3299
|
+
/***/ 2413:
|
|
3099
3300
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3100
3301
|
|
|
3101
3302
|
"use strict";
|
|
@@ -3117,184 +3318,49 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
3117
3318
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
3118
3319
|
// EXTERNAL MODULE: ./src/global/settings.js
|
|
3119
3320
|
var settings = __webpack_require__(8343);
|
|
3120
|
-
// EXTERNAL MODULE: ./
|
|
3121
|
-
var
|
|
3122
|
-
// EXTERNAL MODULE: ./
|
|
3123
|
-
var
|
|
3124
|
-
|
|
3125
|
-
var es_array_iterator = __webpack_require__(6992);
|
|
3126
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
3127
|
-
var es_object_to_string = __webpack_require__(1539);
|
|
3128
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.js
|
|
3129
|
-
var es_set = __webpack_require__(189);
|
|
3130
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
3131
|
-
var es_string_iterator = __webpack_require__(8783);
|
|
3132
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
3133
|
-
var web_dom_collections_iterator = __webpack_require__(3948);
|
|
3134
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
3135
|
-
var es_array_from = __webpack_require__(1038);
|
|
3136
|
-
;// CONCATENATED MODULE: ./src/use/cvCheck.js
|
|
3321
|
+
// EXTERNAL MODULE: ./src/use/cvCheck.js
|
|
3322
|
+
var cvCheck = __webpack_require__(7839);
|
|
3323
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
3324
|
+
var use_cvId = __webpack_require__(780);
|
|
3325
|
+
;// 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-82.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
|
|
3137
3326
|
|
|
3138
3327
|
|
|
3139
3328
|
|
|
3140
3329
|
|
|
3330
|
+
var _hoisted_1 = ["checked", "aria-checked", "value", "id"];
|
|
3331
|
+
var _hoisted_2 = ["for"];
|
|
3141
3332
|
|
|
3142
3333
|
|
|
3143
3334
|
|
|
3144
3335
|
|
|
3336
|
+
/* harmony default export */ var CvCheckboxvue_type_script_setup_true_lang_js = ({
|
|
3337
|
+
__name: 'CvCheckbox',
|
|
3338
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
3339
|
+
hideLabel: {
|
|
3340
|
+
type: Boolean,
|
|
3341
|
+
default: null
|
|
3342
|
+
},
|
|
3343
|
+
label: {
|
|
3344
|
+
type: String,
|
|
3345
|
+
default: null
|
|
3346
|
+
},
|
|
3347
|
+
formItem: {
|
|
3348
|
+
type: Boolean,
|
|
3349
|
+
default: true
|
|
3350
|
+
},
|
|
3351
|
+
inline: {
|
|
3352
|
+
type: Boolean,
|
|
3353
|
+
default: false
|
|
3354
|
+
}
|
|
3355
|
+
}, cvCheck/* props */.N), use_cvId/* props */.N),
|
|
3356
|
+
emits: ['update:modelValue', 'change'],
|
|
3357
|
+
setup: function setup(__props, _ref) {
|
|
3358
|
+
var _this = this;
|
|
3145
3359
|
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
*/
|
|
3360
|
+
var emit = _ref.emit;
|
|
3361
|
+
var props = __props; // Track focus
|
|
3149
3362
|
|
|
3150
|
-
var
|
|
3151
|
-
modelValue: {
|
|
3152
|
-
type: [Array, Boolean],
|
|
3153
|
-
default: undefined
|
|
3154
|
-
},
|
|
3155
|
-
mixed: {
|
|
3156
|
-
type: Boolean,
|
|
3157
|
-
default: null
|
|
3158
|
-
},
|
|
3159
|
-
checked: {
|
|
3160
|
-
type: Boolean,
|
|
3161
|
-
default: undefined
|
|
3162
|
-
},
|
|
3163
|
-
name: String,
|
|
3164
|
-
value: {
|
|
3165
|
-
type: String,
|
|
3166
|
-
required: true
|
|
3167
|
-
}
|
|
3168
|
-
};
|
|
3169
|
-
function useCheck(props, emit) {
|
|
3170
|
-
var isArrayModel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
3171
|
-
return Array.isArray(props.modelValue.value);
|
|
3172
|
-
}); // Maintain the state of the checkbox
|
|
3173
|
-
|
|
3174
|
-
var dataChecked = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(undefined);
|
|
3175
|
-
var isChecked = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)({
|
|
3176
|
-
get: function get() {
|
|
3177
|
-
if (props.modelValue.value !== undefined) {
|
|
3178
|
-
// model value always comes first
|
|
3179
|
-
if (isArrayModel.value) {
|
|
3180
|
-
if (props.modelValue.value.includes((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(props.value))) {
|
|
3181
|
-
return true;
|
|
3182
|
-
} else {
|
|
3183
|
-
return false;
|
|
3184
|
-
}
|
|
3185
|
-
} else {
|
|
3186
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(props.modelValue);
|
|
3187
|
-
}
|
|
3188
|
-
} else {
|
|
3189
|
-
if (dataChecked.value !== undefined) {
|
|
3190
|
-
return dataChecked.value;
|
|
3191
|
-
} else if (dataMixed.value) {
|
|
3192
|
-
return 'mixed';
|
|
3193
|
-
}
|
|
3194
|
-
|
|
3195
|
-
return false;
|
|
3196
|
-
}
|
|
3197
|
-
},
|
|
3198
|
-
set: function set(checked) {
|
|
3199
|
-
if (isArrayModel.value) {
|
|
3200
|
-
var modelSet = new Set(props.modelValue.value);
|
|
3201
|
-
|
|
3202
|
-
if (!checked) {
|
|
3203
|
-
modelSet.delete(props.value.value);
|
|
3204
|
-
} else {
|
|
3205
|
-
modelSet.add(props.value.value);
|
|
3206
|
-
}
|
|
3207
|
-
|
|
3208
|
-
dataChecked.value = Array.from(modelSet);
|
|
3209
|
-
} else {
|
|
3210
|
-
dataChecked.value = checked ? true : undefined;
|
|
3211
|
-
|
|
3212
|
-
if (dataChecked.value !== undefined) {
|
|
3213
|
-
dataMixed.value = false;
|
|
3214
|
-
}
|
|
3215
|
-
}
|
|
3216
|
-
}
|
|
3217
|
-
});
|
|
3218
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(function () {
|
|
3219
|
-
if (props.modelValue.value === undefined) {
|
|
3220
|
-
isChecked.value = props.checked.value;
|
|
3221
|
-
}
|
|
3222
|
-
}); // Maintain the state of the aria-checkbox
|
|
3223
|
-
|
|
3224
|
-
var dataMixed = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.mixed.value);
|
|
3225
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(props.mixed, function (val) {
|
|
3226
|
-
dataMixed.value = val;
|
|
3227
|
-
|
|
3228
|
-
if (dataMixed.value && props.checked.value !== true) {
|
|
3229
|
-
isChecked.value = false; // reset check state so mixed takes
|
|
3230
|
-
}
|
|
3231
|
-
});
|
|
3232
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(props.checked, function (val) {
|
|
3233
|
-
if (props.modelValue.value === undefined) isChecked.value = val;
|
|
3234
|
-
|
|
3235
|
-
if (!val && dataMixed.value) {
|
|
3236
|
-
dataMixed.value = true;
|
|
3237
|
-
}
|
|
3238
|
-
}); // Watch for change
|
|
3239
|
-
|
|
3240
|
-
function onChangeInner(checkedVal) {
|
|
3241
|
-
isChecked.value = checkedVal;
|
|
3242
|
-
emit('update:modelValue', dataChecked.value || false); // or false in case dataChecked is undefined
|
|
3243
|
-
|
|
3244
|
-
emit('change', checkedVal);
|
|
3245
|
-
}
|
|
3246
|
-
|
|
3247
|
-
function onChange(ev) {
|
|
3248
|
-
onChangeInner(ev.target.checked);
|
|
3249
|
-
} // expose managed state as return value
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
return {
|
|
3253
|
-
onChange: onChange,
|
|
3254
|
-
isChecked: isChecked
|
|
3255
|
-
};
|
|
3256
|
-
}
|
|
3257
|
-
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
3258
|
-
var use_cvId = __webpack_require__(780);
|
|
3259
|
-
;// 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-82.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
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
var _hoisted_1 = ["checked", "aria-checked", "value", "id"];
|
|
3265
|
-
var _hoisted_2 = ["for"];
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
/* harmony default export */ var CvCheckboxvue_type_script_setup_true_lang_js = ({
|
|
3271
|
-
__name: 'CvCheckbox',
|
|
3272
|
-
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
3273
|
-
hideLabel: {
|
|
3274
|
-
type: Boolean,
|
|
3275
|
-
default: null
|
|
3276
|
-
},
|
|
3277
|
-
label: {
|
|
3278
|
-
type: String,
|
|
3279
|
-
default: null
|
|
3280
|
-
},
|
|
3281
|
-
formItem: {
|
|
3282
|
-
type: Boolean,
|
|
3283
|
-
default: true
|
|
3284
|
-
},
|
|
3285
|
-
inline: {
|
|
3286
|
-
type: Boolean,
|
|
3287
|
-
default: false
|
|
3288
|
-
}
|
|
3289
|
-
}, props), use_cvId/* props */.N),
|
|
3290
|
-
emits: ['update:modelValue', 'change'],
|
|
3291
|
-
setup: function setup(__props, _ref) {
|
|
3292
|
-
var _this = this;
|
|
3293
|
-
|
|
3294
|
-
var emit = _ref.emit;
|
|
3295
|
-
var props = __props; // Track focus
|
|
3296
|
-
|
|
3297
|
-
var hasFocus = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
3363
|
+
var hasFocus = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
3298
3364
|
|
|
3299
3365
|
function onFocus() {
|
|
3300
3366
|
hasFocus = true;
|
|
@@ -3306,7 +3372,7 @@ var _hoisted_2 = ["for"];
|
|
|
3306
3372
|
|
|
3307
3373
|
var cvId = (0,use_cvId/* useCvId */.l)(props);
|
|
3308
3374
|
|
|
3309
|
-
var _useCheck = useCheck((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRefs)(props), emit),
|
|
3375
|
+
var _useCheck = (0,cvCheck/* useCheck */.w)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRefs)(props), emit),
|
|
3310
3376
|
onChange = _useCheck.onChange,
|
|
3311
3377
|
isChecked = _useCheck.isChecked;
|
|
3312
3378
|
|
|
@@ -12668,8 +12734,8 @@ var CaretRight16 = (0,utils_148d018d.c)(CaretRight16, {
|
|
|
12668
12734
|
|
|
12669
12735
|
|
|
12670
12736
|
|
|
12671
|
-
// EXTERNAL MODULE: ./src/components/CvSelect/CvSelect.vue +
|
|
12672
|
-
var CvSelect = __webpack_require__(
|
|
12737
|
+
// EXTERNAL MODULE: ./src/components/CvSelect/CvSelect.vue + 2 modules
|
|
12738
|
+
var CvSelect = __webpack_require__(2425);
|
|
12673
12739
|
;// CONCATENATED MODULE: ./src/components/CvSelect/index.js
|
|
12674
12740
|
|
|
12675
12741
|
|
|
@@ -13009,7 +13075,7 @@ const __exports__ = CvPaginationvue_type_script_setup_true_lang_js;
|
|
|
13009
13075
|
|
|
13010
13076
|
/***/ }),
|
|
13011
13077
|
|
|
13012
|
-
/***/
|
|
13078
|
+
/***/ 2425:
|
|
13013
13079
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13014
13080
|
|
|
13015
13081
|
"use strict";
|
|
@@ -13037,48 +13103,8 @@ var settings = __webpack_require__(8343);
|
|
|
13037
13103
|
var _16 = __webpack_require__(4325);
|
|
13038
13104
|
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--filled/16.js
|
|
13039
13105
|
var warning_filled_16 = __webpack_require__(8870);
|
|
13040
|
-
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/
|
|
13041
|
-
var
|
|
13042
|
-
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/warning--alt--filled/16.js
|
|
13043
|
-
/**
|
|
13044
|
-
* Copyright IBM Corp. 2019, 2020
|
|
13045
|
-
*
|
|
13046
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
13047
|
-
* LICENSE file in the root directory of this source tree.
|
|
13048
|
-
*
|
|
13049
|
-
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
13050
|
-
*/
|
|
13051
|
-
|
|
13052
|
-
|
|
13053
|
-
|
|
13054
|
-
|
|
13055
|
-
var WarningAltFilled16 = (0,utils_148d018d.c)(WarningAltFilled16, {
|
|
13056
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13057
|
-
"viewBox": "0 0 32 32",
|
|
13058
|
-
"fill": "currentColor",
|
|
13059
|
-
"width": 16,
|
|
13060
|
-
"height": 16
|
|
13061
|
-
}, [{
|
|
13062
|
-
"elem": "path",
|
|
13063
|
-
"attrs": {
|
|
13064
|
-
"fill": "none",
|
|
13065
|
-
"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",
|
|
13066
|
-
"data-icon-path": "inner-path"
|
|
13067
|
-
}
|
|
13068
|
-
}, {
|
|
13069
|
-
"elem": "path",
|
|
13070
|
-
"attrs": {
|
|
13071
|
-
"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"
|
|
13072
|
-
}
|
|
13073
|
-
}, {
|
|
13074
|
-
"elem": "path",
|
|
13075
|
-
"attrs": {
|
|
13076
|
-
"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"
|
|
13077
|
-
}
|
|
13078
|
-
}]);
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
|
|
13106
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--alt--filled/16.js
|
|
13107
|
+
var warning_alt_filled_16 = __webpack_require__(8094);
|
|
13082
13108
|
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
13083
13109
|
var use_cvId = __webpack_require__(780);
|
|
13084
13110
|
// EXTERNAL MODULE: ./src/components/CvWrapper/CvWrapper.js
|
|
@@ -13292,7 +13318,7 @@ var _hoisted_4 = ["id", "value"];
|
|
|
13292
13318
|
}, 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), {
|
|
13293
13319
|
key: 0,
|
|
13294
13320
|
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"))
|
|
13295
|
-
}, 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)(
|
|
13321
|
+
}, 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), {
|
|
13296
13322
|
key: 1,
|
|
13297
13323
|
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"))
|
|
13298
13324
|
}, 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", {
|
|
@@ -13805,6 +13831,940 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(CvTagvue_type_s
|
|
|
13805
13831
|
|
|
13806
13832
|
/***/ }),
|
|
13807
13833
|
|
|
13834
|
+
/***/ 3440:
|
|
13835
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13836
|
+
|
|
13837
|
+
"use strict";
|
|
13838
|
+
// ESM COMPAT FLAG
|
|
13839
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13840
|
+
|
|
13841
|
+
// EXPORTS
|
|
13842
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
13843
|
+
"default": function() { return /* binding */ CvTextArea; }
|
|
13844
|
+
});
|
|
13845
|
+
|
|
13846
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
13847
|
+
var defineProperty = __webpack_require__(4186);
|
|
13848
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
13849
|
+
var objectSpread2 = __webpack_require__(5175);
|
|
13850
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
13851
|
+
var es_object_assign = __webpack_require__(9601);
|
|
13852
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
13853
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
13854
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--filled/16.js
|
|
13855
|
+
var _16 = __webpack_require__(8870);
|
|
13856
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
13857
|
+
var settings = __webpack_require__(8343);
|
|
13858
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
13859
|
+
var use_cvId = __webpack_require__(780);
|
|
13860
|
+
// EXTERNAL MODULE: ./src/use/cvTheme.js
|
|
13861
|
+
var cvTheme = __webpack_require__(6432);
|
|
13862
|
+
;// 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-82.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
|
|
13863
|
+
|
|
13864
|
+
|
|
13865
|
+
|
|
13866
|
+
|
|
13867
|
+
var _hoisted_1 = ["for"];
|
|
13868
|
+
var _hoisted_2 = ["data-invalid"];
|
|
13869
|
+
var _hoisted_3 = ["aria-invalid", "aria-describedby", "id", "value"];
|
|
13870
|
+
var _hoisted_4 = ["id"];
|
|
13871
|
+
|
|
13872
|
+
|
|
13873
|
+
|
|
13874
|
+
|
|
13875
|
+
|
|
13876
|
+
var __default__ = {
|
|
13877
|
+
inheritAttrs: false
|
|
13878
|
+
};
|
|
13879
|
+
/* harmony default export */ var CvTextAreavue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
13880
|
+
__name: 'CvTextArea',
|
|
13881
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
13882
|
+
helperText: {
|
|
13883
|
+
type: String,
|
|
13884
|
+
default: undefined
|
|
13885
|
+
},
|
|
13886
|
+
hideLabel: {
|
|
13887
|
+
type: Boolean,
|
|
13888
|
+
default: false
|
|
13889
|
+
},
|
|
13890
|
+
invalidMessage: {
|
|
13891
|
+
type: String,
|
|
13892
|
+
default: undefined
|
|
13893
|
+
},
|
|
13894
|
+
label: String,
|
|
13895
|
+
modelValue: String
|
|
13896
|
+
}, use_cvId/* props */.N), cvTheme/* props */.N),
|
|
13897
|
+
setup: function setup(__props) {
|
|
13898
|
+
var props = __props;
|
|
13899
|
+
var cvId = (0,use_cvId/* useCvId */.l)(props); // DOM
|
|
13900
|
+
|
|
13901
|
+
var slots = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useSlots)(); // Data
|
|
13902
|
+
|
|
13903
|
+
var isHelper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
13904
|
+
var isInvalid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
13905
|
+
var isLight = (0,cvTheme/* useIsLight */.h)(props); // Computed
|
|
13906
|
+
|
|
13907
|
+
var errorId = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
13908
|
+
return "error-".concat(cvId.value);
|
|
13909
|
+
}); // Methods
|
|
13910
|
+
|
|
13911
|
+
function checkSlots() {
|
|
13912
|
+
var _props$invalidMessage, _props$helperText;
|
|
13913
|
+
|
|
13914
|
+
// NOTE: this.$slots is not reactive so needs to be managed on updated
|
|
13915
|
+
isInvalid.value = !!((_props$invalidMessage = props.invalidMessage) !== null && _props$invalidMessage !== void 0 && _props$invalidMessage.length || slots['invalid-message']);
|
|
13916
|
+
isHelper.value = !isInvalid.value && !!((_props$helperText = props.helperText) !== null && _props$helperText !== void 0 && _props$helperText.length || slots['helper-text']);
|
|
13917
|
+
} // Life Hooks
|
|
13918
|
+
|
|
13919
|
+
|
|
13920
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeMount)(checkSlots);
|
|
13921
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUpdate)(checkSlots);
|
|
13922
|
+
return function (_ctx, _cache) {
|
|
13923
|
+
var _ref, _ref2;
|
|
13924
|
+
|
|
13925
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
13926
|
+
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"))
|
|
13927
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("label", {
|
|
13928
|
+
for: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
13929
|
+
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)])
|
|
13930
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.label), 11, _hoisted_1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
13931
|
+
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")),
|
|
13932
|
+
"data-invalid": isInvalid.value
|
|
13933
|
+
}, [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), {
|
|
13934
|
+
key: 0,
|
|
13935
|
+
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"))
|
|
13936
|
+
}, 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)({
|
|
13937
|
+
"aria-invalid": isInvalid.value,
|
|
13938
|
+
"aria-describedby": isInvalid.value ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(errorId) : undefined,
|
|
13939
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
13940
|
+
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)]
|
|
13941
|
+
}, _ctx.$attrs, {
|
|
13942
|
+
value: __props.modelValue,
|
|
13943
|
+
onInput: _cache[0] || (_cache[0] = function ($event) {
|
|
13944
|
+
return _ctx.$emit('update:modelValue', $event.target.value);
|
|
13945
|
+
})
|
|
13946
|
+
}), 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", {
|
|
13947
|
+
key: 0,
|
|
13948
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(errorId),
|
|
13949
|
+
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"))
|
|
13950
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "invalid-message", {}, function () {
|
|
13951
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.invalidMessage), 1)];
|
|
13952
|
+
})], 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", {
|
|
13953
|
+
key: 1,
|
|
13954
|
+
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)])
|
|
13955
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "helper-text", {}, function () {
|
|
13956
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.helperText), 1)];
|
|
13957
|
+
})], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 2);
|
|
13958
|
+
};
|
|
13959
|
+
}
|
|
13960
|
+
}));
|
|
13961
|
+
;// CONCATENATED MODULE: ./src/components/CvTextArea/CvTextArea.vue?vue&type=script&setup=true&lang=js
|
|
13962
|
+
|
|
13963
|
+
;// CONCATENATED MODULE: ./src/components/CvTextArea/CvTextArea.vue
|
|
13964
|
+
|
|
13965
|
+
|
|
13966
|
+
|
|
13967
|
+
const __exports__ = CvTextAreavue_type_script_setup_true_lang_js;
|
|
13968
|
+
|
|
13969
|
+
/* harmony default export */ var CvTextArea = (__exports__);
|
|
13970
|
+
|
|
13971
|
+
/***/ }),
|
|
13972
|
+
|
|
13973
|
+
/***/ 254:
|
|
13974
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13975
|
+
|
|
13976
|
+
"use strict";
|
|
13977
|
+
// ESM COMPAT FLAG
|
|
13978
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13979
|
+
|
|
13980
|
+
// EXPORTS
|
|
13981
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
13982
|
+
"default": function() { return /* binding */ CvTextInput; }
|
|
13983
|
+
});
|
|
13984
|
+
|
|
13985
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
13986
|
+
var defineProperty = __webpack_require__(4186);
|
|
13987
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
13988
|
+
var objectSpread2 = __webpack_require__(5175);
|
|
13989
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
13990
|
+
var es_object_assign = __webpack_require__(9601);
|
|
13991
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
13992
|
+
var es_array_concat = __webpack_require__(2222);
|
|
13993
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
13994
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
13995
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--filled/16.js
|
|
13996
|
+
var _16 = __webpack_require__(8870);
|
|
13997
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/warning--alt--filled/16.js
|
|
13998
|
+
var warning_alt_filled_16 = __webpack_require__(8094);
|
|
13999
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/utils-148d018d.js + 1 modules
|
|
14000
|
+
var utils_148d018d = __webpack_require__(468);
|
|
14001
|
+
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/view--off/16.js
|
|
14002
|
+
/**
|
|
14003
|
+
* Copyright IBM Corp. 2019, 2020
|
|
14004
|
+
*
|
|
14005
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14006
|
+
* LICENSE file in the root directory of this source tree.
|
|
14007
|
+
*
|
|
14008
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
14009
|
+
*/
|
|
14010
|
+
|
|
14011
|
+
|
|
14012
|
+
|
|
14013
|
+
|
|
14014
|
+
var ViewOff16 = (0,utils_148d018d.c)(ViewOff16, {
|
|
14015
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14016
|
+
"viewBox": "0 0 16 16",
|
|
14017
|
+
"fill": "currentColor",
|
|
14018
|
+
"width": 16,
|
|
14019
|
+
"height": 16
|
|
14020
|
+
}, [{
|
|
14021
|
+
"elem": "path",
|
|
14022
|
+
"attrs": {
|
|
14023
|
+
"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"
|
|
14024
|
+
}
|
|
14025
|
+
}, {
|
|
14026
|
+
"elem": "path",
|
|
14027
|
+
"attrs": {
|
|
14028
|
+
"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"
|
|
14029
|
+
}
|
|
14030
|
+
}]);
|
|
14031
|
+
|
|
14032
|
+
|
|
14033
|
+
|
|
14034
|
+
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/view/16.js
|
|
14035
|
+
/**
|
|
14036
|
+
* Copyright IBM Corp. 2019, 2020
|
|
14037
|
+
*
|
|
14038
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14039
|
+
* LICENSE file in the root directory of this source tree.
|
|
14040
|
+
*
|
|
14041
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
14042
|
+
*/
|
|
14043
|
+
|
|
14044
|
+
|
|
14045
|
+
|
|
14046
|
+
|
|
14047
|
+
var View16 = (0,utils_148d018d.c)(View16, {
|
|
14048
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14049
|
+
"viewBox": "0 0 16 16",
|
|
14050
|
+
"fill": "currentColor",
|
|
14051
|
+
"width": 16,
|
|
14052
|
+
"height": 16
|
|
14053
|
+
}, [{
|
|
14054
|
+
"elem": "path",
|
|
14055
|
+
"attrs": {
|
|
14056
|
+
"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"
|
|
14057
|
+
}
|
|
14058
|
+
}, {
|
|
14059
|
+
"elem": "path",
|
|
14060
|
+
"attrs": {
|
|
14061
|
+
"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"
|
|
14062
|
+
}
|
|
14063
|
+
}]);
|
|
14064
|
+
|
|
14065
|
+
|
|
14066
|
+
|
|
14067
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14068
|
+
var settings = __webpack_require__(8343);
|
|
14069
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
14070
|
+
var use_cvId = __webpack_require__(780);
|
|
14071
|
+
// EXTERNAL MODULE: ./src/use/cvTheme.js
|
|
14072
|
+
var cvTheme = __webpack_require__(6432);
|
|
14073
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
14074
|
+
var es_array_iterator = __webpack_require__(6992);
|
|
14075
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
14076
|
+
var es_object_to_string = __webpack_require__(1539);
|
|
14077
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.js
|
|
14078
|
+
var es_set = __webpack_require__(189);
|
|
14079
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
14080
|
+
var es_string_iterator = __webpack_require__(8783);
|
|
14081
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
14082
|
+
var web_dom_collections_iterator = __webpack_require__(3948);
|
|
14083
|
+
;// CONCATENATED MODULE: ./src/components/CvTextInput/const.js
|
|
14084
|
+
|
|
14085
|
+
|
|
14086
|
+
|
|
14087
|
+
|
|
14088
|
+
|
|
14089
|
+
// Currently available types for CvTextInput
|
|
14090
|
+
var inputTypes = new Set(['password', 'text']);
|
|
14091
|
+
;// 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-82.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
|
|
14092
|
+
|
|
14093
|
+
|
|
14094
|
+
|
|
14095
|
+
|
|
14096
|
+
|
|
14097
|
+
var _hoisted_1 = ["for"];
|
|
14098
|
+
var _hoisted_2 = ["data-invalid"];
|
|
14099
|
+
var _hoisted_3 = ["id", "type", "value", "data-toggle-password-visibility"];
|
|
14100
|
+
var _hoisted_4 = ["disabled"];
|
|
14101
|
+
|
|
14102
|
+
|
|
14103
|
+
|
|
14104
|
+
|
|
14105
|
+
|
|
14106
|
+
|
|
14107
|
+
var __default__ = {
|
|
14108
|
+
inheritAttrs: false
|
|
14109
|
+
};
|
|
14110
|
+
/* harmony default export */ var CvTextInputvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
14111
|
+
__name: 'CvTextInput',
|
|
14112
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
14113
|
+
helperText: {
|
|
14114
|
+
type: String,
|
|
14115
|
+
default: undefined
|
|
14116
|
+
},
|
|
14117
|
+
hideLabel: {
|
|
14118
|
+
type: Boolean,
|
|
14119
|
+
default: false
|
|
14120
|
+
},
|
|
14121
|
+
invalidMessage: {
|
|
14122
|
+
type: String,
|
|
14123
|
+
default: undefined
|
|
14124
|
+
},
|
|
14125
|
+
label: String,
|
|
14126
|
+
modelValue: String,
|
|
14127
|
+
passwordHideLabel: {
|
|
14128
|
+
type: String,
|
|
14129
|
+
default: 'Hide password'
|
|
14130
|
+
},
|
|
14131
|
+
passwordShowLabel: {
|
|
14132
|
+
type: String,
|
|
14133
|
+
default: 'Show password'
|
|
14134
|
+
},
|
|
14135
|
+
passwordVisible: {
|
|
14136
|
+
type: Boolean,
|
|
14137
|
+
default: undefined
|
|
14138
|
+
},
|
|
14139
|
+
type: {
|
|
14140
|
+
type: String,
|
|
14141
|
+
default: 'text',
|
|
14142
|
+
validator: function validator(value) {
|
|
14143
|
+
return inputTypes.has(value);
|
|
14144
|
+
}
|
|
14145
|
+
},
|
|
14146
|
+
warnText: {
|
|
14147
|
+
type: String,
|
|
14148
|
+
default: undefined
|
|
14149
|
+
}
|
|
14150
|
+
}, use_cvId/* props */.N), cvTheme/* props */.N),
|
|
14151
|
+
setup: function setup(__props) {
|
|
14152
|
+
var props = __props;
|
|
14153
|
+
var cvId = (0,use_cvId/* useCvId */.l)(props); // DOM Elements
|
|
14154
|
+
|
|
14155
|
+
var input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
14156
|
+
var slots = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useSlots)(); // Data
|
|
14157
|
+
|
|
14158
|
+
var isInvalid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
14159
|
+
var isWarn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
14160
|
+
var isHelper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
14161
|
+
var isLight = (0,cvTheme/* useIsLight */.h)(props);
|
|
14162
|
+
var dataType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.type);
|
|
14163
|
+
var dataPasswordVisible = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false); // Computed Values
|
|
14164
|
+
|
|
14165
|
+
var isPassword = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14166
|
+
return props.type === 'password';
|
|
14167
|
+
});
|
|
14168
|
+
var isPasswordVisible = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14169
|
+
return isPassword.value && dataPasswordVisible.value;
|
|
14170
|
+
});
|
|
14171
|
+
var passwordHideShowLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14172
|
+
return isPasswordVisible.value ? props.passwordHideLabel : props.passwordShowLabel;
|
|
14173
|
+
}); // Watchers
|
|
14174
|
+
|
|
14175
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14176
|
+
return props.passwordVisible;
|
|
14177
|
+
}, function (newValue) {
|
|
14178
|
+
if (newValue !== dataPasswordVisible.value) {
|
|
14179
|
+
togglePasswordVisibility();
|
|
14180
|
+
}
|
|
14181
|
+
});
|
|
14182
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14183
|
+
return props.type;
|
|
14184
|
+
}, function (newValue) {
|
|
14185
|
+
dataType.value = newValue;
|
|
14186
|
+
}); // Methods
|
|
14187
|
+
|
|
14188
|
+
function togglePasswordVisibility() {
|
|
14189
|
+
var currentValue = input.value.value;
|
|
14190
|
+
dataPasswordVisible.value = !dataPasswordVisible.value;
|
|
14191
|
+
dataType.value = dataPasswordVisible.value ? 'text' : 'password';
|
|
14192
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(function () {
|
|
14193
|
+
input.value.value = currentValue;
|
|
14194
|
+
});
|
|
14195
|
+
}
|
|
14196
|
+
|
|
14197
|
+
function checkSlots() {
|
|
14198
|
+
var _props$invalidMessage, _props$warnText, _props$helperText;
|
|
14199
|
+
|
|
14200
|
+
// NOTE: slots is not reactive so needs to be managed on updated
|
|
14201
|
+
isInvalid.value = !!((_props$invalidMessage = props.invalidMessage) !== null && _props$invalidMessage !== void 0 && _props$invalidMessage.length || slots['invalid-message']);
|
|
14202
|
+
isWarn.value = !isInvalid.value && !!((_props$warnText = props.warnText) !== null && _props$warnText !== void 0 && _props$warnText.length || slots['warn-text']);
|
|
14203
|
+
isHelper.value = !isInvalid.value && !isWarn.value && !!((_props$helperText = props.helperText) !== null && _props$helperText !== void 0 && _props$helperText.length || slots['helper-text']);
|
|
14204
|
+
} // Lifecycle Hooks
|
|
14205
|
+
|
|
14206
|
+
|
|
14207
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeMount)(function () {
|
|
14208
|
+
checkSlots(); // update initial state for dataPasswordVisible & dataType
|
|
14209
|
+
|
|
14210
|
+
if (isPassword.value && props.passwordVisible) {
|
|
14211
|
+
dataPasswordVisible.value = true;
|
|
14212
|
+
dataType.value = 'text';
|
|
14213
|
+
}
|
|
14214
|
+
});
|
|
14215
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUpdate)(checkSlots);
|
|
14216
|
+
return function (_ctx, _cache) {
|
|
14217
|
+
var _ref2, _ref4;
|
|
14218
|
+
|
|
14219
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
14220
|
+
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))])
|
|
14221
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("label", {
|
|
14222
|
+
for: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
14223
|
+
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)])
|
|
14224
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.label), 11, _hoisted_1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14225
|
+
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)]),
|
|
14226
|
+
"data-invalid": isInvalid.value
|
|
14227
|
+
}, [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), {
|
|
14228
|
+
key: 0,
|
|
14229
|
+
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"))
|
|
14230
|
+
}, 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), {
|
|
14231
|
+
key: 1,
|
|
14232
|
+
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"))
|
|
14233
|
+
}, 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)({
|
|
14234
|
+
ref_key: "input",
|
|
14235
|
+
ref: input,
|
|
14236
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(cvId),
|
|
14237
|
+
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)]
|
|
14238
|
+
}, _ctx.$attrs, {
|
|
14239
|
+
type: dataType.value,
|
|
14240
|
+
value: __props.modelValue,
|
|
14241
|
+
"data-toggle-password-visibility": (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isPassword),
|
|
14242
|
+
onInput: _cache[0] || (_cache[0] = function ($event) {
|
|
14243
|
+
return _ctx.$emit('update:modelValue', $event.target.value);
|
|
14244
|
+
})
|
|
14245
|
+
}), 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", {
|
|
14246
|
+
key: 2,
|
|
14247
|
+
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)]),
|
|
14248
|
+
onClick: togglePasswordVisibility,
|
|
14249
|
+
type: "button",
|
|
14250
|
+
disabled: _ctx.$attrs.disabled
|
|
14251
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
14252
|
+
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"))
|
|
14253
|
+
}, (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), {
|
|
14254
|
+
key: 0,
|
|
14255
|
+
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"))
|
|
14256
|
+
}, 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), {
|
|
14257
|
+
key: 1,
|
|
14258
|
+
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"))
|
|
14259
|
+
}, 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", {
|
|
14260
|
+
key: 0,
|
|
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-requirement"))
|
|
14262
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "invalid-message", {}, function () {
|
|
14263
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.invalidMessage), 1)];
|
|
14264
|
+
})], 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", {
|
|
14265
|
+
key: 1,
|
|
14266
|
+
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"))
|
|
14267
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "warn-text", {}, function () {
|
|
14268
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.warnText), 1)];
|
|
14269
|
+
})], 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", {
|
|
14270
|
+
key: 2,
|
|
14271
|
+
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)])
|
|
14272
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "helper-text", {}, function () {
|
|
14273
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.helperText), 1)];
|
|
14274
|
+
})], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 2);
|
|
14275
|
+
};
|
|
14276
|
+
}
|
|
14277
|
+
}));
|
|
14278
|
+
;// CONCATENATED MODULE: ./src/components/CvTextInput/CvTextInput.vue?vue&type=script&setup=true&lang=js
|
|
14279
|
+
|
|
14280
|
+
;// CONCATENATED MODULE: ./src/components/CvTextInput/CvTextInput.vue
|
|
14281
|
+
|
|
14282
|
+
|
|
14283
|
+
|
|
14284
|
+
const __exports__ = CvTextInputvue_type_script_setup_true_lang_js;
|
|
14285
|
+
|
|
14286
|
+
/* harmony default export */ var CvTextInput = (__exports__);
|
|
14287
|
+
|
|
14288
|
+
/***/ }),
|
|
14289
|
+
|
|
14290
|
+
/***/ 9785:
|
|
14291
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14292
|
+
|
|
14293
|
+
"use strict";
|
|
14294
|
+
// ESM COMPAT FLAG
|
|
14295
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14296
|
+
|
|
14297
|
+
// EXPORTS
|
|
14298
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14299
|
+
"default": function() { return /* binding */ CvTile; }
|
|
14300
|
+
});
|
|
14301
|
+
|
|
14302
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14303
|
+
var defineProperty = __webpack_require__(4186);
|
|
14304
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14305
|
+
var objectSpread2 = __webpack_require__(5175);
|
|
14306
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
14307
|
+
var es_array_includes = __webpack_require__(6699);
|
|
14308
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14309
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
14310
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14311
|
+
var settings = __webpack_require__(8343);
|
|
14312
|
+
// EXTERNAL MODULE: ./src/use/cvTheme.js
|
|
14313
|
+
var cvTheme = __webpack_require__(6432);
|
|
14314
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileStandard.vue + 2 modules
|
|
14315
|
+
var CvTileStandard = __webpack_require__(8891);
|
|
14316
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileClickable.vue + 2 modules
|
|
14317
|
+
var CvTileClickable = __webpack_require__(3382);
|
|
14318
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileSelectable.vue + 3 modules
|
|
14319
|
+
var CvTileSelectable = __webpack_require__(836);
|
|
14320
|
+
// EXTERNAL MODULE: ./src/components/CvTile/CvTileExpandable.vue + 2 modules
|
|
14321
|
+
var CvTileExpandable = __webpack_require__(4349);
|
|
14322
|
+
;// 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-82.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
|
|
14323
|
+
|
|
14324
|
+
|
|
14325
|
+
|
|
14326
|
+
|
|
14327
|
+
|
|
14328
|
+
|
|
14329
|
+
|
|
14330
|
+
|
|
14331
|
+
|
|
14332
|
+
|
|
14333
|
+
|
|
14334
|
+
/* harmony default export */ var CvTilevue_type_script_setup_true_lang_js = ({
|
|
14335
|
+
__name: 'CvTile',
|
|
14336
|
+
props: (0,objectSpread2/* default */.Z)({
|
|
14337
|
+
expanded: Boolean,
|
|
14338
|
+
selected: Boolean,
|
|
14339
|
+
tileCollapsedLabel: {
|
|
14340
|
+
type: String,
|
|
14341
|
+
default: 'Tile collapsed'
|
|
14342
|
+
},
|
|
14343
|
+
tileExpandedLabel: {
|
|
14344
|
+
type: String,
|
|
14345
|
+
default: 'Tile expanded'
|
|
14346
|
+
},
|
|
14347
|
+
kind: {
|
|
14348
|
+
type: String,
|
|
14349
|
+
default: '',
|
|
14350
|
+
validator: function validator(value) {
|
|
14351
|
+
return ['clickable', 'expandable', 'selectable', 'standard', ''].includes(value);
|
|
14352
|
+
}
|
|
14353
|
+
}
|
|
14354
|
+
}, cvTheme/* props */.N),
|
|
14355
|
+
setup: function setup(__props) {
|
|
14356
|
+
var props = __props;
|
|
14357
|
+
var tagType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14358
|
+
switch (props.kind) {
|
|
14359
|
+
case 'clickable':
|
|
14360
|
+
return CvTileClickable["default"];
|
|
14361
|
+
|
|
14362
|
+
case 'selectable':
|
|
14363
|
+
return CvTileSelectable["default"];
|
|
14364
|
+
|
|
14365
|
+
case 'expandable':
|
|
14366
|
+
return CvTileExpandable["default"];
|
|
14367
|
+
|
|
14368
|
+
default:
|
|
14369
|
+
return CvTileStandard["default"];
|
|
14370
|
+
}
|
|
14371
|
+
});
|
|
14372
|
+
var isLight = (0,cvTheme/* useIsLight */.h)(props);
|
|
14373
|
+
/**
|
|
14374
|
+
* If the prop is defined on the tagType pass it along otherwise, discard it.
|
|
14375
|
+
* @param {string} prop
|
|
14376
|
+
* @param {any} value
|
|
14377
|
+
* @returns {*|undefined}
|
|
14378
|
+
*/
|
|
14379
|
+
|
|
14380
|
+
function checkProp(prop, value) {
|
|
14381
|
+
return prop in (tagType.value.props || {}) ? value : undefined;
|
|
14382
|
+
}
|
|
14383
|
+
|
|
14384
|
+
return function (_ctx, _cache) {
|
|
14385
|
+
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)), {
|
|
14386
|
+
checked: checkProp('checked', __props.selected),
|
|
14387
|
+
expanded: checkProp('expanded', __props.expanded),
|
|
14388
|
+
tileCollapsedLabel: checkProp('tileCollapsedLabel', __props.tileCollapsedLabel),
|
|
14389
|
+
tileExpandedLabel: checkProp('tileCollapsedLabel', __props.tileExpandedLabel),
|
|
14390
|
+
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))])
|
|
14391
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
14392
|
+
_: 2
|
|
14393
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, function (_, name) {
|
|
14394
|
+
return {
|
|
14395
|
+
name: name,
|
|
14396
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function (slotData) {
|
|
14397
|
+
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)))];
|
|
14398
|
+
})
|
|
14399
|
+
};
|
|
14400
|
+
})]), 1032, ["checked", "expanded", "tileCollapsedLabel", "tileExpandedLabel", "class"]);
|
|
14401
|
+
};
|
|
14402
|
+
}
|
|
14403
|
+
});
|
|
14404
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTile.vue?vue&type=script&setup=true&lang=js
|
|
14405
|
+
|
|
14406
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTile.vue
|
|
14407
|
+
|
|
14408
|
+
|
|
14409
|
+
|
|
14410
|
+
const __exports__ = CvTilevue_type_script_setup_true_lang_js;
|
|
14411
|
+
|
|
14412
|
+
/* harmony default export */ var CvTile = (__exports__);
|
|
14413
|
+
|
|
14414
|
+
/***/ }),
|
|
14415
|
+
|
|
14416
|
+
/***/ 3382:
|
|
14417
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14418
|
+
|
|
14419
|
+
"use strict";
|
|
14420
|
+
// ESM COMPAT FLAG
|
|
14421
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14422
|
+
|
|
14423
|
+
// EXPORTS
|
|
14424
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14425
|
+
"default": function() { return /* binding */ CvTileClickable; }
|
|
14426
|
+
});
|
|
14427
|
+
|
|
14428
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14429
|
+
var objectSpread2 = __webpack_require__(5175);
|
|
14430
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14431
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
14432
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14433
|
+
var settings = __webpack_require__(8343);
|
|
14434
|
+
// EXTERNAL MODULE: ./src/use/cvLink.js
|
|
14435
|
+
var cvLink = __webpack_require__(9709);
|
|
14436
|
+
;// 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-82.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
|
|
14437
|
+
|
|
14438
|
+
|
|
14439
|
+
|
|
14440
|
+
|
|
14441
|
+
/* harmony default export */ var CvTileClickablevue_type_script_setup_true_lang_js = ({
|
|
14442
|
+
__name: 'CvTileClickable',
|
|
14443
|
+
props: (0,objectSpread2/* default */.Z)({}, cvLink/* props */.NQ),
|
|
14444
|
+
setup: function setup(__props) {
|
|
14445
|
+
var props = __props;
|
|
14446
|
+
var tagType = (0,cvLink/* useTagType */.af)(props);
|
|
14447
|
+
var linkProps = (0,cvLink/* useLinkProps */.eY)(props);
|
|
14448
|
+
return function (_ctx, _cache) {
|
|
14449
|
+
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)({
|
|
14450
|
+
ref: "target",
|
|
14451
|
+
"data-tile": "clickable",
|
|
14452
|
+
class: "cv-tile-clickable ".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile--clickable")
|
|
14453
|
+
}, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _ctx.$attrs), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(linkProps)), {
|
|
14454
|
+
tabindex: "0"
|
|
14455
|
+
}), {
|
|
14456
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function () {
|
|
14457
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")];
|
|
14458
|
+
}),
|
|
14459
|
+
_: 3
|
|
14460
|
+
}, 16, ["class"]);
|
|
14461
|
+
};
|
|
14462
|
+
}
|
|
14463
|
+
});
|
|
14464
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileClickable.vue?vue&type=script&setup=true&lang=js
|
|
14465
|
+
|
|
14466
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileClickable.vue
|
|
14467
|
+
|
|
14468
|
+
|
|
14469
|
+
|
|
14470
|
+
const __exports__ = CvTileClickablevue_type_script_setup_true_lang_js;
|
|
14471
|
+
|
|
14472
|
+
/* harmony default export */ var CvTileClickable = (__exports__);
|
|
14473
|
+
|
|
14474
|
+
/***/ }),
|
|
14475
|
+
|
|
14476
|
+
/***/ 4349:
|
|
14477
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14478
|
+
|
|
14479
|
+
"use strict";
|
|
14480
|
+
// ESM COMPAT FLAG
|
|
14481
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14482
|
+
|
|
14483
|
+
// EXPORTS
|
|
14484
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14485
|
+
"default": function() { return /* binding */ CvTileExpandable; }
|
|
14486
|
+
});
|
|
14487
|
+
|
|
14488
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14489
|
+
var defineProperty = __webpack_require__(4186);
|
|
14490
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
14491
|
+
var esm_typeof = __webpack_require__(2302);
|
|
14492
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14493
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
14494
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14495
|
+
var settings = __webpack_require__(8343);
|
|
14496
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/chevron--down/16.js
|
|
14497
|
+
var _16 = __webpack_require__(4325);
|
|
14498
|
+
;// 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-82.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
|
|
14499
|
+
|
|
14500
|
+
|
|
14501
|
+
|
|
14502
|
+
|
|
14503
|
+
|
|
14504
|
+
|
|
14505
|
+
/* harmony default export */ var CvTileExpandablevue_type_script_setup_true_lang_js = ({
|
|
14506
|
+
__name: 'CvTileExpandable',
|
|
14507
|
+
props: {
|
|
14508
|
+
expanded: Boolean,
|
|
14509
|
+
tileCollapsedLabel: String,
|
|
14510
|
+
tileExpandedLabel: String
|
|
14511
|
+
},
|
|
14512
|
+
emits: ['expanded'],
|
|
14513
|
+
setup: function setup(__props, _ref) {
|
|
14514
|
+
var emit = _ref.emit;
|
|
14515
|
+
var props = __props;
|
|
14516
|
+
var data = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
14517
|
+
styleObject: {
|
|
14518
|
+
maxHeight: 'initial'
|
|
14519
|
+
},
|
|
14520
|
+
initialized: false,
|
|
14521
|
+
internalExpanded: props.expanded
|
|
14522
|
+
});
|
|
14523
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14524
|
+
return props.expanded;
|
|
14525
|
+
}, function (val) {
|
|
14526
|
+
if (val !== data.internalExpanded) {
|
|
14527
|
+
toggle(val);
|
|
14528
|
+
}
|
|
14529
|
+
});
|
|
14530
|
+
var chevronLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(function () {
|
|
14531
|
+
return data.internalExpanded ? props.tileExpandedLabel : props.tileCollapsedLabel;
|
|
14532
|
+
});
|
|
14533
|
+
var el = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(null);
|
|
14534
|
+
var belowFold = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(null);
|
|
14535
|
+
|
|
14536
|
+
function toggle(force) {
|
|
14537
|
+
var currentHeight = el === null || el === void 0 ? void 0 : el.value.getBoundingClientRect().height;
|
|
14538
|
+
|
|
14539
|
+
if (!data.initialized) {
|
|
14540
|
+
data.styleObject.maxHeight = "".concat(currentHeight, "px");
|
|
14541
|
+
data.initialized = true;
|
|
14542
|
+
}
|
|
14543
|
+
|
|
14544
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(function () {
|
|
14545
|
+
var forceType = (0,esm_typeof/* default */.Z)(force);
|
|
14546
|
+
|
|
14547
|
+
data.internalExpanded = forceType === 'boolean' ? force : !data.internalExpanded;
|
|
14548
|
+
var belowFoldHeight = belowFold === null || belowFold === void 0 ? void 0 : belowFold.value.getBoundingClientRect().height;
|
|
14549
|
+
|
|
14550
|
+
if (data.internalExpanded) {
|
|
14551
|
+
currentHeight += belowFoldHeight;
|
|
14552
|
+
} else {
|
|
14553
|
+
currentHeight -= belowFoldHeight;
|
|
14554
|
+
}
|
|
14555
|
+
|
|
14556
|
+
data.styleObject.maxHeight = "".concat(currentHeight, "px");
|
|
14557
|
+
});
|
|
14558
|
+
}
|
|
14559
|
+
|
|
14560
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(function () {
|
|
14561
|
+
return data.internalExpanded;
|
|
14562
|
+
}, function (val) {
|
|
14563
|
+
emit('expanded', val);
|
|
14564
|
+
});
|
|
14565
|
+
return function (_ctx, _cache) {
|
|
14566
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("button", {
|
|
14567
|
+
type: "button",
|
|
14568
|
+
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(data.styleObject),
|
|
14569
|
+
onClick: toggle,
|
|
14570
|
+
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)]),
|
|
14571
|
+
ref_key: "el",
|
|
14572
|
+
ref: el
|
|
14573
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14574
|
+
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"))
|
|
14575
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
14576
|
+
"data-tile-atf": "",
|
|
14577
|
+
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")),
|
|
14578
|
+
ref: "aboveFold"
|
|
14579
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14580
|
+
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"))
|
|
14581
|
+
}, [(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", {
|
|
14582
|
+
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")),
|
|
14583
|
+
ref_key: "belowFold",
|
|
14584
|
+
ref: belowFold
|
|
14585
|
+
}, [(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);
|
|
14586
|
+
};
|
|
14587
|
+
}
|
|
14588
|
+
});
|
|
14589
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileExpandable.vue?vue&type=script&setup=true&lang=js
|
|
14590
|
+
|
|
14591
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileExpandable.vue
|
|
14592
|
+
|
|
14593
|
+
|
|
14594
|
+
|
|
14595
|
+
const __exports__ = CvTileExpandablevue_type_script_setup_true_lang_js;
|
|
14596
|
+
|
|
14597
|
+
/* harmony default export */ var CvTileExpandable = (__exports__);
|
|
14598
|
+
|
|
14599
|
+
/***/ }),
|
|
14600
|
+
|
|
14601
|
+
/***/ 836:
|
|
14602
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14603
|
+
|
|
14604
|
+
"use strict";
|
|
14605
|
+
// ESM COMPAT FLAG
|
|
14606
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14607
|
+
|
|
14608
|
+
// EXPORTS
|
|
14609
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14610
|
+
"default": function() { return /* binding */ CvTileSelectable; }
|
|
14611
|
+
});
|
|
14612
|
+
|
|
14613
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14614
|
+
var defineProperty = __webpack_require__(4186);
|
|
14615
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14616
|
+
var objectSpread2 = __webpack_require__(5175);
|
|
14617
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14618
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
14619
|
+
// EXTERNAL MODULE: ./src/global/settings.js
|
|
14620
|
+
var settings = __webpack_require__(8343);
|
|
14621
|
+
// EXTERNAL MODULE: ./src/use/cvCheck.js
|
|
14622
|
+
var cvCheck = __webpack_require__(7839);
|
|
14623
|
+
// EXTERNAL MODULE: ./src/use/cvId.js
|
|
14624
|
+
var cvId = __webpack_require__(780);
|
|
14625
|
+
// EXTERNAL MODULE: ./node_modules/@carbon/icons-vue/es/utils-148d018d.js + 1 modules
|
|
14626
|
+
var utils_148d018d = __webpack_require__(468);
|
|
14627
|
+
;// CONCATENATED MODULE: ./node_modules/@carbon/icons-vue/es/checkmark--filled/16.js
|
|
14628
|
+
/**
|
|
14629
|
+
* Copyright IBM Corp. 2019, 2020
|
|
14630
|
+
*
|
|
14631
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14632
|
+
* LICENSE file in the root directory of this source tree.
|
|
14633
|
+
*
|
|
14634
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
14635
|
+
*/
|
|
14636
|
+
|
|
14637
|
+
|
|
14638
|
+
|
|
14639
|
+
|
|
14640
|
+
var CheckmarkFilled16 = (0,utils_148d018d.c)(CheckmarkFilled16, {
|
|
14641
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14642
|
+
"viewBox": "0 0 16 16",
|
|
14643
|
+
"fill": "currentColor",
|
|
14644
|
+
"width": 16,
|
|
14645
|
+
"height": 16
|
|
14646
|
+
}, [{
|
|
14647
|
+
"elem": "path",
|
|
14648
|
+
"attrs": {
|
|
14649
|
+
"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"
|
|
14650
|
+
}
|
|
14651
|
+
}, {
|
|
14652
|
+
"elem": "path",
|
|
14653
|
+
"attrs": {
|
|
14654
|
+
"d": "M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z",
|
|
14655
|
+
"data-icon-path": "inner-path",
|
|
14656
|
+
"opacity": "0"
|
|
14657
|
+
}
|
|
14658
|
+
}]);
|
|
14659
|
+
|
|
14660
|
+
|
|
14661
|
+
|
|
14662
|
+
;// 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-82.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
|
|
14663
|
+
|
|
14664
|
+
|
|
14665
|
+
|
|
14666
|
+
var _hoisted_1 = ["for", "aria-label", "data-contained-checkbox-state"];
|
|
14667
|
+
var _hoisted_2 = ["id", "checked", "aria-checked"];
|
|
14668
|
+
|
|
14669
|
+
|
|
14670
|
+
|
|
14671
|
+
|
|
14672
|
+
|
|
14673
|
+
/* harmony default export */ var CvTileSelectablevue_type_script_setup_true_lang_js = ({
|
|
14674
|
+
__name: 'CvTileSelectable',
|
|
14675
|
+
props: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
|
|
14676
|
+
ariaLabel: {
|
|
14677
|
+
type: String,
|
|
14678
|
+
default: 'tile'
|
|
14679
|
+
}
|
|
14680
|
+
}, cvCheck/* props */.N), cvId/* props */.N),
|
|
14681
|
+
emits: ['update:modelValue', 'change'],
|
|
14682
|
+
setup: function setup(__props, _ref) {
|
|
14683
|
+
var emit = _ref.emit;
|
|
14684
|
+
var props = __props;
|
|
14685
|
+
var uid = (0,cvId/* useCvId */.l)(props, true);
|
|
14686
|
+
|
|
14687
|
+
var _useCheck = (0,cvCheck/* useCheck */.w)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRefs)(props), emit),
|
|
14688
|
+
onChange = _useCheck.onChange,
|
|
14689
|
+
isChecked = _useCheck.isChecked;
|
|
14690
|
+
|
|
14691
|
+
return function (_ctx, _cache) {
|
|
14692
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("label", {
|
|
14693
|
+
for: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(uid),
|
|
14694
|
+
"aria-label": __props.ariaLabel,
|
|
14695
|
+
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))]),
|
|
14696
|
+
"data-tile": "selectable",
|
|
14697
|
+
tabindex: "0",
|
|
14698
|
+
"data-contained-checkbox-state": (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isChecked)
|
|
14699
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("input", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
|
|
14700
|
+
tabindex: "-1",
|
|
14701
|
+
"data-tile-input": "",
|
|
14702
|
+
id: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(uid),
|
|
14703
|
+
type: "checkbox",
|
|
14704
|
+
checked: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isChecked) === true,
|
|
14705
|
+
"aria-checked": "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isChecked)),
|
|
14706
|
+
class: "".concat((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(settings/* carbonPrefix */.B), "--tile-input")
|
|
14707
|
+
}, _ctx.$attrs, {
|
|
14708
|
+
onChange: _cache[0] || (_cache[0] = function () {
|
|
14709
|
+
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);
|
|
14710
|
+
})
|
|
14711
|
+
}), null, 16, _hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
14712
|
+
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"))
|
|
14713
|
+
}, [(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", {
|
|
14714
|
+
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"))
|
|
14715
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")], 2)], 10, _hoisted_1);
|
|
14716
|
+
};
|
|
14717
|
+
}
|
|
14718
|
+
});
|
|
14719
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileSelectable.vue?vue&type=script&setup=true&lang=js
|
|
14720
|
+
|
|
14721
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileSelectable.vue
|
|
14722
|
+
|
|
14723
|
+
|
|
14724
|
+
|
|
14725
|
+
const __exports__ = CvTileSelectablevue_type_script_setup_true_lang_js;
|
|
14726
|
+
|
|
14727
|
+
/* harmony default export */ var CvTileSelectable = (__exports__);
|
|
14728
|
+
|
|
14729
|
+
/***/ }),
|
|
14730
|
+
|
|
14731
|
+
/***/ 8891:
|
|
14732
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14733
|
+
|
|
14734
|
+
"use strict";
|
|
14735
|
+
// ESM COMPAT FLAG
|
|
14736
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14737
|
+
|
|
14738
|
+
// EXPORTS
|
|
14739
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14740
|
+
"default": function() { return /* binding */ CvTileStandard; }
|
|
14741
|
+
});
|
|
14742
|
+
|
|
14743
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
14744
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
14745
|
+
;// 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-82.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
|
|
14746
|
+
|
|
14747
|
+
var _hoisted_1 = {
|
|
14748
|
+
class: "cv-tile-standard"
|
|
14749
|
+
};
|
|
14750
|
+
function render(_ctx, _cache) {
|
|
14751
|
+
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")]);
|
|
14752
|
+
}
|
|
14753
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileStandard.vue?vue&type=template&id=1c43abe2
|
|
14754
|
+
|
|
14755
|
+
// EXTERNAL MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js
|
|
14756
|
+
var exportHelper = __webpack_require__(8118);
|
|
14757
|
+
;// CONCATENATED MODULE: ./src/components/CvTile/CvTileStandard.vue
|
|
14758
|
+
|
|
14759
|
+
const script = {}
|
|
14760
|
+
|
|
14761
|
+
;
|
|
14762
|
+
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(script, [['render',render]])
|
|
14763
|
+
|
|
14764
|
+
/* harmony default export */ var CvTileStandard = (__exports__);
|
|
14765
|
+
|
|
14766
|
+
/***/ }),
|
|
14767
|
+
|
|
13808
14768
|
/***/ 4561:
|
|
13809
14769
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13810
14770
|
|
|
@@ -26701,7 +27661,7 @@ var map = {
|
|
|
26701
27661
|
"./CvButton/CvButton.vue": 7820,
|
|
26702
27662
|
"./CvButton/CvButtonSet.vue": 1544,
|
|
26703
27663
|
"./CvButton/CvIconButton.vue": 130,
|
|
26704
|
-
"./CvCheckbox/CvCheckbox.vue":
|
|
27664
|
+
"./CvCheckbox/CvCheckbox.vue": 2413,
|
|
26705
27665
|
"./CvCodeSnippet/CvCodeSnippet.vue": 1999,
|
|
26706
27666
|
"./CvCodeSnippet/CvCodeSnippetSkeleton.vue": 7074,
|
|
26707
27667
|
"./CvComboBox/CvComboBox.vue": 5519,
|
|
@@ -26727,11 +27687,18 @@ var map = {
|
|
|
26727
27687
|
"./CvOverflowMenu/CvOverflowMenu.vue": 4523,
|
|
26728
27688
|
"./CvOverflowMenu/CvOverflowMenuItem.vue": 8779,
|
|
26729
27689
|
"./CvPagination/CvPagination.vue": 1442,
|
|
26730
|
-
"./CvSelect/CvSelect.vue":
|
|
27690
|
+
"./CvSelect/CvSelect.vue": 2425,
|
|
26731
27691
|
"./CvSelect/CvSelectOptgroup.vue": 135,
|
|
26732
27692
|
"./CvSelect/CvSelectOption.vue": 6144,
|
|
26733
27693
|
"./CvSkeletonText/CvSkeletonText.vue": 632,
|
|
26734
27694
|
"./CvTag/CvTag.vue": 5599,
|
|
27695
|
+
"./CvTextArea/CvTextArea.vue": 3440,
|
|
27696
|
+
"./CvTextInput/CvTextInput.vue": 254,
|
|
27697
|
+
"./CvTile/CvTile.vue": 9785,
|
|
27698
|
+
"./CvTile/CvTileClickable.vue": 3382,
|
|
27699
|
+
"./CvTile/CvTileExpandable.vue": 4349,
|
|
27700
|
+
"./CvTile/CvTileSelectable.vue": 836,
|
|
27701
|
+
"./CvTile/CvTileStandard.vue": 8891,
|
|
26735
27702
|
"./CvUIShell/CvHeader.vue": 4561,
|
|
26736
27703
|
"./CvUIShell/CvHeaderGlobalAction.vue": 1029,
|
|
26737
27704
|
"./CvUIShell/CvHeaderMenu.vue": 9056,
|