jupiter-dynamic-forms 1.22.1 → 1.22.2

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/index.mjs CHANGED
@@ -17990,7 +17990,11 @@ let JupiterDynamicForm = class extends LitElement {
17990
17990
  @click="${this._validationStatus === "inProgress" ? () => this.dispatchEvent(new CustomEvent("resume-validation-progress", { bubbles: true, composed: true })) : this._handleSubmit}"
17991
17991
  ?disabled="${this.disabled || this.readonly || this._submitDisabled}"
17992
17992
  >
17993
- ${this._validationStatus === "inProgress" ? `${I18n.t("form.validationInProgress")}${".".repeat(this._validationDotCount)}` : this.submitButtonLabel || (this.mode === "admin" ? I18n.t("form.save") : I18n.t("form.submit"))}
17993
+ ${this._validationStatus === "inProgress" ? html`${I18n.t("form.validationInProgress")}<span class="validation-dots"
17994
+ ><span style="visibility:${this._validationDotCount >= 1 ? "visible" : "hidden"}">.</span
17995
+ ><span style="visibility:${this._validationDotCount >= 2 ? "visible" : "hidden"}">.</span
17996
+ ><span style="visibility:${this._validationDotCount >= 3 ? "visible" : "hidden"}">.</span
17997
+ ></span>` : this.submitButtonLabel || (this.mode === "admin" ? I18n.t("form.save") : I18n.t("form.submit"))}
17994
17998
  </button>
17995
17999
 
17996
18000
  </div>