@uploadcare/file-uploader 1.13.1-alpha.0 → 1.13.1
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/blocks/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/blocks/ProgressBar/ProgressBar.js +1 -2
- package/env.d.ts +1 -1
- package/env.js +1 -1
- package/index.ssr.d.ts +1 -1
- package/index.ssr.js +1 -1
- package/package.json +1 -1
- package/web/file-uploader.iife.min.js +1 -1
- package/web/file-uploader.min.js +1 -1
- package/web/uc-cloud-image-editor.min.js +1 -1
- package/web/uc-file-uploader-inline.min.js +1 -1
- package/web/uc-file-uploader-minimal.min.js +1 -1
- package/web/uc-file-uploader-regular.min.js +1 -1
- package/web/uc-img.min.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["ProgressBar.js"],"names":[],"mappings":"AAEA;IACE,qBAAqB;IACrB,eAAW;IAEX,sBAAsB;IACtB,kBAAgB;IAEhB,WAIE;
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["ProgressBar.js"],"names":[],"mappings":"AAEA;IACE,qBAAqB;IACrB,eAAW;IAEX,sBAAsB;IACtB,kBAAgB;IAEhB,WAIE;CA8CH;;;;sBA3DqB,yBAAyB"}
|
|
@@ -16,11 +16,10 @@ export class ProgressBar extends Block {
|
|
|
16
16
|
initCallback() {
|
|
17
17
|
super.initCallback();
|
|
18
18
|
this.defineAccessor('value', (value) => {
|
|
19
|
-
if (
|
|
19
|
+
if (value === undefined || value === null) return;
|
|
20
20
|
const prevValue = this._value;
|
|
21
21
|
this._value = value;
|
|
22
22
|
if (!this._visible) return;
|
|
23
|
-
|
|
24
23
|
if (value === 100) {
|
|
25
24
|
this.ref.realProgressLine.addEventListener(
|
|
26
25
|
'transitionend',
|
package/env.d.ts
CHANGED
package/env.js
CHANGED
package/index.ssr.d.ts
CHANGED
|
@@ -530,7 +530,7 @@ export const Modal: {
|
|
|
530
530
|
bindAttributes: () => void;
|
|
531
531
|
};
|
|
532
532
|
export const PACKAGE_NAME: "blocks";
|
|
533
|
-
export const PACKAGE_VERSION: "1.13.
|
|
533
|
+
export const PACKAGE_VERSION: "1.13.1";
|
|
534
534
|
export const PresenceToggle: {
|
|
535
535
|
new (): {};
|
|
536
536
|
template: string;
|
package/index.ssr.js
CHANGED
|
@@ -1027,7 +1027,7 @@ export const Modal = class {
|
|
|
1027
1027
|
static bindAttributes = () => {};
|
|
1028
1028
|
};
|
|
1029
1029
|
export const PACKAGE_NAME = `blocks`;
|
|
1030
|
-
export const PACKAGE_VERSION = `1.13.
|
|
1030
|
+
export const PACKAGE_VERSION = `1.13.1`;
|
|
1031
1031
|
export const PresenceToggle = class {
|
|
1032
1032
|
static template = `<slot></slot> `;
|
|
1033
1033
|
static reg = () => {};
|