@salla.sa/twilight-components 2.11.23 → 2.11.24
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/salla-button_37.cjs.entry.js +6 -1
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +6 -1
- package/dist/components/salla-file-upload2.js +6 -1
- package/dist/esm/salla-button_37.entry.js +6 -1
- package/dist/esm-es5/salla-button_37.entry.js +1 -1
- package/dist/twilight/p-1b87ab66.system.js +1 -1
- package/dist/twilight/p-3976df0c.entry.js +36 -0
- package/dist/twilight/{p-729ff20d.system.entry.js → p-62695b20.system.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +2 -2
- package/dist/twilight/p-a495ee03.entry.js +0 -36
|
@@ -20852,7 +20852,12 @@ const SallaFileUpload = class {
|
|
|
20852
20852
|
this.filepond[key] = value;
|
|
20853
20853
|
}
|
|
20854
20854
|
getLabel() {
|
|
20855
|
-
|
|
20855
|
+
if (this.labelIdle) {
|
|
20856
|
+
return this.labelIdle
|
|
20857
|
+
.replace('common.uploader.drag_and_drop', salla.lang.get('common.uploader.drag_and_drop'))
|
|
20858
|
+
.replace('common.uploader.browse', salla.lang.get('common.uploader.browse'));
|
|
20859
|
+
}
|
|
20860
|
+
return `${salla.lang.get('common.uploader.drag_and_drop')}<span class="filepond--label-action"> ${salla.lang.get('common.uploader.browse')} </span>`;
|
|
20856
20861
|
}
|
|
20857
20862
|
/**
|
|
20858
20863
|
*
|
|
@@ -185,7 +185,12 @@ export class SallaFileUpload {
|
|
|
185
185
|
this.filepond[key] = value;
|
|
186
186
|
}
|
|
187
187
|
getLabel() {
|
|
188
|
-
|
|
188
|
+
if (this.labelIdle) {
|
|
189
|
+
return this.labelIdle
|
|
190
|
+
.replace('common.uploader.drag_and_drop', salla.lang.get('common.uploader.drag_and_drop'))
|
|
191
|
+
.replace('common.uploader.browse', salla.lang.get('common.uploader.browse'));
|
|
192
|
+
}
|
|
193
|
+
return `${salla.lang.get('common.uploader.drag_and_drop')}<span class="filepond--label-action"> ${salla.lang.get('common.uploader.browse')} </span>`;
|
|
189
194
|
}
|
|
190
195
|
/**
|
|
191
196
|
*
|
|
@@ -15286,7 +15286,12 @@ const SallaFileUpload = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
15286
15286
|
this.filepond[key] = value;
|
|
15287
15287
|
}
|
|
15288
15288
|
getLabel() {
|
|
15289
|
-
|
|
15289
|
+
if (this.labelIdle) {
|
|
15290
|
+
return this.labelIdle
|
|
15291
|
+
.replace('common.uploader.drag_and_drop', salla.lang.get('common.uploader.drag_and_drop'))
|
|
15292
|
+
.replace('common.uploader.browse', salla.lang.get('common.uploader.browse'));
|
|
15293
|
+
}
|
|
15294
|
+
return `${salla.lang.get('common.uploader.drag_and_drop')}<span class="filepond--label-action"> ${salla.lang.get('common.uploader.browse')} </span>`;
|
|
15290
15295
|
}
|
|
15291
15296
|
/**
|
|
15292
15297
|
*
|
|
@@ -20848,7 +20848,12 @@ const SallaFileUpload = class {
|
|
|
20848
20848
|
this.filepond[key] = value;
|
|
20849
20849
|
}
|
|
20850
20850
|
getLabel() {
|
|
20851
|
-
|
|
20851
|
+
if (this.labelIdle) {
|
|
20852
|
+
return this.labelIdle
|
|
20853
|
+
.replace('common.uploader.drag_and_drop', salla.lang.get('common.uploader.drag_and_drop'))
|
|
20854
|
+
.replace('common.uploader.browse', salla.lang.get('common.uploader.browse'));
|
|
20855
|
+
}
|
|
20856
|
+
return `${salla.lang.get('common.uploader.drag_and_drop')}<span class="filepond--label-action"> ${salla.lang.get('common.uploader.browse')} </span>`;
|
|
20852
20857
|
}
|
|
20853
20858
|
/**
|
|
20854
20859
|
*
|