@jaak.ai/stamps 2.5.7-dev.3 → 2.5.7
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-BcFBOmM6.js → index-D6NBn_qu.js} +4 -30
- package/dist/cjs/index-D6NBn_qu.js.map +1 -0
- package/dist/cjs/jaak-stamps-webcomponent.cjs.js +2 -2
- package/dist/cjs/jaak-stamps.cjs.entry.js +72 -143
- package/dist/cjs/jaak-stamps.cjs.entry.js.map +1 -1
- package/dist/cjs/jaak-stamps.entry.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/{jaak-stamps/jaak-stamps.js → my-component/my-component.js} +34 -88
- package/dist/collection/components/my-component/my-component.js.map +1 -0
- package/dist/collection/components/my-component/watermark-fallback.js.map +1 -0
- package/dist/collection/services/DetectionService.js +38 -60
- package/dist/collection/services/DetectionService.js.map +1 -1
- package/dist/collection/utils/utils.js +4 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/index.js +2 -20
- package/dist/components/index.js.map +1 -1
- package/dist/components/jaak-stamps.js +71 -145
- package/dist/components/jaak-stamps.js.map +1 -1
- package/dist/esm/{index-Cb0ILUvS.js → index-BCfAsrzL.js} +4 -30
- package/dist/esm/index-BCfAsrzL.js.map +1 -0
- package/dist/esm/jaak-stamps-webcomponent.js +3 -3
- package/dist/esm/jaak-stamps.entry.js +72 -143
- package/dist/esm/jaak-stamps.entry.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/jaak-stamps-webcomponent/jaak-stamps-webcomponent.esm.js +1 -1
- package/dist/jaak-stamps-webcomponent/jaak-stamps.entry.esm.js.map +1 -1
- package/dist/jaak-stamps-webcomponent/{p-268577ba.entry.js → p-63c2c085.entry.js} +3 -3
- package/dist/jaak-stamps-webcomponent/p-63c2c085.entry.js.map +1 -0
- package/dist/jaak-stamps-webcomponent/p-BCfAsrzL.js +3 -0
- package/dist/jaak-stamps-webcomponent/p-BCfAsrzL.js.map +1 -0
- package/dist/types/components/{jaak-stamps/jaak-stamps.d.ts → my-component/my-component.d.ts} +0 -5
- package/dist/types/services/DetectionService.d.ts +4 -5
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cjs/index-BcFBOmM6.js.map +0 -1
- package/dist/collection/components/jaak-stamps/jaak-stamps.js.map +0 -1
- package/dist/collection/components/jaak-stamps/watermark-fallback.js.map +0 -1
- package/dist/esm/index-Cb0ILUvS.js.map +0 -1
- package/dist/jaak-stamps-webcomponent/p-268577ba.entry.js.map +0 -1
- package/dist/jaak-stamps-webcomponent/p-Cb0ILUvS.js +0 -3
- package/dist/jaak-stamps-webcomponent/p-Cb0ILUvS.js.map +0 -1
- /package/dist/collection/components/{jaak-stamps/jaak-stamps.css → my-component/my-component.css} +0 -0
- /package/dist/collection/components/{jaak-stamps → my-component}/watermark-fallback.js +0 -0
- /package/dist/types/components/{jaak-stamps → my-component}/watermark-fallback.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const NAMESPACE = 'jaak-stamps-webcomponent';
|
|
4
|
-
const BUILD = /* jaak-stamps-webcomponent */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true};
|
|
4
|
+
const BUILD = /* jaak-stamps-webcomponent */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
Stencil Client Platform v4.36.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -1043,7 +1043,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1043
1043
|
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
|
1044
1044
|
);
|
|
1045
1045
|
}
|
|
1046
|
-
const elm = hostRef.$hostElement$ ;
|
|
1047
1046
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
1048
1047
|
const flags = hostRef.$flags$;
|
|
1049
1048
|
const instance = hostRef.$lazyInstance$ ;
|
|
@@ -1055,18 +1054,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1055
1054
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
1056
1055
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1057
1056
|
if (instance) {
|
|
1058
|
-
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
1059
|
-
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1060
|
-
if (watchMethods) {
|
|
1061
|
-
watchMethods.map((watchMethodName) => {
|
|
1062
|
-
try {
|
|
1063
|
-
instance[watchMethodName](newVal, oldVal, propName);
|
|
1064
|
-
} catch (e) {
|
|
1065
|
-
consoleError(e, elm);
|
|
1066
|
-
}
|
|
1067
|
-
});
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
1057
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1071
1058
|
if (instance.componentShouldUpdate) {
|
|
1072
1059
|
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
@@ -1083,10 +1070,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1083
1070
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1084
1071
|
var _a, _b;
|
|
1085
1072
|
const prototype = Cstr.prototype;
|
|
1086
|
-
if (cmpMeta.$members$ ||
|
|
1087
|
-
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1088
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1089
|
-
}
|
|
1073
|
+
if (cmpMeta.$members$ || BUILD.watchCallback) {
|
|
1090
1074
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1091
1075
|
members.map(([memberName, [memberFlags]]) => {
|
|
1092
1076
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
@@ -1242,9 +1226,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1242
1226
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1243
1227
|
}
|
|
1244
1228
|
if (!Cstr.isProxied) {
|
|
1245
|
-
{
|
|
1246
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1247
|
-
}
|
|
1248
1229
|
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1249
1230
|
Cstr.isProxied = true;
|
|
1250
1231
|
}
|
|
@@ -1260,9 +1241,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1260
1241
|
{
|
|
1261
1242
|
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1262
1243
|
}
|
|
1263
|
-
{
|
|
1264
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1265
|
-
}
|
|
1266
1244
|
endNewInstance();
|
|
1267
1245
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1268
1246
|
} else {
|
|
@@ -1383,7 +1361,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1383
1361
|
let hasSlotRelocation = false;
|
|
1384
1362
|
lazyBundles.map((lazyBundle) => {
|
|
1385
1363
|
lazyBundle[1].map((compactMeta) => {
|
|
1386
|
-
var _a2;
|
|
1387
1364
|
const cmpMeta = {
|
|
1388
1365
|
$flags$: compactMeta[0],
|
|
1389
1366
|
$tagName$: compactMeta[1],
|
|
@@ -1396,9 +1373,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1396
1373
|
{
|
|
1397
1374
|
cmpMeta.$members$ = compactMeta[2];
|
|
1398
1375
|
}
|
|
1399
|
-
{
|
|
1400
|
-
cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
|
|
1401
|
-
}
|
|
1402
1376
|
const tagName = cmpMeta.$tagName$;
|
|
1403
1377
|
const HostElement = class extends HTMLElement {
|
|
1404
1378
|
// StencilLazyHost
|
|
@@ -1508,6 +1482,6 @@ exports.h = h;
|
|
|
1508
1482
|
exports.promiseResolve = promiseResolve;
|
|
1509
1483
|
exports.registerInstance = registerInstance;
|
|
1510
1484
|
exports.setNonce = setNonce;
|
|
1511
|
-
//# sourceMappingURL=index-
|
|
1485
|
+
//# sourceMappingURL=index-D6NBn_qu.js.map
|
|
1512
1486
|
|
|
1513
|
-
//# sourceMappingURL=index-
|
|
1487
|
+
//# sourceMappingURL=index-D6NBn_qu.js.map
|