@limetech/lime-crm-building-blocks 1.9.0 → 1.10.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/cjs/from-server-date-0f5deea0.js +16 -0
- package/dist/cjs/index.cjs.js +7 -0
- package/dist/cjs/limebb-date-picker_2.cjs.entry.js +2 -14
- package/dist/collection/components/date-picker/from-server-date.js +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/components/date-picker.js +2 -2
- package/dist/components/index.js +1 -0
- package/dist/esm/from-server-date-f49053b8.js +14 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/limebb-date-picker_2.entry.js +1 -13
- package/dist/lime-crm-building-blocks/index.esm.js +1 -0
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/p-00b0a438.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-982eb42a.js +1 -0
- package/dist/types/components/date-picker/from-server-date.d.ts +2 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +3 -3
- package/dist/lime-crm-building-blocks/p-c7de9e22.entry.js +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function fromServerDate(parsedDate, type) {
|
|
4
|
+
if (type === 'datetime' || type === 'time' || type === 'timeofday') {
|
|
5
|
+
return parsedDate;
|
|
6
|
+
}
|
|
7
|
+
// Add hours to make sure we don't change the day when parsing server time,
|
|
8
|
+
// for example "00:00:00+02:00" which correponds to "22:00:00Z".
|
|
9
|
+
// We expect server time zone to be Europe/Stockholm, but we also try
|
|
10
|
+
// to account for 00:00 browser local time in most parts of the world,
|
|
11
|
+
// as well as 12:00 UTC without overflowing to the next day.
|
|
12
|
+
const maxServerTimeOffsetHours = 10;
|
|
13
|
+
return new Date(parsedDate.getUTCFullYear(), parsedDate.getUTCMonth(), parsedDate.getUTCDate(), parsedDate.getUTCHours() + maxServerTimeOffsetHours);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
exports.fromServerDate = fromServerDate;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
const types = require('./types-172f53c1.js');
|
|
7
|
+
const fromServerDate = require('./from-server-date-0f5deea0.js');
|
|
7
8
|
const _nodeUtil = require('./_nodeUtil-d0211145.js');
|
|
8
9
|
|
|
9
10
|
/** `Object#toString` result references. */
|
|
@@ -63,19 +64,6 @@ function isUndefined(value) {
|
|
|
63
64
|
return value === undefined;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
function fromServerDate(parsedDate, type) {
|
|
67
|
-
if (type === 'datetime' || type === 'time') {
|
|
68
|
-
return parsedDate;
|
|
69
|
-
}
|
|
70
|
-
// Add hours to make sure we don't change the day when parsing server time,
|
|
71
|
-
// for example "00:00:00+02:00" which correponds to "22:00:00Z".
|
|
72
|
-
// We expect server time zone to be Europe/Stockholm, but we also try
|
|
73
|
-
// to account for 00:00 browser local time in most parts of the world,
|
|
74
|
-
// as well as 12:00 UTC without overflowing to the next day.
|
|
75
|
-
const maxServerTimeOffsetHours = 10;
|
|
76
|
-
return new Date(parsedDate.getUTCFullYear(), parsedDate.getUTCMonth(), parsedDate.getUTCDate(), parsedDate.getUTCHours() + maxServerTimeOffsetHours);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
67
|
/**
|
|
80
68
|
* Create a UTC date with the same values for year, month and day as the given
|
|
81
69
|
* date, but with the time component set to 00:00:00.
|
|
@@ -155,7 +143,7 @@ const DatePicker = class {
|
|
|
155
143
|
if (typeof value === 'string') {
|
|
156
144
|
value = new Date(value);
|
|
157
145
|
}
|
|
158
|
-
return fromServerDate(value, this.type);
|
|
146
|
+
return fromServerDate.fromServerDate(value, this.type);
|
|
159
147
|
}
|
|
160
148
|
get dateTimeFormatter() {
|
|
161
149
|
return this.platform.get(types.PlatformServiceName.DateTimeFormatter);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function fromServerDate(parsedDate, type) {
|
|
2
|
-
if (type === 'datetime' || type === 'time') {
|
|
2
|
+
if (type === 'datetime' || type === 'time' || type === 'timeofday') {
|
|
3
3
|
return parsedDate;
|
|
4
4
|
}
|
|
5
5
|
// Add hours to make sure we don't change the day when parsing server time,
|
package/dist/collection/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { P as PlatformServiceName } from './types.js';
|
|
3
3
|
|
|
4
4
|
function fromServerDate(parsedDate, type) {
|
|
5
|
-
if (type === 'datetime' || type === 'time') {
|
|
5
|
+
if (type === 'datetime' || type === 'time' || type === 'timeofday') {
|
|
6
6
|
return parsedDate;
|
|
7
7
|
}
|
|
8
8
|
// Add hours to make sure we don't change the day when parsing server time,
|
|
@@ -131,4 +131,4 @@ function defineCustomElement() {
|
|
|
131
131
|
} });
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export { DatePicker as D, defineCustomElement as d };
|
|
134
|
+
export { DatePicker as D, defineCustomElement as d, fromServerDate as f };
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
+
export { f as fromServerDate } from './date-picker.js';
|
|
2
3
|
export { LimebbCurrencyPicker, defineCustomElement as defineCustomElementLimebbCurrencyPicker } from './limebb-currency-picker.js';
|
|
3
4
|
export { LimebbDashboardWidget, defineCustomElement as defineCustomElementLimebbDashboardWidget } from './limebb-dashboard-widget.js';
|
|
4
5
|
export { LimebbDatePicker, defineCustomElement as defineCustomElementLimebbDatePicker } from './limebb-date-picker.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function fromServerDate(parsedDate, type) {
|
|
2
|
+
if (type === 'datetime' || type === 'time' || type === 'timeofday') {
|
|
3
|
+
return parsedDate;
|
|
4
|
+
}
|
|
5
|
+
// Add hours to make sure we don't change the day when parsing server time,
|
|
6
|
+
// for example "00:00:00+02:00" which correponds to "22:00:00Z".
|
|
7
|
+
// We expect server time zone to be Europe/Stockholm, but we also try
|
|
8
|
+
// to account for 00:00 browser local time in most parts of the world,
|
|
9
|
+
// as well as 12:00 UTC without overflowing to the next day.
|
|
10
|
+
const maxServerTimeOffsetHours = 10;
|
|
11
|
+
return new Date(parsedDate.getUTCFullYear(), parsedDate.getUTCMonth(), parsedDate.getUTCDate(), parsedDate.getUTCHours() + maxServerTimeOffsetHours);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { fromServerDate as f };
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export { f as fromServerDate } from './from-server-date-f49053b8.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-56451b70.js';
|
|
2
2
|
import { P as PlatformServiceName } from './types-51ecce09.js';
|
|
3
|
+
import { f as fromServerDate } from './from-server-date-f49053b8.js';
|
|
3
4
|
import { i as isObjectLike, b as baseGetTag, d as baseUnary, n as nodeUtil, c as isObject, a as isArray } from './_nodeUtil-75d499c3.js';
|
|
4
5
|
|
|
5
6
|
/** `Object#toString` result references. */
|
|
@@ -59,19 +60,6 @@ function isUndefined(value) {
|
|
|
59
60
|
return value === undefined;
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
function fromServerDate(parsedDate, type) {
|
|
63
|
-
if (type === 'datetime' || type === 'time') {
|
|
64
|
-
return parsedDate;
|
|
65
|
-
}
|
|
66
|
-
// Add hours to make sure we don't change the day when parsing server time,
|
|
67
|
-
// for example "00:00:00+02:00" which correponds to "22:00:00Z".
|
|
68
|
-
// We expect server time zone to be Europe/Stockholm, but we also try
|
|
69
|
-
// to account for 00:00 browser local time in most parts of the world,
|
|
70
|
-
// as well as 12:00 UTC without overflowing to the next day.
|
|
71
|
-
const maxServerTimeOffsetHours = 10;
|
|
72
|
-
return new Date(parsedDate.getUTCFullYear(), parsedDate.getUTCMonth(), parsedDate.getUTCDate(), parsedDate.getUTCHours() + maxServerTimeOffsetHours);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
63
|
/**
|
|
76
64
|
* Create a UTC date with the same values for year, month and day as the given
|
|
77
65
|
* date, but with the time component set to 00:00:00.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{f as fromServerDate}from"./p-982eb42a.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./p-e62edd56.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((e=>l([["p-bd5efb45",[[1,"limebb-example-date-picker-date",{value:[32]}]]],["p-7c32edeb",[[1,"limebb-example-date-picker-datetime",{value:[32]}]]],["p-974a8cb4",[[1,"limebb-example-date-picker-time",{value:[32]}]]],["p-1e1f73b8",[[1,"limebb-example-date-picker-week",{value:[32]}]]],["p-695fda1c",[[1,"limebb-example-currency-picker",{selectedCurrency:[32]}]]],["p-656de967",[[1,"limebb-example-currency-picker-european",{selectedCurrency:[32]}]]],["p-71c645c6",[[1,"limebb-example-currency-picker-nordic",{selectedCurrency:[32]}]]],["p-50b23eb1",[[1,"limebb-example-dashboard-widget"]]],["p-80fb7608",[[1,"limebb-example-dashboard-widget-slots",{filterMyDeals:[32]}]]],["p-e446e43f",[[1,"limebb-example-dashboard-widget-styles"]]],["p-d0a45620",[[1,"limebb-example-date-range"]]],["p-f7d3f308",[[1,"limebb-icon-picker",{value:[1],required:[4],readonly:[4],disabled:[4],label:[1],helperText:[1,"helper-text"]}]]],["p-cf7d0fc5",[[1,"limebb-example-icon-picker",{value:[32]}]]],["p-f7f97c63",[[1,"limebb-example-locale-picker",{value:[1]}]]],["p-13cfc8f8",[[1,"limebb-example-locale-picker-multiple",{value:[1]}]]],["p-fe8c407f",[[1,"limebb-navigation-button",{href:[513],tooltipLabel:[513,"tooltip-label"],tooltipHelperLabel:[513,"tooltip-helper-label"],type:[513]}]]],["p-76d08c12",[[1,"limebb-example-navigation-button-back"]]],["p-e8a9b5f0",[[1,"limebb-example-navigation-button-close"]]],["p-cf23e4e5",[[1,"limebb-example-navigation-button-expand"]]],["p-b5efe489",[[1,"limebb-example-navigation-button-float"]]],["p-39ce5327",[[1,"limebb-example-navigation-button-maximize"]]],["p-a0f05536",[[1,"limebb-example-navigation-button-minimize"]]],["p-3e688ea2",[[1,"limebb-example-navigation-button-new-tab"]]],["p-cc0d79cd",[[1,"limebb-example-navigation-button-shrink"]]],["p-55151587",[[1,"limebb-date-range",{startTime:[16],endTime:[16],startTimeLabel:[1,"start-time-label"],endTimeLabel:[1,"end-time-label"],language:[1],timeFormat:[1,"time-format"],type:[1]}]]],["p-15e3fb8b",[[1,"limebb-locale-picker",{platform:[16],context:[16],value:[1],required:[4],disabled:[4],label:[1],helperText:[1,"helper-text"],readonly:[4],multipleChoice:[4,"multiple-choice"],allLanguages:[32]}]]],["p-1c0609a8",[[1,"limebb-currency-picker",{label:[513],platform:[16],currencies:[16],helperText:[513,"helper-text"],required:[516],readonly:[516],disabled:[516],value:[16]}]]],["p-acde0356",[[1,"limebb-dashboard-widget",{heading:[513],subheading:[513],supportingText:[513,"supporting-text"],icon:[513]}]]],["p-
|
|
1
|
+
import{p as e,b as l}from"./p-e62edd56.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((e=>l([["p-bd5efb45",[[1,"limebb-example-date-picker-date",{value:[32]}]]],["p-7c32edeb",[[1,"limebb-example-date-picker-datetime",{value:[32]}]]],["p-974a8cb4",[[1,"limebb-example-date-picker-time",{value:[32]}]]],["p-1e1f73b8",[[1,"limebb-example-date-picker-week",{value:[32]}]]],["p-695fda1c",[[1,"limebb-example-currency-picker",{selectedCurrency:[32]}]]],["p-656de967",[[1,"limebb-example-currency-picker-european",{selectedCurrency:[32]}]]],["p-71c645c6",[[1,"limebb-example-currency-picker-nordic",{selectedCurrency:[32]}]]],["p-50b23eb1",[[1,"limebb-example-dashboard-widget"]]],["p-80fb7608",[[1,"limebb-example-dashboard-widget-slots",{filterMyDeals:[32]}]]],["p-e446e43f",[[1,"limebb-example-dashboard-widget-styles"]]],["p-d0a45620",[[1,"limebb-example-date-range"]]],["p-f7d3f308",[[1,"limebb-icon-picker",{value:[1],required:[4],readonly:[4],disabled:[4],label:[1],helperText:[1,"helper-text"]}]]],["p-cf7d0fc5",[[1,"limebb-example-icon-picker",{value:[32]}]]],["p-f7f97c63",[[1,"limebb-example-locale-picker",{value:[1]}]]],["p-13cfc8f8",[[1,"limebb-example-locale-picker-multiple",{value:[1]}]]],["p-fe8c407f",[[1,"limebb-navigation-button",{href:[513],tooltipLabel:[513,"tooltip-label"],tooltipHelperLabel:[513,"tooltip-helper-label"],type:[513]}]]],["p-76d08c12",[[1,"limebb-example-navigation-button-back"]]],["p-e8a9b5f0",[[1,"limebb-example-navigation-button-close"]]],["p-cf23e4e5",[[1,"limebb-example-navigation-button-expand"]]],["p-b5efe489",[[1,"limebb-example-navigation-button-float"]]],["p-39ce5327",[[1,"limebb-example-navigation-button-maximize"]]],["p-a0f05536",[[1,"limebb-example-navigation-button-minimize"]]],["p-3e688ea2",[[1,"limebb-example-navigation-button-new-tab"]]],["p-cc0d79cd",[[1,"limebb-example-navigation-button-shrink"]]],["p-55151587",[[1,"limebb-date-range",{startTime:[16],endTime:[16],startTimeLabel:[1,"start-time-label"],endTimeLabel:[1,"end-time-label"],language:[1],timeFormat:[1,"time-format"],type:[1]}]]],["p-15e3fb8b",[[1,"limebb-locale-picker",{platform:[16],context:[16],value:[1],required:[4],disabled:[4],label:[1],helperText:[1,"helper-text"],readonly:[4],multipleChoice:[4,"multiple-choice"],allLanguages:[32]}]]],["p-1c0609a8",[[1,"limebb-currency-picker",{label:[513],platform:[16],currencies:[16],helperText:[513,"helper-text"],required:[516],readonly:[516],disabled:[516],value:[16]}]]],["p-acde0356",[[1,"limebb-dashboard-widget",{heading:[513],subheading:[513],supportingText:[513,"supporting-text"],icon:[513]}]]],["p-00b0a438",[[1,"limebb-date-picker",{platform:[16],context:[16],disabled:[516],readonly:[516],invalid:[516],label:[513],placeholder:[513],helperText:[513,"helper-text"],required:[516],value:[1],type:[513]}],[0,"limebb-example-value",{label:[513],value:[8]}]]]],e)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as i}from"./p-e62edd56.js";import{P as r}from"./p-03d64f35.js";import{f as s}from"./p-982eb42a.js";import{i as o,b as a,d as n,n as h,c as l,a as d}from"./p-1152b64f.js";var m=h&&h.isDate,c=m?n(m):function(e){return o(e)&&"[object Date]"==a(e)};const p=class{constructor(i){e(this,i),this.change=t(this,"change",7),this.disabled=!1,this.readonly=!1,this.invalid=!1,this.required=!1,this.type="datetime",this.shouldEmitValueAsString=!0,this.handleChange=e=>{if(!e.detail)return;e.stopPropagation();const t=(i=e.detail,"datetime"===(r=this.type)||"time"===r?i:new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate())));var i,r;this.change.emit(this.shouldEmitValueAsString?t.toISOString():t)},this.formatter=e=>this.dateTimeFormatter.format(e,u[this.type]||this.type)}render(){return this.value&&(this.shouldEmitValueAsString="string"==typeof this.value),i("limel-date-picker",{disabled:this.disabled,readonly:this.readonly,invalid:this.invalid,label:this.label,placeholder:this.placeholder,helperText:this.helperText,required:this.required,value:this.parseDateValue(),type:this.type,formatter:this.formatter,onChange:this.handleChange})}parseDateValue(){let e=this.value;if(e)return"string"==typeof e&&(e=new Date(e)),s(e,this.type)}get dateTimeFormatter(){return this.platform.get(r.DateTimeFormatter)}},u={datetime:"time",time:"timeofday"},b=class{constructor(t){e(this,t),this.label="Value"}render(){return i("p",null,this.label,": ",this.format(this.value))}format(e){return void 0===e?i("code",null,"undefined"):c(e)?i("code",null,e.toString()):l(e)||d(e)?i("pre",null,i("code",null,JSON.stringify(e,null,2))):i("code",null,JSON.stringify(e,null,2))}};b.style='code{font-family:"Source Code Pro", monospace;font-size:0.75rem;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;display:inline-block;border-radius:0.1875rem;padding:0.0625rem 0.3125rem;color:rgb(var(--kompendium-contrast-1300));background-color:rgb(var(--kompendium-contrast-600))}pre>code{display:block;border-radius:0.5rem;margin:0.5rem 0;padding:1rem;overflow:auto;white-space:pre-wrap;color:rgb(var(--kompendium-contrast-800));background-color:rgb(var(--kompendium-contrast-1600))}';export{p as limebb_date_picker,b as limebb_example_value}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){return"datetime"===t||"time"===t||"timeofday"===t?e:new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()+10)}export{e as f}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { DateType } from '@limetech/lime-elements';
|
|
2
|
-
|
|
2
|
+
import { DateTimeType } from '@limetech/lime-web-components';
|
|
3
|
+
export declare function fromServerDate(parsedDate: Date, type: DateType | DateTimeType): Date;
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-crm-building-blocks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "A home for shared components meant for use with Lime CRM",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"es2015": "dist/esm/index.mjs",
|
|
8
8
|
"es2017": "dist/esm/index.mjs",
|
|
9
|
-
"types": "dist/types/
|
|
9
|
+
"types": "dist/types/index.d.ts",
|
|
10
10
|
"collection": "dist/collection/collection-manifest.json",
|
|
11
11
|
"collection:main": "dist/collection/index.js",
|
|
12
12
|
"unpkg": "dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@limetech/lime-elements": "^37.1.0-next.
|
|
44
|
+
"@limetech/lime-elements": "^37.1.0-next.42",
|
|
45
45
|
"@limetech/lime-web-components": "^5.12.0",
|
|
46
46
|
"@lundalogik/lime-icons8": "^2.11.0",
|
|
47
47
|
"@stencil/core": "<2.19.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as i}from"./p-e62edd56.js";import{P as r}from"./p-03d64f35.js";import{i as s,b as a,d as o,n,c as h,a as l}from"./p-1152b64f.js";var d=n&&n.isDate,m=d?o(d):function(e){return s(e)&&"[object Date]"==a(e)};const c=class{constructor(i){e(this,i),this.change=t(this,"change",7),this.disabled=!1,this.readonly=!1,this.invalid=!1,this.required=!1,this.type="datetime",this.shouldEmitValueAsString=!0,this.handleChange=e=>{if(!e.detail)return;e.stopPropagation();const t=(i=e.detail,"datetime"===(r=this.type)||"time"===r?i:new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate())));var i,r;this.change.emit(this.shouldEmitValueAsString?t.toISOString():t)},this.formatter=e=>this.dateTimeFormatter.format(e,p[this.type]||this.type)}render(){return this.value&&(this.shouldEmitValueAsString="string"==typeof this.value),i("limel-date-picker",{disabled:this.disabled,readonly:this.readonly,invalid:this.invalid,label:this.label,placeholder:this.placeholder,helperText:this.helperText,required:this.required,value:this.parseDateValue(),type:this.type,formatter:this.formatter,onChange:this.handleChange})}parseDateValue(){let e=this.value;var t,i;if(e)return"string"==typeof e&&(e=new Date(e)),t=e,"datetime"===(i=this.type)||"time"===i?t:new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()+10)}get dateTimeFormatter(){return this.platform.get(r.DateTimeFormatter)}},p={datetime:"time",time:"timeofday"},u=class{constructor(t){e(this,t),this.label="Value"}render(){return i("p",null,this.label,": ",this.format(this.value))}format(e){return void 0===e?i("code",null,"undefined"):m(e)?i("code",null,e.toString()):h(e)||l(e)?i("pre",null,i("code",null,JSON.stringify(e,null,2))):i("code",null,JSON.stringify(e,null,2))}};u.style='code{font-family:"Source Code Pro", monospace;font-size:0.75rem;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;display:inline-block;border-radius:0.1875rem;padding:0.0625rem 0.3125rem;color:rgb(var(--kompendium-contrast-1300));background-color:rgb(var(--kompendium-contrast-600))}pre>code{display:block;border-radius:0.5rem;margin:0.5rem 0;padding:1rem;overflow:auto;white-space:pre-wrap;color:rgb(var(--kompendium-contrast-800));background-color:rgb(var(--kompendium-contrast-1600))}';export{c as limebb_date_picker,u as limebb_example_value}
|