classcard-ui 0.2.183 → 0.2.184
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.
|
@@ -60266,12 +60266,12 @@ var CAnchorTabs_component = normalizeComponent(
|
|
|
60266
60266
|
// CONCATENATED MODULE: ./src/components/CAnchorTabs/index.js
|
|
60267
60267
|
|
|
60268
60268
|
/* harmony default export */ var components_CAnchorTabs = (CAnchorTabs);
|
|
60269
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fb2328fa-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAnchorTag/CAnchorTag.vue?vue&type=template&id=
|
|
60270
|
-
var
|
|
60271
|
-
var
|
|
60269
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fb2328fa-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAnchorTag/CAnchorTag.vue?vue&type=template&id=dab10ffe&
|
|
60270
|
+
var CAnchorTagvue_type_template_id_dab10ffe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:"flex cursor-pointer text-sm hover:underline",class:(_vm.classes + " " + _vm.textColor),attrs:{"href":_vm.href},on:{"click":function($event){$event.preventDefault();return _vm.action.apply(null, arguments)}}},[(_vm.icon)?_c('c-icon',{class:_vm.icon.class,attrs:{"type":_vm.icon.type,"name":_vm.icon.name}}):_vm._e(),_vm._v(" "+_vm._s(_vm.label)+" ")],1)}
|
|
60271
|
+
var CAnchorTagvue_type_template_id_dab10ffe_staticRenderFns = []
|
|
60272
60272
|
|
|
60273
60273
|
|
|
60274
|
-
// CONCATENATED MODULE: ./src/components/CAnchorTag/CAnchorTag.vue?vue&type=template&id=
|
|
60274
|
+
// CONCATENATED MODULE: ./src/components/CAnchorTag/CAnchorTag.vue?vue&type=template&id=dab10ffe&
|
|
60275
60275
|
|
|
60276
60276
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAnchorTag/CAnchorTag.vue?vue&type=script&lang=js&
|
|
60277
60277
|
//
|
|
@@ -60284,6 +60284,11 @@ var CAnchorTagvue_type_template_id_f8e89a3c_staticRenderFns = []
|
|
|
60284
60284
|
//
|
|
60285
60285
|
//
|
|
60286
60286
|
//
|
|
60287
|
+
//
|
|
60288
|
+
//
|
|
60289
|
+
//
|
|
60290
|
+
//
|
|
60291
|
+
//
|
|
60287
60292
|
|
|
60288
60293
|
/* harmony default export */ var CAnchorTagvue_type_script_lang_js_ = ({
|
|
60289
60294
|
name: "CAnchorTag",
|
|
@@ -60305,6 +60310,19 @@ var CAnchorTagvue_type_template_id_f8e89a3c_staticRenderFns = []
|
|
|
60305
60310
|
},
|
|
60306
60311
|
action: {
|
|
60307
60312
|
type: Function
|
|
60313
|
+
},
|
|
60314
|
+
color: {
|
|
60315
|
+
type: String,
|
|
60316
|
+
default: "blue"
|
|
60317
|
+
}
|
|
60318
|
+
},
|
|
60319
|
+
computed: {
|
|
60320
|
+
textColor: function textColor() {
|
|
60321
|
+
if (this.color === "red") {
|
|
60322
|
+
return "text-red-800";
|
|
60323
|
+
} else {
|
|
60324
|
+
return "text-indigo-800";
|
|
60325
|
+
}
|
|
60308
60326
|
}
|
|
60309
60327
|
}
|
|
60310
60328
|
});
|
|
@@ -60320,8 +60338,8 @@ var CAnchorTagvue_type_template_id_f8e89a3c_staticRenderFns = []
|
|
|
60320
60338
|
|
|
60321
60339
|
var CAnchorTag_component = normalizeComponent(
|
|
60322
60340
|
CAnchorTag_CAnchorTagvue_type_script_lang_js_,
|
|
60323
|
-
|
|
60324
|
-
|
|
60341
|
+
CAnchorTagvue_type_template_id_dab10ffe_render,
|
|
60342
|
+
CAnchorTagvue_type_template_id_dab10ffe_staticRenderFns,
|
|
60325
60343
|
false,
|
|
60326
60344
|
null,
|
|
60327
60345
|
null,
|
|
@@ -60999,12 +61017,12 @@ var CCheckbox_component = normalizeComponent(
|
|
|
60999
61017
|
)
|
|
61000
61018
|
|
|
61001
61019
|
/* harmony default export */ var CCheckbox = (CCheckbox_component.exports);
|
|
61002
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fb2328fa-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CSelect/CSelect.vue?vue&type=template&id=
|
|
61003
|
-
var
|
|
61004
|
-
var
|
|
61020
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fb2328fa-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CSelect/CSelect.vue?vue&type=template&id=16f04270&
|
|
61021
|
+
var CSelectvue_type_template_id_16f04270_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.label)?_c('div',{staticClass:"flex justify-between w-full"},[_c('div',{staticClass:"flex items-center"},[_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.isRequired)?_c('p',{staticClass:"text-red-600 ml-1"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]):_vm._e(),_c('div',{staticClass:"relative",class:_vm.label ? 'mt-1' : ''},[_c('button',{staticClass:"relative w-full rounded-md pl-2 pr-10 py-2 text-left cursor-pointer focus:outline-none sm:text-sm disabled:opacity-50",class:_vm.classes,attrs:{"type":"button","aria-haspopup":"listbox","aria-expanded":"true","aria-labelledby":"listbox-label","disabled":_vm.isDisabled},on:{"click":function($event){_vm.toggleDropdown = !_vm.toggleDropdown},"focus":function($event){_vm.type == 'tertiary' ? (_vm.showFocus = true) : ''},"blur":function($event){return _vm.close()}}},[_c('span',{staticClass:"flex items-center"},[(_vm.showImage)?_c('c-avatar',{attrs:{"size":"extraextrasmall","image":"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80","rounded":true}}):_vm._e(),(_vm.icon)?_c('c-icon',{class:_vm.icon.class,attrs:{"name":_vm.icon.name,"type":_vm.icon.type}}):_vm._e(),_c('span',{staticClass:"block truncate",class:_vm.showImage ? 'ml-3' : ''},[_vm._v(" "+_vm._s(_vm.selectedValue ? _vm.selectedValue : _vm.placeholder)+" ")])],1),(_vm.type == 'tertiary' ? _vm.showFocus : true)?_c('span',{staticClass:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},[_c('c-icon',{staticClass:"h-5 w-5",attrs:{"name":"selector","type":"solid"}})],1):_vm._e()]),_c('transition',{attrs:{"enter-active-class":"transition ease-out duration-100","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[(_vm.toggleDropdown && !_vm.isDisabled)?_c('div',{staticClass:"absolute mt-1 rounded-md bg-white shadow-lg z-10 w-full"},[_c('ul',{staticClass:"max-h-60 rounded-md py-1 text-base ring-1 ring-gray-900 ring-opacity-5 overflow-auto focus:outline-none sm:text-sm",attrs:{"tabindex":"-1","role":"listbox","aria-labelledby":"listbox-label"}},[(_vm.addAction)?_c('li',{staticClass:"flex hover:bg-indigo-100 text-indigo-500 hover:text-indigo-700 select-none relative py-2 pl-3 pr-9 cursor-pointer",on:{"mousedown":function($event){return _vm.actionEvent($event)}}},[_c('c-icon',{staticClass:"h-5 w-5 mr-1 text-indigo-400 group-hover:text-indigo-500",attrs:{"type":"outline","name":"plus"}}),_vm._v(" "+_vm._s(_vm.addAction.label)+" ")],1):_vm._e(),_vm._l((_vm.options),function(option,index){return _c('li',{key:index,staticClass:"text-gray-900 hover:bg-indigo-700 hover:text-white select-none relative py-2 pl-3 pr-9 cursor-pointer",attrs:{"id":"listbox-option-0","role":"option"},on:{"mousedown":function($event){return _vm.handleSelect($event, option)}}},[_c('span',{staticClass:"flex items-center"},[(_vm.showImage && option.image)?_c('c-avatar',{attrs:{"size":"extraextrasmall","image":option.image,"rounded":true}}):_vm._e(),_c('span',{staticClass:"font-normal block break-words list-options",class:_vm.showImage && option.image ? 'ml-3' : ''},[_vm._v(_vm._s(option[_vm.renderOptionName])+" ")])],1),_c('span',{staticClass:"text-indigo-600 absolute inset-y-0 right-0 flex items-center pr-4"},[_c('c-icon',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSelectedValue),expression:"showSelectedValue"}],staticClass:"h-5 w-5",attrs:{"id":"list-icon","name":"check","type":"solid"}})],1)])})],2)]):_vm._e()]),(!_vm.isValidate)?_c('p',{staticClass:"mt-2 text-sm text-red-600"},[_vm._v(" "+_vm._s(_vm.errorMessage)+" ")]):_vm._e(),(_vm.helpText)?_c('p',{staticClass:"mt-2 text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.helpText)+" ")]):_vm._e()],1)])}
|
|
61022
|
+
var CSelectvue_type_template_id_16f04270_staticRenderFns = []
|
|
61005
61023
|
|
|
61006
61024
|
|
|
61007
|
-
// CONCATENATED MODULE: ./src/components/CSelect/CSelect.vue?vue&type=template&id=
|
|
61025
|
+
// CONCATENATED MODULE: ./src/components/CSelect/CSelect.vue?vue&type=template&id=16f04270&
|
|
61008
61026
|
|
|
61009
61027
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CSelect/CSelect.vue?vue&type=script&lang=js&
|
|
61010
61028
|
//
|
|
@@ -61204,7 +61222,7 @@ var CSelectvue_type_template_id_0cb043b5_staticRenderFns = []
|
|
|
61204
61222
|
data: function data() {
|
|
61205
61223
|
return {
|
|
61206
61224
|
toggleDropdown: false,
|
|
61207
|
-
selectedValue: this.value
|
|
61225
|
+
selectedValue: this.value !== null && this.value.option ? this.value.option : this.value,
|
|
61208
61226
|
showSelectedValue: false,
|
|
61209
61227
|
showFocus: false
|
|
61210
61228
|
};
|
|
@@ -61234,7 +61252,7 @@ var CSelectvue_type_template_id_0cb043b5_staticRenderFns = []
|
|
|
61234
61252
|
},
|
|
61235
61253
|
watch: {
|
|
61236
61254
|
value: function value() {
|
|
61237
|
-
this.selectedValue = this.value.option ? this.value.option : this.value;
|
|
61255
|
+
this.selectedValue = this.value !== null && this.value.option ? this.value.option : this.value;
|
|
61238
61256
|
}
|
|
61239
61257
|
}
|
|
61240
61258
|
});
|
|
@@ -61250,8 +61268,8 @@ var CSelectvue_type_template_id_0cb043b5_staticRenderFns = []
|
|
|
61250
61268
|
|
|
61251
61269
|
var CSelect_component = normalizeComponent(
|
|
61252
61270
|
CSelect_CSelectvue_type_script_lang_js_,
|
|
61253
|
-
|
|
61254
|
-
|
|
61271
|
+
CSelectvue_type_template_id_16f04270_render,
|
|
61272
|
+
CSelectvue_type_template_id_16f04270_staticRenderFns,
|
|
61255
61273
|
false,
|
|
61256
61274
|
null,
|
|
61257
61275
|
null,
|