@xplortech/apollo-core 0.0.6 → 0.1.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/CHANGELOG.md +40 -0
- package/README.md +42 -1
- package/build/style.css +983 -380
- package/dist/apollo-core/apollo-core.css +23 -9
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-00996870.js +1 -0
- package/dist/apollo-core/{p-b9df8412.entry.js → p-1e6a342a.entry.js} +4 -3
- package/dist/apollo-core/{p-5d786409.entry.js → p-21872e0f.entry.js} +1 -1
- package/dist/apollo-core/p-d8ea7d80.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +3 -3
- package/dist/cjs/{index-d0d9877d.js → index-716d8f57.js} +106 -29
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{xpl-button_2.cjs.entry.js → xpl-avatar_7.cjs.entry.js} +149 -8
- package/dist/cjs/xpl-choicelist.cjs.entry.js +16 -0
- package/dist/cjs/xpl-pagination.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +8 -2
- package/dist/collection/components/xpl-avatar/xpl-avatar.js +158 -0
- package/dist/collection/components/xpl-badge/xpl-badge.js +50 -0
- package/dist/collection/components/xpl-button/xpl-button.js +45 -13
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +139 -0
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +9 -0
- package/dist/collection/components/xpl-radio/xpl-radio.js +122 -0
- package/dist/collection/components/xpl-table/xpl-table.js +9 -5
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +10 -0
- package/dist/custom-elements/index.d.ts +36 -0
- package/dist/custom-elements/index.js +176 -12
- package/dist/esm/apollo-core.js +3 -3
- package/dist/esm/{index-252a5f91.js → index-4c8962a5.js} +106 -29
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{xpl-button_2.entry.js → xpl-avatar_7.entry.js} +145 -9
- package/dist/esm/xpl-choicelist.entry.js +12 -0
- package/dist/esm/xpl-pagination.entry.js +1 -1
- package/dist/stories/avatar.stories.js +173 -0
- package/dist/stories/badge.stories.js +48 -0
- package/dist/stories/button.stories.js +98 -0
- package/dist/stories/checkbox.stories.js +66 -0
- package/dist/stories/pagination.stories.js +84 -0
- package/dist/stories/radio.stories.js +56 -0
- package/dist/stories/table.stories.js +107 -0
- package/dist/stories/tabs.stories.js +24 -0
- package/dist/stories/utility-bar.stories.js +94 -0
- package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +11 -0
- package/dist/types/components/xpl-badge/xpl-badge.d.ts +5 -0
- package/dist/types/{.stencil → components}/xpl-button/xpl-button.d.ts +4 -2
- package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +11 -0
- package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +3 -0
- package/dist/types/components/xpl-radio/xpl-radio.d.ts +10 -0
- package/dist/types/{.stencil → components}/xpl-table/xpl-table.d.ts +2 -2
- package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +3 -0
- package/dist/types/components.d.ts +134 -6
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/avatar.stories.d.ts +91 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/badge.stories.d.ts +48 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/button.stories.d.ts +74 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/checkbox.stories.d.ts +64 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/radio.stories.d.ts +56 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/table.stories.d.ts +50 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
- package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/utility-bar.stories.d.ts +20 -0
- package/dist/types/stencil-public-runtime.d.ts +183 -182
- package/package.json +42 -13
- package/dist/apollo-core/p-3f7da885.js +0 -1
- /package/dist/types/{.stencil → components}/xpl-pagination/xpl-pagination.d.ts +0 -0
|
@@ -2,24 +2,60 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Components, JSX } from "../types/components";
|
|
4
4
|
|
|
5
|
+
interface XplAvatar extends Components.XplAvatar, HTMLElement {}
|
|
6
|
+
export const XplAvatar: {
|
|
7
|
+
prototype: XplAvatar;
|
|
8
|
+
new (): XplAvatar;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
interface XplBadge extends Components.XplBadge, HTMLElement {}
|
|
12
|
+
export const XplBadge: {
|
|
13
|
+
prototype: XplBadge;
|
|
14
|
+
new (): XplBadge;
|
|
15
|
+
};
|
|
16
|
+
|
|
5
17
|
interface XplButton extends Components.XplButton, HTMLElement {}
|
|
6
18
|
export const XplButton: {
|
|
7
19
|
prototype: XplButton;
|
|
8
20
|
new (): XplButton;
|
|
9
21
|
};
|
|
10
22
|
|
|
23
|
+
interface XplCheckbox extends Components.XplCheckbox, HTMLElement {}
|
|
24
|
+
export const XplCheckbox: {
|
|
25
|
+
prototype: XplCheckbox;
|
|
26
|
+
new (): XplCheckbox;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
interface XplChoicelist extends Components.XplChoicelist, HTMLElement {}
|
|
30
|
+
export const XplChoicelist: {
|
|
31
|
+
prototype: XplChoicelist;
|
|
32
|
+
new (): XplChoicelist;
|
|
33
|
+
};
|
|
34
|
+
|
|
11
35
|
interface XplPagination extends Components.XplPagination, HTMLElement {}
|
|
12
36
|
export const XplPagination: {
|
|
13
37
|
prototype: XplPagination;
|
|
14
38
|
new (): XplPagination;
|
|
15
39
|
};
|
|
16
40
|
|
|
41
|
+
interface XplRadio extends Components.XplRadio, HTMLElement {}
|
|
42
|
+
export const XplRadio: {
|
|
43
|
+
prototype: XplRadio;
|
|
44
|
+
new (): XplRadio;
|
|
45
|
+
};
|
|
46
|
+
|
|
17
47
|
interface XplTable extends Components.XplTable, HTMLElement {}
|
|
18
48
|
export const XplTable: {
|
|
19
49
|
prototype: XplTable;
|
|
20
50
|
new (): XplTable;
|
|
21
51
|
};
|
|
22
52
|
|
|
53
|
+
interface XplUtilityBar extends Components.XplUtilityBar, HTMLElement {}
|
|
54
|
+
export const XplUtilityBar: {
|
|
55
|
+
prototype: XplUtilityBar;
|
|
56
|
+
new (): XplUtilityBar;
|
|
57
|
+
};
|
|
58
|
+
|
|
23
59
|
/**
|
|
24
60
|
* Utility to define all custom elements within this package using the tag name provided in the component's source.
|
|
25
61
|
* When defining each custom element, it will also check it's safe to define by:
|
|
@@ -1,6 +1,38 @@
|
|
|
1
|
-
import { h, Host, createEvent, proxyCustomElement } from '@stencil/core/internal/client';
|
|
1
|
+
import { h, Host, attachShadow, createEvent, proxyCustomElement } from '@stencil/core/internal/client';
|
|
2
2
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
3
3
|
|
|
4
|
+
const XplAvatar$1 = class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.disabled = false;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
let className = "xpl-avatar";
|
|
12
|
+
if (this.size)
|
|
13
|
+
className += ` xpl-avatar--${this.size}`;
|
|
14
|
+
if (this.color)
|
|
15
|
+
className += ` xpl-avatar--${this.color}`;
|
|
16
|
+
const inner = (h("div", null, this.src ? (h("img", { alt: this.name, src: this.src })) : (h("div", { class: "xpl-avatar__placeholder" }, h("slot", null))), this.status && h("div", { class: `xpl-avatar__dot--${this.status}` })));
|
|
17
|
+
return (h(Host, null, this.href && !this.disabled ? (h("a", { href: this.href, class: className, target: this.target }, inner)) : this.href && this.disabled ? (h("div", { class: className + " xpl-avatar--disabled" }, inner)) : (h("div", { class: className }, inner))));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const XplBadge$1 = class extends HTMLElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super();
|
|
24
|
+
this.__registerHost();
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
let className = "xpl-badge";
|
|
28
|
+
if (this.dot)
|
|
29
|
+
className += " xpl-badge--dot";
|
|
30
|
+
if (this.variant)
|
|
31
|
+
className += " xpl-badge--" + this.variant;
|
|
32
|
+
return (h(Host, null, h("div", { class: className }, h("slot", null))));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
|
|
4
36
|
/*!
|
|
5
37
|
* Font Awesome Pro 5.15.3 by @fontawesome - https://fontawesome.com
|
|
6
38
|
* License - https://fontawesome.com/license (Commercial License)
|
|
@@ -16047,7 +16079,6 @@ const XplButton$1 = class extends HTMLElement {
|
|
|
16047
16079
|
constructor() {
|
|
16048
16080
|
super();
|
|
16049
16081
|
this.__registerHost();
|
|
16050
|
-
this.disabled = undefined;
|
|
16051
16082
|
this.size = "default";
|
|
16052
16083
|
this.variant = "primary";
|
|
16053
16084
|
}
|
|
@@ -16057,8 +16088,8 @@ const XplButton$1 = class extends HTMLElement {
|
|
|
16057
16088
|
className += " xpl-button--secondary";
|
|
16058
16089
|
if (this.variant === "subtle")
|
|
16059
16090
|
className += " xpl-button--subtle";
|
|
16060
|
-
if (this.variant === "
|
|
16061
|
-
className += " xpl-button--
|
|
16091
|
+
if (this.variant === "warning")
|
|
16092
|
+
className += " xpl-button--warning";
|
|
16062
16093
|
if (this.size === "sm")
|
|
16063
16094
|
className += " xpl-button--sm";
|
|
16064
16095
|
if (this.size === "xs")
|
|
@@ -16071,7 +16102,103 @@ const XplButton$1 = class extends HTMLElement {
|
|
|
16071
16102
|
* Conditionally render either an <a> or <button> element
|
|
16072
16103
|
* depending on if there's an `href` or not
|
|
16073
16104
|
*/
|
|
16074
|
-
this.href ? (h("a", { class: className, href: this.href, role: "button" }, !this.iconTrailing && icon, this.iconOnly ? h("span", { class: "sr-only" }, h("slot", null)) : h("slot", null), this.iconTrailing && icon)) : (h("button", { class: className, disabled: this.disabled, type: this.type }, !this.iconTrailing && icon, this.iconOnly ? h("span", { class: "sr-only" }, h("slot", null)) : h("slot", null), this.iconTrailing && icon))));
|
|
16105
|
+
this.href ? (h("a", { class: className, href: this.href, role: "button" }, !this.iconTrailing && icon, this.iconOnly ? (h("span", { class: "sr-only" }, h("slot", null))) : (h("slot", null)), this.iconTrailing && icon)) : (h("button", { class: className, disabled: this.disabled, name: this.name, type: this.type, value: this.value }, !this.iconTrailing && icon, this.iconOnly ? (h("span", { class: "sr-only" }, h("slot", null))) : (h("slot", null)), this.iconTrailing && icon))));
|
|
16106
|
+
}
|
|
16107
|
+
};
|
|
16108
|
+
|
|
16109
|
+
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
16110
|
+
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
16111
|
+
// generators (like Math.random()).
|
|
16112
|
+
var getRandomValues;
|
|
16113
|
+
var rnds8 = new Uint8Array(16);
|
|
16114
|
+
function rng() {
|
|
16115
|
+
// lazy load so that environments that need to polyfill have a chance to do so
|
|
16116
|
+
if (!getRandomValues) {
|
|
16117
|
+
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
|
|
16118
|
+
// find the complete implementation of crypto (msCrypto) on IE11.
|
|
16119
|
+
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
|
|
16120
|
+
|
|
16121
|
+
if (!getRandomValues) {
|
|
16122
|
+
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
16123
|
+
}
|
|
16124
|
+
}
|
|
16125
|
+
|
|
16126
|
+
return getRandomValues(rnds8);
|
|
16127
|
+
}
|
|
16128
|
+
|
|
16129
|
+
const REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
16130
|
+
|
|
16131
|
+
function validate(uuid) {
|
|
16132
|
+
return typeof uuid === 'string' && REGEX.test(uuid);
|
|
16133
|
+
}
|
|
16134
|
+
|
|
16135
|
+
/**
|
|
16136
|
+
* Convert array of 16 byte values to UUID string format of the form:
|
|
16137
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
16138
|
+
*/
|
|
16139
|
+
|
|
16140
|
+
var byteToHex = [];
|
|
16141
|
+
|
|
16142
|
+
for (var i = 0; i < 256; ++i) {
|
|
16143
|
+
byteToHex.push((i + 0x100).toString(16).substr(1));
|
|
16144
|
+
}
|
|
16145
|
+
|
|
16146
|
+
function stringify(arr) {
|
|
16147
|
+
var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
16148
|
+
// Note: Be careful editing this code! It's been tuned for performance
|
|
16149
|
+
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
|
16150
|
+
var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
|
|
16151
|
+
// of the following:
|
|
16152
|
+
// - One or more input array values don't map to a hex octet (leading to
|
|
16153
|
+
// "undefined" in the uuid)
|
|
16154
|
+
// - Invalid input values for the RFC `version` or `variant` fields
|
|
16155
|
+
|
|
16156
|
+
if (!validate(uuid)) {
|
|
16157
|
+
throw TypeError('Stringified UUID is invalid');
|
|
16158
|
+
}
|
|
16159
|
+
|
|
16160
|
+
return uuid;
|
|
16161
|
+
}
|
|
16162
|
+
|
|
16163
|
+
function v4(options, buf, offset) {
|
|
16164
|
+
options = options || {};
|
|
16165
|
+
var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
16166
|
+
|
|
16167
|
+
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
16168
|
+
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
16169
|
+
|
|
16170
|
+
if (buf) {
|
|
16171
|
+
offset = offset || 0;
|
|
16172
|
+
|
|
16173
|
+
for (var i = 0; i < 16; ++i) {
|
|
16174
|
+
buf[offset + i] = rnds[i];
|
|
16175
|
+
}
|
|
16176
|
+
|
|
16177
|
+
return buf;
|
|
16178
|
+
}
|
|
16179
|
+
|
|
16180
|
+
return stringify(rnds);
|
|
16181
|
+
}
|
|
16182
|
+
|
|
16183
|
+
const XplCheckbox$1 = class extends HTMLElement {
|
|
16184
|
+
constructor() {
|
|
16185
|
+
super();
|
|
16186
|
+
this.__registerHost();
|
|
16187
|
+
this.id = v4();
|
|
16188
|
+
}
|
|
16189
|
+
render() {
|
|
16190
|
+
return (h(Host, { class: "xpl-checkbox-container" }, h("input", { class: "xpl-checkbox", type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, indeterminate: this.indeterminate, name: this.name, required: this.required, value: this.value }), h("label", { htmlFor: this.id }, h("slot", null), this.description && h("small", null, this.description))));
|
|
16191
|
+
}
|
|
16192
|
+
};
|
|
16193
|
+
|
|
16194
|
+
const XplChoicelist$1 = class extends HTMLElement {
|
|
16195
|
+
constructor() {
|
|
16196
|
+
super();
|
|
16197
|
+
this.__registerHost();
|
|
16198
|
+
attachShadow(this);
|
|
16199
|
+
}
|
|
16200
|
+
render() {
|
|
16201
|
+
return (h(Host, null, h("slot", null)));
|
|
16075
16202
|
}
|
|
16076
16203
|
};
|
|
16077
16204
|
|
|
@@ -16145,6 +16272,17 @@ const XplPagination$1 = class extends HTMLElement {
|
|
|
16145
16272
|
}
|
|
16146
16273
|
};
|
|
16147
16274
|
|
|
16275
|
+
const XplRadio$1 = class extends HTMLElement {
|
|
16276
|
+
constructor() {
|
|
16277
|
+
super();
|
|
16278
|
+
this.__registerHost();
|
|
16279
|
+
this.id = v4();
|
|
16280
|
+
}
|
|
16281
|
+
render() {
|
|
16282
|
+
return (h(Host, { class: "xpl-radio-container" }, h("input", { class: "xpl-radio", type: "radio", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name, required: this.required, value: this.value }), h("label", { htmlFor: this.id }, h("slot", null), this.description && h("small", null, this.description))));
|
|
16283
|
+
}
|
|
16284
|
+
};
|
|
16285
|
+
|
|
16148
16286
|
const XplTable$1 = class extends HTMLElement {
|
|
16149
16287
|
constructor() {
|
|
16150
16288
|
super();
|
|
@@ -16211,28 +16349,54 @@ const XplTable$1 = class extends HTMLElement {
|
|
|
16211
16349
|
if (this.hasScrolled)
|
|
16212
16350
|
className += " xpl-table--has-scrolled";
|
|
16213
16351
|
return (h(Host, null, h("div", { class: "xpl-table-container", onScroll: this.onScroll, ref: (el) => (this.container = el) }, h("table", { class: className }, this.columns && (h("thead", null, this.columns.map((column, i) => {
|
|
16214
|
-
return (h("th", null, this.multiselect && i === 0 ? (h("label", { htmlFor: "__xpl-table-th" }, h("input", { id: "__xpl-table-th",
|
|
16352
|
+
return (h("th", null, this.multiselect && i === 0 ? (h("label", { htmlFor: "__xpl-table-th" }, h("input", { checked: this.areAllSelected, id: "__xpl-table-th",
|
|
16353
|
+
// appear indeterminate when at least one but not all
|
|
16354
|
+
// are selected
|
|
16355
|
+
indeterminate: !this.areAllSelected &&
|
|
16356
|
+
this.selected.some((a) => a), onChange: (e) => {
|
|
16215
16357
|
this.selectAll(e);
|
|
16216
|
-
},
|
|
16358
|
+
}, type: "checkbox" }), column)) : (column)));
|
|
16217
16359
|
}))), h("tbody", null, this.rowData.map((row, rowNum) => {
|
|
16218
16360
|
return (h("tr", { class: this.selected && this.selected[rowNum]
|
|
16219
16361
|
? "xpl-table-row-selected"
|
|
16220
16362
|
: "" }, row.map((cell, i) => {
|
|
16221
|
-
return (h("td", null, this.multiselect && i === 0 ? (h("label", { htmlFor: "__xpl-table-row-" + rowNum }, h("input", { id: "__xpl-table-row-" + rowNum, checked: this.selected[rowNum], type: "checkbox", onChange: (e) => this.selectOne(e, rowNum) }), cell)) : (cell)));
|
|
16363
|
+
return (h("td", null, this.multiselect && i === 0 ? (h("label", { htmlFor: "__xpl-table-row-" + rowNum }, h("input", { id: "__xpl-table-row-" + rowNum, checked: this.selected[rowNum], type: "checkbox", onChange: (e) => this.selectOne(e, rowNum) }), h("div", { innerHTML: cell }))) : (h("div", { innerHTML: cell }))));
|
|
16222
16364
|
})));
|
|
16223
16365
|
}))))));
|
|
16224
16366
|
}
|
|
16225
16367
|
};
|
|
16226
16368
|
|
|
16227
|
-
const
|
|
16369
|
+
const XplUtilityBar$1 = class extends HTMLElement {
|
|
16370
|
+
constructor() {
|
|
16371
|
+
super();
|
|
16372
|
+
this.__registerHost();
|
|
16373
|
+
}
|
|
16374
|
+
render() {
|
|
16375
|
+
return (h(Host, null, h("nav", { "aria-label": "utility navigation bar", class: "xpl-utility-bar" }, h("slot", { name: "main" }), h("slot", { name: "aside" }))));
|
|
16376
|
+
}
|
|
16377
|
+
};
|
|
16378
|
+
|
|
16379
|
+
const XplAvatar = /*@__PURE__*/proxyCustomElement(XplAvatar$1, [4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}]);
|
|
16380
|
+
const XplBadge = /*@__PURE__*/proxyCustomElement(XplBadge$1, [4,"xpl-badge",{"dot":[4],"variant":[1]}]);
|
|
16381
|
+
const XplButton = /*@__PURE__*/proxyCustomElement(XplButton$1, [4,"xpl-button",{"disabled":[4],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1]}]);
|
|
16382
|
+
const XplCheckbox = /*@__PURE__*/proxyCustomElement(XplCheckbox$1, [4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"value":[1],"id":[32]}]);
|
|
16383
|
+
const XplChoicelist = /*@__PURE__*/proxyCustomElement(XplChoicelist$1, [1,"xpl-choicelist"]);
|
|
16228
16384
|
const XplPagination = /*@__PURE__*/proxyCustomElement(XplPagination$1, [0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32]}]);
|
|
16385
|
+
const XplRadio = /*@__PURE__*/proxyCustomElement(XplRadio$1, [4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"value":[1],"id":[32]}]);
|
|
16229
16386
|
const XplTable = /*@__PURE__*/proxyCustomElement(XplTable$1, [0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}]);
|
|
16387
|
+
const XplUtilityBar = /*@__PURE__*/proxyCustomElement(XplUtilityBar$1, [4,"xpl-utility-bar"]);
|
|
16230
16388
|
const defineCustomElements = (opts) => {
|
|
16231
16389
|
if (typeof customElements !== 'undefined') {
|
|
16232
16390
|
[
|
|
16233
|
-
|
|
16391
|
+
XplAvatar,
|
|
16392
|
+
XplBadge,
|
|
16393
|
+
XplButton,
|
|
16394
|
+
XplCheckbox,
|
|
16395
|
+
XplChoicelist,
|
|
16234
16396
|
XplPagination,
|
|
16235
|
-
|
|
16397
|
+
XplRadio,
|
|
16398
|
+
XplTable,
|
|
16399
|
+
XplUtilityBar
|
|
16236
16400
|
].forEach(cmp => {
|
|
16237
16401
|
if (!customElements.get(cmp.is)) {
|
|
16238
16402
|
customElements.define(cmp.is, cmp, opts);
|
|
@@ -16241,4 +16405,4 @@ const defineCustomElements = (opts) => {
|
|
|
16241
16405
|
}
|
|
16242
16406
|
};
|
|
16243
16407
|
|
|
16244
|
-
export { XplButton, XplPagination, XplTable, defineCustomElements };
|
|
16408
|
+
export { XplAvatar, XplBadge, XplButton, XplCheckbox, XplChoicelist, XplPagination, XplRadio, XplTable, XplUtilityBar, defineCustomElements };
|
package/dist/esm/apollo-core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-4c8962a5.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
4
|
+
Stencil Client Patch Browser v2.8.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["xpl-
|
|
16
|
+
return bootstrapLazy([["xpl-avatar_7",[[4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}],[4,"xpl-badge",{"dot":[4],"variant":[1]}],[4,"xpl-button",{"disabled":[4],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1]}],[4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"value":[1],"id":[32]}],[4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"value":[1],"id":[32]}],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-utility-bar"]]],["xpl-choicelist",[[1,"xpl-choicelist"]]],["xpl-pagination",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]]], options);
|
|
17
17
|
});
|