@limetech/lime-crm-building-blocks 1.5.0 → 1.6.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/{index-7e39f868.js → index-c40f4fe5.js} +2 -88
- package/dist/cjs/lime-crm-building-blocks.cjs.js +3 -7
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +19 -10
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -5
- package/dist/cjs/limebb-date-picker_2.cjs.entry.js +31 -14
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -8
- package/dist/cjs/limebb-example-currency-picker-european.cjs.entry.js +1 -2
- package/dist/cjs/limebb-example-currency-picker-nordic.cjs.entry.js +1 -2
- package/dist/cjs/limebb-example-currency-picker.cjs.entry.js +1 -2
- package/dist/cjs/limebb-example-dashboard-widget-slots.cjs.entry.js +1 -2
- package/dist/cjs/limebb-example-dashboard-widget-styles.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-date-picker-date.cjs.entry.js +4 -4
- package/dist/cjs/limebb-example-date-picker-datetime.cjs.entry.js +4 -4
- package/dist/cjs/limebb-example-date-picker-time.cjs.entry.js +4 -4
- package/dist/cjs/limebb-example-date-picker-week.cjs.entry.js +4 -4
- package/dist/cjs/limebb-example-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-icon-picker.cjs.entry.js +20 -0
- package/dist/cjs/limebb-example-navigation-button-back.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-close.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-expand.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-float.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-new-tab.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-shrink.cjs.entry.js +1 -1
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +24588 -0
- package/dist/cjs/limebb-navigation-button.cjs.entry.js +1 -5
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/{platform-eea0cbb5.js → platform-31a9e228.js} +1 -1
- package/dist/cjs/{types-42980991.js → types-8bf20167.js} +6 -3
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/currency-picker/currency-picker.js +17 -8
- package/dist/collection/components/currency-picker/examples/currency-picker-european.js +0 -1
- package/dist/collection/components/currency-picker/examples/currency-picker-nordic.js +0 -1
- package/dist/collection/components/currency-picker/examples/currency-picker.js +0 -1
- package/dist/collection/components/dashboard-widget/dashboard-widget.js +0 -4
- package/dist/collection/components/dashboard-widget/examples/dashboard-widget-slots.js +0 -1
- package/dist/collection/components/date-picker/date-picker.js +26 -11
- package/dist/collection/components/date-picker/examples/date-picker-date.js +1 -1
- package/dist/collection/components/date-picker/examples/date-picker-datetime.js +1 -1
- package/dist/collection/components/date-picker/examples/date-picker-time.js +1 -1
- package/dist/collection/components/date-picker/examples/date-picker-week.js +1 -1
- package/dist/collection/components/date-range/date-range.js +0 -7
- package/dist/collection/components/icon-picker/examples/icon-picker.js +23 -0
- package/dist/collection/components/icon-picker/icon-picker.js +189 -0
- package/dist/collection/components/icon-picker/search.js +17 -0
- package/dist/collection/components/navigation-button/navigation-button.css +8 -0
- package/dist/collection/components/navigation-button/navigation-button.js +0 -4
- package/dist/collection/examples/example-value.js +3 -1
- package/dist/components/currency-picker.js +17 -8
- package/dist/components/dashboard-widget.js +0 -4
- package/dist/components/date-picker.js +26 -11
- package/dist/components/date-range.js +0 -7
- package/dist/components/example-value.js +3 -1
- package/dist/components/icon-picker.js +24606 -0
- package/dist/components/index.d.ts +2 -9
- package/dist/components/index.js +3 -1
- package/dist/components/limebb-example-currency-picker-european.js +0 -1
- package/dist/components/limebb-example-currency-picker-nordic.js +0 -1
- package/dist/components/limebb-example-currency-picker.js +0 -1
- package/dist/components/limebb-example-dashboard-widget-slots.js +0 -1
- package/dist/components/limebb-example-date-picker-date.js +1 -1
- package/dist/components/limebb-example-date-picker-datetime.js +1 -1
- package/dist/components/limebb-example-date-picker-time.js +1 -1
- package/dist/components/limebb-example-date-picker-week.js +1 -1
- package/dist/components/limebb-example-icon-picker.d.ts +11 -0
- package/dist/components/limebb-example-icon-picker.js +42 -0
- package/dist/components/limebb-icon-picker.d.ts +11 -0
- package/dist/components/limebb-icon-picker.js +6 -0
- package/dist/components/navigation-button.js +0 -4
- package/dist/components/types.js +6 -3
- package/dist/esm/{index-9b8b9922.js → index-56451b70.js} +3 -88
- package/dist/esm/lime-crm-building-blocks.js +3 -4
- package/dist/esm/limebb-currency-picker.entry.js +19 -10
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -5
- package/dist/esm/limebb-date-picker_2.entry.js +31 -14
- package/dist/esm/limebb-date-range.entry.js +1 -8
- package/dist/esm/limebb-example-currency-picker-european.entry.js +1 -2
- package/dist/esm/limebb-example-currency-picker-nordic.entry.js +1 -2
- package/dist/esm/limebb-example-currency-picker.entry.js +1 -2
- package/dist/esm/limebb-example-dashboard-widget-slots.entry.js +1 -2
- package/dist/esm/limebb-example-dashboard-widget-styles.entry.js +1 -1
- package/dist/esm/limebb-example-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-example-date-picker-date.entry.js +4 -4
- package/dist/esm/limebb-example-date-picker-datetime.entry.js +4 -4
- package/dist/esm/limebb-example-date-picker-time.entry.js +4 -4
- package/dist/esm/limebb-example-date-picker-week.entry.js +4 -4
- package/dist/esm/limebb-example-date-range.entry.js +1 -1
- package/dist/esm/limebb-example-icon-picker.entry.js +16 -0
- package/dist/esm/limebb-example-navigation-button-back.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-close.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-expand.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-float.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-new-tab.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-shrink.entry.js +1 -1
- package/dist/esm/limebb-icon-picker.entry.js +24584 -0
- package/dist/esm/limebb-navigation-button.entry.js +1 -5
- package/dist/esm/loader.js +3 -4
- package/dist/esm/{platform-23970ace.js → platform-054cff31.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{types-48b2b062.js → types-48b6ad13.js} +6 -3
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/p-094bcd6e.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-20a35850.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-3e688ea2.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-50b23eb1.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-55151587.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-5fbc9f13.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-60ab511d.js +1 -0
- package/dist/lime-crm-building-blocks/p-656de967.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-695fda1c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-71c645c6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-738fc39c.entry.js → p-76d08c12.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-7ee88de5.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-36e761f6.entry.js → p-80fb7608.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-870f38e5.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-9feebd62.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-acde0356.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-ea3b7f7a.entry.js → p-b5efe489.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-bae72762.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-77c8c413.entry.js → p-cc0d79cd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-74d5e8db.entry.js → p-cf23e4e5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-cf7d0fc5.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-faa8f560.entry.js → p-d0a45620.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b2511722.entry.js → p-e446e43f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e62edd56.js +2 -0
- package/dist/lime-crm-building-blocks/p-e8a9b5f0.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-f7d3f308.entry.js +1 -0
- package/dist/types/components/icon-picker/examples/icon-picker.d.ts +9 -0
- package/dist/types/components/icon-picker/icon-picker.d.ts +55 -0
- package/dist/types/components/icon-picker/search.d.ts +7 -0
- package/dist/types/components/navigation-button/navigation-button.types.d.ts +1 -1
- package/dist/types/components.d.ts +94 -744
- package/dist/types/stencil-public-runtime.d.ts +3 -64
- package/loader/index.d.ts +0 -9
- package/package.json +15 -14
- package/dist/lime-crm-building-blocks/p-0cca2b88.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-125ed5ac.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-239f5d45.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-368b709b.js +0 -2
- package/dist/lime-crm-building-blocks/p-3db63360.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-45c051cc.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6c8db40b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6ec77cc2.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-7644cbda.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-83c4cdb3.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-893b09c2.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-9018fbdb.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-9fe4d988.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-a88e7307.js +0 -1
- package/dist/lime-crm-building-blocks/p-b9cfad7c.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-c5e23e37.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f053422d.entry.js +0 -1
- /package/dist/lime-crm-building-blocks/{p-248f6cc5.js → p-66287aed.js} +0 -0
|
@@ -63,18 +63,6 @@ const isComplexType = (o) => {
|
|
|
63
63
|
o = typeof o;
|
|
64
64
|
return o === 'object' || o === 'function';
|
|
65
65
|
};
|
|
66
|
-
/**
|
|
67
|
-
* Helper method for querying a `meta` tag that contains a nonce value
|
|
68
|
-
* out of a DOM's head.
|
|
69
|
-
*
|
|
70
|
-
* @param doc The DOM containing the `head` to query against
|
|
71
|
-
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
72
|
-
* exists or the tag has no content.
|
|
73
|
-
*/
|
|
74
|
-
function queryNonceMetaTagContent(doc) {
|
|
75
|
-
var _a, _b, _c;
|
|
76
|
-
return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
|
|
77
|
-
}
|
|
78
66
|
/**
|
|
79
67
|
* Production h() function based on Preact by
|
|
80
68
|
* Jason Miller (@developit)
|
|
@@ -83,6 +71,7 @@ function queryNonceMetaTagContent(doc) {
|
|
|
83
71
|
*
|
|
84
72
|
* Modified for Stencil's compiler and vdom
|
|
85
73
|
*/
|
|
74
|
+
// const stack: any[] = [];
|
|
86
75
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
87
76
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
88
77
|
const h = (nodeName, vnodeData, ...children) => {
|
|
@@ -133,14 +122,6 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
133
122
|
}
|
|
134
123
|
return vnode;
|
|
135
124
|
};
|
|
136
|
-
/**
|
|
137
|
-
* A utility function for creating a virtual DOM node from a tag and some
|
|
138
|
-
* possible text content.
|
|
139
|
-
*
|
|
140
|
-
* @param tag the tag for this element
|
|
141
|
-
* @param text possible text content for the node
|
|
142
|
-
* @returns a newly-minted virtual DOM node
|
|
143
|
-
*/
|
|
144
125
|
const newVNode = (tag, text) => {
|
|
145
126
|
const vnode = {
|
|
146
127
|
$flags$: 0,
|
|
@@ -155,12 +136,6 @@ const newVNode = (tag, text) => {
|
|
|
155
136
|
return vnode;
|
|
156
137
|
};
|
|
157
138
|
const Host = {};
|
|
158
|
-
/**
|
|
159
|
-
* Check whether a given node is a Host node or not
|
|
160
|
-
*
|
|
161
|
-
* @param node the virtual DOM node to check
|
|
162
|
-
* @returns whether it's a Host node or not
|
|
163
|
-
*/
|
|
164
139
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
165
140
|
/**
|
|
166
141
|
* Parse a new property value for a given property type.
|
|
@@ -249,7 +224,6 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
249
224
|
styles.set(scopeId, style);
|
|
250
225
|
};
|
|
251
226
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
252
|
-
var _a;
|
|
253
227
|
let scopeId = getScopeId(cmpMeta);
|
|
254
228
|
const style = styles.get(scopeId);
|
|
255
229
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
@@ -269,11 +243,6 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
269
243
|
styleElm = doc.createElement('style');
|
|
270
244
|
styleElm.innerHTML = style;
|
|
271
245
|
}
|
|
272
|
-
// Apply CSP nonce to the style tag if it exists
|
|
273
|
-
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
274
|
-
if (nonce != null) {
|
|
275
|
-
styleElm.setAttribute('nonce', nonce);
|
|
276
|
-
}
|
|
277
246
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
278
247
|
}
|
|
279
248
|
if (appliedStyles) {
|
|
@@ -472,21 +441,6 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
472
441
|
}
|
|
473
442
|
return elm;
|
|
474
443
|
};
|
|
475
|
-
/**
|
|
476
|
-
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
477
|
-
* add them to the DOM in the appropriate place.
|
|
478
|
-
*
|
|
479
|
-
* @param parentElm the DOM node which should be used as a parent for the new
|
|
480
|
-
* DOM nodes
|
|
481
|
-
* @param before a child of the `parentElm` which the new children should be
|
|
482
|
-
* inserted before (optional)
|
|
483
|
-
* @param parentVNode the parent virtual DOM node
|
|
484
|
-
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
485
|
-
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
486
|
-
* creating DOM nodes (inclusive)
|
|
487
|
-
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
488
|
-
* creating DOM nodes (inclusive)
|
|
489
|
-
*/
|
|
490
444
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
491
445
|
let containerElm = (parentElm);
|
|
492
446
|
let childNode;
|
|
@@ -503,19 +457,6 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
503
457
|
}
|
|
504
458
|
}
|
|
505
459
|
};
|
|
506
|
-
/**
|
|
507
|
-
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
508
|
-
* This can be used to, for instance, clean up after a list of children which
|
|
509
|
-
* should no longer be shown.
|
|
510
|
-
*
|
|
511
|
-
* This function also handles some of Stencil's slot relocation logic.
|
|
512
|
-
*
|
|
513
|
-
* @param vnodes a list of virtual DOM nodes to remove
|
|
514
|
-
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
515
|
-
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
516
|
-
* @param vnode a VNode
|
|
517
|
-
* @param elm an element
|
|
518
|
-
*/
|
|
519
460
|
const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
520
461
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
521
462
|
if ((vnode = vnodes[startIdx])) {
|
|
@@ -707,8 +648,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
707
648
|
*
|
|
708
649
|
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
709
650
|
* changing order within a `children` array or something along those lines then
|
|
710
|
-
* we could obtain a false
|
|
711
|
-
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
651
|
+
* we could obtain a false positive and then have to do needless re-rendering.
|
|
712
652
|
*
|
|
713
653
|
* @param leftVNode the first VNode to check
|
|
714
654
|
* @param rightVNode the second VNode to check
|
|
@@ -772,18 +712,6 @@ const patch = (oldVNode, newVNode) => {
|
|
|
772
712
|
elm.data = text;
|
|
773
713
|
}
|
|
774
714
|
};
|
|
775
|
-
/**
|
|
776
|
-
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
777
|
-
*
|
|
778
|
-
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
779
|
-
* function will handle creating a virtual DOM tree with a single root, patching
|
|
780
|
-
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
781
|
-
* relocation, and reflecting attributes.
|
|
782
|
-
*
|
|
783
|
-
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
784
|
-
* the DOM node into which it should be rendered.
|
|
785
|
-
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
786
|
-
*/
|
|
787
715
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
788
716
|
const hostElm = hostRef.$hostElement$;
|
|
789
717
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -1202,7 +1130,6 @@ const disconnectedCallback = (elm) => {
|
|
|
1202
1130
|
}
|
|
1203
1131
|
};
|
|
1204
1132
|
const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1205
|
-
var _a;
|
|
1206
1133
|
const endBootstrap = createTime();
|
|
1207
1134
|
const cmpTags = [];
|
|
1208
1135
|
const exclude = options.exclude || [];
|
|
@@ -1279,11 +1206,6 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1279
1206
|
{
|
|
1280
1207
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1281
1208
|
visibilityStyle.setAttribute('data-styles', '');
|
|
1282
|
-
// Apply CSP nonce to the style tag if it exists
|
|
1283
|
-
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1284
|
-
if (nonce != null) {
|
|
1285
|
-
visibilityStyle.setAttribute('nonce', nonce);
|
|
1286
|
-
}
|
|
1287
1209
|
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1288
1210
|
}
|
|
1289
1211
|
// Process deferred connectedCallbacks now all components have been registered
|
|
@@ -1299,13 +1221,6 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1299
1221
|
// Fallback appLoad event
|
|
1300
1222
|
endBootstrap();
|
|
1301
1223
|
};
|
|
1302
|
-
/**
|
|
1303
|
-
* Assigns the given value to the nonce property on the runtime platform object.
|
|
1304
|
-
* During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
|
|
1305
|
-
* @param nonce The value to be assigned to the platform nonce property.
|
|
1306
|
-
* @returns void
|
|
1307
|
-
*/
|
|
1308
|
-
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
1309
1224
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1310
1225
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1311
1226
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -1417,4 +1332,3 @@ exports.createEvent = createEvent;
|
|
|
1417
1332
|
exports.h = h;
|
|
1418
1333
|
exports.promiseResolve = promiseResolve;
|
|
1419
1334
|
exports.registerInstance = registerInstance;
|
|
1420
|
-
exports.setNonce = setNonce;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-7e39f868.js');
|
|
3
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
4
|
|
|
7
5
|
/*
|
|
8
|
-
Stencil Client Patch Browser v2.
|
|
6
|
+
Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
9
7
|
*/
|
|
10
8
|
const patchBrowser = () => {
|
|
11
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lime-crm-building-blocks.cjs.js', document.baseURI).href));
|
|
@@ -17,7 +15,5 @@ const patchBrowser = () => {
|
|
|
17
15
|
};
|
|
18
16
|
|
|
19
17
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["limebb-example-date-picker-date.cjs",[[1,"limebb-example-date-picker-date",{"value":[32]}]]],["limebb-example-date-picker-datetime.cjs",[[1,"limebb-example-date-picker-datetime",{"value":[32]}]]],["limebb-example-date-picker-time.cjs",[[1,"limebb-example-date-picker-time",{"value":[32]}]]],["limebb-example-date-picker-week.cjs",[[1,"limebb-example-date-picker-week",{"value":[32]}]]],["limebb-example-currency-picker.cjs",[[1,"limebb-example-currency-picker",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-european.cjs",[[1,"limebb-example-currency-picker-european",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-nordic.cjs",[[1,"limebb-example-currency-picker-nordic",{"selectedCurrency":[32]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget"
|
|
18
|
+
return index.bootstrapLazy([["limebb-example-date-picker-date.cjs",[[1,"limebb-example-date-picker-date",{"value":[32]}]]],["limebb-example-date-picker-datetime.cjs",[[1,"limebb-example-date-picker-datetime",{"value":[32]}]]],["limebb-example-date-picker-time.cjs",[[1,"limebb-example-date-picker-time",{"value":[32]}]]],["limebb-example-date-picker-week.cjs",[[1,"limebb-example-date-picker-week",{"value":[32]}]]],["limebb-example-currency-picker.cjs",[[1,"limebb-example-currency-picker",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-european.cjs",[[1,"limebb-example-currency-picker-european",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-nordic.cjs",[[1,"limebb-example-currency-picker-nordic",{"selectedCurrency":[32]}]]],["limebb-example-dashboard-widget.cjs",[[1,"limebb-example-dashboard-widget"]]],["limebb-example-dashboard-widget-slots.cjs",[[1,"limebb-example-dashboard-widget-slots",{"filterMyDeals":[32]}]]],["limebb-example-dashboard-widget-styles.cjs",[[1,"limebb-example-dashboard-widget-styles"]]],["limebb-example-date-range.cjs",[[1,"limebb-example-date-range"]]],["limebb-example-icon-picker.cjs",[[1,"limebb-example-icon-picker",{"value":[32]}]]],["limebb-navigation-button.cjs",[[1,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-example-navigation-button-back.cjs",[[1,"limebb-example-navigation-button-back"]]],["limebb-example-navigation-button-close.cjs",[[1,"limebb-example-navigation-button-close"]]],["limebb-example-navigation-button-expand.cjs",[[1,"limebb-example-navigation-button-expand"]]],["limebb-example-navigation-button-float.cjs",[[1,"limebb-example-navigation-button-float"]]],["limebb-example-navigation-button-new-tab.cjs",[[1,"limebb-example-navigation-button-new-tab"]]],["limebb-example-navigation-button-shrink.cjs",[[1,"limebb-example-navigation-button-shrink"]]],["limebb-date-range.cjs",[[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]}]]],["limebb-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-currency-picker.cjs",[[1,"limebb-currency-picker",{"label":[513],"platform":[16],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"disabled":[516],"value":[16]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-date-picker_2.cjs",[[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]}]]]], options);
|
|
21
19
|
});
|
|
22
|
-
|
|
23
|
-
exports.setNonce = index.setNonce;
|
|
@@ -2,14 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const types = require('./types-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
|
+
const types = require('./types-8bf20167.js');
|
|
7
7
|
const currencies = require('./currencies-98ac425a.js');
|
|
8
8
|
|
|
9
9
|
const CurrencyPicker = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.change = index.createEvent(this, "change", 7);
|
|
13
|
+
/**
|
|
14
|
+
* The list of currencies. If currencies are not provided it will default to `allCurrencies`,
|
|
15
|
+
* We also support ´nordicMarketCurrencies´ and ´europeanMarketCurrencies´.
|
|
16
|
+
*/
|
|
17
|
+
this.currencies = currencies.allCurrencies;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the current property is required
|
|
20
|
+
*/
|
|
21
|
+
this.required = false;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the current property is readonly
|
|
24
|
+
*/
|
|
25
|
+
this.readonly = false;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the current property is disabled
|
|
28
|
+
*/
|
|
29
|
+
this.disabled = false;
|
|
13
30
|
this.search = (query) => {
|
|
14
31
|
return new Promise((resolve) => {
|
|
15
32
|
if (query === '') {
|
|
@@ -27,14 +44,6 @@ const CurrencyPicker = class {
|
|
|
27
44
|
event.stopPropagation();
|
|
28
45
|
this.change.emit(event.detail);
|
|
29
46
|
};
|
|
30
|
-
this.label = undefined;
|
|
31
|
-
this.platform = undefined;
|
|
32
|
-
this.currencies = currencies.allCurrencies;
|
|
33
|
-
this.helperText = undefined;
|
|
34
|
-
this.required = false;
|
|
35
|
-
this.readonly = false;
|
|
36
|
-
this.disabled = false;
|
|
37
|
-
this.value = undefined;
|
|
38
47
|
}
|
|
39
48
|
render() {
|
|
40
49
|
return (index.h("limel-picker", { label: this.label || this.defaultLabel, value: this.value, helperText: this.helperText, onChange: this.handleChange, badgeIcons: false, disabled: this.disabled, required: this.required, readonly: this.readonly, searcher: this.search }));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
|
|
7
7
|
const dashboardWidgetCss = ":host(limebb-dashboard-widget){--dashboard-widget-background-color:var(\n --start-page-grid-widget-background-color,\n rgb(var(--contrast-100))\n );--header-icon-color:var(--dashboard-widget-icon-color);--header-background-color:var(\n --dashboard-widget-header-background-color,\n var(--start-page-grid-widget-header-color)\n );--dashboard-widget-border-radius:var(\n --start-page-grid-widget-border-radius,\n 1rem\n );--header-top-right-left-border-radius:0;display:flex;flex-direction:column;border-radius:var(--dashboard-widget-border-radius);background-color:var(--dashboard-widget-background-color);height:100%;width:100%;overflow:hidden}";
|
|
8
8
|
|
|
@@ -18,10 +18,6 @@ const DashboardComponent = class {
|
|
|
18
18
|
}
|
|
19
19
|
return (index.h("limel-header", { heading: this.heading, subheading: this.subheading, supportingText: this.supportingText, icon: this.icon }, index.h("slot", { name: "header-actions" })));
|
|
20
20
|
};
|
|
21
|
-
this.heading = undefined;
|
|
22
|
-
this.subheading = undefined;
|
|
23
|
-
this.supportingText = undefined;
|
|
24
|
-
this.icon = undefined;
|
|
25
21
|
}
|
|
26
22
|
render() {
|
|
27
23
|
return [this.renderHeader(), index.h("slot", { name: "content" })];
|
|
@@ -2,13 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const types = require('./types-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
|
+
const types = require('./types-8bf20167.js');
|
|
7
7
|
|
|
8
8
|
const DatePicker = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
index.registerInstance(this, hostRef);
|
|
11
11
|
this.change = index.createEvent(this, "change", 7);
|
|
12
|
+
/**
|
|
13
|
+
* Set to `true` to disable the field.
|
|
14
|
+
* Use `disabled` to indicate that the field can normally be interacted
|
|
15
|
+
* with, but is currently disabled. This tells the user that if certain
|
|
16
|
+
* requirements are met, the field may become enabled again.
|
|
17
|
+
*/
|
|
18
|
+
this.disabled = false;
|
|
19
|
+
/**
|
|
20
|
+
* Set to `true` to make the field read-only.
|
|
21
|
+
* Use `readonly` when the field is only there to present the data it holds,
|
|
22
|
+
* and will not become possible for the current user to edit.
|
|
23
|
+
*/
|
|
24
|
+
this.readonly = false;
|
|
25
|
+
/**
|
|
26
|
+
* Set to `true` to indicate that the current value of the date picker is
|
|
27
|
+
* invalid.
|
|
28
|
+
*/
|
|
29
|
+
this.invalid = false;
|
|
30
|
+
/**
|
|
31
|
+
* Set to `true` to indicate that the field is required.
|
|
32
|
+
*/
|
|
33
|
+
this.required = false;
|
|
34
|
+
/**
|
|
35
|
+
* Type of date picker.
|
|
36
|
+
*/
|
|
37
|
+
this.type = 'datetime';
|
|
12
38
|
this.handleChange = (event) => {
|
|
13
39
|
event.stopPropagation();
|
|
14
40
|
if (typeof this.value === 'string') {
|
|
@@ -18,17 +44,6 @@ const DatePicker = class {
|
|
|
18
44
|
this.change.emit(event.detail);
|
|
19
45
|
};
|
|
20
46
|
this.formatter = (value) => this.dateTimeFormatter.format(value, dateTimePropertyTypes[this.type] || this.type);
|
|
21
|
-
this.platform = undefined;
|
|
22
|
-
this.context = undefined;
|
|
23
|
-
this.disabled = false;
|
|
24
|
-
this.readonly = false;
|
|
25
|
-
this.invalid = false;
|
|
26
|
-
this.label = undefined;
|
|
27
|
-
this.placeholder = undefined;
|
|
28
|
-
this.helperText = undefined;
|
|
29
|
-
this.required = false;
|
|
30
|
-
this.value = undefined;
|
|
31
|
-
this.type = 'datetime';
|
|
32
47
|
}
|
|
33
48
|
render() {
|
|
34
49
|
const value = typeof this.value === 'string' ? new Date(this.value) : this.value;
|
|
@@ -327,8 +342,10 @@ const exampleValueCss = "code{font-family:\"Source Code Pro\", monospace;font-si
|
|
|
327
342
|
const ExampleValue = class {
|
|
328
343
|
constructor(hostRef) {
|
|
329
344
|
index.registerInstance(this, hostRef);
|
|
345
|
+
/**
|
|
346
|
+
* A label describing the value.
|
|
347
|
+
*/
|
|
330
348
|
this.label = 'Value';
|
|
331
|
-
this.value = undefined;
|
|
332
349
|
}
|
|
333
350
|
render() {
|
|
334
351
|
return (index.h("p", null, this.label, ": ", this.format(this.value)));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
|
|
7
7
|
const dateRangeCss = ":host(limebb-date-range){isolation:isolate;display:block;position:relative}*{box-sizing:border-box}.date-pickers{display:grid;grid-template-columns:repeat(auto-fit, minmax(13.5rem, 1fr));gap:0.5rem;padding:0.75rem 1rem 1.25rem 1rem}.label-group{display:flex;align-items:center;margin-bottom:0.25rem}.end-time .label-group{flex-direction:row-reverse}.label-group .label{font-size:0.75rem;padding:0 0.25rem}.label-group .circle{flex-shrink:0;width:0.5rem;height:0.5rem;border-radius:50%}.start-time .label-group .circle{background-color:rgb(var(--color-green-default))}.end-time .label-group .circle{background-color:rgb(var(--color-coral-default))}.label-group .line{flex-grow:1;height:0.25rem;border-radius:1rem}.start-time .label-group .line{background-image:linear-gradient(to right, rgb(var(--color-green-light)), rgb(var(--contrast-400)) 30%)}.end-time .label-group .line{background-image:linear-gradient(to left, rgb(var(--color-coral-light)), rgb(var(--contrast-400)) 30%)}.date-pickers:has(>:last-child:nth-child(2)) .start-time .line{margin-right:-0.5rem}.date-pickers:has(>:last-child:nth-child(2)) .end-time .line{margin-left:-0.5rem}";
|
|
8
8
|
|
|
@@ -19,13 +19,6 @@ const DateRange = class {
|
|
|
19
19
|
event.stopPropagation();
|
|
20
20
|
this.changeEndTime.emit(event.detail);
|
|
21
21
|
};
|
|
22
|
-
this.startTime = undefined;
|
|
23
|
-
this.endTime = undefined;
|
|
24
|
-
this.startTimeLabel = undefined;
|
|
25
|
-
this.endTimeLabel = undefined;
|
|
26
|
-
this.language = undefined;
|
|
27
|
-
this.timeFormat = undefined;
|
|
28
|
-
this.type = undefined;
|
|
29
22
|
}
|
|
30
23
|
componentWillLoad() {
|
|
31
24
|
this.originalStartTime = this.startTime;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
const currencies = require('./currencies-98ac425a.js');
|
|
7
7
|
|
|
8
8
|
const CurrencyPickerExample = class {
|
|
@@ -11,7 +11,6 @@ const CurrencyPickerExample = class {
|
|
|
11
11
|
this.handleChange = (event) => {
|
|
12
12
|
this.selectedCurrency = event.detail;
|
|
13
13
|
};
|
|
14
|
-
this.selectedCurrency = undefined;
|
|
15
14
|
}
|
|
16
15
|
render() {
|
|
17
16
|
return (index.h("limebb-currency-picker", { currencies: currencies.europeanMarketCurrencies, value: this.selectedCurrency, onChange: this.handleChange, label: "Select a currency" }));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
const currencies = require('./currencies-98ac425a.js');
|
|
7
7
|
|
|
8
8
|
const CurrencyPickerExample = class {
|
|
@@ -11,7 +11,6 @@ const CurrencyPickerExample = class {
|
|
|
11
11
|
this.handleChange = (event) => {
|
|
12
12
|
this.selectedCurrency = event.detail;
|
|
13
13
|
};
|
|
14
|
-
this.selectedCurrency = undefined;
|
|
15
14
|
}
|
|
16
15
|
render() {
|
|
17
16
|
return (index.h("limebb-currency-picker", { currencies: currencies.nordicMarketCurrencies, label: "Select a currency", value: this.selectedCurrency, onChange: this.handleChange }));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
|
|
7
7
|
const CurrencyPickerExample = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -10,7 +10,6 @@ const CurrencyPickerExample = class {
|
|
|
10
10
|
this.handleChange = (event) => {
|
|
11
11
|
this.selectedCurrency = event.detail;
|
|
12
12
|
};
|
|
13
|
-
this.selectedCurrency = undefined;
|
|
14
13
|
}
|
|
15
14
|
render() {
|
|
16
15
|
return (index.h("limebb-currency-picker", { label: "Select a currency", value: this.selectedCurrency, onChange: this.handleChange }));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
|
|
7
7
|
const DashboardWidgetSlotsExample = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -62,7 +62,6 @@ const DashboardWidgetSlotsExample = class {
|
|
|
62
62
|
this.handleChange = (event) => {
|
|
63
63
|
this.filterMyDeals = event.detail.id === 'mine';
|
|
64
64
|
};
|
|
65
|
-
this.filterMyDeals = undefined;
|
|
66
65
|
}
|
|
67
66
|
render() {
|
|
68
67
|
const heading = `${this.filterMyDeals ? 'My products: 2' : 'All products: 5'}`;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
|
|
7
7
|
const dashboardWidgetStylesCss = "limebb-dashboard-widget{--dashboard-widget-header-background-color:rgb(\n var(--color-yellow-default)\n );--dashboard-widget-background-color:rgb(var(--contrast-300));--dashboard-widget-icon-color:rgb(var(--color-orange-default))}[slot=content]{padding:0 1rem}";
|
|
8
8
|
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
7
|
-
require('./types-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
|
+
const platform = require('./platform-31a9e228.js');
|
|
7
|
+
require('./types-8bf20167.js');
|
|
8
8
|
|
|
9
9
|
const DatePickerExampleDate = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.value = new Date();
|
|
12
13
|
this.handleChange = (event) => {
|
|
13
14
|
this.value = event.detail;
|
|
14
15
|
};
|
|
15
|
-
this.value = new Date();
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
return [
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
7
|
-
require('./types-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
|
+
const platform = require('./platform-31a9e228.js');
|
|
7
|
+
require('./types-8bf20167.js');
|
|
8
8
|
|
|
9
9
|
const DatePickerExampleDateTime = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.value = new Date();
|
|
12
13
|
this.handleChange = (event) => {
|
|
13
14
|
this.value = event.detail;
|
|
14
15
|
};
|
|
15
|
-
this.value = new Date();
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
return [
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
7
|
-
require('./types-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
|
+
const platform = require('./platform-31a9e228.js');
|
|
7
|
+
require('./types-8bf20167.js');
|
|
8
8
|
|
|
9
9
|
const DatePickerExampleTime = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.value = new Date();
|
|
12
13
|
this.handleChange = (event) => {
|
|
13
14
|
this.value = event.detail;
|
|
14
15
|
};
|
|
15
|
-
this.value = new Date();
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
return [
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
7
|
-
require('./types-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
|
+
const platform = require('./platform-31a9e228.js');
|
|
7
|
+
require('./types-8bf20167.js');
|
|
8
8
|
|
|
9
9
|
const DatePickerExampleWeek = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.value = new Date();
|
|
12
13
|
this.handleChange = (event) => {
|
|
13
14
|
this.value = event.detail;
|
|
14
15
|
};
|
|
15
|
-
this.value = new Date();
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
return [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
6
|
|
|
7
7
|
const dateRangeCss = ":host(limebb-example-date-range){display:flex;flex-direction:column;background-color:rgb(var(--contrast-500));border-radius:0.5rem;padding:0.5rem}span{padding-left:0.5rem;font-size:1.25rem}limebb-date-range{margin-top:0.75rem;border-radius:0.75rem;background-color:rgb(var(--contrast-100))}limebb-date-range:before{content:\"\";position:absolute;top:-0.5rem;left:2rem;background-color:inherit;width:1rem;height:1rem;rotate:45deg;border-radius:0.25rem 0 0 0}";
|
|
8
8
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-c40f4fe5.js');
|
|
6
|
+
|
|
7
|
+
const IconPickerExample = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
this.handleChange = (event) => {
|
|
11
|
+
event.stopPropagation();
|
|
12
|
+
this.value = event.detail;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (index.h("limebb-icon-picker", { label: "Icon", helperText: "Start typing to find the right icon", value: this.value, onChange: this.handleChange }));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
exports.limebb_example_icon_picker = IconPickerExample;
|