@smart-webcomponents-angular/card
Advanced tools
Comparing version 13.0.10 to 15.0.2
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="smart-webcomponents-angular/card" /> | ||
/// <amd-module name="@smart-webcomponents-angular/card" /> | ||
export * from './index'; |
@@ -18,4 +18,4 @@ import { Card } from './../index'; | ||
/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */ | ||
get animation(): Animation; | ||
set animation(value: Animation); | ||
get animation(): Animation | string; | ||
set animation(value: Animation | string); | ||
/** @description A callback function, used to add event handlers and other custom logic related to the content inside the card element. */ | ||
@@ -73,3 +73,3 @@ get contentHandler(): any; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<CardComponent, "smart-card, [smart-card]", never, { "animation": "animation"; "contentHandler": "contentHandler"; "dataSource": "dataSource"; "disabled": "disabled"; "itemTemplate": "itemTemplate"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "rightToLeft": "rightToLeft"; "theme": "theme"; "unfocusable": "unfocusable"; }, { "onSwipebottom": "onSwipebottom"; "onSwipeleft": "onSwipeleft"; "onSwiperight": "onSwiperight"; "onSwipetop": "onSwipetop"; }, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<CardComponent, "smart-card, [smart-card]", ["smart-card"], { "animation": "animation"; "contentHandler": "contentHandler"; "dataSource": "dataSource"; "disabled": "disabled"; "itemTemplate": "itemTemplate"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "rightToLeft": "rightToLeft"; "theme": "theme"; "unfocusable": "unfocusable"; }, { "onSwipebottom": "onSwipebottom"; "onSwipeleft": "onSwipeleft"; "onSwiperight": "onSwiperight"; "onSwipetop": "onSwipetop"; }, never>; | ||
} |
@@ -747,3 +747,8 @@ /** | ||
// problems, please detail your unique predicament in a GitHub issue. | ||
Function("r", "regeneratorRuntime = r")(runtime); | ||
if (typeof globalThis === "object") { | ||
globalThis.regeneratorRuntime = runtime; | ||
} | ||
else { | ||
Function("r", "regeneratorRuntime = r")(runtime); | ||
} | ||
} |
{ | ||
"name": "@smart-webcomponents-angular/card", | ||
"version": "13.0.10", | ||
"version": "15.0.2", | ||
"preferGlobal": true, | ||
@@ -23,25 +23,22 @@ "keywords": [ | ||
"dependencies": { | ||
"@angular/cdk": "13.2.2", | ||
"@angular/elements": "13.2.2" | ||
}, | ||
"tslib": "^2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@angular/animations": "^13.2.2", | ||
"@angular/common": "13.2.2", | ||
"@angular/compiler": "13.2.2", | ||
"@angular/cdk": "13.2.2", | ||
"@angular/core": "13.2.2", | ||
"@angular/forms": "13.2.2", | ||
"@angular/platform-browser": "13.2.2", | ||
"@angular/animations": "12 - 14", | ||
"@angular/common": "12 - 14", | ||
"@angular/compiler": "12 - 14", | ||
"@angular/core": "12 - 14", | ||
"@angular/forms": "12 - 14", | ||
"@angular/platform-browser": "12 - 14", | ||
"core-js": "^2.6.9", | ||
"rxjs": "^6.5.3", | ||
"systemjs": "0.19.43", | ||
"tslib": "^1.10.0", | ||
"zone.js": "~0.11.4", | ||
"@angular-devkit/core": "13.2.2", | ||
"@angular-devkit/schematics": "13.2.2", | ||
"@angular/bazel": "13.2.2", | ||
"@angular/compiler-cli": "13.2.2", | ||
"@angular/platform-browser-dynamic": "13.2.2", | ||
"@angular/platform-server": "13.2.2", | ||
"@angular/router": "13.2.2", | ||
"@angular-devkit/core": "12 - 14", | ||
"@angular-devkit/schematics": "12 - 14", | ||
"@angular/bazel": "12 - 14", | ||
"@angular/compiler-cli": "12 - 14", | ||
"@angular/platform-browser-dynamic": "12 - 14", | ||
"@angular/platform-server": "12 - 14", | ||
"@angular/router": "12 - 14", | ||
"typescript": "~4.4.2" | ||
@@ -52,12 +49,11 @@ }, | ||
"homepage": "https://www.htmlelements.com/", | ||
"description": "[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)", | ||
"main": "./bundles/smart-webcomponents-angular-card.umd.js", | ||
"description": "[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)", | ||
"node": "./fesm2015/smart-webcomponents-angular-card.mjs", | ||
"default": "./fesm2020/smart-webcomponents-angular-card.mjs", | ||
"module": "./fesm2015/smart-webcomponents-angular-card.mjs", | ||
"es2015": "./fesm2015/smart-webcomponents-angular-card.mjs", | ||
"esm2015": "./esm2020/card/smart-webcomponents-angular-card.mjs", | ||
"es2020": "./fesm2020/smart-webcomponents-angular-card.mjs", | ||
"esm2020": "./esm2020/card/smart-webcomponents-angular-card.mjs", | ||
"fesm2015": "./fesm2015/smart-webcomponents-angular-card.mjs", | ||
"fesm2020": "./fesm2020/smart-webcomponents-angular-card.mjs", | ||
"typings": "./card/smart-webcomponents-angular-card.d.ts", | ||
"metadata": "./card/smart-webcomponents-angular-card.metadata.json", | ||
"types": "./card/smart-webcomponents-angular-card.d.ts", | ||
"sideEffects": true, | ||
@@ -64,0 +60,0 @@ "scripts": { |
/* Smart UI v13.0.10 (2022-02-21) | ||
Copyright (c) 2011-2021 jQWidgets. | ||
/* Smart UI v15.0.2 (2023-01-24) | ||
Copyright (c) 2011-2023 jQWidgets. | ||
License: https://htmlelements.com/license/ */ // | ||
@@ -5,0 +5,0 @@ |
/* Smart UI v13.0.10 (2022-02-21) | ||
Copyright (c) 2011-2021 jQWidgets. | ||
/* Smart UI v15.0.2 (2023-01-24) | ||
Copyright (c) 2011-2023 jQWidgets. | ||
License: https://htmlelements.com/license/ */ // | ||
Smart("smart-card",class extends Smart.ContentElement{static get properties(){return{dataSource:{value:null,type:"object?",reflectToAttribute:!1},itemTemplate:{value:null,type:"any?",reflectToAttribute:!1},contentHandler:{value:null,type:"function?",reflectToAttribute:!1}}}static get listeners(){return{mouseenter:"_mouseEnterHandler",mouseleave:"_mouseLeaveHandler",swipeleft:"_swipeHandler",swiperight:"_swipeHandler",swipetop:"_swipeHandler",swipebottom:"_swipeHandler"}}static get styleUrls(){return["smart.card.css"]}template(){return'<div id="container" inner-h-t-m-l="[[innerHTML]]" role="presentation">\n <content></content>\n </div>'}propertyChangedHandler(e,t,n){super.propertyChangedHandler(e,t,n);const r=this;switch(e){case"itemTemplate":r._template=r._handleTemplate(),r.innerHTML=r._processTemplate(),r.contentHandler&&r.contentHandler(r);break;case"dataSource":r.innerHTML=r._processTemplate(),r.contentHandler&&r.contentHandler(r);break;case"contentHandler":r.contentHandler&&r.contentHandler(r)}}ready(){super.ready()}render(){const e=this;e.setAttribute("role","group"),e._template=e._handleTemplate(),e._template.hasBindings?e.innerHTML=e._processTemplate():e.itemTemplate&&(e.innerHTML=e._template.content),e.contentHandler&&e.contentHandler(e),super.render()}_handleTemplate(){const e=this;let t=e.itemTemplate,n="",r=!1;return e.itemTemplate?t instanceof HTMLElement?n=t.innerHTML:(t=document.getElementById(t),n=t?t.innerHTML:""):n=e.innerHTML,/{{\w+}}/g.exec(n)&&(r=!0),{content:n,hasBindings:r}}_processTemplate(){const e=this,t=e._template.content.match(/{{\w+}}/g),n=e.dataSource||{};let r=e._template.content;return t&&0!==t.length?(t.forEach((function(e){const t=e.replace("{{","").replace("}}","");let a=n[t];void 0===a&&(a=""),r=r.replace(e,a)})),r):r}_swipeHandler(){}}); |
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 too big to display
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2672479
1
18
55
37336
5
+ Addedtslib@^2.3.0
- Removed@angular/cdk@13.2.2
- Removed@angular/elements@13.2.2
- Removed@angular/cdk@13.2.2(transitive)
- Removed@angular/common@14.3.0(transitive)
- Removed@angular/core@13.2.214.3.0(transitive)
- Removed@angular/elements@13.2.2(transitive)
- Removedparse5@5.1.1(transitive)
- Removedrxjs@7.8.1(transitive)
- Removedzone.js@0.11.80.12.0(transitive)