@amiceli/papierjs 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-82a72b67.js → index-875ceae0.js} +47 -6
- package/dist/cjs/index-875ceae0.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/p-accordion.cjs.entry.js +4 -4
- package/dist/cjs/p-alert.cjs.entry.js +2 -2
- package/dist/cjs/p-badge.cjs.entry.js +2 -2
- package/dist/cjs/p-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/p-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/{p-dropdown_2.cjs.entry.js → p-button_3.cjs.entry.js} +55 -6
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-dropdown-preview.cjs.entry.js +2 -2
- package/dist/cjs/p-input-text.cjs.entry.js +2 -2
- package/dist/cjs/p-leaf.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-preview.cjs.entry.js +2 -2
- package/dist/cjs/p-modal.cjs.entry.js +31 -0
- package/dist/cjs/p-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/p-notification-handler.cjs.entry.js +57 -0
- package/dist/cjs/p-notification-handler.cjs.entry.js.map +1 -0
- package/dist/cjs/p-notification-preview.cjs.entry.js +41 -0
- package/dist/cjs/p-notification-preview.cjs.entry.js.map +1 -0
- package/dist/cjs/p-notification.cjs.entry.js +64 -0
- package/dist/cjs/p-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/p-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/p-slider.cjs.entry.js +3 -3
- package/dist/cjs/p-switch-tile.cjs.entry.js +3 -3
- package/dist/cjs/p-switch.cjs.entry.js +4 -4
- package/dist/cjs/p-tab.cjs.entry.js +28 -0
- package/dist/cjs/p-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tabs.cjs.entry.js +66 -0
- package/dist/cjs/p-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/papierjs.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/accordion/accordion.js +3 -3
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/dropdown/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown/dropdown/stories/dropdown.preview.js +1 -1
- package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +2 -2
- package/dist/collection/components/form/input-text/input-text.js +1 -1
- package/dist/collection/components/form/slider/sliders.js +2 -2
- package/dist/collection/components/form/switch/switch.js +3 -3
- package/dist/collection/components/form/switch-tile/switch-tile.js +2 -2
- package/dist/collection/components/leaf/leaf.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/stories/modal.preview.js +1 -1
- package/dist/collection/components/notification/p-notification/p-notification.css +3260 -0
- package/dist/collection/components/notification/p-notification/p-notification.js +164 -0
- package/dist/collection/components/notification/p-notification/p-notification.js.map +1 -0
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.css +13 -0
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js +100 -0
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js.map +1 -0
- package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js +36 -0
- package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js.map +1 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/tabs/tab/tab.css +3381 -0
- package/dist/collection/components/tabs/tab/tab.js +90 -0
- package/dist/collection/components/tabs/tab/tab.js.map +1 -0
- package/dist/collection/components/tabs/tabs/tabs.css +3229 -0
- package/dist/collection/components/tabs/tabs/tabs.js +98 -0
- package/dist/collection/components/tabs/tabs/tabs.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-44ddcae9.js → p-3e858546.js} +3 -3
- package/dist/components/{p-44ddcae9.js.map → p-3e858546.js.map} +1 -1
- package/dist/components/{p-ee5f2278.js → p-51fafe64.js} +4 -4
- package/dist/components/{p-ee5f2278.js.map → p-51fafe64.js.map} +1 -1
- package/dist/components/{p-1754e5cb.js → p-555df865.js} +3 -3
- package/dist/components/{p-1754e5cb.js.map → p-555df865.js.map} +1 -1
- package/dist/components/p-accordion.js +4 -4
- package/dist/components/{p-eea4fbc1.js → p-af62ba98.js} +23 -2
- package/dist/components/p-af62ba98.js.map +1 -0
- package/dist/components/p-alert.js +2 -2
- package/dist/components/p-badge.js +2 -2
- package/dist/components/p-breadcrumb-item.js +2 -2
- package/dist/components/p-breadcrumb.js +2 -2
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-c3c46963.js +78 -0
- package/dist/components/p-c3c46963.js.map +1 -0
- package/dist/components/{p-18fc6353.js → p-c8138bbd.js} +4 -4
- package/dist/components/{p-18fc6353.js.map → p-c8138bbd.js.map} +1 -1
- package/dist/components/p-dropdown-item.js +1 -1
- package/dist/components/p-dropdown-preview.js +6 -6
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-ef7a623f.js +81 -0
- package/dist/components/p-ef7a623f.js.map +1 -0
- package/dist/components/p-input-text.js +2 -2
- package/dist/components/p-leaf.js +2 -2
- package/dist/components/p-modal-preview.js +4 -4
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-notification-handler.d.ts +11 -0
- package/dist/components/p-notification-handler.js +8 -0
- package/dist/components/p-notification-handler.js.map +1 -0
- package/dist/components/p-notification-preview.d.ts +11 -0
- package/dist/components/p-notification-preview.js +87 -0
- package/dist/components/p-notification-preview.js.map +1 -0
- package/dist/components/p-notification.d.ts +11 -0
- package/dist/components/p-notification.js +8 -0
- package/dist/components/p-notification.js.map +1 -0
- package/dist/components/p-progress-bar.js +2 -2
- package/dist/components/p-slider.js +3 -3
- package/dist/components/p-switch-tile.js +3 -3
- package/dist/components/p-switch.js +4 -4
- package/dist/components/p-tab.d.ts +11 -0
- package/dist/components/p-tab.js +47 -0
- package/dist/components/p-tab.js.map +1 -0
- package/dist/components/p-tabs.d.ts +11 -0
- package/dist/components/p-tabs.js +85 -0
- package/dist/components/p-tabs.js.map +1 -0
- package/dist/components/p-tooltip.js +2 -2
- package/dist/esm/{index-4646b002.js → index-7ee4e700.js} +47 -6
- package/dist/esm/index-7ee4e700.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +4 -4
- package/dist/esm/p-alert.entry.js +2 -2
- package/dist/esm/p-badge.entry.js +2 -2
- package/dist/esm/p-breadcrumb-item.entry.js +2 -2
- package/dist/esm/p-breadcrumb.entry.js +2 -2
- package/dist/esm/{p-dropdown_2.entry.js → p-button_3.entry.js} +55 -7
- package/dist/esm/p-button_3.entry.js.map +1 -0
- package/dist/esm/p-dropdown-preview.entry.js +2 -2
- package/dist/esm/p-input-text.entry.js +2 -2
- package/dist/esm/p-leaf.entry.js +2 -2
- package/dist/esm/p-modal-preview.entry.js +2 -2
- package/dist/esm/p-modal.entry.js +27 -0
- package/dist/esm/p-modal.entry.js.map +1 -0
- package/dist/esm/p-notification-handler.entry.js +53 -0
- package/dist/esm/p-notification-handler.entry.js.map +1 -0
- package/dist/esm/p-notification-preview.entry.js +37 -0
- package/dist/esm/p-notification-preview.entry.js.map +1 -0
- package/dist/esm/p-notification.entry.js +60 -0
- package/dist/esm/p-notification.entry.js.map +1 -0
- package/dist/esm/p-progress-bar.entry.js +2 -2
- package/dist/esm/p-slider.entry.js +3 -3
- package/dist/esm/p-switch-tile.entry.js +3 -3
- package/dist/esm/p-switch.entry.js +4 -4
- package/dist/esm/p-tab.entry.js +24 -0
- package/dist/esm/p-tab.entry.js.map +1 -0
- package/dist/esm/p-tabs.entry.js +62 -0
- package/dist/esm/p-tabs.entry.js.map +1 -0
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/papierjs.js +3 -3
- package/dist/papierjs/{p-f21b09d8.entry.js → p-21ae2040.entry.js} +2 -2
- package/dist/papierjs/{p-005736fe.entry.js → p-3149398f.entry.js} +2 -2
- package/dist/papierjs/p-34a520d8.js +3 -0
- package/dist/papierjs/p-34a520d8.js.map +1 -0
- package/dist/papierjs/p-4de54c9d.entry.js +2 -0
- package/dist/papierjs/p-4de54c9d.entry.js.map +1 -0
- package/dist/papierjs/p-4e8985c5.entry.js +2 -0
- package/dist/papierjs/p-4e8985c5.entry.js.map +1 -0
- package/dist/papierjs/{p-08ab91b8.entry.js → p-4ef52ae1.entry.js} +2 -2
- package/dist/papierjs/{p-6fd657de.entry.js → p-55975574.entry.js} +2 -2
- package/dist/papierjs/p-57f13bee.entry.js +2 -0
- package/dist/papierjs/p-5e68bd6c.entry.js +2 -0
- package/dist/papierjs/p-5e68bd6c.entry.js.map +1 -0
- package/dist/papierjs/{p-8a2f9883.entry.js → p-743abca9.entry.js} +2 -2
- package/dist/papierjs/p-7b6c5a15.entry.js +2 -0
- package/dist/papierjs/p-7b6c5a15.entry.js.map +1 -0
- package/dist/papierjs/{p-2a173336.entry.js → p-963f21b8.entry.js} +2 -2
- package/dist/papierjs/p-a2523f10.entry.js +2 -0
- package/dist/papierjs/p-a2523f10.entry.js.map +1 -0
- package/dist/papierjs/{p-d98c84b2.entry.js → p-a40b185f.entry.js} +2 -2
- package/dist/papierjs/{p-dfbbdb7b.entry.js → p-acf916fa.entry.js} +2 -2
- package/dist/papierjs/{p-ba661e41.entry.js → p-b783633d.entry.js} +2 -2
- package/dist/papierjs/p-bc16a85a.entry.js +2 -0
- package/dist/papierjs/p-bc16a85a.entry.js.map +1 -0
- package/dist/papierjs/{p-deb8c796.entry.js → p-d583fd92.entry.js} +2 -2
- package/dist/papierjs/{p-5a7955a5.entry.js → p-d9e3c9ca.entry.js} +2 -2
- package/dist/papierjs/{p-e6765c48.entry.js → p-edbf5d19.entry.js} +2 -2
- package/dist/papierjs/p-ef8536b9.entry.js +2 -0
- package/dist/papierjs/p-ef8536b9.entry.js.map +1 -0
- package/dist/papierjs/{p-3231294d.entry.js → p-f7bc7154.entry.js} +2 -2
- package/dist/papierjs/papierjs.esm.js +1 -1
- package/dist/papierjs/papierjs.esm.js.map +1 -1
- package/dist/types/components/notification/p-notification/p-notification.d.ts +16 -0
- package/dist/types/components/notification/p-notification-handler/p-notification-handler.d.ts +18 -0
- package/dist/types/components/notification/p-notification-handler/stories/p-notification-preview.d.ts +7 -0
- package/dist/types/components/tabs/tab/tab.d.ts +6 -0
- package/dist/types/components/tabs/tabs/tabs.d.ts +15 -0
- package/dist/types/components.d.ts +100 -0
- package/package.json +1 -1
- package/readme.md +4 -4
- package/dist/cjs/index-82a72b67.js.map +0 -1
- package/dist/cjs/p-button_2.cjs.entry.js +0 -80
- package/dist/cjs/p-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +0 -1
- package/dist/components/p-eea4fbc1.js.map +0 -1
- package/dist/esm/index-4646b002.js.map +0 -1
- package/dist/esm/p-button_2.entry.js +0 -75
- package/dist/esm/p-button_2.entry.js.map +0 -1
- package/dist/esm/p-dropdown_2.entry.js.map +0 -1
- package/dist/papierjs/p-2f044192.entry.js +0 -2
- package/dist/papierjs/p-2f044192.entry.js.map +0 -1
- package/dist/papierjs/p-4ed82d68.js +0 -3
- package/dist/papierjs/p-4ed82d68.js.map +0 -1
- package/dist/papierjs/p-a3c7e705.entry.js +0 -2
- package/dist/papierjs/p-fc85498a.entry.js +0 -2
- package/dist/papierjs/p-fc85498a.entry.js.map +0 -1
- /package/dist/papierjs/{p-f21b09d8.entry.js.map → p-21ae2040.entry.js.map} +0 -0
- /package/dist/papierjs/{p-005736fe.entry.js.map → p-3149398f.entry.js.map} +0 -0
- /package/dist/papierjs/{p-08ab91b8.entry.js.map → p-4ef52ae1.entry.js.map} +0 -0
- /package/dist/papierjs/{p-6fd657de.entry.js.map → p-55975574.entry.js.map} +0 -0
- /package/dist/papierjs/{p-a3c7e705.entry.js.map → p-57f13bee.entry.js.map} +0 -0
- /package/dist/papierjs/{p-8a2f9883.entry.js.map → p-743abca9.entry.js.map} +0 -0
- /package/dist/papierjs/{p-2a173336.entry.js.map → p-963f21b8.entry.js.map} +0 -0
- /package/dist/papierjs/{p-d98c84b2.entry.js.map → p-a40b185f.entry.js.map} +0 -0
- /package/dist/papierjs/{p-dfbbdb7b.entry.js.map → p-acf916fa.entry.js.map} +0 -0
- /package/dist/papierjs/{p-ba661e41.entry.js.map → p-b783633d.entry.js.map} +0 -0
- /package/dist/papierjs/{p-deb8c796.entry.js.map → p-d583fd92.entry.js.map} +0 -0
- /package/dist/papierjs/{p-5a7955a5.entry.js.map → p-d9e3c9ca.entry.js.map} +0 -0
- /package/dist/papierjs/{p-e6765c48.entry.js.map → p-edbf5d19.entry.js.map} +0 -0
- /package/dist/papierjs/{p-3231294d.entry.js.map → p-f7bc7154.entry.js.map} +0 -0
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'papierjs';
|
|
24
|
-
const BUILD = /* papierjs */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle:
|
|
24
|
+
const BUILD = /* papierjs */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -115,6 +115,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
115
115
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
116
116
|
/* webpackMode: "lazy" */
|
|
117
117
|
'./p-modal-preview.cjs.entry.js')); }).then(processMod, consoleError);
|
|
118
|
+
case 'p-notification-preview.cjs':
|
|
119
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
120
|
+
/* webpackMode: "lazy" */
|
|
121
|
+
'./p-notification-preview.cjs.entry.js')); }).then(processMod, consoleError);
|
|
118
122
|
case 'p-progress-bar.cjs':
|
|
119
123
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
120
124
|
/* webpackMode: "lazy" */
|
|
@@ -131,18 +135,34 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
131
135
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
132
136
|
/* webpackMode: "lazy" */
|
|
133
137
|
'./p-switch-tile.cjs.entry.js')); }).then(processMod, consoleError);
|
|
138
|
+
case 'p-tab.cjs':
|
|
139
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
140
|
+
/* webpackMode: "lazy" */
|
|
141
|
+
'./p-tab.cjs.entry.js')); }).then(processMod, consoleError);
|
|
142
|
+
case 'p-tabs.cjs':
|
|
143
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
144
|
+
/* webpackMode: "lazy" */
|
|
145
|
+
'./p-tabs.cjs.entry.js')); }).then(processMod, consoleError);
|
|
134
146
|
case 'p-tooltip.cjs':
|
|
135
147
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
136
148
|
/* webpackMode: "lazy" */
|
|
137
149
|
'./p-tooltip.cjs.entry.js')); }).then(processMod, consoleError);
|
|
138
|
-
case 'p-
|
|
150
|
+
case 'p-notification-handler.cjs':
|
|
151
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
152
|
+
/* webpackMode: "lazy" */
|
|
153
|
+
'./p-notification-handler.cjs.entry.js')); }).then(processMod, consoleError);
|
|
154
|
+
case 'p-button_3.cjs':
|
|
155
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
156
|
+
/* webpackMode: "lazy" */
|
|
157
|
+
'./p-button_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
158
|
+
case 'p-modal.cjs':
|
|
139
159
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
140
160
|
/* webpackMode: "lazy" */
|
|
141
|
-
'./p-
|
|
142
|
-
case 'p-
|
|
161
|
+
'./p-modal.cjs.entry.js')); }).then(processMod, consoleError);
|
|
162
|
+
case 'p-notification.cjs':
|
|
143
163
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
144
164
|
/* webpackMode: "lazy" */
|
|
145
|
-
'./p-
|
|
165
|
+
'./p-notification.cjs.entry.js')); }).then(processMod, consoleError);
|
|
146
166
|
}
|
|
147
167
|
}
|
|
148
168
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
@@ -585,6 +605,27 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
585
605
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
586
606
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
587
607
|
}
|
|
608
|
+
} else if (memberName === "style") {
|
|
609
|
+
{
|
|
610
|
+
for (const prop in oldValue) {
|
|
611
|
+
if (!newValue || newValue[prop] == null) {
|
|
612
|
+
if (prop.includes("-")) {
|
|
613
|
+
elm.style.removeProperty(prop);
|
|
614
|
+
} else {
|
|
615
|
+
elm.style[prop] = "";
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
for (const prop in newValue) {
|
|
621
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
622
|
+
if (prop.includes("-")) {
|
|
623
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
624
|
+
} else {
|
|
625
|
+
elm.style[prop] = newValue[prop];
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
588
629
|
} else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
589
630
|
if (memberName[2] === "-") {
|
|
590
631
|
memberName = memberName.slice(3);
|
|
@@ -1734,4 +1775,4 @@ exports.promiseResolve = promiseResolve;
|
|
|
1734
1775
|
exports.registerInstance = registerInstance;
|
|
1735
1776
|
exports.setNonce = setNonce;
|
|
1736
1777
|
|
|
1737
|
-
//# sourceMappingURL=index-
|
|
1778
|
+
//# sourceMappingURL=index-875ceae0.js.map
|