@arcgis/common-components 4.29.0-beta.47 → 4.29.0-beta.49
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/arcgis-common-components/arcgis-common-components.esm.js +1 -1
- package/dist/arcgis-common-components/p-6c7d2684.js +1 -0
- package/dist/arcgis-common-components/p-7318a1d1.entry.js +1 -0
- package/dist/arcgis-common-components/p-a91ab432.js +2 -0
- package/dist/arcgis-common-components/p-d3d1695f.entry.js +1 -0
- package/dist/cjs/arcgis-common-components.cjs.js +3 -3
- package/dist/cjs/arcgis-field-info.cjs.entry.js +903 -899
- package/dist/cjs/arcgis-field-pick-list.cjs.entry.js +216 -229
- package/dist/cjs/{index-2e4fbd31.js → index-5ec7f592.js} +5 -20
- package/dist/cjs/{index-ab5f2576.js → index-e0422bc8.js} +72 -77
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/components/arcgis-field-info.d.ts +2 -2
- package/dist/components/arcgis-field-pick-list.d.ts +2 -2
- package/dist/components/arcgis-field-pick-list.js +259 -272
- package/dist/components/field-info.js +961 -901
- package/dist/esm/arcgis-common-components.js +4 -4
- package/dist/esm/arcgis-field-info.entry.js +907 -903
- package/dist/esm/arcgis-field-pick-list.entry.js +216 -229
- package/dist/esm/{index-74897166.js → index-0c129ec4.js} +73 -78
- package/dist/esm/index-ba4fe890.js +59 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/field-info/field-info.d.ts +61 -61
- package/dist/types/components/field-info/t9n-types.d.ts +72 -72
- package/dist/types/components/field-info/utils/basic.d.ts +24 -24
- package/dist/types/components/field-info/utils/field.d.ts +1 -1
- package/dist/types/components/field-pick-list/field-pick-list.d.ts +115 -115
- package/dist/types/components/field-pick-list/t9n-types.d.ts +15 -15
- package/dist/types/components/field-pick-list/utils/types.d.ts +14 -14
- package/dist/types/components.d.ts +0 -86
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/package.json +7 -7
- package/dist/arcgis-common-components/p-0be8fd4c.entry.js +0 -1
- package/dist/arcgis-common-components/p-164eb24e.entry.js +0 -1
- package/dist/arcgis-common-components/p-5ecf6396.js +0 -1
- package/dist/arcgis-common-components/p-97c7ac8d.entry.js +0 -1
- package/dist/arcgis-common-components/p-b23318c8.js +0 -1
- package/dist/arcgis-common-components/p-d66b011b.entry.js +0 -1
- package/dist/arcgis-common-components/p-f27af39c.js +0 -2
- package/dist/cjs/arcgis-api-key.cjs.entry.js +0 -51
- package/dist/cjs/arcgis-identity.cjs.entry.js +0 -139
- package/dist/cjs/index-f8bf4df6.js +0 -7
- package/dist/components/arcgis-api-key.d.ts +0 -11
- package/dist/components/arcgis-api-key.js +0 -69
- package/dist/components/arcgis-identity.d.ts +0 -11
- package/dist/components/arcgis-identity.js +0 -167
- package/dist/components/index2.js +0 -75
- package/dist/esm/arcgis-api-key.entry.js +0 -47
- package/dist/esm/arcgis-identity.entry.js +0 -135
- package/dist/esm/index-3d9bb67e.js +0 -75
- package/dist/esm/index-e7244815.js +0 -3
- package/dist/types/components/api-key/api-key.d.ts +0 -9
- package/dist/types/components/identity/identity.d.ts +0 -31
- package/dist/types/components/types.d.ts +0 -10
|
@@ -53,6 +53,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
56
|
+
/**
|
|
57
|
+
* Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
|
|
58
|
+
*
|
|
59
|
+
* Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
|
|
60
|
+
* support as of Stencil v4.
|
|
61
|
+
*/
|
|
62
|
+
const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
|
|
56
63
|
/**
|
|
57
64
|
* Default style mode id
|
|
58
65
|
*/
|
|
@@ -357,6 +364,10 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
357
364
|
}
|
|
358
365
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
359
366
|
}
|
|
367
|
+
// Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
|
|
368
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
369
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
370
|
+
}
|
|
360
371
|
if (appliedStyles) {
|
|
361
372
|
appliedStyles.add(scopeId);
|
|
362
373
|
}
|
|
@@ -521,7 +532,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
521
532
|
elm[memberName] = newValue;
|
|
522
533
|
}
|
|
523
534
|
}
|
|
524
|
-
catch (e) {
|
|
535
|
+
catch (e) {
|
|
536
|
+
/**
|
|
537
|
+
* in case someone tries to set a read-only property, e.g. "namespaceURI", we just ignore it
|
|
538
|
+
*/
|
|
539
|
+
}
|
|
525
540
|
}
|
|
526
541
|
if (newValue == null || newValue === false) {
|
|
527
542
|
if (newValue !== false || elm.getAttribute(memberName) === '') {
|
|
@@ -540,6 +555,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
540
555
|
}
|
|
541
556
|
};
|
|
542
557
|
const parseClassListRegex = /\s/;
|
|
558
|
+
/**
|
|
559
|
+
* Parsed a string of classnames into an array
|
|
560
|
+
* @param value className string, e.g. "foo bar baz"
|
|
561
|
+
* @returns list of classes, e.g. ["foo", "bar", "baz"]
|
|
562
|
+
*/
|
|
543
563
|
const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
|
|
544
564
|
const CAPTURE_EVENT_SUFFIX = 'Capture';
|
|
545
565
|
const CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + '$');
|
|
@@ -609,6 +629,9 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
609
629
|
}
|
|
610
630
|
}
|
|
611
631
|
}
|
|
632
|
+
// This needs to always happen so we can hide nodes that are projected
|
|
633
|
+
// to another component but don't end up in a slot
|
|
634
|
+
elm['s-hn'] = hostTagName;
|
|
612
635
|
return elm;
|
|
613
636
|
};
|
|
614
637
|
/**
|
|
@@ -1168,7 +1191,7 @@ const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
|
1168
1191
|
* minification optimization: `allRenderFn` is `true` if all components have a `render`
|
|
1169
1192
|
* method, so we can call the method immediately. If not, check before calling it.
|
|
1170
1193
|
*/
|
|
1171
|
-
instance = instance.render
|
|
1194
|
+
instance = instance.render() ;
|
|
1172
1195
|
{
|
|
1173
1196
|
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1174
1197
|
}
|
|
@@ -1271,7 +1294,6 @@ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propNam
|
|
|
1271
1294
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1272
1295
|
// check our new property value against our internal value
|
|
1273
1296
|
const hostRef = getHostRef(ref);
|
|
1274
|
-
const elm = hostRef.$hostElement$ ;
|
|
1275
1297
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
1276
1298
|
const flags = hostRef.$flags$;
|
|
1277
1299
|
const instance = hostRef.$lazyInstance$ ;
|
|
@@ -1284,22 +1306,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1284
1306
|
// set our new value!
|
|
1285
1307
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1286
1308
|
if (instance) {
|
|
1287
|
-
// get an array of method names of watch functions to call
|
|
1288
|
-
if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
|
|
1289
|
-
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1290
|
-
if (watchMethods) {
|
|
1291
|
-
// this instance is watching for when this property changed
|
|
1292
|
-
watchMethods.map((watchMethodName) => {
|
|
1293
|
-
try {
|
|
1294
|
-
// fire off each of the watch methods that are watching this property
|
|
1295
|
-
instance[watchMethodName](newVal, oldVal, propName);
|
|
1296
|
-
}
|
|
1297
|
-
catch (e) {
|
|
1298
|
-
consoleError(e, elm);
|
|
1299
|
-
}
|
|
1300
|
-
});
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
1309
|
if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
|
|
1304
1310
|
// looks like this value actually changed, so we've got work to do!
|
|
1305
1311
|
// but only if we've already rendered, otherwise just chill out
|
|
@@ -1322,13 +1328,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1322
1328
|
*/
|
|
1323
1329
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1324
1330
|
var _a;
|
|
1331
|
+
const prototype = Cstr.prototype;
|
|
1325
1332
|
if (cmpMeta.$members$) {
|
|
1326
|
-
if (Cstr.watchers) {
|
|
1327
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1328
|
-
}
|
|
1329
1333
|
// It's better to have a const than two Object.entries()
|
|
1330
1334
|
const members = Object.entries(cmpMeta.$members$);
|
|
1331
|
-
const prototype = Cstr.prototype;
|
|
1332
1335
|
members.map(([memberName, [memberFlags]]) => {
|
|
1333
1336
|
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1334
1337
|
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
@@ -1351,8 +1354,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1351
1354
|
// proxyComponent - method
|
|
1352
1355
|
Object.defineProperty(prototype, memberName, {
|
|
1353
1356
|
value(...args) {
|
|
1357
|
+
var _a;
|
|
1354
1358
|
const ref = getHostRef(this);
|
|
1355
|
-
return ref.$onInstancePromise
|
|
1359
|
+
return (_a = ref === null || ref === void 0 ? void 0 : ref.$onInstancePromise$) === null || _a === void 0 ? void 0 : _a.then(() => { var _a; return (_a = ref.$lazyInstance$) === null || _a === void 0 ? void 0 : _a[memberName](...args); });
|
|
1356
1360
|
},
|
|
1357
1361
|
});
|
|
1358
1362
|
}
|
|
@@ -1361,6 +1365,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1361
1365
|
const attrNameToPropName = new Map();
|
|
1362
1366
|
prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
|
|
1363
1367
|
plt.jmp(() => {
|
|
1368
|
+
var _a;
|
|
1364
1369
|
const propName = attrNameToPropName.get(attrName);
|
|
1365
1370
|
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1366
1371
|
// in the case where an attribute was set inline.
|
|
@@ -1416,11 +1421,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1416
1421
|
// 1. The instance is ready
|
|
1417
1422
|
// 2. The watchers are ready
|
|
1418
1423
|
// 3. The value has changed
|
|
1419
|
-
if (
|
|
1424
|
+
if (flags &&
|
|
1425
|
+
!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
|
|
1420
1426
|
flags & 128 /* HOST_FLAGS.isWatchReady */ &&
|
|
1421
1427
|
newValue !== oldValue) {
|
|
1422
1428
|
const instance = hostRef.$lazyInstance$ ;
|
|
1423
|
-
const entry = cmpMeta.$watchers$[attrName];
|
|
1429
|
+
const entry = (_a = cmpMeta.$watchers$) === null || _a === void 0 ? void 0 : _a[attrName];
|
|
1424
1430
|
entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
|
|
1425
1431
|
if (instance[callbackName] != null) {
|
|
1426
1432
|
instance[callbackName].call(instance, newValue, oldValue, attrName);
|
|
@@ -1479,12 +1485,6 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1479
1485
|
endLoad();
|
|
1480
1486
|
}
|
|
1481
1487
|
if (!Cstr.isProxied) {
|
|
1482
|
-
// we've never proxied this Constructor before
|
|
1483
|
-
// let's add the getters/setters to its prototype before
|
|
1484
|
-
// the first time we create an instance of the implementation
|
|
1485
|
-
{
|
|
1486
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1487
|
-
}
|
|
1488
1488
|
proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
|
|
1489
1489
|
Cstr.isProxied = true;
|
|
1490
1490
|
}
|
|
@@ -1508,11 +1508,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1508
1508
|
{
|
|
1509
1509
|
hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1510
1510
|
}
|
|
1511
|
-
{
|
|
1512
|
-
hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
|
|
1513
|
-
}
|
|
1514
1511
|
endNewInstance();
|
|
1515
|
-
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1516
1512
|
}
|
|
1517
1513
|
if (Cstr.style) {
|
|
1518
1514
|
// this component has styles but we haven't registered them yet
|
|
@@ -1542,9 +1538,6 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1542
1538
|
}
|
|
1543
1539
|
};
|
|
1544
1540
|
const fireConnectedCallback = (instance) => {
|
|
1545
|
-
{
|
|
1546
|
-
safeCall(instance, 'connectedCallback');
|
|
1547
|
-
}
|
|
1548
1541
|
};
|
|
1549
1542
|
const connectedCallback = (elm) => {
|
|
1550
1543
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
@@ -1586,11 +1579,9 @@ const connectedCallback = (elm) => {
|
|
|
1586
1579
|
}
|
|
1587
1580
|
else {
|
|
1588
1581
|
// fire off connectedCallback() on component instance
|
|
1589
|
-
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$)
|
|
1590
|
-
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1591
|
-
}
|
|
1582
|
+
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) ;
|
|
1592
1583
|
else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
|
|
1593
|
-
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(
|
|
1584
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
|
|
1594
1585
|
}
|
|
1595
1586
|
}
|
|
1596
1587
|
endConnected();
|
|
@@ -1620,26 +1611,28 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1620
1611
|
const customElements = win.customElements;
|
|
1621
1612
|
const head = doc.head;
|
|
1622
1613
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
1623
|
-
const
|
|
1614
|
+
const dataStyles = /*@__PURE__*/ doc.createElement('style');
|
|
1624
1615
|
const deferredConnectedCallbacks = [];
|
|
1625
1616
|
let appLoadFallback;
|
|
1626
1617
|
let isBootstrapping = true;
|
|
1627
1618
|
Object.assign(plt, options);
|
|
1628
1619
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1620
|
+
let hasSlotRelocation = false;
|
|
1629
1621
|
lazyBundles.map((lazyBundle) => {
|
|
1630
1622
|
lazyBundle[1].map((compactMeta) => {
|
|
1631
|
-
var _a;
|
|
1632
1623
|
const cmpMeta = {
|
|
1633
1624
|
$flags$: compactMeta[0],
|
|
1634
1625
|
$tagName$: compactMeta[1],
|
|
1635
1626
|
$members$: compactMeta[2],
|
|
1636
1627
|
$listeners$: compactMeta[3],
|
|
1637
1628
|
};
|
|
1638
|
-
|
|
1639
|
-
|
|
1629
|
+
// Check if we are using slots outside the shadow DOM in this component.
|
|
1630
|
+
// We'll use this information later to add styles for `slot-fb` elements
|
|
1631
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
1632
|
+
hasSlotRelocation = true;
|
|
1640
1633
|
}
|
|
1641
1634
|
{
|
|
1642
|
-
cmpMeta.$
|
|
1635
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1643
1636
|
}
|
|
1644
1637
|
const tagName = cmpMeta.$tagName$;
|
|
1645
1638
|
const HostElement = class extends HTMLElement {
|
|
@@ -1688,15 +1681,25 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1688
1681
|
}
|
|
1689
1682
|
});
|
|
1690
1683
|
});
|
|
1684
|
+
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1685
|
+
if (hasSlotRelocation) {
|
|
1686
|
+
dataStyles.innerHTML += SLOT_FB_CSS;
|
|
1687
|
+
}
|
|
1688
|
+
// Add hydration styles
|
|
1691
1689
|
{
|
|
1692
|
-
|
|
1693
|
-
|
|
1690
|
+
dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
|
|
1691
|
+
}
|
|
1692
|
+
// If we have styles, add them to the DOM
|
|
1693
|
+
if (dataStyles.innerHTML.length) {
|
|
1694
|
+
dataStyles.setAttribute('data-styles', '');
|
|
1694
1695
|
// Apply CSP nonce to the style tag if it exists
|
|
1695
1696
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1696
1697
|
if (nonce != null) {
|
|
1697
|
-
|
|
1698
|
+
dataStyles.setAttribute('nonce', nonce);
|
|
1698
1699
|
}
|
|
1699
|
-
|
|
1700
|
+
// Insert the styles into the document head
|
|
1701
|
+
// NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
|
|
1702
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1700
1703
|
}
|
|
1701
1704
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1702
1705
|
isBootstrapping = false;
|
|
@@ -1778,31 +1781,23 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1778
1781
|
return module[exportName];
|
|
1779
1782
|
}
|
|
1780
1783
|
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1798
|
-
/* webpackMode: "lazy" */
|
|
1799
|
-
'./arcgis-identity.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1800
|
-
case 'arcgis-field-info.cjs':
|
|
1801
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1802
|
-
/* webpackMode: "lazy" */
|
|
1803
|
-
'./arcgis-field-info.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1784
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
1785
|
+
const processMod = importedModule => {
|
|
1786
|
+
cmpModules.set(bundleId, importedModule);
|
|
1787
|
+
return importedModule[exportName];
|
|
1788
|
+
}
|
|
1789
|
+
switch(bundleId) {
|
|
1790
|
+
|
|
1791
|
+
case 'arcgis-field-pick-list.cjs':
|
|
1792
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1793
|
+
/* webpackMode: "lazy" */
|
|
1794
|
+
'./arcgis-field-pick-list.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1795
|
+
case 'arcgis-field-info.cjs':
|
|
1796
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1797
|
+
/* webpackMode: "lazy" */
|
|
1798
|
+
'./arcgis-field-info.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1799
|
+
}
|
|
1804
1800
|
}
|
|
1805
|
-
}
|
|
1806
1801
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1807
1802
|
/* @vite-ignore */
|
|
1808
1803
|
/* webpackInclude: /\.entry\.js$/ */
|
|
@@ -1877,7 +1872,7 @@ const flush = () => {
|
|
|
1877
1872
|
}
|
|
1878
1873
|
}
|
|
1879
1874
|
};
|
|
1880
|
-
const nextTick =
|
|
1875
|
+
const nextTick = (cb) => promiseResolve().then(cb);
|
|
1881
1876
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1882
1877
|
|
|
1883
1878
|
exports.Fragment = Fragment;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e0422bc8.js');
|
|
6
6
|
|
|
7
7
|
const defineCustomElements = (win, options) => {
|
|
8
8
|
if (typeof window === 'undefined') return undefined;
|
|
9
|
-
return index.bootstrapLazy([["arcgis-field-
|
|
9
|
+
return index.bootstrapLazy([["arcgis-field-info.cjs",[[1,"arcgis-field-info",{"view":[16],"layer":[16],"fieldName":[1,"field-name"],"hideStatistics":[4,"hide-statistics"],"oneFeatureResponse":[32],"oneFeatureResponseStatus":[32],"statistics":[32],"statisticsStatus":[32],"uniqueValues":[32],"uniqueValuesStatus":[32],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}]]],["arcgis-field-pick-list.cjs",[[1,"arcgis-field-pick-list",{"selectedFields":[1040],"fields":[16],"popoverProps":[16],"layer":[16],"mapView":[16],"showFieldInfo":[4,"show-field-info"],"showFieldName":[4,"show-field-name"],"showDescription":[4,"show-description"],"showSelectionAll":[4,"show-selection-all"],"showCancel":[4,"show-cancel"],"showSort":[4,"show-sort"],"showFilterLength":[2,"show-filter-length"],"multiple":[4],"heading":[1],"okBtnText":[1,"ok-btn-text"],"filterPlaceholderText":[1,"filter-placeholder-text"],"sortBy":[1,"sort-by"],"lastSortyBy":[32],"filterFields":[32],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"setFocus":[64],"reposition":[64]}]]]], options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface ArcgisFieldInfo extends Components.ArcgisFieldInfo, HTMLElement {}
|
|
4
4
|
export const ArcgisFieldInfo: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: ArcgisFieldInfo;
|
|
6
|
+
new (): ArcgisFieldInfo;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface ArcgisFieldPickList extends Components.ArcgisFieldPickList, HTMLElement {}
|
|
4
4
|
export const ArcgisFieldPickList: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: ArcgisFieldPickList;
|
|
6
|
+
new (): ArcgisFieldPickList;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|