@social-mail/social-mail-client 1.9.36 → 1.9.37
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/admin/AdminAppIndex.pack.js +152 -142
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/dns/DnsZoneListPage.d.ts +3 -2
- package/dist/common/pages/dns/DnsZoneListPage.d.ts.map +1 -1
- package/dist/common/pages/dns/DnsZoneListPage.js +22 -12
- package/dist/common/pages/dns/DnsZoneListPage.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +152 -142
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +152 -142
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/dns/DnsZoneListPage.tsx +14 -4
package/package.json
CHANGED
|
@@ -9,8 +9,10 @@ import CommonCommands from "../../commands/CommonCommands";
|
|
|
9
9
|
import DnsZoneService from "./DnsZoneService";
|
|
10
10
|
import { HostedZone, IHostedZone } from "../../../model/model";
|
|
11
11
|
import Bind from "@web-atoms/core/dist/core/Bind";
|
|
12
|
+
import MasterDetailPage from "@web-atoms/web-controls/dist/mobile-app/MasterDetailPage";
|
|
13
|
+
import DnsZoneEditorPage from "./edit/DnsZoneEditorPage";
|
|
12
14
|
|
|
13
|
-
export default class DnsZoneListPage extends
|
|
15
|
+
export default class DnsZoneListPage extends MasterDetailPage {
|
|
14
16
|
|
|
15
17
|
start = 0;
|
|
16
18
|
size = 100;
|
|
@@ -32,6 +34,8 @@ export default class DnsZoneListPage extends ContentPage {
|
|
|
32
34
|
this.renderer = <div>
|
|
33
35
|
<AtomRepeater
|
|
34
36
|
data-layout="data-grid"
|
|
37
|
+
data-selection-updated-event="item-selected"
|
|
38
|
+
selectOnClick={true}
|
|
35
39
|
items={this.zones}
|
|
36
40
|
{ ... InfiniteRepeater.pagedItems((start) =>
|
|
37
41
|
(c, e, cancelToken) =>
|
|
@@ -42,9 +46,7 @@ export default class DnsZoneListPage extends ContentPage {
|
|
|
42
46
|
version: this.version
|
|
43
47
|
}))}
|
|
44
48
|
itemRenderer={(item: IHostedZone) => <div>
|
|
45
|
-
<
|
|
46
|
-
data-click-event="route"
|
|
47
|
-
href={CommonCommands.editDnsZone.displayRoute({ zoneID: item.zoneID})}
|
|
49
|
+
<label
|
|
48
50
|
text={item.domain.name}/>
|
|
49
51
|
{/* <i
|
|
50
52
|
title="View DS Records"
|
|
@@ -75,6 +77,14 @@ export default class DnsZoneListPage extends ContentPage {
|
|
|
75
77
|
this.version++;
|
|
76
78
|
}
|
|
77
79
|
|
|
80
|
+
@Action({ onEvent: "item-selected", defer: 10})
|
|
81
|
+
async itemSelected([domain]) {
|
|
82
|
+
if (!domain) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
this.openDetail(DnsZoneEditorPage, domain);
|
|
86
|
+
}
|
|
87
|
+
|
|
78
88
|
@Action({ onEvent: "view-zone"})
|
|
79
89
|
async viewZone(zone: IHostedZone) {
|
|
80
90
|
await PopupService.alert({
|