@esri/solutions-components 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +37 -1
- package/dist/collection/components/layer-table/layer-table.js +37 -1
- package/dist/components/crowdsource-manager.js +5 -1
- package/dist/components/layer-table2.js +5 -1
- package/dist/esm/card-manager_3.entry.js +3 -1
- package/dist/esm/crowdsource-manager.entry.js +3 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-3c3b48c7.entry.js +6 -0
- package/dist/solutions-components/p-7e9449c5.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +8 -0
- package/dist/types/components/layer-table/layer-table.d.ts +8 -0
- package/dist/types/components.d.ts +32 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-a4a0c7c5.entry.js +0 -6
- package/dist/solutions-components/p-b070bd54.entry.js +0 -6
@@ -152,6 +152,8 @@ const LayerTable = class {
|
|
152
152
|
this.mapInfo = undefined;
|
153
153
|
this.mapView = undefined;
|
154
154
|
this.onlyShowUpdatableLayers = undefined;
|
155
|
+
this.shareIncludeEmbed = undefined;
|
156
|
+
this.shareIncludeSocial = undefined;
|
155
157
|
this.showNewestFirst = undefined;
|
156
158
|
this.zoomAndScrollToSelected = undefined;
|
157
159
|
this._confirmDelete = false;
|
@@ -699,7 +701,7 @@ const LayerTable = class {
|
|
699
701
|
* @returns VNode The node representing the DOM element that will contain the action
|
700
702
|
*/
|
701
703
|
_getShare(icon) {
|
702
|
-
return (index.h("div", { class: "share-action", id: this._getId(icon) }, index.h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "instant-app-share", popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", socialMedia:
|
704
|
+
return (index.h("div", { class: "share-action", id: this._getId(icon) }, index.h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "instant-app-share", embed: this.shareIncludeEmbed, popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", socialMedia: this.shareIncludeSocial, view: this.mapView }), this._getToolTip("bottom", icon, this._translations.share)));
|
703
705
|
}
|
704
706
|
/**
|
705
707
|
* Called each time the values that are used for custom url params change
|
@@ -48,6 +48,8 @@ const CrowdsourceManager = class {
|
|
48
48
|
this.mapInfos = [];
|
49
49
|
this.onlyShowUpdatableLayers = true;
|
50
50
|
this.searchConfiguration = undefined;
|
51
|
+
this.shareIncludeEmbed = undefined;
|
52
|
+
this.shareIncludeSocial = undefined;
|
51
53
|
this.theme = "light";
|
52
54
|
this.zoomAndScrollToSelected = false;
|
53
55
|
this._expandPopup = false;
|
@@ -343,7 +345,7 @@ const CrowdsourceManager = class {
|
|
343
345
|
this.classicGrid && layoutMode === interfaces.ELayoutMode.VERTICAL ? "panel-end" :
|
344
346
|
layoutMode === interfaces.ELayoutMode.HORIZONTAL ? "header" : "panel-start";
|
345
347
|
const hasMapAndLayer = this.defaultWebmap && this.defaultLayer;
|
346
|
-
return (index.h("calcite-shell", { class: tableSizeClass + " border-bottom" }, index.h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), index.h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, index.h("span", null, tooltip))), index.h("div", { class: "width-full height-full position-relative" }, index.h("layer-table", { defaultGlobalId: hasMapAndLayer ? this._defaultGlobalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !this.defaultGlobalId ? this._defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, enableZoom: this.enableZoom, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected }))));
|
348
|
+
return (index.h("calcite-shell", { class: tableSizeClass + " border-bottom" }, index.h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), index.h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, index.h("span", null, tooltip))), index.h("div", { class: "width-full height-full position-relative" }, index.h("layer-table", { defaultGlobalId: hasMapAndLayer ? this._defaultGlobalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !this.defaultGlobalId ? this._defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, enableZoom: this.enableZoom, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected }))));
|
347
349
|
}
|
348
350
|
/**
|
349
351
|
* Open/Close the appropriate panel.
|