@cortezaproject/corteza-vue 2024.9.3-dev.5 → 2024.9.3-dev.6
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/index.es.js +18 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +18 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -7411,6 +7411,20 @@ var script$1a = {
|
|
|
7411
7411
|
maxDate () {
|
|
7412
7412
|
return this.onlyPast ? new Date() : undefined
|
|
7413
7413
|
},
|
|
7414
|
+
|
|
7415
|
+
browserLocale () {
|
|
7416
|
+
return navigator.language || navigator.languages?.[0] || 'en-US'
|
|
7417
|
+
},
|
|
7418
|
+
|
|
7419
|
+
weekStartDay () {
|
|
7420
|
+
const locale = new Intl.Locale(this.browserLocale);
|
|
7421
|
+
|
|
7422
|
+
if (locale.weekInfo && locale.weekInfo.firstDay !== undefined) {
|
|
7423
|
+
return (locale.weekInfo.firstDay % 7)
|
|
7424
|
+
}
|
|
7425
|
+
|
|
7426
|
+
return 0
|
|
7427
|
+
},
|
|
7414
7428
|
},
|
|
7415
7429
|
};
|
|
7416
7430
|
|
|
@@ -7418,13 +7432,13 @@ var script$1a = {
|
|
|
7418
7432
|
const __vue_script__$1a = script$1a;
|
|
7419
7433
|
|
|
7420
7434
|
/* template */
|
|
7421
|
-
var __vue_render__$16 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-date-time d-flex flex-wrap w-100 gap-1"},[(!_vm.noDate)?_c('b-form-datepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-date","placeholder":_vm.labels.none,"date-format-options":{ year: 'numeric', month: 'numeric', day: 'numeric' },"min":_vm.minDate,"max":_vm.maxDate,"label-reset-button":_vm.labels.clear,"label-today-button":_vm.labels.today,"label-help":"","today-variant":"info","selected-variant":"extra-light","boundary":"window","hide-header":"","reset-button":"","today-button":"","show-decade-nav":""},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v;},expression:"date"}}):_vm._e(),_vm._v(" "),(!_vm.noTime)?_c('b-form-timepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-time","placeholder":_vm.labels.none,"label-reset-button":_vm.labels.clear,"label-now-button":_vm.labels.now,"boundary":"window","hide-header":"","no-close-button":"","reset-button":"","now-button":""},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v;},expression:"time"}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
|
|
7435
|
+
var __vue_render__$16 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-date-time d-flex flex-wrap w-100 gap-1"},[(!_vm.noDate)?_c('b-form-datepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-date","placeholder":_vm.labels.none,"date-format-options":{ year: 'numeric', month: 'numeric', day: 'numeric' },"min":_vm.minDate,"max":_vm.maxDate,"label-reset-button":_vm.labels.clear,"label-today-button":_vm.labels.today,"locale":_vm.browserLocale,"start-weekday":_vm.weekStartDay,"label-help":"","today-variant":"info","selected-variant":"extra-light","boundary":"window","hide-header":"","reset-button":"","today-button":"","show-decade-nav":""},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v;},expression:"date"}}):_vm._e(),_vm._v(" "),(!_vm.noTime)?_c('b-form-timepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-time","placeholder":_vm.labels.none,"label-reset-button":_vm.labels.clear,"label-now-button":_vm.labels.now,"locale":_vm.browserLocale,"boundary":"window","hide-header":"","no-close-button":"","reset-button":"","now-button":""},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v;},expression:"time"}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
|
|
7422
7436
|
var __vue_staticRenderFns__$16 = [];
|
|
7423
7437
|
|
|
7424
7438
|
/* style */
|
|
7425
7439
|
const __vue_inject_styles__$1b = function (inject) {
|
|
7426
7440
|
if (!inject) return
|
|
7427
|
-
inject("data-v-
|
|
7441
|
+
inject("data-v-7de35dbd_0", { source: ".c-input-date-time{min-width:120px}.c-input-date-time .btn{padding:.25rem .5rem}.c-input-date-time label{font-family:var(--font-regular);color:var(--black)!important}.c-input-date-time .b-form-datepicker,.c-input-date-time .b-form-timepicker{flex:1 0 130px}.c-input-date-time .b-calendar-inner{background-color:var(--white)}.c-input-date-time .b-calendar-inner .b-calendar-grid-body{height:14rem;display:flex;flex-direction:column;justify-content:center}", map: undefined, media: undefined });
|
|
7428
7442
|
|
|
7429
7443
|
};
|
|
7430
7444
|
/* scoped */
|
|
@@ -17507,11 +17521,11 @@ var __vue_staticRenderFns__$v = [];
|
|
|
17507
17521
|
/* style */
|
|
17508
17522
|
const __vue_inject_styles__$x = function (inject) {
|
|
17509
17523
|
if (!inject) return
|
|
17510
|
-
inject("data-v-
|
|
17524
|
+
inject("data-v-edabd966_0", { source: ".nav-sidebar .nav-item[data-v-edabd966]{transition:background-color .2s ease-out}.nav-sidebar .nav-item .icon[data-v-edabd966]{color:var(--black);transition:color .3s ease-in-out}.nav-sidebar .nav-item .title[data-v-edabd966]{color:var(--black);font-family:var(--font-regular)!important;transition:color .3s ease-in-out;text-align:left}.nav-sidebar .nav-item[data-v-edabd966]:hover{background-color:var(--light)}.nav-sidebar .nav-active .icon[data-v-edabd966]{color:var(--primary)}.nav-sidebar .nav-active .title[data-v-edabd966]{font-family:var(--font-medium)!important;color:var(--primary)}", map: undefined, media: undefined });
|
|
17511
17525
|
|
|
17512
17526
|
};
|
|
17513
17527
|
/* scoped */
|
|
17514
|
-
const __vue_scope_id__$x = "data-v-
|
|
17528
|
+
const __vue_scope_id__$x = "data-v-edabd966";
|
|
17515
17529
|
/* module identifier */
|
|
17516
17530
|
const __vue_module_identifier__$x = undefined;
|
|
17517
17531
|
/* functional template */
|