@fluid-app/fluid-cli-portal 0.1.80 → 0.1.82
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/{backend-dev-plugin-CbnPhBUY.mjs → backend-dev-plugin-C3gcb6LF.mjs} +2 -2
- package/dist/{backend-dev-plugin-CbnPhBUY.mjs.map → backend-dev-plugin-C3gcb6LF.mjs.map} +1 -1
- package/dist/index.d.mts +61 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/{portal-dev-plugin-8U7Q5jlH.mjs → portal-dev-plugin-C6TJcQmL.mjs} +2 -2
- package/dist/{portal-dev-plugin-8U7Q5jlH.mjs.map → portal-dev-plugin-C6TJcQmL.mjs.map} +1 -1
- package/dist/{portal-widget-dev-plugin-D8k8emMl.mjs → portal-widget-dev-plugin-BFyun5DF.mjs} +3 -3
- package/dist/{portal-widget-dev-plugin-D8k8emMl.mjs.map → portal-widget-dev-plugin-BFyun5DF.mjs.map} +1 -1
- package/dist/{pull-B1bXrPhS.mjs → pull-DhGfFqnU.mjs} +512 -39
- package/dist/{pull-B1bXrPhS.mjs.map → pull-DhGfFqnU.mjs.map} +1 -1
- package/dist/{src-D1cU2gmw.mjs → src-BuSYN4Co.mjs} +9 -1
- package/dist/{src-D1cU2gmw.mjs.map → src-BuSYN4Co.mjs.map} +1 -1
- package/dist/vite-plugin.mjs +4 -4
- package/package.json +7 -7
|
@@ -6737,7 +6737,7 @@ function transformProfile(profile, navIdToSlug, themeIdToSlug) {
|
|
|
6737
6737
|
}
|
|
6738
6738
|
};
|
|
6739
6739
|
}
|
|
6740
|
-
const PORTAL_SCHEMA_BASE_URL = `https://assets.fluid.app/docs/schema/portal/1.
|
|
6740
|
+
const PORTAL_SCHEMA_BASE_URL = `https://assets.fluid.app/docs/schema/portal/1.4.0`;
|
|
6741
6741
|
const PORTAL_RESOURCE_KINDS = [
|
|
6742
6742
|
"definition",
|
|
6743
6743
|
"screen",
|
|
@@ -13012,7 +13012,7 @@ var require__2020 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13012
13012
|
const generatedSchemas = {
|
|
13013
13013
|
"data-source": {
|
|
13014
13014
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
13015
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
13015
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
13016
13016
|
title: "Fluid Portal Data Source",
|
|
13017
13017
|
examples: [{ sources: [{
|
|
13018
13018
|
type: "custom",
|
|
@@ -13284,7 +13284,7 @@ const generatedSchemas = {
|
|
|
13284
13284
|
},
|
|
13285
13285
|
"theme-config": {
|
|
13286
13286
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
13287
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
13287
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/theme-config.schema.json",
|
|
13288
13288
|
title: "Fluid Portal Structured Theme Configuration",
|
|
13289
13289
|
examples: [{
|
|
13290
13290
|
id: "default",
|
|
@@ -14314,7 +14314,7 @@ const generatedSchemas = {
|
|
|
14314
14314
|
},
|
|
14315
14315
|
widget: {
|
|
14316
14316
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
14317
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
14317
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/widget.schema.json",
|
|
14318
14318
|
title: "Fluid Portal Widget Node",
|
|
14319
14319
|
examples: [{
|
|
14320
14320
|
id: "welcome",
|
|
@@ -14633,7 +14633,242 @@ const generatedSchemas = {
|
|
|
14633
14633
|
description: "Properties accepted by the registered widget."
|
|
14634
14634
|
},
|
|
14635
14635
|
dataSource: {
|
|
14636
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
14636
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
14637
|
+
description: "Optional data-source configuration that populates widget props."
|
|
14638
|
+
},
|
|
14639
|
+
columnIndex: {
|
|
14640
|
+
type: "integer",
|
|
14641
|
+
minimum: 0,
|
|
14642
|
+
description: "Zero-based parent layout column containing this widget."
|
|
14643
|
+
}
|
|
14644
|
+
},
|
|
14645
|
+
required: [
|
|
14646
|
+
"id",
|
|
14647
|
+
"type",
|
|
14648
|
+
"props"
|
|
14649
|
+
],
|
|
14650
|
+
additionalProperties: false
|
|
14651
|
+
},
|
|
14652
|
+
{
|
|
14653
|
+
type: "object",
|
|
14654
|
+
properties: {
|
|
14655
|
+
id: {
|
|
14656
|
+
type: "string",
|
|
14657
|
+
pattern: "\\S",
|
|
14658
|
+
description: "Stable widget-node identifier within this screen."
|
|
14659
|
+
},
|
|
14660
|
+
type: {
|
|
14661
|
+
const: "AnnouncementWidget",
|
|
14662
|
+
description: "Registered widget type."
|
|
14663
|
+
},
|
|
14664
|
+
props: {
|
|
14665
|
+
type: "object",
|
|
14666
|
+
properties: {
|
|
14667
|
+
title: {
|
|
14668
|
+
type: "string",
|
|
14669
|
+
title: "Title",
|
|
14670
|
+
description: "The announcement headline",
|
|
14671
|
+
default: "Announcement"
|
|
14672
|
+
},
|
|
14673
|
+
titleFontSize: {
|
|
14674
|
+
enum: [
|
|
14675
|
+
"2xl",
|
|
14676
|
+
"xl",
|
|
14677
|
+
"lg",
|
|
14678
|
+
"md",
|
|
14679
|
+
"sm",
|
|
14680
|
+
"xs"
|
|
14681
|
+
],
|
|
14682
|
+
title: "Title Font Size",
|
|
14683
|
+
description: "Font size for the title",
|
|
14684
|
+
default: "lg"
|
|
14685
|
+
},
|
|
14686
|
+
titleColor: {
|
|
14687
|
+
enum: [
|
|
14688
|
+
"background",
|
|
14689
|
+
"foreground",
|
|
14690
|
+
"primary",
|
|
14691
|
+
"secondary",
|
|
14692
|
+
"accent",
|
|
14693
|
+
"muted",
|
|
14694
|
+
"border",
|
|
14695
|
+
"destructive",
|
|
14696
|
+
"transparent"
|
|
14697
|
+
],
|
|
14698
|
+
title: "Title Color",
|
|
14699
|
+
description: "The color of the title",
|
|
14700
|
+
default: "foreground"
|
|
14701
|
+
},
|
|
14702
|
+
message: {
|
|
14703
|
+
type: "string",
|
|
14704
|
+
title: "Message",
|
|
14705
|
+
description: "Optional supporting text",
|
|
14706
|
+
default: ""
|
|
14707
|
+
},
|
|
14708
|
+
messageColor: {
|
|
14709
|
+
enum: [
|
|
14710
|
+
"background",
|
|
14711
|
+
"foreground",
|
|
14712
|
+
"primary",
|
|
14713
|
+
"secondary",
|
|
14714
|
+
"accent",
|
|
14715
|
+
"muted",
|
|
14716
|
+
"border",
|
|
14717
|
+
"destructive",
|
|
14718
|
+
"transparent"
|
|
14719
|
+
],
|
|
14720
|
+
title: "Message Color",
|
|
14721
|
+
description: "The color of the message — kept readable on the background",
|
|
14722
|
+
default: "muted"
|
|
14723
|
+
},
|
|
14724
|
+
ctaText: {
|
|
14725
|
+
type: "string",
|
|
14726
|
+
title: "Button Text",
|
|
14727
|
+
description: "Optional call-to-action link label (leave blank to hide)",
|
|
14728
|
+
default: ""
|
|
14729
|
+
},
|
|
14730
|
+
ctaHref: {
|
|
14731
|
+
type: "string",
|
|
14732
|
+
title: "Button Link",
|
|
14733
|
+
description: "Where the call-to-action link goes",
|
|
14734
|
+
default: ""
|
|
14735
|
+
},
|
|
14736
|
+
tone: {
|
|
14737
|
+
enum: [
|
|
14738
|
+
"promo",
|
|
14739
|
+
"info",
|
|
14740
|
+
"success",
|
|
14741
|
+
"warning",
|
|
14742
|
+
"neutral"
|
|
14743
|
+
],
|
|
14744
|
+
title: "Tone",
|
|
14745
|
+
description: "Picks the leading icon that frames the message",
|
|
14746
|
+
default: "promo"
|
|
14747
|
+
},
|
|
14748
|
+
showIcon: {
|
|
14749
|
+
type: "boolean",
|
|
14750
|
+
title: "Show Icon",
|
|
14751
|
+
description: "Show the leading tone icon",
|
|
14752
|
+
default: true
|
|
14753
|
+
},
|
|
14754
|
+
showAccentBar: {
|
|
14755
|
+
type: "boolean",
|
|
14756
|
+
title: "Show Accent Bar",
|
|
14757
|
+
description: "Show the colored accent stripe (left-aligned only)",
|
|
14758
|
+
default: true
|
|
14759
|
+
},
|
|
14760
|
+
accentColor: {
|
|
14761
|
+
enum: [
|
|
14762
|
+
"background",
|
|
14763
|
+
"foreground",
|
|
14764
|
+
"primary",
|
|
14765
|
+
"secondary",
|
|
14766
|
+
"accent",
|
|
14767
|
+
"muted",
|
|
14768
|
+
"border",
|
|
14769
|
+
"destructive",
|
|
14770
|
+
"transparent"
|
|
14771
|
+
],
|
|
14772
|
+
title: "Accent Color",
|
|
14773
|
+
description: "Icon, accent stripe and call-to-action color",
|
|
14774
|
+
default: "primary"
|
|
14775
|
+
},
|
|
14776
|
+
alignment: {
|
|
14777
|
+
enum: [
|
|
14778
|
+
"left",
|
|
14779
|
+
"center",
|
|
14780
|
+
"right"
|
|
14781
|
+
],
|
|
14782
|
+
title: "Alignment",
|
|
14783
|
+
description: "Text alignment",
|
|
14784
|
+
default: "left"
|
|
14785
|
+
},
|
|
14786
|
+
background: {
|
|
14787
|
+
anyOf: [{ type: "string" }, {
|
|
14788
|
+
type: "object",
|
|
14789
|
+
properties: {
|
|
14790
|
+
type: {
|
|
14791
|
+
enum: ["solid", "image"],
|
|
14792
|
+
description: "Background strategy discriminator."
|
|
14793
|
+
},
|
|
14794
|
+
color: {
|
|
14795
|
+
$ref: "#/$defs/colorOption",
|
|
14796
|
+
description: "Semantic color used by a solid background."
|
|
14797
|
+
},
|
|
14798
|
+
resource: {
|
|
14799
|
+
$ref: "#/$defs/shareableItemOrUrl",
|
|
14800
|
+
description: "Fluid resource or public URL used by an image background."
|
|
14801
|
+
}
|
|
14802
|
+
},
|
|
14803
|
+
required: ["type"],
|
|
14804
|
+
additionalProperties: false
|
|
14805
|
+
}],
|
|
14806
|
+
title: "Background",
|
|
14807
|
+
description: "Background for the announcement banner",
|
|
14808
|
+
default: {
|
|
14809
|
+
type: "solid",
|
|
14810
|
+
color: "muted"
|
|
14811
|
+
}
|
|
14812
|
+
},
|
|
14813
|
+
padding: {
|
|
14814
|
+
enum: [
|
|
14815
|
+
0,
|
|
14816
|
+
2,
|
|
14817
|
+
4,
|
|
14818
|
+
6,
|
|
14819
|
+
8,
|
|
14820
|
+
10
|
|
14821
|
+
],
|
|
14822
|
+
title: "Padding",
|
|
14823
|
+
description: "The padding of the banner",
|
|
14824
|
+
default: 6
|
|
14825
|
+
},
|
|
14826
|
+
borderRadius: {
|
|
14827
|
+
enum: [
|
|
14828
|
+
"none",
|
|
14829
|
+
"sm",
|
|
14830
|
+
"md",
|
|
14831
|
+
"lg",
|
|
14832
|
+
"xl",
|
|
14833
|
+
"full"
|
|
14834
|
+
],
|
|
14835
|
+
title: "Border Radius",
|
|
14836
|
+
description: "The border radius of the banner",
|
|
14837
|
+
default: "lg"
|
|
14838
|
+
},
|
|
14839
|
+
borderWidth: {
|
|
14840
|
+
enum: [
|
|
14841
|
+
"none",
|
|
14842
|
+
"thin",
|
|
14843
|
+
"medium",
|
|
14844
|
+
"thick"
|
|
14845
|
+
],
|
|
14846
|
+
title: "Border Width",
|
|
14847
|
+
description: "Width of the banner border",
|
|
14848
|
+
default: "none"
|
|
14849
|
+
},
|
|
14850
|
+
borderColor: {
|
|
14851
|
+
enum: [
|
|
14852
|
+
"background",
|
|
14853
|
+
"foreground",
|
|
14854
|
+
"primary",
|
|
14855
|
+
"secondary",
|
|
14856
|
+
"accent",
|
|
14857
|
+
"muted",
|
|
14858
|
+
"border",
|
|
14859
|
+
"destructive",
|
|
14860
|
+
"transparent"
|
|
14861
|
+
],
|
|
14862
|
+
title: "Border Color",
|
|
14863
|
+
description: "Color of the banner border",
|
|
14864
|
+
default: "muted"
|
|
14865
|
+
}
|
|
14866
|
+
},
|
|
14867
|
+
additionalProperties: false,
|
|
14868
|
+
description: "Properties accepted by the registered widget."
|
|
14869
|
+
},
|
|
14870
|
+
dataSource: {
|
|
14871
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
14637
14872
|
description: "Optional data-source configuration that populates widget props."
|
|
14638
14873
|
},
|
|
14639
14874
|
columnIndex: {
|
|
@@ -14848,7 +15083,7 @@ const generatedSchemas = {
|
|
|
14848
15083
|
description: "Properties accepted by the registered widget."
|
|
14849
15084
|
},
|
|
14850
15085
|
dataSource: {
|
|
14851
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
15086
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
14852
15087
|
description: "Optional data-source configuration that populates widget props."
|
|
14853
15088
|
},
|
|
14854
15089
|
columnIndex: {
|
|
@@ -15061,7 +15296,7 @@ const generatedSchemas = {
|
|
|
15061
15296
|
description: "Properties accepted by the registered widget."
|
|
15062
15297
|
},
|
|
15063
15298
|
dataSource: {
|
|
15064
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
15299
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
15065
15300
|
description: "Optional data-source configuration that populates widget props."
|
|
15066
15301
|
},
|
|
15067
15302
|
columnIndex: {
|
|
@@ -15296,7 +15531,7 @@ const generatedSchemas = {
|
|
|
15296
15531
|
description: "Properties accepted by the registered widget."
|
|
15297
15532
|
},
|
|
15298
15533
|
dataSource: {
|
|
15299
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
15534
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
15300
15535
|
description: "Optional data-source configuration that populates widget props."
|
|
15301
15536
|
},
|
|
15302
15537
|
columnIndex: {
|
|
@@ -15580,7 +15815,7 @@ const generatedSchemas = {
|
|
|
15580
15815
|
description: "Properties accepted by the registered widget."
|
|
15581
15816
|
},
|
|
15582
15817
|
dataSource: {
|
|
15583
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
15818
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
15584
15819
|
description: "Optional data-source configuration that populates widget props."
|
|
15585
15820
|
},
|
|
15586
15821
|
columnIndex: {
|
|
@@ -15777,7 +16012,7 @@ const generatedSchemas = {
|
|
|
15777
16012
|
description: "Properties accepted by the registered widget."
|
|
15778
16013
|
},
|
|
15779
16014
|
dataSource: {
|
|
15780
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
16015
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
15781
16016
|
description: "Optional data-source configuration that populates widget props."
|
|
15782
16017
|
},
|
|
15783
16018
|
columnIndex: {
|
|
@@ -16031,7 +16266,7 @@ const generatedSchemas = {
|
|
|
16031
16266
|
description: "Properties accepted by the registered widget."
|
|
16032
16267
|
},
|
|
16033
16268
|
dataSource: {
|
|
16034
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
16269
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
16035
16270
|
description: "Optional data-source configuration that populates widget props."
|
|
16036
16271
|
},
|
|
16037
16272
|
columnIndex: {
|
|
@@ -16125,7 +16360,7 @@ const generatedSchemas = {
|
|
|
16125
16360
|
description: "Properties accepted by the registered widget."
|
|
16126
16361
|
},
|
|
16127
16362
|
dataSource: {
|
|
16128
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
16363
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
16129
16364
|
description: "Optional data-source configuration that populates widget props."
|
|
16130
16365
|
},
|
|
16131
16366
|
columnIndex: {
|
|
@@ -16324,7 +16559,7 @@ const generatedSchemas = {
|
|
|
16324
16559
|
description: "Properties accepted by the registered widget."
|
|
16325
16560
|
},
|
|
16326
16561
|
dataSource: {
|
|
16327
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
16562
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
16328
16563
|
description: "Optional data-source configuration that populates widget props."
|
|
16329
16564
|
},
|
|
16330
16565
|
columnIndex: {
|
|
@@ -16492,7 +16727,7 @@ const generatedSchemas = {
|
|
|
16492
16727
|
description: "Properties accepted by the registered widget."
|
|
16493
16728
|
},
|
|
16494
16729
|
dataSource: {
|
|
16495
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
16730
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
16496
16731
|
description: "Optional data-source configuration that populates widget props."
|
|
16497
16732
|
},
|
|
16498
16733
|
columnIndex: {
|
|
@@ -16641,7 +16876,7 @@ const generatedSchemas = {
|
|
|
16641
16876
|
description: "Properties accepted by the registered widget."
|
|
16642
16877
|
},
|
|
16643
16878
|
dataSource: {
|
|
16644
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
16879
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
16645
16880
|
description: "Optional data-source configuration that populates widget props."
|
|
16646
16881
|
},
|
|
16647
16882
|
columnIndex: {
|
|
@@ -16877,7 +17112,7 @@ const generatedSchemas = {
|
|
|
16877
17112
|
description: "Properties accepted by the registered widget."
|
|
16878
17113
|
},
|
|
16879
17114
|
dataSource: {
|
|
16880
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
17115
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
16881
17116
|
description: "Optional data-source configuration that populates widget props."
|
|
16882
17117
|
},
|
|
16883
17118
|
columnIndex: {
|
|
@@ -17324,7 +17559,7 @@ const generatedSchemas = {
|
|
|
17324
17559
|
description: "Properties accepted by the registered widget."
|
|
17325
17560
|
},
|
|
17326
17561
|
dataSource: {
|
|
17327
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
17562
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
17328
17563
|
description: "Optional data-source configuration that populates widget props."
|
|
17329
17564
|
},
|
|
17330
17565
|
columnIndex: {
|
|
@@ -17456,7 +17691,7 @@ const generatedSchemas = {
|
|
|
17456
17691
|
description: "Properties accepted by the registered widget."
|
|
17457
17692
|
},
|
|
17458
17693
|
dataSource: {
|
|
17459
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
17694
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
17460
17695
|
description: "Optional data-source configuration that populates widget props."
|
|
17461
17696
|
},
|
|
17462
17697
|
columnIndex: {
|
|
@@ -17707,7 +17942,7 @@ const generatedSchemas = {
|
|
|
17707
17942
|
description: "Properties accepted by the registered widget."
|
|
17708
17943
|
},
|
|
17709
17944
|
dataSource: {
|
|
17710
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
17945
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
17711
17946
|
description: "Optional data-source configuration that populates widget props."
|
|
17712
17947
|
},
|
|
17713
17948
|
columnIndex: {
|
|
@@ -17924,7 +18159,245 @@ const generatedSchemas = {
|
|
|
17924
18159
|
description: "Properties accepted by the registered widget."
|
|
17925
18160
|
},
|
|
17926
18161
|
dataSource: {
|
|
17927
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
18162
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
18163
|
+
description: "Optional data-source configuration that populates widget props."
|
|
18164
|
+
},
|
|
18165
|
+
columnIndex: {
|
|
18166
|
+
type: "integer",
|
|
18167
|
+
minimum: 0,
|
|
18168
|
+
description: "Zero-based parent layout column containing this widget."
|
|
18169
|
+
}
|
|
18170
|
+
},
|
|
18171
|
+
required: [
|
|
18172
|
+
"id",
|
|
18173
|
+
"type",
|
|
18174
|
+
"props"
|
|
18175
|
+
],
|
|
18176
|
+
additionalProperties: false
|
|
18177
|
+
},
|
|
18178
|
+
{
|
|
18179
|
+
type: "object",
|
|
18180
|
+
properties: {
|
|
18181
|
+
id: {
|
|
18182
|
+
type: "string",
|
|
18183
|
+
pattern: "\\S",
|
|
18184
|
+
description: "Stable widget-node identifier within this screen."
|
|
18185
|
+
},
|
|
18186
|
+
type: {
|
|
18187
|
+
const: "QuoteWidget",
|
|
18188
|
+
description: "Registered widget type."
|
|
18189
|
+
},
|
|
18190
|
+
props: {
|
|
18191
|
+
type: "object",
|
|
18192
|
+
properties: {
|
|
18193
|
+
quotes: {
|
|
18194
|
+
type: "array",
|
|
18195
|
+
items: {
|
|
18196
|
+
type: "object",
|
|
18197
|
+
properties: {
|
|
18198
|
+
quote: {
|
|
18199
|
+
type: "string",
|
|
18200
|
+
description: "The quote text shown in the widget."
|
|
18201
|
+
},
|
|
18202
|
+
attribution: {
|
|
18203
|
+
type: "string",
|
|
18204
|
+
description: "Name of the person the quote is attributed to."
|
|
18205
|
+
},
|
|
18206
|
+
role: {
|
|
18207
|
+
type: "string",
|
|
18208
|
+
description: "Role or title shown beneath the attribution name."
|
|
18209
|
+
}
|
|
18210
|
+
},
|
|
18211
|
+
required: ["quote"],
|
|
18212
|
+
additionalProperties: false
|
|
18213
|
+
},
|
|
18214
|
+
title: "Quotes",
|
|
18215
|
+
description: "One or many quotes. Add more to rotate between them.",
|
|
18216
|
+
default: [{ quote: "Add an inspiring quote here." }]
|
|
18217
|
+
},
|
|
18218
|
+
rotation: {
|
|
18219
|
+
enum: ["carousel", "daily"],
|
|
18220
|
+
title: "Rotation",
|
|
18221
|
+
description: "With multiple quotes: auto-scroll carousel, or one per day (quote of the day)",
|
|
18222
|
+
default: "carousel"
|
|
18223
|
+
},
|
|
18224
|
+
autoScrollInterval: {
|
|
18225
|
+
type: "number",
|
|
18226
|
+
minimum: 1500,
|
|
18227
|
+
maximum: 3e4,
|
|
18228
|
+
title: "Auto-Scroll Interval (ms)",
|
|
18229
|
+
description: "How long each quote shows before advancing",
|
|
18230
|
+
default: 6500
|
|
18231
|
+
},
|
|
18232
|
+
showArrows: {
|
|
18233
|
+
type: "boolean",
|
|
18234
|
+
title: "Show Arrows",
|
|
18235
|
+
description: "Show previous / next arrows",
|
|
18236
|
+
default: true
|
|
18237
|
+
},
|
|
18238
|
+
showDots: {
|
|
18239
|
+
type: "boolean",
|
|
18240
|
+
title: "Show Dots",
|
|
18241
|
+
description: "Show the position dots",
|
|
18242
|
+
default: true
|
|
18243
|
+
},
|
|
18244
|
+
quoteFontSize: {
|
|
18245
|
+
enum: [
|
|
18246
|
+
"2xl",
|
|
18247
|
+
"xl",
|
|
18248
|
+
"lg",
|
|
18249
|
+
"md",
|
|
18250
|
+
"sm",
|
|
18251
|
+
"xs"
|
|
18252
|
+
],
|
|
18253
|
+
title: "Quote Font Size",
|
|
18254
|
+
description: "Font size for the quote",
|
|
18255
|
+
default: "xl"
|
|
18256
|
+
},
|
|
18257
|
+
quoteColor: {
|
|
18258
|
+
enum: [
|
|
18259
|
+
"background",
|
|
18260
|
+
"foreground",
|
|
18261
|
+
"primary",
|
|
18262
|
+
"secondary",
|
|
18263
|
+
"accent",
|
|
18264
|
+
"muted",
|
|
18265
|
+
"border",
|
|
18266
|
+
"destructive",
|
|
18267
|
+
"transparent"
|
|
18268
|
+
],
|
|
18269
|
+
title: "Quote Color",
|
|
18270
|
+
description: "The color of the quote text",
|
|
18271
|
+
default: "foreground"
|
|
18272
|
+
},
|
|
18273
|
+
attributionColor: {
|
|
18274
|
+
enum: [
|
|
18275
|
+
"background",
|
|
18276
|
+
"foreground",
|
|
18277
|
+
"primary",
|
|
18278
|
+
"secondary",
|
|
18279
|
+
"accent",
|
|
18280
|
+
"muted",
|
|
18281
|
+
"border",
|
|
18282
|
+
"destructive",
|
|
18283
|
+
"transparent"
|
|
18284
|
+
],
|
|
18285
|
+
title: "Attribution Color",
|
|
18286
|
+
description: "The color of the name and role — keep it readable on the background",
|
|
18287
|
+
default: "foreground"
|
|
18288
|
+
},
|
|
18289
|
+
accentColor: {
|
|
18290
|
+
enum: [
|
|
18291
|
+
"background",
|
|
18292
|
+
"foreground",
|
|
18293
|
+
"primary",
|
|
18294
|
+
"secondary",
|
|
18295
|
+
"accent",
|
|
18296
|
+
"muted",
|
|
18297
|
+
"border",
|
|
18298
|
+
"destructive",
|
|
18299
|
+
"transparent"
|
|
18300
|
+
],
|
|
18301
|
+
title: "Accent Color",
|
|
18302
|
+
description: "Quote mark, attribution rule, arrows and active dot",
|
|
18303
|
+
default: "primary"
|
|
18304
|
+
},
|
|
18305
|
+
alignment: {
|
|
18306
|
+
enum: [
|
|
18307
|
+
"left",
|
|
18308
|
+
"center",
|
|
18309
|
+
"right"
|
|
18310
|
+
],
|
|
18311
|
+
title: "Alignment",
|
|
18312
|
+
description: "Text alignment",
|
|
18313
|
+
default: "left"
|
|
18314
|
+
},
|
|
18315
|
+
background: {
|
|
18316
|
+
anyOf: [{ type: "string" }, {
|
|
18317
|
+
type: "object",
|
|
18318
|
+
properties: {
|
|
18319
|
+
type: {
|
|
18320
|
+
enum: ["solid", "image"],
|
|
18321
|
+
description: "Background strategy discriminator."
|
|
18322
|
+
},
|
|
18323
|
+
color: {
|
|
18324
|
+
$ref: "#/$defs/colorOption",
|
|
18325
|
+
description: "Semantic color used by a solid background."
|
|
18326
|
+
},
|
|
18327
|
+
resource: {
|
|
18328
|
+
$ref: "#/$defs/shareableItemOrUrl",
|
|
18329
|
+
description: "Fluid resource or public URL used by an image background."
|
|
18330
|
+
}
|
|
18331
|
+
},
|
|
18332
|
+
required: ["type"],
|
|
18333
|
+
additionalProperties: false
|
|
18334
|
+
}],
|
|
18335
|
+
title: "Background",
|
|
18336
|
+
description: "Background for the quote container",
|
|
18337
|
+
default: {
|
|
18338
|
+
type: "solid",
|
|
18339
|
+
color: "muted"
|
|
18340
|
+
}
|
|
18341
|
+
},
|
|
18342
|
+
padding: {
|
|
18343
|
+
enum: [
|
|
18344
|
+
0,
|
|
18345
|
+
2,
|
|
18346
|
+
4,
|
|
18347
|
+
6,
|
|
18348
|
+
8,
|
|
18349
|
+
10
|
|
18350
|
+
],
|
|
18351
|
+
title: "Padding",
|
|
18352
|
+
description: "The padding of the quote container",
|
|
18353
|
+
default: 8
|
|
18354
|
+
},
|
|
18355
|
+
borderRadius: {
|
|
18356
|
+
enum: [
|
|
18357
|
+
"none",
|
|
18358
|
+
"sm",
|
|
18359
|
+
"md",
|
|
18360
|
+
"lg",
|
|
18361
|
+
"xl",
|
|
18362
|
+
"full"
|
|
18363
|
+
],
|
|
18364
|
+
title: "Border Radius",
|
|
18365
|
+
description: "The border radius of the quote container",
|
|
18366
|
+
default: "lg"
|
|
18367
|
+
},
|
|
18368
|
+
borderWidth: {
|
|
18369
|
+
enum: [
|
|
18370
|
+
"none",
|
|
18371
|
+
"thin",
|
|
18372
|
+
"medium",
|
|
18373
|
+
"thick"
|
|
18374
|
+
],
|
|
18375
|
+
title: "Border Width",
|
|
18376
|
+
description: "Width of the container border",
|
|
18377
|
+
default: "none"
|
|
18378
|
+
},
|
|
18379
|
+
borderColor: {
|
|
18380
|
+
enum: [
|
|
18381
|
+
"background",
|
|
18382
|
+
"foreground",
|
|
18383
|
+
"primary",
|
|
18384
|
+
"secondary",
|
|
18385
|
+
"accent",
|
|
18386
|
+
"muted",
|
|
18387
|
+
"border",
|
|
18388
|
+
"destructive",
|
|
18389
|
+
"transparent"
|
|
18390
|
+
],
|
|
18391
|
+
title: "Border Color",
|
|
18392
|
+
description: "Color of the container border",
|
|
18393
|
+
default: "muted"
|
|
18394
|
+
}
|
|
18395
|
+
},
|
|
18396
|
+
additionalProperties: false,
|
|
18397
|
+
description: "Properties accepted by the registered widget."
|
|
18398
|
+
},
|
|
18399
|
+
dataSource: {
|
|
18400
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
17928
18401
|
description: "Optional data-source configuration that populates widget props."
|
|
17929
18402
|
},
|
|
17930
18403
|
columnIndex: {
|
|
@@ -18626,7 +19099,7 @@ const generatedSchemas = {
|
|
|
18626
19099
|
description: "Properties accepted by the registered widget."
|
|
18627
19100
|
},
|
|
18628
19101
|
dataSource: {
|
|
18629
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
19102
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
18630
19103
|
description: "Optional data-source configuration that populates widget props."
|
|
18631
19104
|
},
|
|
18632
19105
|
columnIndex: {
|
|
@@ -18838,7 +19311,7 @@ const generatedSchemas = {
|
|
|
18838
19311
|
description: "Properties accepted by the registered widget."
|
|
18839
19312
|
},
|
|
18840
19313
|
dataSource: {
|
|
18841
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
19314
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
18842
19315
|
description: "Optional data-source configuration that populates widget props."
|
|
18843
19316
|
},
|
|
18844
19317
|
columnIndex: {
|
|
@@ -19054,7 +19527,7 @@ const generatedSchemas = {
|
|
|
19054
19527
|
description: "Properties accepted by the registered widget."
|
|
19055
19528
|
},
|
|
19056
19529
|
dataSource: {
|
|
19057
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
19530
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
19058
19531
|
description: "Optional data-source configuration that populates widget props."
|
|
19059
19532
|
},
|
|
19060
19533
|
columnIndex: {
|
|
@@ -19152,7 +19625,7 @@ const generatedSchemas = {
|
|
|
19152
19625
|
description: "Properties accepted by the registered widget."
|
|
19153
19626
|
},
|
|
19154
19627
|
dataSource: {
|
|
19155
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
19628
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
19156
19629
|
description: "Optional data-source configuration that populates widget props."
|
|
19157
19630
|
},
|
|
19158
19631
|
columnIndex: {
|
|
@@ -19339,7 +19812,7 @@ const generatedSchemas = {
|
|
|
19339
19812
|
description: "Properties accepted by the registered widget."
|
|
19340
19813
|
},
|
|
19341
19814
|
dataSource: {
|
|
19342
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
19815
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
19343
19816
|
description: "Optional data-source configuration that populates widget props."
|
|
19344
19817
|
},
|
|
19345
19818
|
columnIndex: {
|
|
@@ -19380,7 +19853,7 @@ const generatedSchemas = {
|
|
|
19380
19853
|
description: "Properties accepted by the registered widget."
|
|
19381
19854
|
},
|
|
19382
19855
|
dataSource: {
|
|
19383
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
19856
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
19384
19857
|
description: "Optional data-source configuration that populates widget props."
|
|
19385
19858
|
},
|
|
19386
19859
|
columnIndex: {
|
|
@@ -19626,7 +20099,7 @@ const generatedSchemas = {
|
|
|
19626
20099
|
description: "Properties accepted by the registered widget."
|
|
19627
20100
|
},
|
|
19628
20101
|
dataSource: {
|
|
19629
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20102
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
19630
20103
|
description: "Optional data-source configuration that populates widget props."
|
|
19631
20104
|
},
|
|
19632
20105
|
columnIndex: {
|
|
@@ -19859,7 +20332,7 @@ const generatedSchemas = {
|
|
|
19859
20332
|
description: "Properties accepted by the registered widget."
|
|
19860
20333
|
},
|
|
19861
20334
|
dataSource: {
|
|
19862
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20335
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
19863
20336
|
description: "Optional data-source configuration that populates widget props."
|
|
19864
20337
|
},
|
|
19865
20338
|
columnIndex: {
|
|
@@ -20057,7 +20530,7 @@ const generatedSchemas = {
|
|
|
20057
20530
|
description: "Properties accepted by the registered widget."
|
|
20058
20531
|
},
|
|
20059
20532
|
dataSource: {
|
|
20060
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20533
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
20061
20534
|
description: "Optional data-source configuration that populates widget props."
|
|
20062
20535
|
},
|
|
20063
20536
|
columnIndex: {
|
|
@@ -20305,7 +20778,7 @@ const generatedSchemas = {
|
|
|
20305
20778
|
description: "Properties accepted by the registered widget."
|
|
20306
20779
|
},
|
|
20307
20780
|
dataSource: {
|
|
20308
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20781
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
20309
20782
|
description: "Optional data-source configuration that populates widget props."
|
|
20310
20783
|
},
|
|
20311
20784
|
columnIndex: {
|
|
@@ -20340,7 +20813,7 @@ const generatedSchemas = {
|
|
|
20340
20813
|
description: "Package-defined serializable widget properties."
|
|
20341
20814
|
},
|
|
20342
20815
|
dataSource: {
|
|
20343
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20816
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
|
|
20344
20817
|
description: "Optional data-source configuration that populates widget props."
|
|
20345
20818
|
},
|
|
20346
20819
|
columnIndex: {
|
|
@@ -20392,7 +20865,7 @@ const generatedSchemas = {
|
|
|
20392
20865
|
},
|
|
20393
20866
|
definition: {
|
|
20394
20867
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20395
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20868
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/definition.schema.json",
|
|
20396
20869
|
title: "Fluid Portal Definition",
|
|
20397
20870
|
examples: [{ name: "Partner Portal" }],
|
|
20398
20871
|
type: "object",
|
|
@@ -20413,7 +20886,7 @@ const generatedSchemas = {
|
|
|
20413
20886
|
},
|
|
20414
20887
|
screen: {
|
|
20415
20888
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20416
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20889
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/screen.schema.json",
|
|
20417
20890
|
title: "Fluid Portal Screen",
|
|
20418
20891
|
examples: [{
|
|
20419
20892
|
name: "home",
|
|
@@ -20433,7 +20906,7 @@ const generatedSchemas = {
|
|
|
20433
20906
|
component_tree: {
|
|
20434
20907
|
type: "array",
|
|
20435
20908
|
maxItems: 1,
|
|
20436
|
-
items: { $ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20909
|
+
items: { $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/widget.schema.json" },
|
|
20437
20910
|
description: "Zero or one root widget nodes for this screen."
|
|
20438
20911
|
}
|
|
20439
20912
|
},
|
|
@@ -20443,7 +20916,7 @@ const generatedSchemas = {
|
|
|
20443
20916
|
},
|
|
20444
20917
|
theme: {
|
|
20445
20918
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20446
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
20919
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/theme.schema.json",
|
|
20447
20920
|
title: "Fluid Portal Theme",
|
|
20448
20921
|
examples: [{
|
|
20449
20922
|
name: "Default",
|
|
@@ -20571,7 +21044,7 @@ const generatedSchemas = {
|
|
|
20571
21044
|
description: "Human-readable theme name referenced by profiles."
|
|
20572
21045
|
},
|
|
20573
21046
|
config: {
|
|
20574
|
-
$ref: "https://assets.fluid.app/docs/schema/portal/1.
|
|
21047
|
+
$ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/theme-config.schema.json",
|
|
20575
21048
|
description: "Complete structured theme token configuration."
|
|
20576
21049
|
},
|
|
20577
21050
|
active: {
|
|
@@ -20589,7 +21062,7 @@ const generatedSchemas = {
|
|
|
20589
21062
|
},
|
|
20590
21063
|
navigation: {
|
|
20591
21064
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20592
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
21065
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/navigation.schema.json",
|
|
20593
21066
|
title: "Fluid Portal Navigation",
|
|
20594
21067
|
examples: [{
|
|
20595
21068
|
name: "Primary",
|
|
@@ -20680,7 +21153,7 @@ const generatedSchemas = {
|
|
|
20680
21153
|
},
|
|
20681
21154
|
profile: {
|
|
20682
21155
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20683
|
-
$id: "https://assets.fluid.app/docs/schema/portal/1.
|
|
21156
|
+
$id: "https://assets.fluid.app/docs/schema/portal/1.4.0/profile.schema.json",
|
|
20684
21157
|
title: "Fluid Portal Profile",
|
|
20685
21158
|
examples: [{
|
|
20686
21159
|
name: "Everyone",
|
|
@@ -21148,4 +21621,4 @@ const pullCommand = new Command("pull").description("Pull a Fluid OS definition'
|
|
|
21148
21621
|
//#endregion
|
|
21149
21622
|
export { fluidOsApi as A, removeMapping as C, writeMappings as D, updateMapping as E, createFluidOsHeyApiClient as M, ApiError as N, atomicWriteFile as O, __exportAll as P, readMappings as S, resolveSlugToId as T, diffAgainstSnapshot as _, buildNavigationIdToSlugMap as a, writeSnapshot as b, transformNavigation as c, transformScreen as d, transformTheme as f, computeFileHash as g, collectWidgetCapabilityGrants as h, buildIdToSlugMap as i, toFluidOsDynamicObject as j, createFluidOsClient as k, transformNavigationItems as l, collectSnapshotWidgetCapabilityGrants as m, pull_exports as n, buildThemeIdToSlugMap as o, buildSnapshot as p, validatePortalResource as r, deriveScreenSlug as s, pullCommand as t, transformProfile as u, readSnapshot as v, resolveIdToSlug as w, deriveSlug as x, selectLegacyNetworkWidgetGrants as y };
|
|
21150
21623
|
|
|
21151
|
-
//# sourceMappingURL=pull-
|
|
21624
|
+
//# sourceMappingURL=pull-DhGfFqnU.mjs.map
|