-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/convertkit-form-migration-GIVE-455
- Loading branch information
Showing
27 changed files
with
52 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,38 +3,38 @@ | |
namespace Give\Helpers; | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
* | ||
* @see https://github.com/jackocnr/intl-tel-input | ||
*/ | ||
class IntlTelInput | ||
{ | ||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getCssUrl(): string | ||
{ | ||
return 'https://cdn.jsdelivr.net/npm/[email protected]/build/css/intlTelInput.css'; | ||
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getScriptUrl(): string | ||
{ | ||
return 'https://cdn.jsdelivr.net/npm/[email protected]/build/js/intlTelInput.min.js'; | ||
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getUtilsScriptUrl(): string | ||
{ | ||
return 'https://cdn.jsdelivr.net/npm/[email protected]/build/js/utils.js'; | ||
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getI18n(): array | ||
{ | ||
|
@@ -62,7 +62,7 @@ public static function getI18n(): array | |
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getErrorMap(): array | ||
{ | ||
|
@@ -76,39 +76,39 @@ public static function getErrorMap(): array | |
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getInitialCountry(): string | ||
{ | ||
return strtolower(give_get_country()); | ||
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getShowSelectedDialCode(): bool | ||
{ | ||
return true; | ||
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getStrictMode(): bool | ||
{ | ||
return true; | ||
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getUseFullscreenPopup(): bool | ||
{ | ||
return false; | ||
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getSettings(): array | ||
{ | ||
|
@@ -126,7 +126,7 @@ public static function getSettings(): array | |
} | ||
|
||
/** | ||
* @unreleased | ||
* @since 3.9.0 | ||
*/ | ||
public static function getHtmlInput(string $value, string $id, string $class = '', string $name = ''): string | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.