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

gd-sprest-bs

Package Overview
Dependencies
Maintainers
1
Versions
1418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gd-sprest-bs - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

src/components/fieldInfo.ts

80

dist/gd-sprest-bs.d.ts
// Generated by dts-bundle v0.7.3
// Dependencies for this module:
// ../gd-bs
// ../gd-bs/src/components/types
// ../gd-sprest

@@ -8,2 +9,3 @@

export * from "gd-bs";
export * from "gd-sprest-bs/components/types";
export * from "gd-sprest-bs/rest";

@@ -17,2 +19,7 @@

declare module 'gd-sprest-bs/components/types' {
export * from "gd-bs/src/components/types";
export * from "gd-sprest-bs/components/types/listForm";
}
declare module 'gd-sprest-bs/rest' {

@@ -49,2 +56,75 @@ import { Components } from "gd-bs";

declare module 'gd-sprest-bs/components/types/listForm' {
import { Types } from "gd-sprest";
import { Components } from "gd-bs";
/**
* List Form
*/
export interface IListForm extends Types.Helper.IListForm {
/**
* Method to render the display form template.
* @param props - The display form properties.
*/
renderDisplayForm(props: IListFormDisplayProps);
/**
* Method to render the edit/new form.
* @param props - The edit/new form properties.
*/
renderEditForm(props: IListFormEditProps);
}
/**
* List Form Attachments Properties
*/
export interface IListFormAttachmentsProps {
/** The element to render the form to. */
el: Element;
/** The list form information. */
info: Types.Helper.IListFormResult;
/** The item attachment saved event. */
onSave?: (info: Types.Helper.IListFormResult) => void;
}
/**
* List Form Display Properties
*/
export interface IListFormDisplayProps {
/** The element to render the form to. */
el: Element;
/** The list form information. */
info: Types.Helper.IListFormResult;
/** The list form rows. */
template?: Array<Components.IFormRow>;
}
/**
* List Form Edit
*/
export interface IListFormEdit {
/**
* Method to get the form values
*/
getValues(): PromiseLike<any>;
/**
* Method to determine if the field is valid
*/
isValid(): boolean;
}
/**
* List Form Edit Properties
*/
export interface IListFormEditProps extends IListFormDisplayProps {
/** The form mode (New/Edit) */
controlMode?: number;
}
}
declare module 'gd-sprest-bs/webparts/types/helper' {

@@ -51,0 +131,0 @@ import { Components } from "gd-bs";

6

package.json
{
"name": "gd-sprest-bs",
"version": "0.4.2",
"version": "0.4.3",
"description": "SharePoint JavaScript, TypeScript and Web Components designed using the Bootstrap framework.",
"main": "dist/gd-sprest-bs.js",
"typings": "dist/gd-sprest-bs.d.ts",
"typings": "src/typings.d.ts",
"scripts": {

@@ -26,3 +26,3 @@ "all": "npm run build && npm run prod && npm run typings && npm run wc",

"dependencies": {
"gd-bs": "^0.2.1",
"gd-bs": "^0.3.2",
"gd-sprest": "^4.2.1"

@@ -29,0 +29,0 @@ },

/*!
* Built with http://stenciljs.com
* 2018-08-06T21:13:15
* 2018-08-07T14:31:34
*/
!function(e,s,a,l,t,i,n,r,o,d,c,p,b,m){for((c=e.GdSprestBs=e.GdSprestBs||{}).components=o,(b=o.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((p=s.createElement("style")).innerHTML=b.join()+"{visibility:hidden}.hydrated{visibility:inherit}",p.setAttribute("data-styles",""),s.head.insertBefore(p,s.head.firstChild)),function(e,s,a){(e["s-apps"]=e["s-apps"]||[]).push("GdSprestBs"),a.componentOnReady||(a.componentOnReady=function(){var s=this;function a(a){if(s.nodeName.indexOf("-")>0){for(var l=e["s-apps"],t=0,i=0;i<l.length;i++)if(e[l[i]].componentOnReady){if(e[l[i]].componentOnReady(s,a))return;t++}if(t<l.length)return void(e["s-cr"]=e["s-cr"]||[]).push([s,a])}a(null)}return e.Promise?new e.Promise(a):{then:a}})}(e,0,d),t=t||c.resourcesUrl,p=(b=s.querySelectorAll("script")).length-1;p>=0&&!(m=b[p]).src&&!m.hasAttribute("data-resources-url");p--);b=m.getAttribute("data-resources-url"),!t&&b&&(t=b),!t&&m.src&&(t=(b=m.src.split("/").slice(0,-1)).join("/")+(b.length?"/":"")+"gd-sprest-bs/"),p=s.createElement("script"),function(e,s,a,l){return!(s.search.indexOf("core=esm")>0)&&(!(!(s.search.indexOf("core=es5")>0||"file:"===s.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in a)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,p)?p.src=t+"gd-sprest-bs.49rwqzig.js":(p.src=t+"gd-sprest-bs.twqu90ge.js",p.setAttribute("type","module"),p.setAttribute("crossorigin",!0)),p.setAttribute("data-resources-url",t),p.setAttribute("data-namespace","gd-sprest-bs"),s.head.appendChild(p)}(window,document,0,0,0,0,0,0,[["bs-accordion","6z2nbfhr",0,[["className",1,0,"class-name",2],["el",7],["id",1,0,1,2],["items",1,0,1,2]]],["bs-alert","xrwqexkf",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["header",1,0,1,2],["isDismissible",1,0,"is-dismissible",3],["type",1,0,1,4]]],["bs-badge","1wej3q0b",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["header",1,0,1,2],["href",1,0,1,2],["isPill",1,0,"is-pill",3],["type",1,0,1,4]]],["bs-breadcrumb","wsffebed",0,[["className",1,0,"class-name",2],["el",7],["items",1,0,1,2]]],["bs-button","n0tep4io",0,[["badgeType",1,0,"badge-type",4],["badgeValue",1,0,"badge-value",2],["className",1,0,"class-name",2],["controls",1],["el",7],["id",1,0,1,2],["isBlock",1,0,"is-block",3],["isDisabled",1,0,"is-disabled",3],["isExpanded",1,0,"is-expanded",3],["isLarge",1,0,"is-large",3],["isOutline",1,0,"is-outline",3],["isSmall",1,0,"is-small",3],["target",1,0,1,2],["text",1,0,1,2],["toggle",1,0,1,2],["type",1,0,1,4]]],["bs-buttongroup","ccriaiza",0,[["buttonType",1,0,"button-type",4],["buttons",1,0,1,2],["className",1,0,"class-name",2],["el",7],["id",1,0,1,2],["isLarge",1,0,"is-large",3],["isSmall",1,0,"is-small",3],["isVertical",1,0,"is-vertical",3],["label",1,0,1,2]]],["bs-card","jboty5ph",0,[["body",1,0,1,2],["className",1,0,"class-name",2],["el",7],["footer",1,0,1,2],["header",1,0,1,2],["imgBottom",1],["imgTop",1]]],["bs-cardgroup","98cw42ga",0,[["cards",1,0,1,2],["className",1,0,"class-name",2],["el",7]]],["bs-carousel","6uddnrqw",0,[["className",1,0,"class-name",2],["el",7],["enableControls",1,0,"enable-controls",3],["enableCrossfade",1,0,"enable-crossfade",3],["enableIndicators",1,0,"enable-indicators",3],["id",1,0,1,2],["items",1,0,1,2],["options",1,0,1,2]]],["bs-collapse","mcjubf0p",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["id",1,0,1,2],["isMulti",1,0,"is-multi",3],["options",1,0,1,2]]],["bs-dropdown","qynlyxv5",0,[["className",1,0,"class-name",2],["dropLeft",1,0,"drop-left",3],["dropRight",1,0,"drop-right",3],["dropUp",1,0,"drop-up",3],["el",7],["formFl",1,0,"form-fl",3],["id",1,0,1,2],["isSplit",1,0,"is-split",3],["items",1,0,1,2],["label",1,0,1,2],["menuOnly",1,0,"menu-only",3],["multi",1,0,1,3],["type",1,0,1,4],["value",1,0,1,2]]],["bs-form","zlfwtuiz",0,[["el",7],["rows",1,0,1,2],["value",1,0,1,2]]],["bs-inputgroup","w4ogpatr",0,[["appendedButtons",1,0,"appended-buttons",2],["appendedLabel",1,0,"appended-label",2],["className",1,0,"class-name",2],["description",1,0,1,2],["el",7],["id",1,0,1,2],["isLarge",1,0,"is-large",3],["isPlainText",1,0,"is-plain-text",3],["isReadonly",1,0,"is-readonly",3],["isSmall",1,0,"is-small",3],["label",1,0,1,2],["placeholder",1,0,1,2],["prependedButtons",1,0,"prepended-buttons",2],["prependedLabel",1,0,"prepended-label",2],["type",1,0,1,4],["value",1,0,1,2]]],["bs-jumbotron","prnrshzk",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["isFluid",1,0,"is-fluid",3],["lead",1,0,1,2]]],["bs-listgroup","jikqsgg1",0,[["className",1,0,"class-name",2],["colWidth",1,0,"col-width",4],["el",7],["enableFade",1,0,"enable-fade",3],["isFlush",1,0,"is-flush",3],["isTabs",1,0,"is-tabs",3],["items",1,0,1,2]]],["bs-modal","q684eosx",0,[["body",1,0,1,2],["button",1,0,1,2],["className",1,0,"class-name",2],["disableFade",1,0,"disable-fade",3],["el",7],["footer",1,0,1,2],["hideCloseButton",1,0,"hide-close-button",3],["id",1,0,1,2],["isCentered",1,0,"is-centered",3],["isLarge",1,0,"is-large",3],["isSmall",1,0,"is-small",3]]],["bs-nav","a2pbbgxy",0,[["className",1,0,"class-name",2],["el",7],["enableFade",1,0,"enable-fade",3],["enableFill",1,0,"enable-fill",3],["id",1,0,1,2],["isJustified",1,0,"is-justified",3],["isPills",1,0,"is-pills",3],["isTabs",1,0,"is-tabs",3],["isVertical",1,0,"is-vertical",3],["items",1,0,1,2]]],["bs-navbar","gttiyltd",0,[["brand",1,0,1,2],["brandUrl",1,0,"brand-url",2],["className",1,0,"class-name",2],["el",7],["enableSearch",1,0,"enable-search",3],["id",1,0,1,2],["items",1,0,1,2],["searchBox",1,0,"search-box",2],["type",1,0,1,4]]],["bs-pagination","djoytmyh",0,[["alignment",1,0,1,4],["className",1,0,"class-name",2],["el",7],["icon",1,0,1,2],["isLarge",1,0,"is-large",3],["isSmall",1,0,"is-small",3],["label",1,0,1,2],["numberOfPages",1,0,"number-of-pages",4]]],["bs-popover","7ianp2by",0,[["btnProps",1,0,"btn-props",2],["className",1,0,"class-name",2],["el",7],["isDismissible",1,0,"is-dismissible",3],["options",1,0,1,2],["type",1,0,1,4]]],["bs-progress","tbitjtkl",0,[["className",1,0,"class-name",2],["el",7],["isAnimated",1,0,"is-animated",3],["isStriped",1,0,"is-striped",3],["label",1,0,1,2],["max",1,0,1,4],["min",1,0,1,4],["size",1,0,1,4]]],["bs-progressgroup","nxrw8ogh",0,[["className",1,0,"class-name",2],["el",7],["isMultiple",1,0,"is-multiple",3],["progressbars",1,0,1,2]]],["bs-tooltip","2hcdzemz",0,[["btnProps",1,0,"btn-props",2],["className",1,0,"class-name",2],["el",7],["options",1,0,1,2],["type",1,0,1,4]]]],HTMLElement.prototype);
!function(e,s,a,l,t,i,n,r,o,d,c,p,m,b){for((c=e.GdSprestBs=e.GdSprestBs||{}).components=o,(m=o.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((p=s.createElement("style")).innerHTML=m.join()+"{visibility:hidden}.hydrated{visibility:inherit}",p.setAttribute("data-styles",""),s.head.insertBefore(p,s.head.firstChild)),function(e,s,a){(e["s-apps"]=e["s-apps"]||[]).push("GdSprestBs"),a.componentOnReady||(a.componentOnReady=function(){var s=this;function a(a){if(s.nodeName.indexOf("-")>0){for(var l=e["s-apps"],t=0,i=0;i<l.length;i++)if(e[l[i]].componentOnReady){if(e[l[i]].componentOnReady(s,a))return;t++}if(t<l.length)return void(e["s-cr"]=e["s-cr"]||[]).push([s,a])}a(null)}return e.Promise?new e.Promise(a):{then:a}})}(e,0,d),t=t||c.resourcesUrl,p=(m=s.querySelectorAll("script")).length-1;p>=0&&!(b=m[p]).src&&!b.hasAttribute("data-resources-url");p--);m=b.getAttribute("data-resources-url"),!t&&m&&(t=m),!t&&b.src&&(t=(m=b.src.split("/").slice(0,-1)).join("/")+(m.length?"/":"")+"gd-sprest-bs/"),p=s.createElement("script"),function(e,s,a,l){return!(s.search.indexOf("core=esm")>0)&&(!(!(s.search.indexOf("core=es5")>0||"file:"===s.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in a)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,p)?p.src=t+"gd-sprest-bs.lo8grzmk.js":(p.src=t+"gd-sprest-bs.dz0i5mm5.js",p.setAttribute("type","module"),p.setAttribute("crossorigin",!0)),p.setAttribute("data-resources-url",t),p.setAttribute("data-namespace","gd-sprest-bs"),s.head.appendChild(p)}(window,document,0,0,0,0,0,0,[["bs-accordion","6z2nbfhr",0,[["className",1,0,"class-name",2],["el",7],["id",1,0,1,2],["items",1,0,1,2]]],["bs-alert","xrwqexkf",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["header",1,0,1,2],["isDismissible",1,0,"is-dismissible",3],["type",1,0,1,4]]],["bs-badge","1wej3q0b",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["header",1,0,1,2],["href",1,0,1,2],["isPill",1,0,"is-pill",3],["type",1,0,1,4]]],["bs-breadcrumb","wsffebed",0,[["className",1,0,"class-name",2],["el",7],["items",1,0,1,2]]],["bs-button","n0tep4io",0,[["badgeType",1,0,"badge-type",4],["badgeValue",1,0,"badge-value",2],["className",1,0,"class-name",2],["controls",1],["el",7],["id",1,0,1,2],["isBlock",1,0,"is-block",3],["isDisabled",1,0,"is-disabled",3],["isExpanded",1,0,"is-expanded",3],["isLarge",1,0,"is-large",3],["isOutline",1,0,"is-outline",3],["isSmall",1,0,"is-small",3],["target",1,0,1,2],["text",1,0,1,2],["toggle",1,0,1,2],["type",1,0,1,4]]],["bs-buttongroup","ccriaiza",0,[["buttonType",1,0,"button-type",4],["buttons",1,0,1,2],["className",1,0,"class-name",2],["el",7],["id",1,0,1,2],["isLarge",1,0,"is-large",3],["isSmall",1,0,"is-small",3],["isVertical",1,0,"is-vertical",3],["label",1,0,1,2]]],["bs-card","jboty5ph",0,[["body",1,0,1,2],["className",1,0,"class-name",2],["el",7],["footer",1,0,1,2],["header",1,0,1,2],["imgBottom",1],["imgTop",1]]],["bs-cardgroup","98cw42ga",0,[["cards",1,0,1,2],["className",1,0,"class-name",2],["el",7]]],["bs-carousel","6uddnrqw",0,[["className",1,0,"class-name",2],["el",7],["enableControls",1,0,"enable-controls",3],["enableCrossfade",1,0,"enable-crossfade",3],["enableIndicators",1,0,"enable-indicators",3],["id",1,0,1,2],["items",1,0,1,2],["options",1,0,1,2]]],["bs-collapse","mcjubf0p",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["id",1,0,1,2],["isMulti",1,0,"is-multi",3],["options",1,0,1,2]]],["bs-dropdown","qynlyxv5",0,[["className",1,0,"class-name",2],["dropLeft",1,0,"drop-left",3],["dropRight",1,0,"drop-right",3],["dropUp",1,0,"drop-up",3],["el",7],["formFl",1,0,"form-fl",3],["id",1,0,1,2],["isSplit",1,0,"is-split",3],["items",1,0,1,2],["label",1,0,1,2],["menuOnly",1,0,"menu-only",3],["multi",1,0,1,3],["type",1,0,1,4],["value",1,0,1,2]]],["bs-form","zlfwtuiz",0,[["el",7],["rows",1,0,1,2],["value",1,0,1,2]]],["bs-inputgroup","w4ogpatr",0,[["appendedButtons",1,0,"appended-buttons",2],["appendedLabel",1,0,"appended-label",2],["className",1,0,"class-name",2],["description",1,0,1,2],["el",7],["id",1,0,1,2],["isLarge",1,0,"is-large",3],["isPlainText",1,0,"is-plain-text",3],["isReadonly",1,0,"is-readonly",3],["isSmall",1,0,"is-small",3],["label",1,0,1,2],["placeholder",1,0,1,2],["prependedButtons",1,0,"prepended-buttons",2],["prependedLabel",1,0,"prepended-label",2],["type",1,0,1,4],["value",1,0,1,2]]],["bs-jumbotron","prnrshzk",0,[["className",1,0,"class-name",2],["content",1,0,1,2],["el",7],["isFluid",1,0,"is-fluid",3],["lead",1,0,1,2]]],["bs-listgroup","jikqsgg1",0,[["className",1,0,"class-name",2],["colWidth",1,0,"col-width",4],["el",7],["enableFade",1,0,"enable-fade",3],["isFlush",1,0,"is-flush",3],["isTabs",1,0,"is-tabs",3],["items",1,0,1,2]]],["bs-modal","q684eosx",0,[["body",1,0,1,2],["button",1,0,1,2],["className",1,0,"class-name",2],["disableFade",1,0,"disable-fade",3],["el",7],["footer",1,0,1,2],["hideCloseButton",1,0,"hide-close-button",3],["id",1,0,1,2],["isCentered",1,0,"is-centered",3],["isLarge",1,0,"is-large",3],["isSmall",1,0,"is-small",3]]],["bs-nav","a2pbbgxy",0,[["className",1,0,"class-name",2],["el",7],["enableFade",1,0,"enable-fade",3],["enableFill",1,0,"enable-fill",3],["id",1,0,1,2],["isJustified",1,0,"is-justified",3],["isPills",1,0,"is-pills",3],["isTabs",1,0,"is-tabs",3],["isVertical",1,0,"is-vertical",3],["items",1,0,1,2]]],["bs-navbar","gttiyltd",0,[["brand",1,0,1,2],["brandUrl",1,0,"brand-url",2],["className",1,0,"class-name",2],["el",7],["enableSearch",1,0,"enable-search",3],["id",1,0,1,2],["items",1,0,1,2],["searchBox",1,0,"search-box",2],["type",1,0,1,4]]],["bs-pagination","djoytmyh",0,[["alignment",1,0,1,4],["className",1,0,"class-name",2],["el",7],["icon",1,0,1,2],["isLarge",1,0,"is-large",3],["isSmall",1,0,"is-small",3],["label",1,0,1,2],["numberOfPages",1,0,"number-of-pages",4]]],["bs-popover","7ianp2by",0,[["btnProps",1,0,"btn-props",2],["className",1,0,"class-name",2],["el",7],["isDismissible",1,0,"is-dismissible",3],["options",1,0,1,2],["type",1,0,1,4]]],["bs-progress","tbitjtkl",0,[["className",1,0,"class-name",2],["el",7],["isAnimated",1,0,"is-animated",3],["isStriped",1,0,"is-striped",3],["label",1,0,1,2],["max",1,0,1,4],["min",1,0,1,4],["size",1,0,1,4]]],["bs-progressgroup","nxrw8ogh",0,[["className",1,0,"class-name",2],["el",7],["isMultiple",1,0,"is-multiple",3],["progressbars",1,0,1,2]]],["bs-tooltip","2hcdzemz",0,[["btnProps",1,0,"btn-props",2],["className",1,0,"class-name",2],["el",7],["options",1,0,1,2],["type",1,0,1,4]]]],HTMLElement.prototype);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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