@wix/app-extensions 1.0.101 → 1.0.103
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/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +31 -25
- package/build/trusted/cjs/index.js +1 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +31 -25
- package/build/trusted/es/index.mjs +1 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -20919,6 +20919,11 @@ interface PanelAction extends PanelActionSelectedPanelTypeOneOf {
|
|
|
20919
20919
|
inline?: Panel;
|
|
20920
20920
|
/** The selected panel reference type */
|
|
20921
20921
|
panelType?: PanelTypeWithLiterals;
|
|
20922
|
+
/**
|
|
20923
|
+
* Optional hint. When used on a custom action the editor will handle it as if it was a native one.
|
|
20924
|
+
* Will be ignored when used on native actions or when the value `custom` is selected.
|
|
20925
|
+
*/
|
|
20926
|
+
actionName?: ActionNameWithLiterals;
|
|
20922
20927
|
}
|
|
20923
20928
|
/** @oneof */
|
|
20924
20929
|
/** @internal */
|
|
@@ -20944,6 +20949,29 @@ declare enum PanelType {
|
|
|
20944
20949
|
/** @enumType */
|
|
20945
20950
|
/** @internal */
|
|
20946
20951
|
type PanelTypeWithLiterals = PanelType | 'UNKNOWN_PanelType' | 'panelId' | 'inline';
|
|
20952
|
+
/** @internal */
|
|
20953
|
+
declare enum ActionName {
|
|
20954
|
+
UNKNOWN_ActionName = "UNKNOWN_ActionName",
|
|
20955
|
+
/** Manage the component settings, this usually aligns with component data */
|
|
20956
|
+
settings = "settings",
|
|
20957
|
+
/** Manage the `style` information */
|
|
20958
|
+
design = "design",
|
|
20959
|
+
/** Manage any media type `data` defined in the component */
|
|
20960
|
+
media = "media",
|
|
20961
|
+
/** Manage items in the component data */
|
|
20962
|
+
manageItems = "manageItems",
|
|
20963
|
+
/** Open the apps default dashboard page, or select one if there is more than one */
|
|
20964
|
+
dashboard = "dashboard",
|
|
20965
|
+
/** actionName to be triggered from the defined custom actions */
|
|
20966
|
+
custom = "custom",
|
|
20967
|
+
/** Manage Menu Items */
|
|
20968
|
+
manageMenu = "manageMenu",
|
|
20969
|
+
/** Shows the container actions, or select one if there is more than one */
|
|
20970
|
+
container = "container"
|
|
20971
|
+
}
|
|
20972
|
+
/** @enumType */
|
|
20973
|
+
/** @internal */
|
|
20974
|
+
type ActionNameWithLiterals = ActionName | 'UNKNOWN_ActionName' | 'settings' | 'design' | 'media' | 'manageItems' | 'dashboard' | 'custom' | 'manageMenu' | 'container';
|
|
20947
20975
|
/** Represents an action that targets another element within the component */
|
|
20948
20976
|
/** @internal */
|
|
20949
20977
|
interface ForwardAction extends ForwardActionActionOneOf {
|
|
@@ -20972,29 +21000,6 @@ interface ForwardActionActionOneOf {
|
|
|
20972
21000
|
*/
|
|
20973
21001
|
custom?: string;
|
|
20974
21002
|
}
|
|
20975
|
-
/** @internal */
|
|
20976
|
-
declare enum ActionName {
|
|
20977
|
-
UNKNOWN_ActionName = "UNKNOWN_ActionName",
|
|
20978
|
-
/** Manage the component settings, this usually aligns with component data */
|
|
20979
|
-
settings = "settings",
|
|
20980
|
-
/** Manage the `style` information */
|
|
20981
|
-
design = "design",
|
|
20982
|
-
/** Manage any media type `data` defined in the component */
|
|
20983
|
-
media = "media",
|
|
20984
|
-
/** Manage items in the component data */
|
|
20985
|
-
manageItems = "manageItems",
|
|
20986
|
-
/** Open the apps default dashboard page, or select one if there is more than one */
|
|
20987
|
-
dashboard = "dashboard",
|
|
20988
|
-
/** actionName to be triggered from the defined custom actions */
|
|
20989
|
-
custom = "custom",
|
|
20990
|
-
/** Manage Menu Items */
|
|
20991
|
-
manageMenu = "manageMenu",
|
|
20992
|
-
/** Shows the container actions, or select one if there is more than one */
|
|
20993
|
-
container = "container"
|
|
20994
|
-
}
|
|
20995
|
-
/** @enumType */
|
|
20996
|
-
/** @internal */
|
|
20997
|
-
type ActionNameWithLiterals = ActionName | 'UNKNOWN_ActionName' | 'settings' | 'design' | 'media' | 'manageItems' | 'dashboard' | 'custom' | 'manageMenu' | 'container';
|
|
20998
21003
|
/**
|
|
20999
21004
|
* Represents an action that points into a specific display-group-key,
|
|
21000
21005
|
* the outcome will make the chosen display group visible to the user for changing the groups values in the component
|
|
@@ -24582,11 +24587,12 @@ declare enum AssetType {
|
|
|
24582
24587
|
SLIDE = "SLIDE",
|
|
24583
24588
|
WIDGET = "WIDGET",
|
|
24584
24589
|
FONT = "FONT",
|
|
24585
|
-
ICONS = "ICONS"
|
|
24590
|
+
ICONS = "ICONS",
|
|
24591
|
+
STORY = "STORY"
|
|
24586
24592
|
}
|
|
24587
24593
|
/** @enumType */
|
|
24588
24594
|
/** @internal */
|
|
24589
|
-
type AssetTypeWithLiterals = AssetType | 'UNKNOWN' | 'IMAGE' | 'VIDEO' | 'LOGO' | 'EVENT' | 'FORM' | 'PDF' | 'RICOS' | 'DOC' | 'SLIDE' | 'WIDGET' | 'FONT' | 'ICONS';
|
|
24595
|
+
type AssetTypeWithLiterals = AssetType | 'UNKNOWN' | 'IMAGE' | 'VIDEO' | 'LOGO' | 'EVENT' | 'FORM' | 'PDF' | 'RICOS' | 'DOC' | 'SLIDE' | 'WIDGET' | 'FONT' | 'ICONS' | 'STORY';
|
|
24590
24596
|
/** @internal */
|
|
24591
24597
|
declare enum FileMediaType {
|
|
24592
24598
|
UNKNOWN_FILE_MEDIA_TYPE = "UNKNOWN_FILE_MEDIA_TYPE",
|
|
@@ -3486,6 +3486,7 @@ var AssetType = /* @__PURE__ */ ((AssetType2) => {
|
|
|
3486
3486
|
AssetType2["WIDGET"] = "WIDGET";
|
|
3487
3487
|
AssetType2["FONT"] = "FONT";
|
|
3488
3488
|
AssetType2["ICONS"] = "ICONS";
|
|
3489
|
+
AssetType2["STORY"] = "STORY";
|
|
3489
3490
|
return AssetType2;
|
|
3490
3491
|
})(AssetType || {});
|
|
3491
3492
|
var FileMediaType = /* @__PURE__ */ ((FileMediaType2) => {
|