New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@valo/extensibility

Package Overview
Dependencies
Maintainers
2
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@valo/extensibility - npm Package Compare versions

Comparing version 1.8.0-b80876fac9b71cc9ed85af94e12abbdc6dad95dc to 1.8.0-b973bb592e02a7a1d9e85a40f68cee3b365f61b1

lib/models/basic/index.d.ts

4

config.json

@@ -6,4 +6,6 @@ {

"ProviderService": "1.1.0",
"TriggerService": "1.1.0"
"TriggerService": "1.1.0",
"DynamicDataEventEmitter": "1.0.0",
"ConnectWidgetService": "1.0.0"
}
}

@@ -1,3 +0,2 @@

import { IBaseDataSourceProvider, IDataSourceData } from '..';
import { IPagingSettings } from '../models/IPagingSettings';
import { IBaseDataSourceProvider, IDataSourceData, IPagingSettings } from '..';
import { WebPartContext, IPropertyPaneGroup } from '@microsoft/sp-webpart-base';

@@ -4,0 +3,0 @@ export declare abstract class BaseDataSourceProvider<T> implements IBaseDataSourceProvider<T> {

@@ -55,5 +55,6 @@ export declare enum IntranetTrigger {

SitePanel = 17,
PollPanel = 18,
BlogPanel = 19,
GenericPanel = 20
FAQPanel = 18,
PollPanel = 19,
BlogPanel = 20,
GenericPanel = 21
}

@@ -58,5 +58,6 @@ "use strict";

IntranetTrigger[IntranetTrigger["SitePanel"] = 17] = "SitePanel";
IntranetTrigger[IntranetTrigger["PollPanel"] = 18] = "PollPanel";
IntranetTrigger[IntranetTrigger["BlogPanel"] = 19] = "BlogPanel";
IntranetTrigger[IntranetTrigger["GenericPanel"] = 20] = "GenericPanel";
IntranetTrigger[IntranetTrigger["FAQPanel"] = 18] = "FAQPanel";
IntranetTrigger[IntranetTrigger["PollPanel"] = 19] = "PollPanel";
IntranetTrigger[IntranetTrigger["BlogPanel"] = 20] = "BlogPanel";
IntranetTrigger[IntranetTrigger["GenericPanel"] = 21] = "GenericPanel";
})(IntranetTrigger = exports.IntranetTrigger || (exports.IntranetTrigger = {}));
export * from './CallToAction';
export * from './ContextActionType';
export * from './ContextData';
export * from './DataSource';
export * from './ExtensibilityWindow';

@@ -10,5 +7,2 @@ export * from './ExtensionPoint';

export * from './ExtensionTrigger';
export * from './IBaseDataSourceProvider';
export * from './IDataSourceData';
export * from './IPagingSettings';
export * from './IUserProperties';

@@ -29,3 +23,2 @@ export * from './IWebComponentDefinition';

export * from './StorageType';
export * from './UnbindedDataSource';
export * from './UnbindedDefer';

@@ -36,2 +29,7 @@ export * from './UnbindedExtensionPoint';

export * from './UnbindedTriggerDefer';
export * from "./hbsTemplates";
export * from './universalWPModel';
export * from './hbsTemplates';
export * from './contextTriggerStructures';
export * from './dynamicData';
export * from './basic';
export * from './connectWidget';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
tslib_1.__exportStar(require("./ContextActionType"), exports);
tslib_1.__exportStar(require("./PagingOption"), exports);
tslib_1.__exportStar(require("./StorageType"), exports);
tslib_1.__exportStar(require("./contextTriggerStructures"), exports);
tslib_1.__exportStar(require("./dynamicData"), exports);
tslib_1.__exportStar(require("./connectWidget"), exports);

@@ -13,2 +13,3 @@ export interface MyToolsItems {

title: string;
description?: string;
category?: string;

@@ -15,0 +16,0 @@ icon?: string;

@@ -13,2 +13,3 @@ import { LanguageLabel } from '.';

title: string;
description?: string;
icon?: string;

@@ -15,0 +16,0 @@ link?: string;

@@ -20,4 +20,5 @@ import { ExtensionPoint, IntranetLocation } from '..';

* @param {Function} updateRegistrationCb - Callback function when extension is ready
* @param {boolean} mutli - Specifies if the extension supports multiple registrations
*/
registerListener(extensionLocation: IntranetLocation, updateRegistrationCb: () => void): ExtensionPoint | null;
registerListener(extensionLocation: IntranetLocation, updateRegistrationCb: () => void, multi?: boolean): ExtensionPoint | ExtensionPoint[] | null;
/**

@@ -28,3 +29,3 @@ * Use this to retrieve already binded extension point listeners {external}

*/
getListener(extensionLocation: IntranetLocation): ExtensionPoint | null;
getListener(extensionLocation: IntranetLocation, multi?: boolean): ExtensionPoint | ExtensionPoint[] | null;
}

@@ -57,7 +57,9 @@ "use strict";

* @param {Function} updateRegistrationCb - Callback function when extension is ready
* @param {boolean} mutli - Specifies if the extension supports multiple registrations
*/
ExtensionService.prototype.registerListener = function (extensionLocation, updateRegistrationCb) {
var foundExt = this.getListener(extensionLocation);
ExtensionService.prototype.registerListener = function (extensionLocation, updateRegistrationCb, multi) {
if (multi === void 0) { multi = false; }
var foundExts = this.getListener(extensionLocation, multi);
// Register the unbinded WP
if (!foundExt) {
if (!foundExts) {
// Check if the binding already exist

@@ -75,3 +77,3 @@ var unbindedWp = sp_lodash_subset_1.find(this.unbindedExtPoints, function (ds) { return ds.location === extensionLocation; });

}
return foundExt;
return foundExts;
};

@@ -83,3 +85,7 @@ /**

*/
ExtensionService.prototype.getListener = function (extensionLocation) {
ExtensionService.prototype.getListener = function (extensionLocation, multi) {
if (multi === void 0) { multi = false; }
if (multi) {
return this.extPoints.filter(function (ext) { return ext.location === extensionLocation; });
}
return sp_lodash_subset_1.find(this.extPoints, function (ext) { return ext.location === extensionLocation; });

@@ -86,0 +92,0 @@ };

@@ -6,1 +6,3 @@ export * from './DataSourceService';

export * from './WebComponentService';
export * from "./DynamicDataEventEmitter";
export * from './ConnectWidgetService';

@@ -9,1 +9,3 @@ "use strict";

tslib_1.__exportStar(require("./WebComponentService"), exports);
tslib_1.__exportStar(require("./DynamicDataEventEmitter"), exports);
tslib_1.__exportStar(require("./ConnectWidgetService"), exports);

@@ -5,1 +5,3 @@ export declare const DataSourceServiceVersion: string;

export declare const TriggerServiceVersion: string;
export declare const DynamicDataEventEmitterVersion: string;
export declare const ConnectWidgetServiceVersion: string;

@@ -7,1 +7,3 @@ "use strict";

exports.TriggerServiceVersion = "1_1_0";
exports.DynamicDataEventEmitterVersion = "1_0_0";
exports.ConnectWidgetServiceVersion = "1_0_0";
{
"name": "@valo/extensibility",
"version": "1.8.0-b80876fac9b71cc9ed85af94e12abbdc6dad95dc",
"version": "1.8.0-b973bb592e02a7a1d9e85a40f68cee3b365f61b1",
"description": "",

@@ -9,3 +9,4 @@ "main": "lib/index.js",

"publish:next": "npm run tsc && npm publish --tag=next --access=public",
"tsc": "rm -rf lib && node scripts/version-updater.js && tsc"
"tsc": "rm -rf lib && node scripts/version-updater.js && tsc",
"tscWin": "tsc"
},

@@ -16,4 +17,4 @@ "keywords": [],

"devDependencies": {
"@microsoft/sp-application-base": "1.9.1",
"@microsoft/sp-webpart-base": "1.9.1",
"@microsoft/sp-application-base": "1.11.0",
"@microsoft/sp-webpart-base": "1.11.0",
"@types/react": "16.7.20",

@@ -20,0 +21,0 @@ "typescript": "3.2.4"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc