@omnia/fx-spfx 8.0.293-dev → 8.0.296-dev

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.
@@ -1,5 +1,3 @@
1
- import { SettingsService } from "../../../fx/services";
2
- import { VueComponentBase, BlockCatalogStore } from "../../ux";
3
1
  import { guid } from "../../models";
4
2
  export type WebComponentDefinition = {
5
3
  id: string;
@@ -9,39 +7,9 @@ export type WebComponentDefinition = {
9
7
  html?: string;
10
8
  };
11
9
  };
12
- export declare class OmniaWPContainerComponent extends VueComponentBase {
13
- webpartid: guid;
14
- displaymode: any;
15
- private loc;
16
- private localizationStore;
17
- protected settingsService: SettingsService<any>;
18
- private spfxSettingsService;
19
- private omniaTheming;
20
- blockCatalogStore: BlockCatalogStore;
21
- private static PageEditMode;
22
- private webComponents;
23
- private displaySelectComponents;
24
- private displaySettingsComponentForm;
25
- private settings;
26
- private selectedComponentTag;
27
- private selectedSettingsComponentTag;
28
- private currentComponentTitle;
29
- private settingsComponentDialog;
30
- private pfxWPClasses;
31
- created(): void;
32
- mounted(): void;
33
- private init;
34
- private handleSettingsElementUpdated;
35
- private subcribeOpenPaneEvent;
36
- private populateComponentTitle;
37
- private saveComponentSettings;
38
- private onSelectComponentChanged;
39
- private onDisplayModeChanged;
40
- private subcribeMessage;
41
- private saveSettings;
42
- private closeSettings;
43
- private closeSettingsComponentForm;
44
- private renderSettingsComponent;
45
- private renderDisplayComponent;
46
- render(): JSX.Element;
47
- }
10
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
11
+ webpartid?: guid;
12
+ } & {
13
+ displaymode?: any;
14
+ }>) => any;
15
+ export default _default;
@@ -1,30 +1,7 @@
1
- import { IWebComponentInstance } from "@omnia/fx";
2
- import { IOmniaWPContainerSettings } from "./IOmniaWPContainerSettings";
3
- import { VueComponentBase, BlockCatalogStore } from "../../ux";
4
- import { BlockRegistration, guid } from "../../models";
1
+ import { DefineEmit } from "@omnia/fx/ux";
2
+ import { guid } from "../../models";
5
3
  import "./styles/OmniaWPContainerSettings.css";
6
- export declare class OmniaWPContainerSettings extends VueComponentBase implements IWebComponentInstance, IOmniaWPContainerSettings {
7
- opened: boolean;
8
- onClosed: () => void;
9
- onChange: (blockManifestId: guid, elementName: string) => void;
10
- private omniaTheming;
11
- private omniaCtx;
12
- blockCatalogStore: BlockCatalogStore;
13
- private localizationStore;
14
- private loc;
15
- private blocksRegistration;
16
- private webpartSelectorClasses;
17
- private webpartItemClasses;
18
- private model;
19
- created(): void;
20
- mounted(): void;
21
- private loadBlocks;
22
- private renderCustomIconComponent;
23
- private close;
24
- onLayoutItemSelected(item: BlockRegistration): void;
25
- private createItemMarkup;
26
- private createItemGroups;
27
- private renderDefaultBlocks;
28
- private renderSearchResult;
29
- render(): JSX.Element;
30
- }
4
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
5
+ opened?: boolean;
6
+ } & DefineEmit<"closed", () => void> & DefineEmit<"change", (blockManifestId: guid, elementName: string) => void>>) => any;
7
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-spfx",
3
3
  "license": "MIT",
4
- "version": "8.0.293-dev",
4
+ "version": "8.0.296-dev",
5
5
  "description": "Provide Omnia Fx Sharepoint Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "author": "Precio Fishbone",
21
21
  "dependencies": {
22
- "@omnia/fx": "8.0.293-dev"
22
+ "@omnia/fx": "8.0.296-dev"
23
23
  },
24
24
  "typings": "./index.d.ts",
25
25
  "bugs": {
@@ -1,18 +0,0 @@
1
- import { TsxAllowUnknowProperties } from "@omnia/fx/ux";
2
- import { guid } from "../../models";
3
- export interface IOmniaWPContainerSettings {
4
- [name: string]: any;
5
- onClosed?: () => void;
6
- onChange?: (blockManifestId: guid, elementName: string) => void;
7
- }
8
- declare global {
9
- namespace JSX {
10
- interface Element {
11
- }
12
- interface ElementClass {
13
- }
14
- interface IntrinsicElements {
15
- "omnia-fx-spfx-wp-settings": TsxAllowUnknowProperties<IOmniaWPContainerSettings>;
16
- }
17
- }
18
- }