@esri/hub-common 14.86.1 → 14.87.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/dist/esm/core/schemas/internal/follow/FollowCardUiSchema.js +16 -17
- package/dist/esm/core/schemas/internal/follow/FollowCardUiSchema.js.map +1 -1
- package/dist/esm/core/schemas/internal/follow/FollowSchema.js +8 -5
- package/dist/esm/core/schemas/internal/follow/FollowSchema.js.map +1 -1
- package/dist/node/core/schemas/internal/follow/FollowCardUiSchema.js +16 -17
- package/dist/node/core/schemas/internal/follow/FollowCardUiSchema.js.map +1 -1
- package/dist/node/core/schemas/internal/follow/FollowSchema.js +8 -5
- package/dist/node/core/schemas/internal/follow/FollowSchema.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export const buildUiSchema = (i18nScope, config, context) => {
|
|
|
9
9
|
elements: [
|
|
10
10
|
{
|
|
11
11
|
label: "Select Entity to Follow",
|
|
12
|
-
scope: "/properties/
|
|
12
|
+
scope: "/properties/entityId",
|
|
13
13
|
type: "Control",
|
|
14
14
|
options: {
|
|
15
15
|
control: "hub-field-input-gallery-picker",
|
|
@@ -25,7 +25,7 @@ export const buildUiSchema = (i18nScope, config, context) => {
|
|
|
25
25
|
{
|
|
26
26
|
predicates: [
|
|
27
27
|
{
|
|
28
|
-
type: "Hub
|
|
28
|
+
type: "Hub Site Application",
|
|
29
29
|
},
|
|
30
30
|
],
|
|
31
31
|
},
|
|
@@ -38,40 +38,39 @@ export const buildUiSchema = (i18nScope, config, context) => {
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
label: "Call-to-Action",
|
|
41
|
-
scope: "/properties/
|
|
41
|
+
scope: "/properties/callToActionText",
|
|
42
42
|
type: "Control",
|
|
43
|
+
options: {
|
|
44
|
+
type: "textarea",
|
|
45
|
+
rows: 4,
|
|
46
|
+
},
|
|
43
47
|
},
|
|
44
48
|
{
|
|
45
49
|
label: "Alignment",
|
|
46
|
-
scope: "/properties/
|
|
50
|
+
scope: "/properties/callToActionAlign",
|
|
47
51
|
type: "Control",
|
|
48
52
|
options: {
|
|
49
53
|
control: "hub-field-input-alignment",
|
|
54
|
+
layout: "inline-space-between",
|
|
50
55
|
},
|
|
51
56
|
},
|
|
52
57
|
{
|
|
53
|
-
label: "
|
|
54
|
-
scope: "/properties/
|
|
58
|
+
label: "Follow",
|
|
59
|
+
scope: "/properties/buttonText",
|
|
55
60
|
type: "Control",
|
|
56
|
-
options: {
|
|
57
|
-
control: "hub-field-input-input",
|
|
58
|
-
type: "textarea",
|
|
59
|
-
},
|
|
60
61
|
},
|
|
61
62
|
{
|
|
62
|
-
|
|
63
|
+
label: "Unfollow",
|
|
64
|
+
scope: "/properties/unfollowButtonText",
|
|
63
65
|
type: "Control",
|
|
64
|
-
options: {
|
|
65
|
-
control: "hub-field-input-input",
|
|
66
|
-
type: "textarea",
|
|
67
|
-
},
|
|
68
66
|
},
|
|
69
67
|
{
|
|
70
68
|
label: "Button Alignment",
|
|
71
|
-
scope: "/properties/
|
|
69
|
+
scope: "/properties/buttonAlign",
|
|
72
70
|
type: "Control",
|
|
73
71
|
options: {
|
|
74
72
|
control: "hub-field-input-alignment",
|
|
73
|
+
layout: "inline-space-between",
|
|
75
74
|
},
|
|
76
75
|
},
|
|
77
76
|
{
|
|
@@ -80,7 +79,7 @@ export const buildUiSchema = (i18nScope, config, context) => {
|
|
|
80
79
|
type: "Control",
|
|
81
80
|
options: {
|
|
82
81
|
control: "hub-field-input-select",
|
|
83
|
-
labels: ["Solid Background", "
|
|
82
|
+
labels: ["Solid Background", "Outline"],
|
|
84
83
|
},
|
|
85
84
|
},
|
|
86
85
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowCardUiSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowCardUiSchema.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,SAAiB,EACjB,MAAyB,EACzB,OAAuB,EACZ,EAAE;IACb,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,yBAAyB;gBAChC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"FollowCardUiSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowCardUiSchema.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,SAAiB,EACjB,MAAyB,EACzB,OAAuB,EACZ,EAAE;IACb,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,yBAAyB;gBAChC,KAAK,EAAE,sBAAsB;gBAC7B,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,OAAO,EAAE,gCAAgC;oBACzC,YAAY,EAAE,MAAM;oBACpB,QAAQ,EAAE;wBACR;4BACE,aAAa,EAAE,CAAC;4BAChB,KAAK,EAAE,MAAM;4BACb,MAAM,EAAE;gCACN,IAAI,EAAE;oCACJ,YAAY,EAAE,MAAM;oCACpB,OAAO,EAAE;wCACP;4CACE,UAAU,EAAE;gDACV;oDACE,IAAI,EAAE,sBAAsB;iDAC7B;6CACF;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,gBAAgB;gBACvB,KAAK,EAAE,8BAA8B;gBACrC,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,CAAC;iBACR;aACF;YACD;gBACE,KAAK,EAAE,WAAW;gBAClB,KAAK,EAAE,+BAA+B;gBACtC,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,OAAO,EAAE,2BAA2B;oBACpC,MAAM,EAAE,sBAAsB;iBAC/B;aACF;YACD;gBACE,KAAK,EAAE,QAAQ;gBACf,KAAK,EAAE,wBAAwB;gBAC/B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,KAAK,EAAE,UAAU;gBACjB,KAAK,EAAE,gCAAgC;gBACvC,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,KAAK,EAAE,kBAAkB;gBACzB,KAAK,EAAE,yBAAyB;gBAChC,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,OAAO,EAAE,2BAA2B;oBACpC,MAAM,EAAE,sBAAsB;iBAC/B;aACF;YACD;gBACE,KAAK,EAAE,cAAc;gBACrB,KAAK,EAAE,yBAAyB;gBAChC,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,OAAO,EAAE,wBAAwB;oBACjC,MAAM,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;iBACxC;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -10,24 +10,27 @@ export const FollowSchema = {
|
|
|
10
10
|
maxItems: 10,
|
|
11
11
|
default: [],
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
entityId: {
|
|
14
|
+
type: "string",
|
|
15
|
+
},
|
|
16
|
+
callToActionText: {
|
|
14
17
|
type: "string",
|
|
15
18
|
default: "By following this site you will get updates about new events, surveys, and tools that you can use to help us achieve our goals.",
|
|
16
19
|
},
|
|
17
|
-
|
|
20
|
+
callToActionAlign: {
|
|
18
21
|
enum: ["start", "center", "end"],
|
|
19
22
|
default: "center",
|
|
20
23
|
type: "string",
|
|
21
24
|
},
|
|
22
|
-
|
|
25
|
+
buttonText: {
|
|
23
26
|
type: "string",
|
|
24
27
|
default: "Follow",
|
|
25
28
|
},
|
|
26
|
-
|
|
29
|
+
unfollowButtonText: {
|
|
27
30
|
type: "string",
|
|
28
31
|
default: "Unfollow",
|
|
29
32
|
},
|
|
30
|
-
|
|
33
|
+
buttonAlign: {
|
|
31
34
|
enum: ["start", "center", "end"],
|
|
32
35
|
default: "center",
|
|
33
36
|
type: "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAyB;IAChD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE;QACV,sBAAsB,EAAE;YACtB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACZ;QACD,
|
|
1
|
+
{"version":3,"file":"FollowSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAyB;IAChD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE;QACV,sBAAsB,EAAE;YACtB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACZ;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EACL,iIAAiI;SACpI;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC;YAChC,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;SAClB;QACD,kBAAkB,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;SACpB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC;YAChC,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;YAC1B,OAAO,EAAE,OAAO;SACjB;KACF;CACF,CAAC"}
|
|
@@ -12,7 +12,7 @@ exports.buildUiSchema = (i18nScope, config, context) => {
|
|
|
12
12
|
elements: [
|
|
13
13
|
{
|
|
14
14
|
label: "Select Entity to Follow",
|
|
15
|
-
scope: "/properties/
|
|
15
|
+
scope: "/properties/entityId",
|
|
16
16
|
type: "Control",
|
|
17
17
|
options: {
|
|
18
18
|
control: "hub-field-input-gallery-picker",
|
|
@@ -28,7 +28,7 @@ exports.buildUiSchema = (i18nScope, config, context) => {
|
|
|
28
28
|
{
|
|
29
29
|
predicates: [
|
|
30
30
|
{
|
|
31
|
-
type: "Hub
|
|
31
|
+
type: "Hub Site Application",
|
|
32
32
|
},
|
|
33
33
|
],
|
|
34
34
|
},
|
|
@@ -41,40 +41,39 @@ exports.buildUiSchema = (i18nScope, config, context) => {
|
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
label: "Call-to-Action",
|
|
44
|
-
scope: "/properties/
|
|
44
|
+
scope: "/properties/callToActionText",
|
|
45
45
|
type: "Control",
|
|
46
|
+
options: {
|
|
47
|
+
type: "textarea",
|
|
48
|
+
rows: 4,
|
|
49
|
+
},
|
|
46
50
|
},
|
|
47
51
|
{
|
|
48
52
|
label: "Alignment",
|
|
49
|
-
scope: "/properties/
|
|
53
|
+
scope: "/properties/callToActionAlign",
|
|
50
54
|
type: "Control",
|
|
51
55
|
options: {
|
|
52
56
|
control: "hub-field-input-alignment",
|
|
57
|
+
layout: "inline-space-between",
|
|
53
58
|
},
|
|
54
59
|
},
|
|
55
60
|
{
|
|
56
|
-
label: "
|
|
57
|
-
scope: "/properties/
|
|
61
|
+
label: "Follow",
|
|
62
|
+
scope: "/properties/buttonText",
|
|
58
63
|
type: "Control",
|
|
59
|
-
options: {
|
|
60
|
-
control: "hub-field-input-input",
|
|
61
|
-
type: "textarea",
|
|
62
|
-
},
|
|
63
64
|
},
|
|
64
65
|
{
|
|
65
|
-
|
|
66
|
+
label: "Unfollow",
|
|
67
|
+
scope: "/properties/unfollowButtonText",
|
|
66
68
|
type: "Control",
|
|
67
|
-
options: {
|
|
68
|
-
control: "hub-field-input-input",
|
|
69
|
-
type: "textarea",
|
|
70
|
-
},
|
|
71
69
|
},
|
|
72
70
|
{
|
|
73
71
|
label: "Button Alignment",
|
|
74
|
-
scope: "/properties/
|
|
72
|
+
scope: "/properties/buttonAlign",
|
|
75
73
|
type: "Control",
|
|
76
74
|
options: {
|
|
77
75
|
control: "hub-field-input-alignment",
|
|
76
|
+
layout: "inline-space-between",
|
|
78
77
|
},
|
|
79
78
|
},
|
|
80
79
|
{
|
|
@@ -83,7 +82,7 @@ exports.buildUiSchema = (i18nScope, config, context) => {
|
|
|
83
82
|
type: "Control",
|
|
84
83
|
options: {
|
|
85
84
|
control: "hub-field-input-select",
|
|
86
|
-
labels: ["Solid Background", "
|
|
85
|
+
labels: ["Solid Background", "Outline"],
|
|
87
86
|
},
|
|
88
87
|
},
|
|
89
88
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowCardUiSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowCardUiSchema.ts"],"names":[],"mappings":";;;AAIA;;;;GAIG;AACU,QAAA,aAAa,GAAG,CAC3B,SAAiB,EACjB,MAAyB,EACzB,OAAuB,EACZ,EAAE;IACb,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,yBAAyB;gBAChC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"FollowCardUiSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowCardUiSchema.ts"],"names":[],"mappings":";;;AAIA;;;;GAIG;AACU,QAAA,aAAa,GAAG,CAC3B,SAAiB,EACjB,MAAyB,EACzB,OAAuB,EACZ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AAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,OAAO,EAAE,wBAAwB;oBACjC,MAAM,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;iBACxC;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -13,24 +13,27 @@ exports.FollowSchema = {
|
|
|
13
13
|
maxItems: 10,
|
|
14
14
|
default: [],
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
entityId: {
|
|
17
|
+
type: "string",
|
|
18
|
+
},
|
|
19
|
+
callToActionText: {
|
|
17
20
|
type: "string",
|
|
18
21
|
default: "By following this site you will get updates about new events, surveys, and tools that you can use to help us achieve our goals.",
|
|
19
22
|
},
|
|
20
|
-
|
|
23
|
+
callToActionAlign: {
|
|
21
24
|
enum: ["start", "center", "end"],
|
|
22
25
|
default: "center",
|
|
23
26
|
type: "string",
|
|
24
27
|
},
|
|
25
|
-
|
|
28
|
+
buttonText: {
|
|
26
29
|
type: "string",
|
|
27
30
|
default: "Follow",
|
|
28
31
|
},
|
|
29
|
-
|
|
32
|
+
unfollowButtonText: {
|
|
30
33
|
type: "string",
|
|
31
34
|
default: "Unfollow",
|
|
32
35
|
},
|
|
33
|
-
|
|
36
|
+
buttonAlign: {
|
|
34
37
|
enum: ["start", "center", "end"],
|
|
35
38
|
default: "center",
|
|
36
39
|
type: "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowSchema.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAyB;IAChD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE;QACV,sBAAsB,EAAE;YACtB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACZ;QACD,
|
|
1
|
+
{"version":3,"file":"FollowSchema.js","sourceRoot":"","sources":["../../../../../../src/core/schemas/internal/follow/FollowSchema.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAyB;IAChD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE;QACV,sBAAsB,EAAE;YACtB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACZ;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EACL,iIAAiI;SACpI;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC;YAChC,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;SAClB;QACD,kBAAkB,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;SACpB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC;YAChC,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;YAC1B,OAAO,EAAE,OAAO;SACjB;KACF;CACF,CAAC"}
|