Socket
Socket
Sign inDemoInstall

solenya

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solenya - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

LICENSE

2

dist/index.d.ts

@@ -9,3 +9,3 @@ export { Component } from './component';

export { literal, isNullOrEmpty, key, Let, equalsIgnoreCase, isNonData, NonData, parseFloatDeNaN, fuzzyEquals, humanizeIdentifier, Label, getLabel } from './util';
export { mergeNestedAttrs, InputProps, DatabindProps, StringBinding, commandLink, inputText, inputNumber, inputValue, inputRange, radioGroup, RadioGroupProps, selector, getPropertyKey, PropertyRef, SelectorProps, SelectOption, numberToInputString, inputStringToNumber, InputEditorProps, getPropertyValue, setPropertyValue, getBoundValue, setBoundValue, checkbox, CheckProps, inputTextArea, getFriendlyName, RadioOption } from './widgets';
export { mergeNestedAttrs, InputProps, DatabindProps, StringBinding, commandLink, inputText, inputNumber, inputValue, inputRange, radioGroup, RadioGroupProps, RadioOption, selector, getPropertyKey, PropertyRef, SelectorProps, SelectOption, numberToInputString, inputStringToNumber, InputEditorProps, getPropertyValue, setPropertyValue, getBoundValue, setBoundValue, checkbox, CheckProps, inputTextArea, getFriendlyName, prefixId } from './widgets';
export { h, HValue, HAttributes, mergeAttrs, a, abbr, address, area, article, aside, audio, b, bdi, bdo, blockquote, br, button, canvas, caption, cite, code, col, colgroup, data, datalist, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hr, i, iframe, img, input, ins, kbd, label, legend, li, main, map, mark, menu, menuitem, meter, nav, object, ol, optgroup, option, output, p, param, pre, progress, q, rp, rt, rtc, ruby, s, samp, section, select, small, source, span, strong, sub, summary, sup, svg, table, tbody, td, textarea, tfoot, th, thead, time, tr, track, u, ul, video, vvar, wbr } from './html';

@@ -54,2 +54,3 @@ "use strict";

exports.getFriendlyName = widgets_1.getFriendlyName;
exports.prefixId = widgets_1.prefixId;
var html_1 = require("./html");

@@ -56,0 +57,0 @@ exports.h = html_1.h;

@@ -70,1 +70,2 @@ import { Component } from './component';

export declare const inputTextArea: (props: InputEditorProps<string>) => import("./dom").VElement;
export declare const prefixId: (prefix: string | undefined, id: string) => string;

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

var allOptions = !props.hasEmpty ? options : [{ value: undefined, label: "" }].concat(options);
var id = (props.prefix || "") + exports.getPropertyKey(props.prop);
var id = exports.prefixId(props.prefix, exports.getPropertyKey(props.prop));
var guideValue = !options.length ? undefined : options[options.length - 1].value;

@@ -135,3 +135,3 @@ return (html_1.select.apply(void 0, [{

var options = props.options || [];
var id = (props.prefix || "") + exports.getPropertyKey(props.prop);
var id = exports.prefixId(props.prefix, exports.getPropertyKey(props.prop));
return (html_1.div({ id: id }, props.attrs, options.map(function (option) {

@@ -155,3 +155,3 @@ var checked = util_1.fuzzyEquals(option.value, exports.getBoundValue(props));

type: "radio",
checked: checked ? "checked" : "",
checked: checked ? "checked" : undefined,
onchange: function (e) { return exports.setBoundValue(props, exports.typeify(options[0].value, e.target.value)); },

@@ -166,3 +166,3 @@ onUpdated: function (el) {

function checkbox(props) {
var id = (props.prefix || "") + exports.getPropertyKey(props.prop);
var id = exports.prefixId(props.prefix, exports.getPropertyKey(props.prop));
return (html_1.div(props.attrs, html_1.input({

@@ -189,2 +189,5 @@ id: id,

};
exports.prefixId = function (prefix, id) {
return (util_1.isNullOrEmpty(prefix) ? "" : prefix + "-") + id;
};
//# sourceMappingURL=widgets.js.map
{
"name": "solenya",
"version": "1.2.0",
"version": "1.2.1",
"author": "solenya",

@@ -8,3 +8,3 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/pickle-ts/pickle"
"url": "https://github.com/solenya-group/solenya"
},

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

"typescript": "^3.0.0",
"@types/history": "^4.7.0"
"@types/history": "^4.7.0"
},
"peerDependencies": {
"peerDependencies": {
"reflect-metadata": "^0.1.12",

@@ -24,3 +24,10 @@ "class-transformer": "^0.2.0",

"typestyle": "^2.0.1"
},
"dependencies": {
"class-transformer": "^0.2.0",
"class-validator": "^0.9.1",
"history": "^4.7.2",
"reflect-metadata": "^0.1.12",
"typestyle": "^2.0.1"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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