Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@boots-edu/webz

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boots-edu/webz - npm Package Compare versions

Comparing version 0.9.8 to 0.9.9

notifier.d.ts

4

bind.decorators.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BindStyleToNumberAppendPx = exports.BindStyleToNumber = exports.BindValueToNumber = exports.BindCheckedToBoolean = exports.BindVisibleToBoolean = exports.BindDisabledToBoolean = exports.BindCSSClassToBoolean = exports.BindList = exports.BindAttribute = exports.BindValue = exports.BindCSSClass = exports.BindStyle = void 0;
const eventsubject_1 = require("./eventsubject");
const notifier_1 = require("./notifier");
/**

@@ -206,3 +206,3 @@ * @description Gets the public key of the field name

}
const boundProxyRebuild = new eventsubject_1.EventSubject();
const boundProxyRebuild = new notifier_1.Notifier();
/**

@@ -209,0 +209,0 @@ * @description Creates a proxy object that will update the bound list when the array is modified

@@ -6,3 +6,3 @@ export * from "./bind.decorators";

export * from "./WebzRouter";
export * from "./eventsubject";
export * from "./notifier";
export * from "./bootstrap";

@@ -22,3 +22,3 @@ "use strict";

__exportStar(require("./WebzRouter"), exports);
__exportStar(require("./eventsubject"), exports);
__exportStar(require("./notifier"), exports);
__exportStar(require("./bootstrap"), exports);
{
"name": "@boots-edu/webz",
"version": "0.9.8",
"version": "0.9.9",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

import { WebzRouter, Route } from "./WebzRouter";
import { EventSubject } from "./eventsubject";
import { Notifier } from "./notifier";
/**

@@ -58,3 +58,3 @@ * @description An enum for the HTTP methods

* @readonly
* @type {EventSubject<SizeInfo>}
* @type {Notifier<SizeInfo>}
* @memberof WebzComponent

@@ -66,3 +66,3 @@ * @example this.onResizeEvent.subscribe((sizeInfo) => {

*/
get onResizeEvent(): EventSubject<SizeInfo>;
get onResizeEvent(): Notifier<SizeInfo>;
/**

@@ -131,3 +131,3 @@ * @description Creates an instance of WebzComponent.

*/
static ajax<T = any>(url: string, method: HttpMethod, headers?: any[], data?: any): EventSubject<T>;
static ajax<T = any>(url: string, method: HttpMethod, headers?: any[], data?: any): Notifier<T>;
/**

@@ -134,0 +134,0 @@ * @description Get the size of the window

@@ -5,3 +5,3 @@ "use strict";

const WebzRouter_1 = require("./WebzRouter");
const eventsubject_1 = require("./eventsubject");
const notifier_1 = require("./notifier");
/**

@@ -38,3 +38,3 @@ * @description An enum for the HTTP methods

* @readonly
* @type {EventSubject<SizeInfo>}
* @type {Notifier<SizeInfo>}
* @memberof WebzComponent

@@ -183,3 +183,3 @@ * @example this.onResizeEvent.subscribe((sizeInfo) => {

static ajax(url, method, headers = [], data) {
const evt = new eventsubject_1.EventSubject();
const evt = new notifier_1.Notifier();
const xhr = new XMLHttpRequest();

@@ -261,2 +261,2 @@ xhr.open(method, url);

exports.WebzComponent = WebzComponent;
WebzComponent.resizeEvent = new eventsubject_1.EventSubject();
WebzComponent.resizeEvent = new notifier_1.Notifier();
import { WebzComponent } from "./WebzComponent";
import { EventSubject } from "./eventsubject";
import { Notifier } from "./notifier";
/** @hidden */

@@ -51,3 +51,3 @@ export declare let popupDialog: WebzDialog | undefined;

* @param {string} [btnClass=""] The class to apply to the buttons
* @returns {EventSubject<string>} The event subject that is triggered when the dialog is closed
* @returns {Notifier<string>} The event subject that is triggered when the dialog is closed
* @memberof WebzDialog

@@ -63,3 +63,3 @@ * @example

*/
static popup(attachTo: WebzComponent, message: string, title?: string, buttons?: string[], btnClass?: string): EventSubject<string>;
static popup(attachTo: WebzComponent, message: string, title?: string, buttons?: string[], btnClass?: string): Notifier<string>;
}

@@ -5,3 +5,3 @@ "use strict";

const WebzComponent_1 = require("./WebzComponent");
const eventsubject_1 = require("./eventsubject");
const notifier_1 = require("./notifier");
/** @hidden */

@@ -93,3 +93,3 @@ exports.popupDialog = undefined;

super(html, css);
this.closeEvent = new eventsubject_1.EventSubject();
this.closeEvent = new notifier_1.Notifier();
const styleEl = window.document.createElement("style");

@@ -149,3 +149,3 @@ styleEl.innerHTML = backgroundTemplate + popupTemplate;

* @param {string} [btnClass=""] The class to apply to the buttons
* @returns {EventSubject<string>} The event subject that is triggered when the dialog is closed
* @returns {Notifier<string>} The event subject that is triggered when the dialog is closed
* @memberof WebzDialog

@@ -152,0 +152,0 @@ * @example

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