@rippling/rippling-sdk 0.2.0-alpha.44 → 0.2.0-alpha.46
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/examples/manifest/dental-practice-management/dental-practice-management.ts +0 -7
- package/examples/manifest/dental-practice-management/manifest.json +0 -7
- package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +6 -7
- package/examples/manifest/gym-membership-management/gym-membership-management.ts +0 -7
- package/examples/manifest/gym-membership-management/manifest.json +0 -7
- package/lib/manifest/app.d.mts +2 -2
- package/lib/manifest/app.d.mts.map +1 -1
- package/lib/manifest/app.d.ts +2 -2
- package/lib/manifest/app.d.ts.map +1 -1
- package/lib/manifest/app.js +15 -4
- package/lib/manifest/app.js.map +1 -1
- package/lib/manifest/app.mjs +15 -4
- package/lib/manifest/app.mjs.map +1 -1
- package/lib/manifest/custom-object-field-section.d.mts +2 -2
- package/lib/manifest/custom-object-field-section.d.ts +2 -2
- package/lib/manifest/custom-object-field-section.js +2 -2
- package/lib/manifest/custom-object-field-section.mjs +2 -2
- package/lib/manifest/custom-object-page-layout.d.mts +86 -40
- package/lib/manifest/custom-object-page-layout.d.mts.map +1 -1
- package/lib/manifest/custom-object-page-layout.d.ts +86 -40
- package/lib/manifest/custom-object-page-layout.d.ts.map +1 -1
- package/lib/manifest/custom-object-page-layout.js +369 -79
- package/lib/manifest/custom-object-page-layout.js.map +1 -1
- package/lib/manifest/custom-object-page-layout.mjs +369 -79
- package/lib/manifest/custom-object-page-layout.mjs.map +1 -1
- package/lib/manifest/custom-object.d.mts +6 -0
- package/lib/manifest/custom-object.d.mts.map +1 -1
- package/lib/manifest/custom-object.d.ts +6 -0
- package/lib/manifest/custom-object.d.ts.map +1 -1
- package/lib/manifest/custom-object.js +6 -0
- package/lib/manifest/custom-object.js.map +1 -1
- package/lib/manifest/custom-object.mjs +6 -0
- package/lib/manifest/custom-object.mjs.map +1 -1
- package/lib/manifest/existing-manifest-context.d.mts +0 -1
- package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
- package/lib/manifest/existing-manifest-context.d.ts +0 -1
- package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
- package/lib/manifest/existing-manifest-context.js +5 -10
- package/lib/manifest/existing-manifest-context.js.map +1 -1
- package/lib/manifest/existing-manifest-context.mjs +5 -10
- package/lib/manifest/existing-manifest-context.mjs.map +1 -1
- package/lib/manifest/field.d.mts +6 -3
- package/lib/manifest/field.d.mts.map +1 -1
- package/lib/manifest/field.d.ts +6 -3
- package/lib/manifest/field.d.ts.map +1 -1
- package/lib/manifest/field.js +26 -6
- package/lib/manifest/field.js.map +1 -1
- package/lib/manifest/field.mjs +26 -6
- package/lib/manifest/field.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/manifest/app.ts +19 -5
- package/src/lib/manifest/custom-object-field-section.ts +2 -2
- package/src/lib/manifest/custom-object-page-layout.ts +599 -109
- package/src/lib/manifest/custom-object.ts +6 -0
- package/src/lib/manifest/existing-manifest-context.ts +5 -12
- package/src/lib/manifest/field.ts +45 -9
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -444,7 +444,6 @@ new CustomObjectPageLayout(patientObj, {
|
|
|
444
444
|
type: 'tab_with_sections',
|
|
445
445
|
sections: [
|
|
446
446
|
{
|
|
447
|
-
key: 'id',
|
|
448
447
|
name: 'Profile',
|
|
449
448
|
type: 'fields_section',
|
|
450
449
|
section: patientIdentitySection,
|
|
@@ -457,7 +456,6 @@ new CustomObjectPageLayout(patientObj, {
|
|
|
457
456
|
],
|
|
458
457
|
},
|
|
459
458
|
{
|
|
460
|
-
key: 'clinical',
|
|
461
459
|
name: 'Clinical & billing',
|
|
462
460
|
type: 'fields_section',
|
|
463
461
|
section: patientClinicalSection,
|
|
@@ -490,7 +488,6 @@ new CustomObjectPageLayout(operatoryObj, {
|
|
|
490
488
|
type: 'tab_with_sections',
|
|
491
489
|
sections: [
|
|
492
490
|
{
|
|
493
|
-
key: 'room',
|
|
494
491
|
name: 'Room',
|
|
495
492
|
type: 'fields_section',
|
|
496
493
|
section: operatorySection,
|
|
@@ -518,14 +515,12 @@ new CustomObjectPageLayout(apptObj, {
|
|
|
518
515
|
type: 'tab_with_sections',
|
|
519
516
|
sections: [
|
|
520
517
|
{
|
|
521
|
-
key: 'chair',
|
|
522
518
|
name: 'Chair & schedule',
|
|
523
519
|
type: 'fields_section',
|
|
524
520
|
section: apptOperatorySection,
|
|
525
521
|
fields: [apptOperatoryRef, apptStartField, apptDurationMins],
|
|
526
522
|
},
|
|
527
523
|
{
|
|
528
|
-
key: 'patient',
|
|
529
524
|
name: 'Patient & status',
|
|
530
525
|
type: 'fields_section',
|
|
531
526
|
section: apptPatientSection,
|
|
@@ -553,14 +548,12 @@ new CustomObjectPageLayout(planObj, {
|
|
|
553
548
|
type: 'tab_with_sections',
|
|
554
549
|
sections: [
|
|
555
550
|
{
|
|
556
|
-
key: 'link',
|
|
557
551
|
name: 'Patient',
|
|
558
552
|
type: 'fields_section',
|
|
559
553
|
section: planLinkSection,
|
|
560
554
|
fields: [planPatientRef],
|
|
561
555
|
},
|
|
562
556
|
{
|
|
563
|
-
key: 'content',
|
|
564
557
|
name: 'Planned work',
|
|
565
558
|
type: 'fields_section',
|
|
566
559
|
section: planBodySection,
|
|
@@ -1596,7 +1596,6 @@
|
|
|
1596
1596
|
"type": "tab_with_sections",
|
|
1597
1597
|
"sections": [
|
|
1598
1598
|
{
|
|
1599
|
-
"key": "id",
|
|
1600
1599
|
"name": "Profile",
|
|
1601
1600
|
"type": "fields_section",
|
|
1602
1601
|
"fields": [
|
|
@@ -1618,7 +1617,6 @@
|
|
|
1618
1617
|
]
|
|
1619
1618
|
},
|
|
1620
1619
|
{
|
|
1621
|
-
"key": "clinical",
|
|
1622
1620
|
"name": "Clinical & billing",
|
|
1623
1621
|
"type": "fields_section",
|
|
1624
1622
|
"fields": [
|
|
@@ -1663,7 +1661,6 @@
|
|
|
1663
1661
|
"type": "tab_with_sections",
|
|
1664
1662
|
"sections": [
|
|
1665
1663
|
{
|
|
1666
|
-
"key": "room",
|
|
1667
1664
|
"name": "Room",
|
|
1668
1665
|
"type": "fields_section",
|
|
1669
1666
|
"fields": [
|
|
@@ -1705,7 +1702,6 @@
|
|
|
1705
1702
|
"type": "tab_with_sections",
|
|
1706
1703
|
"sections": [
|
|
1707
1704
|
{
|
|
1708
|
-
"key": "chair",
|
|
1709
1705
|
"name": "Chair & schedule",
|
|
1710
1706
|
"type": "fields_section",
|
|
1711
1707
|
"fields": [
|
|
@@ -1721,7 +1717,6 @@
|
|
|
1721
1717
|
]
|
|
1722
1718
|
},
|
|
1723
1719
|
{
|
|
1724
|
-
"key": "patient",
|
|
1725
1720
|
"name": "Patient & status",
|
|
1726
1721
|
"type": "fields_section",
|
|
1727
1722
|
"fields": [
|
|
@@ -1769,7 +1764,6 @@
|
|
|
1769
1764
|
"type": "tab_with_sections",
|
|
1770
1765
|
"sections": [
|
|
1771
1766
|
{
|
|
1772
|
-
"key": "link",
|
|
1773
1767
|
"name": "Patient",
|
|
1774
1768
|
"type": "fields_section",
|
|
1775
1769
|
"fields": [
|
|
@@ -1779,7 +1773,6 @@
|
|
|
1779
1773
|
]
|
|
1780
1774
|
},
|
|
1781
1775
|
{
|
|
1782
|
-
"key": "content",
|
|
1783
1776
|
"name": "Planned work",
|
|
1784
1777
|
"type": "fields_section",
|
|
1785
1778
|
"fields": [
|
|
@@ -128,7 +128,6 @@ const existingManifestJson: ExistingManifest = {
|
|
|
128
128
|
type: 'tab_with_sections',
|
|
129
129
|
sections: [
|
|
130
130
|
{
|
|
131
|
-
key: 'profile',
|
|
132
131
|
name: 'Profile',
|
|
133
132
|
type: 'fields_section',
|
|
134
133
|
fields: [
|
|
@@ -138,7 +137,6 @@ const existingManifestJson: ExistingManifest = {
|
|
|
138
137
|
],
|
|
139
138
|
},
|
|
140
139
|
{
|
|
141
|
-
key: 'membership',
|
|
142
140
|
name: 'Membership',
|
|
143
141
|
type: 'fields_section',
|
|
144
142
|
fields: [{ fieldRqlName: 'membership_status__c' }, { fieldRqlName: 'join_date__c' }],
|
|
@@ -164,6 +162,9 @@ const memberObj = CustomObject.loadFromExisting('gym_member__c');
|
|
|
164
162
|
const profileSection = CustomObjectFieldSection.loadFromExisting('sec_gm_profile', {
|
|
165
163
|
customObjectApiName: memberObj.getApiName(),
|
|
166
164
|
});
|
|
165
|
+
const membershipSection = CustomObjectFieldSection.loadFromExisting('sec_gm_membership', {
|
|
166
|
+
customObjectApiName: memberObj.getApiName(),
|
|
167
|
+
});
|
|
167
168
|
const memberLayout = CustomObjectPageLayout.loadFromExisting('layout_gym_member', {
|
|
168
169
|
customObjectApiName: memberObj.getApiName(),
|
|
169
170
|
});
|
|
@@ -181,13 +182,12 @@ const preferredName = new TextField(memberObj, {
|
|
|
181
182
|
memberLayout
|
|
182
183
|
.removeField('phone__c', {
|
|
183
184
|
tabKey: 'member',
|
|
184
|
-
|
|
185
|
+
section: profileSection,
|
|
185
186
|
removeAll: false,
|
|
186
187
|
})
|
|
187
188
|
.addField(preferredName, {
|
|
188
189
|
tabKey: 'member',
|
|
189
|
-
|
|
190
|
-
fieldSection: profileSection,
|
|
190
|
+
section: profileSection,
|
|
191
191
|
position: 2,
|
|
192
192
|
});
|
|
193
193
|
|
|
@@ -211,13 +211,12 @@ const referralSource = new TextField(memberObj, {
|
|
|
211
211
|
// Remove one existing section from the layout, then add a different one.
|
|
212
212
|
// The removed section component and its fields remain in the manifest.
|
|
213
213
|
memberLayout
|
|
214
|
-
.removeSection(
|
|
214
|
+
.removeSection(membershipSection, {
|
|
215
215
|
tabKey: 'member',
|
|
216
216
|
removeAll: false,
|
|
217
217
|
})
|
|
218
218
|
.addSection(
|
|
219
219
|
{
|
|
220
|
-
key: 'marketing',
|
|
221
220
|
name: 'Marketing',
|
|
222
221
|
type: 'fields_section',
|
|
223
222
|
section: marketingSection,
|
|
@@ -492,14 +492,12 @@ new CustomObjectPageLayout(memberObj, {
|
|
|
492
492
|
type: 'tab_with_sections',
|
|
493
493
|
sections: [
|
|
494
494
|
{
|
|
495
|
-
key: 'profile',
|
|
496
495
|
name: 'Profile',
|
|
497
496
|
type: 'fields_section',
|
|
498
497
|
section: memberProfileSection,
|
|
499
498
|
fields: [memberFirstName, memberLastName, memberDisplayName, memberEmail, memberPhone],
|
|
500
499
|
},
|
|
501
500
|
{
|
|
502
|
-
key: 'membership',
|
|
503
501
|
name: 'Membership',
|
|
504
502
|
type: 'fields_section',
|
|
505
503
|
section: memberMembershipSection,
|
|
@@ -527,7 +525,6 @@ new CustomObjectPageLayout(trainerObj, {
|
|
|
527
525
|
type: 'tab_with_sections',
|
|
528
526
|
sections: [
|
|
529
527
|
{
|
|
530
|
-
key: 'info',
|
|
531
528
|
name: 'Details',
|
|
532
529
|
type: 'fields_section',
|
|
533
530
|
section: trainerSection,
|
|
@@ -561,7 +558,6 @@ new CustomObjectPageLayout(sessionObj, {
|
|
|
561
558
|
type: 'tab_with_sections',
|
|
562
559
|
sections: [
|
|
563
560
|
{
|
|
564
|
-
key: 'schedule',
|
|
565
561
|
name: 'Schedule',
|
|
566
562
|
type: 'fields_section',
|
|
567
563
|
section: sessionScheduleSection,
|
|
@@ -575,7 +571,6 @@ new CustomObjectPageLayout(sessionObj, {
|
|
|
575
571
|
],
|
|
576
572
|
},
|
|
577
573
|
{
|
|
578
|
-
key: 'class',
|
|
579
574
|
name: 'Class & room',
|
|
580
575
|
type: 'fields_section',
|
|
581
576
|
section: sessionTrainerSection,
|
|
@@ -603,14 +598,12 @@ new CustomObjectPageLayout(enrollmentObj, {
|
|
|
603
598
|
type: 'tab_with_sections',
|
|
604
599
|
sections: [
|
|
605
600
|
{
|
|
606
|
-
key: 'link',
|
|
607
601
|
name: 'Session & member',
|
|
608
602
|
type: 'fields_section',
|
|
609
603
|
section: enrollmentSessionSection,
|
|
610
604
|
fields: [enrollmentSessionRef, enrollmentMemberRef],
|
|
611
605
|
},
|
|
612
606
|
{
|
|
613
|
-
key: 'attendance',
|
|
614
607
|
name: 'Attendance & check-in',
|
|
615
608
|
type: 'fields_section',
|
|
616
609
|
section: enrollmentAttendanceSection,
|
|
@@ -1666,7 +1666,6 @@
|
|
|
1666
1666
|
"type": "tab_with_sections",
|
|
1667
1667
|
"sections": [
|
|
1668
1668
|
{
|
|
1669
|
-
"key": "profile",
|
|
1670
1669
|
"name": "Profile",
|
|
1671
1670
|
"type": "fields_section",
|
|
1672
1671
|
"fields": [
|
|
@@ -1688,7 +1687,6 @@
|
|
|
1688
1687
|
]
|
|
1689
1688
|
},
|
|
1690
1689
|
{
|
|
1691
|
-
"key": "membership",
|
|
1692
1690
|
"name": "Membership",
|
|
1693
1691
|
"type": "fields_section",
|
|
1694
1692
|
"fields": [
|
|
@@ -1730,7 +1728,6 @@
|
|
|
1730
1728
|
"type": "tab_with_sections",
|
|
1731
1729
|
"sections": [
|
|
1732
1730
|
{
|
|
1733
|
-
"key": "info",
|
|
1734
1731
|
"name": "Details",
|
|
1735
1732
|
"type": "fields_section",
|
|
1736
1733
|
"fields": [
|
|
@@ -1778,7 +1775,6 @@
|
|
|
1778
1775
|
"type": "tab_with_sections",
|
|
1779
1776
|
"sections": [
|
|
1780
1777
|
{
|
|
1781
|
-
"key": "schedule",
|
|
1782
1778
|
"name": "Schedule",
|
|
1783
1779
|
"type": "fields_section",
|
|
1784
1780
|
"fields": [
|
|
@@ -1803,7 +1799,6 @@
|
|
|
1803
1799
|
]
|
|
1804
1800
|
},
|
|
1805
1801
|
{
|
|
1806
|
-
"key": "class",
|
|
1807
1802
|
"name": "Class & room",
|
|
1808
1803
|
"type": "fields_section",
|
|
1809
1804
|
"fields": [
|
|
@@ -1848,7 +1843,6 @@
|
|
|
1848
1843
|
"type": "tab_with_sections",
|
|
1849
1844
|
"sections": [
|
|
1850
1845
|
{
|
|
1851
|
-
"key": "link",
|
|
1852
1846
|
"name": "Session & member",
|
|
1853
1847
|
"type": "fields_section",
|
|
1854
1848
|
"fields": [
|
|
@@ -1861,7 +1855,6 @@
|
|
|
1861
1855
|
]
|
|
1862
1856
|
},
|
|
1863
1857
|
{
|
|
1864
|
-
"key": "attendance",
|
|
1865
1858
|
"name": "Attendance & check-in",
|
|
1866
1859
|
"type": "fields_section",
|
|
1867
1860
|
"fields": [
|
package/lib/manifest/app.d.mts
CHANGED
|
@@ -54,9 +54,9 @@ export interface AppProps {
|
|
|
54
54
|
/**
|
|
55
55
|
* SDUI pages shown as tabs in the app. Tab order matches the array order.
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
* Required. Must include at least one page.
|
|
58
58
|
*/
|
|
59
|
-
pages
|
|
59
|
+
pages: AppPage[];
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* Defines a Rippling app and registers it with the manifest.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","sourceRoot":"","sources":["../../src/lib/manifest/app.ts"],"names":[],"mappings":"OAAO,EAA8B,KAAK,8BAA8B,EAAE;OACnE,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE;OACjD,EAAE,QAAQ,EAAE;AAGnB;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAE/B;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,KAAK,
|
|
1
|
+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;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,8BAAmC,GAAG,GAAG;IAI3F,kEAAkE;IAClE,MAAM,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG;IAcxF,OAAO,CAAC,MAAM,CAAC,4BAA4B;IAO3C;;OAEG;IACH,UAAU,IAAI,MAAM;IAIpB;;OAEG;IACH,OAAO,IAAI,MAAM;IAIjB;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAc9B"}
|
package/lib/manifest/app.d.ts
CHANGED
|
@@ -54,9 +54,9 @@ export interface AppProps {
|
|
|
54
54
|
/**
|
|
55
55
|
* SDUI pages shown as tabs in the app. Tab order matches the array order.
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
* Required. Must include at least one page.
|
|
58
58
|
*/
|
|
59
|
-
pages
|
|
59
|
+
pages: AppPage[];
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* Defines a Rippling app and registers it with the manifest.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/lib/manifest/app.ts"],"names":[],"mappings":"OAAO,EAA8B,KAAK,8BAA8B,EAAE;OACnE,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE;OACjD,EAAE,QAAQ,EAAE;AAGnB;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAE/B;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,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AAQ,CAAC,QAAQ,CAAqB;IAC9C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAC5C,2DAA2D;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ;IAUjD;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,8BAAmC,GAAG,GAAG;IAI3F,kEAAkE;IAClE,MAAM,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG;IAcxF,OAAO,CAAC,MAAM,CAAC,4BAA4B;IAO3C;;OAEG;IACH,UAAU,IAAI,MAAM;IAIpB;;OAEG;IACH,OAAO,IAAI,MAAM;IAIjB;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAc9B"}
|
package/lib/manifest/app.js
CHANGED
|
@@ -15,6 +15,18 @@ function resolvePage(entry) {
|
|
|
15
15
|
sdui_page_id: sduiPageId,
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
+
function resolvePages(pages) {
|
|
19
|
+
if (pages == null || pages.length === 0) {
|
|
20
|
+
throw new Error('App pages must include at least one page.');
|
|
21
|
+
}
|
|
22
|
+
return pages.map(resolvePage);
|
|
23
|
+
}
|
|
24
|
+
function clonePages(value) {
|
|
25
|
+
if (!Array.isArray(value) || value.length === 0) {
|
|
26
|
+
throw new Error('App pages must include at least one page.');
|
|
27
|
+
}
|
|
28
|
+
return cloneJson(value);
|
|
29
|
+
}
|
|
18
30
|
function cloneJson(value) {
|
|
19
31
|
if (value == null)
|
|
20
32
|
return value;
|
|
@@ -57,7 +69,7 @@ class App {
|
|
|
57
69
|
this._description = props.description;
|
|
58
70
|
this._appType = props.appType;
|
|
59
71
|
this._icon = props.icon;
|
|
60
|
-
this._pages = (props.pages
|
|
72
|
+
this._pages = resolvePages(props.pages);
|
|
61
73
|
scope._register(this);
|
|
62
74
|
}
|
|
63
75
|
/**
|
|
@@ -75,7 +87,7 @@ class App {
|
|
|
75
87
|
_description: component['description'],
|
|
76
88
|
_appType: component['app_type'],
|
|
77
89
|
_icon: App.appIconFromExistingComponent(component['icon']),
|
|
78
|
-
_pages:
|
|
90
|
+
_pages: clonePages(component['pages']),
|
|
79
91
|
});
|
|
80
92
|
scope._register(app);
|
|
81
93
|
return app;
|
|
@@ -118,8 +130,7 @@ class App {
|
|
|
118
130
|
}
|
|
119
131
|
if (this._appType != null)
|
|
120
132
|
component['app_type'] = this._appType;
|
|
121
|
-
|
|
122
|
-
component['pages'] = this._pages.map((p) => ({ ...p }));
|
|
133
|
+
component['pages'] = this._pages.map((p) => ({ ...p }));
|
|
123
134
|
return component;
|
|
124
135
|
}
|
|
125
136
|
}
|
package/lib/manifest/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/lib/manifest/app.ts"],"names":[],"mappings":";;;AAAA,8EAA8G;AAE9G,8CAAuC;AACvC,gFAA2E;AA8D3E,SAAS,WAAW,CAAC,KAAc;IACjC,IAAI,CAAC,CAAC,KAAK,YAAY,oBAAQ,CAAC,EAAE,CAAC;QACjC,MAAM,IAAI,KAAK,CACb,iHAAiH,CAClH,CAAC;IACJ,CAAC;IACD,MAAM,UAAU,GAAG,KAAK,CAAC,aAAa,EAAE,CAAC;IACzC,OAAO;QACL,QAAQ,EAAE,UAAU;QACpB,SAAS,EAAE,WAAW;QACtB,YAAY,EAAE,UAAU;KACzB,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAI,KAAQ;IAC5B,IAAI,KAAK,IAAI,IAAI;QAAE,OAAO,KAAK,CAAC;IAChC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAM,CAAC;AAChD,CAAC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AK,CAAC;IACpB,CAAC;IAED;;;;OAIG;IACH,MAAM;QACJ,MAAM,SAAS,GAAwB;YACrC,IAAI,EAAE,GAAG,CAAC,aAAa;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,IAAI,EAAE,IAAI,CAAC,KAAK;SACjB,CAAC;QACF,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI;YAAE,SAAS,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC;QAC5E,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC;YACvB,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACnF,CAAC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI;YAAE,SAAS,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;QACjE,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QACxD,OAAO,SAAS,CAAC;IACnB,CAAC;;AA7FH,kBA8FC;AA7FiB,iBAAa,GAAG,YAAqB,CAAC"}
|
package/lib/manifest/app.mjs
CHANGED
|
@@ -12,6 +12,18 @@ function resolvePage(entry) {
|
|
|
12
12
|
sdui_page_id: sduiPageId,
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
+
function resolvePages(pages) {
|
|
16
|
+
if (pages == null || pages.length === 0) {
|
|
17
|
+
throw new Error('App pages must include at least one page.');
|
|
18
|
+
}
|
|
19
|
+
return pages.map(resolvePage);
|
|
20
|
+
}
|
|
21
|
+
function clonePages(value) {
|
|
22
|
+
if (!Array.isArray(value) || value.length === 0) {
|
|
23
|
+
throw new Error('App pages must include at least one page.');
|
|
24
|
+
}
|
|
25
|
+
return cloneJson(value);
|
|
26
|
+
}
|
|
15
27
|
function cloneJson(value) {
|
|
16
28
|
if (value == null)
|
|
17
29
|
return value;
|
|
@@ -54,7 +66,7 @@ export class App {
|
|
|
54
66
|
this._description = props.description;
|
|
55
67
|
this._appType = props.appType;
|
|
56
68
|
this._icon = props.icon;
|
|
57
|
-
this._pages = (props.pages
|
|
69
|
+
this._pages = resolvePages(props.pages);
|
|
58
70
|
scope._register(this);
|
|
59
71
|
}
|
|
60
72
|
/**
|
|
@@ -72,7 +84,7 @@ export class App {
|
|
|
72
84
|
_description: component['description'],
|
|
73
85
|
_appType: component['app_type'],
|
|
74
86
|
_icon: App.appIconFromExistingComponent(component['icon']),
|
|
75
|
-
_pages:
|
|
87
|
+
_pages: clonePages(component['pages']),
|
|
76
88
|
});
|
|
77
89
|
scope._register(app);
|
|
78
90
|
return app;
|
|
@@ -115,8 +127,7 @@ export class App {
|
|
|
115
127
|
}
|
|
116
128
|
if (this._appType != null)
|
|
117
129
|
component['app_type'] = this._appType;
|
|
118
|
-
|
|
119
|
-
component['pages'] = this._pages.map((p) => ({ ...p }));
|
|
130
|
+
component['pages'] = this._pages.map((p) => ({ ...p }));
|
|
120
131
|
return component;
|
|
121
132
|
}
|
|
122
133
|
}
|
package/lib/manifest/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","sourceRoot":"","sources":["../../src/lib/manifest/app.ts"],"names":[],"mappings":"OAAO,EAAE,0BAA0B,EAAuC;OAEnE,EAAE,QAAQ,EAAE;OACZ,EAAE,2BAA2B,EAAE;AA8DtC,SAAS,WAAW,CAAC,KAAc;IACjC,IAAI,CAAC,CAAC,KAAK,YAAY,QAAQ,CAAC,EAAE,CAAC;QACjC,MAAM,IAAI,KAAK,CACb,iHAAiH,CAClH,CAAC;IACJ,CAAC;IACD,MAAM,UAAU,GAAG,KAAK,CAAC,aAAa,EAAE,CAAC;IACzC,OAAO;QACL,QA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
|
|
29
29
|
* A field section is a named group of fields displayed together on a custom
|
|
30
|
-
* object's detail page.
|
|
31
|
-
*
|
|
30
|
+
* object's detail page. Every custom field must receive one of these sections
|
|
31
|
+
* through its `section` prop.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* ```ts
|
|
@@ -27,8 +27,8 @@ export interface CustomObjectFieldSectionProps {
|
|
|
27
27
|
* Defines a field section and registers it with the manifest.
|
|
28
28
|
*
|
|
29
29
|
* A field section is a named group of fields displayed together on a custom
|
|
30
|
-
* object's detail page.
|
|
31
|
-
*
|
|
30
|
+
* object's detail page. Every custom field must receive one of these sections
|
|
31
|
+
* through its `section` prop.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* ```ts
|
|
@@ -8,8 +8,8 @@ const _existing_component_fields_1 = require("./_existing-component-fields.js");
|
|
|
8
8
|
* Defines a field section and registers it with the manifest.
|
|
9
9
|
*
|
|
10
10
|
* A field section is a named group of fields displayed together on a custom
|
|
11
|
-
* object's detail page.
|
|
12
|
-
*
|
|
11
|
+
* object's detail page. Every custom field must receive one of these sections
|
|
12
|
+
* through its `section` prop.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
@@ -5,8 +5,8 @@ import { requireStringComponentField } from "./_existing-component-fields.mjs";
|
|
|
5
5
|
* Defines a field section and registers it with the manifest.
|
|
6
6
|
*
|
|
7
7
|
* A field section is a named group of fields displayed together on a custom
|
|
8
|
-
* object's detail page.
|
|
9
|
-
*
|
|
8
|
+
* object's detail page. Every custom field must receive one of these sections
|
|
9
|
+
* through its `section` prop.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|